@prefabs.tech/vue3-form 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/PrefabsTechVue3Form.es.js +14387 -13807
  2. package/dist/PrefabsTechVue3Form.umd.js +2 -1
  3. package/dist/flag-icon.css +1 -0
  4. package/dist/src/components/Checkbox.vue.d.ts +10 -7
  5. package/dist/src/components/Checkbox.vue.d.ts.map +1 -1
  6. package/dist/src/components/CheckboxInput.vue.d.ts +20 -16
  7. package/dist/src/components/CheckboxInput.vue.d.ts.map +1 -1
  8. package/dist/src/components/Country.vue.d.ts +9 -8
  9. package/dist/src/components/Country.vue.d.ts.map +1 -1
  10. package/dist/src/components/CountryPicker/Index.vue.d.ts +31 -30
  11. package/dist/src/components/CountryPicker/Index.vue.d.ts.map +1 -1
  12. package/dist/src/components/CurrencyPicker.vue.d.ts +74 -24
  13. package/dist/src/components/CurrencyPicker.vue.d.ts.map +1 -1
  14. package/dist/src/components/DatePicker.vue.d.ts +22 -10
  15. package/dist/src/components/DatePicker.vue.d.ts.map +1 -1
  16. package/dist/src/components/DaysInput.vue.d.ts +13 -9
  17. package/dist/src/components/DaysInput.vue.d.ts.map +1 -1
  18. package/dist/src/components/EditableContent.vue.d.ts +10 -7
  19. package/dist/src/components/EditableContent.vue.d.ts.map +1 -1
  20. package/dist/src/components/Email.vue.d.ts +23 -11
  21. package/dist/src/components/Email.vue.d.ts.map +1 -1
  22. package/dist/src/components/File/FileInput.vue.d.ts +112 -12
  23. package/dist/src/components/File/FileInput.vue.d.ts.map +1 -1
  24. package/dist/src/components/File/SelectedFile.vue.d.ts +27 -9
  25. package/dist/src/components/File/SelectedFile.vue.d.ts.map +1 -1
  26. package/dist/src/components/Form.vue.d.ts +8 -5
  27. package/dist/src/components/Form.vue.d.ts.map +1 -1
  28. package/dist/src/components/FormActions.vue.d.ts +13 -8
  29. package/dist/src/components/FormActions.vue.d.ts.map +1 -1
  30. package/dist/src/components/Input.vue.d.ts +14 -11
  31. package/dist/src/components/Input.vue.d.ts.map +1 -1
  32. package/dist/src/components/NumberInput.vue.d.ts +37 -12
  33. package/dist/src/components/NumberInput.vue.d.ts.map +1 -1
  34. package/dist/src/components/Password.vue.d.ts +27 -15
  35. package/dist/src/components/Password.vue.d.ts.map +1 -1
  36. package/dist/src/components/Radio.vue.d.ts +17 -16
  37. package/dist/src/components/Radio.vue.d.ts.map +1 -1
  38. package/dist/src/components/RadioInput.vue.d.ts +20 -17
  39. package/dist/src/components/RadioInput.vue.d.ts.map +1 -1
  40. package/dist/src/components/Select.vue.d.ts +31 -12
  41. package/dist/src/components/Select.vue.d.ts.map +1 -1
  42. package/dist/src/components/SelectInput.vue.d.ts +25 -19
  43. package/dist/src/components/SelectInput.vue.d.ts.map +1 -1
  44. package/dist/src/components/Switch.vue.d.ts +6 -3
  45. package/dist/src/components/Switch.vue.d.ts.map +1 -1
  46. package/dist/src/components/SwitchInput.vue.d.ts +15 -16
  47. package/dist/src/components/SwitchInput.vue.d.ts.map +1 -1
  48. package/dist/src/components/TextInput.vue.d.ts +15 -12
  49. package/dist/src/components/TextInput.vue.d.ts.map +1 -1
  50. package/dist/src/components/TextareaInput.vue.d.ts +15 -12
  51. package/dist/src/components/TextareaInput.vue.d.ts.map +1 -1
  52. package/dist/src/components/Typeahead.vue.d.ts +61 -38
  53. package/dist/src/components/Typeahead.vue.d.ts.map +1 -1
  54. package/dist/src/index.d.ts +1 -1
  55. package/dist/src/index.d.ts.map +1 -1
  56. package/dist/src/schemas/Email.d.ts.map +1 -1
  57. package/dist/src/schemas/Number.d.ts.map +1 -1
  58. package/dist/src/schemas/Password.d.ts.map +1 -1
  59. package/dist/src/schemas/Text.d.ts.map +1 -1
  60. package/dist/src/schemas/index.d.ts +1 -1
  61. package/dist/src/schemas/index.d.ts.map +1 -1
  62. package/dist/src/types/index.d.ts +20 -18
  63. package/dist/src/types/index.d.ts.map +1 -1
  64. package/dist/src/types/validator/index.d.ts +1 -1
  65. package/dist/src/types/validator/index.d.ts.map +1 -1
  66. package/dist/src/types/validator/is-int-options.d.ts +10 -10
  67. package/dist/src/types/validator/is-int-options.d.ts.map +1 -1
  68. package/dist/src/types/validator/strong-password-options.d.ts +22 -22
  69. package/dist/src/types/validator/strong-password-options.d.ts.map +1 -1
  70. package/dist/src/utils/country-picker.d.ts +1 -1
  71. package/dist/src/utils/country-picker.d.ts.map +1 -1
  72. package/dist/src/utils/select.d.ts +1 -1
  73. package/dist/src/utils/select.d.ts.map +1 -1
  74. package/dist/vue3-form.css +1 -1
  75. package/package.json +37 -29
  76. package/dist/src/components/__test__/snapshot/Country.test.d.ts +0 -2
  77. package/dist/src/components/__test__/snapshot/Country.test.d.ts.map +0 -1
  78. package/dist/src/components/__test__/snapshot/CountryPicker.test.d.ts +0 -2
  79. package/dist/src/components/__test__/snapshot/CountryPicker.test.d.ts.map +0 -1
  80. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts +0 -2
  81. package/dist/src/components/__test__/snapshot/CurrencyPicker.test.d.ts.map +0 -1
  82. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts +0 -2
  83. package/dist/src/components/__test__/snapshot/DatePicker.test.d.ts.map +0 -1
  84. package/dist/src/components/__test__/snapshot/Email.test.d.ts +0 -2
  85. package/dist/src/components/__test__/snapshot/Email.test.d.ts.map +0 -1
  86. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts +0 -2
  87. package/dist/src/components/__test__/snapshot/FormActions.test.d.ts.map +0 -1
  88. package/dist/src/components/__test__/snapshot/Input.test.d.ts +0 -2
  89. package/dist/src/components/__test__/snapshot/Input.test.d.ts.map +0 -1
  90. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts +0 -2
  91. package/dist/src/components/__test__/snapshot/NumberInput.test.d.ts.map +0 -1
  92. package/dist/src/components/__test__/snapshot/Password.test.d.ts +0 -2
  93. package/dist/src/components/__test__/snapshot/Password.test.d.ts.map +0 -1
  94. package/dist/src/components/__test__/snapshot/Select.test.d.ts +0 -2
  95. package/dist/src/components/__test__/snapshot/Select.test.d.ts.map +0 -1
  96. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts +0 -2
  97. package/dist/src/components/__test__/snapshot/SelectInput.test.d.ts.map +0 -1
  98. package/dist/src/components/__test__/snapshot/Switch.test.d.ts +0 -2
  99. package/dist/src/components/__test__/snapshot/Switch.test.d.ts.map +0 -1
  100. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts +0 -2
  101. package/dist/src/components/__test__/snapshot/SwitchInput.test.d.ts.map +0 -1
  102. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts +0 -2
  103. package/dist/src/components/__test__/snapshot/TextInput.test.d.ts.map +0 -1
  104. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts +0 -2
  105. package/dist/src/components/__test__/snapshot/TextareaInput.test.d.ts.map +0 -1
  106. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts +0 -2
  107. package/dist/src/components/__test__/snapshot/Typeahead.test.d.ts.map +0 -1
  108. package/dist/src/utils/__test__/unit/country-picker.test.d.ts +0 -2
  109. package/dist/src/utils/__test__/unit/country-picker.test.d.ts.map +0 -1
