@cnamts/synapse 1.0.9 → 1.0.10
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-BylukfjR.js → DateFilter-C0wDuzgn.js} +1 -1
- package/dist/{NumberFilter-C_bUk9o1.js → NumberFilter-CBj7zdOi.js} +1 -1
- package/dist/{PeriodFilter-dVOmcfmt.js → PeriodFilter-DB4wWyKy.js} +1 -1
- package/dist/{SelectFilter-BW8KpXkQ.js → SelectFilter-Dces8572.js} +1 -1
- package/dist/{TextFilter-diwVzTz7.js → TextFilter-BU9nlkuS.js} +1 -1
- package/dist/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.d.ts +110 -0
- package/dist/components/Amelipro/AmeliproAccordionFrieze/types.d.ts +6 -0
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +120 -120
- package/dist/components/Amelipro/AmeliproBtn/AmeliproBtn.d.ts +2 -2
- package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproDentalChart/AmeliproDentalChart.d.ts +47 -0
- package/dist/components/Amelipro/AmeliproDentalChart/AmeliproTooth/AmeliproTooth.d.ts +88 -0
- package/dist/components/Amelipro/AmeliproDentalChart/types.d.ts +13 -0
- package/dist/components/Amelipro/AmeliproFirstLogin/AmeliproFirstLogin.d.ts +70 -0
- package/dist/components/Amelipro/AmeliproFirstLogin/locales.d.ts +46 -0
- package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +1 -1
- package/dist/components/Amelipro/AmeliproPatientLogged/AmeliproPatientLogged.d.ts +149 -0
- package/dist/components/Amelipro/AmeliproPatientLogged/types.d.ts +48 -0
- package/dist/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLogin.d.ts +177 -0
- package/dist/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/AmeliproPatientLoginForm.d.ts +169 -0
- package/dist/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/types.d.ts +5 -0
- package/dist/components/Amelipro/AmeliproPatientLogin/types.d.ts +5 -0
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +2925 -0
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/types.d.ts +11 -0
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +4489 -0
- package/dist/components/Amelipro/AmeliproPostalAddressField/types.d.ts +17 -0
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +120 -120
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +120 -120
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +12 -12
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +30 -30
- package/dist/components/Amelipro/AmeliproTooltips/AmeliproTooltips.d.ts +12 -2
- package/dist/components/CookieBanner/CookieBanner.d.ts +7 -7
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +20 -20
- package/dist/components/CookiesSelection/CookiesSelection.d.ts +9 -9
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +7 -6
- package/dist/components/Customs/SyForm/SyForm.d.ts +1820 -0
- package/dist/components/Customs/SyTabs/SyTabs.d.ts +3 -1
- package/dist/components/Customs/SyTabs/useTabTransition.d.ts +5 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +36 -31
- package/dist/components/Customs/SyTextField/types.d.ts +1 -1
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +232 -134
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +121 -71
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +60 -37
- package/dist/components/DatePicker/composables/useDateValidation.d.ts +14 -2
- package/dist/components/DatePicker/composables/useManualDateValidation.d.ts +2 -2
- package/dist/components/DatePicker/tests/setup.d.ts +74354 -0
- package/dist/components/DialogBox/DialogBox.d.ts +10 -10
- package/dist/components/DialogBox/locales.d.ts +1 -0
- package/dist/components/DialogBox/useDraggable.d.ts +2 -0
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +7 -7
- package/dist/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.d.ts +2 -0
- package/dist/components/HeaderNavigationBar/types.d.ts +1 -0
- package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +842 -9
- package/dist/components/HeaderToolbar/locales.d.ts +3 -0
- package/dist/components/HeaderToolbar/useMobileRightMenu.d.ts +10 -0
- package/dist/components/LangBtn/LangBtn.d.ts +8 -8
- package/dist/components/NirField/NirField.d.ts +90 -65
- package/dist/components/NirField/locales.d.ts +6 -4
- package/dist/components/PasswordField/PasswordField.d.ts +3 -1
- package/dist/components/PasswordField/locales.d.ts +2 -0
- package/dist/components/PeriodField/PeriodField.d.ts +460 -260
- package/dist/components/PhoneField/PhoneField.d.ts +45 -32
- package/dist/components/RangeField/RangeField.d.ts +11 -1
- package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +2 -2
- package/dist/components/RangeField/config.d.ts +3 -0
- package/dist/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +3 -1
- package/dist/components/RatingPicker/EmotionPicker/locales.d.ts +2 -0
- package/dist/components/RatingPicker/NumberPicker/NumberPicker.d.ts +3 -1
- package/dist/components/RatingPicker/StarsPicker/StarsPicker.d.ts +3 -1
- package/dist/components/RatingPicker/locales.d.ts +1 -0
- package/dist/components/SearchListField/SearchListField.d.ts +6 -6
- package/dist/components/SyAlert/SyAlert.d.ts +2 -2
- package/dist/components/SyTextArea/SyTextArea.d.ts +13 -13
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +3 -5
- package/dist/components/Tables/SyTable/SyTable.d.ts +3 -5
- package/dist/components/Tables/common/SyTablePagination.d.ts +8 -6
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +4 -4
- package/dist/components/Tables/common/usePagination.d.ts +1 -3
- package/dist/components/Tables/common/useTableCheckbox.d.ts +1 -1
- package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +4 -4
- package/dist/components/index.d.ts +8 -0
- package/dist/composables/validation/useFormValidation.d.ts +24 -0
- package/dist/composables/validation/useValidatable.d.ts +17 -0
- package/dist/design-system-v3.js +181 -173
- package/dist/design-system-v3.umd.cjs +265 -263
- package/dist/{main-2eWGB7zZ.js → main-Dt4iNotT.js} +14095 -11151
- package/dist/style.css +1 -1
- package/dist/tooth-11-B9fN9Ow_.js +4 -0
- package/dist/tooth-12-BOOjuDe9.js +4 -0
- package/dist/tooth-13-DVU7jhZ8.js +4 -0
- package/dist/tooth-14-CXNleTBu.js +4 -0
- package/dist/tooth-15-iq3z8dzZ.js +4 -0
- package/dist/tooth-16-BuNIHSQk.js +4 -0
- package/dist/tooth-17-DLb4ijsH.js +4 -0
- package/dist/tooth-18-huijQe68.js +4 -0
- package/dist/tooth-21-Bl7Q-o4y.js +4 -0
- package/dist/tooth-22-ChQKI3h5.js +4 -0
- package/dist/tooth-23-CkzbEvBa.js +4 -0
- package/dist/tooth-24-BpaPUSEp.js +4 -0
- package/dist/tooth-25-BaVfhAL6.js +4 -0
- package/dist/tooth-26-BnL03Jv5.js +4 -0
- package/dist/tooth-27-BaHyZfhH.js +4 -0
- package/dist/tooth-28-BrMBVEgX.js +4 -0
- package/dist/tooth-31-DEH3Btej.js +4 -0
- package/dist/tooth-32-Dqcy596v.js +4 -0
- package/dist/tooth-33-DLzQOVky.js +4 -0
- package/dist/tooth-34-36nkjUPW.js +4 -0
- package/dist/tooth-35-VfFhleWT.js +4 -0
- package/dist/tooth-36-BHwtGkLx.js +4 -0
- package/dist/tooth-37-CT47Rtk-.js +4 -0
- package/dist/tooth-38-D15JmYSD.js +4 -0
- package/dist/tooth-41--x9N_iSc.js +4 -0
- package/dist/tooth-42-DZ1D3qmP.js +4 -0
- package/dist/tooth-43-C9T3b5_0.js +4 -0
- package/dist/tooth-44-CsPRBSZV.js +4 -0
- package/dist/tooth-45-Dg3wQunm.js +4 -0
- package/dist/tooth-46-DAOEt4G5.js +4 -0
- package/dist/tooth-47-DcqUeVM0.js +4 -0
- package/dist/tooth-48-0MVzkYem.js +4 -0
- package/dist/tooth-51-DOTod22I.js +4 -0
- package/dist/tooth-52-DZB1Jabv.js +4 -0
- package/dist/tooth-53-nunm2BQr.js +4 -0
- package/dist/tooth-54-BwdYfBd-.js +4 -0
- package/dist/tooth-55-BUJdNwqL.js +4 -0
- package/dist/tooth-61-BwqR1B88.js +4 -0
- package/dist/tooth-62-BzaECsvF.js +4 -0
- package/dist/tooth-63-wjdIfSq2.js +4 -0
- package/dist/tooth-64-CGW4ZcUq.js +4 -0
- package/dist/tooth-65-DxH4GgAL.js +4 -0
- package/dist/tooth-71-CmjVz11G.js +4 -0
- package/dist/tooth-72-CCyNUD-W.js +4 -0
- package/dist/tooth-73-D6aJwVz4.js +4 -0
- package/dist/tooth-74-zNtDQ6ig.js +4 -0
- package/dist/tooth-75-DDEx6y4E.js +4 -0
- package/dist/tooth-81-xg8UVvz2.js +4 -0
- package/dist/tooth-82-CtNXwBtB.js +4 -0
- package/dist/tooth-83-C2ODw7VT.js +4 -0
- package/dist/tooth-84-BKIdO9HA.js +4 -0
- package/dist/tooth-85-3YmvfAsK.js +4 -0
- package/package.json +2 -2
- package/src/assets/amelipro/img/dental-chart-img/tooth-11.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-12.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-13.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-14.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-15.svg +21 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-16.svg +31 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-17.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-18.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-21.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-22.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-23.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-24.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-25.svg +21 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-26.svg +31 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-27.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-28.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-31.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-32.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-33.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-34.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-35.svg +22 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-36.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-37.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-38.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-41.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-42.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-43.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-44.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-45.svg +22 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-46.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-47.svg +26 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-48.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-51.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-52.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-53.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-54.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-55.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-61.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-62.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-63.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-64.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-65.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-71.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-72.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-73.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-74.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-75.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-81.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-82.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-83.svg +16 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-84.svg +11 -0
- package/src/assets/amelipro/img/dental-chart-img/tooth-85.svg +16 -0
- package/src/assets/amelipro/img/idpa/apcv_logo.svg +16 -0
- package/src/assets/amelipro/img/idpa/carte-vitale.svg +75 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.mdx +15 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.stories.ts +261 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.vue +419 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/__tests__/AmeliproAccordionFrieze.spec.ts +98 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/__tests__/__snapshots__/AmeliproAccordionFrieze.spec.ts.snap +858 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/types.d.ts +6 -0
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +2 -2
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/__snapshots__/AmeliproAccordionList.spec.ts.snap +0 -4
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +2 -2
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/__snapshots__/AmeliproAccordionResultList.spec.ts.snap +0 -4
- package/src/components/Amelipro/AmeliproBadge/AmeliproBadge.stories.ts +97 -0
- package/src/components/Amelipro/AmeliproBtn/AmeliproBtn.stories.ts +190 -8
- package/src/components/Amelipro/AmeliproCallback/AmeliproCallback.stories.ts +321 -0
- package/src/components/Amelipro/AmeliproCaptcha/AmeliproCaptcha.vue +1 -1
- package/src/components/Amelipro/AmeliproCard/AmeliproCard.stories.ts +360 -0
- package/src/components/Amelipro/AmeliproCheckbox/AmeliproCheckbox.stories.ts +1 -1
- package/src/components/Amelipro/AmeliproCheckboxGroup/AmeliproCheckboxGroup.stories.ts +2 -2
- package/src/components/Amelipro/AmeliproCheckboxGroup/AmeliproCheckboxGroup.vue +1 -1
- package/src/components/Amelipro/AmeliproChips/AmeliproChips.stories.ts +46 -0
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.stories.ts +173 -0
- package/src/components/Amelipro/AmeliproCopyBtn/AmeliproCopyBtn.stories.ts +112 -26
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproDentalChart.mdx +15 -0
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproDentalChart.stories.ts +1078 -0
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproDentalChart.vue +163 -0
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproTooth/AmeliproTooth.vue +183 -0
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproTooth/tests/AmeliproTooth.spec.ts +20 -0
- package/src/components/Amelipro/AmeliproDentalChart/AmeliproTooth/tests/__snapshots__/AmeliproTooth.spec.ts.snap +39 -0
- package/src/components/Amelipro/AmeliproDentalChart/tests/AmeliproDentalChart.spec.ts +468 -0
- package/src/components/Amelipro/AmeliproDentalChart/tests/__snapshots__/AmeliproDentalChart.spec.ts.snap +2589 -0
- package/src/components/Amelipro/AmeliproDentalChart/types.d.ts +13 -0
- package/src/components/Amelipro/AmeliproDialog/AmeliproDialog.stories.ts +333 -0
- package/src/components/Amelipro/AmeliproDialog/AmeliproDialog.vue +7 -2
- package/src/components/Amelipro/AmeliproDialog/tests/__snapshots__/AmeliproDialog.spec.ts.snap +1 -0
- package/src/components/Amelipro/AmeliproErrorTemplate/AmeliproErrorTemplate.vue +1 -1
- package/src/components/Amelipro/AmeliproErrorTemplate/__tests__/__snapshots__/AmeliproErrorTemplate.spec.ts.snap +1 -2
- package/src/components/Amelipro/AmeliproFirstLogin/AmeliproFirstLogin.mdx +15 -0
- package/src/components/Amelipro/AmeliproFirstLogin/AmeliproFirstLogin.stories.ts +287 -0
- package/src/components/Amelipro/AmeliproFirstLogin/AmeliproFirstLogin.vue +331 -0
- package/src/components/Amelipro/AmeliproFirstLogin/__tests__/AmeliproFirstLogin.spec.ts +29 -0
- package/src/components/Amelipro/AmeliproFirstLogin/__tests__/__snapshots__/AmeliproFirstLogin.spec.ts.snap +1210 -0
- package/src/components/Amelipro/AmeliproFirstLogin/locales.ts +48 -0
- package/src/components/Amelipro/AmeliproIcon/AmeliproIcon.stories.ts +61 -1
- package/src/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.stories.ts +174 -0
- package/src/components/Amelipro/AmeliproIllustratedDataTile/AmeliproIllustratedDataTile.stories.ts +186 -0
- package/src/components/Amelipro/AmeliproMailTile/AmeliproMailTile.stories.ts +237 -0
- package/src/components/Amelipro/AmeliproMessage/AmeliproMessage.stories.ts +111 -0
- package/src/components/Amelipro/AmeliproMultipleFoldingCard/AmeliproMultipleFoldingCard.stories.ts +199 -0
- package/src/components/Amelipro/AmeliproNumberedCard/AmeliproNumberedCard.stories.ts +150 -0
- package/src/components/Amelipro/AmeliproOnboarding/AmeliproOnboarding.stories.ts +281 -8
- package/src/components/Amelipro/AmeliproPagination/AmeliproPagination.stories.ts +123 -43
- package/src/components/Amelipro/AmeliproPatientLogged/AmeliproPatientLogged.mdx +18 -0
- package/src/components/Amelipro/AmeliproPatientLogged/AmeliproPatientLogged.stories.ts +250 -0
- package/src/components/Amelipro/AmeliproPatientLogged/AmeliproPatientLogged.vue +520 -0
- package/src/components/Amelipro/AmeliproPatientLogged/__tests__/AmeliproPatientLogged.spec.ts +79 -0
- package/src/components/Amelipro/AmeliproPatientLogged/__tests__/__snapshots__/AmeliproPatientLogged.spec.ts.snap +1140 -0
- package/src/components/Amelipro/AmeliproPatientLogged/types.d.ts +49 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLogin.mdx +18 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLogin.stories.ts +151 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLogin.vue +231 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/AmeliproPatientLoginForm.vue +252 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/__tests__/AmeliproPatientLoginForm.spec.ts +46 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/__tests__/__snapshots__/AmeliproPatientLoginForm.spec.ts.snap +33 -0
- package/src/components/Amelipro/AmeliproPatientLogin/AmeliproPatientLoginForm/types.d.ts +6 -0
- package/src/components/Amelipro/AmeliproPatientLogin/__tests__/AmeliproPatientLogin.spec.ts +49 -0
- package/src/components/Amelipro/AmeliproPatientLogin/__tests__/__snapshots__/AmeliproPatientLogin.spec.ts.snap +60 -0
- package/src/components/Amelipro/AmeliproPatientLogin/types.d.ts +6 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.vue +464 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/__tests__/AmeliproPostalAddressCityRow.spec.ts +41 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/__tests__/__snapshots__/AmeliproPostalAddressCityRow.spec.ts.snap +548 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/types.d.ts +12 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.mdx +15 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.stories.ts +133 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.vue +360 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/tests/AmeliproPostalAddressField.spec.ts +27 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/tests/__snapshots__/AmeliproPostalAddressField.spec.ts.snap +548 -0
- package/src/components/Amelipro/AmeliproPostalAddressField/types.d.ts +18 -0
- package/src/components/Amelipro/AmeliproRadioGroup/AmeliproRadioGroup.vue +4 -3
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.vue +2 -2
- package/src/components/Amelipro/AmeliproResultList/__tests__/__snapshots__/AmeliproResultList.spec.ts.snap +0 -4
- package/src/components/Amelipro/AmeliproStateTile/AmeliproStateTile.stories.ts +210 -0
- package/src/components/Amelipro/AmeliproStatus/AmeliproStatus.stories.ts +326 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.stories.ts +232 -4
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +3 -2
- package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +0 -4
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabs.vue +1 -1
- package/src/components/Amelipro/AmeliproTextField/AmeliproTextField.stories.ts +2 -2
- package/src/components/Amelipro/AmeliproTileBtn/AmeliproTileBtn.stories.ts +222 -6
- package/src/components/Amelipro/AmeliproTooltips/AmeliproTooltips.stories.ts +169 -0
- package/src/components/Amelipro/AmeliproTooltips/AmeliproTooltips.vue +6 -1
- package/src/components/Amelipro/AmeliproTooltips/tests/__snapshots__/AmeliproTooltips.spec.ts.snap +1 -5
- package/src/components/Amelipro/AmeliproTransmission/AmeliproTransmission.stories.ts +160 -0
- package/src/components/Amelipro/StructureMenu/StructureMenu.vue +1 -1
- package/src/components/Amelipro/StructureMenu/tests/__snapshots__/StructureMenu.spec.ts.snap +1 -2
- package/src/components/Customs/Selects/SySelect/SySelect.vue +43 -1
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +4 -0
- package/src/components/Customs/SyForm/Introduction.mdx +132 -0
- package/src/components/Customs/SyForm/SyForm.mdx +105 -0
- package/src/components/Customs/SyForm/SyForm.stories.ts +375 -0
- package/src/components/Customs/SyForm/SyForm.vue +80 -0
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +31 -0
- package/src/components/Customs/SyTabs/SyTabs.vue +185 -27
- package/src/components/Customs/SyTabs/useTabTransition.ts +42 -0
- package/src/components/Customs/SyTextField/SyTextField.vue +12 -3
- package/src/components/Customs/SyTextField/types.d.ts +1 -1
- package/src/components/DataListItem/DataListItem.vue +12 -13
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +242 -41
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +30 -12
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +246 -59
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +40 -10
- package/src/components/DatePicker/DatePickerOverview.mdx +5 -1
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.mdx +21 -21
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +240 -133
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +29 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +32 -9
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +166 -38
- package/src/components/DatePicker/composables/useDateValidation.ts +8 -5
- package/src/components/DatePicker/composables/useManualDateValidation.ts +23 -6
- package/src/components/DatePicker/datePickers.stories.ts +28 -0
- package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +47 -58
- package/src/components/DatePicker/docExamples/DatePickerValidationExamples.vue +2 -2
- package/src/components/DatePicker/tests/DatePicker.validation.spec.ts +4654 -0
- package/src/components/DatePicker/tests/archiTest.md +33 -0
- package/src/components/DatePicker/tests/setup.ts +243 -0
- package/src/components/DialogBox/DialogBox.stories.ts +1 -1
- package/src/components/DialogBox/DialogBox.vue +25 -8
- package/src/components/DialogBox/locales.ts +1 -0
- package/src/components/DialogBox/tests/DialogBox.spec.ts +187 -15
- package/src/components/DialogBox/useDraggable.ts +92 -4
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +4 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/tests/__snapshots__/HeaderMenuItem.spec.ts.snap +4 -1
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.vue +18 -2
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +14 -4
- package/src/components/HeaderNavigationBar/types.ts +1 -0
- package/src/components/HeaderToolbar/Accessibilite.stories.ts +8 -0
- package/src/components/HeaderToolbar/HeaderToolbar.mdx +0 -1
- package/src/components/HeaderToolbar/HeaderToolbar.stories.ts +65 -6
- package/src/components/HeaderToolbar/HeaderToolbar.vue +589 -162
- package/src/components/HeaderToolbar/locales.ts +3 -0
- package/src/components/HeaderToolbar/useMobileRightMenu.ts +121 -0
- package/src/components/NirField/Accessibilite.stories.ts +4 -0
- package/src/components/NirField/NirField.stories.ts +0 -11
- package/src/components/NirField/NirField.vue +164 -53
- package/src/components/NirField/locales.ts +6 -4
- package/src/components/NirField/tests/NirField.spec.ts +2 -2
- package/src/components/PasswordField/Accessibilite.stories.ts +96 -0
- package/src/components/PasswordField/PasswordField.stories.ts +8 -1
- package/src/components/PasswordField/PasswordField.vue +98 -19
- package/src/components/PasswordField/locales.ts +2 -0
- package/src/components/PasswordField/tests/PasswordField.spec.ts +1 -1
- package/src/components/PhoneField/PhoneField.vue +4 -0
- package/src/components/RangeField/Accessibilite.stories.ts +4 -0
- package/src/components/RangeField/RangeField.stories.ts +60 -0
- package/src/components/RangeField/RangeField.vue +37 -21
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +30 -8
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -0
- package/src/components/RangeField/RangeSlider/tests/__snapshots__/rangeSlider.spec.ts.snap +12 -4
- package/src/components/RangeField/RangeSlider/tests/useMouseSlide.spec.ts +9 -1
- package/src/components/RangeField/RangeSlider/useMouseSlide.ts +23 -8
- package/src/components/RangeField/config.ts +3 -1
- package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +132 -141
- package/src/components/RatingPicker/Accessibilite.stories.ts +4 -0
- package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +119 -66
- package/src/components/RatingPicker/EmotionPicker/locales.ts +2 -0
- package/src/components/RatingPicker/EmotionPicker/tests/EmotionPicker.spec.ts +4 -4
- package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +462 -678
- package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +106 -42
- package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +3 -3
- package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +119 -515
- package/src/components/RatingPicker/Rating.ts +5 -1
- package/src/components/RatingPicker/RatingPicker.stories.ts +5 -6
- package/src/components/RatingPicker/RatingPicker.vue +7 -2
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +78 -42
- package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +7 -7
- package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +163 -245
- package/src/components/RatingPicker/locales.ts +1 -0
- package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +120 -516
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +109 -84
- package/src/components/Tables/SyServerTable/SyServerTable.vue +51 -16
- package/src/components/Tables/SyTable/SyTable.vue +1 -6
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +6 -0
- package/src/components/Tables/common/SyTablePagination.vue +0 -6
- package/src/components/Tables/common/tableProps.ts +19 -1
- package/src/components/Tables/common/usePagination.ts +0 -6
- package/src/components/Tables/common/useTableCheckbox.ts +5 -5
- package/src/components/index.ts +8 -0
- package/src/composables/rules/useFieldValidation.ts +21 -3
- package/src/composables/validation/AvecVosComposants.mdx +145 -0
- package/src/composables/validation/FormValidation.mdx +151 -0
- package/src/composables/validation/FormValidation.stories.ts +402 -0
- package/src/composables/validation/useFormValidation.ts +91 -0
- package/src/composables/validation/useValidatable.ts +41 -0
- package/src/stories/Accessibilite/Avancement/Avancement.stories.ts +2 -2
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +2 -2
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
- package/src/stories/Demarrer/Accueil.stories.ts +6 -6
- package/src/stories/GuideDuDev/Installation.mdx +13 -0
- package/src/stories/GuideDuDev/LesBreackingChanges.mdx +1 -1
- package/src/stories/GuideDuDev/MigrationDepuisBridge.mdx +1 -1
- package/src/stories/GuideDuDev/MigrationDepuisVue2.mdx +1 -1
|
@@ -5,7 +5,7 @@ import AmeliproOnboarding from './AmeliproOnboarding.vue'
|
|
|
5
5
|
|
|
6
6
|
const meta = {
|
|
7
7
|
argTypes: {
|
|
8
|
-
'attach': { description: 'attache le contenu de la boite de dialogue et son overlay à l
|
|
8
|
+
'attach': { description: 'attache le contenu de la boite de dialogue et son overlay à l’intérieur de v-app' },
|
|
9
9
|
'displayImgMobile': { description: 'Affiche l’image en version mobile' },
|
|
10
10
|
'eager': { description: 'Property héritée de Vuetify permettant de charger le contenu de la modale dans le DOM même lorsque la modale est fermée' },
|
|
11
11
|
'finalBtnLabel': { description: 'Label du bouton de fin de tutoriel' },
|
|
@@ -45,14 +45,14 @@ const steps = [
|
|
|
45
45
|
'Dans cet espace, vous allez pouvoir souscrire un contrat d’engagement au dispositif AIR afin de permettre aux professionnels de santé '
|
|
46
46
|
+ 'de votre établissement de consulter le DMP de leurs patients.',
|
|
47
47
|
],
|
|
48
|
-
img: '
|
|
48
|
+
img: '/amelipro/img/tile-example.svg',
|
|
49
49
|
title: 'Gérez votre contrat d\'accès au DMP en toute simplicité',
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
content: [
|
|
53
|
-
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l
|
|
53
|
+
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l’Assurance Maladie dans la gestion au quotidien de la solution AIR.',
|
|
54
54
|
],
|
|
55
|
-
img: '
|
|
55
|
+
img: '/amelipro/img/tile-example.svg',
|
|
56
56
|
title: 'Ajoutez ou modifiez des contacts',
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -60,7 +60,7 @@ const steps = [
|
|
|
60
60
|
'A partir de la page principale, vous pouvez consulter vos conditions d’engagement et retrouver les documents '
|
|
61
61
|
+ 'utiles à l’application des conditions de mise en œuvre de la solution AIR.',
|
|
62
62
|
],
|
|
63
|
-
img: '
|
|
63
|
+
img: '/amelipro/img/tile-example.svg',
|
|
64
64
|
title: 'Retrouvez les informations utiles à la gestion de vos contrats',
|
|
65
65
|
},
|
|
66
66
|
]
|
|
@@ -106,14 +106,14 @@ export const Default: Story = {
|
|
|
106
106
|
'Dans cet espace, vous allez pouvoir souscrire un contrat d’engagement au dispositif AIR afin de permettre aux professionnels de santé '
|
|
107
107
|
+ 'de votre établissement de consulter le DMP de leurs patients.',
|
|
108
108
|
],
|
|
109
|
-
img: '
|
|
109
|
+
img: '/amelipro/img/tile-example.svg',
|
|
110
110
|
title: 'Gérez votre contrat d’accès au DMP en toute simplicité',
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
content: [
|
|
114
114
|
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l’Assurance Maladie dans la gestion au quotidien de la solution AIR.',
|
|
115
115
|
],
|
|
116
|
-
img: '
|
|
116
|
+
img: '/amelipro/img/tile-example.svg',
|
|
117
117
|
title: 'Ajoutez ou modifiez des contacts',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -121,7 +121,7 @@ export const Default: Story = {
|
|
|
121
121
|
'A partir de la page principale, vous pouvez consulter vos conditions d’engagement et retrouver les documents '
|
|
122
122
|
+ 'utiles à l’application des conditions de mise en œuvre de la solution AIR.',
|
|
123
123
|
],
|
|
124
|
-
img: '
|
|
124
|
+
img: '/amelipro/img/tile-example.svg',
|
|
125
125
|
title: 'Retrouvez les informations utiles à la gestion de vos contrats',
|
|
126
126
|
},
|
|
127
127
|
]
|
|
@@ -158,3 +158,276 @@ export const Default: Story = {
|
|
|
158
158
|
`,
|
|
159
159
|
}),
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
export const AvecBoutonFinalPersonnalise: Story = {
|
|
163
|
+
name: 'Avec bouton final personnalisé',
|
|
164
|
+
args: {
|
|
165
|
+
modelValue: false,
|
|
166
|
+
steps,
|
|
167
|
+
title: 'Tutoriel',
|
|
168
|
+
uniqueId: 'amelipro-onboarding-final-btn',
|
|
169
|
+
finalBtnLabel: 'Terminer le tutoriel',
|
|
170
|
+
},
|
|
171
|
+
parameters: {
|
|
172
|
+
sourceCode: [
|
|
173
|
+
{
|
|
174
|
+
name: 'Template',
|
|
175
|
+
code: `<template>
|
|
176
|
+
<div>
|
|
177
|
+
<AmeliproBtn
|
|
178
|
+
unique-id="open-onboarding-final-btn"
|
|
179
|
+
@click="model = true"
|
|
180
|
+
>
|
|
181
|
+
Ouvrir le tutoriel (bouton final personnalisé)
|
|
182
|
+
</AmeliproBtn>
|
|
183
|
+
<AmeliproOnboarding
|
|
184
|
+
v-model="model"
|
|
185
|
+
:steps="steps"
|
|
186
|
+
title="Tutoriel"
|
|
187
|
+
unique-id="amelipro-onboarding-final-btn"
|
|
188
|
+
final-btn-label="Terminer le tutoriel"
|
|
189
|
+
/>
|
|
190
|
+
</div>
|
|
191
|
+
</template>`,
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'Script',
|
|
195
|
+
code: `<script setup lang="ts">
|
|
196
|
+
import { ref } from 'vue'
|
|
197
|
+
import { AmeliproBtn, AmeliproOnboarding } from '@cnamts/synapse'
|
|
198
|
+
|
|
199
|
+
const model = ref(false)
|
|
200
|
+
const steps = [
|
|
201
|
+
{
|
|
202
|
+
content: [
|
|
203
|
+
'Dans cet espace, vous allez pouvoir souscrire un contrat d’engagement au dispositif AIR afin de permettre aux professionnels de santé ' +
|
|
204
|
+
'de votre établissement de consulter le DMP de leurs patients.',
|
|
205
|
+
],
|
|
206
|
+
img: './public/tile-example.svg',
|
|
207
|
+
title: 'Gérez votre contrat d’accès au DMP en toute simplicité',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
content: [
|
|
211
|
+
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l’Assurance Maladie dans la gestion au quotidien de la solution AIR.',
|
|
212
|
+
],
|
|
213
|
+
img: './public/tile-example.svg',
|
|
214
|
+
title: 'Ajoutez ou modifiez des contacts',
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
content: [
|
|
218
|
+
'A partir de la page principale, vous pouvez consulter vos conditions d’engagement et retrouver les documents ' +
|
|
219
|
+
'utiles à l’application des conditions de mise en œuvre de la solution AIR.',
|
|
220
|
+
],
|
|
221
|
+
img: './public/tile-example.svg',
|
|
222
|
+
title: 'Retrouvez les informations utiles à la gestion de vos contrats',
|
|
223
|
+
},
|
|
224
|
+
]
|
|
225
|
+
</script>`,
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
},
|
|
229
|
+
render: args => ({
|
|
230
|
+
components: { AmeliproBtn, AmeliproOnboarding },
|
|
231
|
+
setup() {
|
|
232
|
+
const model = ref(false)
|
|
233
|
+
return { args, model }
|
|
234
|
+
},
|
|
235
|
+
template: `
|
|
236
|
+
<p class="mb-2">Onboarding avec un label de bouton final personnalisé (<code>finalBtnLabel</code>).</p>
|
|
237
|
+
<div>
|
|
238
|
+
<AmeliproBtn
|
|
239
|
+
unique-id="open-onboarding-final-btn"
|
|
240
|
+
@click="model = true"
|
|
241
|
+
>
|
|
242
|
+
Ouvrir le tutoriel (bouton final personnalisé)
|
|
243
|
+
</AmeliproBtn>
|
|
244
|
+
<AmeliproOnboarding
|
|
245
|
+
v-bind="args"
|
|
246
|
+
v-model="model"
|
|
247
|
+
/>
|
|
248
|
+
</div>
|
|
249
|
+
`,
|
|
250
|
+
}),
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export const Persistent: Story = {
|
|
254
|
+
name: 'Persistent (pas de croix ni bouton "Passer")',
|
|
255
|
+
args: {
|
|
256
|
+
modelValue: false,
|
|
257
|
+
steps,
|
|
258
|
+
title: 'Tutoriel',
|
|
259
|
+
uniqueId: 'amelipro-onboarding-persistent',
|
|
260
|
+
persistent: true,
|
|
261
|
+
},
|
|
262
|
+
parameters: {
|
|
263
|
+
sourceCode: [
|
|
264
|
+
{
|
|
265
|
+
name: 'Template',
|
|
266
|
+
code: `<template>
|
|
267
|
+
<div>
|
|
268
|
+
<AmeliproBtn
|
|
269
|
+
unique-id="open-onboarding-persistent-btn"
|
|
270
|
+
@click="model = true"
|
|
271
|
+
>
|
|
272
|
+
Ouvrir le tutoriel (persistent)
|
|
273
|
+
</AmeliproBtn>
|
|
274
|
+
<AmeliproOnboarding
|
|
275
|
+
v-model="model"
|
|
276
|
+
:steps="steps"
|
|
277
|
+
title="Tutoriel"
|
|
278
|
+
unique-id="amelipro-onboarding-persistent"
|
|
279
|
+
persistent
|
|
280
|
+
/>
|
|
281
|
+
</div>
|
|
282
|
+
</template>`,
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: 'Script',
|
|
286
|
+
code: `<script setup lang="ts">
|
|
287
|
+
import { ref } from 'vue'
|
|
288
|
+
import { AmeliproBtn, AmeliproOnboarding } from '@cnamts/synapse'
|
|
289
|
+
|
|
290
|
+
const model = ref(false)
|
|
291
|
+
const steps = [
|
|
292
|
+
{
|
|
293
|
+
content: [
|
|
294
|
+
'Dans cet espace, vous allez pouvoir souscrire un contrat d’engagement au dispositif AIR afin de permettre aux professionnels de santé ' +
|
|
295
|
+
'de votre établissement de consulter le DMP de leurs patients.',
|
|
296
|
+
],
|
|
297
|
+
img: './public/tile-example.svg',
|
|
298
|
+
title: 'Gérez votre contrat d’accès au DMP en toute simplicité',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
content: [
|
|
302
|
+
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l’Assurance Maladie dans la gestion au quotidien de la solution AIR.',
|
|
303
|
+
],
|
|
304
|
+
img: './public/tile-example.svg',
|
|
305
|
+
title: 'Ajoutez ou modifiez des contacts',
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
content: [
|
|
309
|
+
'A partir de la page principale, vous pouvez consulter vos conditions d’engagement et retrouver les documents ' +
|
|
310
|
+
'utiles à l’application des conditions de mise en œuvre de la solution AIR.',
|
|
311
|
+
],
|
|
312
|
+
img: './public/tile-example.svg',
|
|
313
|
+
title: 'Retrouvez les informations utiles à la gestion de vos contrats',
|
|
314
|
+
},
|
|
315
|
+
]
|
|
316
|
+
</script>`,
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
},
|
|
320
|
+
render: args => ({
|
|
321
|
+
components: { AmeliproBtn, AmeliproOnboarding },
|
|
322
|
+
setup() {
|
|
323
|
+
const model = ref(false)
|
|
324
|
+
return { args, model }
|
|
325
|
+
},
|
|
326
|
+
template: `
|
|
327
|
+
<p class="mb-2">Onboarding persistent : pas de croix de fermeture ni de bouton "Passer" (<code>persistent</code>).</p>
|
|
328
|
+
<div>
|
|
329
|
+
<AmeliproBtn
|
|
330
|
+
unique-id="open-onboarding-persistent-btn"
|
|
331
|
+
@click="model = true"
|
|
332
|
+
>
|
|
333
|
+
Ouvrir le tutoriel (persistent)
|
|
334
|
+
</AmeliproBtn>
|
|
335
|
+
<AmeliproOnboarding
|
|
336
|
+
v-bind="args"
|
|
337
|
+
v-model="model"
|
|
338
|
+
/>
|
|
339
|
+
</div>
|
|
340
|
+
`,
|
|
341
|
+
}),
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export const LargeurPersonnalisee: Story = {
|
|
345
|
+
name: 'Largeur personnalisée',
|
|
346
|
+
args: {
|
|
347
|
+
modelValue: false,
|
|
348
|
+
steps,
|
|
349
|
+
title: 'Tutoriel',
|
|
350
|
+
uniqueId: 'amelipro-onboarding-width',
|
|
351
|
+
width: '900px',
|
|
352
|
+
},
|
|
353
|
+
parameters: {
|
|
354
|
+
sourceCode: [
|
|
355
|
+
{
|
|
356
|
+
name: 'Template',
|
|
357
|
+
code: `<template>
|
|
358
|
+
<div>
|
|
359
|
+
<AmeliproBtn
|
|
360
|
+
unique-id="open-onboarding-width-btn"
|
|
361
|
+
@click="model = true"
|
|
362
|
+
>
|
|
363
|
+
Ouvrir le tutoriel (largeur personnalisée)
|
|
364
|
+
</AmeliproBtn>
|
|
365
|
+
<AmeliproOnboarding
|
|
366
|
+
v-model="model"
|
|
367
|
+
:steps="steps"
|
|
368
|
+
title="Tutoriel"
|
|
369
|
+
unique-id="amelipro-onboarding-width"
|
|
370
|
+
width="900px"
|
|
371
|
+
/>
|
|
372
|
+
</div>
|
|
373
|
+
</template>`,
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'Script',
|
|
377
|
+
code: `<script setup lang="ts">
|
|
378
|
+
import { ref } from 'vue'
|
|
379
|
+
import { AmeliproBtn, AmeliproOnboarding } from '@cnamts/synapse'
|
|
380
|
+
|
|
381
|
+
const model = ref(false)
|
|
382
|
+
const steps = [
|
|
383
|
+
{
|
|
384
|
+
content: [
|
|
385
|
+
'Dans cet espace, vous allez pouvoir souscrire un contrat d’engagement au dispositif AIR afin de permettre aux professionnels de santé ' +
|
|
386
|
+
'de votre établissement de consulter le DMP de leurs patients.',
|
|
387
|
+
],
|
|
388
|
+
img: './public/tile-example.svg',
|
|
389
|
+
title: 'Gérez votre contrat d’accès au DMP en toute simplicité',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
content: [
|
|
393
|
+
'Vous avez la possibilité de désigner les personnes qui seront les contacts privilégiés de l’Assurance Maladie dans la gestion au quotidien de la solution AIR.',
|
|
394
|
+
],
|
|
395
|
+
img: './public/tile-example.svg',
|
|
396
|
+
title: 'Ajoutez ou modifiez des contacts',
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
content: [
|
|
400
|
+
'A partir de la page principale, vous pouvez consulter vos conditions d’engagement et retrouver les documents ' +
|
|
401
|
+
'utiles à l’application des conditions de mise en œuvre de la solution AIR.',
|
|
402
|
+
],
|
|
403
|
+
img: './public/tile-example.svg',
|
|
404
|
+
title: 'Retrouvez les informations utiles à la gestion de vos contrats',
|
|
405
|
+
},
|
|
406
|
+
]
|
|
407
|
+
</script>`,
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
},
|
|
411
|
+
render: args => ({
|
|
412
|
+
components: { AmeliproBtn, AmeliproOnboarding },
|
|
413
|
+
setup() {
|
|
414
|
+
const model = ref(false)
|
|
415
|
+
return { args, model }
|
|
416
|
+
},
|
|
417
|
+
template: `
|
|
418
|
+
<p class="mb-2">Onboarding avec largeur personnalisée (<code>width="900px"</code>).</p>
|
|
419
|
+
<div>
|
|
420
|
+
<AmeliproBtn
|
|
421
|
+
unique-id="open-onboarding-width-btn"
|
|
422
|
+
@click="model = true"
|
|
423
|
+
>
|
|
424
|
+
Ouvrir le tutoriel (largeur personnalisée)
|
|
425
|
+
</AmeliproBtn>
|
|
426
|
+
<AmeliproOnboarding
|
|
427
|
+
v-bind="args"
|
|
428
|
+
v-model="model"
|
|
429
|
+
/>
|
|
430
|
+
</div>
|
|
431
|
+
`,
|
|
432
|
+
}),
|
|
433
|
+
}
|
|
@@ -27,70 +27,150 @@ export default meta
|
|
|
27
27
|
|
|
28
28
|
type Story = StoryObj<typeof AmeliproPagination>
|
|
29
29
|
|
|
30
|
-
const items = [
|
|
31
|
-
{ key: 1 },
|
|
32
|
-
{ key: 2 },
|
|
33
|
-
{ key: 3 },
|
|
34
|
-
{ key: 4 },
|
|
35
|
-
{ key: 5 },
|
|
36
|
-
{ key: 6 },
|
|
37
|
-
{ key: 7 },
|
|
38
|
-
{ key: 8 },
|
|
39
|
-
{ key: 9 },
|
|
40
|
-
{ key: 10 },
|
|
41
|
-
]
|
|
42
|
-
|
|
43
30
|
export const Default: Story = {
|
|
31
|
+
name: 'Default',
|
|
32
|
+
args: {
|
|
33
|
+
items: [
|
|
34
|
+
{ key: 1 },
|
|
35
|
+
{ key: 2 },
|
|
36
|
+
{ key: 3 },
|
|
37
|
+
{ key: 4 },
|
|
38
|
+
{ key: 5 },
|
|
39
|
+
],
|
|
40
|
+
activePageDefault: 1,
|
|
41
|
+
uniqueId: 'pagination-basique',
|
|
42
|
+
},
|
|
43
|
+
parameters: {
|
|
44
|
+
sourceCode: [
|
|
45
|
+
{
|
|
46
|
+
name: 'Template',
|
|
47
|
+
code: `<template>
|
|
48
|
+
<p>Pagination simple sur 5 pages, sans navigation interne ni liens.</p>
|
|
49
|
+
<AmeliproPagination
|
|
50
|
+
:items="[
|
|
51
|
+
{ key: 1 },
|
|
52
|
+
{ key: 2 },
|
|
53
|
+
{ key: 3 },
|
|
54
|
+
{ key: 4 },
|
|
55
|
+
{ key: 5 }
|
|
56
|
+
]"
|
|
57
|
+
active-page-default="1"
|
|
58
|
+
unique-id="pagination-basique"
|
|
59
|
+
/>
|
|
60
|
+
</template>`,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'Script',
|
|
64
|
+
code: `<script setup lang="ts">
|
|
65
|
+
import { AmeliproPagination } from '@cnamts/synapse'
|
|
66
|
+
</script>`,
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
render: args => ({
|
|
71
|
+
components: { AmeliproPagination },
|
|
72
|
+
setup() { return { args } },
|
|
73
|
+
template: `
|
|
74
|
+
<p class="mb-2">Pagination simple sur 5 pages, sans navigation interne ni liens.</p>
|
|
75
|
+
<AmeliproPagination v-bind="args" />
|
|
76
|
+
`,
|
|
77
|
+
}),
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export const PaginationLongue: Story = {
|
|
81
|
+
name: 'Pagination longue (plus de 5 pages)',
|
|
44
82
|
args: {
|
|
83
|
+
items: Array.from({ length: 10 }, (_, i) => ({ key: i + 1 })),
|
|
84
|
+
activePageDefault: 6,
|
|
85
|
+
uniqueId: 'pagination-longue',
|
|
86
|
+
},
|
|
87
|
+
parameters: {
|
|
88
|
+
sourceCode: [
|
|
89
|
+
{
|
|
90
|
+
name: 'Template',
|
|
91
|
+
code: `<template>
|
|
92
|
+
<p>Pagination longue (plus de 5 pages) avec gestion des chevrons et affichage dynamique.</p>
|
|
93
|
+
<AmeliproPagination
|
|
94
|
+
:items="Array.from({ length: 10 }, (_, i) => ({ key: i + 1 }))"
|
|
95
|
+
active-page-default="6"
|
|
96
|
+
unique-id="pagination-longue"
|
|
97
|
+
/>
|
|
98
|
+
</template>`,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Script',
|
|
102
|
+
code: `<script setup lang="ts">
|
|
103
|
+
import { AmeliproPagination } from '@cnamts/synapse'
|
|
104
|
+
</script>`,
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
render: args => ({
|
|
109
|
+
components: { AmeliproPagination },
|
|
110
|
+
setup() { return { args } },
|
|
111
|
+
template: `
|
|
112
|
+
<p class="mb-2">Pagination longue (plus de 5 pages) avec gestion des chevrons et affichage dynamique.</p>
|
|
113
|
+
<AmeliproPagination v-bind="args" />
|
|
114
|
+
`,
|
|
115
|
+
}),
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export const EvenementClick: Story = {
|
|
119
|
+
name: 'Gestion de l’événement click',
|
|
120
|
+
args: {
|
|
121
|
+
items: [
|
|
122
|
+
{ key: 1 },
|
|
123
|
+
{ key: 2 },
|
|
124
|
+
{ key: 3 },
|
|
125
|
+
{ key: 4 },
|
|
126
|
+
{ key: 5 },
|
|
127
|
+
],
|
|
45
128
|
activePageDefault: 1,
|
|
46
|
-
|
|
47
|
-
uniqueId: 'amelipro-pagination-unique-id',
|
|
129
|
+
uniqueId: 'pagination-click',
|
|
48
130
|
},
|
|
49
131
|
parameters: {
|
|
50
132
|
sourceCode: [
|
|
51
133
|
{
|
|
52
134
|
name: 'Template',
|
|
53
135
|
code: `<template>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
136
|
+
<p>La pagination émet un événement <code>click</code> à chaque changement de page.</p>
|
|
137
|
+
<AmeliproPagination
|
|
138
|
+
:items="[
|
|
139
|
+
{ key: 1 },
|
|
140
|
+
{ key: 2 },
|
|
141
|
+
{ key: 3 },
|
|
142
|
+
{ key: 4 },
|
|
143
|
+
{ key: 5 }
|
|
144
|
+
]"
|
|
145
|
+
active-page-default="1"
|
|
146
|
+
unique-id="pagination-click"
|
|
147
|
+
@click="onPageClick"
|
|
148
|
+
/>
|
|
149
|
+
</template>`,
|
|
61
150
|
},
|
|
62
151
|
{
|
|
63
152
|
name: 'Script',
|
|
64
153
|
code: `<script setup lang="ts">
|
|
65
|
-
|
|
154
|
+
import { AmeliproPagination } from '@cnamts/synapse'
|
|
66
155
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
{ key: 4 },
|
|
72
|
-
{ key: 5 },
|
|
73
|
-
{ key: 6 },
|
|
74
|
-
{ key: 7 },
|
|
75
|
-
{ key: 8 },
|
|
76
|
-
{ key: 9 },
|
|
77
|
-
{ key: 10 },
|
|
78
|
-
]
|
|
79
|
-
</script>
|
|
80
|
-
`,
|
|
156
|
+
function onPageClick(page: number) {
|
|
157
|
+
alert('Page active : ' + page)
|
|
158
|
+
}
|
|
159
|
+
</script>`,
|
|
81
160
|
},
|
|
82
161
|
],
|
|
83
162
|
},
|
|
84
163
|
render: args => ({
|
|
85
164
|
components: { AmeliproPagination },
|
|
86
165
|
setup() {
|
|
87
|
-
|
|
166
|
+
function onPageClick(page: number) {
|
|
167
|
+
alert('Page active : ' + page)
|
|
168
|
+
}
|
|
169
|
+
return { args, onPageClick }
|
|
88
170
|
},
|
|
89
171
|
template: `
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
`,
|
|
172
|
+
<p class="mb-2">La pagination émet un événement <code>click</code> à chaque changement de page.</p>
|
|
173
|
+
<AmeliproPagination v-bind="args" @click="onPageClick" />
|
|
174
|
+
`,
|
|
94
175
|
}),
|
|
95
|
-
|
|
96
176
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Controls, Canvas, Meta, Source } from '@storybook/blocks';
|
|
2
|
+
|
|
3
|
+
import * as AmeliproPatientLoggedStories from './AmeliproPatientLogged.stories';
|
|
4
|
+
|
|
5
|
+
<Meta of={AmeliproPatientLoggedStories} />
|
|
6
|
+
|
|
7
|
+
# AmeliproPatientLogged
|
|
8
|
+
|
|
9
|
+
L’élément `AmeliproPatientLogged` est utilisé pour afficher les informations du patient identifié
|
|
10
|
+
|
|
11
|
+
<Canvas of={AmeliproPatientLoggedStories.Default} />
|
|
12
|
+
|
|
13
|
+
## API
|
|
14
|
+
|
|
15
|
+
<Controls of={AmeliproPatientLoggedStories.Default} />
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|