@uniquedj95/vform 3.7.4 → 3.8.1

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 (38) hide show
  1. package/README.md +1 -1
  2. package/dist/components/inputs/BaseInput.vue.d.ts +3 -1
  3. package/dist/components/inputs/BaseInput.vue.d.ts.map +1 -1
  4. package/dist/components/inputs/CheckboxInput.vue.d.ts +3 -1
  5. package/dist/components/inputs/CheckboxInput.vue.d.ts.map +1 -1
  6. package/dist/components/inputs/DateInput.vue.d.ts +6 -2
  7. package/dist/components/inputs/DateInput.vue.d.ts.map +1 -1
  8. package/dist/components/inputs/EmailInput.vue.d.ts +6 -2
  9. package/dist/components/inputs/EmailInput.vue.d.ts.map +1 -1
  10. package/dist/components/inputs/NumberInput.vue.d.ts +6 -2
  11. package/dist/components/inputs/NumberInput.vue.d.ts.map +1 -1
  12. package/dist/components/inputs/PasswordInput.vue.d.ts +6 -2
  13. package/dist/components/inputs/PasswordInput.vue.d.ts.map +1 -1
  14. package/dist/components/inputs/RadioInput.vue.d.ts +3 -1
  15. package/dist/components/inputs/RadioInput.vue.d.ts.map +1 -1
  16. package/dist/components/inputs/SelectInput.vue.d.ts.map +1 -1
  17. package/dist/components/inputs/TextAreaInput.vue.d.ts +3 -1
  18. package/dist/components/inputs/TextAreaInput.vue.d.ts.map +1 -1
  19. package/dist/components/inputs/TextInput.vue.d.ts +6 -2
  20. package/dist/components/inputs/TextInput.vue.d.ts.map +1 -1
  21. package/dist/composables/useDataTransformation.d.ts.map +1 -1
  22. package/dist/composables/useFormFieldValue.d.ts +58 -0
  23. package/dist/composables/useFormFieldValue.d.ts.map +1 -0
  24. package/dist/composables/useMultiStepForm.d.ts.map +1 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.cjs.js.map +1 -1
  27. package/dist/index.d.ts +2 -0
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.es.js +1213 -1051
  30. package/dist/index.es.js.map +1 -1
  31. package/dist/index.umd.js +1 -1
  32. package/dist/index.umd.js.map +1 -1
  33. package/dist/types/index.d.ts +10 -2
  34. package/dist/types/index.d.ts.map +1 -1
  35. package/dist/utils/index.d.ts +9 -1
  36. package/dist/utils/index.d.ts.map +1 -1
  37. package/dist/vform.css +1 -1
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  A dynamic form builder for Vue.js with Ionic components
8
8
 
9
- [![Version](https://img.shields.io/badge/version-3.7.4-blue.svg)](https://github.com/uniquedj95/vform/releases)
9
+ [![Version](https://img.shields.io/badge/version-3.8.1-blue.svg)](https://github.com/uniquedj95/vform/releases)
10
10
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
11
11
  [![Vue Version](https://img.shields.io/badge/vue-3.5+-brightgreen.svg)](https://vuejs.org/)
12
12
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.5-blue)](https://www.typescriptlang.org/)
@@ -12,6 +12,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
12
12
  onReset: (defaultValue?: any) => void;
13
13
  getErrors: () => string[];
14
14
  isValid: () => Promise<boolean>;
15
+ isLoading: import('vue').Ref<boolean, boolean>;
16
+ valueError: import('vue').Ref<string | null, string | null>;
15
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
18
  "update:modelValue": (value: FormField) => any;
17
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -25,6 +27,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
25
27
  M: {};
26
28
  Defaults: {};
27
29
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
28
- }, any>;
30
+ }, HTMLDivElement>;
29
31
  export default _default;
30
32
  //# sourceMappingURL=BaseInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/BaseInput.vue"],"names":[],"mappings":"AAgCA;AA2EA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAMhE,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,IAAI,CAAC,EAAE,cAAc,CAAA;CAAE,CAAC;AAElE,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAwChF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;AAoKhB,wBAUG"}
1
+ {"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/BaseInput.vue"],"names":[],"mappings":"AAmCA;AA4HA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAOhE,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,IAAI,CAAC,EAAE,cAAc,CAAA;CAAE,CAAC;AAElE,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkEhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;AAgMhB,wBAUG"}
@@ -11,6 +11,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
11
11
  onValueUpdate: () => Promise<void>;
12
12
  onReset: typeof onReset;
13
13
  getErrors: () => string[];
14
+ isLoading: import('vue').Ref<boolean, boolean>;
15
+ valueError: import('vue').Ref<string | null, string | null>;
14
16
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
17
  "update:modelValue": (value: FormField) => any;
16
18
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -24,6 +26,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
24
26
  M: {};
25
27
  Defaults: {};
26
28
  }, import("@ionic/core").JSX.IonCheckbox & import('@stencil/vue-output-target/runtime').InputProps<boolean | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
27
- }, any>;
29
+ }, HTMLDivElement>;
28
30
  export default _default;
