@prefabs.tech/vue3-form 0.32.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 +14389 -13851
  2. package/dist/PrefabsTechVue3Form.umd.js +2 -2
  3. package/dist/flag-icon.css +1 -1
  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 +18 -14
  7. package/dist/src/components/CheckboxInput.vue.d.ts.map +1 -1
  8. package/dist/src/components/Country.vue.d.ts +8 -7
  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 +20 -8
  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 +12 -9
  21. package/dist/src/components/Email.vue.d.ts.map +1 -1
  22. package/dist/src/components/File/FileInput.vue.d.ts +51 -45
  23. package/dist/src/components/File/FileInput.vue.d.ts.map +1 -1
  24. package/dist/src/components/File/SelectedFile.vue.d.ts +16 -11
  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 +12 -9
  31. package/dist/src/components/Input.vue.d.ts.map +1 -1
  32. package/dist/src/components/NumberInput.vue.d.ts +35 -10
  33. package/dist/src/components/NumberInput.vue.d.ts.map +1 -1
  34. package/dist/src/components/Password.vue.d.ts +16 -13
  35. package/dist/src/components/Password.vue.d.ts.map +1 -1
  36. package/dist/src/components/Radio.vue.d.ts +7 -4
  37. package/dist/src/components/Radio.vue.d.ts.map +1 -1
  38. package/dist/src/components/RadioInput.vue.d.ts +10 -7
  39. package/dist/src/components/RadioInput.vue.d.ts.map +1 -1
  40. package/dist/src/components/Select.vue.d.ts +22 -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 +9 -6
  47. package/dist/src/components/SwitchInput.vue.d.ts.map +1 -1
  48. package/dist/src/components/TextInput.vue.d.ts +13 -10
  49. package/dist/src/components/TextInput.vue.d.ts.map +1 -1
  50. package/dist/src/components/TextareaInput.vue.d.ts +13 -10
  51. package/dist/src/components/TextareaInput.vue.d.ts.map +1 -1
  52. package/dist/src/components/Typeahead.vue.d.ts +22 -19
  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 +36 -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 +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;;;;;;;;;;;;cA8EhB,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,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AC,MAAM,CAAC;;;;;cAOhB,QAAQ,CAAC,aAAa,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;
