@prefabs.tech/vue3-form 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/PrefabsTechVue3Form.es.js +13296 -0
- package/dist/PrefabsTechVue3Form.umd.js +10 -0
- package/dist/src/components/Checkbox.vue.d.ts +60 -0
- package/dist/src/components/Checkbox.vue.d.ts.map +1 -0
- package/dist/src/components/CheckboxInput.vue.d.ts +101 -0
- package/dist/src/components/CheckboxInput.vue.d.ts.map +1 -0
- package/dist/src/components/CurrencyPicker.vue.d.ts +116 -0
- package/dist/src/components/CurrencyPicker.vue.d.ts.map +1 -0
- package/dist/src/components/DatePicker.vue.d.ts +101 -0
- package/dist/src/components/DatePicker.vue.d.ts.map +1 -0
- package/dist/src/components/DaysInput.vue.d.ts +71 -0
- package/dist/src/components/DaysInput.vue.d.ts.map +1 -0
- package/dist/src/components/EditableContent.vue.d.ts +64 -0
- package/dist/src/components/EditableContent.vue.d.ts.map +1 -0
- package/dist/src/components/Email.vue.d.ts +99 -0
- package/dist/src/components/Email.vue.d.ts.map +1 -0
- package/dist/src/components/File/FileInput.vue.d.ts +142 -0
- package/dist/src/components/File/FileInput.vue.d.ts.map +1 -0
- package/dist/src/components/File/SelectedFile.vue.d.ts +48 -0
- package/dist/src/components/File/SelectedFile.vue.d.ts.map +1 -0
- package/dist/src/components/Form.vue.d.ts +16 -0
- package/dist/src/components/Form.vue.d.ts.map +1 -0
- package/dist/src/components/FormActions.vue.d.ts +80 -0
- package/dist/src/components/FormActions.vue.d.ts.map +1 -0
- package/dist/src/components/Input.vue.d.ts +79 -0
- package/dist/src/components/Input.vue.d.ts.map +1 -0
- package/dist/src/components/NumberInput.vue.d.ts +99 -0
- package/dist/src/components/NumberInput.vue.d.ts.map +1 -0
- package/dist/src/components/Password.vue.d.ts +110 -0
- package/dist/src/components/Password.vue.d.ts.map +1 -0
- package/dist/src/components/Radio.vue.d.ts +78 -0
- package/dist/src/components/Radio.vue.d.ts.map +1 -0
- package/dist/src/components/RadioInput.vue.d.ts +90 -0
- package/dist/src/components/RadioInput.vue.d.ts.map +1 -0
- package/dist/src/components/Select.vue.d.ts +129 -0
- package/dist/src/components/Select.vue.d.ts.map +1 -0
- package/dist/src/components/SelectInput.vue.d.ts +167 -0
- package/dist/src/components/SelectInput.vue.d.ts.map +1 -0
- package/dist/src/components/Switch.vue.d.ts +56 -0
- package/dist/src/components/Switch.vue.d.ts.map +1 -0
- package/dist/src/components/SwitchInput.vue.d.ts +79 -0
- package/dist/src/components/SwitchInput.vue.d.ts.map +1 -0
- package/dist/src/components/TextInput.vue.d.ts +99 -0
- package/dist/src/components/TextInput.vue.d.ts.map +1 -0
- package/dist/src/components/TextareaInput.vue.d.ts +121 -0
- package/dist/src/components/TextareaInput.vue.d.ts.map +1 -0
- package/dist/src/components/Typeahead.vue.d.ts +101 -0
- package/dist/src/components/Typeahead.vue.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Email.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Email.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/FormActions.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/FormActions.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Input.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Input.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Password.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Password.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Select.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Select.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Switch.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Switch.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/TextInput.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/TextInput.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts.map +1 -0
- package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts +2 -0
- package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +23 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/schemas/Email.d.ts +6 -0
- package/dist/src/schemas/Email.d.ts.map +1 -0
- package/dist/src/schemas/Number.d.ts +6 -0
- package/dist/src/schemas/Number.d.ts.map +1 -0
- package/dist/src/schemas/Password.d.ts +5 -0
- package/dist/src/schemas/Password.d.ts.map +1 -0
- package/dist/src/schemas/Text.d.ts +6 -0
- package/dist/src/schemas/Text.d.ts.map +1 -0
- package/dist/src/schemas/index.d.ts +6 -0
- package/dist/src/schemas/index.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +44 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/validator/index.d.ts +5 -0
- package/dist/src/types/validator/index.d.ts.map +1 -0
- package/dist/src/types/validator/is-email-options.d.ts +51 -0
- package/dist/src/types/validator/is-email-options.d.ts.map +1 -0
- package/dist/src/types/validator/is-int-options.d.ts +25 -0
- package/dist/src/types/validator/is-int-options.d.ts.map +1 -0
- package/dist/src/types/validator/is-text-options.d.ts +9 -0
- package/dist/src/types/validator/is-text-options.d.ts.map +1 -0
- package/dist/src/types/validator/strong-password-options.d.ts +77 -0
- package/dist/src/types/validator/strong-password-options.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/select.d.ts +8 -0
- package/dist/src/utils/select.d.ts.map +1 -0
- package/dist/vue3-form.css +1 -0
- package/package.json +82 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { TextErrorMessages, IsTextOptions } from "../types";
|
|
3
|
+
import type { PropType } from "vue";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
cols: {
|
|
6
|
+
default: undefined;
|
|
7
|
+
required: false;
|
|
8
|
+
type: PropType<number | undefined>;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
default: boolean;
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
errorMessages: {
|
|
15
|
+
default: () => {
|
|
16
|
+
invalid: string;
|
|
17
|
+
required: string;
|
|
18
|
+
};
|
|
19
|
+
required: false;
|
|
20
|
+
type: PropType<TextErrorMessages>;
|
|
21
|
+
};
|
|
22
|
+
label: {
|
|
23
|
+
default: string;
|
|
24
|
+
required: false;
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
default: string;
|
|
29
|
+
type: PropType<string | number | string[] | undefined>;
|
|
30
|
+
};
|
|
31
|
+
name: {
|
|
32
|
+
default: string;
|
|
33
|
+
required: false;
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
};
|
|
36
|
+
options: {
|
|
37
|
+
default: () => {};
|
|
38
|
+
required: false;
|
|
39
|
+
type: PropType<IsTextOptions>;
|
|
40
|
+
};
|
|
41
|
+
placeholder: {
|
|
42
|
+
default: string;
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
};
|
|
45
|
+
rows: {
|
|
46
|
+
default: undefined;
|
|
47
|
+
required: false;
|
|
48
|
+
type: PropType<number | undefined>;
|
|
49
|
+
};
|
|
50
|
+
schema: {
|
|
51
|
+
default: () => {};
|
|
52
|
+
required: false;
|
|
53
|
+
type: PropType<z.ZodType<string | number>>;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
cols: {
|
|
57
|
+
default: undefined;
|
|
58
|
+
required: false;
|
|
59
|
+
type: PropType<number | undefined>;
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
default: boolean;
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
};
|
|
65
|
+
errorMessages: {
|
|
66
|
+
default: () => {
|
|
67
|
+
invalid: string;
|
|
68
|
+
required: string;
|
|
69
|
+
};
|
|
70
|
+
required: false;
|
|
71
|
+
type: PropType<TextErrorMessages>;
|
|
72
|
+
};
|
|
73
|
+
label: {
|
|
74
|
+
default: string;
|
|
75
|
+
required: false;
|
|
76
|
+
type: PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
modelValue: {
|
|
79
|
+
default: string;
|
|
80
|
+
type: PropType<string | number | string[] | undefined>;
|
|
81
|
+
};
|
|
82
|
+
name: {
|
|
83
|
+
default: string;
|
|
84
|
+
required: false;
|
|
85
|
+
type: PropType<string>;
|
|
86
|
+
};
|
|
87
|
+
options: {
|
|
88
|
+
default: () => {};
|
|
89
|
+
required: false;
|
|
90
|
+
type: PropType<IsTextOptions>;
|
|
91
|
+
};
|
|
92
|
+
placeholder: {
|
|
93
|
+
default: string;
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
};
|
|
96
|
+
rows: {
|
|
97
|
+
default: undefined;
|
|
98
|
+
required: false;
|
|
99
|
+
type: PropType<number | undefined>;
|
|
100
|
+
};
|
|
101
|
+
schema: {
|
|
102
|
+
default: () => {};
|
|
103
|
+
required: false;
|
|
104
|
+
type: PropType<z.ZodType<string | number>>;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
label: string;
|
|
111
|
+
modelValue: string | number | string[] | undefined;
|
|
112
|
+
name: string;
|
|
113
|
+
options: IsTextOptions;
|
|
114
|
+
schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
|
|
115
|
+
placeholder: string;
|
|
116
|
+
errorMessages: TextErrorMessages;
|
|
117
|
+
cols: number | undefined;
|
|
118
|
+
rows: number | undefined;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
export default _default;
|
|
121
|
+
//# sourceMappingURL=TextareaInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextareaInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TextareaInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;cAkFhB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;;;;;;cAc5B,QAAQ,CAAC,iBAAiB,CAAC;;;;;cAK3B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;;;;;cAKhD,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;cASvB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAO5B,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;cAnDpC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;;;;;;;;cAc5B,QAAQ,CAAC,iBAAiB,CAAC;;;;;cAK3B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;;;;;cAKhD,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;cASvB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAO5B,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;AAlIxD,wBAmPc"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { SelectOption } from "../types";
|
|
3
|
+
import type { PropType } from "vue";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
debounceTime: {
|
|
6
|
+
default: number;
|
|
7
|
+
required: false;
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
default: boolean;
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
label: {
|
|
15
|
+
default: string;
|
|
16
|
+
required: false;
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
default: string;
|
|
21
|
+
required: false;
|
|
22
|
+
type: PropType<string | number | null | undefined>;
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
default: string;
|
|
26
|
+
required: false;
|
|
27
|
+
type: PropType<string>;
|
|
28
|
+
};
|
|
29
|
+
suggestions: {
|
|
30
|
+
required: true;
|
|
31
|
+
type: PropType<SelectOption[]>;
|
|
32
|
+
};
|
|
33
|
+
placeholder: {
|
|
34
|
+
default: string;
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
schema: {
|
|
38
|
+
default: () => {};
|
|
39
|
+
required: false;
|
|
40
|
+
type: PropType<z.ZodType<string | number | object>>;
|
|
41
|
+
};
|
|
42
|
+
type: {
|
|
43
|
+
default: string;
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
debounceTime: {
|
|
48
|
+
default: number;
|
|
49
|
+
required: false;
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
default: boolean;
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
};
|
|
56
|
+
label: {
|
|
57
|
+
default: string;
|
|
58
|
+
required: false;
|
|
59
|
+
type: PropType<string>;
|
|
60
|
+
};
|
|
61
|
+
modelValue: {
|
|
62
|
+
default: string;
|
|
63
|
+
required: false;
|
|
64
|
+
type: PropType<string | number | null | undefined>;
|
|
65
|
+
};
|
|
66
|
+
name: {
|
|
67
|
+
default: string;
|
|
68
|
+
required: false;
|
|
69
|
+
type: PropType<string>;
|
|
70
|
+
};
|
|
71
|
+
suggestions: {
|
|
72
|
+
required: true;
|
|
73
|
+
type: PropType<SelectOption[]>;
|
|
74
|
+
};
|
|
75
|
+
placeholder: {
|
|
76
|
+
default: string;
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
schema: {
|
|
80
|
+
default: () => {};
|
|
81
|
+
required: false;
|
|
82
|
+
type: PropType<z.ZodType<string | number | object>>;
|
|
83
|
+
};
|
|
84
|
+
type: {
|
|
85
|
+
default: string;
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
}>> & Readonly<{
|
|
89
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
type: string;
|
|
93
|
+
label: string;
|
|
94
|
+
modelValue: string | number | null | undefined;
|
|
95
|
+
name: string;
|
|
96
|
+
schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
|
|
97
|
+
placeholder: string;
|
|
98
|
+
debounceTime: number;
|
|
99
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
export default _default;
|
|
101
|
+
//# sourceMappingURL=Typeahead.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typeahead.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;cAyGhB,QAAQ,CAAC,MAAM,CAAC;;;;;cAKN,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;cAWvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;cAzB7C,QAAQ,CAAC,MAAM,CAAC;;;;;cAKN,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKtD,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;cAWvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;AA/HjE,wBAiSc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyPicker.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/CurrencyPicker.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/DatePicker.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Email.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Email.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormActions.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/FormActions.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Input.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberInput.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/NumberInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Password.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Password.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Select.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectInput.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/SelectInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Switch.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchInput.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/SwitchInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInput.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/TextInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextareaInput.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/TextareaInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typeahead.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/__test__/snapshot/Typeahead.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { default as Checkbox } from "./Checkbox.vue";
|
|
2
|
+
export { default as CheckboxInput } from "./CheckboxInput.vue";
|
|
3
|
+
export { default as CurrencyPicker } from "./CurrencyPicker.vue";
|
|
4
|
+
export { default as DatePicker } from "./DatePicker.vue";
|
|
5
|
+
export { default as DaysInput } from "./DaysInput.vue";
|
|
6
|
+
export { default as EditableContent } from "./EditableContent.vue";
|
|
7
|
+
export { default as Email } from "./Email.vue";
|
|
8
|
+
export { default as FileInput } from "./File/FileInput.vue";
|
|
9
|
+
export { default as Form } from "./Form.vue";
|
|
10
|
+
export { default as FormActions } from "./FormActions.vue";
|
|
11
|
+
export { default as Input } from "./Input.vue";
|
|
12
|
+
export { default as NumberInput } from "./NumberInput.vue";
|
|
13
|
+
export { default as Password } from "./Password.vue";
|
|
14
|
+
export { default as Radio } from "./Radio.vue";
|
|
15
|
+
export { default as RadioInput } from "./RadioInput.vue";
|
|
16
|
+
export { default as Select } from "./Select.vue";
|
|
17
|
+
export { default as SelectInput } from "./SelectInput.vue";
|
|
18
|
+
export { default as Switch } from "./Switch.vue";
|
|
19
|
+
export { default as SwitchInput } from "./SwitchInput.vue";
|
|
20
|
+
export { default as TextareaInput } from "./TextareaInput.vue";
|
|
21
|
+
export { default as TextInput } from "./TextInput.vue";
|
|
22
|
+
export { default as Typeahead } from "./Typeahead.vue";
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "./assets/css/index.css";
|
|
2
|
+
export * from "./components";
|
|
3
|
+
export * from "./schemas";
|
|
4
|
+
export type { CurrencyOption, EmailErrorMessages, GroupedOption, IsEmailOptions, IsIntOptions, IsTextOptions, NumberErrorMessages, PasswordErrorMessages, SelectOption, StrongPasswordOptions, TextErrorMessages, } from "./types";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC;AAE1B,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { EmailErrorMessages } from "../types";
|
|
3
|
+
import type { IsEmailOptions } from "../types/validator";
|
|
4
|
+
declare const schema: (errorMessages: EmailErrorMessages, options: IsEmailOptions | undefined) => z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
+
export default schema;
|
|
6
|
+
//# sourceMappingURL=Email.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../src/schemas/Email.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,QAAA,MAAM,MAAM,kBACK,kBAAkB,WACxB,cAAc,GAAG,SAAS,8CASpC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { NumberErrorMessages } from "../types";
|
|
3
|
+
import type { IsIntOptions } from "../types/validator";
|
|
4
|
+
declare const schema: (errorMessages: NumberErrorMessages, options: IsIntOptions | undefined) => z.ZodEffects<z.ZodNumber, number, number>;
|
|
5
|
+
export default schema;
|
|
6
|
+
//# sourceMappingURL=Number.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/schemas/Number.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,QAAA,MAAM,MAAM,kBACK,mBAAmB,WACzB,YAAY,GAAG,SAAS,8CAWlC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { PasswordErrorMessages, StrongPasswordOptions } from "../types";
|
|
3
|
+
declare const schema: (errorMessages: PasswordErrorMessages, options: StrongPasswordOptions | undefined) => z.ZodEffects<z.ZodString, string, string>;
|
|
4
|
+
export default schema;
|
|
5
|
+
//# sourceMappingURL=Password.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Password.d.ts","sourceRoot":"","sources":["../../../src/schemas/Password.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAiB7E,QAAA,MAAM,MAAM,kBACK,qBAAqB,WAC3B,qBAAqB,GAAG,SAAS,8CAyB3C,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { TextErrorMessages } from "../types";
|
|
3
|
+
import type { IsTextOptions } from "../types/validator";
|
|
4
|
+
declare const schema: (errorMessages: TextErrorMessages, options: IsTextOptions | undefined) => z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
+
export default schema;
|
|
6
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/schemas/Text.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,QAAA,MAAM,MAAM,kBACK,iBAAiB,WACvB,aAAa,GAAG,SAAS,8CAsBnC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as emailSchema } from "./Email";
|
|
2
|
+
import { default as numberSchema } from "./Number";
|
|
3
|
+
import { default as passwordSchema } from "./Password";
|
|
4
|
+
import { default as textSchema } from "./Text";
|
|
5
|
+
export { emailSchema, numberSchema, passwordSchema, textSchema };
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
interface CurrencyOption extends SelectOption {
|
|
2
|
+
code?: string;
|
|
3
|
+
symbol?: string;
|
|
4
|
+
}
|
|
5
|
+
interface EmailErrorMessages {
|
|
6
|
+
invalid?: string;
|
|
7
|
+
required?: string;
|
|
8
|
+
}
|
|
9
|
+
interface FileExtended extends File {
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
12
|
+
interface InputOption {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string | number;
|
|
15
|
+
}
|
|
16
|
+
interface MonthPickerValue {
|
|
17
|
+
month: number | string;
|
|
18
|
+
year: number | string;
|
|
19
|
+
}
|
|
20
|
+
interface NumberErrorMessages {
|
|
21
|
+
invalid?: string;
|
|
22
|
+
required?: string;
|
|
23
|
+
}
|
|
24
|
+
interface PasswordErrorMessages {
|
|
25
|
+
required?: string;
|
|
26
|
+
weak?: string;
|
|
27
|
+
}
|
|
28
|
+
interface SelectOption extends Record<string, unknown> {
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
label?: string;
|
|
31
|
+
value?: string | number;
|
|
32
|
+
groupLabel?: string;
|
|
33
|
+
}
|
|
34
|
+
interface GroupedOption {
|
|
35
|
+
label: string;
|
|
36
|
+
options: SelectOption[];
|
|
37
|
+
}
|
|
38
|
+
interface TextErrorMessages {
|
|
39
|
+
invalid?: string;
|
|
40
|
+
required?: string;
|
|
41
|
+
}
|
|
42
|
+
export type { CurrencyOption, EmailErrorMessages, FileExtended, GroupedOption, InputOption, MonthPickerValue, NumberErrorMessages, PasswordErrorMessages, SelectOption, TextErrorMessages, };
|
|
43
|
+
export type { IsEmailOptions, IsTextOptions, IsIntOptions, StrongPasswordOptions, } from "./validator";
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,UAAU,cAAe,SAAQ,YAAY;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,YAAa,SAAQ,IAAI;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,YAAa,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,GAClB,CAAC;AAEF,YAAY,EACV,cAAc,EACd,aAAa,EACb,YAAY,EACZ,qBAAqB,GACtB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { IsEmailOptions } from "./is-email-options";
|
|
2
|
+
export type { IsTextOptions } from "./is-text-options";
|
|
3
|
+
export type { IsIntOptions } from "./is-int-options";
|
|
4
|
+
export type { StrongPasswordOptions } from "./strong-password-options";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
interface IsEmailOptions {
|
|
2
|
+
/**
|
|
3
|
+
* If `allow_display_name` is set to `true`, the validator will also match `Display Name <email-address>`.
|
|
4
|
+
*
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
allow_display_name?: boolean | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* If `allow_utf8_local_part` is set to `false`, the validator will not allow any non-English UTF8 character in email address' local part.
|
|
10
|
+
*
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
allow_utf8_local_part?: boolean | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* If blacklisted_chars receives a string, then the validator will reject emails that include
|
|
16
|
+
* any of the characters in the string, in the name part.
|
|
17
|
+
*/
|
|
18
|
+
blacklisted_chars?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* If host_blacklist is set to an array of strings
|
|
21
|
+
* and the part of the email after the @ symbol matches one of the strings defined in it,
|
|
22
|
+
* the validation fails.
|
|
23
|
+
*/
|
|
24
|
+
host_blacklist?: string[] | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* If host_whitelist is set to an array of strings
|
|
27
|
+
* and the part of the email after the @ symbol matches one of the strings defined in it,
|
|
28
|
+
* the validation succeeds.
|
|
29
|
+
*/
|
|
30
|
+
host_whitelist?: string[] | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* If `ignore_max_length` is set to `true`, the validator will not check for the standard max length of an email.
|
|
33
|
+
*
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
ignore_max_length?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* If `require_display_name` is set to `true`, the validator will reject strings without the format `Display Name <email-address>`.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
require_display_name?: boolean | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* If `require_tld` is set to `false`, e-mail addresses without having TLD in their domain will also be matched.
|
|
45
|
+
*
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
require_tld?: boolean | undefined;
|
|
49
|
+
}
|
|
50
|
+
export type { IsEmailOptions };
|
|
51
|
+
//# sourceMappingURL=is-email-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-email-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/is-email-options.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEzC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEvC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAEtC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAEtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAExC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE3C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACnC;AAED,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface IsIntOptions {
|
|
2
|
+
/**
|
|
3
|
+
* to check the integer min boundary
|
|
4
|
+
*/
|
|
5
|
+
min?: number | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* to check the integer max boundary
|
|
8
|
+
*/
|
|
9
|
+
max?: number | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* if `false`, will disallow integer values with leading zeroes
|
|
12
|
+
* @default true
|
|
13
|
+
*/
|
|
14
|
+
allow_leading_zeroes?: boolean | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* enforce integers being greater than the value provided
|
|
17
|
+
*/
|
|
18
|
+
lt?: number | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* enforce integers being less than the value provided
|
|
21
|
+
*/
|
|
22
|
+
gt?: number | undefined;
|
|
23
|
+
}
|
|
24
|
+
export type { IsIntOptions };
|
|
25
|
+
//# sourceMappingURL=is-int-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-int-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/is-int-options.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE3C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAExB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB;AAED,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-text-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/is-text-options.ts"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAExC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC;AAED,YAAY,EAAE,aAAa,EAAE,CAAC"}
|