@formatica/vue 0.1.2 → 0.2.3

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 (97) hide show
  1. package/README.md +280 -24
  2. package/dist/components/BaseField.d.ts +28 -0
  3. package/dist/components/BaseField.d.ts.map +1 -0
  4. package/dist/components/FormBuilder.d.ts +25 -0
  5. package/dist/components/FormBuilder.d.ts.map +1 -0
  6. package/dist/components/FormField.d.ts +6 -0
  7. package/dist/components/FormField.d.ts.map +1 -0
  8. package/dist/components/inputs/CheckboxGroupInput.d.ts +21 -0
  9. package/dist/components/inputs/CheckboxGroupInput.d.ts.map +1 -0
  10. package/dist/components/inputs/CheckboxInput.d.ts +16 -0
  11. package/dist/components/inputs/CheckboxInput.d.ts.map +1 -0
  12. package/dist/components/inputs/DateInput.d.ts +22 -0
  13. package/dist/components/inputs/DateInput.d.ts.map +1 -0
  14. package/dist/components/inputs/FileInput.d.ts +22 -0
  15. package/dist/components/inputs/FileInput.d.ts.map +1 -0
  16. package/dist/components/inputs/NumberInput.d.ts +26 -0
  17. package/dist/components/inputs/NumberInput.d.ts.map +1 -0
  18. package/dist/components/inputs/PhoneInput.d.ts +23 -0
  19. package/dist/components/inputs/PhoneInput.d.ts.map +1 -0
  20. package/dist/components/inputs/RadioInput.d.ts +19 -0
  21. package/dist/components/inputs/RadioInput.d.ts.map +1 -0
  22. package/dist/components/inputs/SelectInput.d.ts +29 -0
  23. package/dist/components/inputs/SelectInput.d.ts.map +1 -0
  24. package/dist/components/inputs/SliderInput.d.ts +23 -0
  25. package/dist/components/inputs/SliderInput.d.ts.map +1 -0
  26. package/dist/components/inputs/SwitchInput.d.ts +17 -0
  27. package/dist/components/inputs/SwitchInput.d.ts.map +1 -0
  28. package/dist/components/inputs/TagsInput.d.ts +24 -0
  29. package/dist/components/inputs/TagsInput.d.ts.map +1 -0
  30. package/dist/components/inputs/TextInput.d.ts +27 -0
  31. package/dist/components/inputs/TextInput.d.ts.map +1 -0
  32. package/dist/components/inputs/TextareaInput.d.ts +28 -0
  33. package/dist/components/inputs/TextareaInput.d.ts.map +1 -0
  34. package/dist/components/layout/FormDivider.d.ts +7 -0
  35. package/dist/components/layout/FormDivider.d.ts.map +1 -0
  36. package/dist/components/layout/FormGroup.d.ts +15 -0
  37. package/dist/components/layout/FormGroup.d.ts.map +1 -0
  38. package/dist/components/layout/FormHtml.d.ts +7 -0
  39. package/dist/components/layout/FormHtml.d.ts.map +1 -0
  40. package/dist/components/layout/FormRow.d.ts +12 -0
  41. package/dist/components/layout/FormRow.d.ts.map +1 -0
  42. package/dist/components/layout/FormSteps.d.ts +11 -0
  43. package/dist/components/layout/FormSteps.d.ts.map +1 -0
  44. package/dist/components/layout/FormTabs.d.ts +8 -0
  45. package/dist/components/layout/FormTabs.d.ts.map +1 -0
  46. package/dist/components/layout/LayoutRenderer.d.ts +8 -0
  47. package/dist/components/layout/LayoutRenderer.d.ts.map +1 -0
  48. package/dist/core/eventBus.d.ts +9 -0
  49. package/dist/core/eventBus.d.ts.map +1 -0
  50. package/dist/core/fieldRegistry.d.ts +24 -0
  51. package/dist/core/fieldRegistry.d.ts.map +1 -0
  52. package/dist/core/ruleRegistry.d.ts +2 -0
  53. package/dist/core/ruleRegistry.d.ts.map +1 -0
  54. package/dist/core/schemaParser.d.ts +4 -0
  55. package/dist/core/schemaParser.d.ts.map +1 -0
  56. package/dist/core/useConditions.d.ts +2 -0
  57. package/dist/core/useConditions.d.ts.map +1 -0
  58. package/dist/core/useForm.d.ts +10 -0
  59. package/dist/core/useForm.d.ts.map +1 -0
  60. package/dist/core/useFormI18n.d.ts +22 -0
  61. package/dist/core/useFormI18n.d.ts.map +1 -0
  62. package/dist/core/useTheme.d.ts +28 -0
  63. package/dist/core/useTheme.d.ts.map +1 -0
  64. package/dist/core/useValidation.d.ts +17 -0
  65. package/dist/core/useValidation.d.ts.map +1 -0
  66. package/dist/formatica.es.js +1230 -1193
  67. package/dist/formatica.es.js.map +1 -1
  68. package/dist/formatica.umd.cjs +1 -1
  69. package/dist/formatica.umd.cjs.map +1 -1
  70. package/dist/index.d.ts +12 -0
  71. package/dist/index.d.ts.map +1 -0
  72. package/dist/plugin.d.ts +11 -0
  73. package/dist/plugin.d.ts.map +1 -0
  74. package/dist/style.css +60 -47
  75. package/dist/types/form.d.ts +92 -0
  76. package/dist/types/form.d.ts.map +1 -0
  77. package/dist/types/i18n.d.ts +18 -0
  78. package/dist/types/i18n.d.ts.map +1 -0
  79. package/dist/types/index.d.ts +7 -0
  80. package/dist/types/index.d.ts.map +1 -0
  81. package/dist/types/layout.d.ts +76 -0
  82. package/dist/types/layout.d.ts.map +1 -0
  83. package/dist/types/schema.d.ts +252 -0
  84. package/dist/types/schema.d.ts.map +1 -0
  85. package/dist/types/theme.d.ts +69 -0
  86. package/dist/types/theme.d.ts.map +1 -0
  87. package/dist/types/validation.d.ts +26 -0
  88. package/dist/types/validation.d.ts.map +1 -0
  89. package/dist/utils/deepMerge.d.ts +2 -0
  90. package/dist/utils/deepMerge.d.ts.map +1 -0
  91. package/dist/utils/extractFields.d.ts +2 -0
  92. package/dist/utils/extractFields.d.ts.map +1 -0
  93. package/dist/utils/sanitize.d.ts +2 -0
  94. package/dist/utils/sanitize.d.ts.map +1 -0
  95. package/dist/utils/titleCase.d.ts +2 -0
  96. package/dist/utils/titleCase.d.ts.map +1 -0
  97. package/package.json +4 -2