@@ -50,9 +52,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
52
  schema: {
51
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;
@@ -101,7 +105,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
105
  schema: {
102
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;;;;;cA+EhB,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,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,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,7 +1,9 @@
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: __VLS_WithTemplateSlots<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
9
  type: NumberConstructor;
@@ -25,29 +27,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
25
27
  loading: BooleanConstructor;
26
28
  modelValue: {
27
29
  default: string;
28
- type: PropType<string | number | null | undefined>;
30
+ type: PropType<null | number | string | undefined>;
29
31
  };
30
32
  name: {
31
33
  default: string;
32
34
  type: StringConstructor;
33
35
  };
34
- suggestions: {
35
- required: true;
36
- type: PropType<SelectOption[]>;
37
- };
38
36
  placeholder: {
39
37
  default: undefined;
40
38
  type: StringConstructor;
41
39
  };
42
40
  schema: {
43
41
  default: undefined;
44
- type: PropType<z.ZodType<string | number | object>>;
42
+ type: PropType<z.ZodType<number | object | string>>;
43
+ };
44
+ suggestions: {
45
+ required: true;
46
+ type: PropType<SelectOption[]>;
45
47
  };
46
48
  type: {
47
49
  default: string;
48
50
  type: StringConstructor;
49
51
  };
50
- }>, {}, {}, {}, {}, 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<{
51
55
  debounceTime: {
52
56
  default: number;
53
57
  type: NumberConstructor;
@@ -71,23 +75,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
71
75
  loading: BooleanConstructor;
72
76
  modelValue: {
73
77
  default: string;
74
- type: PropType<string | number | null | undefined>;
78
+ type: PropType<null | number | string | undefined>;
75
79
  };
76
80
  name: {
77
81
  default: string;
78
82
  type: StringConstructor;
79
83
  };
80
- suggestions: {
81
- required: true;
82
- type: PropType<SelectOption[]>;
83
- };
84
84
  placeholder: {
85
85
  default: undefined;
86
86
  type: StringConstructor;
87
87
  };
88
88
  schema: {
89
89
  default: undefined;
90
- type: PropType<z.ZodType<string | number | object>>;
90
+ type: PropType<z.ZodType<number | object | string>>;
91
+ };
92
+ suggestions: {
93
+ required: true;
94
+ type: PropType<SelectOption[]>;
91
95
  };
92
96
  type: {
93
97
  default: string;
@@ -101,19 +105,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
101
105
  label: string;
102
106
  modelValue: string | number | null | undefined;
103
107
  name: string;
104
- schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
105
108
  loading: boolean;
106
109
  placeholder: string;
107
110
  debounceTime: number;
111
+ schema: z.ZodType<string | number | object, z.ZodTypeDef, string | number | object>;
108
112
  helperText: string;
109
113
  emptyMessage: string;
110
114
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
111
- suggestion: (_: {
115
+ suggestion?: (props: {
112
116
  suggestion: SelectOption;
113
117
  }) => any;
114
118
  }>;
115
- export default _default;
116
- type __VLS_WithTemplateSlots<T, S> = T & {
119
+ type __VLS_WithSlots<T, S> = T & {
117
120
  new (): {
118
121
  $slots: S;
119
122
  };
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;cAwHN,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;cAQvD,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;cAQvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAhBnC,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;cAQvD,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;cAQvB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;gBA6LrD,CAAC,CAAC;;KAAiB,KAAK,GAAG;;AAlUvC,wBA2Vc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Typeahead.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead.vue"],"names":[],"mappings":"AA6KA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAOpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;wBAGxB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;cAqSY,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;;;;;;;;cAYtD,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;;;;cAI9C,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAhBb,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;;;;;;;;cAYtD,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,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
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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"}
@@ -11,12 +11,6 @@ interface StrongPasswordOptions {
11
11
  * @default 1
12
12
  */
13
13
  minLowercase?: number | undefined;
14
- /**
15
- * Minimum number of upercase letters
16
- *
17
- * @default 1
18
- */
19
- minUppercase?: number | undefined;
20
14
  /**
21
15
  * Minimum number of numbers
22
16
  *
@@ -30,34 +24,22 @@ interface StrongPasswordOptions {
30
24
  */
31
25
  minSymbols?: number | undefined;
32
26
  /**
33
- * Whether or not the validator should return the score
34
- *
35
- * @default false
36
- */
37
- /**
38
- * Points earned for each unique character
27
+ * Minimum number of upercase letters
39
28
  *
40
29
  * @default 1
41
30
  */
42
- pointsPerUnique?: number | undefined;
31
+ minUppercase?: number | undefined;
43
32
  /**
44
- * Point earned for each repeated character
33
+ * Whether or not the validator should return the score
45
34
  *
46
- * @default 0.5
35
+ * @default false
47
36
  */
48
- pointsPerRepeat?: number | undefined;
49
37
  /**
50
38
  * Points earned for containing lowercase characters
51
39
  *
52
40
  * @default 10
53
41
  */
54
42
  pointsForContainingLower?: number | undefined;
55
- /**
56
- * Points earned for containing uppercase characters
57
- * @default 10
58
- *
59
- */
60
- pointsForContainingUpper?: number | undefined;
61
43
  /**
62
44
  * Points earned for containing numbers
63
45
  *
@@ -72,6 +54,24 @@ interface StrongPasswordOptions {
72
54
  *
73
55
  */
74
56
  pointsForContainingSymbol?: number | undefined;
57
+ /**
58
+ * Points earned for containing uppercase characters
59
+ * @default 10
60
+ *
61
+ */
62
+ pointsForContainingUpper?: number | undefined;
63
+ /**
64
+ * Point earned for each repeated character
65
+ *
66
+ * @default 0.5
67
+ */
68
+ pointsPerRepeat?: number | undefined;
69
+ /**
70
+ * Points earned for each unique character
71
+ *
72
+ * @default 1
73
+ */
74
+ pointsPerUnique?: number | undefined;
75
75
  }
76
76
  export type { StrongPasswordOptions };
77
77
  //# sourceMappingURL=strong-password-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"strong-password-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/strong-password-options.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IAGH;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChD;AAED,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"strong-password-options.d.ts","sourceRoot":"","sources":["../../../../src/types/validator/strong-password-options.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC;;;;OAIG;IAGH;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/C;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
@@ -2,5 +2,5 @@ import type { CountryPickerLocales, CountryPickerTranslation, GroupedOption as O
2
2
  export declare const getFallbackTranslation: (fallbackLocale: string, locales: CountryPickerLocales | undefined) => CountryPickerTranslation | null;
3
3
  export declare const getFlagClass: (code: string | undefined, position: string, style: string) => string;
4
4
  export declare const getLabel: (code: string, locale: string, locales: CountryPickerLocales | undefined, fallbackTranslation: CountryPickerTranslation) => string;
5
- export declare const sortByLabel: (optionA: SelectOption | OptionGroup, optionB: SelectOption | OptionGroup) => number;
5
+ export declare const sortByLabel: (optionA: OptionGroup | SelectOption, optionB: OptionGroup | SelectOption) => number;
6
6
  //# sourceMappingURL=country-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"country-picker.d.ts","sourceRoot":"","sources":["../../../src/utils/country-picker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,aAAa,IAAI,WAAW,EAC5B,YAAY,EACb,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,sBAAsB,mBACjB,MAAM,WACb,oBAAoB,GAAG,SAAS,KACxC,wBAAwB,GAAG,IAU7B,CAAC;AAEF,eAAO,MAAM,YAAY,SACjB,MAAM,GAAG,SAAS,YACd,MAAM,SACT,MAAM,WAWD,CAAC;AAEf,eAAO,MAAM,QAAQ,SACb,MAAM,UACJ,MAAM,WACL,oBAAoB,GAAG,SAAS,uBACpB,wBAAwB,WAG9C,CAAC;AAEF,eAAO,MAAM,WAAW,YACb,YAAY,GAAG,WAAW,WAC1B,YAAY,GAAG,WAAW,WACwB,CAAC"}
1
+ {"version":3,"file":"country-picker.d.ts","sourceRoot":"","sources":["../../../src/utils/country-picker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,aAAa,IAAI,WAAW,EAC5B,YAAY,EACb,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,sBAAsB,GACjC,gBAAgB,MAAM,EACtB,SAAS,oBAAoB,GAAG,SAAS,KACxC,wBAAwB,GAAG,IAU7B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,MAAM,MAAM,GAAG,SAAS,EACxB,UAAU,MAAM,EAChB,OAAO,MAAM,WAWD,CAAC;AAEf,eAAO,MAAM,QAAQ,GACnB,MAAM,MAAM,EACZ,QAAQ,MAAM,EACd,SAAS,oBAAoB,GAAG,SAAS,EACzC,qBAAqB,wBAAwB,WAG9C,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,SAAS,WAAW,GAAG,YAAY,EACnC,SAAS,WAAW,GAAG,YAAY,WACwB,CAAC"}
@@ -2,7 +2,7 @@ import type { GroupedOption, SelectOption } from "../types";
2
2
  export declare const normalizeOptions: (options: GroupedOption[] | SelectOption[], labelKey?: string, valueKey?: string) => {
3
3
  groupLabel: string | undefined;
4
4
  label: string | undefined;
5
- value: string | number;
5
+ value: number | string;
6
6
  disabled?: boolean;
7
7
  }[];
8
8
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/utils/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5D,eAAO,MAAM,gBAAgB,YAClB,aAAa,EAAE,GAAG,YAAY,EAAE,aAC9B,MAAM,aACN,MAAM;;;WAmBM,MAAM,GAAG,MAAM;;GAUvC,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/utils/select.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5D,eAAO,MAAM,gBAAgB,GAC3B,SAAS,aAAa,EAAE,GAAG,YAAY,EAAE,EACzC,WAAW,MAAM,EACjB,WAAW,MAAM;;;WAmBM,MAAM,GAAG,MAAM;;GAUvC,CAAC"}