@cnamts/synapse 1.0.13 → 1.0.15
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/README.md +72 -72
- package/dist/{DateFilter-_EFzsvvM.js → DateFilter-isr8mXVb.js} +1 -1
- package/dist/{NumberFilter-CUxEbKJh.js → NumberFilter-BOe7DqWX.js} +1 -1
- package/dist/{PeriodFilter-D5ueqtKy.js → PeriodFilter-WTprpO40.js} +1 -1
- package/dist/{SelectFilter-BciBNydy.js → SelectFilter-CqlG5dmI.js} +1 -1
- package/dist/{TextFilter-DMN_WAQB.js → TextFilter-fVW5bsRw.js} +1 -1
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +60 -28
- package/dist/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.d.ts +3 -3
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +60 -28
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +61 -29
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +5 -1
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +3 -1
- package/dist/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.d.ts +1 -1
- package/dist/components/Captcha/Captcha.d.ts +2 -0
- package/dist/components/Captcha/CaptchaBase.d.ts +1 -0
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +29 -17
- package/dist/components/Customs/SyTabs/SyTabs.d.ts +20 -0
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +100 -10
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +108 -21
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +6 -6
- package/dist/components/DatePicker/composables/useDateFormatDisplay.d.ts +3 -0
- package/dist/components/DatePicker/tests/setup.d.ts +768 -48
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +8 -0
- package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +58 -34
- package/dist/components/LangBtn/LangBtn.d.ts +4 -0
- package/dist/components/PeriodField/PeriodField.d.ts +192 -12
- package/dist/components/RatingPicker/RatingPicker.d.ts +9 -0
- package/dist/components/SearchListField/SearchListField.d.ts +42 -413
- package/dist/components/SearchListField/locales.d.ts +1 -2
- package/dist/components/SyAlert/SyAlert.d.ts +1 -1
- package/dist/components/SyTextArea/SyTextArea.d.ts +2 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +15 -8
- package/dist/components/Tables/SyTable/SyTable.d.ts +15 -8
- package/dist/components/Tables/common/SyTablePagination.d.ts +29 -17
- package/dist/components/Tables/common/organizeColumns/OrganizeColumns.d.ts +4 -0
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/design-system-v3.js +1 -1
- package/dist/design-system-v3.umd.cjs +32 -16
- package/dist/{main-DISHlqcd.js → main-CbBVJ_le.js} +9911 -9751
- package/dist/style.css +1 -1
- package/package.json +5 -2
- package/src/assets/amelipro/icons.ts +17 -0
- package/src/components/Amelipro/AmeliproAccordionFrieze/AmeliproAccordionFrieze.stories.ts +40 -36
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/AmeliproAccordionGroup.spec.ts +226 -26
- package/src/components/Amelipro/AmeliproAccordionGroup/__tests__/__snapshots__/AmeliproAccordionGroup.spec.ts.snap +55 -506
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.stories.ts +1 -1
- package/src/components/Amelipro/AmeliproAccordionList/AmeliproAccordionList.vue +7 -2
- package/src/components/Amelipro/AmeliproAccordionList/__tests__/__snapshots__/AmeliproAccordionList.spec.ts.snap +2 -1
- package/src/components/Amelipro/AmeliproAccordionResult/AmeliproAccordionResultTemplate/__tests__/__snapshots__/AmeliproAccordionResultTemplate.spec.ts.snap +4 -1
- package/src/components/Amelipro/AmeliproAccordionResult/__tests__/__snapshots__/AmeliproAccordionResult.spec.ts.snap +4 -1
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.stories.ts +1 -1
- package/src/components/Amelipro/AmeliproAccordionResultList/AmeliproAccordionResultList.vue +9 -3
- package/src/components/Amelipro/AmeliproAccordionResultList/__tests__/__snapshots__/AmeliproAccordionResultList.spec.ts.snap +42 -11
- package/src/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.stories.ts +4 -4
- package/src/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.vue +7 -5
- package/src/components/Amelipro/AmeliproAutoCompleteField/__tests__/__snapshots__/AmeliproAutoCompleteField.spec.ts.snap +4 -2
- package/src/components/Amelipro/AmeliproBtn/AmeliproBtn.stories.ts +1 -40
- package/src/components/Amelipro/AmeliproBtn/AmeliproBtn.vue +4 -0
- package/src/components/Amelipro/AmeliproCallback/AmeliproCallback.stories.ts +4 -2
- package/src/components/Amelipro/AmeliproCaptcha/__tests__/__snapshots__/AmeliproCaptcha.spec.ts.snap +2 -1
- package/src/components/Amelipro/AmeliproClickableTile/AmeliproClickableTile.stories.ts +39 -29
- package/src/components/Amelipro/AmeliproCopyBtn/__tests__/__snapshots__/AmeliproCopyBtn.spec.ts.snap +4 -1
- package/src/components/Amelipro/AmeliproCustomSelector/AmeliproCustomSelector.vue +3 -3
- package/src/components/Amelipro/AmeliproCustomSelector/__tests__/__snapshots__/AmeliproCustomSelector.spec.ts.snap +8 -6
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.mdx +3 -1
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.stories.ts +23 -5
- package/src/components/Amelipro/AmeliproFilePreview/AmeliproFilePreview.vue +5 -6
- package/src/components/Amelipro/AmeliproFilePreview/__tests__/AmeliproFilePreview.spec.ts +2 -2
- package/src/components/Amelipro/AmeliproFilePreview/__tests__/__snapshots__/AmeliproFilePreview.spec.ts.snap +5 -6
- package/src/components/Amelipro/AmeliproFirstLogin/__tests__/__snapshots__/AmeliproFirstLogin.spec.ts.snap +4 -1
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeader.vue +1 -2
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproLogoAm/__tests__/AmeliproLogoAm.spec.ts +78 -0
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproLogoAm/{tests → __tests__}/__snapshots__/AmeliproLogoAm.spec.ts.snap +64 -2
- package/src/components/Amelipro/AmeliproIcon/__tests__/AmeliproIcon.spec.ts +358 -0
- package/src/components/Amelipro/AmeliproIcon/{tests → __tests__}/__snapshots__/AmeliproIcon.spec.ts.snap +30 -3
- package/src/components/Amelipro/AmeliproIcon/iconList.ts +1 -0
- package/src/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.vue +1 -1
- package/src/components/Amelipro/AmeliproIconBtn/__tests__/AmeliproIconBtn.spec.ts +459 -0
- package/src/components/Amelipro/AmeliproIconBtn/__tests__/__snapshots__/AmeliproIconBtn.spec.ts.snap +58 -0
- package/src/components/Amelipro/AmeliproIllustratedDataTile/AmeliproIllustratedDataTile.stories.ts +38 -26
- package/src/components/Amelipro/AmeliproIllustratedDataTile/__tests__/AmeliproIllustratedDataTile.spec.ts +321 -0
- package/src/components/Amelipro/AmeliproIllustratedDataTile/__tests__/__snapshots__/AmeliproIllustratedDataTile.spec.ts.snap +148 -0
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/AmeliproIllustratedRadioGroup.stories.ts +14 -5
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/AmeliproIllustratedRadioGroup.vue +1 -1
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/__tests__/AmeliproIllustratedRadioGroup.spec.ts +498 -0
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/__tests__/__snapshots__/AmeliproIllustratedRadioGroup.spec.ts.snap +325 -0
- package/src/components/Amelipro/AmeliproMailTile/__tests__/AmeliproMailTile.spec.ts +210 -0
- package/src/components/Amelipro/AmeliproMailTile/__tests__/__snapshots__/AmeliproMailTile.spec.ts.snap +98 -0
- package/src/components/Amelipro/AmeliproMessage/__tests__/AmeliproMessage.spec.ts +446 -0
- package/src/components/Amelipro/AmeliproMessage/__tests__/__snapshots__/AmeliproMessage.spec.ts.snap +60 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/__tests__/AmeliproMessagingLayout.spec.ts +300 -0
- package/src/components/Amelipro/AmeliproMessagingLayout/__tests__/__snapshots__/AmeliproMessagingLayout.spec.ts.snap +197 -0
- package/src/components/Amelipro/AmeliproNumberedCard/__tests__/AmeliproNumberedCard.spec.ts +117 -0
- package/src/components/Amelipro/AmeliproNumberedCard/{tests → __tests__}/__snapshots__/AmeliproNumberedCard.spec.ts.snap +47 -45
- package/src/components/Amelipro/AmeliproOnboarding/__tests__/AmeliproOnboarding.spec.ts +219 -0
- package/src/components/Amelipro/AmeliproOnboarding/__tests__/__snapshots__/AmeliproOnboarding.spec.ts.snap +41 -0
- package/src/components/Amelipro/AmeliproPageLayout/__tests__/AmeliproPageLayout.spec.ts +129 -0
- package/src/components/Amelipro/AmeliproPageLayout/__tests__/__snapshots__/AmeliproPageLayout.spec.ts.snap +189 -0
- package/src/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/__tests__/AmeliproPaginationBtn.spec.ts +92 -0
- package/src/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/__tests__/__snapshots__/AmeliproPaginationBtn.spec.ts.snap +56 -0
- package/src/components/Amelipro/AmeliproPagination/__tests__/AmeliproPagination.spec.ts +165 -0
- package/src/components/Amelipro/AmeliproPagination/__tests__/__snapshots__/AmeliproPagination.spec.ts.snap +83 -0
- package/src/components/Amelipro/AmeliproPatientBanner/__tests__/AmeliproPatientBanner.spec.ts +208 -0
- package/src/components/Amelipro/AmeliproPatientBanner/__tests__/__snapshots__/AmeliproPatientBanner.spec.ts.snap +285 -0
- package/src/components/Amelipro/AmeliproPatientLogged/__tests__/__snapshots__/AmeliproPatientLogged.spec.ts.snap +26 -7
- package/src/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/__tests__/__snapshots__/AmeliproPostalAddressCityRow.spec.ts.snap +12 -4
- package/src/components/Amelipro/AmeliproRadioGroup/AmeliproRadioGroup.stories.ts +28 -8
- package/src/components/Amelipro/AmeliproRadioGroup/__tests__/AmeliproRadioGroup.spec.ts +332 -0
- package/src/components/Amelipro/AmeliproRadioGroup/__tests__/__snapshots__/AmeliproRadioGroup.spec.ts.snap +255 -0
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.stories.ts +1 -2
- package/src/components/Amelipro/AmeliproResultList/AmeliproResultList.vue +3 -1
- package/src/components/Amelipro/AmeliproResultList/__tests__/__snapshots__/AmeliproResultList.spec.ts.snap +2 -1
- package/src/components/Amelipro/AmeliproSelect/AmeliproSelect.vue +11 -5
- package/src/components/Amelipro/AmeliproSelect/__tests__/AmeliproSelect.spec.ts +481 -0
- package/src/components/Amelipro/AmeliproSelect/__tests__/__snapshots__/AmeliproSelect.spec.ts.snap +117 -0
- package/src/components/Amelipro/AmeliproStateTile/AmeliproStateTile.vue +5 -2
- package/src/components/Amelipro/AmeliproStateTile/__tests__/AmeliproStateTile.spec.ts +206 -0
- package/src/components/Amelipro/AmeliproStateTile/__tests__/__snapshots__/AmeliproStateTile.spec.ts.snap +158 -0
- package/src/components/Amelipro/AmeliproStatus/__tests__/AmeliproStatus.spec.ts +120 -0
- package/src/components/Amelipro/AmeliproStatus/__tests__/__snapshots__/AmeliproStatus.spec.ts.snap +39 -0
- package/src/components/Amelipro/AmeliproStepper/AmeliproStepBtn/__tests__/AmeliproStepBtn.spec.ts +97 -0
- package/src/components/Amelipro/AmeliproStepper/AmeliproStepBtn/__tests__/__snapshots__/AmeliproStepBtn.spec.ts.snap +61 -0
- package/src/components/Amelipro/AmeliproStepper/__tests__/AmeliproStepper.spec.ts +248 -0
- package/src/components/Amelipro/AmeliproStepper/__tests__/__snapshots__/AmeliproStepper.spec.ts.snap +179 -0
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.stories.ts +14 -13
- package/src/components/Amelipro/AmeliproTable/AmeliproTable.vue +2 -1
- package/src/components/Amelipro/AmeliproTable/__tests__/__snapshots__/AmeliproTable.spec.ts.snap +10 -3
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabBtn/__tests__/AmeliproTabBtn.spec.ts +129 -0
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabBtn/__tests__/__snapshots__/AmeliproTabBtn.spec.ts.snap +81 -0
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabs.vue +2 -2
- package/src/components/Amelipro/AmeliproTabs/__tests__/AmeliproTabs.spec.ts +234 -0
- package/src/components/Amelipro/AmeliproTabs/__tests__/__snapshots__/AmeliproTabs.spec.ts.snap +122 -0
- package/src/components/Amelipro/AmeliproTextArea/AmeliproTextArea.vue +7 -5
- package/src/components/Amelipro/AmeliproTextArea/__tests__/AmeliproTextArea.spec.ts +265 -9
- package/src/components/Amelipro/AmeliproTextArea/__tests__/__snapshots__/AmeliproTextArea.spec.ts.snap +98 -155
- package/src/components/Amelipro/AmeliproTextField/AmeliproTextField.vue +7 -5
- package/src/components/Amelipro/AmeliproTextField/__tests__/AmeliproTextField.spec.ts +375 -0
- package/src/components/Amelipro/AmeliproTextField/__tests__/__snapshots__/AmeliproTextField.spec.ts.snap +143 -0
- package/src/components/Amelipro/AmeliproTileBtn/__tests__/AmeliproTileBtn.spec.ts +241 -0
- package/src/components/Amelipro/AmeliproTileBtn/__tests__/__snapshots__/AmeliproTileBtn.spec.ts.snap +74 -0
- package/src/components/Amelipro/AmeliproTooltips/__tests__/AmeliproTooltips.spec.ts +212 -0
- package/src/components/Amelipro/AmeliproTooltips/__tests__/__snapshots__/AmeliproTooltips.spec.ts.snap +71 -0
- package/src/components/Amelipro/AmeliproTransmission/__tests__/AmeliproTransmission.spec.ts +155 -0
- package/src/components/Amelipro/AmeliproTransmission/__tests__/__snapshots__/AmeliproTransmission.spec.ts.snap +240 -0
- package/src/components/Amelipro/AmeliproUpload/AmeliproUpload.stories.ts +0 -1
- package/src/components/Amelipro/ServiceMenu/tests/__snapshots__/ServiceMenu.spec.ts.snap +4 -1
- package/src/components/Amelipro/StructureMenu/StructureBtn/StructureBtn.vue +4 -0
- package/src/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.vue +4 -5
- package/src/components/Amelipro/StructureMenu/StructureTabs/tests/__snapshots__/StructureTabs.spec.ts.snap +5 -4
- package/src/components/Amelipro/StructureMenu/tests/__snapshots__/StructureMenu.spec.ts.snap +13 -6
- package/src/components/Amelipro/UserMenu/UserMenu.vue +2 -1
- package/src/components/Amelipro/UserMenu/tests/__snapshots__/UserMenu.spec.ts.snap +4 -1
- package/src/components/Captcha/Captcha.mdx +4 -4
- package/src/components/Captcha/Captcha.stories.ts +8 -1
- package/src/components/Captcha/Captcha.vue +3 -0
- package/src/components/Captcha/CaptchaBase.vue +3 -0
- package/src/components/Captcha/captchaApi.ts +0 -1
- package/src/components/Customs/Selects/SySelect/SySelect.vue +2 -2
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +5 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +1 -1
- package/src/components/Customs/SyTabs/SyTabs.stories.ts +174 -10
- package/src/components/Customs/SyTabs/SyTabs.vue +62 -0
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +98 -0
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +13 -13
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +13 -0
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +11 -11
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +5 -0
- package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.mdx +7 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.range.spec.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.spec.ts +3 -3
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +50 -2
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +15 -15
- package/src/components/DatePicker/composables/tests/useDateFormatValidation.spec.ts +2 -2
- package/src/components/DatePicker/composables/tests/useManualDateValidation.spec.ts +1 -1
- package/src/components/DatePicker/composables/useDateFormatDisplay.ts +25 -0
- package/src/components/DatePicker/composables/useDateFormatValidation.ts +5 -2
- package/src/components/DatePicker/composables/useManualDateValidation.ts +5 -1
- package/src/components/DatePicker/tests/DatePicker.validation.spec.ts +1 -1
- package/src/components/ErrorPage/ErrorPage.vue +54 -7
- package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +6 -2
- package/src/components/ExternalLinks/ExternalLinks.vue +2 -4
- package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +6 -2
- package/src/components/PasswordField/PasswordField.vue +6 -6
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +3 -2
- package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +2 -1
- package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +2 -0
- package/src/components/RatingPicker/RatingPicker.stories.ts +10 -0
- package/src/components/RatingPicker/RatingPicker.vue +23 -1
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +2 -0
- package/src/components/SearchListField/Accessibilite.stories.ts +4 -0
- package/src/components/SearchListField/SearchListField.stories.ts +16 -0
- package/src/components/SearchListField/SearchListField.vue +121 -109
- package/src/components/SearchListField/locales.ts +11 -2
- package/src/components/SearchListField/tests/SearchListField.spec.ts +91 -25
- package/src/components/SyAlert/SyAlert.vue +8 -0
- package/src/components/SyAlert/tests/SyAlert.spec.ts +1 -22
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +304 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +12 -4
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +186 -0
- package/src/components/Tables/SyTable/SyTable.vue +12 -4
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +65 -1
- package/src/components/Tables/common/types.ts +2 -0
- package/src/composables/rules/useFieldValidation.ts +47 -7
- package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproLogoAm/tests/AmeliproLogoAm.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproIcon/tests/AmeliproIcon.spec.ts +0 -19
- package/src/components/Amelipro/AmeliproIconBtn/tests/AmeliproIconBtn.spec.ts +0 -22
- package/src/components/Amelipro/AmeliproIconBtn/tests/__snapshots__/AmeliproIconBtn.spec.ts.snap +0 -87
- package/src/components/Amelipro/AmeliproIllustratedDataTile/tests/AmeliproIllustratedDataTile.spec.ts +0 -20
- package/src/components/Amelipro/AmeliproIllustratedDataTile/tests/__snapshots__/AmeliproIllustratedDataTile.spec.ts.snap +0 -69
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/tests/AmeliproIllustratedRadioGroup.spec.ts +0 -53
- package/src/components/Amelipro/AmeliproIllustratedRadioGroup/tests/__snapshots__/AmeliproIllustratedRadioGroup.spec.ts.snap +0 -544
- package/src/components/Amelipro/AmeliproMailTile/tests/AmeliproMailTile.spec.ts +0 -25
- package/src/components/Amelipro/AmeliproMailTile/tests/__snapshots__/AmeliproMailTile.spec.ts.snap +0 -164
- package/src/components/Amelipro/AmeliproMessage/tests/AmeliproMessage.spec.ts +0 -18
- package/src/components/Amelipro/AmeliproMessage/tests/__snapshots__/AmeliproMessage.spec.ts.snap +0 -94
- package/src/components/Amelipro/AmeliproMessagingLayout/tests/AmeliproMessagingLayout.spec.ts +0 -30
- package/src/components/Amelipro/AmeliproMessagingLayout/tests/__snapshots__/AmeliproMessagingLayout.spec.ts.snap +0 -439
- package/src/components/Amelipro/AmeliproNumberedCard/tests/AmeliproNumberedCard.spec.ts +0 -23
- package/src/components/Amelipro/AmeliproOnboarding/tests/AmeliproOnboarding.spec.ts +0 -41
- package/src/components/Amelipro/AmeliproOnboarding/tests/__snapshots__/AmeliproOnboarding.spec.ts.snap +0 -3
- package/src/components/Amelipro/AmeliproPageLayout/tests/AmeliproPageLayout.spec.ts +0 -183
- package/src/components/Amelipro/AmeliproPageLayout/tests/__snapshots__/AmeliproPageLayout.spec.ts.snap +0 -1602
- package/src/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/tests/AmeliproPaginationBtn.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproPagination/AmeliproPaginationBtn/tests/__snapshots__/AmeliproPaginationBtn.spec.ts.snap +0 -46
- package/src/components/Amelipro/AmeliproPagination/tests/AmeliproPagination.spec.ts +0 -15
- package/src/components/Amelipro/AmeliproPagination/tests/__snapshots__/AmeliproPagination.spec.ts.snap +0 -116
- package/src/components/Amelipro/AmeliproPatientBanner/tests/AmeliproPatientBanner.spec.ts +0 -24
- package/src/components/Amelipro/AmeliproPatientBanner/tests/__snapshots__/AmeliproPatientBanner.spec.ts.snap +0 -268
- package/src/components/Amelipro/AmeliproRadioGroup/tests/AmeliproRadioGroup.spec.ts +0 -43
- package/src/components/Amelipro/AmeliproRadioGroup/tests/__snapshots__/AmeliproRadioGroup.spec.ts.snap +0 -262
- package/src/components/Amelipro/AmeliproSelect/tests/AmeliproSelect.spec.ts +0 -38
- package/src/components/Amelipro/AmeliproSelect/tests/__snapshots__/AmeliproSelect.spec.ts.snap +0 -196
- package/src/components/Amelipro/AmeliproStateTile/tests/AmeliproStateTile.spec.ts +0 -20
- package/src/components/Amelipro/AmeliproStateTile/tests/__snapshots__/AmeliproStateTile.spec.ts.snap +0 -90
- package/src/components/Amelipro/AmeliproStatus/tests/AmeliproStatus.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproStatus/tests/__snapshots__/AmeliproStatus.spec.ts.snap +0 -21
- package/src/components/Amelipro/AmeliproStepper/AmeliproStepBtn/tests/AmeliproStepBtn.spec.ts +0 -18
- package/src/components/Amelipro/AmeliproStepper/AmeliproStepBtn/tests/__snapshots__/AmeliproStepBtn.spec.ts.snap +0 -34
- package/src/components/Amelipro/AmeliproStepper/tests/AmeliproStepper.spec.ts +0 -36
- package/src/components/Amelipro/AmeliproStepper/tests/__snapshots__/AmeliproStepper.spec.ts.snap +0 -354
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabBtn/tests/AmeliproTabBtn.spec.ts +0 -20
- package/src/components/Amelipro/AmeliproTabs/AmeliproTabBtn/tests/__snapshots__/AmeliproTabBtn.spec.ts.snap +0 -34
- package/src/components/Amelipro/AmeliproTabs/tests/AmeliproTabs.spec.ts +0 -39
- package/src/components/Amelipro/AmeliproTabs/tests/__snapshots__/AmeliproTabs.spec.ts.snap +0 -217
- package/src/components/Amelipro/AmeliproTextField/tests/AmeliproTextField.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproTextField/tests/__snapshots__/AmeliproTextField.spec.ts.snap +0 -162
- package/src/components/Amelipro/AmeliproTileBtn/tests/AmeliproTileBtn.spec.ts +0 -17
- package/src/components/Amelipro/AmeliproTileBtn/tests/__snapshots__/AmeliproTileBtn.spec.ts.snap +0 -65
- package/src/components/Amelipro/AmeliproTooltips/tests/AmeliproTooltips.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproTooltips/tests/__snapshots__/AmeliproTooltips.spec.ts.snap +0 -105
- package/src/components/Amelipro/AmeliproTransmission/tests/AmeliproTransmission.spec.ts +0 -16
- package/src/components/Amelipro/AmeliproTransmission/tests/__snapshots__/AmeliproTransmission.spec.ts.snap +0 -246
- package/src/components/SyAlert/tests/__snapshots__/SyAlert.spec.ts.snap +0 -99
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { VueWrapper, mount, shallowMount } from '@vue/test-utils'
|
|
2
|
+
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
|
|
3
|
+
import AmeliproPatientBanner from '../AmeliproPatientBanner.vue'
|
|
4
|
+
import type { ComponentProps } from 'vue-component-type-helpers'
|
|
5
|
+
import { DisplayTestComponent } from '@tests/helpers/utils'
|
|
6
|
+
import type { ExpectedPropOptions } from '@tests/types'
|
|
7
|
+
import type { PropType } from 'vue'
|
|
8
|
+
import type { RouteLocationRaw } from 'vue-router'
|
|
9
|
+
import TestHelper from '@tests/helpers/TestHelper'
|
|
10
|
+
|
|
11
|
+
const expectedPropOptions: ExpectedPropOptions<typeof AmeliproPatientBanner> = {
|
|
12
|
+
birthName: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: undefined,
|
|
15
|
+
},
|
|
16
|
+
birthdate: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: undefined,
|
|
19
|
+
},
|
|
20
|
+
moreInformationHref: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: undefined,
|
|
23
|
+
},
|
|
24
|
+
moreInformationTo: {
|
|
25
|
+
type: [Array, Object, String] as PropType<RouteLocationRaw>,
|
|
26
|
+
default: undefined,
|
|
27
|
+
},
|
|
28
|
+
name: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: undefined,
|
|
31
|
+
},
|
|
32
|
+
noMoreInformation: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false,
|
|
35
|
+
},
|
|
36
|
+
noPatientChange: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false,
|
|
39
|
+
},
|
|
40
|
+
patientDoctorInfos: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: undefined,
|
|
43
|
+
},
|
|
44
|
+
patientNir: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: undefined,
|
|
47
|
+
},
|
|
48
|
+
patientOrganism: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: undefined,
|
|
51
|
+
},
|
|
52
|
+
patientStatus: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: undefined,
|
|
55
|
+
},
|
|
56
|
+
patientSystem: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: undefined,
|
|
59
|
+
},
|
|
60
|
+
uniqueId: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: undefined,
|
|
63
|
+
},
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Values pour les props "required"
|
|
67
|
+
const requiredPropValues = (): ComponentProps<typeof AmeliproPatientBanner> => ({})
|
|
68
|
+
|
|
69
|
+
// Valeurs pour les props "modified"
|
|
70
|
+
const modifiedPropValues = (): ComponentProps<typeof AmeliproPatientBanner> => ({
|
|
71
|
+
birthName: 'Modified birth name',
|
|
72
|
+
birthdate: 'Modified birthdate',
|
|
73
|
+
moreInformationHref: 'modified-more-information-href',
|
|
74
|
+
moreInformationTo: 'modified-more-information-to',
|
|
75
|
+
name: 'Modified name',
|
|
76
|
+
noMoreInformation: true,
|
|
77
|
+
noPatientChange: true,
|
|
78
|
+
patientDoctorInfos: 'Modified doctor infos',
|
|
79
|
+
patientNir: 'Modified XXXXXXXXX',
|
|
80
|
+
patientOrganism: 'Modified organism',
|
|
81
|
+
patientStatus: 'Modified status',
|
|
82
|
+
patientSystem: 'Modified system',
|
|
83
|
+
uniqueId: 'modified-unique-id',
|
|
84
|
+
})
|
|
85
|
+
|
|
86
|
+
const testHelper = new TestHelper(AmeliproPatientBanner)
|
|
87
|
+
testHelper.setExpectedPropOptions(expectedPropOptions)
|
|
88
|
+
.setRequiredPropValues(requiredPropValues)
|
|
89
|
+
.setModifiedPropValues(modifiedPropValues)
|
|
90
|
+
|
|
91
|
+
describe('AmeliproPatientBanner', () => {
|
|
92
|
+
describe('Snapshots', () => {
|
|
93
|
+
testHelper.snapshots()
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
describe('Properties', () => {
|
|
97
|
+
testHelper.properties()
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
const displayWrapper = mount(DisplayTestComponent)
|
|
101
|
+
|
|
102
|
+
describe('Setting props should update inner attribute and tags', () => {
|
|
103
|
+
let vueWrapper: VueWrapper<InstanceType<typeof AmeliproPatientBanner>>
|
|
104
|
+
|
|
105
|
+
beforeEach(() => {
|
|
106
|
+
vueWrapper = shallowMount(AmeliproPatientBanner, { props: requiredPropValues() })
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
describe('Root tag', () => {
|
|
110
|
+
it('prop uniqueId sets attribute id', async () => {
|
|
111
|
+
// root container
|
|
112
|
+
expect(vueWrapper.attributes('id')).toBeUndefined()
|
|
113
|
+
await vueWrapper.setProps({ uniqueId: testHelper.modified('uniqueId') })
|
|
114
|
+
expect(vueWrapper.attributes('id')).toBe(`${testHelper.modified('uniqueId')}-container`)
|
|
115
|
+
})
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
describe('Content tag', () => {
|
|
119
|
+
it('prop uniqueId sets attribute id', async () => {
|
|
120
|
+
// wrapper
|
|
121
|
+
expect(vueWrapper.find('.amelipro-patient-banner__content').attributes('id')).toBeUndefined()
|
|
122
|
+
await vueWrapper.setProps({ uniqueId: testHelper.modified('uniqueId') })
|
|
123
|
+
expect(vueWrapper.find('.amelipro-patient-banner__content').attributes('id')).toBe(`${testHelper.modified('uniqueId')}-wrapper`)
|
|
124
|
+
})
|
|
125
|
+
})
|
|
126
|
+
|
|
127
|
+
describe('Patien info tag', () => {
|
|
128
|
+
it('prop name sets patient name', async () => {
|
|
129
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name .text-h3').text()).toBe('')
|
|
130
|
+
await vueWrapper.setProps({ name: testHelper.modified('name') })
|
|
131
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name .text-h3').text()).toBe(testHelper.modified('name'))
|
|
132
|
+
})
|
|
133
|
+
|
|
134
|
+
it('prop birthName sets birth name span', async () => {
|
|
135
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name').findAll('span').length).toBe(1)
|
|
136
|
+
await vueWrapper.setProps({ birthName: testHelper.modified('birthName') })
|
|
137
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name').findAll('span').length).toBe(2)
|
|
138
|
+
})
|
|
139
|
+
|
|
140
|
+
it('prop patientDoctorInfos sets doctor infos', async () => {
|
|
141
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__doctor').text()).toBe('')
|
|
142
|
+
await vueWrapper.setProps({ patientDoctorInfos: testHelper.modified('patientDoctorInfos') })
|
|
143
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__doctor').text()).toBe(testHelper.modified('patientDoctorInfos'))
|
|
144
|
+
})
|
|
145
|
+
})
|
|
146
|
+
})
|
|
147
|
+
|
|
148
|
+
describe('Computed', () => {
|
|
149
|
+
let vueWrapper: VueWrapper<InstanceType<typeof AmeliproPatientBanner>>
|
|
150
|
+
|
|
151
|
+
beforeEach(() => {
|
|
152
|
+
vueWrapper = shallowMount(AmeliproPatientBanner, { props: requiredPropValues() })
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
afterEach(() => {
|
|
156
|
+
displayWrapper.vm.resetDefaults()
|
|
157
|
+
})
|
|
158
|
+
|
|
159
|
+
it('Test innerWidth', async () => {
|
|
160
|
+
expect(vueWrapper.find('.amelipro-patient-banner__content').attributes('style')).toStrictEqual('width: 100%;')
|
|
161
|
+
|
|
162
|
+
displayWrapper.vm.setWidth(1172)
|
|
163
|
+
await vueWrapper.vm.$nextTick()
|
|
164
|
+
expect(vueWrapper.find('.amelipro-patient-banner__content').attributes('style')).toStrictEqual('width: 980px;')
|
|
165
|
+
})
|
|
166
|
+
|
|
167
|
+
it('Test hasBirthName', async () => {
|
|
168
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name').findAll('span').length).toBe(1)
|
|
169
|
+
|
|
170
|
+
const { birthName } = modifiedPropValues()
|
|
171
|
+
await vueWrapper.setProps({ birthName })
|
|
172
|
+
expect(vueWrapper.find('.amelipro-patient-banner__patient-info__name').findAll('span').length).toBe(2)
|
|
173
|
+
})
|
|
174
|
+
|
|
175
|
+
it('Test main content classes', async () => {
|
|
176
|
+
await vueWrapper.setProps({ noMoreInformation: false })
|
|
177
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('justify-space-between')).toBeTruthy()
|
|
178
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('align-center')).toBeTruthy()
|
|
179
|
+
|
|
180
|
+
await vueWrapper.setProps({ noMoreInformation: true })
|
|
181
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('justify-space-between')).toBeFalsy()
|
|
182
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('align-center')).toBeTruthy()
|
|
183
|
+
|
|
184
|
+
displayWrapper.vm.setMdAndUp(false)
|
|
185
|
+
displayWrapper.vm.setSmAndDown(true)
|
|
186
|
+
await vueWrapper.vm.$nextTick()
|
|
187
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('align-center')).toBeFalsy()
|
|
188
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('flex-column')).toBeTruthy()
|
|
189
|
+
expect(vueWrapper.find('.patient-banner-main').classes().includes('align-start')).toBeTruthy()
|
|
190
|
+
})
|
|
191
|
+
})
|
|
192
|
+
|
|
193
|
+
describe('Events', () => {
|
|
194
|
+
let vueWrapper: VueWrapper<InstanceType<typeof AmeliproPatientBanner>>
|
|
195
|
+
|
|
196
|
+
beforeEach(() => {
|
|
197
|
+
vueWrapper = shallowMount(AmeliproPatientBanner, { props: requiredPropValues() })
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
it('Test emitPatientChangeEvent', async () => {
|
|
201
|
+
expect(vueWrapper.emitted('click:patient-change')).toStrictEqual(undefined)
|
|
202
|
+
|
|
203
|
+
await vueWrapper.setProps({ noPatientChange: false })
|
|
204
|
+
await vueWrapper.find('.amelipro-patient-banner__patient-change__btn').trigger('click')
|
|
205
|
+
expect(vueWrapper.emitted('click:patient-change')).toStrictEqual([[]])
|
|
206
|
+
})
|
|
207
|
+
})
|
|
208
|
+
})
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`AmeliproPatientBanner > Snapshots > renders the component with all properties filled in 1`] = `
|
|
4
|
+
<div
|
|
5
|
+
class="
|
|
6
|
+
amelipro-patient-banner
|
|
7
|
+
bg-ap-white
|
|
8
|
+
d-flex
|
|
9
|
+
justify-center
|
|
10
|
+
px-8
|
|
11
|
+
py-4
|
|
12
|
+
w-100
|
|
13
|
+
"
|
|
14
|
+
id="modified-unique-id-container"
|
|
15
|
+
style="position: relative;"
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
class="amelipro-patient-banner__content"
|
|
19
|
+
id="modified-unique-id-wrapper"
|
|
20
|
+
style="width: 100%;"
|
|
21
|
+
>
|
|
22
|
+
<div class="
|
|
23
|
+
align-center
|
|
24
|
+
d-flex
|
|
25
|
+
justify-space-between
|
|
26
|
+
">
|
|
27
|
+
<div
|
|
28
|
+
class="
|
|
29
|
+
align-center
|
|
30
|
+
amelipro-patient-banner__patient-infos
|
|
31
|
+
d-inline-flex
|
|
32
|
+
flex-wrap
|
|
33
|
+
"
|
|
34
|
+
id="modified-unique-id-patient-infos"
|
|
35
|
+
>
|
|
36
|
+
<p
|
|
37
|
+
class="
|
|
38
|
+
amelipro-patient-banner__patient-info__name
|
|
39
|
+
mb-4
|
|
40
|
+
mb-md-0
|
|
41
|
+
"
|
|
42
|
+
id="modified-unique-id-identity"
|
|
43
|
+
>
|
|
44
|
+
<span class="
|
|
45
|
+
d-block
|
|
46
|
+
d-sm-inline
|
|
47
|
+
font-weight-bold
|
|
48
|
+
text-h3
|
|
49
|
+
">
|
|
50
|
+
Modified name
|
|
51
|
+
</span>
|
|
52
|
+
né(e)
|
|
53
|
+
<span>
|
|
54
|
+
Modified birth name
|
|
55
|
+
</span>
|
|
56
|
+
le Modified birthdate
|
|
57
|
+
</p>
|
|
58
|
+
<!-- v-if -->
|
|
59
|
+
</div>
|
|
60
|
+
<p
|
|
61
|
+
class="
|
|
62
|
+
amelipro-patient-banner__patient-info__doctor
|
|
63
|
+
font-weight-bold
|
|
64
|
+
mb-0
|
|
65
|
+
text-ap-blue-darken-1
|
|
66
|
+
"
|
|
67
|
+
id="modified-unique-id-patient-doctor-infos"
|
|
68
|
+
>
|
|
69
|
+
Modified doctor infos
|
|
70
|
+
</p>
|
|
71
|
+
</div>
|
|
72
|
+
<hr class="patient-banner__separator" />
|
|
73
|
+
<div
|
|
74
|
+
class="
|
|
75
|
+
align-center
|
|
76
|
+
d-flex
|
|
77
|
+
patient-banner-main
|
|
78
|
+
"
|
|
79
|
+
id="modified-unique-id-main-content"
|
|
80
|
+
>
|
|
81
|
+
<div class="
|
|
82
|
+
d-flex
|
|
83
|
+
flex-column
|
|
84
|
+
flex-sm-row
|
|
85
|
+
">
|
|
86
|
+
<div class="mr-16">
|
|
87
|
+
<p
|
|
88
|
+
class="
|
|
89
|
+
font-weight-regular
|
|
90
|
+
mb-4
|
|
91
|
+
text-h5
|
|
92
|
+
"
|
|
93
|
+
id="modified-unique-id-patient-status"
|
|
94
|
+
>
|
|
95
|
+
Statut :
|
|
96
|
+
<span class="font-weight-bold">
|
|
97
|
+
Modified status
|
|
98
|
+
</span>
|
|
99
|
+
</p>
|
|
100
|
+
<p
|
|
101
|
+
class="
|
|
102
|
+
font-weight-regular
|
|
103
|
+
mb-4
|
|
104
|
+
mb-md-0
|
|
105
|
+
"
|
|
106
|
+
id="modified-unique-id-patient-number"
|
|
107
|
+
>
|
|
108
|
+
NIR :
|
|
109
|
+
<span class="font-weight-bold">
|
|
110
|
+
Modified XXXXXXXXX
|
|
111
|
+
</span>
|
|
112
|
+
</p>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="mr-3">
|
|
115
|
+
<p
|
|
116
|
+
class="
|
|
117
|
+
font-weight-bold
|
|
118
|
+
mb-4
|
|
119
|
+
"
|
|
120
|
+
id="modified-unique-id-patient-system"
|
|
121
|
+
>
|
|
122
|
+
Modified system
|
|
123
|
+
</p>
|
|
124
|
+
<p
|
|
125
|
+
class="
|
|
126
|
+
font-weight-bold
|
|
127
|
+
mb-4
|
|
128
|
+
mb-md-0
|
|
129
|
+
"
|
|
130
|
+
id="modified-unique-id-patient-organism"
|
|
131
|
+
>
|
|
132
|
+
Modified organism
|
|
133
|
+
</p>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<!-- v-if -->
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
`;
|
|
141
|
+
|
|
142
|
+
exports[`AmeliproPatientBanner > Snapshots > renders the component with only required properties filled in 1`] = `
|
|
143
|
+
<div
|
|
144
|
+
class="
|
|
145
|
+
amelipro-patient-banner
|
|
146
|
+
bg-ap-white
|
|
147
|
+
d-flex
|
|
148
|
+
justify-center
|
|
149
|
+
px-8
|
|
150
|
+
py-4
|
|
151
|
+
w-100
|
|
152
|
+
"
|
|
153
|
+
style="position: relative;"
|
|
154
|
+
>
|
|
155
|
+
<div
|
|
156
|
+
class="amelipro-patient-banner__content"
|
|
157
|
+
style="width: 100%;"
|
|
158
|
+
>
|
|
159
|
+
<div class="
|
|
160
|
+
align-center
|
|
161
|
+
d-flex
|
|
162
|
+
justify-space-between
|
|
163
|
+
">
|
|
164
|
+
<div class="
|
|
165
|
+
align-center
|
|
166
|
+
amelipro-patient-banner__patient-infos
|
|
167
|
+
d-inline-flex
|
|
168
|
+
flex-wrap
|
|
169
|
+
">
|
|
170
|
+
<p class="
|
|
171
|
+
amelipro-patient-banner__patient-info__name
|
|
172
|
+
mb-4
|
|
173
|
+
mb-md-0
|
|
174
|
+
">
|
|
175
|
+
<span class="
|
|
176
|
+
d-block
|
|
177
|
+
d-sm-inline
|
|
178
|
+
font-weight-bold
|
|
179
|
+
text-h3
|
|
180
|
+
"></span>
|
|
181
|
+
né(e)
|
|
182
|
+
<!-- v-if -->
|
|
183
|
+
le
|
|
184
|
+
</p>
|
|
185
|
+
<amelipro-btn-stub
|
|
186
|
+
badge="false"
|
|
187
|
+
badgebgcolor="ap-pink"
|
|
188
|
+
badgecolor="ap-white"
|
|
189
|
+
bordered="false"
|
|
190
|
+
class="
|
|
191
|
+
amelipro-patient-banner__patient-change__btn
|
|
192
|
+
mb-4
|
|
193
|
+
mb-md-0
|
|
194
|
+
mx-4
|
|
195
|
+
text-none
|
|
196
|
+
"
|
|
197
|
+
color="ap-blue-darken-1"
|
|
198
|
+
disabled="false"
|
|
199
|
+
hovercolor="ap-blue-darken-2"
|
|
200
|
+
hoverunderline="true"
|
|
201
|
+
iconbgcolor="transparent"
|
|
202
|
+
iconbordered="false"
|
|
203
|
+
iconleft="false"
|
|
204
|
+
infoblock="false"
|
|
205
|
+
minheight="2.5rem"
|
|
206
|
+
size="60px"
|
|
207
|
+
text="true"
|
|
208
|
+
textcolor="ap-white"
|
|
209
|
+
type="button"
|
|
210
|
+
underline="false"
|
|
211
|
+
></amelipro-btn-stub>
|
|
212
|
+
</div>
|
|
213
|
+
<p class="
|
|
214
|
+
amelipro-patient-banner__patient-info__doctor
|
|
215
|
+
font-weight-bold
|
|
216
|
+
mb-0
|
|
217
|
+
text-ap-blue-darken-1
|
|
218
|
+
"></p>
|
|
219
|
+
</div>
|
|
220
|
+
<hr class="patient-banner__separator" />
|
|
221
|
+
<div class="
|
|
222
|
+
align-center
|
|
223
|
+
d-flex
|
|
224
|
+
justify-space-between
|
|
225
|
+
patient-banner-main
|
|
226
|
+
">
|
|
227
|
+
<div class="
|
|
228
|
+
d-flex
|
|
229
|
+
flex-column
|
|
230
|
+
flex-sm-row
|
|
231
|
+
">
|
|
232
|
+
<div class="mr-16">
|
|
233
|
+
<p class="
|
|
234
|
+
font-weight-regular
|
|
235
|
+
mb-4
|
|
236
|
+
text-h5
|
|
237
|
+
">
|
|
238
|
+
Statut :
|
|
239
|
+
<span class="font-weight-bold"></span>
|
|
240
|
+
</p>
|
|
241
|
+
<p class="
|
|
242
|
+
font-weight-regular
|
|
243
|
+
mb-4
|
|
244
|
+
mb-md-0
|
|
245
|
+
">
|
|
246
|
+
NIR :
|
|
247
|
+
<span class="font-weight-bold"></span>
|
|
248
|
+
</p>
|
|
249
|
+
</div>
|
|
250
|
+
<div class="mr-3">
|
|
251
|
+
<p class="
|
|
252
|
+
font-weight-bold
|
|
253
|
+
mb-4
|
|
254
|
+
"></p>
|
|
255
|
+
<p class="
|
|
256
|
+
font-weight-bold
|
|
257
|
+
mb-4
|
|
258
|
+
mb-md-0
|
|
259
|
+
"></p>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
<amelipro-btn-stub
|
|
263
|
+
badge="false"
|
|
264
|
+
badgebgcolor="ap-pink"
|
|
265
|
+
badgecolor="ap-white"
|
|
266
|
+
bordered="true"
|
|
267
|
+
color="ap-white"
|
|
268
|
+
disabled="false"
|
|
269
|
+
hovercolor="ap-blue-lighten-3"
|
|
270
|
+
hoverunderline="false"
|
|
271
|
+
iconbgcolor="transparent"
|
|
272
|
+
iconbordered="false"
|
|
273
|
+
iconleft="false"
|
|
274
|
+
infoblock="false"
|
|
275
|
+
minheight="2.5rem"
|
|
276
|
+
size="60px"
|
|
277
|
+
text="false"
|
|
278
|
+
textcolor="ap-blue-darken-1"
|
|
279
|
+
type="button"
|
|
280
|
+
underline="false"
|
|
281
|
+
></amelipro-btn-stub>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
`;
|
|
@@ -71,7 +71,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
71
71
|
data-no-activator=""
|
|
72
72
|
>
|
|
73
73
|
<span
|
|
74
|
-
class="
|
|
74
|
+
class="
|
|
75
|
+
amelipro-btn__label
|
|
76
|
+
d-sr-only
|
|
77
|
+
"
|
|
75
78
|
id="test-id-info-btn-btn-label"
|
|
76
79
|
>
|
|
77
80
|
Informations
|
|
@@ -168,7 +171,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
168
171
|
data-no-activator=""
|
|
169
172
|
>
|
|
170
173
|
<span
|
|
171
|
-
class="
|
|
174
|
+
class="
|
|
175
|
+
amelipro-btn__label
|
|
176
|
+
d-sr-only
|
|
177
|
+
"
|
|
172
178
|
id="test-id-pdf-btn-btn-label"
|
|
173
179
|
>
|
|
174
180
|
Télécharger le fichier pdf
|
|
@@ -297,7 +303,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
297
303
|
data-no-activator=""
|
|
298
304
|
>
|
|
299
305
|
<span
|
|
300
|
-
class="
|
|
306
|
+
class="
|
|
307
|
+
amelipro-btn__label
|
|
308
|
+
d-sr-only
|
|
309
|
+
"
|
|
301
310
|
id="test-id-copy-nir-btn-copy-btn-btn-label"
|
|
302
311
|
>
|
|
303
312
|
Copier le texte
|
|
@@ -469,7 +478,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
469
478
|
data-no-activator=""
|
|
470
479
|
>
|
|
471
480
|
<span
|
|
472
|
-
class="
|
|
481
|
+
class="
|
|
482
|
+
amelipro-btn__label
|
|
483
|
+
d-sr-only
|
|
484
|
+
"
|
|
473
485
|
id="test-id-fund-tooltip-btn-btn-label"
|
|
474
486
|
>
|
|
475
487
|
plus d’informations
|
|
@@ -634,7 +646,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
634
646
|
data-no-activator=""
|
|
635
647
|
>
|
|
636
648
|
<span
|
|
637
|
-
class="
|
|
649
|
+
class="
|
|
650
|
+
amelipro-btn__label
|
|
651
|
+
d-sr-only
|
|
652
|
+
"
|
|
638
653
|
id="test-id-doctor-tooltip-btn-btn-label"
|
|
639
654
|
>
|
|
640
655
|
plus d’informations
|
|
@@ -771,7 +786,10 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
771
786
|
data-no-activator=""
|
|
772
787
|
>
|
|
773
788
|
<span
|
|
774
|
-
class="
|
|
789
|
+
class="
|
|
790
|
+
amelipro-btn__label
|
|
791
|
+
d-sr-only
|
|
792
|
+
"
|
|
775
793
|
id="test-id-c2s-tooltip-btn-btn-label"
|
|
776
794
|
>
|
|
777
795
|
plus d’informations
|
|
@@ -914,8 +932,9 @@ exports[`AmeliproPatientLogged > render correctly 1`] = `
|
|
|
914
932
|
w-100
|
|
915
933
|
">
|
|
916
934
|
<div class="
|
|
917
|
-
align-
|
|
935
|
+
align-baseline
|
|
918
936
|
d-inline-flex
|
|
937
|
+
mb-1
|
|
919
938
|
">
|
|
920
939
|
<label
|
|
921
940
|
class="
|
|
@@ -29,9 +29,10 @@ exports[`AmeliproPostalAddressCityRow > render correctly 1`] = `
|
|
|
29
29
|
id="the-groupId-postal-code-container"
|
|
30
30
|
>
|
|
31
31
|
<div class="
|
|
32
|
-
align-
|
|
32
|
+
align-baseline
|
|
33
33
|
amelipro-autocomplete__label-wrapper
|
|
34
34
|
d-inline-flex
|
|
35
|
+
mb-1
|
|
35
36
|
">
|
|
36
37
|
<label
|
|
37
38
|
class="amelipro-autocomplete__label"
|
|
@@ -213,7 +214,10 @@ exports[`AmeliproPostalAddressCityRow > render correctly 1`] = `
|
|
|
213
214
|
data-no-activator=""
|
|
214
215
|
>
|
|
215
216
|
<span
|
|
216
|
-
class="
|
|
217
|
+
class="
|
|
218
|
+
amelipro-btn__label
|
|
219
|
+
d-sr-only
|
|
220
|
+
"
|
|
217
221
|
id="the-groupId-postal-code-btn-btn-label"
|
|
218
222
|
>
|
|
219
223
|
Code Postal ouvrir la liste
|
|
@@ -301,9 +305,10 @@ exports[`AmeliproPostalAddressCityRow > render correctly 1`] = `
|
|
|
301
305
|
id="the-groupId-city-container"
|
|
302
306
|
>
|
|
303
307
|
<div class="
|
|
304
|
-
align-
|
|
308
|
+
align-baseline
|
|
305
309
|
amelipro-autocomplete__label-wrapper
|
|
306
310
|
d-inline-flex
|
|
311
|
+
mb-1
|
|
307
312
|
">
|
|
308
313
|
<label
|
|
309
314
|
class="amelipro-autocomplete__label"
|
|
@@ -485,7 +490,10 @@ exports[`AmeliproPostalAddressCityRow > render correctly 1`] = `
|
|
|
485
490
|
data-no-activator=""
|
|
486
491
|
>
|
|
487
492
|
<span
|
|
488
|
-
class="
|
|
493
|
+
class="
|
|
494
|
+
amelipro-btn__label
|
|
495
|
+
d-sr-only
|
|
496
|
+
"
|
|
489
497
|
id="the-groupId-city-btn-btn-label"
|
|
490
498
|
>
|
|
491
499
|
Commune ouvrir la liste
|