29
31
  //# sourceMappingURL=CheckboxInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/CheckboxInput.vue"],"names":[],"mappings":"AAiBA;AA0DA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAYhF,iBAAS,OAAO,SAIf;AAsBD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AAyFhB,wBAUG"}
1
+ {"version":3,"file":"CheckboxInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/CheckboxInput.vue"],"names":[],"mappings":"AAoBA;AA2GA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AA8BhF,iBAAS,OAAO,SAIf;AA8BD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;AAmHhB,wBAUG"}
@@ -27,6 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
27
27
  onReset: (defaultValue?: any) => void;
28
28
  getErrors: () => string[];
29
29
  isValid: () => Promise<boolean>;
30
+ isLoading: import('vue').Ref<boolean, boolean>;
31
+ valueError: import('vue').Ref<string | null, string | null>;
30
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
33
  "update:modelValue": (value: FormField) => any;
32
34
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -38,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
38
40
  M: {};
39
41
  Defaults: {};
40
42
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
41
- }, any, import('vue').ComponentProvideOptions, {
43
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
44
  P: {};
43
45
  B: {};
44
46
  D: {};
@@ -57,7 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
57
59
  onReset: (defaultValue?: any) => void;
58
60
  getErrors: () => string[];
59
61
  isValid: () => Promise<boolean>;
62
+ isLoading: import('vue').Ref<boolean, boolean>;
63
+ valueError: import('vue').Ref<string | null, string | null>;
60
64
  }, {}, {}, {}, {}> | null;
61
- }, any>;
65
+ }, HTMLDivElement>;
62
66
  export default _default;
63
67
  //# sourceMappingURL=DateInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/DateInput.vue"],"names":[],"mappings":"AAQA;AA0BA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
1
+ {"version":3,"file":"DateInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/DateInput.vue"],"names":[],"mappings":"AAQA;AA0BA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
@@ -27,6 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
27
27
  onReset: (defaultValue?: any) => void;
28
28
  getErrors: () => string[];
29
29
  isValid: () => Promise<boolean>;
30
+ isLoading: import('vue').Ref<boolean, boolean>;
31
+ valueError: import('vue').Ref<string | null, string | null>;
30
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
33
  "update:modelValue": (value: FormField) => any;
32
34
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -38,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
38
40
  M: {};
39
41
  Defaults: {};
40
42
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
41
- }, any, import('vue').ComponentProvideOptions, {
43
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
44
  P: {};
43
45
  B: {};
44
46
  D: {};
@@ -57,7 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
57
59
  onReset: (defaultValue?: any) => void;
58
60
  getErrors: () => string[];
59
61
  isValid: () => Promise<boolean>;
62
+ isLoading: import('vue').Ref<boolean, boolean>;
63
+ valueError: import('vue').Ref<string | null, string | null>;
60
64
  }, {}, {}, {}, {}> | null;