package/README.md CHANGED
@@ -1,56 +1,312 @@
1
1
  # @formatica/vue
2
2
 
3
- Schema-driven, fully-typed form builder for Vue 3. Define forms with a JSON schema and get automatic rendering, validation, conditional logic, and Tailwind-ready styling.
3
+ Schema-driven, fully-typed form builder for Vue 3. Define forms with a JSON schema and get automatic rendering, validation, conditional logic, theming, and dark mode support.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @formatica/vue
8
+ npm install @formatica/vue libphonenumber-js
9
+ # or
10
+ yarn add @formatica/vue libphonenumber-js
9
11
  ```
10
12
 
13
+ Import the CSS file in your entry point (required for theming and dark mode):
14
+
15
+ ```ts
16
+ import "@formatica/vue/style.css";
17
+ ```
18
+
19
+ `libphonenumber-js` is required for the phone field type. All other field types have zero external dependencies.
20
+
21
+ ## Plugin Setup
22
+
23
+ Install the plugin in your `main.ts` to configure global defaults for theme, locale, and custom components:
24
+
25
+ ```ts
26
+ import { createApp } from "vue";
27
+ import { createFormatica } from "@formatica/vue";
28
+ import "@formatica/vue/style.css";
29
+ import App from "./App.vue";
30
+
31
+ const app = createApp(App);
32
+ app.use(
33
+ createFormatica({
34
+ theme: {
35
+ name: "my-theme",
36
+ colors: { primary: "#059669", error: "#dc2626" },
37
+ borders: { radius: "0.5rem" },
38
+ },
39
+ locale: "en",
40
+ fallbackLocale: "en",
41
+ // components: { rating: MyRatingInput }, // register custom field types globally
42
+ }),
43
+ );
44
+ app.mount("#app");
45
+ ```
46
+
47
+ ### FormaticaOptions
48
+
49
+ ```ts
50
+ interface FormaticaOptions {
51
+ theme?: ThemeConfig; // Global theme (colors, borders, typography, etc.)
52
+ locale?: string; // Active locale (default: 'en')
53
+ fallbackLocale?: string; // Fallback when key is missing (default: 'en')
54
+ components?: Record<string, Component>; // Custom/override field components
55
+ }
56
+ ```
57
+
58
+ All options are optional. Props passed directly to `FormBuilder` always override the global values from the plugin.
59
+
11
60
  ## Quick Start
12
61
 
62
+ Once the plugin is installed, use `FormBuilder` in any component:
63
+
13
64
  ```vue
