@uniquedj95/vform 1.6.3 → 2.0.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.
- package/README.md +407 -59
- package/dist/components/inputs/BaseInput.vue.d.ts +24 -21
- package/dist/components/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/CheckboxInput.vue.d.ts +30 -0
- package/dist/components/inputs/CheckboxInput.vue.d.ts.map +1 -0
- package/dist/components/inputs/DateInput.vue.d.ts +23 -15
- package/dist/components/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/EmailInput.vue.d.ts +56 -15
- package/dist/components/inputs/EmailInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/NumberInput.vue.d.ts +56 -15
- package/dist/components/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/PasswordInput.vue.d.ts +56 -15
- package/dist/components/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/RepeatInput.vue.d.ts +19 -31
- package/dist/components/inputs/RepeatInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/SelectInput.vue.d.ts +25 -21
- package/dist/components/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/TextAreaInput.vue.d.ts +23 -15
- package/dist/components/inputs/TextAreaInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/TextInput.vue.d.ts +56 -15
- package/dist/components/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/vForm.vue.d.ts +10 -44
- package/dist/components/vForm.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +4390 -4026
- package/dist/index.umd.js +1 -1
- package/dist/types/index.d.ts +140 -10
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/vform.css +1 -0
- package/package.json +9 -9
- package/dist/style.css +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DateInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/DateInput.vue"],"names":[],"mappings":"AAqEA;
|
1
|
+
{"version":3,"file":"DateInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/DateInput.vue"],"names":[],"mappings":"AAqEA;AAsMA,OAAO,sCAAsC,CAAC;AAG9C,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzD,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AA0DhF,iBAAe,aAAa,kBAY3B;AA2BD,iBAAS,OAAO,SAIf;AAuBD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AAiUhB,wBAUG"}
|
@@ -1,20 +1,61 @@
|
|
1
|
-
import { FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { FormField, FormSchema } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
};
|
5
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
6
|
+
type __VLS_PublicProps = {
|
7
|
+
modelValue?: typeof model['value'];
|
8
|
+
} & __VLS_Props;
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
10
10
|
onReset: () => any;
|
11
11
|
onValueUpdate: () => any;
|
12
12
|
getErrors: () => any;
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
-
modelValue:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
+
"update:modelValue": (value: FormField) => any;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
16
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
18
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
19
|
+
modelValue?: FormField;
|
20
|
+
} & {
|
21
|
+
schema?: FormSchema;
|
22
|
+
type?: import('types').BaseFieldTypes;
|
23
|
+
}> & Readonly<{
|
24
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
25
|
+
}>, {
|
26
|
+
onValueUpdate: () => Promise<void>;
|
27
|
+
onReset: () => void;
|
28
|
+
getErrors: () => string | undefined;
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
30
|
+
"update:modelValue": (value: FormField) => any;
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
32
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
33
|
+
P: {};
|
34
|
+
B: {};
|
35
|
+
D: {};
|
36
|
+
C: {};
|
37
|
+
M: {};
|
38
|
+
Defaults: {};
|
39
|
+
}, 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;
|
40
|
+
}, any, import('vue').ComponentProvideOptions, {
|
41
|
+
P: {};
|
42
|
+
B: {};
|
43
|
+
D: {};
|
44
|
+
C: {};
|
45
|
+
M: {};
|
46
|
+
Defaults: {};
|
47
|
+
}, Readonly<{
|
48
|
+
modelValue?: FormField;
|
49
|
+
} & {
|
50
|
+
schema?: FormSchema;
|
51
|
+
type?: import('types').BaseFieldTypes;
|
52
|
+
}> & Readonly<{
|
53
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
54
|
+
}>, {
|
55
|
+
onValueUpdate: () => Promise<void>;
|
56
|
+
onReset: () => void;
|
57
|
+
getErrors: () => string | undefined;
|
58
|
+
}, {}, {}, {}, {}> | null;
|
59
|
+
}, any>;
|
19
60
|
export default _default;
|
20
61
|
//# 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":"AAQA;
|
1
|
+
{"version":3,"file":"EmailInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/EmailInput.vue"],"names":[],"mappings":"AAQA;AAyBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAmE,CAAC;AAkB/E,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
|
@@ -1,20 +1,61 @@
|
|
1
|
-
import { FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { FormField, FormSchema } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
};
|
5
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
6
|
+
type __VLS_PublicProps = {
|
7
|
+
modelValue?: typeof model['value'];
|
8
|
+
} & __VLS_Props;
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
10
10
|
onReset: () => any;
|
11
11
|
onValueUpdate: () => any;
|
12
12
|
getErrors: () => any;
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
-
modelValue:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
+
"update:modelValue": (value: FormField) => any;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
16
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
18
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
19
|
+
modelValue?: FormField;
|
20
|
+
} & {
|
21
|
+
schema?: FormSchema;
|
22
|
+
type?: import('types').BaseFieldTypes;
|
23
|
+
}> & Readonly<{
|
24
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
25
|
+
}>, {
|
26
|
+
onValueUpdate: () => Promise<void>;
|
27
|
+
onReset: () => void;
|
28
|
+
getErrors: () => string | undefined;
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
30
|
+
"update:modelValue": (value: FormField) => any;
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
32
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
33
|
+
P: {};
|
34
|
+
B: {};
|
35
|
+
D: {};
|
36
|
+
C: {};
|
37
|
+
M: {};
|
38
|
+
Defaults: {};
|
39
|
+
}, 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;
|
40
|
+
}, any, import('vue').ComponentProvideOptions, {
|
41
|
+
P: {};
|
42
|
+
B: {};
|
43
|
+
D: {};
|
44
|
+
C: {};
|
45
|
+
M: {};
|
46
|
+
Defaults: {};
|
47
|
+
}, Readonly<{
|
48
|
+
modelValue?: FormField;
|
49
|
+
} & {
|
50
|
+
schema?: FormSchema;
|
51
|
+
type?: import('types').BaseFieldTypes;
|
52
|
+
}> & Readonly<{
|
53
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
54
|
+
}>, {
|
55
|
+
onValueUpdate: () => Promise<void>;
|
56
|
+
onReset: () => void;
|
57
|
+
getErrors: () => string | undefined;
|
58
|
+
}, {}, {}, {}, {}> | null;
|
59
|
+
}, any>;
|
19
60
|
export default _default;
|
20
61
|
//# 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":"AAQA;
|
1
|
+
{"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/NumberInput.vue"],"names":[],"mappings":"AAQA;AAyBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAmE,CAAC;AAkB/E,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
|
@@ -1,20 +1,61 @@
|
|
1
|
-
import { FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { FormField, FormSchema } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
};
|
5
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
6
|
+
type __VLS_PublicProps = {
|
7
|
+
modelValue?: typeof model['value'];
|
8
|
+
} & __VLS_Props;
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
10
10
|
onReset: () => any;
|
11
11
|
onValueUpdate: () => any;
|
12
12
|
getErrors: () => any;
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
-
modelValue:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
+
"update:modelValue": (value: FormField) => any;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
16
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
18
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
19
|
+
modelValue?: FormField;
|
20
|
+
} & {
|
21
|
+
schema?: FormSchema;
|
22
|
+
type?: import('types').BaseFieldTypes;
|
23
|
+
}> & Readonly<{
|
24
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
25
|
+
}>, {
|
26
|
+
onValueUpdate: () => Promise<void>;
|
27
|
+
onReset: () => void;
|
28
|
+
getErrors: () => string | undefined;
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
30
|
+
"update:modelValue": (value: FormField) => any;
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
32
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
33
|
+
P: {};
|
34
|
+
B: {};
|
35
|
+
D: {};
|
36
|
+
C: {};
|
37
|
+
M: {};
|
38
|
+
Defaults: {};
|
39
|
+
}, 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;
|
40
|
+
}, any, import('vue').ComponentProvideOptions, {
|
41
|
+
P: {};
|
42
|
+
B: {};
|
43
|
+
D: {};
|
44
|
+
C: {};
|
45
|
+
M: {};
|
46
|
+
Defaults: {};
|
47
|
+
}, Readonly<{
|
48
|
+
modelValue?: FormField;
|
49
|
+
} & {
|
50
|
+
schema?: FormSchema;
|
51
|
+
type?: import('types').BaseFieldTypes;
|
52
|
+
}> & Readonly<{
|
53
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
54
|
+
}>, {
|
55
|
+
onValueUpdate: () => Promise<void>;
|
56
|
+
onReset: () => void;
|
57
|
+
getErrors: () => string | undefined;
|
58
|
+
}, {}, {}, {}, {}> | null;
|
59
|
+
}, any>;
|
19
60
|
export default _default;
|
20
61
|
//# 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":"AAQA;
|
1
|
+
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/PasswordInput.vue"],"names":[],"mappings":"AAQA;AAyBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAmE,CAAC;AAkB/E,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
|
@@ -1,39 +1,27 @@
|
|
1
|
-
import { ComputedData, FormData, FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
1
|
+
import { ComputedData, FormData, FormField, FormSchema } from 'types';
|
2
|
+
interface PropsI {
|
3
|
+
schema?: FormSchema;
|
4
|
+
data: FormData;
|
5
|
+
computedData: ComputedData;
|
6
|
+
}
|
7
|
+
type __VLS_Props = PropsI;
|
8
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
4
9
|
declare function onReset(): void;
|
5
10
|
declare function getErrors(): string[];
|
6
11
|
declare function onValueUpdate(): Promise<void>;
|
7
|
-
|
8
|
-
modelValue
|
9
|
-
|
10
|
-
|
11
|
-
};
|
12
|
-
data: {
|
13
|
-
type: PropType<FormData>;
|
14
|
-
required: true;
|
15
|
-
};
|
16
|
-
computedData: {
|
17
|
-
type: PropType<ComputedData>;
|
18
|
-
required: true;
|
19
|
-
};
|
20
|
-
}>, {
|
12
|
+
type __VLS_PublicProps = {
|
13
|
+
modelValue?: typeof model['value'];
|
14
|
+
} & __VLS_Props;
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
21
16
|
onValueUpdate: typeof onValueUpdate;
|
22
17
|
onReset: typeof onReset;
|
23
18
|
getErrors: typeof getErrors;
|
24
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
25
|
-
modelValue:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
required: true;
|
32
|
-
};
|
33
|
-
computedData: {
|
34
|
-
type: PropType<ComputedData>;
|
35
|
-
required: true;
|
36
|
-
};
|
37
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
20
|
+
"update:modelValue": (value: FormField) => any;
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
22
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
24
|
+
dynamicRefs: unknown[];
|
25
|
+
}, any>;
|
38
26
|
export default _default;
|
39
27
|
//# sourceMappingURL=RepeatInput.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RepeatInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/RepeatInput.vue"],"names":[],"mappings":"AAuCA;
|
1
|
+
{"version":3,"file":"RepeatInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/RepeatInput.vue"],"names":[],"mappings":"AAuCA;AAmHI,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAU,MAAM,OAAO,CAAC;AAM9E,UAAU,MAAM;IACd,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,QAAA,MAAM,KAAK,iEAAoE,CAAC;AA+BhF,iBAAS,OAAO,SAIf;AAED,iBAAS,SAAS,aAMjB;AAED,iBAAe,aAAa,kBAM3B;AAiBL,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;AAqLhB,wBASG"}
|
@@ -1,28 +1,32 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
1
|
+
import { FormSchema, BaseFieldTypes, FormField } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
type?: BaseFieldTypes;
|
5
|
+
};
|
6
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
4
7
|
declare function onReset(): void;
|
5
8
|
declare function onValueUpdate(evt?: any): Promise<void>;
|
6
|
-
|
7
|
-
modelValue
|
8
|
-
|
9
|
-
|
10
|
-
};
|
11
|
-
type: {
|
12
|
-
type: PropType<BaseFieldTypes>;
|
13
|
-
};
|
14
|
-
}>, {
|
9
|
+
type __VLS_PublicProps = {
|
10
|
+
modelValue?: typeof model['value'];
|
11
|
+
} & __VLS_Props;
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
15
13
|
onValueUpdate: typeof onValueUpdate;
|
16
14
|
onReset: typeof onReset;
|
17
15
|
getErrors: () => string | undefined;
|
18
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
19
|
-
modelValue:
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
17
|
+
"update:modelValue": (value: FormField) => any;
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
19
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
21
|
+
containerRef: HTMLDivElement;
|
22
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
23
|
+
P: {};
|
24
|
+
B: {};
|
25
|
+
D: {};
|
26
|
+
C: {};
|
27
|
+
M: {};
|
28
|
+
Defaults: {};
|
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;
|
30
|
+
}, HTMLDivElement>;
|
27
31
|
export default _default;
|
28
32
|
//# sourceMappingURL=SelectInput.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SelectInput.vue"],"names":[],"mappings":"AA2DA;AAgXA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAqBtE,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,IAAI,CAAC,EAAE,cAAc,CAAA;CAAE,CAAC;AAElE,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAgChF,iBAAS,OAAO,SAMf;AAmID,iBAAe,aAAa,CAAC,GAAG,CAAC,EAAE,GAAG,iBAerC;AAkDD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;AAiThB,wBAUG"}
|
@@ -1,22 +1,30 @@
|
|
1
|
-
import { FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
1
|
+
import { FormField, FormSchema } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
};
|
5
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
4
6
|
declare function onReset(): void;
|
5
7
|
declare function onValueUpdate(): Promise<void>;
|
6
|
-
|
7
|
-
modelValue
|
8
|
-
|
9
|
-
|
10
|
-
};
|
11
|
-
}>, {
|
8
|
+
type __VLS_PublicProps = {
|
9
|
+
modelValue?: typeof model['value'];
|
10
|
+
} & __VLS_Props;
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
12
12
|
onReset: typeof onReset;
|
13
13
|
onValueUpdate: typeof onValueUpdate;
|
14
14
|
getErrors: () => string | undefined;
|
15
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
16
|
-
modelValue:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
16
|
+
"update:modelValue": (value: FormField) => any;
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
18
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
20
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<import("@ionic/core").JSX.IonTextarea & import('@stencil/vue-output-target/runtime').InputProps<string | null | undefined> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
21
|
+
P: {};
|
22
|
+
B: {};
|
23
|
+
D: {};
|
24
|
+
C: {};
|
25
|
+
M: {};
|
26
|
+
Defaults: {};
|
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;
|
28
|
+
}, any>;
|
21
29
|
export default _default;
|
22
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":"AA+BA;
|
1
|
+
{"version":3,"file":"TextAreaInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextAreaInput.vue"],"names":[],"mappings":"AA+BA;AAgGA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAG9C,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAoE,CAAC;AAYhF,iBAAS,OAAO,SAIf;AAmBD,iBAAe,aAAa,kBAa3B;AAiBD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AA0IhB,wBAUG"}
|
@@ -1,20 +1,61 @@
|
|
1
|
-
import { FormSchema } from 'types';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
import { FormField, FormSchema } from 'types';
|
2
|
+
type __VLS_Props = {
|
3
|
+
schema?: FormSchema;
|
4
|
+
};
|
5
|
+
declare const model: import('vue').ModelRef<FormField, string, FormField, FormField>;
|
6
|
+
type __VLS_PublicProps = {
|
7
|
+
modelValue?: typeof model['value'];
|
8
|
+
} & __VLS_Props;
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
10
10
|
onReset: () => any;
|
11
11
|
onValueUpdate: () => any;
|
12
12
|
getErrors: () => any;
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
-
modelValue:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
+
"update:modelValue": (value: FormField) => any;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
16
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
18
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
19
|
+
modelValue?: FormField;
|
20
|
+
} & {
|
21
|
+
schema?: FormSchema;
|
22
|
+
type?: import('types').BaseFieldTypes;
|
23
|
+
}> & Readonly<{
|
24
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
25
|
+
}>, {
|
26
|
+
onValueUpdate: () => Promise<void>;
|
27
|
+
onReset: () => void;
|
28
|
+
getErrors: () => string | undefined;
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
30
|
+
"update:modelValue": (value: FormField) => any;
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
32
|
+
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<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, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
33
|
+
P: {};
|
34
|
+
B: {};
|
35
|
+
D: {};
|
36
|
+
C: {};
|
37
|
+
M: {};
|
38
|
+
Defaults: {};
|
39
|
+
}, 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;
|
40
|
+
}, any, import('vue').ComponentProvideOptions, {
|
41
|
+
P: {};
|
42
|
+
B: {};
|
43
|
+
D: {};
|
44
|
+
C: {};
|
45
|
+
M: {};
|
46
|
+
Defaults: {};
|
47
|
+
}, Readonly<{
|
48
|
+
modelValue?: FormField;
|
49
|
+
} & {
|
50
|
+
schema?: FormSchema;
|
51
|
+
type?: import('types').BaseFieldTypes;
|
52
|
+
}> & Readonly<{
|
53
|
+
"onUpdate:modelValue"?: ((value: FormField) => any) | undefined;
|
54
|
+
}>, {
|
55
|
+
onValueUpdate: () => Promise<void>;
|
56
|
+
onReset: () => void;
|
57
|
+
getErrors: () => string | undefined;
|
58
|
+
}, {}, {}, {}, {}> | null;
|
59
|
+
}, any>;
|
19
60
|
export default _default;
|
20
61
|
//# 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":"AAQA;
|
1
|
+
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/TextInput.vue"],"names":[],"mappings":"AAQA;AAyBA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC;AAE3C,QAAA,MAAM,KAAK,iEAAmE,CAAC;AAkB/E,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CAClC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DhB,wBAUG"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { FormData, ComputedData, FormSchema, CustomButton } from '../types';
|
2
|
-
|
3
2
|
interface FormProps {
|
4
3
|
schema: FormSchema;
|
5
4
|
showLabels?: boolean;
|
@@ -14,39 +13,21 @@ interface FormProps {
|
|
14
13
|
}
|
15
14
|
declare function isFormValid(): Promise<boolean>;
|
16
15
|
declare function resetForm(): void;
|
17
|
-
declare const _default: import('vue').DefineComponent<
|
18
|
-
showLabels: boolean;
|
19
|
-
showClearButton: boolean;
|
20
|
-
showCancelButton: boolean;
|
21
|
-
hideButtons: boolean;
|
22
|
-
buttonPlacement: string;
|
23
|
-
submitButtonText: string;
|
24
|
-
clearButtonText: string;
|
25
|
-
cancelButtonText: string;
|
26
|
-
}>>, {
|
16
|
+
declare const _default: import('vue').DefineComponent<FormProps, {
|
27
17
|
resetForm: typeof resetForm;
|
28
18
|
isFormValid: typeof isFormValid;
|
29
19
|
resolveData: () => {
|
30
20
|
formData: FormData;
|
31
21
|
computedData: ComputedData;
|
32
22
|
};
|
33
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
34
|
-
submit: (formData: FormData, computedFormData: ComputedData) =>
|
35
|
-
clear: () =>
|
36
|
-
cancel: () =>
|
37
|
-
}, string, import('vue').PublicProps, Readonly<
|
38
|
-
showLabels: boolean;
|
39
|
-
showClearButton: boolean;
|
40
|
-
showCancelButton: boolean;
|
41
|
-
hideButtons: boolean;
|
42
|
-
buttonPlacement: string;
|
43
|
-
submitButtonText: string;
|
44
|
-
clearButtonText: string;
|
45
|
-
cancelButtonText: string;
|
46
|
-
}>>> & Readonly<{
|
47
|
-
onCancel?: (() => any) | undefined;
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
24
|
+
submit: (formData: FormData, computedFormData: ComputedData) => any;
|
25
|
+
clear: () => any;
|
26
|
+
cancel: () => any;
|
27
|
+
}, string, import('vue').PublicProps, Readonly<FormProps> & Readonly<{
|
48
28
|
onSubmit?: ((formData: FormData, computedFormData: ComputedData) => any) | undefined;
|
49
29
|
onClear?: (() => any) | undefined;
|
30
|
+
onCancel?: (() => any) | undefined;
|
50
31
|
}>, {
|
51
32
|
showLabels: boolean;
|
52
33
|
showClearButton: boolean;
|
@@ -56,23 +37,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
56
37
|
clearButtonText: string;
|
57
38
|
cancelButtonText: string;
|
58
39
|
hideButtons: boolean;
|
59
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
41
|
+
dynamicRefs: unknown[];
|
42
|
+
}, any>;
|
60
43
|
export default _default;
|
61
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
62
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
64
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
65
|
-
} : {
|
66
|
-
type: import('vue').PropType<T[K]>;
|
67
|
-
required: true;
|
68
|
-
};
|
69
|
-
};
|
70
|
-
type __VLS_WithDefaults<P, D> = {
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
72
|
-
default: D[K];
|
73
|
-
}> : P[K];
|
74
|
-
};
|
75
|
-
type __VLS_Prettify<T> = {
|
76
|
-
[K in keyof T]: T[K];
|
77
|
-
} & {};
|
78
44
|
//# sourceMappingURL=vForm.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/vForm.vue"],"names":[],"mappings":"AA4CA;
|
1
|
+
{"version":3,"file":"vForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/vForm.vue"],"names":[],"mappings":"AA4CA;AA2LA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAU,MAAM,UAAU,CAAC;AAGzF,UAAU,SAAS;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACrC;AA4DD,iBAAe,WAAW,qBAOzB;AAOD,iBAAS,SAAS,SAIjB;;;;;;;;;;;;;;;;;gBAvFc,OAAO;qBACF,OAAO;sBACN,OAAO;qBACR,OAAO,GAAG,QAAQ,GAAG,KAAK;sBACzB,MAAM;qBACP,MAAM;sBACL,MAAM;iBACX,OAAO;;;;AAoWvB,wBAWG"}
|