61
- }, any>;
65
+ }, HTMLDivElement>;
62
66
  export default _default;
63
67
  //# sourceMappingURL=EmailInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/EmailInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
1
+ {"version":3,"file":"EmailInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/EmailInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
@@ -27,6 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
27
27
  onReset: (defaultValue?: any) => void;
28
28
  getErrors: () => string[];
29
29
  isValid: () => Promise<boolean>;
30
+ isLoading: import('vue').Ref<boolean, boolean>;
31
+ valueError: import('vue').Ref<string | null, string | null>;
30
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
33
  "update:modelValue": (value: FormField) => any;
32
34
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -38,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
38
40
  M: {};
39
41
  Defaults: {};
40
42
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
41
- }, any, import('vue').ComponentProvideOptions, {
43
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
44
  P: {};
43
45
  B: {};
44
46
  D: {};
@@ -57,7 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
57
59
  onReset: (defaultValue?: any) => void;
58
60
  getErrors: () => string[];
59
61
  isValid: () => Promise<boolean>;
62
+ isLoading: import('vue').Ref<boolean, boolean>;
63
+ valueError: import('vue').Ref<string | null, string | null>;
60
64
  }, {}, {}, {}, {}> | null;
61
- }, any>;
65
+ }, HTMLDivElement>;
62
66
  export default _default;
63
67
  //# sourceMappingURL=NumberInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/NumberInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
1
+ {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/NumberInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
@@ -27,6 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
27
27
  onReset: (defaultValue?: any) => void;
28
28
  getErrors: () => string[];
29
29
  isValid: () => Promise<boolean>;
30
+ isLoading: import('vue').Ref<boolean, boolean>;
31
+ valueError: import('vue').Ref<string | null, string | null>;
30
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
33
  "update:modelValue": (value: FormField) => any;
32
34
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -38,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
38
40
  M: {};
39
41
  Defaults: {};
40
42
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
41
- }, any, import('vue').ComponentProvideOptions, {
43
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
44
  P: {};
43
45
  B: {};
44
46
  D: {};
@@ -57,7 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
57
59
  onReset: (defaultValue?: any) => void;
58
60
  getErrors: () => string[];
59
61
  isValid: () => Promise<boolean>;
62
+ isLoading: import('vue').Ref<boolean, boolean>;
63
+ valueError: import('vue').Ref<string | null, string | null>;
60
64
  }, {}, {}, {}, {}> | null;
61
- }, any>;
65
+ }, HTMLDivElement>;
62
66
  export default _default;
63
67
  //# sourceMappingURL=PasswordInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/PasswordInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