14
65
  <script setup lang="ts">
15
- import { FormRenderer, useForm } from "@formatica/vue";
16
- import type { FormSchema } from "@formatica/core";
66
+ import { ref } from "vue";
67
+ import { FormBuilder } from "@formatica/vue";
68
+ import type { FormSchema } from "@formatica/vue";
17
69
 
18
70
  const schema: FormSchema = {
19
71
  fields: [
20
- { name: "name", type: "text", label: "Name", required: true },
21
- { name: "email", type: "email", label: "Email", required: true },
22
72
  {
23
- name: "role",
24
- type: "select",
25
- label: "Role",
26
- options: [
27
- { label: "Developer", value: "dev" },
28
- { label: "Designer", value: "design" },
29
- ],
73
+ type: "text",
74
+ name: "name",
75
+ label: "Full name",
76
+ rules: ["required", "minLength:2"],
30
77
  },
78
+ {
79
+ type: "text",
80
+ name: "email",
81
+ label: "Email",
82
+ inputType: "email",
83
+ rules: ["required", "email"],
84
+ },
85
+ { type: "textarea", name: "message", label: "Message", rules: ["required"] },
31
86
  ],
32
87
  };
33
88
 
34
- const { form } = useForm(schema);
89
+ const formValues = ref<Record<string, unknown>>({});
35
90
 
