@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;
@@ -7,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
9
  label: {
8
10
  default: undefined;
9
11
  required: false;
10
- type: PropType<string | null | undefined>;
12
+ type: PropType<null | string | undefined>;
11
13
  };
12
14
  modelValue: {
13
15
  default: boolean;
@@ -21,9 +23,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
23
  value: {
22
24
  default: undefined;
23
25
  required: false;
24
- type: PropType<string | number | boolean>;
26
+ type: PropType<boolean | number | string>;
25
27
  };
26
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (...args: any[]) => void;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
31
  disabled: {
28
32
  default: boolean;
29
33
  type: BooleanConstructor;
@@ -31,7 +35,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
35
  label: {
32
36
  default: undefined;
33
37
  required: false;
34
- type: PropType<string | null | undefined>;
38
+ type: PropType<null | string | undefined>;
35
39
  };
36
40
  modelValue: {
37
41
  default: boolean;
@@ -45,7 +49,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
49
  value: {
46
50
  default: undefined;
47
51
  required: false;
48
- type: PropType<string | number | boolean>;
52
+ type: PropType<boolean | number | string>;
49
53
  };
50
54
  }>> & Readonly<{
51
55
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -56,5 +60,4 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
56
60
  name: string;
57
61
  value: string | number | boolean;
58
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
- export default _default;
60
63
  //# sourceMappingURL=Checkbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox.vue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cA+ChB,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAKG,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;;;;;;;;;;cAdtD,QAAQ,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;cASnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAKG,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;;;;;;;;;;;AA1D1E,wBAqIc"}
1
+ {"version":3,"file":"Checkbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAGf,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;cAsFE,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;;;;;cASnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAKG,QAAQ,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;;;cAdtD,QAAQ,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;;;;;;;;;cASnC,QAAQ,CAAC,MAAM,CAAC;;;;;cAKG,QAAQ,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;4EAItE,CAAC"}
@@ -1,7 +1,9 @@
1
+ import type { PropType } from "vue";
1
2
  import { z } from "zod";
2
3
  import type { InputOption } 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: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
7
  checked: {
6
8
  default: boolean;
7
9
  type: BooleanConstructor;
@@ -25,8 +27,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
27
  type: PropType<string>;
26
28
  };
27
29
  modelValue: {
28
- default: () => string[] | number[];
29
- type: PropType<string[] | number[]>;
30
+ default: () => number[] | string[];
31
+ type: PropType<number[] | string[]>;
30
32
  };
31
33
  name: {
32
34
  default: string;
@@ -34,15 +36,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
34
36
  type: PropType<string>;
35
37
  };
36
38
  options: {
37
- default: () => string[] | number[];
39
+ default: () => number[] | string[];
38
40
  type: PropType<InputOption[]>;
39
41
  };
40
42
  schema: {
41
- default: () => {};
43
+ default: undefined;
42
44
  required: false;
43
- type: PropType<z.ZodType<string | number | boolean>>;
45
+ type: PropType<z.ZodType<Array<boolean | number | string> | boolean | number | string>>;
44
46
  };
45
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:checked")[], "update:modelValue" | "update:checked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ "update:modelValue": (...args: any[]) => void;
49
+ "update:checked": (...args: any[]) => void;
50
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
51
  checked: {
47
52
  default: boolean;
48
53
  type: BooleanConstructor;
@@ -66,8 +71,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
71
  type: PropType<string>;
67
72
  };
68
73
  modelValue: {
69
- default: () => string[] | number[];
70
- type: PropType<string[] | number[]>;
74
+ default: () => number[] | string[];
75
+ type: PropType<number[] | string[]>;
71
76
  };
72
77
  name: {
73
78
  default: string;
@@ -75,13 +80,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
80
  type: PropType<string>;
76
81
  };
77
82
  options: {
78
- default: () => string[] | number[];
83
+ default: () => number[] | string[];
79
84
  type: PropType<InputOption[]>;
80
85
  };
81
86
  schema: {
82
- default: () => {};
87
+ default: undefined;
83
88
  required: false;
84
- type: PropType<z.ZodType<string | number | boolean>>;
89
+ type: PropType<z.ZodType<Array<boolean | number | string> | boolean | number | string>>;
85
90
  };
86
91
  }>> & Readonly<{
87
92
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -92,10 +97,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
92
97
  modelValue: string[] | number[];
93
98
  name: string;
94
99
  checked: boolean;
100
+ options: InputOption[];
101
+ schema: z.ZodType<string | number | boolean | (string | number | boolean)[], z.ZodTypeDef, string | number | boolean | (string | number | boolean)[]>;
95
102
  direction: string;
96
103
  inputLabel: string;
97
- options: InputOption[];
98
- schema: z.ZodType<string | number | boolean, z.ZodTypeDef, string | number | boolean>;
99
104
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
- export default _default;
101
105
  //# sourceMappingURL=CheckboxInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CheckboxInput.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;2BA0Fb,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,CAAC;;;;;cAKhB,QAAQ,CAAC,MAAM,CAAC;;;uBAGX,MAAM,EAAE,GAAG,MAAM,EAAE;cACzB,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;;;;;cAK5B,QAAQ,CAAC,MAAM,CAAC;;;uBAGX,MAAM,EAAE,GAAG,MAAM,EAAE;cACzB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAOtB,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;2BAjC3C,MAAM;;;;;;;;cAQT,QAAQ,CAAC,MAAM,CAAC;;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,MAAM,CAAC;;;uBAGX,MAAM,EAAE,GAAG,MAAM,EAAE;cACzB,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;;;;;cAK5B,QAAQ,CAAC,MAAM,CAAC;;;uBAGX,MAAM,EAAE,GAAG,MAAM,EAAE;cACzB,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;cAKtB,QAAQ,CACtB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CACxE;;;;;;;;;;;;;;;4EAID,CAAC"}
@@ -1,5 +1,7 @@
1
- import { type PropType } from "vue";
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ import type { PropType } from "vue";
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
5
  code: {
4
6
  required: true;
5
7
  type: StringConstructor;
@@ -31,8 +33,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
31
33
  type: () => Record<string, Record<string, string>>;
32
34
  };
33
35
  showFlag: {
34
- type: BooleanConstructor;
35
36
  default: boolean;
37
+ type: BooleanConstructor;
36
38
  };
37
39
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
40
  code: {
@@ -66,25 +68,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
66
68
  type: () => Record<string, Record<string, string>>;
67
69
  };
68
70
  showFlag: {
69
- type: BooleanConstructor;
70
71
  default: boolean;
72
+ type: BooleanConstructor;
71
73
  };
72
74
  }>> & Readonly<{}>, {
73
75
  fallbackLocale: string;
74
76
  flagsPath: (code: string) => string;
75
- flagsPosition: "right" | "right-edge" | "left";
77
+ flagsPosition: "left" | "right" | "right-edge";
76
78
  flagsStyle: "circle" | "square" | "rectangular";
77
79
  locale: string;
78
80
  locales: Record<string, Record<string, string>>;
79
81
  showFlag: boolean;
80
82
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
81
- default: (_: {
83
+ default?: (props: {
82
84
  code: string;
83
85
  label: string;
84
86
  }) => any;
85
87
  }>;
86
- export default _default;
87
- type __VLS_WithTemplateSlots<T, S> = T & {
88
+ type __VLS_WithSlots<T, S> = T & {
88
89
  new (): {
89
90
  $slots: S;
90
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Country.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Country.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;cAkGxB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;;;;cAIpC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC;2BACtC,MAAM;;;;cAKT,QAAQ,CAAC,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAC;2BAC1C,MAAM;;;;;;;;cAST,4CAAoB;;;;;;;;;;;;;;;;;cApBlB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;;;;cAIpC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC;2BACtC,MAAM;;;;cAKT,QAAQ,CAAC,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAC;2BAC1C,MAAM;;;;;;;;cAST,4CAAoB;;;;;;;;sBApBF,MAAM,KAAK,MAAM;;;;;;;aA+G9C,CAAC,CAAC;;;KAAgB,KAAK,GAAG;;AAvMnC,wBAwNc;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":"Country.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Country.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAaf,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;cAqJI,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;;;;cAIpC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC;2BACtC,MAAM;;;;cAKT,QAAQ,CAAC,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAC;2BAC1C,MAAM;;;;;;;;cAST,4CAAoB;;;;;;;;;;;;;;;;;cApBlB,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;;;;cAIpC,QAAQ,CAAC,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC;2BACtC,MAAM;;;;cAKT,QAAQ,CAAC,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAC;2BAC1C,MAAM;;;;;;;;cAST,4CAAoB;;;;;;;;sBApBF,MAAM,KAAK,MAAM;;;;;;;cAjBzC,CAAC,KAAK;;;KAAgB,KAAK,GAAG;EA8CxC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,13 +1,8 @@
1
- import type { CountryPickerGroups, CountryPickerLabels, CountryPickerLocales } from "../../types";
2
1
  import type { PropType } from "vue";
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- labels: {
5
- default: () => {
6
- allCountries: string;
7
- favorites: string;
8
- };
9
- type: PropType<CountryPickerLabels>;
10
- };
2
+ import type { CountryPickerGroups, CountryPickerLabels, CountryPickerLocales, SelectOption } from "../../types";
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
6
  exclude: {
12
7
  default: () => never[];
13
8
  type: PropType<string[]>;
@@ -54,6 +49,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
54
49
  default: boolean;
55
50
  type: BooleanConstructor;
56
51
  };
52
+ labels: {
53
+ default: () => {
54
+ allCountries: string;
55
+ favorites: string;
56
+ };
57
+ type: PropType<CountryPickerLabels>;
58
+ };
57
59
  locale: {
58
60
  default: string;
59
61
  type: StringConstructor;
@@ -64,7 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
64
66
  };
65
67
  modelValue: {
66
68
  default: undefined;
67
- type: PropType<string | number | (string | number)[] | undefined>;
69
+ type: PropType<(number | string)[] | number | string | undefined>;
68
70
  };
69
71
  multiple: {
70
72
  default: boolean;
@@ -78,16 +80,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
78
80
  default: undefined;
79
81
  type: StringConstructor;
80
82
  };
81
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
- "update:modelValue": (value: string | number | (string | number)[] | undefined) => void;
83
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
84
+ "update:modelValue": (value: string | number | (string | number)[] | undefined) => any;
83
85
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
- labels: {
85
- default: () => {
86
- allCountries: string;
87
- favorites: string;
88
- };
89
- type: PropType<CountryPickerLabels>;
90
- };
91
86
  exclude: {
92
87
  default: () => never[];
93
88
  type: PropType<string[]>;
@@ -134,6 +129,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
134
129
  default: boolean;
135
130
  type: BooleanConstructor;
136
131
  };
132
+ labels: {
133
+ default: () => {
134
+ allCountries: string;
135
+ favorites: string;
136
+ };
137
+ type: PropType<CountryPickerLabels>;
138
+ };
137
139
  locale: {
138
140
  default: string;
139
141
  type: StringConstructor;
@@ -144,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
144
146
  };
145
147
  modelValue: {
146
148
  default: undefined;
147
- type: PropType<string | number | (string | number)[] | undefined>;
149
+ type: PropType<(number | string)[] | number | string | undefined>;
148
150
  };
149
151
  multiple: {
150
152
  default: boolean;
@@ -163,31 +165,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
163
165
  }>, {
164
166
  modelValue: string | number | (string | number)[] | undefined;
165
167
  name: string;
168
+ hasSortedOptions: boolean;
169
+ multiple: boolean;
170
+ placeholder: string;
166
171
  fallbackLocale: string;
167
172
  flagsPath: (code: string) => string;
168
173
  flagsPosition: string;
169
174
  flagsStyle: string;
170
175
  locale: string;
171
176
  locales: CountryPickerLocales;
172
- hasSortedOptions: boolean;
173
- multiple: boolean;
174
- placeholder: string;
175
- labels: CountryPickerLabels;
176
177
  exclude: string[];
177
178
  favorites: string[];
178
179
  flags: boolean;
179
180
  groups: CountryPickerGroups;
180
181
  include: string[];
181
182
  includeFavorites: boolean;
183
+ labels: CountryPickerLabels;
182
184
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
183
- option: (_: {
184
- multiple: any;
185
- option: any;
186
- selected: any;
185
+ option?: (props: {
186
+ multiple: boolean;
187
+ option: SelectOption;
188
+ selected: boolean;
187
189
  }) => any;
188
190
  }>;
189
- export default _default;
190
- type __VLS_WithTemplateSlots<T, S> = T & {
191
+ type __VLS_WithSlots<T, S> = T & {
191
192
  new (): {
192
193
  $slots: S;
193
194
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/CountryPicker/Index.vue.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EAIrB,MAAM,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oB,CAAC;;;;cAIb,QAAQ,CACvC,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAClD;;;;;;;;;;;;;;;;;;;;;;;sBAjDiC,MAAM,KAAK,MAAM;;;;;;;;;;;;;aA1B1C,CAAC,KAAK;;;;KAAiB,KAAK,GAAG;EA4FxC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +1,9 @@
1
- import { z } from "zod";
2
- import type { CurrencyOption } from "../types";
3
1
  import type { PropType } from "vue";
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ import { z } from "zod";
3
+ import type { CurrencyOption, SelectInputProperties } from "../types";
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
  disabled: {
6
8
  default: boolean;
7
9
  type: BooleanConstructor;
@@ -14,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
14
16
  modelValue: {
15
17
  default: () => null;
16
18
  required: false;
17
- type: PropType<boolean | number | string | (number | string)[]>;
19
+ type: PropType<(number | string)[] | boolean | number | string>;
18
20
  };
19
21
  multiple: {
20
22
  default: boolean;
@@ -23,11 +25,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
23
25
  name: {
24
26
  default: string;
25
27
  required: false;
26
- type: PropType<string>;
28
+ type: StringConstructor;
27
29
  };
28
30
  optionLabelOrder: {
29
- type: PropType<Array<keyof CurrencyOption>>;
30
31
  default: () => string[];
32
+ type: PropType<Array<keyof CurrencyOption>>;
31
33
  };
32
34
  options: {
33
35
  required: true;
@@ -40,13 +42,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
40
42
  schema: {
41
43
  default: () => {};
42
44
  required: false;
43
- type: PropType<z.ZodType<string | number | string[] | number[]>>;
45
+ type: PropType<z.ZodTypeAny>;
44
46
  };
45
47
  selectionOptions: {
46
48
  default: () => {};
47
- type: ObjectConstructor;
49
+ type: PropType<SelectInputProperties>;
48
50
  };
49
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchInput")[], "update:modelValue" | "update:searchInput", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
51
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
+ "update:modelValue": (...args: any[]) => void;
53
+ "update:searchInput": (...args: any[]) => void;
54
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
55
  disabled: {
51
56
  default: boolean;
52
57
  type: BooleanConstructor;
@@ -59,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
59
64
  modelValue: {
60
65
  default: () => null;
61
66
  required: false;
62
- type: PropType<boolean | number | string | (number | string)[]>;
67
+ type: PropType<(number | string)[] | boolean | number | string>;
63
68
  };
64
69
  multiple: {
65
70
  default: boolean;
@@ -68,11 +73,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
68
73
  name: {
69
74
  default: string;
70
75
  required: false;
71
- type: PropType<string>;
76
+ type: StringConstructor;
72
77
  };
73
78
  optionLabelOrder: {
74
- type: PropType<Array<keyof CurrencyOption>>;
75
79
  default: () => string[];
80
+ type: PropType<Array<keyof CurrencyOption>>;
76
81
  };
77
82
  options: {
78
83
  required: true;
@@ -85,11 +90,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
85
90
  schema: {
86
91
  default: () => {};
87
92
  required: false;
88
- type: PropType<z.ZodType<string | number | string[] | number[]>>;
93
+ type: PropType<z.ZodTypeAny>;
89
94
  };
90
95
  selectionOptions: {
91
96
  default: () => {};
92
- type: ObjectConstructor;
97
+ type: PropType<SelectInputProperties>;
93
98
  };
94
99
  }>> & Readonly<{
95
100
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -99,23 +104,68 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
99
104
  label: string;
100
105
  modelValue: string | number | boolean | (string | number)[];
101
106
  name: string;
102
- schema: z.ZodType<string | number | string[] | number[], z.ZodTypeDef, string | number | string[] | number[]>;
103
107
  multiple: boolean;
104
108
  placeholder: string;
109
+ schema: z.ZodTypeAny;
105
110
  optionLabelOrder: (keyof CurrencyOption)[];
106
- selectionOptions: Record<string, any>;
111
+ selectionOptions: Partial<{
112
+ disabled: boolean;
113
+ label: string;
114
+ modelValue: string | number | boolean | (string | number)[];
115
+ name: string;
116
+ disableSearch: boolean;
117
+ enableCustomSearch: boolean;
118
+ loading: boolean;
119
+ customSearchHelperText: string;
120
+ enableTooltip: boolean;
121
+ hasSortedOptions: boolean;
122
+ labelKey: string;
123
+ multiple: boolean;
124
+ noOptionsMessage: string;
125
+ placeholder: string;
126
+ showRemoveSelection: boolean;
127
+ tooltipOptions: Record<string, unknown>;
128
+ valueKey: string;
129
+ maxSelection: number | undefined;
130
+ minSelection: number | undefined;
131
+ schema: z.ZodTypeAny;
132
+ }> & Omit<{
133
+ readonly disabled: boolean;
134
+ readonly label: string;
135
+ readonly modelValue: string | number | boolean | (string | number)[];
136
+ readonly name: string;
137
+ readonly options: import("..").GroupedOption[] | import("..").SelectOption[];
138
+ readonly disableSearch: boolean;
139
+ readonly enableCustomSearch: boolean;
140
+ readonly loading: boolean;
141
+ readonly enableTooltip: boolean;
142
+ readonly hasSortedOptions: boolean;
143
+ readonly multiple: boolean;
144
+ readonly showRemoveSelection: boolean;
145
+ readonly tooltipOptions: Record<string, unknown>;
146
+ readonly schema: z.ZodTypeAny;
147
+ readonly customSearchHelperText?: string | undefined;
148
+ readonly labelKey?: string | undefined;
149
+ readonly noOptionsMessage?: string | undefined;
150
+ readonly placeholder?: string | undefined;
151
+ readonly valueKey?: string | undefined;
152
+ readonly maxSelection?: number | undefined;
153
+ readonly minSelection?: number | undefined;
154
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
155
+ readonly "onUpdate:searchInput"?: ((...args: any[]) => any) | undefined;
156
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "label" | "modelValue" | "name" | "disableSearch" | "enableCustomSearch" | "loading" | "customSearchHelperText" | "enableTooltip" | "hasSortedOptions" | "labelKey" | "multiple" | "noOptionsMessage" | "placeholder" | "showRemoveSelection" | "tooltipOptions" | "valueKey" | "maxSelection" | "minSelection" | "schema">;
107
157
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
108
- option: (_: {
109
- multiple: any;
110
- option: any;
111
- selected: any;
158
+ option?: (props: {
159
+ multiple: boolean;
160
+ option: import("..").SelectOption;
161
+ selected: boolean;
112
162
  }) => any;
113
- selection: (_: {
114
- selectedLabels: any;
163
+ } & {
164
+ selection?: (props: {
165
+ selectedLabels: (string | undefined)[];
115
166
  }) => any;
116
167
  }>;
117
- export default _default;
118
- type __VLS_WithTemplateSlots<T, S> = T & {
168
+ type __VLS_WithSlots<T, S> = T & {
119
169
  new (): {
120
170
  $slots: S;
121
171
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CurrencyPicker.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;cAyFhB,QAAQ,CAAC,MAAM,CAAC;;;;;cAKU,QAAQ,CAChD,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,M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AAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;cAoNE,QAAQ,CAAC,MAAM,CAAC;;;;;cAKU,QAAQ,CAChD,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAChD;;;;;;;;;;;;;cAac,QAAQ,CAAC,KAAK,CAAC,MAAM,cAAc,CAAC,CAAC;;;;cAIrC,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;;;;cAWzB,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC;;;;cAItB,QAAQ,CAAC,qBAAqB,CAAC;;;;;;;;;;;;;cAvC/B,QAAQ,CAAC,MAAM,CAAC;;;;;cAKU,QAAQ,CAChD,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAChD;;;;;;;;;;;;;cAac,QAAQ,CAAC,KAAK,CAAC,MAAM,cAAc,CAAC,CAAC;;;;cAIrC,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;;;;cAWzB,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC;;;;cAItB,QAAQ,CAAC,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAvDtC,CAAC,KAAK;;;;KAAiB,KAAK,GAAG;;gBAC5B,CAAC,KAAK;;KAAiB,KAAK,GAAG;EA2D3C,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,8 +1,10 @@
1
+ import type { PropType } from "vue";
1
2
  import "@vuepic/vue-datepicker/dist/main.css";
2
3
  import { z } from "zod";
3
4
  import type { MonthPickerValue } from "../types";
4
- import type { PropType } from "vue";
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
8
  autoApply: {
7
9
  default: boolean;
8
10
  type: BooleanConstructor;
@@ -11,6 +13,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
13
  default: boolean;
12
14
  type: BooleanConstructor;
13
15
  };
16
+ disabledWeekDays: {
17
+ default: undefined;
18
+ type: PropType<number[]>;
19
+ };
14
20
  enableTimePicker: {
15
21
  default: boolean;
16
22
  type: BooleanConstructor;
@@ -39,15 +45,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
45
  type: StringConstructor;
40
46
  };
41
47
  schema: {
42
- default: () => {};
48
+ default: undefined;
43
49
  required: false;
44
- type: PropType<z.ZodType<string | number | Date | object>>;
50
+ type: PropType<z.ZodType<Date | number | object | string>>;
45
51
  };
46
52
  teleport: {
47
53
  default: undefined;
48
54
  type: PropType<boolean | string>;
49
55
  };
50
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ "update:modelValue": (...args: any[]) => void;
58
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
51
59
  autoApply: {
52
60
  default: boolean;
53
61
  type: BooleanConstructor;
@@ -56,6 +64,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
56
64
  default: boolean;
57
65
  type: BooleanConstructor;
58
66
  };
67
+ disabledWeekDays: {
68
+ default: undefined;
69
+ type: PropType<number[]>;
70
+ };
59
71
  enableTimePicker: {
60
72
  default: boolean;
61
73
  type: BooleanConstructor;
@@ -84,9 +96,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
84
96
  type: StringConstructor;
85
97
  };
86
98
  schema: {
87
- default: () => {};
99
+ default: undefined;
88
100
  required: false;
89
- type: PropType<z.ZodType<string | number | Date | object>>;
101
+ type: PropType<z.ZodType<Date | number | object | string>>;
90
102
  };
91
103
  teleport: {
92
104
  default: undefined;
@@ -97,14 +109,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
97
109
  }>, {
98
110
  disabled: boolean;
99
111
  label: string;
100
- modelValue: string | number | string[] | Date | MonthPickerValue | number[] | Date[] | null | undefined;
112
+ modelValue: string | number | string[] | Date | number[] | MonthPickerValue | Date[] | null | undefined;
101
113
  name: string;
102
- schema: z.ZodType<string | number | object | Date, z.ZodTypeDef, string | number | object | Date>;
103
114
  placeholder: string;
115
+ schema: z.ZodType<string | number | object | Date, z.ZodTypeDef, string | number | object | Date>;
104
116
  autoApply: boolean;
117
+ disabledWeekDays: number[];
105
118
  enableTimePicker: boolean;
106
119
  format: string;
107
120
  teleport: string | boolean;
108
121
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
109
- export default _default;
110
122
  //# sourceMappingURL=DatePicker.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker.vue.ts"],"names":[],"mappings":"AAGA,OAAO,sCAAsC,CAAC;AAG9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;cAiIhB,QAAQ,CAAC,MAAM,CAAC;;;;cAIe,QAAQ,CACnD,IAAI,GACJ,IAAI,EAAE,GACN,gBAAgB,GAChB,IAAI,GACJ,MAAM,GACN,MAAM,EAAE,GACR,MAAM,GACN,MAAM,EAAE,GACR,SAAS,CACZ;;;;;cAKe,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;cAWhB,QAAQ,CAAC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