1
+ {"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/PasswordInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
@@ -12,10 +12,12 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
12
12
  onReset: typeof onReset;
13
13
  getErrors: () => string[];
14
14
  isValid: () => Promise<boolean>;
15
+ isLoading: import('vue').Ref<boolean, boolean>;
16
+ valueError: import('vue').Ref<string | null, string | null>;
15
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
18
  "update:modelValue": (value: FormField) => any;
17
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
20
  "onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
22
  export default _default;
21
23
  //# sourceMappingURL=RadioInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/RadioInput.vue"],"names":[],"mappings":"AA0CA;AAmIA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAU,MAAM,SAAS,CAAC;AAMxD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAehF,iBAAS,OAAO,SAIf;AA4CD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;AAyLhB,wBAQG"}
1
+ {"version":3,"file":"RadioInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/RadioInput.vue"],"names":[],"mappings":"AAiDA;AA6MA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAU,MAAM,SAAS,CAAC;AAOxD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAwChF,iBAAS,OAAO,SAIf;AAoDD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;AAsOhB,wBASG"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"AA6EA;AA2hBA,OAAO,EAAiB,QAAQ,EAAqD,MAAM,KAAK,CAAC;AAEjG,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAwB,MAAM,SAAS,CAAC;AA4FtF,iBAAS,OAAO,SAMf;AA6JD,iBAAe,aAAa,CAAC,GAAG,CAAC,EAAE,GAAG,iBAgBrC;;YAycmB,QAAQ,CAAC,UAAU,CAAC;UACtB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;YADtB,QAAQ,CAAC,UAAU,CAAC;UACtB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;AAX1C,wBAiBG"}
1
+ {"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"AA8EA;AAwjBA,OAAO,EAAiB,QAAQ,EAAqD,MAAM,KAAK,CAAC;AAEjG,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAwB,MAAM,SAAS,CAAC;AAiGtF,iBAAS,OAAO,SAMf;AA6JD,iBAAe,aAAa,CAAC,GAAG,CAAC,EAAE,GAAG,iBAgBrC;;YA0emB,QAAQ,CAAC,UAAU,CAAC;UACtB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;YADtB,QAAQ,CAAC,UAAU,CAAC;UACtB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;AAX1C,wBAiBG"}
@@ -10,6 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
10
10
  onReset: (defaultValue?: any) => void;
11
11
  onValueUpdate: () => Promise<void>;
12
12
  getErrors: () => string[];
13
+ isLoading: import('vue').Ref<boolean, boolean>;
14
+ valueError: import('vue').Ref<string | null, string | null>;
13
15
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
16
  "update:modelValue": (value: FormField) => any;
15
17
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -23,6 +25,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
23
25
  M: {};
24
26
  Defaults: {};
25
27
  }, import("@ionic/core").JSX.IonTextarea & import('@stencil/vue-output-target/runtime').InputProps<string | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
26
- }, any>;
28
+ }, HTMLDivElement>;
27
29
  export default _default;
28
30
  //# sourceMappingURL=TextAreaInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextAreaInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextAreaInput.vue"],"names":[],"mappings":"AA8BA;AAkEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAiChF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AA6HhB,wBAUG"}
1
+ {"version":3,"file":"TextAreaInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextAreaInput.vue"],"names":[],"mappings":"AAiCA;AAmHA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AA2DhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;AAyJhB,wBAUG"}
@@ -27,6 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
27
27
  onReset: (defaultValue?: any) => void;
28
28
  getErrors: () => string[];
29
29
  isValid: () => Promise<boolean>;
30
+ isLoading: import('vue').Ref<boolean, boolean>;
31
+ valueError: import('vue').Ref<string | null, string | null>;
30
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
33
  "update:modelValue": (value: FormField) => any;
32
34
  }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -38,7 +40,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
38
40
  M: {};
39
41
  Defaults: {};
40
42
  }, import("@ionic/core").JSX.IonInput & import('@stencil/vue-output-target/runtime').InputProps<string | number | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, {}> | null;
41
- }, any, import('vue').ComponentProvideOptions, {
43
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
42
44
  P: {};
43
45
  B: {};
44
46
  D: {};
@@ -57,7 +59,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
57
59
  onReset: (defaultValue?: any) => void;
58
60
  getErrors: () => string[];
59
61
  isValid: () => Promise<boolean>;
62
+ isLoading: import('vue').Ref<boolean, boolean>;
63
+ valueError: import('vue').Ref<string | null, string | null>;
60
64
  }, {}, {}, {}, {}> | null;
61
- }, any>;
65
+ }, HTMLDivElement>;
62
66
  export default _default;
63
67
  //# sourceMappingURL=TextInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