36
- function handleSubmit(data: Record<string, unknown>) {
37
- console.log("Form submitted:", data);
91
+ function onSubmit(values: Record<string, unknown>) {
92
+ console.log("Form submitted:", values);
38
93
  }
39
94
  </script>
40
95
 
41
96
  <template>
42
- <FormRenderer :form="form" @submit="handleSubmit" />
97
+ <FormBuilder :schema="schema" v-model="formValues" @submit="onSubmit" />
43
98
  </template>
44
99
  ```
45
100
 
46
- ## Features
101
+ ## Schema Format
102
+
103
+ The schema format is identical across `@formatica/vue`, `@formatica/react`, and `@formatica/core`. Fields and layout containers live together in a single tree:
104
+
105
+ ```ts
106
+ interface FormSchema {
107
+ id?: string; // Unique identifier
108
+ version?: string; // Schema version
109
+ fields: SchemaNode[]; // The form tree (fields + layout containers)
110
+ settings?: FormSettings; // Validation timing, layout mode
111
+ translations?: FormTranslations; // Per-locale strings
112
+ }
113
+
114
+ // SchemaNode is either a field or a layout container:
115
+ type SchemaNode =
116
+ | FieldSchema // text, number, select, checkbox, etc.
117
+ | RowNode // { type: 'row', children: [...] }
118
+ | GroupNode // { type: 'group', title: '...', children: [...] }
119
+ | StepsNode // { type: 'steps', steps: [...] }
120
+ | TabsNode // { type: 'tabs', tabs: [...] }
121
+ | DividerNode // { type: 'divider' }
122
+ | HtmlNode; // { type: 'html', content: '...' }
123
+ ```
124
+
125
+ ## Custom Components
126
+
127
+ ### Global registration via plugin
128
+
129
+ ```ts
130
+ import { createFormatica } from "@formatica/vue";
131
+ import MyRatingInput from "./MyRatingInput.vue";
132
+
133
+ app.use(
134
+ createFormatica({
135
+ components: {
136
+ rating: MyRatingInput, // register new type
137
+ text: MyCustomTextInput, // override built-in
138
+ },
139
+ }),
140
+ );
141
+ ```
142
+
143
+ ### Per-instance via props
144
+
145
+ ```vue
146
+ <template>
147
+ <FormBuilder
148
+ :schema="schema"
149
+ :components="{ rating: MyRatingInput, text: MyCustomTextInput }"
150
+ @submit="onSubmit"
151
+ />
152
+ </template>
153
+ ```
154
+
155
+ ### Imperative registration
156
+
157
+ ```ts
158
+ import { registerFieldType } from "@formatica/vue";
159
+ import MyRatingInput from "./MyRatingInput.vue";
160
+
161
+ registerFieldType("rating", MyRatingInput);
162
+ ```
163
+
164
+ Custom field components receive field schema values as props and must emit `update:modelValue` and `blur`. They are wrapped by `BaseField` which handles label, error messages, help text, and tooltip automatically.
165
+
166
+ ## useForm() Composable
167
+
168
+ For advanced use cases where you need direct access to form state:
169
+
170
+ ```ts
171
+ import { useForm } from "@formatica/vue";
172
+ import type { FormSchema } from "@formatica/vue";
173
+
174
+ const schema: FormSchema = {
175
+ fields: [{ type: "text", name: "email", label: "Email", rules: ["required", "email"] }],
176
+ };
177
+
178
+ const form = useForm(schema, { locale: "en" });
179
+
180
+ // Reactive state
181
+ form.values; // Record<string, unknown>
182
+ form.errors; // Record<string, string[]>
183
+ form.touched; // Record<string, boolean>
184
+ form.dirty; // Record<string, boolean>
185
+ form.isValid; // ComputedRef<boolean>
186
+ form.isDirty; // ComputedRef<boolean>
187
+ form.isSubmitting; // Ref<boolean>
188
+ form.submitCount; // Ref<number>
189
+
190
+ // Methods
191
+ form.setFieldValue("email", "test@example.com");
192
+ form.validate(); // validate all, returns Promise<boolean>
193
+ form.validateField("email"); // validate one field
194
+ form.reset(); // reset to initial values
195
+ form.clear(); // clear all values to null
196
+ form.setError("email", ["Already taken"]); // set server-side error
197
+ form.clearError("email");
198
+ form.clearErrors();
199
+ form.getField("email"); // get FieldInstance
200
+ form.setFieldDisabled("email", true);
201
+ form.setFieldVisible("email", false);
202
+ form.setLocale("nl"); // change locale at runtime
203
+ form.updateSchema(newSchema); // swap schema dynamically
204
+
205
+ // Submit (validates first, then calls handler)
206
+ form.submit(async (values) => {
207
+ await api.post("/users", values);
208
+ });
209
+ ```
210
+
211
+ ## Theming
212
+
213
+ ### CSS variables
214
+
215
+ The CSS file (`@formatica/vue/style.css`) maps ThemeConfig values to CSS custom properties:
216
+
217
+ | Variable | Description |
218
+ | --- | --- |
219
+ | `--fc-color-primary` | Primary color (buttons, focus rings, accents) |
220
+ | `--fc-color-error` | Error color (validation messages, borders) |
221
+ | `--fc-color-success` | Success color |
222
+ | `--fc-border-radius` | Border radius for inputs and buttons |
223
+ | `--fc-color-border` | Default border color |
224
+ | `--fc-color-border-focus` | Border color on focus (defaults to primary) |
225
+ | `--fc-input-padding-x` | Horizontal input padding |
226
+ | `--fc-input-padding-y` | Vertical input padding |
227
+
228
+ Override these in your own CSS or pass them via `ThemeConfig.cssVars`:
229
+
230
+ ```ts
231
+ const theme: ThemeConfig = {
232
+ name: "custom",
233
+ colors: { primary: "#4f46e5", error: "#dc2626" },
234
+ borders: { radius: "0.75rem" },
235
+ cssVars: {
236
+ "--fc-input-bg": "#f9fafb",
237
+ },
238
+ };
239
+ ```
240
+
241
+ ### Dark mode
242
+
243
+ Formatica supports dark mode via the `.dark` class on any ancestor element, compatible with Tailwind's `darkMode: 'class'`:
244
+
245
+ ```html
246
+ <html class="dark">
247
+ <body>
248
+ <!-- All Formatica components auto-switch to dark styles -->
249
+ </body>
250
+ </html>
251
+ ```
252
+
253
+ ### Tailwind CSS configuration
254
+
255
+ Include the library's dist files in your Tailwind config's `content` array:
256
+
257
+ ```ts
258
+ // tailwind.config.ts
259
+ export default {
260
+ content: [
261
+ "./src/**/*.{vue,ts,tsx}",
262
+ "./node_modules/@formatica/vue/dist/**/*.js",
263
+ ],
264
+ };
265
+ ```
266
+
267
+ ## i18n
268
+
269
+ Translations are defined per-field and at the form level in the schema:
270
+
271
+ ```ts
272
+ const schema: FormSchema = {
273
+ fields: [
274
+ {
275
+ type: "text",
276
+ name: "email",
277
+ label: "Email",
278
+ translations: {
279
+ nl: { label: "E-mailadres", placeholder: "Voer e-mail in" },
280
+ },
281
+ },
282
+ ],
283
+ translations: {
284
+ en: { submit: "Save", reset: "Cancel" },
285
+ nl: { submit: "Opslaan", reset: "Annuleren" },
286
+ },
287
+ };
288
+ ```
289
+
290
+ Switch locale via the plugin config, the `locale` prop, or `form.setLocale()`.
291
+
292
+ ## TypeScript Support
293
+
294
+ All types are exported from `@formatica/vue` (re-exported from `@formatica/core`):
295
+
296
+ ```ts
297
+ import type {
298
+ FormSchema,
299
+ FieldSchema,
300
+ SchemaNode,
301
+ ThemeConfig,
302
+ FormaticaOptions,
303
+ UseFormOptions,
304
+ } from "@formatica/vue";
305
+ ```
306
+
307
+ ## Playground
47
308
 
48
- - Schema-driven rendering with 15+ field types
49
- - Built-in validation with custom validator support
50
- - Conditional field visibility and behavior
51
- - Multi-step form support
52
- - Full TypeScript support
53
- - Tailwind CSS ready
309
+ Try the interactive playground at [formatica-playground.vercel.app](https://formatica-playground.vercel.app) or run locally with `yarn dev`.
54
310
 
55
311
  ## License
56
312
 
@@ -0,0 +1,28 @@
1
+ import { FieldSchema } from '@formatica/core';
2
+ type __VLS_Props = {
3
+ fieldSchema: FieldSchema;
4
+ fieldName: string;
5
+ errors: string[];
6
+ touched: boolean;
7
+ };
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: HTMLDivElement;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ errors: string[];
19
+ touched: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //# sourceMappingURL=BaseField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseField.vue.d.ts","sourceRoot":"","sources":["../../src/components/BaseField.vue"],"names":[],"mappings":"AAiKI,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAK9D,KAAK,WAAW,GAAG;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAwDV,iBAAS,cAAc;WAsJT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAxOD,MAAM,EAAE;aACP,OAAO;wFA+O1B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { FormSchema, LayoutSchema, ThemeConfig } from '@formatica/core';
2
+ import { Component } from 'vue';
3
+ type __VLS_Props = {
4
+ schema: FormSchema;
5
+ layout?: LayoutSchema;
6
+ locale?: string;
7
+ fallbackLocale?: string;
8
+ modelValue?: Record<string, unknown>;
9
+ theme?: ThemeConfig;
10
+ /** Override built-in components or register custom field types per instance. */
11
+ components?: Record<string, Component>;
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
14
+ form: import('..').FormInstance;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ submit: (values: Record<string, unknown>) => any;
17
+ error: (error: unknown) => any;
18
+ "update:modelValue": (values: Record<string, unknown>) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
21
+ onError?: ((error: unknown) => any) | undefined;
22
+ "onUpdate:modelValue"?: ((values: Record<string, unknown>) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLFormElement>;
24
+ export default _default;
25
+ //# sourceMappingURL=FormBuilder.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormBuilder.vue.d.ts","sourceRoot":"","sources":["../../src/components/FormBuilder.vue"],"names":[],"mappings":"AAuRI,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAc,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzF,OAAO,EAAE,KAAK,SAAS,EAAsD,MAAM,KAAK,CAAC;AAuBzF,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CAC1C,CAAC;;;;;;;;;;;;AAuSN,wBASG;AASD,OAAO,CAAC,MAAM,CAAC;IAChB,MAAM,uBAAuB,EAAE,uBAAuB,CAAC;IACvD,MAAM,gCAAgC,EAAE;QAAE,QAAQ,EAAE,IAAI,CAAC;QAAC,QAAQ,EAAE,IAAI,C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C,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IAClI,SAAS,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,MAAM,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACtF,SAAS,mBAAmB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
6
+ //# sourceMappingURL=FormField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../src/components/FormField.vue"],"names":[],"mappings":"AAgKI,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;;AA4NN,wBAOG"}
@@ -0,0 +1,21 @@
1
+ import { OptionItem } from '../../types/schema';
2
+ type __VLS_Props = {
3
+ modelValue: Array<string | number | boolean>;
4
+ options: OptionItem[];
5
+ inline?: boolean;
6
+ disabled?: boolean;
7
+ minSelect?: number;
8
+ maxSelect?: number;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: (string | number | boolean)[]) => any;
12
+ blur: (event: FocusEvent) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
15
+ onBlur?: ((event: FocusEvent) => any) | undefined;
16
+ }>, {
17
+ inline: boolean;
18
+ disabled: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ export default _default;
21
+ //# sourceMappingURL=CheckboxGroupInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroupInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/CheckboxGroupInput.vue"],"names":[],"mappings":"AAyHI,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IAC7C,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;;;;;;;;YAJW,OAAO;cACL,OAAO;;AAsK9B,wBASG"}
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ modelValue: boolean;
3
+ checkboxLabel?: string;
4
+ disabled?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: boolean) => any;
8
+ blur: (event: FocusEvent) => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
11
+ onBlur?: ((event: FocusEvent) => any) | undefined;
12
+ }>, {
13
+ disabled: boolean;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
15
+ export default _default;
16
+ //# sourceMappingURL=CheckboxInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/CheckboxInput.vue"],"names":[],"mappings":"AAoFI,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;cADa,OAAO;;AA8H9B,wBASG"}
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ format?: string;
4
+ minDate?: string;
5
+ maxDate?: string;
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ focus: (event: FocusEvent) => any;
11
+ "update:modelValue": (value: string) => any;
12
+ blur: (event: FocusEvent) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onFocus?: ((event: FocusEvent) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
+ onBlur?: ((event: FocusEvent) => any) | undefined;
17
+ }>, {
18
+ placeholder: string;
19
+ disabled: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLInputElement>;
21
+ export default _default;
22
+ //# sourceMappingURL=DateInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/DateInput.vue"],"names":[],"mappings":"AAsEI,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;;;iBAFgB,MAAM;cACT,OAAO;;AAkG9B,wBASG"}
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ modelValue: File | File[] | null;
3
+ accept?: string;
4
+ maxSize?: number;
5
+ multiple?: boolean;
6
+ maxFiles?: number;
7
+ disabled?: boolean;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: File | File[] | null) => any;
11
+ blur: (event: FocusEvent) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: File | File[] | null) => any) | undefined;
14
+ onBlur?: ((event: FocusEvent) => any) | undefined;
15
+ }>, {
16
+ disabled: boolean;
17
+ multiple: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ fileInputRef: HTMLInputElement;
20
+ }, HTMLDivElement>;
21
+ export default _default;
22
+ //# sourceMappingURL=FileInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FileInput.vue"],"names":[],"mappings":"AAkMI,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;cADa,OAAO;cAFP,OAAO;;;;AA6P9B,wBAUG"}
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ modelValue: number | null;
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ precision?: number;
7
+ prefix?: string;
8
+ suffix?: string;
9
+ disabled?: boolean;
10
+ readonly?: boolean;
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ focus: (event: FocusEvent) => any;
14
+ "update:modelValue": (value: number | null) => any;
15
+ blur: (event: FocusEvent) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onFocus?: ((event: FocusEvent) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
19
+ onBlur?: ((event: FocusEvent) => any) | undefined;
20
+ }>, {
21
+ disabled: boolean;
22
+ step: number;
23
+ readonly: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
26
+ //# sourceMappingURL=NumberInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/NumberInput.vue"],"names":[],"mappings":"AAyHI,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;;;cAFa,OAAO;UAJX,MAAM;cAKF,OAAO;;AAiK9B,wBAQG"}
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ defaultCountry?: string;
4
+ countries?: string[];
5
+ showDialCode?: boolean;
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ blur: (event: FocusEvent) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
+ onBlur?: ((event: FocusEvent) => any) | undefined;
15
+ }>, {
16
+ disabled: boolean;
17
+ defaultCountry: string;
18
+ showDialCode: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
+ searchInputRef: HTMLInputElement;
21
+ }, HTMLDivElement>;
22
+ export default _default;
23
+ //# sourceMappingURL=PhoneInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/PhoneInput.vue"],"names":[],"mappings":"AAgYI,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;cADa,OAAO;oBAJD,MAAM;kBAER,OAAO;;;;AAoblC,wBAUG"}
@@ -0,0 +1,19 @@
1
+ import { OptionItem } from '../../types/schema';
2
+ type __VLS_Props = {
3
+ modelValue: string | number | boolean | null;
4
+ options: OptionItem[];
5
+ inline?: boolean;
6
+ disabled?: boolean;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: string | number | boolean | null) => any;
10
+ blur: (event: FocusEvent) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
13
+ onBlur?: ((event: FocusEvent) => any) | undefined;
14
+ }>, {
15
+ inline: boolean;
16
+ disabled: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ export default _default;
19
+ //# sourceMappingURL=RadioInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/RadioInput.vue"],"names":[],"mappings":"AA2FI,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;YAFW,OAAO;cACL,OAAO;;AAuI9B,wBASG"}
@@ -0,0 +1,29 @@
1
+ import { OptionItem } from '../../types/schema';
2
+ type SelectValue = string | number | boolean | Array<string | number | boolean> | null;
3
+ type __VLS_Props = {
4
+ modelValue: SelectValue;
5
+ options: OptionItem[];
6
+ multiple?: boolean;
7
+ searchable?: boolean;
8
+ clearable?: boolean;
9
+ placeholder?: string;
10
+ disabled?: boolean;
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (value: SelectValue) => any;
14
+ blur: (event: FocusEvent) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
17
+ onBlur?: ((event: FocusEvent) => any) | undefined;
18
+ }>, {
19
+ placeholder: string;
20
+ disabled: boolean;
21
+ multiple: boolean;
22
+ searchable: boolean;
23
+ clearable: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ containerRef: HTMLDivElement;
26
+ searchInputRef: HTMLInputElement;
27
+ }, HTMLDivElement>;
28
+ export default _default;
29
+ //# sourceMappingURL=SelectInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"AA6RI,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,IAAI,CAAC;AAEvF,KAAK,WAAW,GAAG;IACX,UAAU,EAAE,WAAW,CAAC;IACxB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;;;;;;;;iBAFgB,MAAM;cACT,OAAO;cAJP,OAAO;gBACL,OAAO;eACR,OAAO;;;;;AAsV/B,wBAUG"}