@cnamts/synapse 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DateFilter-BQpRKTju.js → DateFilter-CHDLz2EO.js} +1 -1
- package/dist/{NumberFilter-BykSKt2D.js → NumberFilter-DXNQ4Uls.js} +1 -1
- package/dist/{PeriodFilter-Cks6NygV.js → PeriodFilter-C8Qf3Jcn.js} +1 -1
- package/dist/{SelectFilter-DEL5dHd_.js → SelectFilter-B2Ejs4Cb.js} +1 -1
- package/dist/{TextFilter-0RAFj7Oe.js → TextFilter-CfR5_A1S.js} +1 -1
- package/dist/components/Amelipro/AmeliproAccordion/AmeliproAccordion.d.ts +103 -0
- package/dist/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/AmeliproAccordionTemplate.d.ts +105 -0
- package/dist/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.d.ts +116 -0
- package/dist/components/Amelipro/AmeliproAccordionGroup/types.d.ts +4 -0
- package/dist/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.d.ts +220 -0
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.d.ts +68 -0
- package/dist/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.d.ts +70 -0
- package/dist/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.d.ts +204 -0
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +26 -26
- package/dist/components/Amelipro/AmeliproBadge/AmeliproBadge.d.ts +59 -0
- package/dist/components/Amelipro/AmeliproBtn/AmeliproBtn.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.d.ts +132 -0
- package/dist/components/Amelipro/AmeliproCaptcha/types.d.ts +5 -0
- package/dist/components/Amelipro/AmeliproCard/AmeliproCard.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +214 -0
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/AmeliproCarouselItem.d.ts +70 -0
- package/dist/components/Amelipro/AmeliproCarousel/types.d.ts +7 -0
- package/dist/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.d.ts +125 -0
- package/dist/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.d.ts +126 -0
- package/dist/components/Amelipro/AmeliproCustomSelector/types.d.ts +6 -0
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproIllustratedDataTile/AmeliproIllustratedDataTile.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproMultipleFoldingCard/AmeliproMultipleFoldingCard.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproResultList/AmeliproResultList.d.ts +164 -0
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +27 -27
- package/dist/components/Amelipro/AmeliproStateTile/AmeliproStateTile.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproTable/AmeliproTable.d.ts +190 -0
- package/dist/components/Amelipro/AmeliproTable/types.d.ts +34 -0
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +32 -32
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +7 -7
- package/dist/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproTooltips/AmeliproTooltips.d.ts +2 -2
- package/dist/components/Amelipro/types.d.ts +6 -0
- package/dist/components/ChipList/ChipList.d.ts +4 -0
- package/dist/components/ChipList/locales.d.ts +4 -2
- package/dist/components/CookieBanner/CookieBanner.d.ts +1 -1
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +8 -8
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +454 -8
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +6 -1
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +2 -0
- package/dist/components/Customs/SyTabs/SyTabs.d.ts +71 -0
- package/dist/components/Customs/SyTabs/config.d.ts +17 -0
- package/dist/components/Customs/SyTabs/types.d.ts +11 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +12 -10
- package/dist/components/DataList/DataList.d.ts +10 -1
- package/dist/components/DataListGroup/DataListGroup.d.ts +10 -1
- package/dist/components/DataListItem/DataListItem.d.ts +1 -1
- package/dist/components/DataListItem/config.d.ts +1 -1
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +4825 -244
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +58 -29
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +28 -10
- package/dist/components/DatePicker/composables/useDateInputEditing.d.ts +18 -8
- package/dist/components/DatePicker/composables/useKeyboardEvents.d.ts +41 -0
- package/dist/components/DatePicker/composables/useManualDateValidation.d.ts +4 -9
- package/dist/components/DatePicker/composables/useTodayButton.d.ts +1 -0
- package/dist/components/DatePicker/utils/dateFormattingUtils.d.ts +72 -0
- package/dist/components/DatePicker/utils/validationUtils.d.ts +38 -0
- package/dist/components/DialogBox/DialogBox.d.ts +219 -0
- package/dist/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.d.ts +9 -3
- package/dist/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.d.ts +6 -1
- package/dist/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.d.ts +11 -1
- package/dist/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.d.ts +11 -1
- package/dist/components/HeaderBar/HeaderBurgerMenu/locals.d.ts +2 -0
- package/dist/components/HeaderBar/HeaderBurgerMenu/useMenuPosition.d.ts +4 -0
- package/dist/components/HeaderLoading/HeaderLoading.d.ts +27 -0
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +110 -3
- package/dist/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.d.ts +19 -1
- package/dist/components/LangBtn/LangBtn.d.ts +2 -2
- package/dist/components/NirField/NirField.d.ts +30 -20
- package/dist/components/PeriodField/PeriodField.d.ts +10949 -1783
- package/dist/components/PhoneField/PhoneField.d.ts +1866 -2
- package/dist/components/PhoneField/indicatifs.d.ts +1 -0
- package/dist/components/PhoneField/locales.d.ts +1 -0
- package/dist/components/RangeField/RangeField.d.ts +1 -1
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +1 -1
- package/dist/components/SubHeader/SubHeader.d.ts +8 -0
- package/dist/components/SubHeader/locales.d.ts +1 -0
- package/dist/components/SyTextArea/SyTextArea.d.ts +6 -6
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +5 -4
- package/dist/components/Tables/SyTable/SyTable.d.ts +5 -4
- package/dist/components/Tables/common/SyTablePagination.d.ts +458 -7
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +2 -2
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/usePagination.d.ts +16 -0
- package/dist/design-system-v3.js +174 -160
- package/dist/design-system-v3.umd.cjs +290 -281
- package/dist/directives/lockFocus.d.ts +17 -0
- package/dist/{main-Co2P_lBt.js → main-C66C1BkG.js} +14406 -11554
- package/dist/style.css +1 -1
- package/package.json +4 -1
- package/src/assets/amelipro/apTheme.scss +149 -0
- package/src/assets/amelipro/apTokens.scss +0 -148
- package/src/assets/amelipro/icons.ts +38 -11
- package/src/assets/overrides/_btns.scss +15 -0
- package/src/assets/overrides/_container.scss +36 -0
- package/src/assets/overrides/_forms.scss +7 -0
- package/src/assets/{_spacers.scss → overrides/_spacers.scss} +0 -7
- package/src/assets/overrides/_tables.scss +18 -0
- package/src/assets/overrides/_tooltips.scss +10 -0
- package/src/assets/overrides/_typography.scss +196 -0
- package/src/assets/settings.scss +11 -51
- package/src/assets/themes.scss +10 -0
- package/src/assets/tokens.scss +9 -156
- package/src/components/Accordion/composables/__tests__/useAccordionGroupCommunication.spec.ts +80 -40
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.mdx +15 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.stories.ts +83 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.vue +86 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/AmeliproAccordionTemplate.vue +242 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/__tests__/AmeliproAccordionTemplate.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordionTemplate/__tests__/__snapshots__/AmeliproAccordionTemplate.spec.ts.snap +124 -0
- package/src/components/Amelipro/AmeliproAccordion/__tests__/AmeliproAccordion.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproAccordion/__tests__/__snapshots__/AmeliproAccordion.spec.ts.snap +124 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.mdx +20 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.stories.ts +135 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.vue +107 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/AmeliproAccordionGroup.spec.ts +37 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/__snapshots__/AmeliproAccordionGroup.spec.ts.snap +513 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/types.d.ts +4 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.mdx +16 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +300 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +288 -0
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/AmeliproAccordionList.spec.ts +38 -0
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/__snapshots__/AmeliproAccordionList.spec.ts.snap +1712 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.mdx +19 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.stories.ts +68 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.vue +66 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/AmeliproAccordionResultTemplate.vue +145 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/__tests__/AmeliproAccordionResultTemplate.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/__tests__/__snapshots__/AmeliproAccordionResultTemplate.spec.ts.snap +127 -0
- package/src/components/Amelipro/AmeliproAccordionResult/__tests__/AmeliproAccordionResult.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproAccordionResult/__tests__/__snapshots__/AmeliproAccordionResult.spec.ts.snap +123 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.mdx +20 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +273 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +275 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/AmeliproAccordionResultList.spec.ts +38 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/__snapshots__/AmeliproAccordionResultList.spec.ts.snap +1593 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.mdx +15 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.stories.ts +54 -0
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.vue +76 -0
- package/src/components/Amelipro/AmeliproBadge/__tests__/AmeliproBadge.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproBadge/__tests__/__snapshots__/AmeliproBadge.spec.ts.snap +19 -0
- package/src/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.mdx +15 -0
- package/src/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.stories.ts +87 -0
- package/src/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.vue +233 -0
- package/src/components/Amelipro/AmeliproCaptcha/__tests__/AmeliproCaptcha.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproCaptcha/__tests__/__snapshots__/AmeliproCaptcha.spec.ts.snap +384 -0
- package/src/components/Amelipro/AmeliproCaptcha/types.d.ts +5 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.mdx +15 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.stories.ts +191 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarousel.vue +263 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/AmeliproCarouselItem.vue +93 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/__tests__/AmeliproCarouselItem.spec.ts +24 -0
- package/src/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/__tests__/__snapshots__/AmeliproCarouselItem.spec.ts.snap +43 -0
- package/src/components/Amelipro/AmeliproCarousel/__tests__/AmeliproCarousel.spec.ts +40 -0
- package/src/components/Amelipro/AmeliproCarousel/__tests__/__snapshots__/AmeliproCarousel.spec.ts.snap +342 -0
- package/src/components/Amelipro/AmeliproCarousel/types.d.ts +8 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.mdx +18 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.stories.ts +67 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.vue +233 -0
- package/src/components/Amelipro/AmeliproClickableTile/tests/AmeliproClickableTile.spec.ts +21 -0
- package/src/components/Amelipro/AmeliproClickableTile/tests/__snapshots__/AmeliproClickableTile.spec.ts.snap +140 -0
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.mdx +15 -0
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.stories.ts +143 -0
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.vue +351 -0
- package/src/components/Amelipro/AmeliproCustomSelector/__tests__/AmeliproCustomSelector.spec.ts +50 -0
- package/src/components/Amelipro/AmeliproCustomSelector/__tests__/__snapshots__/AmeliproCustomSelector.spec.ts.snap +186 -0
- package/src/components/Amelipro/AmeliproCustomSelector/types.d.ts +6 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeader.vue +7 -1
- package/src/components/Amelipro/AmeliproHeader/tests/__snapshots__/AmeliproHeader.spec.ts.snap +5 -711
- package/src/components/Amelipro/AmeliproIcon/iconList.ts +6 -0
- package/src/components/Amelipro/AmeliproPageLayout/tests/__snapshots__/AmeliproPageLayout.spec.ts.snap +5 -711
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.mdx +15 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.stories.ts +264 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.vue +231 -0
- package/src/components/Amelipro/AmeliproResultList/__tests__/AmeliproResultList.spec.ts +37 -0
- package/src/components/Amelipro/AmeliproResultList/__tests__/__snapshots__/AmeliproResultList.spec.ts.snap +434 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.mdx +22 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.stories.ts +550 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +422 -0
- package/src/components/Amelipro/AmeliproTable/__tests__/AmeliproTable.spec.ts +72 -0
- package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +424 -0
- package/src/components/Amelipro/AmeliproTable/types.d.ts +34 -0
- package/src/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.stories.ts +2 -2
- package/src/components/Amelipro/ServiceMenu/ServiceMenu.vue +12 -1
- package/src/components/Amelipro/ServiceMenu/tests/__snapshots__/ServiceMenu.spec.ts.snap +0 -820
- package/src/components/Amelipro/types.ts +8 -0
- package/src/components/ChipList/Accessibilite.stories.ts +4 -0
- package/src/components/ChipList/ChipList.vue +185 -42
- package/src/components/ChipList/locales.ts +4 -2
- package/src/components/ChipList/tests/chipList.spec.ts +7 -4
- package/src/components/CollapsibleList/CollapsibleList.vue +0 -2
- package/src/components/CookieBanner/CookieBanner.vue +1 -3
- package/src/components/CopyBtn/CopyBtn.vue +9 -2
- package/src/components/CopyBtn/tests/CopyBtn.spec.ts +3 -1
- package/src/components/Customs/Selects/SelectOverview.mdx +18 -15
- package/src/components/Customs/Selects/SyBtnSelect/SyBtnSelect.stories.ts +10 -10
- package/src/components/Customs/Selects/SySelect/Accessibilite.mdx +7 -0
- package/src/components/Customs/Selects/SySelect/Accessibilite.stories.ts +4 -1
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +92 -4
- package/src/components/Customs/Selects/SySelect/SySelect.vue +373 -56
- package/src/components/Customs/Selects/SySelect/composables/tests/useSySelectKeyboard.spec.ts +14 -5
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +129 -12
- package/src/components/Customs/SyCheckbox/SyCheckbox.mdx +3 -1
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +165 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +28 -9
- package/src/components/Customs/SyIcon/SyIcon.spec.ts +3 -0
- package/src/components/Customs/SyTabs/Accessibilite.mdx +309 -0
- package/src/components/Customs/SyTabs/SyTabs.mdx +117 -0
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +354 -0
- package/src/components/Customs/SyTabs/SyTabs.vue +350 -0
- package/src/components/Customs/SyTabs/config.ts +17 -0
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +425 -0
- package/src/components/Customs/SyTabs/types.ts +12 -0
- package/src/components/Customs/SyTextField/Accessibilite.stories.ts +3 -1
- package/src/components/Customs/SyTextField/SyTextField.mdx +3 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +221 -7
- package/src/components/Customs/SyTextField/SyTextField.vue +226 -29
- package/src/components/DataList/Accessibilite.stories.ts +4 -0
- package/src/components/DataList/DataList.vue +52 -47
- package/src/components/DataListGroup/Accessibilite.stories.ts +4 -0
- package/src/components/DataListGroup/DataListGroup.vue +32 -15
- package/src/components/DataListItem/DataListItem.vue +72 -65
- package/src/components/DataListItem/config.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +3 -3
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +59 -18
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +174 -0
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +421 -636
- package/src/components/DatePicker/DatePickerValidationExample/CalendarMode.stories.ts +215 -0
- package/src/components/DatePicker/DatePickerValidationExample/ComplexDatePicker.stories.ts +218 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.mdx +2 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +287 -1
- package/src/components/DatePicker/DatePickerValidationExample/DateTextInput.stories.ts +218 -0
- package/src/components/DatePicker/DatePickerValidationExample/MultiMode.stories.ts +281 -0
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.events.spec.ts +17 -4
- package/src/components/DatePicker/DateTextInput/DateTextInput.range.spec.ts +111 -18
- package/src/components/DatePicker/DateTextInput/DateTextInput.spec.ts +238 -6
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +716 -759
- package/src/components/DatePicker/composables/tests/useDateInputEditing.spec.ts +4 -4
- package/src/components/DatePicker/composables/tests/useDisplayedDateString.spec.ts +17 -10
- package/src/components/DatePicker/composables/tests/useManualDateValidation.spec.ts +11 -3
- package/src/components/DatePicker/composables/useDateInputEditing.ts +119 -225
- package/src/components/DatePicker/composables/useDisplayedDateString.ts +18 -4
- package/src/components/DatePicker/composables/useKeyboardEvents.ts +149 -0
- package/src/components/DatePicker/composables/useManualDateValidation.ts +27 -68
- package/src/components/DatePicker/composables/useTodayButton.ts +13 -1
- package/src/components/DatePicker/utils/dateFormattingUtils.ts +293 -0
- package/src/components/DatePicker/utils/validationUtils.ts +90 -0
- package/src/components/DialogBox/Accessibilite.stories.ts +4 -0
- package/src/components/DialogBox/DialogBox.stories.ts +22 -10
- package/src/components/DialogBox/DialogBox.vue +89 -22
- package/src/components/DialogBox/tests/DialogBox.spec.ts +22 -0
- package/src/components/DialogBox/tests/__snapshots__/DialogBox.spec.ts.snap +12 -6
- package/src/components/FileUpload/tests/FileUpload.spec.ts +3 -0
- package/src/components/FooterBar/FooterBar.vue +1 -0
- package/src/components/HeaderBar/Accessibilite.stories.ts +4 -0
- package/src/components/HeaderBar/HeaderBar.mdx +47 -22
- package/src/components/HeaderBar/HeaderBar.stories.ts +54 -13
- package/src/components/HeaderBar/HeaderBar.vue +2 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.stories.ts +4 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.stories.ts +160 -82
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.vue +41 -56
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +10 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.vue +41 -18
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/tests/HeaderMenuSection.spec.ts +7 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.stories.ts +36 -9
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +41 -9
- package/src/components/HeaderBar/HeaderBurgerMenu/locals.ts +2 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.spec.ts +1 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/HeaderBurgerMenu.spec.ts.snap +8 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/useMenuPosition.ts +50 -0
- package/src/components/HeaderBar/HeaderLogo/HeaderLogo.vue +5 -5
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +7 -4
- package/src/components/HeaderBar/locales.ts +1 -1
- package/src/components/HeaderBar/tests/__snapshots__/HeaderBar.spec.ts.snap +2 -1
- package/src/components/HeaderLoading/Accessibilite.mdx +429 -8
- package/src/components/HeaderLoading/Accessibilite.stories.ts +4 -0
- package/src/components/HeaderLoading/HeaderLoading.vue +59 -1
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.mdx +17 -2
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.stories.ts +91 -2
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.vue +37 -1
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +276 -21
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.ts +4 -2
- package/src/components/LangBtn/LangBtn.vue +0 -3
- package/src/components/LogoBrandSection/Accessibilite.stories.ts +4 -1
- package/src/components/LogoBrandSection/LogoBrandSection.stories.ts +2 -2
- package/src/components/LogoBrandSection/LogoBrandSection.vue +13 -8
- package/src/components/LogoBrandSection/locales.ts +1 -1
- package/src/components/LogoBrandSection/tests/LogoBrandSection.spec.ts +1 -1
- package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +6 -4
- package/src/components/NirField/NirField.mdx +3 -0
- package/src/components/NirField/NirField.vue +15 -6
- package/src/components/NirField/tests/NirField.spec.ts +159 -12
- package/src/components/PasswordField/PasswordField.mdx +3 -0
- package/src/components/PeriodField/PeriodField.mdx +2 -0
- package/src/components/PeriodField/PeriodField.stories.ts +195 -0
- package/src/components/PhoneField/Accessibilite.stories.ts +4 -0
- package/src/components/PhoneField/PhoneField.mdx +3 -1
- package/src/components/PhoneField/PhoneField.stories.ts +285 -1
- package/src/components/PhoneField/PhoneField.vue +228 -95
- package/src/components/PhoneField/indicatifs.ts +102 -102
- package/src/components/PhoneField/locales.ts +1 -0
- package/src/components/PhoneField/tests/PhoneField.spec.ts +429 -2
- package/src/components/SkipLink/SkipLink.vue +3 -31
- package/src/components/SkipLink/tests/skipLink.spec.ts +0 -21
- package/src/components/SubHeader/Accessibilite.stories.ts +8 -0
- package/src/components/SubHeader/SubHeader.mdx +1 -0
- package/src/components/SubHeader/SubHeader.stories.ts +179 -60
- package/src/components/SubHeader/SubHeader.vue +45 -15
- package/src/components/SubHeader/locales.ts +1 -0
- package/src/components/SyAlert/SyAlert.vue +6 -0
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +3 -10
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +242 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +29 -10
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +104 -6
- package/src/components/Tables/SyTable/SyTable.mdx +3 -10
- package/src/components/Tables/SyTable/SyTable.stories.ts +242 -0
- package/src/components/Tables/SyTable/SyTable.vue +2 -0
- package/src/components/Tables/common/SyTablePagination.vue +13 -6
- package/src/components/Tables/common/TableHeader.vue +10 -7
- package/src/components/Tables/common/tableAccessibilityUtils.ts +13 -2
- package/src/components/Tables/common/tests/SyTablePagination.spec.ts +157 -0
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/Tables/common/useTableAria.ts +17 -1
- package/src/components/UserMenuBtn/tests/UserMenuBtn.spec.ts +2 -1
- package/src/components/index.ts +13 -0
- package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +34 -5
- package/src/composables/index.ts +3 -0
- package/src/composables/useFilterable/useFilterable.ts +23 -1
- package/src/composables/usePagination.ts +103 -0
- package/src/designTokens/tokens/amelipro/apColors.ts +1 -1
- package/src/designTokens/tokens/cnam/cnamSemantic.ts +3 -3
- package/src/directives/lockFocus.ts +48 -0
- package/src/main.ts +1 -2
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +1 -8
- package/src/stories/Accessibilite/{Aculturation/AuditDesignSystem.mdx → AuditDesignSystem.mdx} +1 -1
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.mdx +102 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.stories.ts +219 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/{Tanaguru.mdx → Tanaguru/Utilisation.mdx} +1 -1
- package/src/stories/Components/Components.stories.ts +1 -1
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +43 -0
- package/src/stories/DesignTokens/Colors.mdx +2 -0
- package/src/stories/DesignTokens/colors.stories.ts +9 -0
- package/src/stories/GuideDuDev/FormValidationGuide.mdx +342 -0
- package/src/stories/Templates/Templates.stories.ts +1 -1
- package/src/utils/functions/ameliproColors/ameliproColors.ts +1 -1
- package/src/vuetifyConfig.ts +3 -3
- package/dist/components/DataList/locales.d.ts +0 -3
- package/dist/directives/letterSpacing.d.ts +0 -27
- package/src/assets/_fonts.scss +0 -6
- package/src/assets/_typography.scss +0 -157
- package/src/components/DataList/locales.ts +0 -3
- package/src/components/PhoneField/tests/PhoneField.additional.spec.ts +0 -266
- package/src/directives/letterSpacing.ts +0 -233
- /package/src/assets/{_elevations.scss → overrides/_elevations.scss} +0 -0
- /package/src/assets/{_radius.scss → overrides/_radius.scss} +0 -0
|
@@ -1,104 +1,104 @@
|
|
|
1
1
|
export const indicatifs = [
|
|
2
|
-
{ code: '+1', country: 'USA/Canada', abbreviation: 'US/CA', phoneLength: 10, mask: '### ### ####' },
|
|
3
|
-
{ code: '+7', country: 'Russia/Kazakhstan', abbreviation: 'RU/KZ', phoneLength: 10, mask: '### ### ## ##' },
|
|
4
|
-
{ code: '+20', country: 'Egypt', abbreviation: 'EG', phoneLength: 9, mask: '### ### ####' },
|
|
5
|
-
{ code: '+27', country: 'South Africa', abbreviation: 'ZA', phoneLength: 9, mask: '### ### ####' },
|
|
6
|
-
{ code: '+30', country: 'Greece', abbreviation: 'GR', phoneLength: 10, mask: '### ### ####' },
|
|
7
|
-
{ code: '+31', country: 'Netherlands', abbreviation: 'NL', phoneLength: 9, mask: '## ### ####' },
|
|
8
|
-
{ code: '+32', country: 'Belgium', abbreviation: 'BE', phoneLength: 9, mask: '### ### ###' },
|
|
9
|
-
{ code: '+33', country: 'France', abbreviation: 'FR', phoneLength: 10, mask: '## ## ## ## ##' },
|
|
10
|
-
{ code: '+34', country: 'Spain', abbreviation: 'ES', phoneLength: 9, mask: '### ### ###' },
|
|
11
|
-
{ code: '+36', country: 'Hungary', abbreviation: 'HU', phoneLength: 9, mask: '## ### ####' },
|
|
12
|
-
{ code: '+39', country: 'Italy', abbreviation: 'IT', phoneLength: 10, mask: '### ### ####' },
|
|
13
|
-
{ code: '+40', country: 'Romania', abbreviation: 'RO', phoneLength: 9, mask: '### ### ###' },
|
|
14
|
-
{ code: '+41', country: 'Switzerland', abbreviation: 'CH', phoneLength: 9, mask: '## ### ## ##' },
|
|
15
|
-
{ code: '+44', country: 'United Kingdom', abbreviation: 'GB', phoneLength: 10, mask: '#### ### ####' },
|
|
16
|
-
{ code: '+45', country: 'Denmark', abbreviation: 'DK', phoneLength: 8, mask: '## ## ## ##' },
|
|
17
|
-
{ code: '+46', country: 'Sweden', abbreviation: 'SE', phoneLength: 9, mask: '## ### ## ##' },
|
|
18
|
-
{ code: '+47', country: 'Norway', abbreviation: 'NO', phoneLength: 8, mask: '### ## ###' },
|
|
19
|
-
{ code: '+48', country: 'Poland', abbreviation: 'PL', phoneLength: 9, mask: '### ### ###' },
|
|
20
|
-
{ code: '+49', country: 'Germany', abbreviation: 'DE', phoneLength: 10, mask: '#### ### ####' },
|
|
21
|
-
{ code: '+51', country: 'Peru', abbreviation: 'PE', phoneLength: 9, mask: '### ### ###' },
|
|
22
|
-
{ code: '+52', country: 'Mexico', abbreviation: 'MX', phoneLength: 10, mask: '## #### ####' },
|
|
23
|
-
{ code: '+53', country: 'Cuba', abbreviation: 'CU', phoneLength: 8, mask: '### ### ###' },
|
|
24
|
-
{ code: '+54', country: 'Argentina', abbreviation: 'AR', phoneLength: 10, mask: '### ### ####' },
|
|
25
|
-
{ code: '+55', country: 'Brazil', abbreviation: 'BR', phoneLength: 11, mask: '## ##### ####' },
|
|
26
|
-
{ code: '+56', country: 'Chile', abbreviation: 'CL', phoneLength: 9, mask: '## #### ####' },
|
|
27
|
-
{ code: '+57', country: 'Colombia', abbreviation: 'CO', phoneLength: 10, mask: '### ### ####' },
|
|
28
|
-
{ code: '+58', country: 'Venezuela', abbreviation: 'VE', phoneLength: 10, mask: '### ### ####' },
|
|
29
|
-
{ code: '+60', country: 'Malaysia', abbreviation: 'MY', phoneLength: 10, mask: '## ### ####' },
|
|
30
|
-
{ code: '+61', country: 'Australia', abbreviation: 'AU', phoneLength: 9, mask: '### ### ###' },
|
|
31
|
-
{ code: '+62', country: 'Indonesia', abbreviation: 'ID', phoneLength: 10, mask: '### ### ####' },
|
|
32
|
-
{ code: '+63', country: 'Philippines', abbreviation: 'PH', phoneLength: 10, mask: '### ### ####' },
|
|
33
|
-
{ code: '+64', country: 'New Zealand', abbreviation: 'NZ', phoneLength: 9, mask: '### ### ###' },
|
|
34
|
-
{ code: '+65', country: 'Singapore', abbreviation: 'SG', phoneLength: 8, mask: '#### ####' },
|
|
35
|
-
{ code: '+66', country: 'Thailand', abbreviation: 'TH', phoneLength: 9, mask: '### ### ###' },
|
|
36
|
-
{ code: '+81', country: 'Japan', abbreviation: 'JP', phoneLength: 10, mask: '## #### ####' },
|
|
37
|
-
{ code: '+82', country: 'South Korea', abbreviation: 'KR', phoneLength: 10, mask: '## #### ####' },
|
|
38
|
-
{ code: '+84', country: 'Vietnam', abbreviation: 'VN', phoneLength: 9, mask: '## ### ####' },
|
|
39
|
-
{ code: '+86', country: 'China', abbreviation: 'CN', phoneLength: 11, mask: '### #### ####' },
|
|
40
|
-
{ code: '+90', country: 'Turkey', abbreviation: 'TR', phoneLength: 10, mask: '### ### ## ##' },
|
|
41
|
-
{ code: '+91', country: 'India', abbreviation: 'IN', phoneLength: 10, mask: '##### #####' },
|
|
42
|
-
{ code: '+92', country: 'Pakistan', abbreviation: 'PK', phoneLength: 10, mask: '### #### ####' },
|
|
43
|
-
{ code: '+93', country: 'Afghanistan', abbreviation: 'AF', phoneLength: 9, mask: '## ### ####' },
|
|
44
|
-
{ code: '+94', country: 'Sri Lanka', abbreviation: 'LK', phoneLength: 9, mask: '### ### ####' },
|
|
45
|
-
{ code: '+95', country: 'Myanmar', abbreviation: 'MM', phoneLength: 9, mask: '## ### ###' },
|
|
46
|
-
{ code: '+98', country: 'Iran', abbreviation: 'IR', phoneLength: 10, mask: '### ### ####' },
|
|
47
|
-
{ code: '+212', country: 'Morocco', abbreviation: 'MA', phoneLength: 9, mask: '### #### ###' },
|
|
48
|
-
{ code: '+213', country: 'Algeria', abbreviation: 'DZ', phoneLength: 9, mask: '### ### ####' },
|
|
49
|
-
{ code: '+216', country: 'Tunisia', abbreviation: 'TN', phoneLength: 8, mask: '## ### ###' },
|
|
50
|
-
{ code: '+218', country: 'Libya', abbreviation: 'LY', phoneLength: 9, mask: '### ### ###' },
|
|
51
|
-
{ code: '+262', country: 'Réunion', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
52
|
-
{ code: '+508', country: 'Saint Pierre and Miquelon', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
53
|
-
{ code: '+590', country: 'Guadeloupe', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
54
|
-
{ code: '+594', country: 'French Guiana', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
55
|
-
{ code: '+596', country: 'Martinique', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
56
|
-
{ code: '+687', country: 'New Caledonia', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
57
|
-
{ code: '+689', country: 'French Polynesia', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
58
|
-
{ code: '+220', country: 'Gambia', abbreviation: 'GM', phoneLength: 8, mask: '### ## ##' },
|
|
59
|
-
{ code: '+221', country: 'Senegal', abbreviation: 'SN', phoneLength: 9, mask: '## ### ####' },
|
|
60
|
-
{ code: '+222', country: 'Mauritania', abbreviation: 'MR', phoneLength: 8, mask: '## ## ## ##' },
|
|
61
|
-
{ code: '+223', country: 'Mali', abbreviation: 'ML', phoneLength: 8, mask: '## ## ## ##' },
|
|
62
|
-
{ code: '+224', country: 'Guinea', abbreviation: 'GN', phoneLength: 9, mask: '## ### ####' },
|
|
63
|
-
{ code: '+225', country: 'Ivory Coast', abbreviation: 'CI', phoneLength: 8, mask: '## ## ## ##' },
|
|
64
|
-
{ code: '+226', country: 'Burkina Faso', abbreviation: 'BF', phoneLength: 8, mask: '## ## ## ##' },
|
|
65
|
-
{ code: '+227', country: 'Niger', abbreviation: 'NE', phoneLength: 8, mask: '## ## ## ##' },
|
|
66
|
-
{ code: '+228', country: 'Togo', abbreviation: 'TG', phoneLength: 8, mask: '## ## ## ##' },
|
|
67
|
-
{ code: '+229', country: 'Benin', abbreviation: 'BJ', phoneLength: 8, mask: '## ## ## ##' },
|
|
68
|
-
{ code: '+230', country: 'Mauritius', abbreviation: 'MU', phoneLength: 7, mask: '### ####' },
|
|
69
|
-
{ code: '+231', country: 'Liberia', abbreviation: 'LR', phoneLength: 7, mask: '## ### ###' },
|
|
70
|
-
{ code: '+232', country: 'Sierra Leone', abbreviation: 'SL', phoneLength: 8, mask: '## #### ####' },
|
|
71
|
-
{ code: '+233', country: 'Ghana', abbreviation: 'GH', phoneLength: 9, mask: '### ### ###' },
|
|
72
|
-
{ code: '+234', country: 'Nigeria', abbreviation: 'NG', phoneLength: 8, mask: '### ### ###' },
|
|
73
|
-
{ code: '+235', country: 'Chad', abbreviation: 'TD', phoneLength: 8, mask: '## ## ## ##' },
|
|
74
|
-
{ code: '+236', country: 'Central African Republic', abbreviation: 'CF', phoneLength: 8, mask: '## ## ## ##' },
|
|
75
|
-
{ code: '+237', country: 'Cameroon', abbreviation: 'CM', phoneLength: 9, mask: '## ### ####' },
|
|
76
|
-
{ code: '+238', country: 'Cape Verde', abbreviation: 'CV', phoneLength: 7, mask: '### ####' },
|
|
77
|
-
{ code: '+239', country: 'Sao Tome and Principe', abbreviation: 'ST', phoneLength: 7, mask: '### ####' },
|
|
78
|
-
{ code: '+240', country: 'Equatorial Guinea', abbreviation: 'GQ', phoneLength: 9, mask: '### ### ####' },
|
|
79
|
-
{ code: '+241', country: 'Gabon', abbreviation: 'GA', phoneLength: 9, mask: '## ### ####' },
|
|
80
|
-
{ code: '+242', country: 'Republic of the Congo', abbreviation: 'CG', phoneLength: 9, mask: '## ### ####' },
|
|
81
|
-
{ code: '+243', country: 'Democratic Republic of the Congo', abbreviation: 'CD', phoneLength: 9, mask: '### ### ####' },
|
|
82
|
-
{ code: '+244', country: 'Angola', abbreviation: 'AO', phoneLength: 9, mask: '### ### ####' },
|
|
83
|
-
{ code: '+245', country: 'Guinea-Bissau', abbreviation: 'GW', phoneLength: 7, mask: '### ####' },
|
|
84
|
-
{ code: '+248', country: 'Seychelles', abbreviation: 'SC', phoneLength: 7, mask: '### ####' },
|
|
85
|
-
{ code: '+249', country: 'Sudan', abbreviation: 'SD', phoneLength: 9, mask: '### ### ####' },
|
|
86
|
-
{ code: '+250', country: 'Rwanda', abbreviation: 'RW', phoneLength: 9, mask: '### ### ###' },
|
|
87
|
-
{ code: '+251', country: 'Ethiopia', abbreviation: 'ET', phoneLength: 9, mask: '### ### ###' },
|
|
88
|
-
{ code: '+252', country: 'Somalia', abbreviation: 'SO', phoneLength: 8, mask: '### ### ##' },
|
|
89
|
-
{ code: '+253', country: 'Djibouti', abbreviation: 'DJ', phoneLength: 8, mask: '## ## ## ##' },
|
|
90
|
-
{ code: '+254', country: 'Kenya', abbreviation: 'KE', phoneLength: 9, mask: '### ### ###' },
|
|
91
|
-
{ code: '+255', country: 'Tanzania', abbreviation: 'TZ', phoneLength: 9, mask: '### ### ###' },
|
|
92
|
-
{ code: '+256', country: 'Uganda', abbreviation: 'UG', phoneLength: 9, mask: '### ### ###' },
|
|
93
|
-
{ code: '+257', country: 'Burundi', abbreviation: 'BI', phoneLength: 8, mask: '## ## ## ##' },
|
|
94
|
-
{ code: '+258', country: 'Mozambique', abbreviation: 'MZ', phoneLength: 9, mask: '## ### ####' },
|
|
95
|
-
{ code: '+260', country: 'Zambia', abbreviation: 'ZM', phoneLength: 9, mask: '### ### ###' },
|
|
96
|
-
{ code: '+261', country: 'Madagascar', abbreviation: 'MG', phoneLength: 9, mask: '## ## ###' },
|
|
97
|
-
{ code: '+263', country: 'Zimbabwe', abbreviation: 'ZW', phoneLength: 9, mask: '### ### ###' },
|
|
98
|
-
{ code: '+264', country: 'Namibia', abbreviation: 'NA', phoneLength: 9, mask: '### ### ###' },
|
|
99
|
-
{ code: '+265', country: 'Malawi', abbreviation: 'MW', phoneLength: 9, mask: '### ### ###' },
|
|
100
|
-
{ code: '+266', country: 'Lesotho', abbreviation: 'LS', phoneLength: 8, mask: '## ### ###' },
|
|
101
|
-
{ code: '+267', country: 'Botswana', abbreviation: 'BW', phoneLength: 8, mask: '## ### ###' },
|
|
102
|
-
{ code: '+268', country: 'Eswatini', abbreviation: 'SZ', phoneLength: 9, mask: '### ### ###' },
|
|
103
|
-
{ code: '+269', country: 'Comoros', abbreviation: 'KM', phoneLength: 7, mask: '### ####' },
|
|
2
|
+
{ code: '+1', country: 'USA/Canada', countryFr: 'États-Unis/Canada', abbreviation: 'US/CA', phoneLength: 10, mask: '### ### ####' },
|
|
3
|
+
{ code: '+7', country: 'Russia/Kazakhstan', countryFr: 'Russie/Kazakhstan', abbreviation: 'RU/KZ', phoneLength: 10, mask: '### ### ## ##' },
|
|
4
|
+
{ code: '+20', country: 'Egypt', countryFr: 'Égypte', abbreviation: 'EG', phoneLength: 9, mask: '### ### ####' },
|
|
5
|
+
{ code: '+27', country: 'South Africa', countryFr: 'Afrique du Sud', abbreviation: 'ZA', phoneLength: 9, mask: '### ### ####' },
|
|
6
|
+
{ code: '+30', country: 'Greece', countryFr: 'Grèce', abbreviation: 'GR', phoneLength: 10, mask: '### ### ####' },
|
|
7
|
+
{ code: '+31', country: 'Netherlands', countryFr: 'Pays-Bas', abbreviation: 'NL', phoneLength: 9, mask: '## ### ####' },
|
|
8
|
+
{ code: '+32', country: 'Belgium', countryFr: 'Belgique', abbreviation: 'BE', phoneLength: 9, mask: '### ### ###' },
|
|
9
|
+
{ code: '+33', country: 'France', countryFr: 'France', abbreviation: 'FR', phoneLength: 10, mask: '## ## ## ## ##' },
|
|
10
|
+
{ code: '+34', country: 'Spain', countryFr: 'Espagne', abbreviation: 'ES', phoneLength: 9, mask: '### ### ###' },
|
|
11
|
+
{ code: '+36', country: 'Hungary', countryFr: 'Hongrie', abbreviation: 'HU', phoneLength: 9, mask: '## ### ####' },
|
|
12
|
+
{ code: '+39', country: 'Italy', countryFr: 'Italie', abbreviation: 'IT', phoneLength: 10, mask: '### ### ####' },
|
|
13
|
+
{ code: '+40', country: 'Romania', countryFr: 'Roumanie', abbreviation: 'RO', phoneLength: 9, mask: '### ### ###' },
|
|
14
|
+
{ code: '+41', country: 'Switzerland', countryFr: 'Suisse', abbreviation: 'CH', phoneLength: 9, mask: '## ### ## ##' },
|
|
15
|
+
{ code: '+44', country: 'United Kingdom', countryFr: 'Royaume-Uni', abbreviation: 'GB', phoneLength: 10, mask: '#### ### ####' },
|
|
16
|
+
{ code: '+45', country: 'Denmark', countryFr: 'Danemark', abbreviation: 'DK', phoneLength: 8, mask: '## ## ## ##' },
|
|
17
|
+
{ code: '+46', country: 'Sweden', countryFr: 'Suède', abbreviation: 'SE', phoneLength: 9, mask: '## ### ## ##' },
|
|
18
|
+
{ code: '+47', country: 'Norway', countryFr: 'Norvège', abbreviation: 'NO', phoneLength: 8, mask: '### ## ###' },
|
|
19
|
+
{ code: '+48', country: 'Poland', countryFr: 'Pologne', abbreviation: 'PL', phoneLength: 9, mask: '### ### ###' },
|
|
20
|
+
{ code: '+49', country: 'Germany', countryFr: 'Allemagne', abbreviation: 'DE', phoneLength: 10, mask: '#### ### ####' },
|
|
21
|
+
{ code: '+51', country: 'Peru', countryFr: 'Pérou', abbreviation: 'PE', phoneLength: 9, mask: '### ### ###' },
|
|
22
|
+
{ code: '+52', country: 'Mexico', countryFr: 'Mexique', abbreviation: 'MX', phoneLength: 10, mask: '## #### ####' },
|
|
23
|
+
{ code: '+53', country: 'Cuba', countryFr: 'Cuba', abbreviation: 'CU', phoneLength: 8, mask: '### ### ###' },
|
|
24
|
+
{ code: '+54', country: 'Argentina', countryFr: 'Argentine', abbreviation: 'AR', phoneLength: 10, mask: '### ### ####' },
|
|
25
|
+
{ code: '+55', country: 'Brazil', countryFr: 'Brésil', abbreviation: 'BR', phoneLength: 11, mask: '## ##### ####' },
|
|
26
|
+
{ code: '+56', country: 'Chile', countryFr: 'Chili', abbreviation: 'CL', phoneLength: 9, mask: '## #### ####' },
|
|
27
|
+
{ code: '+57', country: 'Colombia', countryFr: 'Colombie', abbreviation: 'CO', phoneLength: 10, mask: '### ### ####' },
|
|
28
|
+
{ code: '+58', country: 'Venezuela', countryFr: 'Venezuela', abbreviation: 'VE', phoneLength: 10, mask: '### ### ####' },
|
|
29
|
+
{ code: '+60', country: 'Malaysia', countryFr: 'Malaisie', abbreviation: 'MY', phoneLength: 10, mask: '## ### ####' },
|
|
30
|
+
{ code: '+61', country: 'Australia', countryFr: 'Australie', abbreviation: 'AU', phoneLength: 9, mask: '### ### ###' },
|
|
31
|
+
{ code: '+62', country: 'Indonesia', countryFr: 'Indonésie', abbreviation: 'ID', phoneLength: 10, mask: '### ### ####' },
|
|
32
|
+
{ code: '+63', country: 'Philippines', countryFr: 'Philippines', abbreviation: 'PH', phoneLength: 10, mask: '### ### ####' },
|
|
33
|
+
{ code: '+64', country: 'New Zealand', countryFr: 'Nouvelle-Zélande', abbreviation: 'NZ', phoneLength: 9, mask: '### ### ###' },
|
|
34
|
+
{ code: '+65', country: 'Singapore', countryFr: 'Singapour', abbreviation: 'SG', phoneLength: 8, mask: '#### ####' },
|
|
35
|
+
{ code: '+66', country: 'Thailand', countryFr: 'Thaïlande', abbreviation: 'TH', phoneLength: 9, mask: '### ### ###' },
|
|
36
|
+
{ code: '+81', country: 'Japan', countryFr: 'Japon', abbreviation: 'JP', phoneLength: 10, mask: '## #### ####' },
|
|
37
|
+
{ code: '+82', country: 'South Korea', countryFr: 'Corée du Sud', abbreviation: 'KR', phoneLength: 10, mask: '## #### ####' },
|
|
38
|
+
{ code: '+84', country: 'Vietnam', countryFr: 'Vietnam', abbreviation: 'VN', phoneLength: 9, mask: '## ### ####' },
|
|
39
|
+
{ code: '+86', country: 'China', countryFr: 'Chine', abbreviation: 'CN', phoneLength: 11, mask: '### #### ####' },
|
|
40
|
+
{ code: '+90', country: 'Turkey', countryFr: 'Turquie', abbreviation: 'TR', phoneLength: 10, mask: '### ### ## ##' },
|
|
41
|
+
{ code: '+91', country: 'India', countryFr: 'Inde', abbreviation: 'IN', phoneLength: 10, mask: '##### #####' },
|
|
42
|
+
{ code: '+92', country: 'Pakistan', countryFr: 'Pakistan', abbreviation: 'PK', phoneLength: 10, mask: '### #### ####' },
|
|
43
|
+
{ code: '+93', country: 'Afghanistan', countryFr: 'Afghanistan', abbreviation: 'AF', phoneLength: 9, mask: '## ### ####' },
|
|
44
|
+
{ code: '+94', country: 'Sri Lanka', countryFr: 'Sri Lanka', abbreviation: 'LK', phoneLength: 9, mask: '### ### ####' },
|
|
45
|
+
{ code: '+95', country: 'Myanmar', countryFr: 'Myanmar', abbreviation: 'MM', phoneLength: 9, mask: '## ### ###' },
|
|
46
|
+
{ code: '+98', country: 'Iran', countryFr: 'Iran', abbreviation: 'IR', phoneLength: 10, mask: '### ### ####' },
|
|
47
|
+
{ code: '+212', country: 'Morocco', countryFr: 'Maroc', abbreviation: 'MA', phoneLength: 9, mask: '### #### ###' },
|
|
48
|
+
{ code: '+213', country: 'Algeria', countryFr: 'Algérie', abbreviation: 'DZ', phoneLength: 9, mask: '### ### ####' },
|
|
49
|
+
{ code: '+216', country: 'Tunisia', countryFr: 'Tunisie', abbreviation: 'TN', phoneLength: 8, mask: '## ### ###' },
|
|
50
|
+
{ code: '+218', country: 'Libya', countryFr: 'Libye', abbreviation: 'LY', phoneLength: 9, mask: '### ### ###' },
|
|
51
|
+
{ code: '+262', country: 'Réunion', countryFr: 'Réunion', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
52
|
+
{ code: '+508', country: 'Saint Pierre and Miquelon', countryFr: 'Saint-Pierre-et-Miquelon', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
53
|
+
{ code: '+590', country: 'Guadeloupe', countryFr: 'Guadeloupe', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
54
|
+
{ code: '+594', country: 'French Guiana', countryFr: 'Guyane française', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
55
|
+
{ code: '+596', country: 'Martinique', countryFr: 'Martinique', abbreviation: 'FR', phoneLength: 9, mask: '### ### ###' },
|
|
56
|
+
{ code: '+687', country: 'New Caledonia', countryFr: 'Nouvelle-Calédonie', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
57
|
+
{ code: '+689', country: 'French Polynesia', countryFr: 'Polynésie française', abbreviation: 'FR', phoneLength: 6, mask: '## ## ##' },
|
|
58
|
+
{ code: '+220', country: 'Gambia', countryFr: 'Gambie', abbreviation: 'GM', phoneLength: 8, mask: '### ## ##' },
|
|
59
|
+
{ code: '+221', country: 'Senegal', countryFr: 'Sénégal', abbreviation: 'SN', phoneLength: 9, mask: '## ### ####' },
|
|
60
|
+
{ code: '+222', country: 'Mauritania', countryFr: 'Mauritanie', abbreviation: 'MR', phoneLength: 8, mask: '## ## ## ##' },
|
|
61
|
+
{ code: '+223', country: 'Mali', countryFr: 'Mali', abbreviation: 'ML', phoneLength: 8, mask: '## ## ## ##' },
|
|
62
|
+
{ code: '+224', country: 'Guinea', countryFr: 'Guinée', abbreviation: 'GN', phoneLength: 9, mask: '## ### ####' },
|
|
63
|
+
{ code: '+225', country: 'Ivory Coast', countryFr: 'Côte d\'Ivoire', abbreviation: 'CI', phoneLength: 8, mask: '## ## ## ##' },
|
|
64
|
+
{ code: '+226', country: 'Burkina Faso', countryFr: 'Burkina Faso', abbreviation: 'BF', phoneLength: 8, mask: '## ## ## ##' },
|
|
65
|
+
{ code: '+227', country: 'Niger', countryFr: 'Niger', abbreviation: 'NE', phoneLength: 8, mask: '## ## ## ##' },
|
|
66
|
+
{ code: '+228', country: 'Togo', countryFr: 'Togo', abbreviation: 'TG', phoneLength: 8, mask: '## ## ## ##' },
|
|
67
|
+
{ code: '+229', country: 'Benin', countryFr: 'Bénin', abbreviation: 'BJ', phoneLength: 8, mask: '## ## ## ##' },
|
|
68
|
+
{ code: '+230', country: 'Mauritius', countryFr: 'Maurice', abbreviation: 'MU', phoneLength: 7, mask: '### ####' },
|
|
69
|
+
{ code: '+231', country: 'Liberia', countryFr: 'Libéria', abbreviation: 'LR', phoneLength: 7, mask: '## ### ###' },
|
|
70
|
+
{ code: '+232', country: 'Sierra Leone', countryFr: 'Sierra Leone', abbreviation: 'SL', phoneLength: 8, mask: '## #### ####' },
|
|
71
|
+
{ code: '+233', country: 'Ghana', countryFr: 'Ghana', abbreviation: 'GH', phoneLength: 9, mask: '### ### ###' },
|
|
72
|
+
{ code: '+234', country: 'Nigeria', countryFr: 'Nigéria', abbreviation: 'NG', phoneLength: 8, mask: '### ### ###' },
|
|
73
|
+
{ code: '+235', country: 'Chad', countryFr: 'Tchad', abbreviation: 'TD', phoneLength: 8, mask: '## ## ## ##' },
|
|
74
|
+
{ code: '+236', country: 'Central African Republic', countryFr: 'République centrafricaine', abbreviation: 'CF', phoneLength: 8, mask: '## ## ## ##' },
|
|
75
|
+
{ code: '+237', country: 'Cameroon', countryFr: 'Cameroun', abbreviation: 'CM', phoneLength: 9, mask: '## ### ####' },
|
|
76
|
+
{ code: '+238', country: 'Cape Verde', countryFr: 'Cap-Vert', abbreviation: 'CV', phoneLength: 7, mask: '### ####' },
|
|
77
|
+
{ code: '+239', country: 'Sao Tome and Principe', countryFr: 'São Tomé-et-Principe', abbreviation: 'ST', phoneLength: 7, mask: '### ####' },
|
|
78
|
+
{ code: '+240', country: 'Equatorial Guinea', countryFr: 'Guinée équatoriale', abbreviation: 'GQ', phoneLength: 9, mask: '### ### ####' },
|
|
79
|
+
{ code: '+241', country: 'Gabon', countryFr: 'Gabon', abbreviation: 'GA', phoneLength: 9, mask: '## ### ####' },
|
|
80
|
+
{ code: '+242', country: 'Republic of the Congo', countryFr: 'République du Congo', abbreviation: 'CG', phoneLength: 9, mask: '## ### ####' },
|
|
81
|
+
{ code: '+243', country: 'Democratic Republic of the Congo', countryFr: 'République démocratique du Congo', abbreviation: 'CD', phoneLength: 9, mask: '### ### ####' },
|
|
82
|
+
{ code: '+244', country: 'Angola', countryFr: 'Angola', abbreviation: 'AO', phoneLength: 9, mask: '### ### ####' },
|
|
83
|
+
{ code: '+245', country: 'Guinea-Bissau', countryFr: 'Guinée-Bissau', abbreviation: 'GW', phoneLength: 7, mask: '### ####' },
|
|
84
|
+
{ code: '+248', country: 'Seychelles', countryFr: 'Seychelles', abbreviation: 'SC', phoneLength: 7, mask: '### ####' },
|
|
85
|
+
{ code: '+249', country: 'Sudan', countryFr: 'Soudan', abbreviation: 'SD', phoneLength: 9, mask: '### ### ####' },
|
|
86
|
+
{ code: '+250', country: 'Rwanda', countryFr: 'Rwanda', abbreviation: 'RW', phoneLength: 9, mask: '### ### ###' },
|
|
87
|
+
{ code: '+251', country: 'Ethiopia', countryFr: 'Éthiopie', abbreviation: 'ET', phoneLength: 9, mask: '### ### ###' },
|
|
88
|
+
{ code: '+252', country: 'Somalia', countryFr: 'Somalie', abbreviation: 'SO', phoneLength: 8, mask: '### ### ##' },
|
|
89
|
+
{ code: '+253', country: 'Djibouti', countryFr: 'Djibouti', abbreviation: 'DJ', phoneLength: 8, mask: '## ## ## ##' },
|
|
90
|
+
{ code: '+254', country: 'Kenya', countryFr: 'Kenya', abbreviation: 'KE', phoneLength: 9, mask: '### ### ###' },
|
|
91
|
+
{ code: '+255', country: 'Tanzania', countryFr: 'Tanzanie', abbreviation: 'TZ', phoneLength: 9, mask: '### ### ###' },
|
|
92
|
+
{ code: '+256', country: 'Uganda', countryFr: 'Ouganda', abbreviation: 'UG', phoneLength: 9, mask: '### ### ###' },
|
|
93
|
+
{ code: '+257', country: 'Burundi', countryFr: 'Burundi', abbreviation: 'BI', phoneLength: 8, mask: '## ## ## ##' },
|
|
94
|
+
{ code: '+258', country: 'Mozambique', countryFr: 'Mozambique', abbreviation: 'MZ', phoneLength: 9, mask: '## ### ####' },
|
|
95
|
+
{ code: '+260', country: 'Zambia', countryFr: 'Zambie', abbreviation: 'ZM', phoneLength: 9, mask: '### ### ###' },
|
|
96
|
+
{ code: '+261', country: 'Madagascar', countryFr: 'Madagascar', abbreviation: 'MG', phoneLength: 9, mask: '## ## ###' },
|
|
97
|
+
{ code: '+263', country: 'Zimbabwe', countryFr: 'Zimbabwe', abbreviation: 'ZW', phoneLength: 9, mask: '### ### ###' },
|
|
98
|
+
{ code: '+264', country: 'Namibia', countryFr: 'Namibie', abbreviation: 'NA', phoneLength: 9, mask: '### ### ###' },
|
|
99
|
+
{ code: '+265', country: 'Malawi', countryFr: 'Malawi', abbreviation: 'MW', phoneLength: 9, mask: '### ### ###' },
|
|
100
|
+
{ code: '+266', country: 'Lesotho', countryFr: 'Lesotho', abbreviation: 'LS', phoneLength: 8, mask: '## ### ###' },
|
|
101
|
+
{ code: '+267', country: 'Botswana', countryFr: 'Botswana', abbreviation: 'BW', phoneLength: 8, mask: '## ### ###' },
|
|
102
|
+
{ code: '+268', country: 'Eswatini', countryFr: 'Eswatini', abbreviation: 'SZ', phoneLength: 9, mask: '### ### ###' },
|
|
103
|
+
{ code: '+269', country: 'Comoros', countryFr: 'Comores', abbreviation: 'KM', phoneLength: 7, mask: '### ####' },
|
|
104
104
|
]
|