@cnamts/synapse 1.0.7 → 1.0.9
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-CHDLz2EO.js → DateFilter-BylukfjR.js} +1 -1
- package/dist/{NumberFilter-DXNQ4Uls.js → NumberFilter-C_bUk9o1.js} +1 -1
- package/dist/{PeriodFilter-C8Qf3Jcn.js → PeriodFilter-dVOmcfmt.js} +1 -1
- package/dist/{SelectFilter-B2Ejs4Cb.js → SelectFilter-BW8KpXkQ.js} +1 -1
- package/dist/{TextFilter-CfR5_A1S.js → TextFilter-diwVzTz7.js} +1 -1
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +2785 -2770
- package/dist/components/Amelipro/AmeliproCallback/AmeliproCallback.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +7 -7
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarouselItem/AmeliproCarouselItem.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproContentLayout/AmeliproContentLayout.d.ts +30 -0
- package/dist/components/Amelipro/AmeliproContentLayout/index.d.ts +2 -0
- package/dist/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.d.ts +24 -0
- package/dist/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.d.ts +128 -0
- package/dist/components/Amelipro/AmeliproErrorTemplate/errorTemplateTypes.d.ts +2 -0
- package/dist/components/Amelipro/AmeliproErrorTemplate/types.d.ts +7 -0
- package/dist/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.d.ts +91 -0
- package/dist/components/Amelipro/AmeliproFooter/AmeliproFooter.d.ts +18 -18
- package/dist/components/Amelipro/AmeliproHeader/AmeliproHeader.d.ts +9 -9
- package/dist/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBar.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/AmeliproHeaderBrandSection.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproMenu/AmeliproMenu.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/AmeliproPaginationBtn.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproPatientBanner/AmeliproPatientBanner.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +2766 -2751
- package/dist/components/Amelipro/AmeliproStateTile/AmeliproStateTile.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +2766 -2751
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +388 -386
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +632 -630
- package/dist/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproTransmission/AmeliproTransmission.d.ts +9 -9
- package/dist/components/CookieBanner/CookieBanner.d.ts +116 -114
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +465 -465
- package/dist/components/CookiesSelection/CookiesSelection.d.ts +103 -101
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +106 -1510
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +0 -1
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +1 -1
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +634 -632
- package/dist/components/DataList/DataList.d.ts +1 -1
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +2875 -2843
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +1446 -1430
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +643 -641
- package/dist/components/DialogBox/DialogBox.d.ts +172 -169
- package/dist/components/DialogBox/config.d.ts +3 -3
- package/dist/components/DialogBox/locales.d.ts +2 -0
- package/dist/components/DialogBox/useDraggable.d.ts +8 -0
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +159 -157
- package/dist/components/FooterBar/FooterBar.d.ts +5 -5
- package/dist/components/HeaderBar/HeaderBar.d.ts +2 -2
- package/dist/components/HeaderBar/HeaderLogo/HeaderLogo.d.ts +1 -1
- package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +1 -1
- package/dist/components/LangBtn/LangBtn.d.ts +169 -167
- package/dist/components/LogoBrandSection/LogoBrandSection.d.ts +1 -1
- package/dist/components/NirField/NirField.d.ts +1277 -1273
- package/dist/components/PeriodField/PeriodField.d.ts +5752 -5688
- package/dist/components/PhoneField/PhoneField.d.ts +647 -636
- package/dist/components/SearchListField/SearchListField.d.ts +105 -105
- package/dist/components/SyAlert/SyAlert.d.ts +29 -29
- package/dist/components/SyTextArea/SyTextArea.d.ts +389 -387
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +207 -175
- package/dist/components/Tables/SyTable/SyTable.d.ts +208 -176
- package/dist/components/Tables/common/SyTableFilter.d.ts +1 -1
- package/dist/components/Tables/common/SyTablePagination.d.ts +106 -1510
- package/dist/components/Tables/common/filters/DateFilter.d.ts +1 -1
- package/dist/components/Tables/common/filters/NumberFilter.d.ts +1 -1
- package/dist/components/Tables/common/filters/PeriodFilter.d.ts +1 -1
- package/dist/components/Tables/common/filters/SelectFilter.d.ts +1 -1
- package/dist/components/Tables/common/filters/TextFilter.d.ts +1 -1
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +82 -82
- package/dist/components/Tables/common/tableProps.d.ts +11 -0
- package/dist/components/Tables/common/types.d.ts +8 -4
- package/dist/components/Tables/common/useStoredOptions.d.ts +14 -0
- package/dist/components/Tables/common/useTableHeaders.d.ts +3 -2
- package/dist/components/Tables/common/useTableItems.d.ts +0 -1
- package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +16 -16
- package/dist/components/index.d.ts +4 -0
- package/dist/design-system-v3.js +166 -162
- package/dist/design-system-v3.umd.cjs +269 -268
- package/dist/main-2eWGB7zZ.js +30203 -0
- package/dist/services/NotificationService.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/vuetifyConfig.d.ts +6 -6
- package/package.json +1 -1
- package/src/assets/amelipro/img/ico_pdf.svg +15 -0
- package/src/assets/amelipro/img/navigateurs.png +0 -0
- package/src/assets/amelipro/img/visuel_deconnexion.svg +973 -0
- package/src/assets/amelipro/img/visuel_erreur_403.svg +3652 -0
- package/src/assets/amelipro/img/visuel_erreur_404.svg +1801 -0
- package/src/assets/amelipro/img/visuel_erreur_500.svg +989 -0
- package/src/assets/amelipro/img/visuel_erreur_503.svg +1005 -0
- package/src/assets/amelipro/img/visuel_navigateur_obsolete.svg +828 -0
- package/src/assets/amelipro/pdf/charte-pour-pdf.pdf +0 -0
- package/src/components/Accordion/Accessibilite/AccessibilityGuide.mdx +5 -2
- package/src/components/Accordion/Accordion.mdx +5 -3
- package/src/components/Amelipro/AmeliproAccordion/AmeliproAccordion.stories.ts +258 -0
- package/src/components/Amelipro/AmeliproAccordionGroup/AmeliproAccordionGroup.stories.ts +321 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +656 -0
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.mdx +1 -3
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResult.stories.ts +208 -0
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +562 -0
- package/src/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.stories.ts +480 -0
- package/src/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.stories.ts +267 -0
- package/src/components/Amelipro/AmeliproCheckbox/AmeliproCheckbox.stories.ts +287 -6
- package/src/components/Amelipro/AmeliproCheckboxGroup/AmeliproCheckboxGroup.stories.ts +433 -0
- package/src/components/Amelipro/AmeliproContentLayout/AmeliproContentLayout.mdx +15 -0
- package/src/components/Amelipro/AmeliproContentLayout/AmeliproContentLayout.stories.ts +44 -0
- package/src/components/Amelipro/AmeliproContentLayout/AmeliproContentLayout.vue +55 -0
- package/src/components/Amelipro/AmeliproContentLayout/__tests__/AmeliproContentLayout.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproContentLayout/__tests__/__snapshots__/AmeliproContentLayout.spec.ts.snap +24 -0
- package/src/components/Amelipro/AmeliproContentLayout/index.ts +3 -0
- package/src/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.mdx +18 -0
- package/src/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.stories.ts +68 -0
- package/src/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.vue +73 -0
- package/src/components/Amelipro/AmeliproCopyBtn/__tests__/AmeliproCopyBtn.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproCopyBtn/__tests__/__snapshots__/AmeliproCopyBtn.spec.ts.snap +84 -0
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.stories.ts +422 -0
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.vue +2 -2
- package/src/components/Amelipro/AmeliproCustomSelector/__tests__/__snapshots__/AmeliproCustomSelector.spec.ts.snap +4 -6
- package/src/components/Amelipro/AmeliproDisclosure/AmeliproDisclosure.stories.ts +92 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.mdx +23 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.stories.ts +386 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.vue +187 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/__tests__/AmeliproErrorTemplate.spec.ts +31 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/__tests__/__snapshots__/AmeliproErrorTemplate.spec.ts.snap +185 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/errorTemplateTypes.ts +85 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/types.d.ts +7 -0
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.mdx +15 -0
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.stories.ts +71 -0
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.vue +161 -0
- package/src/components/Amelipro/AmeliproFilePreview/__tests__/AmeliproFilePreview.spec.ts +28 -0
- package/src/components/Amelipro/AmeliproFilePreview/__tests__/__snapshots__/AmeliproFilePreview.spec.ts.snap +209 -0
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/AmeliproIllustratedRadioGroup.stories.ts +194 -0
- package/src/components/Amelipro/AmeliproRadioGroup/AmeliproRadioGroup.stories.ts +639 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.stories.ts +648 -0
- package/src/components/Amelipro/AmeliproSelect/AmeliproSelect.stories.ts +392 -0
- package/src/components/Amelipro/AmeliproTextArea/AmeliproTextArea.stories.ts +351 -0
- package/src/components/Amelipro/AmeliproTextField/AmeliproTextField.stories.ts +634 -38
- package/src/components/Amelipro/AmeliproTextField/AmeliproTextField.vue +1 -1
- package/src/components/Amelipro/ServiceMenu/ServiceMenu.mdx +5 -3
- package/src/components/Amelipro/StructureMenu/StructureMenu.mdx +5 -3
- package/src/components/Amelipro/UserMenu/UserMenu.mdx +5 -3
- package/src/components/BackBtn/Accessibilite.mdx +6 -2
- package/src/components/BackBtn/BackBtn.mdx +5 -3
- package/src/components/BackBtn/BackBtn.stories.ts +1 -0
- package/src/components/BackBtn/Usages.mdx +5 -3
- package/src/components/BackToTopBtn/Accessibilite.mdx +6 -2
- package/src/components/BackToTopBtn/BackToTopBtn.mdx +5 -4
- package/src/components/BackToTopBtn/Usages.mdx +5 -3
- package/src/components/ChipList/Accessibilite.mdx +6 -2
- package/src/components/ChipList/ChipList.mdx +5 -3
- package/src/components/CollapsibleList/Accessibilite.mdx +6 -2
- package/src/components/CollapsibleList/CollapsibleList.mdx +5 -3
- package/src/components/ContextualMenu/Accessibilite.mdx +6 -2
- package/src/components/ContextualMenu/ContextualMenu.mdx +7 -4
- package/src/components/ContextualMenu/Usages.mdx +5 -3
- package/src/components/CookieBanner/Accessibilite.mdx +6 -2
- package/src/components/CookieBanner/CookieBanner.mdx +5 -8
- package/src/components/CopyBtn/Accessibilite.mdx +6 -2
- package/src/components/CopyBtn/CopyBtn.mdx +5 -3
- package/src/components/CopyBtn/Usages.mdx +5 -3
- package/src/components/Customs/Selects/SelectBtnField/Accessibilite.mdx +6 -2
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.mdx +7 -4
- package/src/components/Customs/Selects/SelectBtnField/Usages.mdx +5 -3
- package/src/components/Customs/Selects/SelectOverview.mdx +27 -60
- package/src/components/Customs/Selects/SyBtnSelect/Accessibilite.mdx +6 -2
- package/src/components/Customs/Selects/SyBtnSelect/SyBtnSelect.mdx +6 -4
- package/src/components/Customs/Selects/SyInputSelect/Accessibilite.mdx +6 -2
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.mdx +9 -1
- package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.stories.ts +14 -0
- package/src/components/Customs/Selects/SySelect/Accessibilite.mdx +7 -3
- package/src/components/Customs/Selects/SySelect/SySelect.mdx +6 -4
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +2 -2
- package/src/components/Customs/Selects/SySelect/SySelect.vue +289 -375
- package/src/components/Customs/Selects/SySelect/Usages.mdx +5 -3
- package/src/components/Customs/Selects/SySelect/composables/tests/useSySelectKeyboard.spec.ts +0 -10
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +0 -5
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +184 -25
- package/src/components/Customs/SyCheckbox/Accessibilite.mdx +6 -3
- package/src/components/Customs/SyCheckbox/SyCheckbox.mdx +5 -3
- package/src/components/Customs/SyIcon/Accessibilite.mdx +5 -5
- package/src/components/Customs/SyIcon/SyIcon.mdx +5 -7
- package/src/components/Customs/SyPagination/SyPagination.mdx +7 -4
- package/src/components/Customs/SyTabs/Accessibilite.mdx +4 -1
- package/src/components/Customs/SyTabs/SyTabs.mdx +5 -3
- package/src/components/Customs/SyTabs/SyTabs.vue +87 -24
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +18 -0
- package/src/components/Customs/SyTextField/Accessibilite.mdx +6 -2
- package/src/components/Customs/SyTextField/SyTextField.mdx +5 -6
- package/src/components/Customs/SyTextField/SyTextField.vue +17 -4
- package/src/components/Customs/SyTextField/Usages.mdx +1 -0
- package/src/components/DataList/Accessibilite.mdx +6 -2
- package/src/components/DataList/DataList.mdx +5 -3
- package/src/components/DataListGroup/Accessibilite.mdx +6 -2
- package/src/components/DataListGroup/DataListGroup.mdx +5 -3
- package/src/components/DatePicker/Accessibilite.mdx +6 -2
- package/src/components/DatePicker/CalendarMode/DatePicker.mdx +5 -3
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +6 -3
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.mdx +5 -6
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +14 -3
- package/src/components/DatePicker/DatePickerOverview.mdx +5 -3
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.mdx +5 -3
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +37 -32
- package/src/components/DatePicker/DateTextInput/NoCalendar.mdx +5 -3
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +3 -0
- package/src/components/DatePicker/Usages.mdx +5 -3
- package/src/components/DiacriticPicker/DiacriticPicker.mdx +5 -3
- package/src/components/DialogBox/Accessibilite.mdx +6 -2
- package/src/components/DialogBox/DialogBox.mdx +5 -3
- package/src/components/DialogBox/DialogBox.stories.ts +83 -0
- package/src/components/DialogBox/DialogBox.vue +41 -6
- package/src/components/DialogBox/Usages.mdx +5 -3
- package/src/components/DialogBox/config.ts +3 -3
- package/src/components/DialogBox/locales.ts +2 -0
- package/src/components/DialogBox/tests/DialogBox.spec.ts +132 -3
- package/src/components/DialogBox/tests/__snapshots__/DialogBox.spec.ts.snap +14 -11
- package/src/components/DialogBox/useDraggable.ts +98 -0
- package/src/components/DownloadBtn/Accessibilite.mdx +6 -2
- package/src/components/DownloadBtn/DownloadBtn.mdx +7 -4
- package/src/components/DownloadBtn/DownloadBtn.vue +1 -1
- package/src/components/DownloadBtn/tests/DownloadBtn.spec.ts +2 -3
- package/src/components/ErrorPage/Accessibilite.mdx +6 -2
- package/src/components/ErrorPage/ErrorPage.mdx +5 -3
- package/src/components/ExternalLinks/Accessibilite.mdx +6 -2
- package/src/components/ExternalLinks/ExternalLinks.mdx +5 -8
- package/src/components/ExternalLinks/Usages.mdx +5 -3
- package/src/components/FileList/Accessibilite.mdx +6 -2
- package/src/components/FileList/FileList.mdx +5 -4
- package/src/components/FilePreview/Accessibilite.mdx +6 -2
- package/src/components/FilePreview/FilePreview.mdx +7 -7
- package/src/components/FileUpload/Accessibilite.mdx +6 -2
- package/src/components/FileUpload/FileUpload.mdx +7 -4
- package/src/components/FilterInline/Accessibilite.mdx +6 -2
- package/src/components/FilterInline/FilterInline.mdx +5 -5
- package/src/components/FilterSideBar/Accessibilite.mdx +6 -2
- package/src/components/FilterSideBar/FilterSideBar.mdx +5 -4
- package/src/components/FooterBar/Accessibilite.mdx +6 -2
- package/src/components/FooterBar/FooterBar.mdx +5 -3
- package/src/components/FranceConnectBtn/Accessibilite.mdx +6 -2
- package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +5 -3
- package/src/components/HeaderBar/Accessibilite.mdx +6 -2
- package/src/components/HeaderBar/HeaderBar.mdx +4 -4
- package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.mdx +6 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.mdx +9 -13
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.mdx +1 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.mdx +5 -5
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.mdx +1 -2
- package/src/components/HeaderBar/Usages.mdx +5 -3
- package/src/components/HeaderLoading/Accessibilite.mdx +2 -1
- package/src/components/HeaderLoading/HeaderLoading.mdx +5 -3
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.mdx +1 -8
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +17 -9
- package/src/components/HeaderToolbar/Accessibilite.mdx +6 -2
- package/src/components/HeaderToolbar/HeaderToolbar.mdx +5 -3
- package/src/components/LangBtn/Accessibilite.mdx +6 -2
- package/src/components/LangBtn/LangBtn.mdx +5 -3
- package/src/components/Logo/Accessibilite.mdx +6 -2
- package/src/components/Logo/Logo.mdx +5 -3
- package/src/components/LogoBrandSection/Accessibilite.mdx +6 -2
- package/src/components/LogoBrandSection/LogoBrandSection.mdx +5 -3
- package/src/components/MaintenancePage/Accessibilite.mdx +6 -2
- package/src/components/MaintenancePage/MaintenancePage.mdx +6 -4
- package/src/components/NirField/Accessibilite.mdx +6 -2
- package/src/components/NirField/NirField.mdx +5 -7
- package/src/components/NirField/NirField.vue +13 -118
- package/src/components/NirField/Usages.mdx +5 -3
- package/src/components/NotFoundPage/Accessibilite.mdx +6 -2
- package/src/components/NotFoundPage/NotFoundPage.mdx +6 -4
- package/src/components/NotificationBar/Accessibilite.mdx +6 -2
- package/src/components/NotificationBar/NotificationBar.mdx +5 -1
- package/src/components/NotificationBar/NotificationBar.stories.ts +128 -2
- package/src/components/NotificationBar/NotificationBar.vue +16 -1
- package/src/components/NotificationBar/Usages.mdx +5 -3
- package/src/components/NotificationBar/tests/NotificationBar.spec.ts +65 -0
- package/src/components/PageContainer/Accessibilite.mdx +6 -2
- package/src/components/PageContainer/PageContainer.mdx +5 -3
- package/src/components/PaginatedTable/Accessibilite.mdx +6 -2
- package/src/components/PaginatedTable/PaginatedTable.mdx +5 -3
- package/src/components/PasswordField/Accessibilite.mdx +6 -2
- package/src/components/PasswordField/PasswordField.mdx +5 -3
- package/src/components/PeriodField/Accessibilite.mdx +6 -2
- package/src/components/PeriodField/PeriodField.mdx +5 -3
- package/src/components/PhoneField/Accessibilite.mdx +6 -2
- package/src/components/PhoneField/PhoneField.mdx +5 -3
- package/src/components/PhoneField/PhoneField.stories.ts +17 -218
- package/src/components/PhoneField/PhoneField.vue +17 -11
- package/src/components/PhoneField/Usages.mdx +5 -3
- package/src/components/PhoneField/tests/PhoneField.spec.ts +51 -15
- package/src/components/RangeField/Accessibilite.mdx +6 -2
- package/src/components/RangeField/RangeField.mdx +5 -7
- package/src/components/RatingPicker/Accessibilite.mdx +6 -2
- package/src/components/RatingPicker/RatingPicker.mdx +5 -4
- package/src/components/SearchListField/Accessibilite.mdx +6 -2
- package/src/components/SearchListField/SearchListField.mdx +7 -5
- package/src/components/SkipLink/Accessibilite.mdx +6 -2
- package/src/components/SkipLink/SkipLink.mdx +5 -3
- package/src/components/SkipLink/Usages.mdx +5 -3
- package/src/components/SocialMediaLinks/Accessibilite.mdx +6 -2
- package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +5 -3
- package/src/components/SubHeader/Accessibilite.mdx +6 -2
- package/src/components/SubHeader/SubHeader.mdx +5 -3
- package/src/components/SyAlert/Accessibilite.mdx +6 -2
- package/src/components/SyAlert/SyAlert.mdx +7 -4
- package/src/components/SyAlert/Usages.mdx +5 -3
- package/src/components/SyTextArea/SyTextArea.mdx +5 -3
- package/src/components/TableToolbar/Accessibilite.mdx +6 -2
- package/src/components/TableToolbar/TableToolbar.mdx +6 -3
- package/src/components/Tables/SyServerTable/SyServerTable.mdx +5 -3
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +4 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +36 -74
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +46 -7
- package/src/components/Tables/SyTable/SyTable.mdx +5 -3
- package/src/components/Tables/SyTable/SyTable.stories.ts +5 -1
- package/src/components/Tables/SyTable/SyTable.vue +38 -60
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +9 -7
- package/src/components/Tables/common/filters/tests/SelectFilter.spec.ts +6 -1
- package/src/components/Tables/common/tableProps.ts +53 -0
- package/src/components/Tables/common/tableStyles.scss +4 -0
- package/src/components/Tables/common/tests/tableUtils.spec.ts +4 -151
- package/src/components/Tables/common/types.ts +12 -2
- package/src/components/Tables/common/useStoredOptions.ts +36 -0
- package/src/components/Tables/common/useTableHeaders.ts +10 -7
- package/src/components/Tables/common/useTableItems.ts +0 -20
- package/src/components/ToolbarContainer/ToolbarContainer.mdx +1 -0
- package/src/components/UploadWorkflow/Accessibilite.mdx +6 -2
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +5 -7
- package/src/components/UserMenuBtn/Accessibilite.mdx +6 -2
- package/src/components/UserMenuBtn/UserMenuBtn.mdx +5 -3
- package/src/components/index.ts +4 -0
- package/src/services/NotificationService.ts +9 -0
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -65
- package/src/stories/Accessibilite/Audit/RGAA.mdx +2 -20
- package/src/stories/Accessibilite/AuditDesignSystem.mdx +4 -47
- package/src/stories/Accessibilite/Avancement/Avancement.mdx +5 -68
- package/src/stories/Accessibilite/Avancement/Avancement.stories.ts +267 -198
- package/src/stories/Accessibilite/Introduction.mdx +2 -20
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +4 -21
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +3 -20
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +5 -50
- package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +3 -46
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.mdx +3 -39
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/Utilisation.mdx +4 -54
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +4 -51
- package/src/stories/Accessibilite/Vuetify/Vuetify.mdx +3 -11
- package/src/stories/Accessibilite/Vuetify/Vuetify.stories.ts +2 -2
- package/src/stories/Accessibilite/Vuetify/VuetifyItems.ts +6 -3
- package/src/stories/Components/Components.stories.ts +1 -1
- package/src/stories/Demarrer/CreerUneIssue.mdx +4 -1
- package/src/stories/Demarrer/PolitiqueDeConfidentialite.mdx +0 -2
- package/src/stories/Demarrer/PolitiqueDeConfidentialite.stories.ts +3 -0
- package/src/stories/Demarrer/Releases.mdx +0 -2
- package/src/stories/Demarrer/Releases.stories.ts +3 -0
- package/src/stories/DesignTokens/Arrondis.mdx +7 -1
- package/src/stories/DesignTokens/Colors.mdx +7 -1
- package/src/stories/DesignTokens/Conteneurs.mdx +6 -1
- package/src/stories/DesignTokens/Elevations.mdx +7 -1
- package/src/stories/DesignTokens/Espacements.mdx +7 -1
- package/src/stories/DesignTokens/Introduction.mdx +5 -3
- package/src/stories/DesignTokens/StylesTypographiques.mdx +6 -1
- package/src/stories/DesignTokens/Typographie.mdx +5 -1
- package/src/stories/Directives/SvgDirective.mdx +3 -22
- package/src/stories/EcoConception/EcoGuideComponent.vue +569 -0
- package/src/stories/EcoConception/Introduction.mdx +190 -13
- package/src/stories/EcoConception/Referentiel.mdx +13 -0
- package/src/stories/EcoConception/datas/back_rules.json +184 -0
- package/src/stories/EcoConception/datas/ux_ui_rules.json +1073 -0
- package/src/stories/EcoConception/ecoconception.stories.ts +30 -0
- package/src/stories/GuideDuDev/ClassesUtilitaires/DataUtilities.mdx +7 -3
- package/src/stories/GuideDuDev/ClassesUtilitaires/DomBrowserUtilities.mdx +9 -1
- package/src/stories/GuideDuDev/ClassesUtilitaires/FormattingUtilities.mdx +7 -3
- package/src/stories/GuideDuDev/ClassesUtilitaires/StorageUtilities.mdx +5 -1
- package/src/stories/GuideDuDev/ClassesUtilitaires/ValidationRules.mdx +7 -3
- package/src/stories/GuideDuDev/ClassesUtilitaires/ValidationUtilities.mdx +7 -3
- package/src/stories/GuideDuDev/ClassesUtilitaires/index.mdx +5 -2
- package/src/stories/GuideDuDev/FormValidationGuide.mdx +7 -3
- package/src/stories/GuideDuDev/LesBreackingChanges.mdx +6 -2
- package/src/stories/GuideDuDev/MigrationDepuisBridge.mdx +7 -2
- package/src/stories/GuideDuDev/MigrationDepuisVue2.mdx +7 -2
- package/src/stories/GuideDuDev/PortailAgent.mdx +6 -1
- package/src/stories/GuideDuDev/Theme.mdx +8 -2
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +7 -3
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +8 -3
- package/src/stories/GuideDuDev/vuetifyOptions.mdx +5 -1
- package/src/stories/Templates/Templates.stories.ts +1 -1
- package/src/stories/styles/shared.css +16 -0
- package/src/utils/rules/Rules.mdx +26 -3
- package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +27 -4
- package/src/utils/rules/isDateValid/IsDateValid.mdx +27 -4
- package/src/utils/rules/isExactLength/IsExactLenght.mdx +27 -4
- package/src/utils/rules/isHolidayDay/IsHolidayDay.mdx +27 -4
- package/src/utils/rules/isMaxLength/IsMaxLength.mdx +27 -4
- package/src/utils/rules/isMinLength/IsMinLength.mdx +27 -4
- package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +27 -4
- package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +27 -4
- package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +27 -4
- package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +27 -3
- package/src/utils/rules/isRequired/IsRequired.mdx +27 -4
- package/src/utils/rules/isValidEmail/IsValidEmail.mdx +27 -4
- package/dist/components/Tables/common/tableStorageUtils.d.ts +0 -69
- package/dist/components/Tables/common/tableUtils.d.ts +0 -79
- package/dist/main-C66C1BkG.js +0 -29878
- package/dist/stories/EcoConception/ecoDesignItems.d.ts +0 -4
- package/src/components/DownloadBtn/tests/__snapshots__/DownloadBtn.spec.ts.snap +0 -92
- package/src/components/Tables/common/tableStorageUtils.ts +0 -127
- package/src/components/Tables/common/tableUtils.ts +0 -102
- package/src/stories/EcoConception/ecoDesignItems.ts +0 -55
- package/src/stories/EcoConception/econception.stories.ts +0 -30
|
@@ -1,24 +1,182 @@
|
|
|
1
1
|
import type { StoryObj } from '@storybook/vue3'
|
|
2
2
|
import { computed, ref } from 'vue'
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
type AuditStatus = 'Audité' | 'En cours' | 'Non audité'
|
|
5
|
+
type AuditItem = { composant: string, status: AuditStatus, lastUpdate?: string }
|
|
6
|
+
|
|
7
|
+
const STATUS = {
|
|
8
|
+
AUDITED: 'Audité' as AuditStatus,
|
|
9
|
+
IN_PROGRESS: 'En cours' as AuditStatus,
|
|
10
|
+
NOT_AUDITED: 'Non audité' as AuditStatus,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const ITEMS: AuditItem[] = [
|
|
14
|
+
{ composant: 'PageContainer', status: STATUS.AUDITED },
|
|
15
|
+
{ composant: 'SkipLink', status: STATUS.AUDITED },
|
|
16
|
+
{ composant: 'Alerts', status: STATUS.AUDITED },
|
|
17
|
+
{ composant: 'NotificationBar', status: STATUS.NOT_AUDITED },
|
|
18
|
+
{ composant: 'BackBtn', status: STATUS.AUDITED },
|
|
19
|
+
{ composant: 'BackToTopBtn', status: STATUS.AUDITED },
|
|
20
|
+
{ composant: 'CopyBtn', status: STATUS.AUDITED },
|
|
21
|
+
{ composant: 'LangBtn', status: STATUS.AUDITED },
|
|
22
|
+
{ composant: 'DownloadBtn', status: STATUS.AUDITED },
|
|
23
|
+
{ composant: 'FranceConnectBtn', status: STATUS.AUDITED },
|
|
24
|
+
{ composant: 'SyTextField', status: STATUS.AUDITED },
|
|
25
|
+
{ composant: 'HeaderBar', status: STATUS.AUDITED },
|
|
26
|
+
{ composant: 'HeaderNavigationBar', status: STATUS.AUDITED },
|
|
27
|
+
{ composant: 'LogoBrandSection', status: STATUS.AUDITED },
|
|
28
|
+
{ composant: 'SubHeader', status: STATUS.AUDITED },
|
|
29
|
+
{ composant: 'HeaderLoading', status: STATUS.AUDITED },
|
|
30
|
+
{ composant: 'HeaderToolbar', status: STATUS.IN_PROGRESS },
|
|
31
|
+
{ composant: 'Footer', status: STATUS.AUDITED },
|
|
32
|
+
{ composant: 'SySelect', status: STATUS.AUDITED },
|
|
33
|
+
{ composant: 'SyInputSelect', status: STATUS.NOT_AUDITED },
|
|
34
|
+
{ composant: 'Logo', status: STATUS.AUDITED },
|
|
35
|
+
{ composant: 'DataListGroup', status: STATUS.AUDITED },
|
|
36
|
+
{ composant: 'DataList', status: STATUS.AUDITED },
|
|
37
|
+
{ composant: 'DataListItem', status: STATUS.AUDITED },
|
|
38
|
+
{ composant: 'DataListLoading', status: STATUS.AUDITED },
|
|
39
|
+
{ composant: 'ErrorPage', status: STATUS.AUDITED },
|
|
40
|
+
{ composant: 'CookieBanner', status: STATUS.AUDITED },
|
|
41
|
+
{ composant: 'ContextualMenu', status: STATUS.AUDITED },
|
|
42
|
+
{ composant: 'DialogBox', status: STATUS.NOT_AUDITED },
|
|
43
|
+
{ composant: 'PasswordField', status: STATUS.IN_PROGRESS },
|
|
44
|
+
{ composant: 'PhoneField', status: STATUS.AUDITED },
|
|
45
|
+
{ composant: 'UserMenuBtn', status: STATUS.NOT_AUDITED },
|
|
46
|
+
{ composant: 'SyBtnSelect', status: STATUS.NOT_AUDITED },
|
|
47
|
+
{ composant: 'NirField', status: STATUS.IN_PROGRESS },
|
|
48
|
+
{ composant: 'PeriodField', status: STATUS.NOT_AUDITED },
|
|
49
|
+
{ composant: 'RangeField', status: STATUS.NOT_AUDITED },
|
|
50
|
+
{ composant: 'SearchListField', status: STATUS.NOT_AUDITED },
|
|
51
|
+
{ composant: 'SelectBtnField', status: STATUS.NOT_AUDITED },
|
|
52
|
+
{ composant: 'RatingPicker', status: STATUS.NOT_AUDITED },
|
|
53
|
+
{ composant: 'DatePicker', status: STATUS.NOT_AUDITED },
|
|
54
|
+
{ composant: 'FileUpload', status: STATUS.NOT_AUDITED },
|
|
55
|
+
{ composant: 'FilePreview', status: STATUS.NOT_AUDITED },
|
|
56
|
+
{ composant: 'FileList', status: STATUS.NOT_AUDITED },
|
|
57
|
+
{ composant: 'UploadWorkflow', status: STATUS.NOT_AUDITED },
|
|
58
|
+
{ composant: 'ChipList', status: STATUS.AUDITED },
|
|
59
|
+
{ composant: 'FilterInline', status: STATUS.NOT_AUDITED },
|
|
60
|
+
{ composant: 'FilterSideBar', status: STATUS.NOT_AUDITED },
|
|
61
|
+
{ composant: 'PaginatedTable', status: STATUS.NOT_AUDITED },
|
|
62
|
+
{ composant: 'TableToolbar', status: STATUS.NOT_AUDITED },
|
|
63
|
+
{ composant: 'NotFoundPage', status: STATUS.AUDITED },
|
|
64
|
+
{ composant: 'MaintenancePage', status: STATUS.AUDITED },
|
|
65
|
+
{ composant: 'ExternalLinks', status: STATUS.AUDITED },
|
|
66
|
+
{ composant: 'SyIcon', status: STATUS.NOT_AUDITED },
|
|
67
|
+
{ composant: 'SocialMediaLinks', status: STATUS.AUDITED },
|
|
68
|
+
{ composant: 'CollapsibleList', status: STATUS.AUDITED },
|
|
69
|
+
{ composant: 'Accordion', status: STATUS.NOT_AUDITED },
|
|
70
|
+
{ composant: 'ToolbarContainer', status: STATUS.NOT_AUDITED },
|
|
71
|
+
{ composant: 'SyTable', status: STATUS.NOT_AUDITED },
|
|
72
|
+
{ composant: 'SyTableServer', status: STATUS.NOT_AUDITED },
|
|
73
|
+
{ composant: 'Diacritic', status: STATUS.NOT_AUDITED },
|
|
74
|
+
{ composant: 'SyCheckBox', status: STATUS.NOT_AUDITED },
|
|
75
|
+
{ composant: 'SyTabs', status: STATUS.NOT_AUDITED },
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
function countByStatus(items: AuditItem[]) {
|
|
79
|
+
const audited = items.filter(i => i.status === STATUS.AUDITED).length
|
|
80
|
+
const inProgress = items.filter(i => i.status === STATUS.IN_PROGRESS).length
|
|
81
|
+
const notAudited = items.filter(i => i.status === STATUS.NOT_AUDITED).length
|
|
82
|
+
return { audited, inProgress, notAudited, total: items.length }
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function useAuditFilters(source: AuditItem[]) {
|
|
86
|
+
const search = ref('')
|
|
87
|
+
const statusFilter = ref<'all' | 'audited' | 'in-progress' | 'not-audited'>('all')
|
|
88
|
+
const page = ref(1)
|
|
89
|
+
const itemsPerPage = 20
|
|
90
|
+
|
|
91
|
+
const filteredItems = computed(() => {
|
|
92
|
+
let result = [...source]
|
|
93
|
+
if (statusFilter.value !== 'all') {
|
|
94
|
+
result = result.filter((item) => {
|
|
95
|
+
switch (statusFilter.value) {
|
|
96
|
+
case 'audited':
|
|
97
|
+
return item.status === STATUS.AUDITED
|
|
98
|
+
case 'in-progress':
|
|
99
|
+
return item.status === STATUS.IN_PROGRESS
|
|
100
|
+
case 'not-audited':
|
|
101
|
+
return item.status === STATUS.NOT_AUDITED
|
|
102
|
+
}
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
if (search.value) {
|
|
106
|
+
const q = search.value.toLowerCase()
|
|
107
|
+
result = result.filter(i => i.composant.toLowerCase().includes(q))
|
|
108
|
+
}
|
|
109
|
+
return result
|
|
110
|
+
})
|
|
111
|
+
|
|
112
|
+
const paginatedItems = computed(() => {
|
|
113
|
+
const start = (page.value - 1) * itemsPerPage
|
|
114
|
+
return filteredItems.value.slice(start, start + itemsPerPage)
|
|
115
|
+
})
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
search,
|
|
119
|
+
statusFilter,
|
|
120
|
+
page,
|
|
121
|
+
itemsPerPage,
|
|
122
|
+
filteredItems,
|
|
123
|
+
paginatedItems,
|
|
124
|
+
}
|
|
125
|
+
}
|
|
4
126
|
|
|
5
127
|
export default {
|
|
6
128
|
title: 'Accessibilité/Design System/Avancement',
|
|
7
129
|
}
|
|
8
130
|
|
|
131
|
+
export const Stats: StoryObj = {
|
|
132
|
+
render: () => {
|
|
133
|
+
return {
|
|
134
|
+
setup() {
|
|
135
|
+
const { audited, inProgress, notAudited, total } = countByStatus(ITEMS)
|
|
136
|
+
return {
|
|
137
|
+
auditedCount: audited,
|
|
138
|
+
inProgressCount: inProgress,
|
|
139
|
+
notAuditedCount: notAudited,
|
|
140
|
+
totalCount: total,
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
template: `
|
|
144
|
+
<div class="progress-stats">
|
|
145
|
+
<div class="stat-item">
|
|
146
|
+
<span class="stat-value stat-success">{{ auditedCount }}</span>
|
|
147
|
+
<span class="stat-label">Composants audités</span>
|
|
148
|
+
</div>
|
|
149
|
+
<div class="stat-item">
|
|
150
|
+
<span class="stat-value stat-wip">{{ inProgressCount }}</span>
|
|
151
|
+
<span class="stat-label">En cours</span>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="stat-item">
|
|
154
|
+
<span class="stat-value stat-info">{{ totalCount }}</span>
|
|
155
|
+
<span class="stat-label">Total des composants</span>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
`,
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
tags: ['!dev'],
|
|
162
|
+
}
|
|
163
|
+
|
|
9
164
|
export const PreAudit: StoryObj = {
|
|
10
165
|
render: () => {
|
|
11
166
|
return {
|
|
12
|
-
setup() {
|
|
167
|
+
setup() {
|
|
168
|
+
const totalCount = ITEMS.length
|
|
169
|
+
return { totalCount }
|
|
170
|
+
},
|
|
13
171
|
template: `
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
172
|
+
<v-chip
|
|
173
|
+
class="ma-2"
|
|
174
|
+
color="success"
|
|
175
|
+
variant="elevated"
|
|
176
|
+
>
|
|
177
|
+
{{ totalCount }}/{{ totalCount }} Composants
|
|
178
|
+
</v-chip>
|
|
179
|
+
`,
|
|
22
180
|
}
|
|
23
181
|
},
|
|
24
182
|
tags: ['!dev'],
|
|
@@ -28,77 +186,12 @@ export const Manuel: StoryObj = {
|
|
|
28
186
|
render: () => {
|
|
29
187
|
return {
|
|
30
188
|
setup() {
|
|
31
|
-
const search = ref('')
|
|
32
|
-
const statusFilter = ref('all')
|
|
33
|
-
const page = ref(1)
|
|
34
|
-
const itemsPerPage = 20
|
|
35
189
|
const headers = [
|
|
36
190
|
{ text: 'Composant', value: 'composant' },
|
|
37
191
|
{ text: 'Statut', value: 'status' },
|
|
38
192
|
{ text: 'Dernière mise à jour', value: 'lastUpdate' },
|
|
39
193
|
]
|
|
40
194
|
|
|
41
|
-
const items = [
|
|
42
|
-
{ composant: 'PageContainer', status: 'Audité' },
|
|
43
|
-
{ composant: 'SkipLink', status: 'Audité' },
|
|
44
|
-
{ composant: 'Alerts', status: 'Audité' },
|
|
45
|
-
{ composant: 'NotificationBar', status: 'Non audité' },
|
|
46
|
-
{ composant: 'BackBtn', status: 'Audité' },
|
|
47
|
-
{ composant: 'BackToTopBtn', status: 'Audité' },
|
|
48
|
-
{ composant: 'CopyBtn', status: 'Audité' },
|
|
49
|
-
{ composant: 'LangBtn', status: 'Audité' },
|
|
50
|
-
{ composant: 'DownloadBtn', status: 'Audité' },
|
|
51
|
-
{ composant: 'FranceConnectBtn', status: 'Audité' },
|
|
52
|
-
{ composant: 'SyTextField', status: 'Audité' },
|
|
53
|
-
{ composant: 'HeaderBar', status: 'Non audité' },
|
|
54
|
-
{ composant: 'HeaderNavigationBar', status: 'Non audité' },
|
|
55
|
-
{ composant: 'LogoBrandSection', status: 'En cours' },
|
|
56
|
-
{ composant: 'SubHeader', status: 'Non audité' },
|
|
57
|
-
{ composant: 'HeaderLoading', status: 'Non audité' },
|
|
58
|
-
{ composant: 'HeaderToolbar', status: 'Non audité' },
|
|
59
|
-
{ composant: 'Footer', status: 'En cours' },
|
|
60
|
-
{ composant: 'SySelect', status: 'En cours' },
|
|
61
|
-
{ composant: 'SyInputSelect', status: 'Non audité' },
|
|
62
|
-
{ composant: 'Logo', status: 'Audité' },
|
|
63
|
-
{ composant: 'DataListGroup', status: 'Non audité' },
|
|
64
|
-
{ composant: 'DataList', status: 'Non audité' },
|
|
65
|
-
{ composant: 'DataListItem', status: 'Non audité' },
|
|
66
|
-
{ composant: 'DataListLoading', status: 'Non audité' },
|
|
67
|
-
{ composant: 'ErrorPage', status: 'Audité' },
|
|
68
|
-
{ composant: 'CookieBanner', status: 'Audité' },
|
|
69
|
-
{ composant: 'ContextualMenu', status: 'Audité' },
|
|
70
|
-
{ composant: 'DialogBox', status: 'Non audité' },
|
|
71
|
-
{ composant: 'PasswordField', status: 'Non audité' },
|
|
72
|
-
{ composant: 'PhoneField', status: 'Non audité' },
|
|
73
|
-
{ composant: 'UserMenuBtn', status: 'Non audité' },
|
|
74
|
-
{ composant: 'SyBtnSelect', status: 'Non audité' },
|
|
75
|
-
{ composant: 'NirField', status: 'Non audité' },
|
|
76
|
-
{ composant: 'PeriodField', status: 'Non audité' },
|
|
77
|
-
{ composant: 'RangeField', status: 'Non audité' },
|
|
78
|
-
{ composant: 'SearchListField', status: 'Non audité' },
|
|
79
|
-
{ composant: 'SelectBtnField', status: 'Non audité' },
|
|
80
|
-
{ composant: 'RatingPicker', status: 'Non audité' },
|
|
81
|
-
{ composant: 'DatePicker', status: 'Non audité' },
|
|
82
|
-
{ composant: 'FileUpload', status: 'Non audité' },
|
|
83
|
-
{ composant: 'FilePreview', status: 'Non audité' },
|
|
84
|
-
{ composant: 'FileList', status: 'Non audité' },
|
|
85
|
-
{ composant: 'UploadWorkflow', status: 'Non audité' },
|
|
86
|
-
{ composant: 'ChipList', status: 'Non audité' },
|
|
87
|
-
{ composant: 'FilterInline', status: 'Non audité' },
|
|
88
|
-
{ composant: 'FilterSideBar', status: 'Non audité' },
|
|
89
|
-
{ composant: 'PaginatedTable', status: 'Non audité' },
|
|
90
|
-
{ composant: 'TableToolbar', status: 'Non audité' },
|
|
91
|
-
{ composant: 'ErrorPage', status: 'Audité' },
|
|
92
|
-
{ composant: 'NotFoundPage', status: 'Audité' },
|
|
93
|
-
{ composant: 'MaintenancePage', status: 'Audité' },
|
|
94
|
-
{ composant: 'ContextualMenu', status: 'Audité' },
|
|
95
|
-
{ composant: 'ExternalLinks', status: 'Audité' },
|
|
96
|
-
{ composant: 'SyIcon', status: 'Non audité' },
|
|
97
|
-
{ composant: 'SocialMediaLinks', status: 'Audité' },
|
|
98
|
-
{ composant: 'CollapsibleList', status: 'Audité' },
|
|
99
|
-
]
|
|
100
|
-
|
|
101
|
-
// Options de filtrage par statut
|
|
102
195
|
const statusOptions = [
|
|
103
196
|
{ title: 'Tous les composants', value: 'all' },
|
|
104
197
|
{ title: 'Audités', value: 'audited' },
|
|
@@ -106,131 +199,107 @@ export const Manuel: StoryObj = {
|
|
|
106
199
|
{ title: 'Non audités', value: 'not-audited' },
|
|
107
200
|
]
|
|
108
201
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
// Filtrage par recherche
|
|
131
|
-
if (search.value) {
|
|
132
|
-
const searchTerm = search.value.toLowerCase()
|
|
133
|
-
result = result.filter(item => item.composant.toLowerCase().includes(searchTerm))
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
return result
|
|
137
|
-
})
|
|
138
|
-
|
|
139
|
-
const totalItems = computed(() => items.length)
|
|
140
|
-
|
|
141
|
-
const checkedItems = computed(() => {
|
|
142
|
-
return items.filter(item => item.status === 'Audité').length
|
|
143
|
-
})
|
|
144
|
-
|
|
145
|
-
// Calcul des éléments paginés
|
|
146
|
-
const paginatedItems = computed(() => {
|
|
147
|
-
const start = (page.value - 1) * itemsPerPage
|
|
148
|
-
const end = start + itemsPerPage
|
|
149
|
-
return filteredItems.value.slice(start, end)
|
|
150
|
-
})
|
|
151
|
-
|
|
152
|
-
return { headers, items, filteredItems, totalItems, checkedItems, search, statusFilter, statusOptions, page, itemsPerPage, paginatedItems, mdiCheckCircle, mdiClockOutline, mdiProgressClock }
|
|
202
|
+
const { search, statusFilter, page, itemsPerPage, filteredItems, paginatedItems } = useAuditFilters(ITEMS)
|
|
203
|
+
|
|
204
|
+
const totalItems = computed(() => ITEMS.length)
|
|
205
|
+
const checkedItems = computed(() => ITEMS.filter(i => i.status === STATUS.AUDITED).length)
|
|
206
|
+
|
|
207
|
+
return {
|
|
208
|
+
headers,
|
|
209
|
+
items: ITEMS,
|
|
210
|
+
filteredItems,
|
|
211
|
+
totalItems,
|
|
212
|
+
checkedItems,
|
|
213
|
+
search,
|
|
214
|
+
statusFilter,
|
|
215
|
+
statusOptions,
|
|
216
|
+
page,
|
|
217
|
+
itemsPerPage,
|
|
218
|
+
// couleurs de statut pour les puces
|
|
219
|
+
statusColor: (s: AuditStatus) =>
|
|
220
|
+
s === STATUS.AUDITED ? '#56c271' : s === STATUS.IN_PROGRESS ? '#a05bb6' : '#f0b323',
|
|
221
|
+
paginatedItems,
|
|
222
|
+
}
|
|
153
223
|
},
|
|
154
224
|
template: `
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
`,
|
|
225
|
+
<div class="audit-dashboard pa-4">
|
|
226
|
+
<div class="d-flex flex-wrap align-center justify-space-between mb-6">
|
|
227
|
+
<div class="d-flex flex-wrap">
|
|
228
|
+
<v-select
|
|
229
|
+
v-model="statusFilter"
|
|
230
|
+
:items="statusOptions"
|
|
231
|
+
item-title="title"
|
|
232
|
+
item-value="value"
|
|
233
|
+
label="Filtrer par statut"
|
|
234
|
+
hide-details
|
|
235
|
+
class="mr-2 mb-2"
|
|
236
|
+
style="max-width: 250px; min-width: 250px"
|
|
237
|
+
density="comfortable"
|
|
238
|
+
variant="outlined"
|
|
239
|
+
/>
|
|
240
|
+
|
|
241
|
+
<v-text-field
|
|
242
|
+
v-model="search"
|
|
243
|
+
label="Rechercher un composant"
|
|
244
|
+
append-inner-icon="mdi-magnify"
|
|
245
|
+
single-line
|
|
246
|
+
hide-details
|
|
247
|
+
class="mb-2"
|
|
248
|
+
style="max-width: 250px; min-width: 250px"
|
|
249
|
+
density="comfortable"
|
|
250
|
+
variant="outlined"
|
|
251
|
+
/>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div class="component-grid mb-6">
|
|
256
|
+
<v-row>
|
|
257
|
+
<v-col
|
|
258
|
+
v-for="item in paginatedItems"
|
|
259
|
+
:key="item.composant"
|
|
260
|
+
cols="12"
|
|
261
|
+
sm="6"
|
|
262
|
+
md="4"
|
|
263
|
+
lg="3"
|
|
264
|
+
>
|
|
265
|
+
<v-card
|
|
266
|
+
class="component-card"
|
|
267
|
+
:class="{ 'audited': item.status === 'Audité', 'in-progress': item.status === 'En cours', 'not-audited': item.status === 'Non audité' }"
|
|
268
|
+
elevation="2"
|
|
269
|
+
height="100%"
|
|
270
|
+
>
|
|
271
|
+
<v-card-item>
|
|
272
|
+
<v-card-title class="text-truncate">{{ item.composant }}</v-card-title>
|
|
273
|
+
</v-card-item>
|
|
274
|
+
|
|
275
|
+
<v-card-text>
|
|
276
|
+
<v-chip
|
|
277
|
+
:color="statusColor(item.status)"
|
|
278
|
+
variant="flat"
|
|
279
|
+
class="mb-2"
|
|
280
|
+
>
|
|
281
|
+
{{ item.status }}
|
|
282
|
+
</v-chip>
|
|
283
|
+
</v-card-text>
|
|
284
|
+
</v-card>
|
|
285
|
+
</v-col>
|
|
286
|
+
</v-row>
|
|
287
|
+
|
|
288
|
+
<div class="d-flex justify-center mt-4">
|
|
289
|
+
<v-pagination
|
|
290
|
+
v-model="page"
|
|
291
|
+
:length="Math.ceil(filteredItems.length / itemsPerPage)"
|
|
292
|
+
total-visible="7"
|
|
293
|
+
rounded
|
|
294
|
+
/>
|
|
295
|
+
</div>
|
|
296
|
+
|
|
297
|
+
<div class="pa-2 text-caption text-right">
|
|
298
|
+
Dernière mise à jour: 10/09/2025
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
`,
|
|
234
303
|
}
|
|
235
304
|
},
|
|
236
305
|
tags: ['!dev'],
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
import {Meta} from '@storybook/blocks';
|
|
2
|
+
import '../styles/shared.css';
|
|
2
3
|
|
|
3
4
|
<Meta title="Accessibilité/Introduction"/>
|
|
4
5
|
|
|
5
|
-
|
|
6
6
|
<style>
|
|
7
7
|
{
|
|
8
8
|
/* Styles globaux pour améliorer l'apparence */
|
|
9
9
|
`
|
|
10
|
-
.accessibility-header {
|
|
11
|
-
color: white;
|
|
12
|
-
padding: 2rem;
|
|
13
|
-
border-radius: 8px;
|
|
14
|
-
margin-bottom: 2rem;
|
|
15
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
16
|
-
}
|
|
17
10
|
|
|
18
|
-
.accessibility-header h1 {
|
|
19
|
-
margin-top: 0;
|
|
20
|
-
font-size: 2.5rem;
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.accessibility-header p {
|
|
25
|
-
font-size: 1.1rem;
|
|
26
|
-
margin-bottom: 0;
|
|
27
|
-
opacity: 0.9;
|
|
28
|
-
}
|
|
29
11
|
|
|
30
12
|
.key-element {
|
|
31
13
|
background-color: #f8f9fa;
|
|
@@ -176,7 +158,7 @@ import {Meta} from '@storybook/blocks';
|
|
|
176
158
|
}
|
|
177
159
|
</style>
|
|
178
160
|
|
|
179
|
-
<div className="
|
|
161
|
+
<div className="header">
|
|
180
162
|
<h1>Accessibilité numérique</h1>
|
|
181
163
|
<p>Construire des interfaces inclusives et conformes aux normes réglementaires</p>
|
|
182
164
|
</div>
|
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import {Meta} from '@storybook/blocks';
|
|
2
|
+
import '../../styles/shared.css';
|
|
2
3
|
|
|
3
4
|
<Meta title="Accessibilité/Kit de pré-audit/Échantillonnage"/>
|
|
4
5
|
|
|
5
6
|
<style>
|
|
6
7
|
{
|
|
7
8
|
`
|
|
8
|
-
|
|
9
|
-
color: white;
|
|
10
|
-
padding: 2rem;
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
margin-bottom: 2rem;
|
|
13
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.header-container h1 {
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
font-size: 2.5rem;
|
|
19
|
-
font-weight: 700;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.header-container p {
|
|
23
|
-
font-size: 1.1rem;
|
|
24
|
-
margin-bottom: 0;
|
|
25
|
-
opacity: 0.9;
|
|
26
|
-
}
|
|
9
|
+
|
|
27
10
|
|
|
28
11
|
.info-card {
|
|
29
12
|
background-color: #f8f9fa;
|
|
@@ -142,8 +125,8 @@ import {Meta} from '@storybook/blocks';
|
|
|
142
125
|
}
|
|
143
126
|
</style>
|
|
144
127
|
|
|
145
|
-
<div className="header
|
|
146
|
-
<h1
|
|
128
|
+
<div className="header">
|
|
129
|
+
<h1>Échantillonnage</h1>
|
|
147
130
|
<p>Définir un périmètre représentatif pour votre audit d'accessibilité</p>
|
|
148
131
|
</div>
|
|
149
132
|
|
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import { Meta } from '@storybook/blocks';
|
|
2
|
+
import '../../styles/shared.css';
|
|
2
3
|
|
|
3
4
|
<Meta title="Accessibilité/Kit de pré-audit/Introduction" />
|
|
4
5
|
|
|
5
6
|
<style>
|
|
6
7
|
{
|
|
7
8
|
`
|
|
8
|
-
|
|
9
|
-
color: white;
|
|
10
|
-
padding: 2rem;
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
margin-bottom: 2rem;
|
|
13
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.preaudit-header h1 {
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
font-size: 2.5rem;
|
|
19
|
-
font-weight: 700;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.preaudit-header p {
|
|
23
|
-
font-size: 1.1rem;
|
|
24
|
-
margin-bottom: 0;
|
|
25
|
-
opacity: 0.9;
|
|
26
|
-
}
|
|
9
|
+
|
|
27
10
|
|
|
28
11
|
.key-element {
|
|
29
12
|
background-color: #f8f9fa;
|
|
@@ -142,7 +125,7 @@ import { Meta } from '@storybook/blocks';
|
|
|
142
125
|
}
|
|
143
126
|
</style>
|
|
144
127
|
|
|
145
|
-
<div className="
|
|
128
|
+
<div className="header">
|
|
146
129
|
<h1>Pré-audit web conformité à l'accessibilité</h1>
|
|
147
130
|
<p>Vérifiez la conformité de votre service web avant l'audit officiel</p>
|
|
148
131
|
</div>
|