@vuecs/forms 4.0.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 (90) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +43 -0
  3. package/dist/components/constants.d.ts +5 -0
  4. package/dist/components/constants.d.ts.map +1 -0
  5. package/dist/components/form-checkbox/FormCheckbox.vue.d.ts +205 -0
  6. package/dist/components/form-checkbox/FormCheckbox.vue.d.ts.map +1 -0
  7. package/dist/components/form-checkbox/index.d.ts +5 -0
  8. package/dist/components/form-checkbox/index.d.ts.map +1 -0
  9. package/dist/components/form-checkbox-group/FormCheckboxGroup.vue.d.ts +170 -0
  10. package/dist/components/form-checkbox-group/FormCheckboxGroup.vue.d.ts.map +1 -0
  11. package/dist/components/form-checkbox-group/index.d.ts +5 -0
  12. package/dist/components/form-checkbox-group/index.d.ts.map +1 -0
  13. package/dist/components/form-group/FormGroup.vue.d.ts +218 -0
  14. package/dist/components/form-group/FormGroup.vue.d.ts.map +1 -0
  15. package/dist/components/form-group/index.d.ts +5 -0
  16. package/dist/components/form-group/index.d.ts.map +1 -0
  17. package/dist/components/form-input/FormInput.vue.d.ts +195 -0
  18. package/dist/components/form-input/FormInput.vue.d.ts.map +1 -0
  19. package/dist/components/form-input/index.d.ts +5 -0
  20. package/dist/components/form-input/index.d.ts.map +1 -0
  21. package/dist/components/form-number/FormNumber.vue.d.ts +268 -0
  22. package/dist/components/form-number/FormNumber.vue.d.ts.map +1 -0
  23. package/dist/components/form-number/index.d.ts +5 -0
  24. package/dist/components/form-number/index.d.ts.map +1 -0
  25. package/dist/components/form-pin/FormPin.vue.d.ts +221 -0
  26. package/dist/components/form-pin/FormPin.vue.d.ts.map +1 -0
  27. package/dist/components/form-pin/index.d.ts +5 -0
  28. package/dist/components/form-pin/index.d.ts.map +1 -0
  29. package/dist/components/form-radio/FormRadio.vue.d.ts +170 -0
  30. package/dist/components/form-radio/FormRadio.vue.d.ts.map +1 -0
  31. package/dist/components/form-radio/index.d.ts +5 -0
  32. package/dist/components/form-radio/index.d.ts.map +1 -0
  33. package/dist/components/form-radio-group/FormRadioGroup.vue.d.ts +172 -0
  34. package/dist/components/form-radio-group/FormRadioGroup.vue.d.ts.map +1 -0
  35. package/dist/components/form-radio-group/index.d.ts +5 -0
  36. package/dist/components/form-radio-group/index.d.ts.map +1 -0
  37. package/dist/components/form-select/FormSelect.vue.d.ts +172 -0
  38. package/dist/components/form-select/FormSelect.vue.d.ts.map +1 -0
  39. package/dist/components/form-select/index.d.ts +5 -0
  40. package/dist/components/form-select/index.d.ts.map +1 -0
  41. package/dist/components/form-select-search/FormSelectSearch.vue.d.ts +272 -0
  42. package/dist/components/form-select-search/FormSelectSearch.vue.d.ts.map +1 -0
  43. package/dist/components/form-select-search/FormSelectSearchEntry.vue.d.ts +40 -0
  44. package/dist/components/form-select-search/FormSelectSearchEntry.vue.d.ts.map +1 -0
  45. package/dist/components/form-select-search/index.d.ts +6 -0
  46. package/dist/components/form-select-search/index.d.ts.map +1 -0
  47. package/dist/components/form-select-search/type.d.ts +10 -0
  48. package/dist/components/form-select-search/type.d.ts.map +1 -0
  49. package/dist/components/form-slider/FormSlider.vue.d.ts +227 -0
  50. package/dist/components/form-slider/FormSlider.vue.d.ts.map +1 -0
  51. package/dist/components/form-slider/index.d.ts +5 -0
  52. package/dist/components/form-slider/index.d.ts.map +1 -0
  53. package/dist/components/form-switch/FormSwitch.vue.d.ts +204 -0
  54. package/dist/components/form-switch/FormSwitch.vue.d.ts.map +1 -0
  55. package/dist/components/form-switch/index.d.ts +5 -0
  56. package/dist/components/form-switch/index.d.ts.map +1 -0
  57. package/dist/components/form-tags/FormTags.vue.d.ts +255 -0
  58. package/dist/components/form-tags/FormTags.vue.d.ts.map +1 -0
  59. package/dist/components/form-tags/index.d.ts +5 -0
  60. package/dist/components/form-tags/index.d.ts.map +1 -0
  61. package/dist/components/form-textarea/FormTextarea.vue.d.ts +89 -0
  62. package/dist/components/form-textarea/FormTextarea.vue.d.ts.map +1 -0
  63. package/dist/components/form-textarea/index.d.ts +5 -0
  64. package/dist/components/form-textarea/index.d.ts.map +1 -0
  65. package/dist/components/index.d.ts +18 -0
  66. package/dist/components/index.d.ts.map +1 -0
  67. package/dist/components/type.d.ts +17 -0
  68. package/dist/components/type.d.ts.map +1 -0
  69. package/dist/components/validation-group/ValidationGroup.vue.d.ts +119 -0
  70. package/dist/components/validation-group/ValidationGroup.vue.d.ts.map +1 -0
  71. package/dist/components/validation-group/index.d.ts +5 -0
  72. package/dist/components/validation-group/index.d.ts.map +1 -0
  73. package/dist/composables/index.d.ts +2 -0
  74. package/dist/composables/index.d.ts.map +1 -0
  75. package/dist/composables/use-submit-button.d.ts +63 -0
  76. package/dist/composables/use-submit-button.d.ts.map +1 -0
  77. package/dist/index.d.ts +24 -0
  78. package/dist/index.d.ts.map +1 -0
  79. package/dist/index.mjs +1764 -0
  80. package/dist/index.mjs.map +1 -0
  81. package/dist/style.css +791 -0
  82. package/dist/type.d.ts +3 -0
  83. package/dist/type.d.ts.map +1 -0
  84. package/dist/types/index.d.ts +2 -0
  85. package/dist/types/index.d.ts.map +1 -0
  86. package/dist/types/option.d.ts +40 -0
  87. package/dist/types/option.d.ts.map +1 -0
  88. package/dist/vue.d.ts +20 -0
  89. package/dist/vue.d.ts.map +1 -0
  90. package/package.json +68 -0
