@cnamts/synapse 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/{AutocompleteFilter-DXd4szWO.js → AutocompleteFilter-CGF33skz.js} +1 -1
  2. package/dist/{DateFilter-BD59Kgwf.js → DateFilter-D7-MsKtx.js} +1 -1
  3. package/dist/{NumberFilter-BSMZE7uw.js → NumberFilter-bjQPPfsj.js} +1 -1
  4. package/dist/{PeriodFilter-keUdSSk0.js → PeriodFilter-B3wJpK8-.js} +1 -1
  5. package/dist/{SelectFilter-Dhvvwazl.js → SelectFilter-BN6DbKAV.js} +1 -1
  6. package/dist/{TextFilter-CU8FpXz0.js → TextFilter-BffP0J2f.js} +1 -1
  7. package/dist/{apLightTheme2026-DbS7BPUf.js → apLightTheme2026-C4ygwMHC.js} +11 -11
  8. package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +6 -6
  9. package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +6 -6
  10. package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +6 -6
  11. package/dist/components/Captcha/Captcha.d.ts +27 -16
  12. package/dist/components/Captcha/CaptchaForm.d.ts +29 -3
  13. package/dist/components/Captcha/types.d.ts +14 -0
  14. package/dist/components/Captcha/useCaptchaValidation.d.ts +37 -0
  15. package/dist/components/Customs/Selects/SelectBtnField/SelectBtnField.d.ts +33 -13
  16. package/dist/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.d.ts +23 -0
  17. package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +2 -2
  18. package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +2 -2
  19. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +17 -48
  20. package/dist/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.d.ts +29 -0
  21. package/dist/components/Customs/SyCheckBoxGroup/types.d.ts +46 -0
  22. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +16 -51
  23. package/dist/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.d.ts +27 -0
  24. package/dist/components/Customs/SyCheckbox/types.d.ts +49 -0
  25. package/dist/components/Customs/SyTextField/FieldState.d.ts +5 -0
  26. package/dist/components/Customs/SyTextField/useSyTextFieldValidation.d.ts +3 -3
  27. package/dist/components/DialogBox/DialogBox.d.ts +2 -0
  28. package/dist/components/DialogBox/locales.d.ts +1 -0
  29. package/dist/components/FilterSideBar/FilterSideBar.d.ts +4 -0
  30. package/dist/components/LunarCalendar/LunarCalendar.d.ts +43 -14
  31. package/dist/components/LunarCalendar/types.d.ts +35 -0
  32. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +11 -12
  33. package/dist/components/MonthPicker/MonthPicker.d.ts +72 -1747
  34. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +21 -1733
  35. package/dist/components/MonthPicker/MonthPickerText/useTextField.d.ts +5 -0
  36. package/dist/components/MonthPicker/locales.d.ts +1 -0
  37. package/dist/components/MonthPicker/types.d.ts +11 -0
  38. package/dist/components/MonthPicker/useMonthPickerValidation.d.ts +37 -24
  39. package/dist/components/NirField/NirField.d.ts +6 -4
  40. package/dist/components/NirField/useNirValidation.d.ts +7 -5
  41. package/dist/components/PageContainer/PageContainer.d.ts +8 -0
  42. package/dist/components/PasswordField/PasswordField.d.ts +2 -2
  43. package/dist/components/PasswordField/usePasswordFieldValidation.d.ts +2 -2
  44. package/dist/components/PhoneField/PhoneField.d.ts +960 -1938
  45. package/dist/components/PhoneField/indicatifs.d.ts +715 -8
  46. package/dist/components/PhoneField/locales.d.ts +7 -0
  47. package/dist/components/PhoneField/types.d.ts +29 -0
  48. package/dist/components/PhoneField/usePhoneFieldValidation.d.ts +45 -0
  49. package/dist/components/PhoneField/usePhoneIndicatifs.d.ts +947 -0
  50. package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +2 -2
  51. package/dist/composables/unifyValidation/documentationValidationProps.d.ts +1 -1
  52. package/dist/composables/unifyValidation/useValidation.d.ts +4 -5
  53. package/dist/design-system-v3.js +2 -2
  54. package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +10 -10
  55. package/dist/designTokens/tokens/baseTokens.d.ts +18 -18
  56. package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +10 -10
  57. package/dist/designTokens/tokens/pa/paLightTheme.d.ts +10 -10
  58. package/dist/designTokens/tokens/semanticTokens.d.ts +14 -14
  59. package/dist/{main-D8ryUoS5.js → main-C4wAktOs.js} +13718 -12991
  60. package/dist/synapse.css +1 -1
  61. package/dist/vuetifyConfig.js +1 -1
  62. package/package.json +7 -7
  63. package/src/assets/compat/_legacy-tokens.scss +91 -0
  64. package/src/assets/overrides/_utilities.scss +23 -0
  65. package/src/components/Accordion/Accordion.stories.ts +121 -1
  66. package/src/components/BackBtn/BackBtn.mdx +1 -1
  67. package/src/components/BackToTopBtn/BackToTopBtn.mdx +0 -1
  68. package/src/components/Captcha/Captcha.stories.ts +134 -31
  69. package/src/components/Captcha/Captcha.vue +95 -28
  70. package/src/components/Captcha/CaptchaForm.vue +51 -22
  71. package/src/components/Captcha/tests/Captcha.focus.spec.ts +214 -0
  72. package/src/components/Captcha/tests/Captcha.spec.ts +233 -24
  73. package/src/components/Captcha/tests/CaptchaForm.spec.ts +82 -0
  74. package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +16 -42
  75. package/src/components/Captcha/types.ts +15 -0
  76. package/src/components/Captcha/useCaptchaValidation.ts +87 -0
  77. package/src/components/Captcha/validation/validation.stories.ts +1194 -0
  78. package/src/components/ChipList/ChipList.mdx +0 -1
  79. package/src/components/CollapsibleList/CollapsibleList.mdx +0 -1
  80. package/src/components/CookieBanner/CookieBanner.mdx +0 -1
  81. package/src/components/CopyBtn/CopyBtn.mdx +0 -1
  82. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +123 -439
  83. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +147 -41
  84. package/src/components/Customs/Selects/SelectBtnField/Validation/Validation.stories.ts +600 -0
  85. package/src/components/Customs/Selects/SelectBtnField/composables/useSelectBtnFieldValidation.ts +87 -0
  86. package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +402 -33
  87. package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +52 -38
  88. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +342 -162
  89. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +77 -129
  90. package/src/components/Customs/SyCheckBoxGroup/Validation/Validation.stories.ts +1008 -0
  91. package/src/components/Customs/SyCheckBoxGroup/composables/useSyCheckBoxGroupValidation.ts +107 -0
  92. package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.spec.ts +180 -7
  93. package/src/components/Customs/SyCheckBoxGroup/types.ts +49 -0
  94. package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +41 -161
  95. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +71 -148
  96. package/src/components/Customs/SyCheckbox/Validation/Validation.stories.ts +654 -0
  97. package/src/components/Customs/SyCheckbox/composables/useSyCheckboxValidation.ts +105 -0
  98. package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +106 -0
  99. package/src/components/Customs/SyCheckbox/tests/useSyCheckboxValidation.spec.ts +98 -0
  100. package/src/components/Customs/SyCheckbox/types.ts +51 -0
  101. package/src/components/Customs/SyTextField/FieldState.vue +50 -0
  102. package/src/components/Customs/SyTextField/SyTextField.vue +12 -9
  103. package/src/components/Customs/SyTextField/useSyTextFieldValidation.ts +2 -11
  104. package/src/components/DataList/DataList.mdx +0 -1
  105. package/src/components/DataListGroup/DataListGroup.mdx +0 -1
  106. package/src/components/DiacriticPicker/DiacriticPicker.mdx +0 -1
  107. package/src/components/DialogBox/DialogBox.mdx +0 -1
  108. package/src/components/DialogBox/DialogBox.stories.ts +399 -4
  109. package/src/components/DialogBox/DialogBox.vue +20 -0
  110. package/src/components/DialogBox/locales.ts +1 -0
  111. package/src/components/DialogBox/tests/DialogBox.spec.ts +73 -0
  112. package/src/components/DialogBox/tests/DialogBox.visual.cy.ts +24 -0
  113. package/src/components/ErrorPage/ErrorPage.mdx +1 -1
  114. package/src/components/ExternalLinks/ExternalLinks.mdx +0 -1
  115. package/src/components/FileList/FileList.mdx +0 -1
  116. package/src/components/FilterInline/FilterInline.mdx +0 -1
  117. package/src/components/FilterSideBar/FilterSideBar.mdx +8 -1
  118. package/src/components/FilterSideBar/FilterSideBar.stories.ts +133 -1
  119. package/src/components/FilterSideBar/FilterSideBar.vue +19 -2
  120. package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +55 -0
  121. package/src/components/FooterBar/FooterBar.mdx +0 -1
  122. package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +0 -1
  123. package/src/components/HeaderBar/HeaderBar.mdx +0 -1
  124. package/src/components/HeaderLoading/HeaderLoading.mdx +0 -1
  125. package/src/components/LangBtn/LangBtn.mdx +0 -1
  126. package/src/components/Logo/Logo.mdx +1 -1
  127. package/src/components/LunarCalendar/LunarCalendar.mdx +6 -9
  128. package/src/components/LunarCalendar/LunarCalendar.stories.ts +243 -46
  129. package/src/components/LunarCalendar/LunarCalendar.vue +61 -26
  130. package/src/components/LunarCalendar/Validation/Validation.stories.ts +717 -0
  131. package/src/components/LunarCalendar/tests/LunarCalendar.a11y.spec.ts +1 -1
  132. package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +197 -6
  133. package/src/components/LunarCalendar/tests/useLunarCalendarValidation.spec.ts +287 -0
  134. package/src/components/LunarCalendar/types.ts +39 -0
  135. package/src/components/LunarCalendar/useLunarCalendarValidation.ts +115 -39
  136. package/src/components/MonthPicker/MonthPicker.stories.ts +38 -281
  137. package/src/components/MonthPicker/MonthPicker.vue +66 -17
  138. package/src/components/MonthPicker/MonthPickerText/MonthPickerInput.vue +44 -20
  139. package/src/components/MonthPicker/MonthPickerText/useTextField.ts +5 -0
  140. package/src/components/MonthPicker/Validation/Validation.stories.ts +1117 -0
  141. package/src/components/MonthPicker/locales.ts +1 -0
  142. package/src/components/MonthPicker/tests/MonthPicker.spec.ts +353 -2
  143. package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +12 -8
  144. package/src/components/MonthPicker/types.ts +16 -0
  145. package/src/components/MonthPicker/useMonthPickerValidation.ts +64 -27
  146. package/src/components/NirField/NirField.mdx +120 -66
  147. package/src/components/NirField/NirField.stories.ts +216 -0
  148. package/src/components/NirField/useNirValidation.ts +16 -17
  149. package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +263 -245
  150. package/src/components/NotificationBar/NotificationBar.mdx +0 -1
  151. package/src/components/PageContainer/PageContainer.mdx +0 -1
  152. package/src/components/PageContainer/PageContainer.stories.ts +170 -2
  153. package/src/components/PageContainer/PageContainer.vue +63 -8
  154. package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +19 -11
  155. package/src/components/PaginatedTable/PaginatedTable.mdx +0 -1
  156. package/src/components/PeriodField/PeriodField.mdx +0 -1
  157. package/src/components/PhoneField/PhoneField.mdx +2 -3
  158. package/src/components/PhoneField/PhoneField.stories.ts +227 -410
  159. package/src/components/PhoneField/PhoneField.vue +204 -438
  160. package/src/components/PhoneField/indicatifs.ts +1 -1
  161. package/src/components/PhoneField/locales.ts +7 -0
  162. package/src/components/PhoneField/tests/PhoneField.a11y.spec.ts +0 -1
  163. package/src/components/PhoneField/tests/PhoneField.spec.ts +517 -220
  164. package/src/components/PhoneField/types.ts +30 -0
  165. package/src/components/PhoneField/usePhoneFieldValidation.ts +119 -0
  166. package/src/components/PhoneField/usePhoneIndicatifs.ts +89 -0
  167. package/src/components/PhoneField/validation/validation.stories.ts +717 -0
  168. package/src/components/RangeField/RangeField.mdx +0 -1
  169. package/src/components/RatingPicker/RatingPicker.mdx +0 -1
  170. package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +0 -1
  171. package/src/components/StatusPage/StatusPage.vue +1 -0
  172. package/src/components/StatusPage/tests/__snapshots__/StatusPage.spec.ts.snap +248 -230
  173. package/src/components/SubHeader/SubHeader.mdx +5 -6
  174. package/src/components/Tables/common/tests/SyTableFilter.spec.ts +11 -12
  175. package/src/components/UploadWorkflow/UploadWorkflow.mdx +0 -1
  176. package/src/components/UserMenuBtn/UserMenuBtn.mdx +0 -1
  177. package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +177 -0
  178. package/src/composables/unifyValidation/documentationValidationProps.ts +1 -1
  179. package/src/composables/unifyValidation/tests/useValidation.spec.ts +13 -1
  180. package/src/composables/unifyValidation/useValidation.ts +37 -33
  181. package/src/composantsVuetify/VCard/VCard.mdx +4 -0
  182. package/src/composantsVuetify/VCard/v-card.stories.ts +93 -1
  183. package/src/composantsVuetify/VCarousel/VCarousel.mdx +74 -0
  184. package/src/composantsVuetify/VCarousel/v-carousel.stories.ts +531 -0
  185. package/src/composantsVuetify/VNavigationDrawer/VNavgationDrawer.mdx +53 -0
  186. package/src/composantsVuetify/VNavigationDrawer/v-navigation-drawer.stories.ts +310 -0
  187. package/src/composantsVuetify/VSlideGroup/VSlideGroup.mdx +105 -0
  188. package/src/composantsVuetify/VSlideGroup/v-slide-group.stories.ts +463 -0
  189. package/src/designTokens/tokens/baseColors.ts +1 -1
  190. package/src/designTokens/tokens/baseTokens.ts +18 -18
  191. package/src/stories/Components/Components.stories.ts +34 -1
  192. package/src/stories/Demarrer/Releases.stories.ts +16 -2
  193. package/src/stories/DesignTokens/Arrondis.mdx +1 -1
  194. package/src/stories/DesignTokens/Correspondances.mdx +219 -0
  195. package/src/stories/DesignTokens/UtiliserLesTokens.mdx +235 -0
  196. package/src/stories/DesignTokens/colors.stories.ts +569 -569
  197. package/src/stories/GuideDuDev/Amelipro.stories.ts +335 -267
  198. package/dist/components/LunarCalendar/useLunarCalendarRules.d.ts +0 -5
  199. package/dist/components/PhoneField/tests/types.d.ts +0 -18
  200. package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +0 -184
  201. package/src/components/LunarCalendar/useLunarCalendarRules.ts +0 -96
  202. package/src/components/PhoneField/tests/types.d.ts +0 -19