@@ -1,5 +1,7 @@
1
1
  import type { PropType } from "vue";
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
5
  disabled: {
4
6
  default: boolean;
5
7
  type: BooleanConstructor;
@@ -21,7 +23,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
23
  default: undefined;
22
24
  type: StringConstructor;
23
25
  };
24
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ "update:modelValue": (...args: any[]) => void;
28
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
29
  disabled: {
26
30
  default: boolean;
27
31
  type: BooleanConstructor;
@@ -52,5 +56,4 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
52
56
  offLabel: string;
53
57
  onLabel: string;
54
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
- export default _default;
56
59
  //# sourceMappingURL=Switch.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch.vue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cA6ChB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;cAAhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;AA1CpC,wBA+Hc"}
1
+ {"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Switch.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAGf,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;cAsFE,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAAhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;4EAgBhC,CAAC"}
@@ -1,14 +1,15 @@
1
- import { z } from "zod";
2
1
  import type { PropType } from "vue";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import { z } from "zod";
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
6
  disabled: {
5
7
  default: boolean;
6
8
  type: BooleanConstructor;
7
9
  };
8
10
  label: {
9
- default: string;
10
- required: false;
11
- type: PropType<string>;
11
+ default: undefined;
12
+ type: StringConstructor;
12
13
  };
13
14
  modelValue: {
14
15
  default: boolean;
@@ -16,8 +17,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
17
  };
17
18
  name: {
18
19
  default: string;
19
- required: false;
20
- type: PropType<string>;
20
+ type: StringConstructor;
21
21
  };
22
22
  offLabel: {
23
23
  default: undefined;
@@ -30,17 +30,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
30
  schema: {
31
31
  default: () => {};
32
32
  required: false;
33
- type: PropType<z.ZodType<string | number | boolean>>;
33
+ type: PropType<z.ZodType<boolean | number | string>>;
34
34
  };
35
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ "update:modelValue": (...args: any[]) => void;
37
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
38
  disabled: {
37
39
  default: boolean;
38
40
  type: BooleanConstructor;
39
41
  };
40
42
  label: {
41
- default: string;
42
- required: false;
43
- type: PropType<string>;
43
+ default: undefined;
44
+ type: StringConstructor;
44
45
  };
45
46
  modelValue: {
46
47
  default: boolean;
@@ -48,8 +49,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
49
  };
49
50
  name: {
50
51
  default: string;
51
- required: false;
52
- type: PropType<string>;
52
+ type: StringConstructor;
53
53
  };
54
54
  offLabel: {
55
55
  default: undefined;
@@ -62,7 +62,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
62
  schema: {
63
63
  default: () => {};
64
64
  required: false;
65
- type: PropType<z.ZodType<string | number | boolean>>;
65
+ type: PropType<z.ZodType<boolean | number | string>>;
66
66
  };
67
67
  }>> & Readonly<{
68
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -75,5 +75,4 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  offLabel: string;
76
76
  onLabel: string;
77
77
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
78
- export default _default;
79
78
  //# sourceMappingURL=SwitchInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cA4DhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;cAehB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;cAxB9C,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAShB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;cAehB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;AAjFlE,wBAqMc"}
1
+ {"version":3,"file":"SwitchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchInput.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;wBAKH,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwLE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA9C,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;4EAI9D,CAAC"}
@@ -1,7 +1,9 @@
1
- import { z } from "zod";
2
- import type { TextErrorMessages, IsTextOptions } from "../types";
3
1
  import type { PropType } from "vue";
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import { z } from "zod";
3
+ import type { IsTextOptions, TextErrorMessages } from "../types";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  disabled: {
6
8
  default: boolean;
7
9
  type: BooleanConstructor;
@@ -21,7 +23,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
23
  };
22
24
  modelValue: {
23
25
  default: string;
24
- type: PropType<string | null | undefined>;
26
+ type: PropType<null | string | undefined>;
25
27
  };
26
28
  name: {
27
29
  default: string;
@@ -38,11 +40,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
40
  type: StringConstructor;
39
41
  };
40
42
  schema: {
41
- default: () => {};
43
+ default: undefined;
42
44
  required: false;
43
- type: PropType<z.ZodType<string | number>>;
45
+ type: PropType<z.ZodType<number | string>>;
44
46
  };
45
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ "update:modelValue": (...args: any[]) => void;
49
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
50
  disabled: {
47
51
  default: boolean;
48
52
  type: BooleanConstructor;
@@ -62,7 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
66
  };
63
67
  modelValue: {
64
68
  default: string;
65
- type: PropType<string | null | undefined>;
69
+ type: PropType<null | string | undefined>;
66
70
  };
67
71
  name: {
68
72
  default: string;
@@ -79,9 +83,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
83
  type: StringConstructor;
80
84
  };
81
85
  schema: {
82
- default: () => {};
86
+ default: undefined;
83
87
  required: false;
84
- type: PropType<z.ZodType<string | number>>;
88
+ type: PropType<z.ZodType<number | string>>;
85
89
  };
86
90
  }>> & Readonly<{
87
91
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -91,9 +95,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
95
  modelValue: string | null | undefined;
92
96
  name: string;
93
97
  options: IsTextOptions;
94
- schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
95
98
  placeholder: string;
99
+ schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
96
100
  errorMessages: TextErrorMessages;
97
101
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
- export default _default;
99
102
  //# sourceMappingURL=TextInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput.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;;;;;;;;;;;;cAiFhB,QAAQ,CAAC,iBAAiB,CAAC;;;;;cAK3B,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;cAKnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;cAWvB,QAAQ,CAA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AAa,CAAC;;;;;;;;;cASvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;4EAIpD,CAAC"}
@@ -1,7 +1,9 @@
1
- import { z } from "zod";
2
- import type { TextErrorMessages, IsTextOptions } from "../types";
3
1
  import type { PropType } from "vue";
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import { z } from "zod";
3
+ import type { IsTextOptions, TextErrorMessages } from "../types";
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  cols: {
6
8
  default: undefined;
7
9
  required: false;
@@ -26,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
28
  };
27
29
  modelValue: {
28
30
  default: string;
29
- type: PropType<string | number | string[] | undefined>;
31
+ type: PropType<number | string | string[] | undefined>;
30
32
  };
31
33
  name: {
32
34
  default: string;
@@ -48,11 +50,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
50
  type: PropType<number | undefined>;
49
51
  };
50
52
  schema: {
51
- default: () => {};
53
+ default: undefined;
52
54
  required: false;
53
- type: PropType<z.ZodType<string | number>>;
55
+ type: PropType<z.ZodType<number | string>>;
54
56
  };
55
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
+ "update:modelValue": (...args: any[]) => void;
59
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
60
  cols: {
57
61
  default: undefined;
58
62
  required: false;
@@ -77,7 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
81
  };
78
82
  modelValue: {
79
83
  default: string;
80
- type: PropType<string | number | string[] | undefined>;
84
+ type: PropType<number | string | string[] | undefined>;
81
85
  };
82
86
  name: {
83
87
  default: string;
@@ -99,9 +103,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
99
103
  type: PropType<number | undefined>;
100
104
  };
101
105
  schema: {
102
- default: () => {};
106
+ default: undefined;
103
107
  required: false;
104
- type: PropType<z.ZodType<string | number>>;
108
+ type: PropType<z.ZodType<number | string>>;
105
109
  };
106
110
  }>> & Readonly<{
107
111
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -111,11 +115,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
115
  modelValue: string | number | string[] | undefined;
112
116
  name: string;
113
117
  options: IsTextOptions;
114
- schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
115
118
  placeholder: string;
119
+ schema: z.ZodType<string | number, z.ZodTypeDef, string | number>;
116
120
  errorMessages: TextErrorMessages;
117
121
  cols: number | undefined;
118
122
  rows: number | undefined;
119
123
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
- export default _default;
121
124
  //# sourceMappingURL=TextareaInput.vue.d.ts.map
@@ -1 +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,C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Q,CAAC,aAAa,CAAC;;;;;;;;;cASvB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;;;cAK5B,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;cAjDpC,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;;;;;cAK5B,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;4EAIpD,CAAC"}
@@ -1,85 +1,97 @@
1
+ import type { PropType } from "vue";
1
2
  import { z } from "zod";
2
3
  import type { SelectOption } from "../types";
3
- import type { PropType } from "vue";
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  debounceTime: {
6
8
  default: number;
7
- required: false;
8
9
  type: NumberConstructor;
9
10
  };
10
11
  disabled: {
11
12
  default: boolean;
12
13
  type: BooleanConstructor;
13
14
  };
15
+ emptyMessage: {
16
+ default: undefined;
17
+ type: StringConstructor;
18
+ };
19
+ helperText: {
20
+ default: undefined;
21
+ type: StringConstructor;
22
+ };
14
23
  label: {
15
- default: string;
16
- required: false;
17
- type: PropType<string>;
24
+ default: undefined;
25
+ type: StringConstructor;
18
26
  };
27
+ loading: BooleanConstructor;
19
28
  modelValue: {
20
29
  default: string;
21
- required: false;
22
- type: PropType<string | number | null | undefined>;
30
+ type: PropType<null | number | string | undefined>;
23
31
  };
24
32
  name: {
25
33
  default: string;
26
- required: false;
27
- type: PropType<string>;
28
- };
29
- suggestions: {
30
- required: true;
31
- type: PropType<SelectOption[]>;
34
+ type: StringConstructor;
32
35
  };
33
36
  placeholder: {
34
- default: string;
37
+ default: undefined;
35
38
  type: StringConstructor;
36
39
  };
37
40
  schema: {
38
- default: () => {};
39
- required: false;
40
- type: PropType<z.ZodType<string | number | object>>;
41
+ default: undefined;
42
+ type: PropType<z.ZodType<number | object | string>>;
43
+ };
44
+ suggestions: {
45
+ required: true;
46
+ type: PropType<SelectOption[]>;
41
47
  };
42
48
  type: {
43
49
  default: string;
44
50
  type: StringConstructor;
45
51
  };
46
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ "update:modelValue": (...args: any[]) => void;
54
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
55
  debounceTime: {
48
56
  default: number;
49
- required: false;
50
57
  type: NumberConstructor;
51
58
  };
52
59
  disabled: {
53
60
  default: boolean;
54
61
  type: BooleanConstructor;
55
62
  };
63
+ emptyMessage: {
64
+ default: undefined;
65
+ type: StringConstructor;
66
+ };
67
+ helperText: {
68
+ default: undefined;
69
+ type: StringConstructor;
70
+ };
56
71
  label: {
57
- default: string;
58
- required: false;
59
- type: PropType<string>;
72
+ default: undefined;
73
+ type: StringConstructor;
60
74
  };
75
+ loading: BooleanConstructor;
61
76
  modelValue: {
62
77
  default: string;
63
- required: false;
64
- type: PropType<string | number | null | undefined>;
78
+ type: PropType<null | number | string | undefined>;
65
79
  };
66
80
  name: {
67
81
  default: string;
68
- required: false;
69
- type: PropType<string>;
70
- };
71
- suggestions: {
72
- required: true;
73
- type: PropType<SelectOption[]>;
82
+ type: StringConstructor;
74
83
  };
75
84
  placeholder: {
76
- default: string;
85
+ default: undefined;
77
86
  type: StringConstructor;
78
87
  };
79
88
  schema: {
80
- default: () => {};
81
- required: false;
82
- type: PropType<z.ZodType<string | number | object>>;
89
+ default: undefined;
90
+ type: PropType<z.ZodType<number | object | string>>;
91
+ };
92
+ suggestions: {
93
+ required: true;
94
+ type: PropType<SelectOption[]>;
83
95
  };
84
96
  type: {
85
97
  default: string;
@@ -93,9 +105,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
93
105
  label: string;
94
106
  modelValue: string | number | null | undefined;
95
107
  name: string;
96
- schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
108
+ loading: boolean;
97
109
  placeholder: string;
98
110
  debounceTime: number;
99
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
- export default _default;
111
+ schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
112
+ helperText: string;
113
+ emptyMessage: string;
114
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
115
+ suggestion?: (props: {
116
+ suggestion: SelectOption;
117
+ }) => any;
118
+ }>;
119
+ type __VLS_WithSlots<T, S> = T & {
120
+ new (): {
121
+ $slots: S;
122
+ };
123
+ };
101
124
  //# sourceMappingURL=Typeahead.vue.d.ts.map
@@ -1 +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;;;;;;;;;;;;;;cAwGhB,QAAQ,CAAC,MAAM,CAAC;;;;;cAKN,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAA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,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;cAI9C,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;iBAjD1B,CAAC,KAAK;;KAAiB,KAAK,GAAG;EA0D5C,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import "./assets/css/index.css";
2
2
  export * from "./components";
3
3
  export * from "./schemas";
4
- export type { CurrencyOption, EmailErrorMessages, GroupedOption, IsEmailOptions, IsIntOptions, IsTextOptions, NumberErrorMessages, PasswordErrorMessages, SelectOption, StrongPasswordOptions, TextErrorMessages, } from "./types";
4
+ export type { CurrencyOption, EmailErrorMessages, GroupedOption, IsEmailOptions, IsIntOptions, IsTextOptions, NumberErrorMessages, PasswordErrorMessages, SelectInputProperties, SelectOption, StrongPasswordOptions, TextErrorMessages, } from "./types";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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,qBAAqB,EACrB,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
@@ -1 +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"}
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,GACV,eAAe,kBAAkB,EACjC,SAAS,cAAc,GAAG,SAAS,8CASpC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +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,8CAUlC,CAAC;AAEF,eAAe,MAAM,CAAC"}
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,GACV,eAAe,mBAAmB,EAClC,SAAS,YAAY,GAAG,SAAS,8CAUlC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +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"}
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,GACV,eAAe,qBAAqB,EACpC,SAAS,qBAAqB,GAAG,SAAS,8CAyB3C,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1 +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,8CAuBnC,CAAC;AAEF,eAAe,MAAM,CAAC"}
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,GACV,eAAe,iBAAiB,EAChC,SAAS,aAAa,GAAG,SAAS,8CAuBnC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { default as emailSchema } from "./Email";
2
- export { default as passwordSchema } from "./Password";
3
2
  export { default as numberSchema } from "./Number";
3
+ export { default as passwordSchema } from "./Password";
4
4
  export { default as textSchema } from "./Text";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,cAAc,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
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;AAEvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,27 +1,35 @@
1
- interface CurrencyOption extends SelectOption {
2
- code?: string;
3
- symbol?: string;
4
- }
1
+ import type SelectInput from "../components/SelectInput.vue";
2
+ type CountryPickerGroups = Record<string, string[]>;
5
3
  interface CountryPickerLabels {
6
4
  allCountries?: string;
7
5
  favorites?: string;
8
6
  }
7
+ type CountryPickerLocales = Record<string, CountryPickerTranslation>;
8
+ type CountryPickerTranslation = Record<string, string>;
9
+ interface CurrencyOption extends SelectOption {
10
+ code?: string;
11
+ symbol?: string;
12
+ }
9
13
  interface EmailErrorMessages {
10
14
  invalid?: string;
11
15
  required?: string;
12
16
  }
13
17
  interface FileErrorMessages {
14
18
  invalid?: string;
19
+ maxFiles?: string;
15
20
  maxSize?: string;
16
21
  minSize?: string;
17
- maxFiles?: string;
18
22
  }
19
23
  interface FileExtended extends File {
20
24
  description?: string;
21
25
  }
26
+ interface GroupedOption {
27
+ label: string;
28
+ options: SelectOption[];
29
+ }
22
30
  interface InputOption {
23
31
  label: string;
24
- value: string | number;
32
+ value: number | string;
25
33
  }
26
34
  interface MonthPickerValue {
27
35
  month: number | string;
@@ -31,28 +39,22 @@ interface NumberErrorMessages {
31
39
  invalid?: string;
32
40
  required?: string;
33
41
  }
42
+ type Options = GroupedOption[] | SelectOption[];
34
43
  interface PasswordErrorMessages {
35
44
  required?: string;
36
45
  weak?: string;
37
46
  }
47
+ type SelectInputProperties = InstanceType<typeof SelectInput>["$props"];
38
48
  interface SelectOption extends Record<string, unknown> {
39
49
  disabled?: boolean;
40
- label?: string;
41
- value?: string | number;
42
50
  groupLabel?: string;
43
- }
44
- interface GroupedOption {
45
- label: string;
46
- options: SelectOption[];
51
+ label?: string;
52
+ value?: number | string;
47
53
  }
48
54
  interface TextErrorMessages {
49
55
  invalid?: string;
50
56
  required?: string;
51
57
  }
52
- type CountryPickerTranslation = Record<string, string>;
53
- type CountryPickerLocales = Record<string, CountryPickerTranslation>;
54
- type CountryPickerGroups = Record<string, string[]>;
55
- type Options = SelectOption[] | GroupedOption[];
56
- export type { CountryPickerGroups, CountryPickerLabels, CountryPickerLocales, CountryPickerTranslation, CurrencyOption, EmailErrorMessages, FileErrorMessages, FileExtended, GroupedOption, InputOption, MonthPickerValue, NumberErrorMessages, Options, PasswordErrorMessages, SelectOption, TextErrorMessages, };
57
- export type { IsEmailOptions, IsTextOptions, IsIntOptions, StrongPasswordOptions, } from "./validator";
58
+ export type { CountryPickerGroups, CountryPickerLabels, CountryPickerLocales, CountryPickerTranslation, CurrencyOption, EmailErrorMessages, FileErrorMessages, FileExtended, GroupedOption, InputOption, MonthPickerValue, NumberErrorMessages, Options, PasswordErrorMessages, SelectInputProperties, SelectOption, TextErrorMessages, };
59
+ export type { IsEmailOptions, IsIntOptions, IsTextOptions, StrongPasswordOptions, } from "./validator";
58
60
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,mBAAmB;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,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,UA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AM,CAAC;CACvB;AAED,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,OAAO,GAAG,aAAa,EAAE,GAAG,YAAY,EAAE,CAAC;AAChD,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,qBAAqB,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;AAExE,UAAU,YAAa,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,OAAO,EACP,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,GAClB,CAAC;AAEF,YAAY,EACV,cAAc,EACd,YAAY,EACZ,aAAa,EACb,qBAAqB,GACtB,MAAM,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export type { IsEmailOptions } from "./is-email-options";
2
- export type { IsTextOptions } from "./is-text-options";
3
2
  export type { IsIntOptions } from "./is-int-options";
3
+ export type { IsTextOptions } from "./is-text-options";
4
4
  export type { StrongPasswordOptions } from "./strong-password-options";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -1,25 +1,25 @@
1
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
2
  /**
11
3
  * if `false`, will disallow integer values with leading zeroes
12
4
  * @default true
13
5
  */
14
6
  allow_leading_zeroes?: boolean | undefined;
7
+ /**
8
+ * enforce integers being less than the value provided
9
+ */
10
+ gt?: number | undefined;
15
11
  /**
16
12
  * enforce integers being greater than the value provided
17
13
  */
18
14
  lt?: number | undefined;
19
15
  /**
20
- * enforce integers being less than the value provided
16
+ * to check the integer max boundary
21
17
  */
22
- gt?: number | undefined;
18
+ max?: number | undefined;
19
+ /**
20
+ * to check the integer min boundary
21
+ */
22
+ min?: number | undefined;
23
23
  }
24
24
  export type { IsIntOptions };
25
25
  //# sourceMappingURL=is-int-options.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"is-int-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/is-int-options.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IACpB;;;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;IAExB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED,YAAY,EAAE,YAAY,EAAE,CAAC"}