@@ -0,0 +1,255 @@
1
+ import type { ComponentThemeDefinition, ThemeClassesOverride, ThemeElementDefinition, VariantValues } from '@vuecs/core';
2
+ import type { ExtractPublicPropTypes, PropType } from 'vue';
3
+ export type FormTagsThemeClasses = {
4
+ root: string;
5
+ item: string;
6
+ itemText: string;
7
+ itemDelete: string;
8
+ input: string;
9
+ };
10
+ declare module '@vuecs/core' {
11
+ interface ThemeElements {
12
+ formTags?: ThemeElementDefinition<FormTagsThemeClasses>;
13
+ }
14
+ }
15
+ export declare const formTagsThemeDefaults: ComponentThemeDefinition<FormTagsThemeClasses>;
16
+ export type FormTagsModelValue = string[] | number[];
17
+ declare const formTagsProps: {
18
+ /** Controlled list of tag values. `null` is the documented "unset" value. */
19
+ modelValue: {
20
+ type: PropType<FormTagsModelValue | null>;
21
+ default: any;
22
+ };
23
+ /** Placeholder shown in the empty input field. */
24
+ placeholder: {
25
+ type: StringConstructor;
26
+ default: any;
27
+ };
28
+ /** When `true`, prevents the user from interacting with the input. */
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ /** Marks the underlying form field as required. */
34
+ required: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ /** Maximum number of tags (0 = unlimited). */
39
+ max: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ /** When `true`, paste events split on the delimiter and commit the parts. */
44
+ addOnPaste: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ /** When `true`, pressing Tab commits the pending tag. */
49
+ addOnTab: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ /** Vuecs convention: commit a pending tag when the input loses focus (Reka has no default; vuecs opts in so blur-to-commit "just works"). */
54
+ addOnBlur: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ /** When `true`, allow duplicate tag values. */
59
+ duplicate: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ /** Character or regular expression that triggers a new tag (and splits pasted text). */
64
+ delimiter: {
65
+ type: PropType<string | RegExp>;
66
+ default: string;
67
+ };
68
+ /** Form-field name for HTML form submission. */
69
+ name: {
70
+ type: StringConstructor;
71
+ default: any;
72
+ };
73
+ /** Element id for the root tags input. */
74
+ id: {
75
+ type: StringConstructor;
76
+ default: any;
77
+ };
78
+ /** Theme-class overrides for this component instance. */
79
+ themeClass: {
80
+ type: PropType<ThemeClassesOverride<FormTagsThemeClasses>>;
81
+ default: any;
82
+ };
83
+ /** Theme variant values for this component instance. */
84
+ themeVariant: {
85
+ type: PropType<VariantValues>;
86
+ default: any;
87
+ };
88
+ };
89
+ export type FormTagsProps = ExtractPublicPropTypes<typeof formTagsProps>;
90
+ declare const _default: typeof __VLS_export;
91
+ export default _default;
92
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
93
+ /** Controlled list of tag values. `null` is the documented "unset" value. */
94
+ modelValue: {
95
+ type: PropType<FormTagsModelValue | null>;
96
+ default: any;
97
+ };
98
+ /** Placeholder shown in the empty input field. */
99
+ placeholder: {
100
+ type: StringConstructor;
101
+ default: any;
102
+ };
103
+ /** When `true`, prevents the user from interacting with the input. */
104
+ disabled: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ /** Marks the underlying form field as required. */
109
+ required: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
113
+ /** Maximum number of tags (0 = unlimited). */
114
+ max: {
115
+ type: NumberConstructor;
116
+ default: number;
117
+ };
118
+ /** When `true`, paste events split on the delimiter and commit the parts. */
119
+ addOnPaste: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ /** When `true`, pressing Tab commits the pending tag. */
124
+ addOnTab: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ /** Vuecs convention: commit a pending tag when the input loses focus (Reka has no default; vuecs opts in so blur-to-commit "just works"). */
129
+ addOnBlur: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ /** When `true`, allow duplicate tag values. */
134
+ duplicate: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ /** Character or regular expression that triggers a new tag (and splits pasted text). */
139
+ delimiter: {
140
+ type: PropType<string | RegExp>;
141
+ default: string;
142
+ };
143
+ /** Form-field name for HTML form submission. */
144
+ name: {
145
+ type: StringConstructor;
146
+ default: any;
147
+ };
148
+ /** Element id for the root tags input. */
149
+ id: {
150
+ type: StringConstructor;
151
+ default: any;
152
+ };
153
+ /** Theme-class overrides for this component instance. */
154
+ themeClass: {
155
+ type: PropType<ThemeClassesOverride<FormTagsThemeClasses>>;
156
+ default: any;
157
+ };
158
+ /** Theme variant values for this component instance. */
159
+ themeVariant: {
160
+ type: PropType<VariantValues>;
161
+ default: any;
162
+ };
163
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
164
+ [key: string]: any;
165
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "invalid")[], "update:modelValue" | "invalid", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
166
+ /** Controlled list of tag values. `null` is the documented "unset" value. */
167
+ modelValue: {
168
+ type: PropType<FormTagsModelValue | null>;
169
+ default: any;
170
+ };
171
+ /** Placeholder shown in the empty input field. */
172
+ placeholder: {
173
+ type: StringConstructor;
174
+ default: any;
175
+ };
176
+ /** When `true`, prevents the user from interacting with the input. */
177
+ disabled: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ /** Marks the underlying form field as required. */
182
+ required: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ /** Maximum number of tags (0 = unlimited). */
187
+ max: {
188
+ type: NumberConstructor;
189
+ default: number;
190
+ };
191
+ /** When `true`, paste events split on the delimiter and commit the parts. */
192
+ addOnPaste: {
193
+ type: BooleanConstructor;
194
+ default: boolean;
195
+ };
196
+ /** When `true`, pressing Tab commits the pending tag. */
197
+ addOnTab: {
198
+ type: BooleanConstructor;
199
+ default: boolean;
200
+ };
201
+ /** Vuecs convention: commit a pending tag when the input loses focus (Reka has no default; vuecs opts in so blur-to-commit "just works"). */
202
+ addOnBlur: {
203
+ type: BooleanConstructor;
204
+ default: boolean;
205
+ };
206
+ /** When `true`, allow duplicate tag values. */
207
+ duplicate: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
211
+ /** Character or regular expression that triggers a new tag (and splits pasted text). */
212
+ delimiter: {
213
+ type: PropType<string | RegExp>;
214
+ default: string;
215
+ };
216
+ /** Form-field name for HTML form submission. */
217
+ name: {
218
+ type: StringConstructor;
219
+ default: any;
220
+ };
221
+ /** Element id for the root tags input. */
222
+ id: {
223
+ type: StringConstructor;
224
+ default: any;
225
+ };
226
+ /** Theme-class overrides for this component instance. */
227
+ themeClass: {
228
+ type: PropType<ThemeClassesOverride<FormTagsThemeClasses>>;
229
+ default: any;
230
+ };
231
+ /** Theme variant values for this component instance. */
232
+ themeVariant: {
233
+ type: PropType<VariantValues>;
234
+ default: any;
235
+ };
236
+ }>> & Readonly<{
237
+ "onUpdate:modelValue"?: (...args: any[]) => any;
238
+ onInvalid?: (...args: any[]) => any;
239
+ }>, {
240
+ modelValue: FormTagsModelValue;
241
+ disabled: boolean;
242
+ required: boolean;
243
+ name: string;
244
+ id: string;
245
+ themeClass: ThemeClassesOverride<FormTagsThemeClasses>;
246
+ themeVariant: VariantValues;
247
+ max: number;
248
+ placeholder: string;
249
+ addOnPaste: boolean;
250
+ addOnTab: boolean;
251
+ addOnBlur: boolean;
252
+ duplicate: boolean;
253
+ delimiter: string | RegExp;
254
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
255
+ //# sourceMappingURL=FormTags.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormTags.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form-tags/FormTags.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EAChB,MAAM,aAAa,CAAC;AAQrB,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAO5D,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,aAAa;QACnB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,CAAC;KAC3D;CACJ;AAED,eAAO,MAAM,qBAAqB,EAAE,wBAAwB,CAAC,oBAAoB,CAQhF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAErD,QAAA,MAAM,aAAa;IACf,6EAA6E;;cAElD,QAAQ,CAAC,kBAAkB,GAAG,IAAI,CAAC;;;IAG9D,kDAAkD;;;;;IAElD,sEAAsE;;;;;IAEtE,mDAAmD;;;;;IAEnD,8CAA8C;;;;;IAE9C,6EAA6E;;;;;IAE7E,yDAAyD;;;;;IAEzD,6IAA6I;;;;;IAE7I,+CAA+C;;;;;IAE/C,wFAAwF;;cACjD,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAChE,gDAAgD;;;;;IAEhD,0CAA0C;;;;;IAE1C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;;;IAClF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,OAAO,aAAa,CAAC,CAAC;wBAEpD,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IA3Cd,6EAA6E;;cAElD,QAAQ,CAAC,kBAAkB,GAAG,IAAI,CAAC;;;IAG9D,kDAAkD;;;;;IAElD,sEAAsE;;;;;IAEtE,mDAAmD;;;;;IAEnD,8CAA8C;;;;;IAE9C,6EAA6E;;;;;IAE7E,yDAAyD;;;;;IAEzD,6IAA6I;;;;;IAE7I,+CAA+C;;;;;IAE/C,wFAAwF;;cACjD,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAChE,gDAAgD;;;;;IAEhD,0CAA0C;;;;;IAE1C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;;;IAClF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;IA9BvD,6EAA6E;;cAElD,QAAQ,CAAC,kBAAkB,GAAG,IAAI,CAAC;;;IAG9D,kDAAkD;;;;;IAElD,sEAAsE;;;;;IAEtE,mDAAmD;;;;;IAEnD,8CAA8C;;;;;IAE9C,6EAA6E;;;;;IAE7E,yDAAyD;;;;;IAEzD,6IAA6I;;;;;IAE7I,+CAA+C;;;;;IAE/C,wFAAwF;;cACjD,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAChE,gDAAgD;;;;;IAEhD,0CAA0C;;;;;IAE1C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;;;IAClF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;4EA4DzD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import FormTags from './FormTags.vue';
2
+ export { FormTags as VCFormTags };
3
+ export { formTagsThemeDefaults } from './FormTags.vue';
4
+ export type { FormTagsProps, FormTagsThemeClasses, FormTagsModelValue, } from './FormTags.vue';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form-tags/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,YAAY,EACR,aAAa,EACb,oBAAoB,EACpB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,89 @@
1
+ import type { ComponentThemeDefinition, ThemeClassesOverride, ThemeElementDefinition, VariantValues } from '@vuecs/core';
2
+ import type { ExtractPublicPropTypes, PropType } from 'vue';
3
+ export type FormTextareaThemeClasses = {
4
+ root: string;
5
+ };
6
+ declare module '@vuecs/core' {
7
+ interface ThemeElements {
8
+ formTextarea?: ThemeElementDefinition<FormTextareaThemeClasses>;
9
+ }
10
+ }
11
+ export declare const formTextareaThemeDefaults: ComponentThemeDefinition<FormTextareaThemeClasses>;
12
+ declare const formTextareaProps: {
13
+ /** Controlled string value (v-model). */
14
+ modelValue: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ /** Debounce window (ms) for `update:modelValue` emissions. `0` disables debouncing. */
19
+ debounce: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ /** Theme-class overrides for this component instance. */
24
+ themeClass: {
25
+ type: PropType<ThemeClassesOverride<FormTextareaThemeClasses>>;
26
+ default: any;
27
+ };
28
+ /** Theme variant values for this component instance. */
29
+ themeVariant: {
30
+ type: PropType<VariantValues>;
31
+ default: any;
32
+ };
33
+ };
34
+ export type FormTextareaProps = ExtractPublicPropTypes<typeof formTextareaProps>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
37
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
38
+ /** Controlled string value (v-model). */
39
+ modelValue: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ /** Debounce window (ms) for `update:modelValue` emissions. `0` disables debouncing. */
44
+ debounce: {
45
+ type: NumberConstructor;
46
+ default: number;
47
+ };
48
+ /** Theme-class overrides for this component instance. */
49
+ themeClass: {
50
+ type: PropType<ThemeClassesOverride<FormTextareaThemeClasses>>;
51
+ default: any;
52
+ };
53
+ /** Theme variant values for this component instance. */
54
+ themeVariant: {
55
+ type: PropType<VariantValues>;
56
+ default: any;
57
+ };
58
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
+ [key: string]: any;
60
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
+ /** Controlled string value (v-model). */
62
+ modelValue: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ /** Debounce window (ms) for `update:modelValue` emissions. `0` disables debouncing. */
67
+ debounce: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ /** Theme-class overrides for this component instance. */
72
+ themeClass: {
73
+ type: PropType<ThemeClassesOverride<FormTextareaThemeClasses>>;
74
+ default: any;
75
+ };
76
+ /** Theme variant values for this component instance. */
77
+ themeVariant: {
78
+ type: PropType<VariantValues>;
79
+ default: any;
80
+ };
81
+ }>> & Readonly<{
82
+ "onUpdate:modelValue"?: (...args: any[]) => any;
83
+ }>, {
84
+ modelValue: string;
85
+ themeClass: ThemeClassesOverride<FormTextareaThemeClasses>;
86
+ themeVariant: VariantValues;
87
+ debounce: number;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
+ //# sourceMappingURL=FormTextarea.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormTextarea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form-textarea/FormTextarea.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAS5D,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,aAAa;QACnB,YAAY,CAAC,EAAE,sBAAsB,CAAC,wBAAwB,CAAC,CAAC;KACnE;CACJ;AAED,eAAO,MAAM,yBAAyB,EAAE,wBAAwB,CAAC,wBAAwB,CAA6B,CAAC;AAEvH,QAAA,MAAM,iBAAiB;IACnB,yCAAyC;;;;;IAEzC,uFAAuF;;;;;IAEvF,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;;;IACtF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,OAAO,iBAAiB,CAAC,CAAC;wBAE5D,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IApBd,yCAAyC;;;;;IAEzC,uFAAuF;;;;;IAEvF,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;;;IACtF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;IAPvD,yCAAyC;;;;;IAEzC,uFAAuF;;;;;IAEvF,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;;;IACtF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;4EAiDzD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import FormTextarea from './FormTextarea.vue';
2
+ export { FormTextarea as VCFormTextarea };
3
+ export { formTextareaThemeDefaults } from './FormTextarea.vue';
4
+ export type { FormTextareaProps, FormTextareaThemeClasses } from './FormTextarea.vue';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form-textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,18 @@
1
+ export * from './form-checkbox';
2
+ export * from './form-checkbox-group';
3
+ export * from './form-group';
4
+ export * from './form-input';
5
+ export * from './form-number';
6
+ export * from './form-pin';
7
+ export * from './form-radio';
8
+ export * from './form-radio-group';
9
+ export * from './form-select';
10
+ export * from './form-select-search';
11
+ export * from './form-slider';
12
+ export * from './form-switch';
13
+ export * from './form-tags';
14
+ export * from './form-textarea';
15
+ export * from './validation-group';
16
+ export * from './constants';
17
+ export * from './type';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,17 @@
1
+ export type ValidationResult<T = unknown> = {
2
+ $model: T;
3
+ readonly $dirty: boolean;
4
+ readonly $error: boolean;
5
+ readonly $invalid: boolean;
6
+ readonly $anyDirty: boolean;
7
+ readonly $pending: boolean;
8
+ readonly $path: string;
9
+ [key: string]: any;
10
+ };
11
+ export type ValidationMessagesRecordStyle = Record<string, string>;
12
+ export type ValidationMessagesArrayStyle = {
13
+ key: string;
14
+ value: string;
15
+ }[];
16
+ export type ValidationMessages = ValidationMessagesArrayStyle | ValidationMessagesRecordStyle;
17
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/components/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,OAAO,IAAI;IACxC,MAAM,EAAE,CAAC,CAAC;IAEV,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACnE,MAAM,MAAM,4BAA4B,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,4BAA4B,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,119 @@
1
+ import type { ComponentThemeDefinition, ThemeClassesOverride, ThemeElementDefinition, VariantValues } from '@vuecs/core';
2
+ import type { ExtractPublicPropTypes, PropType, SlotsType, VNodeChild } from 'vue';
3
+ import { ValidationSeverity } from '../constants';
4
+ import type { ValidationMessages, ValidationMessagesArrayStyle } from '../type';
5
+ export type ValidationGroupThemeClasses = {
6
+ item: string;
7
+ };
8
+ declare module '@vuecs/core' {
9
+ interface ThemeElements {
10
+ validationGroup?: ThemeElementDefinition<ValidationGroupThemeClasses>;
11
+ }
12
+ }
13
+ export declare const validationGroupThemeDefaults: ComponentThemeDefinition<ValidationGroupThemeClasses>;
14
+ export type ValidationGroupDefaultSlotProps = {
15
+ data: ValidationMessagesArrayStyle;
16
+ severity: `${ValidationSeverity}`;
17
+ itemClass: string;
18
+ itemTag: string;
19
+ };
20
+ export type ValidationGroupItemSlotProps = {
21
+ key: string;
22
+ value: string;
23
+ class: string;
24
+ tag: string;
25
+ severity: `${ValidationSeverity}`;
26
+ };
27
+ declare const validationGroupProps: {
28
+ /** Severity used to colour the rendered messages (`error` / `warning`). */
29
+ severity: {
30
+ type: PropType<`${ValidationSeverity}`>;
31
+ default: ValidationSeverity;
32
+ };
33
+ /** Validation messages — keyed object or ordered array of `{ key, value }`. */
34
+ messages: {
35
+ type: PropType<ValidationMessages>;
36
+ default: () => {};
37
+ };
38
+ /** HTML tag used for each rendered message. */
39
+ itemTag: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ /** Theme-class overrides for this component instance. */
44
+ themeClass: {
45
+ type: PropType<ThemeClassesOverride<ValidationGroupThemeClasses>>;
46
+ default: any;
47
+ };
48
+ /** Theme variant values for this component instance. */
49
+ themeVariant: {
50
+ type: PropType<VariantValues>;
51
+ default: any;
52
+ };
53
+ };
54
+ export type ValidationGroupProps = ExtractPublicPropTypes<typeof validationGroupProps>;
55
+ declare const _default: typeof __VLS_export;
56
+ export default _default;
57
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
58
+ /** Severity used to colour the rendered messages (`error` / `warning`). */
59
+ severity: {
60
+ type: PropType<`${ValidationSeverity}`>;
61
+ default: ValidationSeverity;
62
+ };
63
+ /** Validation messages — keyed object or ordered array of `{ key, value }`. */
64
+ messages: {
65
+ type: PropType<ValidationMessages>;
66
+ default: () => {};
67
+ };
68
+ /** HTML tag used for each rendered message. */
69
+ itemTag: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ /** Theme-class overrides for this component instance. */
74
+ themeClass: {
75
+ type: PropType<ThemeClassesOverride<ValidationGroupThemeClasses>>;
76
+ default: any;
77
+ };
78
+ /** Theme variant values for this component instance. */
79
+ themeVariant: {
80
+ type: PropType<VariantValues>;
81
+ default: any;
82
+ };
83
+ }>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
+ /** Severity used to colour the rendered messages (`error` / `warning`). */
85
+ severity: {
86
+ type: PropType<`${ValidationSeverity}`>;
87
+ default: ValidationSeverity;
88
+ };
89
+ /** Validation messages — keyed object or ordered array of `{ key, value }`. */
90
+ messages: {
91
+ type: PropType<ValidationMessages>;
92
+ default: () => {};
93
+ };
94
+ /** HTML tag used for each rendered message. */
95
+ itemTag: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ /** Theme-class overrides for this component instance. */
100
+ themeClass: {
101
+ type: PropType<ThemeClassesOverride<ValidationGroupThemeClasses>>;
102
+ default: any;
103
+ };
104
+ /** Theme variant values for this component instance. */
105
+ themeVariant: {
106
+ type: PropType<VariantValues>;
107
+ default: any;
108
+ };
109
+ }>> & Readonly<{}>, {
110
+ themeClass: ThemeClassesOverride<ValidationGroupThemeClasses>;
111
+ themeVariant: VariantValues;
112
+ severity: "error" | "warning";
113
+ messages: ValidationMessages;
114
+ itemTag: string;
115
+ }, SlotsType<{
116
+ default: ValidationGroupDefaultSlotProps;
117
+ item: ValidationGroupItemSlotProps;
118
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
119
+ //# sourceMappingURL=ValidationGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/validation-group/ValidationGroup.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACR,sBAAsB,EACtB,QAAQ,EACR,SAAS,EAET,UAAU,EACb,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEhF,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,aAAa;QACnB,eAAe,CAAC,EAAE,sBAAsB,CAAC,2BAA2B,CAAC,CAAC;KACzE;CACJ;AAED,eAAO,MAAM,4BAA4B,EAAE,wBAAwB,CAAC,2BAA2B,CAA2D,CAAC;AAE3J,MAAM,MAAM,+BAA+B,GAAG;IAC1C,IAAI,EAAE,4BAA4B,CAAC;IACnC,QAAQ,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,GAAG,kBAAkB,EAAE,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,oBAAoB;IACtB,2EAA2E;;cAC/C,QAAQ,CAAC,GAAG,kBAAkB,EAAE,CAAC;;;IAC7D,+EAA+E;;cAC1C,QAAQ,CAAC,kBAAkB,CAAC;;;IACjE,+CAA+C;;;;;IAE/C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;;;IACzF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,OAAO,oBAAoB,CAAC,CAAC;wBAElE,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IAtBd,2EAA2E;;cAC/C,QAAQ,CAAC,GAAG,kBAAkB,EAAE,CAAC;;;IAC7D,+EAA+E;;cAC1C,QAAQ,CAAC,kBAAkB,CAAC;;;IACjE,+CAA+C;;;;;IAE/C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;;;IACzF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;IATvD,2EAA2E;;cAC/C,QAAQ,CAAC,GAAG,kBAAkB,EAAE,CAAC;;;IAC7D,+EAA+E;;cAC1C,QAAQ,CAAC,kBAAkB,CAAC;;;IACjE,+CAA+C;;;;;IAE/C,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;;;IACzF,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;aAiB1C,+BAA+B;UAClC,4BAA4B;yEA+CxC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import ValidationGroup from './ValidationGroup.vue';
2
+ export { ValidationGroup as VCValidationGroup };
3
+ export { validationGroupThemeDefaults } from './ValidationGroup.vue';
4
+ export type { ValidationGroupProps, ValidationGroupThemeClasses, ValidationGroupDefaultSlotProps, ValidationGroupItemSlotProps, } from './ValidationGroup.vue';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/validation-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,eAAe,IAAI,iBAAiB,EAAE,CAAC;AAChD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,YAAY,EACR,oBAAoB,EACpB,2BAA2B,EAC3B,+BAA+B,EAC/B,4BAA4B,GAC/B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './use-submit-button';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { ComponentDefaultValues } from '@vuecs/core';
2
+ import type { ComputedRef, MaybeRefOrGetter } from 'vue';
3
+ /**
4
+ * Color set the submit-button composable resolves through DefaultsManager.
5
+ * Mirrors `@vuecs/button`'s `ButtonColor` — duplicated locally so
6
+ * `@vuecs/forms` doesn't pull `@vuecs/button` into its dependency
7
+ * graph for consumers who don't use the submit-button sugar.
8
+ */
9
+ export type SubmitButtonColor = 'primary' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
10
+ export type SubmitButtonDefaults = {
11
+ createText: string;
12
+ updateText: string;
13
+ createIcon: string;
14
+ updateIcon: string;
15
+ createColor: SubmitButtonColor;
16
+ updateColor: SubmitButtonColor;
17
+ };
18
+ declare module '@vuecs/core' {
19
+ interface ComponentDefaults {
20
+ submitButton?: ComponentDefaultValues<SubmitButtonDefaults>;
21
+ }
22
+ }
23
+ export type UseSubmitButtonOptions = {
24
+ /** When true the composable returns the update-mode bindings; defaults to `false`. */
25
+ isEditing?: MaybeRefOrGetter<boolean>;
26
+ /** Forwarded to the returned `loading` field; defaults to `false`. */
27
+ loading?: MaybeRefOrGetter<boolean>;
28
+ /** Forwarded to the returned `disabled` field; defaults to `false`. */
29
+ disabled?: MaybeRefOrGetter<boolean>;
30
+ };
31
+ export type SubmitButtonBindings = {
32
+ type: 'submit';
33
+ label: string;
34
+ iconLeft: string | undefined;
35
+ color: SubmitButtonColor;
36
+ loading: boolean;
37
+ disabled: boolean;
38
+ };
39
+ /**
40
+ * @experimental
41
+ *
42
+ * Reactive `v-bind` source for `<VCButton>` that swaps label / icon /
43
+ * color between create and update modes based on `isEditing`. All four
44
+ * customization knobs (`createText`, `updateText`, `createIcon`,
45
+ * `updateIcon`, `createColor`, `updateColor`) resolve through the
46
+ * `DefaultsManager` under the `submitButton` key, so consumers can wire
47
+ * i18n labels and per-app color/icon choices once at `app.use()` time.
48
+ *
49
+ * The API surface (option names, return shape, defaults key) may change
50
+ * in a future minor release while this stays experimental — pin a
51
+ * version if you depend on the exact shape.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const submit = useSubmitButton({ isEditing: () => isEditing.value, loading });
56
+ * ```
57
+ *
58
+ * ```vue
59
+ * <VCButton v-bind="submit" />
60
+ * ```
61
+ */
62
+ export declare function useSubmitButton(options?: UseSubmitButtonOptions): ComputedRef<SubmitButtonBindings>;
63
+ //# sourceMappingURL=use-submit-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-submit-button.d.ts","sourceRoot":"","sources":["../../src/composables/use-submit-button.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAGzD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjG,MAAM,MAAM,oBAAoB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,iBAAiB,CAAC;CAClC,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,iBAAiB;QACvB,YAAY,CAAC,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,CAAC;KAC/D;CACJ;AAWD,MAAM,MAAM,sBAAsB,GAAG;IACjC,sFAAsF;IACtF,SAAS,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACtC,sEAAsE;IACtE,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,uEAAuE;IACvE,QAAQ,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAC3B,OAAO,GAAE,sBAA2B,GACrC,WAAW,CAAC,oBAAoB,CAAC,CA2BnC"}
@@ -0,0 +1,24 @@
1
+ import type { App } from 'vue';
2
+ import '../assets/form-checkbox.css';
3
+ import '../assets/form-checkbox-group.css';
4
+ import '../assets/form-input.css';
5
+ import '../assets/form-number.css';
6
+ import '../assets/form-pin.css';
7
+ import '../assets/form-radio.css';
8
+ import '../assets/form-select.css';
9
+ import '../assets/form-select-search.css';
10
+ import '../assets/form-slider.css';
11
+ import '../assets/form-switch.css';
12
+ import '../assets/form-tags.css';
13
+ import './vue';
14
+ import type { Options } from './type';
15
+ export * from './components';
16
+ export * from './composables';
17
+ export * from './type';
18
+ export * from './types';
19
+ export declare function install(instance: App, options?: Options): void;
20
+ declare const _default: {
21
+ install: typeof install;
22
+ };
23
+ export default _default;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAEvC,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAClC,OAAO,2BAA2B,CAAC;AACnC,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,2BAA2B,CAAC;AACnC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,yBAAyB,CAAC;AACjC,OAAO,OAAO,CAAC;AAkBf,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,wBAAgB,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,GAAE,OAAY,GAAG,IAAI,CAsBlE;;;;AAED,wBAAwD"}