@@ -0,0 +1,947 @@
1
+ import { Ref } from 'vue';
2
+ import { Indicatif, DisplayFormat } from './types';
3
+ export declare function usePhoneIndicatifs(dialCodeProp: Ref<string | Indicatif>, displayFormat: Ref<DisplayFormat>, customIndicatifs: Ref<Indicatif[]>, useCustomIndicatifsOnly: Ref<boolean>): {
4
+ internalDialCode: Ref<{
5
+ code: string;
6
+ abbreviation: string;
7
+ country: string;
8
+ countryFr?: string | undefined;
9
+ mask?: string | undefined;
10
+ phoneLength?: number | undefined;
11
+ }, Indicatif | {
12
+ code: string;
13
+ abbreviation: string;
14
+ country: string;
15
+ countryFr?: string | undefined;
16
+ mask?: string | undefined;
17
+ phoneLength?: number | undefined;
18
+ }>;
19
+ dialCodeList: import('vue').ComputedRef<({
20
+ displayText: string;
21
+ plainDisplayText: string;
22
+ phoneLength: number | undefined;
23
+ code: "+1";
24
+ country: "USA/Canada";
25
+ countryFr: "États-Unis/Canada";
26
+ abbreviation: "US/CA";
27
+ mask: "### ### ####";
28
+ } | {
29
+ displayText: string;
30
+ plainDisplayText: string;
31
+ phoneLength: number | undefined;
32
+ code: "+7";
33
+ country: "Russia/Kazakhstan";
34
+ countryFr: "Russie/Kazakhstan";
35
+ abbreviation: "RU/KZ";
36
+ mask: "### ### ## ##";
37
+ } | {
38
+ displayText: string;
39
+ plainDisplayText: string;
40
+ phoneLength: number | undefined;
41
+ code: "+20";
42
+ country: "Egypt";
43
+ countryFr: "Égypte";
44
+ abbreviation: "EG";
45
+ mask: "### ### ###";
46
+ } | {
47
+ displayText: string;
48
+ plainDisplayText: string;
49
+ phoneLength: number | undefined;
50
+ code: "+27";
51
+ country: "South Africa";
52
+ countryFr: "Afrique du Sud";
53
+ abbreviation: "ZA";
54
+ mask: "## ### ####";
55
+ } | {
56
+ displayText: string;
57
+ plainDisplayText: string;
58
+ phoneLength: number | undefined;
59
+ code: "+30";
60
+ country: "Greece";
61
+ countryFr: "Grèce";
62
+ abbreviation: "GR";
63
+ mask: "### ### ####";
64
+ } | {
65
+ displayText: string;
66
+ plainDisplayText: string;
67
+ phoneLength: number | undefined;
68
+ code: "+31";
69
+ country: "Netherlands";
70
+ countryFr: "Pays-Bas";
71
+ abbreviation: "NL";
72
+ mask: "## ### ####";
73
+ } | {
74
+ displayText: string;
75
+ plainDisplayText: string;
76
+ phoneLength: number | undefined;
77
+ code: "+32";
78
+ country: "Belgium";
79
+ countryFr: "Belgique";
80
+ abbreviation: "BE";
81
+ mask: "### ### ###";
82
+ } | {
83
+ displayText: string;
84
+ plainDisplayText: string;
85
+ phoneLength: number | undefined;
86
+ code: "+33";
87
+ country: "France";
88
+ countryFr: "France";
89
+ abbreviation: "FR";
90
+ mask: "## ## ## ## ##";
91
+ } | {
92
+ displayText: string;
93
+ plainDisplayText: string;
94
+ phoneLength: number | undefined;
95
+ code: "+34";
96
+ country: "Spain";
97
+ countryFr: "Espagne";
98
+ abbreviation: "ES";
99
+ mask: "### ### ###";
100
+ } | {
101
+ displayText: string;
102
+ plainDisplayText: string;
103
+ phoneLength: number | undefined;
104
+ code: "+36";
105
+ country: "Hungary";
106
+ countryFr: "Hongrie";
107
+ abbreviation: "HU";
108
+ mask: "## ### ####";
109
+ } | {
110
+ displayText: string;
111
+ plainDisplayText: string;
112
+ phoneLength: number | undefined;
113
+ code: "+39";
114
+ country: "Italy";
115
+ countryFr: "Italie";
116
+ abbreviation: "IT";
117
+ mask: "### ### ####";
118
+ } | {
119
+ displayText: string;
120
+ plainDisplayText: string;
121
+ phoneLength: number | undefined;
122
+ code: "+40";
123
+ country: "Romania";
124
+ countryFr: "Roumanie";
125
+ abbreviation: "RO";
126
+ mask: "### ### ###";
127
+ } | {
128
+ displayText: string;
129
+ plainDisplayText: string;
130
+ phoneLength: number | undefined;
131
+ code: "+41";
132
+ country: "Switzerland";
133
+ countryFr: "Suisse";
134
+ abbreviation: "CH";
135
+ mask: "## ### ## ##";
136
+ } | {
137
+ displayText: string;
138
+ plainDisplayText: string;
139
+ phoneLength: number | undefined;
140
+ code: "+44";
141
+ country: "United Kingdom";
142
+ countryFr: "Royaume-Uni";
143
+ abbreviation: "GB";
144
+ mask: "#### ### ####";
145
+ } | {
146
+ displayText: string;
147
+ plainDisplayText: string;
148
+ phoneLength: number | undefined;
149
+ code: "+45";
150
+ country: "Denmark";
151
+ countryFr: "Danemark";
152
+ abbreviation: "DK";
153
+ mask: "## ## ## ##";
154
+ } | {
155
+ displayText: string;
156
+ plainDisplayText: string;
157
+ phoneLength: number | undefined;
158
+ code: "+46";
159
+ country: "Sweden";
160
+ countryFr: "Suède";
161
+ abbreviation: "SE";
162
+ mask: "## ### ## ##";
163
+ } | {
164
+ displayText: string;
165
+ plainDisplayText: string;
166
+ phoneLength: number | undefined;
167
+ code: "+47";
168
+ country: "Norway";
169
+ countryFr: "Norvège";
170
+ abbreviation: "NO";
171
+ mask: "### ## ###";
172
+ } | {
173
+ displayText: string;
174
+ plainDisplayText: string;
175
+ phoneLength: number | undefined;
176
+ code: "+48";
177
+ country: "Poland";
178
+ countryFr: "Pologne";
179
+ abbreviation: "PL";
180
+ mask: "### ### ###";
181
+ } | {
182
+ displayText: string;
183
+ plainDisplayText: string;
184
+ phoneLength: number | undefined;
185
+ code: "+49";
186
+ country: "Germany";
187
+ countryFr: "Allemagne";
188
+ abbreviation: "DE";
189
+ mask: "#### ### ####";
190
+ } | {
191
+ displayText: string;
192
+ plainDisplayText: string;
193
+ phoneLength: number | undefined;
194
+ code: "+51";
195
+ country: "Peru";
196
+ countryFr: "Pérou";
197
+ abbreviation: "PE";
198
+ mask: "### ### ###";
199
+ } | {
200
+ displayText: string;
201
+ plainDisplayText: string;
202
+ phoneLength: number | undefined;
203
+ code: "+52";
204
+ country: "Mexico";
205
+ countryFr: "Mexique";
206
+ abbreviation: "MX";
207
+ mask: "## #### ####";
208
+ } | {
209
+ displayText: string;
210
+ plainDisplayText: string;
211
+ phoneLength: number | undefined;
212
+ code: "+53";
213
+ country: "Cuba";
214
+ countryFr: "Cuba";
215
+ abbreviation: "CU";
216
+ mask: "### ### ###";
217
+ } | {
218
+ displayText: string;
219
+ plainDisplayText: string;
220
+ phoneLength: number | undefined;
221
+ code: "+54";
222
+ country: "Argentina";
223
+ countryFr: "Argentine";
224
+ abbreviation: "AR";
225
+ mask: "### ### ####";
226
+ } | {
227
+ displayText: string;
228
+ plainDisplayText: string;
229
+ phoneLength: number | undefined;
230
+ code: "+55";
231
+ country: "Brazil";
232
+ countryFr: "Brésil";
233
+ abbreviation: "BR";
234
+ mask: "## ##### ####";
235
+ } | {
236
+ displayText: string;
237
+ plainDisplayText: string;
238
+ phoneLength: number | undefined;
239
+ code: "+56";
240
+ country: "Chile";
241
+ countryFr: "Chili";
242
+ abbreviation: "CL";
243
+ mask: "## #### ####";
244
+ } | {
245
+ displayText: string;
246
+ plainDisplayText: string;
247
+ phoneLength: number | undefined;
248
+ code: "+57";
249
+ country: "Colombia";
250
+ countryFr: "Colombie";
251
+ abbreviation: "CO";
252
+ mask: "### ### ####";
253
+ } | {
254
+ displayText: string;
255
+ plainDisplayText: string;
256
+ phoneLength: number | undefined;
257
+ code: "+58";
258
+ country: "Venezuela";
259
+ countryFr: "Venezuela";
260
+ abbreviation: "VE";
261
+ mask: "### ### ####";
262
+ } | {
263
+ displayText: string;
264
+ plainDisplayText: string;
265
+ phoneLength: number | undefined;
266
+ code: "+60";
267
+ country: "Malaysia";
268
+ countryFr: "Malaisie";
269
+ abbreviation: "MY";
270
+ mask: "## ### ####";
271
+ } | {
272
+ displayText: string;
273
+ plainDisplayText: string;
274
+ phoneLength: number | undefined;
275
+ code: "+61";
276
+ country: "Australia";
277
+ countryFr: "Australie";
278
+ abbreviation: "AU";
279
+ mask: "### ### ###";
280
+ } | {
281
+ displayText: string;
282
+ plainDisplayText: string;
283
+ phoneLength: number | undefined;
284
+ code: "+62";
285
+ country: "Indonesia";
286
+ countryFr: "Indonésie";
287
+ abbreviation: "ID";
288
+ mask: "### ### ####";
289
+ } | {
290
+ displayText: string;
291
+ plainDisplayText: string;
292
+ phoneLength: number | undefined;
293
+ code: "+63";
294
+ country: "Philippines";
295
+ countryFr: "Philippines";
296
+ abbreviation: "PH";
297
+ mask: "### ### ####";
298
+ } | {
299
+ displayText: string;
300
+ plainDisplayText: string;
301
+ phoneLength: number | undefined;
302
+ code: "+64";
303
+ country: "New Zealand";
304
+ countryFr: "Nouvelle-Zélande";
305
+ abbreviation: "NZ";
306
+ mask: "### ### ###";
307
+ } | {
308
+ displayText: string;
309
+ plainDisplayText: string;
310
+ phoneLength: number | undefined;
311
+ code: "+65";
312
+ country: "Singapore";
313
+ countryFr: "Singapour";
314
+ abbreviation: "SG";
315
+ mask: "#### ####";
316
+ } | {
317
+ displayText: string;
318
+ plainDisplayText: string;
319
+ phoneLength: number | undefined;
320
+ code: "+66";
321
+ country: "Thailand";
322
+ countryFr: "Thaïlande";
323
+ abbreviation: "TH";
324
+ mask: "### ### ###";
325
+ } | {
326
+ displayText: string;
327
+ plainDisplayText: string;
328
+ phoneLength: number | undefined;
329
+ code: "+81";
330
+ country: "Japan";
331
+ countryFr: "Japon";
332
+ abbreviation: "JP";
333
+ mask: "## #### ####";
334
+ } | {
335
+ displayText: string;
336
+ plainDisplayText: string;
337
+ phoneLength: number | undefined;
338
+ code: "+82";
339
+ country: "South Korea";
340
+ countryFr: "Corée du Sud";
341
+ abbreviation: "KR";
342
+ mask: "## #### ####";
343
+ } | {
344
+ displayText: string;
345
+ plainDisplayText: string;
346
+ phoneLength: number | undefined;
347
+ code: "+84";
348
+ country: "Vietnam";
349
+ countryFr: "Vietnam";
350
+ abbreviation: "VN";
351
+ mask: "## ### ####";
352
+ } | {
353
+ displayText: string;
354
+ plainDisplayText: string;
355
+ phoneLength: number | undefined;
356
+ code: "+86";
357
+ country: "China";
358
+ countryFr: "Chine";
359
+ abbreviation: "CN";
360
+ mask: "### #### ####";
361
+ } | {
362
+ displayText: string;
363
+ plainDisplayText: string;
364
+ phoneLength: number | undefined;
365
+ code: "+90";
366
+ country: "Turkey";
367
+ countryFr: "Turquie";
368
+ abbreviation: "TR";
369
+ mask: "### ### ## ##";
370
+ } | {
371
+ displayText: string;
372
+ plainDisplayText: string;
373
+ phoneLength: number | undefined;
374
+ code: "+91";
375
+ country: "India";
376
+ countryFr: "Inde";
377
+ abbreviation: "IN";
378
+ mask: "##### #####";
379
+ } | {
380
+ displayText: string;
381
+ plainDisplayText: string;
382
+ phoneLength: number | undefined;
383
+ code: "+92";
384
+ country: "Pakistan";
385
+ countryFr: "Pakistan";
386
+ abbreviation: "PK";
387
+ mask: "### #### ####";
388
+ } | {
389
+ displayText: string;
390
+ plainDisplayText: string;
391
+ phoneLength: number | undefined;
392
+ code: "+93";
393
+ country: "Afghanistan";
394
+ countryFr: "Afghanistan";
395
+ abbreviation: "AF";
396
+ mask: "## ### ####";
397
+ } | {
398
+ displayText: string;
399
+ plainDisplayText: string;
400
+ phoneLength: number | undefined;
401
+ code: "+94";
402
+ country: "Sri Lanka";
403
+ countryFr: "Sri Lanka";
404
+ abbreviation: "LK";
405
+ mask: "### ### ####";
406
+ } | {
407
+ displayText: string;
408
+ plainDisplayText: string;
409
+ phoneLength: number | undefined;
410
+ code: "+95";
411
+ country: "Myanmar";
412
+ countryFr: "Myanmar";
413
+ abbreviation: "MM";
414
+ mask: "## ### ###";
415
+ } | {
416
+ displayText: string;
417
+ plainDisplayText: string;
418
+ phoneLength: number | undefined;
419
+ code: "+98";
420
+ country: "Iran";
421
+ countryFr: "Iran";
422
+ abbreviation: "IR";
423
+ mask: "### ### ####";
424
+ } | {
425
+ displayText: string;
426
+ plainDisplayText: string;
427
+ phoneLength: number | undefined;
428
+ code: "+212";
429
+ country: "Morocco";
430
+ countryFr: "Maroc";
431
+ abbreviation: "MA";
432
+ mask: "### #### ###";
433
+ } | {
434
+ displayText: string;
435
+ plainDisplayText: string;
436
+ phoneLength: number | undefined;
437
+ code: "+213";
438
+ country: "Algeria";
439
+ countryFr: "Algérie";
440
+ abbreviation: "DZ";
441
+ mask: "### ### ####";
442
+ } | {
443
+ displayText: string;
444
+ plainDisplayText: string;
445
+ phoneLength: number | undefined;
446
+ code: "+216";
447
+ country: "Tunisia";
448
+ countryFr: "Tunisie";
449
+ abbreviation: "TN";
450
+ mask: "## ### ###";
451
+ } | {
452
+ displayText: string;
453
+ plainDisplayText: string;
454
+ phoneLength: number | undefined;
455
+ code: "+218";
456
+ country: "Libya";
457
+ countryFr: "Libye";
458
+ abbreviation: "LY";
459
+ mask: "### ### ###";
460
+ } | {
461
+ displayText: string;
462
+ plainDisplayText: string;
463
+ phoneLength: number | undefined;
464
+ code: "+262";
465
+ country: "Réunion";
466
+ countryFr: "Réunion";
467
+ abbreviation: "FR";
468
+ mask: "### ### ###";
469
+ } | {
470
+ displayText: string;
471
+ plainDisplayText: string;
472
+ phoneLength: number | undefined;
473
+ code: "+508";
474
+ country: "Saint Pierre and Miquelon";
475
+ countryFr: "Saint-Pierre-et-Miquelon";
476
+ abbreviation: "FR";
477
+ mask: "## ## ##";
478
+ } | {
479
+ displayText: string;
480
+ plainDisplayText: string;
481
+ phoneLength: number | undefined;
482
+ code: "+590";
483
+ country: "Guadeloupe";
484
+ countryFr: "Guadeloupe";
485
+ abbreviation: "FR";
486
+ mask: "### ### ###";
487
+ } | {
488
+ displayText: string;
489
+ plainDisplayText: string;
490
+ phoneLength: number | undefined;
491
+ code: "+594";
492
+ country: "French Guiana";
493
+ countryFr: "Guyane française";
494
+ abbreviation: "FR";
495
+ mask: "### ### ###";
496
+ } | {
497
+ displayText: string;
498
+ plainDisplayText: string;
499
+ phoneLength: number | undefined;
500
+ code: "+596";
501
+ country: "Martinique";
502
+ countryFr: "Martinique";
503
+ abbreviation: "FR";
504
+ mask: "### ### ###";
505
+ } | {
506
+ displayText: string;
507
+ plainDisplayText: string;
508
+ phoneLength: number | undefined;
509
+ code: "+687";
510
+ country: "New Caledonia";
511
+ countryFr: "Nouvelle-Calédonie";
512
+ abbreviation: "FR";
513
+ mask: "## ## ##";
514
+ } | {
515
+ displayText: string;
516
+ plainDisplayText: string;
517
+ phoneLength: number | undefined;
518
+ code: "+689";
519
+ country: "French Polynesia";
520
+ countryFr: "Polynésie française";
521
+ abbreviation: "FR";
522
+ mask: "## ## ##";
523
+ } | {
524
+ displayText: string;
525
+ plainDisplayText: string;
526
+ phoneLength: number | undefined;
527
+ code: "+220";
528
+ country: "Gambia";
529
+ countryFr: "Gambie";
530
+ abbreviation: "GM";
531
+ mask: "### ## ##";
532
+ } | {
533
+ displayText: string;
534
+ plainDisplayText: string;
535
+ phoneLength: number | undefined;
536
+ code: "+221";
537
+ country: "Senegal";
538
+ countryFr: "Sénégal";
539
+ abbreviation: "SN";
540
+ mask: "## ### ####";
541
+ } | {
542
+ displayText: string;
543
+ plainDisplayText: string;
544
+ phoneLength: number | undefined;
545
+ code: "+222";
546
+ country: "Mauritania";
547
+ countryFr: "Mauritanie";
548
+ abbreviation: "MR";
549
+ mask: "## ## ## ##";
550
+ } | {
551
+ displayText: string;
552
+ plainDisplayText: string;
553
+ phoneLength: number | undefined;
554
+ code: "+223";
555
+ country: "Mali";
556
+ countryFr: "Mali";
557
+ abbreviation: "ML";
558
+ mask: "## ## ## ##";
559
+ } | {
560
+ displayText: string;
561
+ plainDisplayText: string;
562
+ phoneLength: number | undefined;
563
+ code: "+224";
564
+ country: "Guinea";
565
+ countryFr: "Guinée";
566
+ abbreviation: "GN";
567
+ mask: "## ### ####";
568
+ } | {
569
+ displayText: string;
570
+ plainDisplayText: string;
571
+ phoneLength: number | undefined;
572
+ code: "+225";
573
+ country: "Ivory Coast";
574
+ countryFr: "Côte d'Ivoire";
575
+ abbreviation: "CI";
576
+ mask: "## ## ## ##";
577
+ } | {
578
+ displayText: string;
579
+ plainDisplayText: string;
580
+ phoneLength: number | undefined;
581
+ code: "+226";
582
+ country: "Burkina Faso";
583
+ countryFr: "Burkina Faso";
584
+ abbreviation: "BF";
585
+ mask: "## ## ## ##";
586
+ } | {
587
+ displayText: string;
588
+ plainDisplayText: string;
589
+ phoneLength: number | undefined;
590
+ code: "+227";
591
+ country: "Niger";
592
+ countryFr: "Niger";
593
+ abbreviation: "NE";
594
+ mask: "## ## ## ##";
595
+ } | {
596
+ displayText: string;
597
+ plainDisplayText: string;
598
+ phoneLength: number | undefined;
599
+ code: "+228";
600
+ country: "Togo";
601
+ countryFr: "Togo";
602
+ abbreviation: "TG";
603
+ mask: "## ## ## ##";
604
+ } | {
605
+ displayText: string;
606
+ plainDisplayText: string;
607
+ phoneLength: number | undefined;
608
+ code: "+229";
609
+ country: "Benin";
610
+ countryFr: "Bénin";
611
+ abbreviation: "BJ";
612
+ mask: "## ## ## ##";
613
+ } | {
614
+ displayText: string;
615
+ plainDisplayText: string;
616
+ phoneLength: number | undefined;
617
+ code: "+230";
618
+ country: "Mauritius";
619
+ countryFr: "Maurice";
620
+ abbreviation: "MU";
621
+ mask: "### ####";
622
+ } | {
623
+ displayText: string;
624
+ plainDisplayText: string;
625
+ phoneLength: number | undefined;
626
+ code: "+231";
627
+ country: "Liberia";
628
+ countryFr: "Libéria";
629
+ abbreviation: "LR";
630
+ mask: "## ### ###";
631
+ } | {
632
+ displayText: string;
633
+ plainDisplayText: string;
634
+ phoneLength: number | undefined;
635
+ code: "+232";
636
+ country: "Sierra Leone";
637
+ countryFr: "Sierra Leone";
638
+ abbreviation: "SL";
639
+ mask: "## #### ####";
640
+ } | {
641
+ displayText: string;
642
+ plainDisplayText: string;
643
+ phoneLength: number | undefined;
644
+ code: "+233";
645
+ country: "Ghana";
646
+ countryFr: "Ghana";
647
+ abbreviation: "GH";
648
+ mask: "### ### ###";
649
+ } | {
650
+ displayText: string;
651
+ plainDisplayText: string;
652
+ phoneLength: number | undefined;
653
+ code: "+234";
654
+ country: "Nigeria";
655
+ countryFr: "Nigéria";
656
+ abbreviation: "NG";
657
+ mask: "### ### ###";
658
+ } | {
659
+ displayText: string;
660
+ plainDisplayText: string;
661
+ phoneLength: number | undefined;
662
+ code: "+235";
663
+ country: "Chad";
664
+ countryFr: "Tchad";
665
+ abbreviation: "TD";
666
+ mask: "## ## ## ##";
667
+ } | {
668
+ displayText: string;
669
+ plainDisplayText: string;
670
+ phoneLength: number | undefined;
671
+ code: "+236";
672
+ country: "Central African Republic";
673
+ countryFr: "République centrafricaine";
674
+ abbreviation: "CF";
675
+ mask: "## ## ## ##";
676
+ } | {
677
+ displayText: string;
678
+ plainDisplayText: string;
679
+ phoneLength: number | undefined;
680
+ code: "+237";
681
+ country: "Cameroon";
682
+ countryFr: "Cameroun";
683
+ abbreviation: "CM";
684
+ mask: "## ### ####";
685
+ } | {
686
+ displayText: string;
687
+ plainDisplayText: string;
688
+ phoneLength: number | undefined;
689
+ code: "+238";
690
+ country: "Cape Verde";
691
+ countryFr: "Cap-Vert";
692
+ abbreviation: "CV";
693
+ mask: "### ####";
694
+ } | {
695
+ displayText: string;
696
+ plainDisplayText: string;
697
+ phoneLength: number | undefined;
698
+ code: "+239";
699
+ country: "Sao Tome and Principe";
700
+ countryFr: "São Tomé-et-Principe";
701
+ abbreviation: "ST";
702
+ mask: "### ####";
703
+ } | {
704
+ displayText: string;
705
+ plainDisplayText: string;
706
+ phoneLength: number | undefined;
707
+ code: "+240";
708
+ country: "Equatorial Guinea";
709
+ countryFr: "Guinée équatoriale";
710
+ abbreviation: "GQ";
711
+ mask: "### ### ####";
712
+ } | {
713
+ displayText: string;
714
+ plainDisplayText: string;
715
+ phoneLength: number | undefined;
716
+ code: "+241";
717
+ country: "Gabon";
718
+ countryFr: "Gabon";
719
+ abbreviation: "GA";
720
+ mask: "## ### ####";
721
+ } | {
722
+ displayText: string;
723
+ plainDisplayText: string;
724
+ phoneLength: number | undefined;
725
+ code: "+242";
726
+ country: "Republic of the Congo";
727
+ countryFr: "République du Congo";
728
+ abbreviation: "CG";
729
+ mask: "## ### ####";
730
+ } | {
731
+ displayText: string;
732
+ plainDisplayText: string;
733
+ phoneLength: number | undefined;
734
+ code: "+243";
735
+ country: "Democratic Republic of the Congo";
736
+ countryFr: "République démocratique du Congo";
737
+ abbreviation: "CD";
738
+ mask: "### ### ####";
739
+ } | {
740
+ displayText: string;
741
+ plainDisplayText: string;
742
+ phoneLength: number | undefined;
743
+ code: "+244";
744
+ country: "Angola";
745
+ countryFr: "Angola";
746
+ abbreviation: "AO";
747
+ mask: "### ### ####";
748
+ } | {
749
+ displayText: string;
750
+ plainDisplayText: string;
751
+ phoneLength: number | undefined;
752
+ code: "+245";
753
+ country: "Guinea-Bissau";
754
+ countryFr: "Guinée-Bissau";
755
+ abbreviation: "GW";
756
+ mask: "### ####";
757
+ } | {
758
+ displayText: string;
759
+ plainDisplayText: string;
760
+ phoneLength: number | undefined;
761
+ code: "+248";
762
+ country: "Seychelles";
763
+ countryFr: "Seychelles";
764
+ abbreviation: "SC";
765
+ mask: "### ####";
766
+ } | {
767
+ displayText: string;
768
+ plainDisplayText: string;
769
+ phoneLength: number | undefined;
770
+ code: "+249";
771
+ country: "Sudan";
772
+ countryFr: "Soudan";
773
+ abbreviation: "SD";
774
+ mask: "### ### ####";
775
+ } | {
776
+ displayText: string;
777
+ plainDisplayText: string;
778
+ phoneLength: number | undefined;
779
+ code: "+250";
780
+ country: "Rwanda";
781
+ countryFr: "Rwanda";
782
+ abbreviation: "RW";
783
+ mask: "### ### ###";
784
+ } | {
785
+ displayText: string;
786
+ plainDisplayText: string;
787
+ phoneLength: number | undefined;
788
+ code: "+251";
789
+ country: "Ethiopia";
790
+ countryFr: "Éthiopie";
791
+ abbreviation: "ET";
792
+ mask: "### ### ###";
793
+ } | {
794
+ displayText: string;
795
+ plainDisplayText: string;
796
+ phoneLength: number | undefined;
797
+ code: "+252";
798
+ country: "Somalia";
799
+ countryFr: "Somalie";
800
+ abbreviation: "SO";
801
+ mask: "### ### ##";
802
+ } | {
803
+ displayText: string;
804
+ plainDisplayText: string;
805
+ phoneLength: number | undefined;
806
+ code: "+253";
807
+ country: "Djibouti";
808
+ countryFr: "Djibouti";
809
+ abbreviation: "DJ";
810
+ mask: "## ## ## ##";
811
+ } | {
812
+ displayText: string;
813
+ plainDisplayText: string;
814
+ phoneLength: number | undefined;
815
+ code: "+254";
816
+ country: "Kenya";
817
+ countryFr: "Kenya";
818
+ abbreviation: "KE";
819
+ mask: "### ### ###";
820
+ } | {
821
+ displayText: string;
822
+ plainDisplayText: string;
823
+ phoneLength: number | undefined;
824
+ code: "+255";
825
+ country: "Tanzania";
826
+ countryFr: "Tanzanie";
827
+ abbreviation: "TZ";
828
+ mask: "### ### ###";
829
+ } | {
830
+ displayText: string;
831
+ plainDisplayText: string;
832
+ phoneLength: number | undefined;
833
+ code: "+256";
834
+ country: "Uganda";
835
+ countryFr: "Ouganda";
836
+ abbreviation: "UG";
837
+ mask: "### ### ###";
838
+ } | {
839
+ displayText: string;
840
+ plainDisplayText: string;
841
+ phoneLength: number | undefined;
842
+ code: "+257";
843
+ country: "Burundi";
844
+ countryFr: "Burundi";
845
+ abbreviation: "BI";
846
+ mask: "## ## ## ##";
847
+ } | {
848
+ displayText: string;
849
+ plainDisplayText: string;
850
+ phoneLength: number | undefined;
851
+ code: "+258";
852
+ country: "Mozambique";
853
+ countryFr: "Mozambique";
854
+ abbreviation: "MZ";
855
+ mask: "## ### ####";
856
+ } | {
857
+ displayText: string;
858
+ plainDisplayText: string;
859
+ phoneLength: number | undefined;
860
+ code: "+260";
861
+ country: "Zambia";
862
+ countryFr: "Zambie";
863
+ abbreviation: "ZM";
864
+ mask: "### ### ###";
865
+ } | {
866
+ displayText: string;
867
+ plainDisplayText: string;
868
+ phoneLength: number | undefined;
869
+ code: "+261";
870
+ country: "Madagascar";
871
+ countryFr: "Madagascar";
872
+ abbreviation: "MG";
873
+ mask: "## ## ###";
874
+ } | {
875
+ displayText: string;
876
+ plainDisplayText: string;
877
+ phoneLength: number | undefined;
878
+ code: "+263";
879
+ country: "Zimbabwe";
880
+ countryFr: "Zimbabwe";
881
+ abbreviation: "ZW";
882
+ mask: "### ### ###";
883
+ } | {
884
+ displayText: string;
885
+ plainDisplayText: string;
886
+ phoneLength: number | undefined;
887
+ code: "+264";
888
+ country: "Namibia";
889
+ countryFr: "Namibie";
890
+ abbreviation: "NA";
891
+ mask: "### ### ###";
892
+ } | {
893
+ displayText: string;
894
+ plainDisplayText: string;
895
+ phoneLength: number | undefined;
896
+ code: "+265";
897
+ country: "Malawi";
898
+ countryFr: "Malawi";
899
+ abbreviation: "MW";
900
+ mask: "### ### ###";
901
+ } | {
902
+ displayText: string;
903
+ plainDisplayText: string;
904
+ phoneLength: number | undefined;
905
+ code: "+266";
906
+ country: "Lesotho";
907
+ countryFr: "Lesotho";
908
+ abbreviation: "LS";
909
+ mask: "## ### ###";
910
+ } | {
911
+ displayText: string;
912
+ plainDisplayText: string;
913
+ phoneLength: number | undefined;
914
+ code: "+267";
915
+ country: "Botswana";
916
+ countryFr: "Botswana";
917
+ abbreviation: "BW";
918
+ mask: "## ### ###";
919
+ } | {
920
+ displayText: string;
921
+ plainDisplayText: string;
922
+ phoneLength: number | undefined;
923
+ code: "+268";
924
+ country: "Eswatini";
925
+ countryFr: "Eswatini";
926
+ abbreviation: "SZ";
927
+ mask: "### ### ###";
928
+ } | {
929
+ displayText: string;
930
+ plainDisplayText: string;
931
+ phoneLength: number | undefined;
932
+ code: "+269";
933
+ country: "Comoros";
934
+ countryFr: "Comores";
935
+ abbreviation: "KM";
936
+ mask: "### ####";
937
+ } | {
938
+ displayText: string;
939
+ plainDisplayText: string;
940
+ phoneLength: number | undefined;
941
+ code: string;
942
+ abbreviation: string;
943
+ country: string;
944
+ countryFr?: string;
945
+ mask?: string;
946
+ })[]>;
947
+ };