1
+ {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextInput.vue"],"names":[],"mappings":"AAGA;AAsBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAkBhF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDataTransformation.d.ts","sourceRoot":"","sources":["../../src/composables/useDataTransformation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAS,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAU,MAAM,SAAS,CAAC;AAGrE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC;;;EA+JlE"}
1
+ {"version":3,"file":"useDataTransformation.d.ts","sourceRoot":"","sources":["../../src/composables/useDataTransformation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAS,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAU,MAAM,SAAS,CAAC;AAGrE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC;;;EAwKlE"}
@@ -0,0 +1,58 @@
1
+ import { Ref } from 'vue';
2
+ import { FormField, FormFieldValue, FormValue } from '../types';
3
+ /**
4
+ * Composable for handling form field value resolution
5
+ * Supports direct values, functions that return values, and Promises that resolve to values
6
+ */
7
+ export declare function useFormFieldValue(model: Ref<FormField>): {
8
+ resolvedValue: Ref<string | number | boolean | {
9
+ label: string;
10
+ value: string | number;
11
+ other?: any;
12
+ isChecked?: boolean | undefined;
13
+ disabled?: boolean | undefined;
14
+ description?: {
15
+ color: "primary" | "warning" | "danger" | "secondary" | "light";
16
+ text: string;
17
+ show?: "always" | "onSelected" | undefined;
18
+ } | undefined;
19
+ } | {
20
+ label: string;
21
+ value: string | number;
22
+ other?: any;
23
+ isChecked?: boolean | undefined;
24
+ disabled?: boolean | undefined;
25
+ description?: {
26
+ color: "primary" | "warning" | "danger" | "secondary" | "light";
27
+ text: string;
28
+ show?: "always" | "onSelected" | undefined;
29
+ } | undefined;
30
+ }[] | undefined, FormValue | {
31
+ label: string;
32
+ value: string | number;
33
+ other?: any;
34
+ isChecked?: boolean | undefined;
35
+ disabled?: boolean | undefined;
36
+ description?: {
37
+ color: "primary" | "warning" | "danger" | "secondary" | "light";
38
+ text: string;
39
+ show?: "always" | "onSelected" | undefined;
40
+ } | undefined;
41
+ } | {
42
+ label: string;
43
+ value: string | number;
44
+ other?: any;
45
+ isChecked?: boolean | undefined;
46
+ disabled?: boolean | undefined;
47
+ description?: {
48
+ color: "primary" | "warning" | "danger" | "secondary" | "light";
49
+ text: string;
50
+ show?: "always" | "onSelected" | undefined;
51
+ } | undefined;
52
+ }[] | undefined>;
53
+ isLoading: Ref<boolean, boolean>;
54
+ error: Ref<string | null, string | null>;
55
+ resolveValue: () => Promise<void>;
56
+ updateValue: (newValue: FormFieldValue | undefined) => Promise<void>;
57
+ };
58
+ //# sourceMappingURL=useFormFieldValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormFieldValue.d.ts","sourceRoot":"","sources":["../../src/composables/useFormFieldValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,GAAG,EAAoB,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG/D;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAQtB,OAAO,CAAC,IAAI,CAAC;4BA2BP,cAAc,GAAG,SAAS,KAAG,OAAO,CAAC,IAAI,CAAC;EA0BhF"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMultiStepForm.d.ts","sourceRoot":"","sources":["../../src/composables/useMultiStepForm.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGpG,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe;;;;;;;;;;;;;6BAwGtB,MAAM,QAAQ,QAAQ;qCAId,MAAM,QAAQ,YAAY;4BAInC,MAAM;+BAUC,OAAO,CAAC,OAAO,CAAC;0BAqBnB,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;oBAiBjC,OAAO,CAAC,OAAO,CAAC;wBAQZ,OAAO,CAAC,OAAO,CAAC;;4BAiBZ,OAAO,CAAC,OAAO,CAAC;gCAoBlB,iBAAiB;EAoCnD"}
1
+ {"version":3,"file":"useMultiStepForm.d.ts","sourceRoot":"","sources":["../../src/composables/useMultiStepForm.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGpG,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe;;;;;;;;;;;;;6BAmHtB,MAAM,QAAQ,QAAQ;qCAId,MAAM,QAAQ,YAAY;4BAInC,MAAM;+BAUC,OAAO,CAAC,OAAO,CAAC;0BAqBnB,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;oBAiBjC,OAAO,CAAC,OAAO,CAAC;wBAQZ,OAAO,CAAC,OAAO,CAAC;;4BAiBZ,OAAO,CAAC,OAAO,CAAC;gCAoBlB,iBAAiB;EAoCnD"}