@cnamts/synapse 1.0.27 → 1.1.0
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 +1 -1
- package/dist/{AutocompleteFilter-C9eLKyW8.js → AutocompleteFilter-DXd4szWO.js} +3 -3
- package/dist/{DateFilter-y-GLkAkn.js → DateFilter-BD59Kgwf.js} +8 -8
- package/dist/{NumberFilter-DN6hIBS7.js → NumberFilter-BSMZE7uw.js} +1 -1
- package/dist/{PeriodFilter-MoUUp9qS.js → PeriodFilter-keUdSSk0.js} +1 -1
- package/dist/{SelectFilter-bCbrdLmu.js → SelectFilter-Dhvvwazl.js} +1 -1
- package/dist/{TextFilter-CvjgEaoM.js → TextFilter-CU8FpXz0.js} +4 -4
- package/dist/{apLightTheme2026-ug4Y23ns.js → apLightTheme2026-DbS7BPUf.js} +12 -11
- package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +6 -6
- package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +4 -4
- package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +4 -4
- package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +2 -2
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +85 -313
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +2 -2
- package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +1 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +9 -11
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +7 -7
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +3 -3
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +5 -5
- package/dist/components/Customs/SyIcon/SyIcon.d.ts +77 -1
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +10 -10
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +19 -79
- package/dist/components/Customs/SyTextField/locales.d.ts +7 -0
- package/dist/components/Customs/SyTextField/types.d.ts +67 -4
- package/dist/components/Customs/SyTextField/useNumberField.d.ts +23 -0
- package/dist/components/Customs/SyTextField/useSyTextFieldValidation.d.ts +38 -0
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +170 -622
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +85 -311
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +39 -152
- package/dist/components/FilterInline/FilterInline.d.ts +3 -3
- package/dist/components/FilterSideBar/FilterSideBar.d.ts +4 -4
- package/dist/components/MonthPicker/MonthPicker.d.ts +37 -150
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +37 -150
- package/dist/components/NirField/NirField.d.ts +90 -321
- package/dist/components/NirField/useNirValidation.d.ts +10 -20
- package/dist/components/PasswordField/PasswordField.d.ts +20 -39
- package/dist/components/PasswordField/locales.d.ts +2 -0
- package/dist/components/PasswordField/types.d.ts +16 -0
- package/dist/components/PasswordField/usePasswordFieldValidation.d.ts +38 -0
- package/dist/components/PeriodField/PeriodField.d.ts +349 -1253
- package/dist/components/PhoneField/PhoneField.d.ts +37 -150
- package/dist/components/SearchListField/SearchListField.d.ts +3 -3
- package/dist/components/SyTextArea/SyTextArea.d.ts +14 -11
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +7 -7
- package/dist/components/Tables/common/SyTablePagination.d.ts +19 -20
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +1 -1
- package/dist/composables/unifyValidation/useValidation.d.ts +1 -9
- package/dist/composables/useFilterable/useFilterable.d.ts +1 -2
- package/dist/design-system-v3.js +19 -19
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +1 -0
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +1 -0
- package/dist/{main-CI6Q9nmO.js → main-D8ryUoS5.js} +13605 -13358
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +27 -25
- package/package.json +6 -5
- package/src/components/Accordion/tests/Accordion.visual.cy.ts +44 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-default.snap.png +0 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-disabled-item.snap.png +0 -0
- package/src/components/Accordion/tests/__snapshots__/accordion-open-first.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
- package/src/components/BackToTopBtn/tests/BackToTopBtn.visual.cy.ts +34 -0
- package/src/components/BackToTopBtn/tests/__snapshots__/back-to-top-btn-custom-nudge.snap.png +0 -0
- package/src/components/BackToTopBtn/tests/__snapshots__/back-to-top-btn-default.snap.png +0 -0
- package/src/components/Captcha/tests/Captcha.visual.cy.ts +45 -0
- package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +4 -0
- package/src/components/Captcha/tests/__snapshots__/captcha-audio-type.snap.png +0 -0
- package/src/components/Captcha/tests/__snapshots__/captcha-image-type.snap.png +0 -0
- package/src/components/Captcha/tests/__snapshots__/captcha-no-helpdesk.snap.png +0 -0
- package/src/components/ChipList/tests/ChipList.visual.cy.ts +46 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-default.snap.png +0 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-readonly.snap.png +0 -0
- package/src/components/ChipList/tests/__snapshots__/chip-list-state-icons.snap.png +0 -0
- package/src/components/CollapsibleList/tests/CollapsibleList.visual.cy.ts +33 -0
- package/src/components/CollapsibleList/tests/__snapshots__/collapsible-list-default.snap.png +0 -0
- package/src/components/CollapsibleList/tests/__snapshots__/collapsible-list-no-title.snap.png +0 -0
- package/src/components/ContextualMenu/tests/ContextualMenu.visual.cy.ts +35 -0
- package/src/components/ContextualMenu/tests/__snapshots__/contextual-menu-default.snap.png +0 -0
- package/src/components/ContextualMenu/tests/__snapshots__/contextual-menu-selected.snap.png +0 -0
- package/src/components/CookieBanner/tests/CookieBanner.visual.cy.ts +29 -0
- package/src/components/CookieBanner/tests/__snapshots__/cookie-banner-default.snap.png +0 -0
- package/src/components/CookieBanner/tests/__snapshots__/cookie-banner-with-items.snap.png +0 -0
- package/src/components/CookiesSelection/tests/CookiesSelection.visual.cy.ts +21 -0
- package/src/components/CookiesSelection/tests/__snapshots__/cookies-selection-default.snap.png +0 -0
- package/src/components/CopyBtn/tests/CopyBtn.visual.cy.ts +24 -0
- package/src/components/CopyBtn/tests/__snapshots__/copy-btn-default.snap.png +0 -0
- package/src/components/CopyBtn/tests/__snapshots__/copy-btn-no-tooltip.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.visual.cy.ts +60 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-default.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-inline.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-readonly.snap.png +0 -0
- package/src/components/Customs/Selects/SelectBtnField/tests/__snapshots__/select-btn-field-selected.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +1 -1
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +2 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.visual.cy.ts +63 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-default.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-loading.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-multiple.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/__snapshots__/sy-autocomplete-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +0 -93
- package/src/components/Customs/Selects/SyInputSelect/tests/SyInputSelect.visual.cy.ts +48 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-default.snap.png +0 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-required.snap.png +0 -0
- package/src/components/Customs/Selects/SyInputSelect/tests/__snapshots__/sy-input-select-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/SySelect.vue +22 -47
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +3 -3
- package/src/components/Customs/Selects/SySelect/tests/SySelect.visual.cy.ts +77 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-clearable.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-default.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-multiple-chips.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-required.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/tests/__snapshots__/sy-select-with-value.snap.png +0 -0
- package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1 -92
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +1 -1
- package/src/components/Customs/SyCheckBoxGroup/tests/SyCheckBoxGroup.visual.cy.ts +55 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-default.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-disabled.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-selected.snap.png +0 -0
- package/src/components/Customs/SyCheckBoxGroup/tests/__snapshots__/sy-checkbox-group-with-label.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +1 -9
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.visual.cy.ts +61 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-checked.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-disabled.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-indeterminate.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-required.snap.png +0 -0
- package/src/components/Customs/SyCheckbox/tests/__snapshots__/sy-checkbox-unchecked.snap.png +0 -0
- package/src/components/Customs/SyIcon/SyIcon.vue +19 -1
- package/src/components/Customs/SyIcon/tests/SyIcon.visual.cy.ts +83 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-color-error.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-decorative.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-informative.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-role-button.snap.png +0 -0
- package/src/components/Customs/SyIcon/tests/__snapshots__/sy-icon-size-large.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/SyIconButton.visual.cy.ts +55 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-default.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-disabled.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-error.snap.png +0 -0
- package/src/components/Customs/SyIconButton/tests/__snapshots__/sy-icon-button-large.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/SyPagination.visual.cy.ts +40 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-first-page.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-middle-page.snap.png +0 -0
- package/src/components/Customs/SyPagination/tests/__snapshots__/sy-pagination-with-label.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +0 -1
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +4 -3
- package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +1 -1
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-asterisk.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-comfortable.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-compact.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-default.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-disabled.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-error.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-no-details.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-readonly.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-selected.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-success.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/tests/__snapshots__/sy-radio-group-warning.snap.png +0 -0
- package/src/components/Customs/SyRadioGroup/validation/Validation.stories.ts +63 -27
- package/src/components/Customs/SyTabs/tests/SyTabs.visual.cy.ts +30 -0
- package/src/components/Customs/SyTabs/tests/__snapshots__/sy-tabs-default.snap.png +0 -0
- package/src/components/Customs/SyTabs/tests/__snapshots__/sy-tabs-second-active.snap.png +0 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +160 -778
- package/src/components/Customs/SyTextField/SyTextField.vue +168 -153
- package/src/components/Customs/SyTextField/Validation/Validation.stories.ts +1164 -0
- package/src/components/Customs/SyTextField/locales.ts +12 -0
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +174 -8
- package/src/components/Customs/SyTextField/tests/SyTextField.visual.cy.ts +116 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-clearable.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-default.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number-disabled.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number-no-spinner.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-number.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-prepend-icon.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-readonly.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-required.snap.png +0 -0
- package/src/components/Customs/SyTextField/tests/__snapshots__/sy-text-field-with-value.snap.png +0 -0
- package/src/components/Customs/SyTextField/types.ts +70 -0
- package/src/components/Customs/SyTextField/useNumberField.ts +93 -0
- package/src/components/Customs/SyTextField/useSyTextFieldValidation.ts +104 -0
- package/src/components/DataList/tests/DataList.visual.cy.ts +85 -0
- package/src/components/DataList/tests/__snapshots__/data-list-default.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-loading.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-row.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-with-icons.snap.png +0 -0
- package/src/components/DataList/tests/__snapshots__/data-list-with-title.snap.png +0 -0
- package/src/components/DataListGroup/tests/DataListGroup.visual.cy.ts +51 -0
- package/src/components/DataListGroup/tests/__snapshots__/data-list-group-default.snap.png +0 -0
- package/src/components/DataListGroup/tests/__snapshots__/data-list-group-loading.snap.png +0 -0
- package/src/components/DataListItem/tests/DataListItem.visual.cy.ts +53 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-chip.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-default.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-placeholder.snap.png +0 -0
- package/src/components/DataListItem/tests/__snapshots__/data-list-item-row.snap.png +0 -0
- package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +7 -7
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +7 -8
- package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +1 -1
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +2 -2
- package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
- package/src/components/DatePicker/composables/tests/useTodayButton.spec.ts +10 -10
- package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +11 -2
- package/src/components/DeclarationAccessibilityPage/tests/DeclarationAccessibilityPage.visual.cy.ts +35 -0
- package/src/components/DeclarationAccessibilityPage/tests/__snapshots__/declaration-a11y-page-default.snap.png +0 -0
- package/src/components/DeclarationAccessibilityPage/tests/__snapshots__/declaration-a11y-page-full.snap.png +0 -0
- package/src/components/DiacriticPicker/tests/DiacriticPicker.visual.cy.ts +24 -0
- package/src/components/DiacriticPicker/tests/__snapshots__/diacritic-picker-custom-title.snap.png +0 -0
- package/src/components/DiacriticPicker/tests/__snapshots__/diacritic-picker-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
- package/src/components/DownloadBtn/tests/DownloadBtn.spec.ts +2 -2
- package/src/components/DownloadBtn/tests/DownloadBtn.visual.cy.ts +38 -0
- package/src/components/DownloadBtn/tests/__snapshots__/download-btn-dark.snap.png +0 -0
- package/src/components/DownloadBtn/tests/__snapshots__/download-btn-idle.snap.png +0 -0
- package/src/components/ErrorPage/tests/ErrorPage.visual.cy.ts +32 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-custom.snap.png +0 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-default.snap.png +0 -0
- package/src/components/ErrorPage/tests/__snapshots__/error-page-no-btn.snap.png +0 -0
- package/src/components/ExternalLinks/tests/ExternalLinks.visual.cy.ts +30 -0
- package/src/components/ExternalLinks/tests/__snapshots__/external-links-default.snap.png +0 -0
- package/src/components/ExternalLinks/tests/__snapshots__/external-links-fixed.snap.png +0 -0
- package/src/components/FileList/tests/FileList.visual.cy.ts +31 -0
- package/src/components/FileList/tests/__snapshots__/file-list-default.snap.png +0 -0
- package/src/components/FileList/tests/__snapshots__/file-list-with-delete.snap.png +0 -0
- package/src/components/FilePreview/accessibilite/Accessibility.mdx +86 -8
- package/src/components/FileUpload/tests/FileUpload.visual.cy.ts +36 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-default.snap.png +0 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-disabled.snap.png +0 -0
- package/src/components/FileUpload/tests/__snapshots__/file-upload-multiple.snap.png +0 -0
- package/src/components/FilterInline/FilterInline.stories.ts +2 -0
- package/src/components/FilterInline/FilterInline.vue +10 -5
- package/src/components/FilterInline/tests/FilterInline.visual.cy.ts +25 -0
- package/src/components/FilterInline/tests/__snapshots__/filter-inline-default.snap.png +0 -0
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +4 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +11 -6
- package/src/components/FilterSideBar/tests/FilterSideBar.visual.cy.ts +37 -0
- package/src/components/FilterSideBar/tests/__snapshots__/filter-sidebar-default.snap.png +0 -0
- package/src/components/FilterSideBar/tests/__snapshots__/filter-sidebar-modale.snap.png +0 -0
- package/src/components/FooterBar/tests/FooterBar.visual.cy.ts +37 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-default.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-no-logo.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-no-social.snap.png +0 -0
- package/src/components/FooterBar/tests/__snapshots__/footer-bar-version.snap.png +0 -0
- package/src/components/FranceConnectBtn/tests/FranceConnectBtn.visual.cy.ts +38 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-dark.snap.png +0 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-default.snap.png +0 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/france-connect-btn-plus.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/HeaderBurgerMenu.spec.ts +4 -4
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
- package/src/components/HeaderLoading/tests/HeaderLoading.visual.cy.ts +34 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-custom-size.snap.png +0 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-default.snap.png +0 -0
- package/src/components/HeaderLoading/tests/__snapshots__/header-loading-standalone.snap.png +0 -0
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.ts +4 -4
- package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.visual.cy.ts +34 -0
- package/src/components/HeaderNavigationBar/tests/__snapshots__/header-navigation-bar-default.snap.png +0 -0
- package/src/components/HeaderNavigationBar/tests/__snapshots__/header-navigation-bar-subtitle.snap.png +0 -0
- package/src/components/HeaderToolbar/tests/HeaderToolbar.visual.cy.ts +25 -0
- package/src/components/HeaderToolbar/tests/__snapshots__/header-toolbar-custom.snap.png +0 -0
- package/src/components/HeaderToolbar/tests/__snapshots__/header-toolbar-default.snap.png +0 -0
- package/src/components/LangBtn/tests/LangBtn.visual.cy.ts +33 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-default.snap.png +0 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-english.snap.png +0 -0
- package/src/components/LangBtn/tests/__snapshots__/lang-btn-no-arrow.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/LogoBrandSection.visual.cy.ts +43 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-default.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-mobile.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-reduced.snap.png +0 -0
- package/src/components/LogoBrandSection/tests/__snapshots__/logo-brand-section-with-title.snap.png +0 -0
- package/src/components/LunarCalendar/tests/LunarCalendar.visual.cy.ts +36 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-default.snap.png +0 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-required.snap.png +0 -0
- package/src/components/LunarCalendar/tests/__snapshots__/lunar-calendar-with-value.snap.png +0 -0
- package/src/components/MaintenancePage/tests/MaintenancePage.visual.cy.ts +22 -0
- package/src/components/MaintenancePage/tests/__snapshots__/maintenance-page-custom.snap.png +0 -0
- package/src/components/MaintenancePage/tests/__snapshots__/maintenance-page-default.snap.png +0 -0
- package/src/components/MonthPicker/tests/MonthPicker.visual.cy.ts +37 -0
- package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +2 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-default.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-disabled.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-readonly.snap.png +0 -0
- package/src/components/MonthPicker/tests/__snapshots__/month-picker-with-value.snap.png +0 -0
- package/src/components/NirField/NirField.stories.ts +40 -682
- package/src/components/NirField/NirField.vue +98 -32
- package/src/components/NirField/tests/NirField.spec.ts +135 -14
- package/src/components/NirField/tests/NirField.visual.cy.ts +28 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-complex.snap.png +0 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-default.snap.png +0 -0
- package/src/components/NirField/tests/__snapshots__/nir-field-with-key.snap.png +0 -0
- package/src/components/NirField/tests/useNirValidation.spec.ts +168 -0
- package/src/components/NirField/useNirValidation.ts +28 -2
- package/src/components/NirField/validation/Validation.stories.ts +866 -0
- package/src/components/NotFoundPage/tests/NotFoundPage.visual.cy.ts +28 -0
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-custom-btn.snap.png +0 -0
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-default.snap.png +0 -0
- package/src/components/NotFoundPage/tests/__snapshots__/not-found-page-no-btn.snap.png +0 -0
- package/src/components/NotificationBar/tests/NotificationBar.visual.cy.ts +54 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-bottom.snap.png +0 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-info.snap.png +0 -0
- package/src/components/NotificationBar/tests/__snapshots__/notification-bar-multiple.snap.png +0 -0
- package/src/components/PageContainer/tests/PageContainer.visual.cy.ts +33 -0
- package/src/components/PageContainer/tests/__snapshots__/page-container-color.snap.png +0 -0
- package/src/components/PageContainer/tests/__snapshots__/page-container-default.snap.png +0 -0
- package/src/components/PageContainer/tests/__snapshots__/page-container-md.snap.png +0 -0
- package/src/components/PaginatedTable/accessibilite/Accessibility.mdx +99 -7
- package/src/components/PaginatedTable/tests/PaginatedTable.visual.cy.ts +41 -0
- package/src/components/PaginatedTable/tests/__snapshots__/paginated-table-default.snap.png +0 -0
- package/src/components/PaginatedTable/tests/__snapshots__/paginated-table-server.snap.png +0 -0
- package/src/components/PasswordField/PasswordField.mdx +5 -52
- package/src/components/PasswordField/PasswordField.stories.ts +74 -931
- package/src/components/PasswordField/PasswordField.vue +120 -191
- package/src/components/PasswordField/Validation/Validation.stories.ts +1295 -0
- package/src/components/PasswordField/locales.ts +2 -0
- package/src/components/PasswordField/tests/PasswordField.spec.ts +144 -106
- package/src/components/PasswordField/tests/PasswordField.visual.cy.ts +49 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-default.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-disabled.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-required.snap.png +0 -0
- package/src/components/PasswordField/tests/__snapshots__/password-field-underlined.snap.png +0 -0
- package/src/components/PasswordField/types.ts +17 -0
- package/src/components/PasswordField/usePasswordFieldValidation.ts +100 -0
- package/src/components/PeriodField/PeriodField.stories.ts +3 -1
- package/src/components/PeriodField/PeriodField.vue +1 -1
- package/src/components/PeriodField/tests/PeriodField.visual.cy.ts +39 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-default.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-no-calendar.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-required.snap.png +0 -0
- package/src/components/PeriodField/tests/__snapshots__/period-field-with-value.snap.png +0 -0
- package/src/components/PhoneField/PhoneField.vue +2 -2
- package/src/components/PhoneField/tests/PhoneField.spec.ts +1 -0
- package/src/components/PhoneField/tests/PhoneField.visual.cy.ts +28 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-default.snap.png +0 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-with-country-code.snap.png +0 -0
- package/src/components/PhoneField/tests/__snapshots__/phone-field-with-value.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-bg.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-range.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-default.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-step.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-with-label.snap.png +0 -0
- package/src/components/RatingPicker/tests/RatingPicker.visual.cy.ts +52 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-emotion.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-number.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-readonly.snap.png +0 -0
- package/src/components/RatingPicker/tests/__snapshots__/rating-picker-stars.snap.png +0 -0
- package/src/components/SearchListField/SearchListField.mdx +1 -1
- package/src/components/SearchListField/SearchListField.stories.ts +1 -1
- package/src/components/SearchListField/SearchListField.vue +9 -4
- package/src/components/SearchListField/tests/SearchListField.spec.ts +127 -0
- package/src/components/SearchListField/tests/SearchListField.visual.cy.ts +35 -0
- package/src/components/SearchListField/tests/__snapshots__/search-list-field-default.snap.png +0 -0
- package/src/components/SearchListField/tests/__snapshots__/search-list-field-with-selection.snap.png +0 -0
- package/src/components/SkipLink/tests/SkipLink.visual.cy.ts +16 -0
- package/src/components/SkipLink/tests/__snapshots__/skip-link-focused.snap.png +0 -0
- package/src/components/SocialMediaLinks/tests/SocialMediaLinks.visual.cy.ts +33 -0
- package/src/components/SocialMediaLinks/tests/__snapshots__/social-media-links-default.snap.png +0 -0
- package/src/components/SocialMediaLinks/tests/__snapshots__/social-media-links-no-native-heading.snap.png +0 -0
- package/src/components/StatusPage/tests/StatusPage.visual.cy.ts +47 -0
- package/src/components/StatusPage/tests/__snapshots__/status-page-default.snap.png +0 -0
- package/src/components/StatusPage/tests/__snapshots__/status-page-full.snap.png +0 -0
- package/src/components/StatusPage/tests/__snapshots__/status-page-no-btn.snap.png +0 -0
- package/src/components/SubHeader/tests/SubHeader.visual.cy.ts +48 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-default.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-loading.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-no-back-btn.snap.png +0 -0
- package/src/components/SubHeader/tests/__snapshots__/sub-header-with-subtitle.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
- package/src/components/SyHeading/tests/SyHeading.visual.cy.ts +33 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-1.snap.png +0 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-2.snap.png +0 -0
- package/src/components/SyHeading/tests/__snapshots__/sy-heading-level-3.snap.png +0 -0
- package/src/components/SyTextArea/SyTextArea.stories.ts +25 -0
- package/src/components/SyTextArea/SyTextArea.vue +7 -0
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +1 -1
- package/src/components/SyTextArea/tests/SyTextArea.a11y.spec.ts +18 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +135 -1
- package/src/components/SyTextArea/tests/SyTextArea.visual.cy.ts +48 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-default.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-filled.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-required.snap.png +0 -0
- package/src/components/SyTextArea/tests/__snapshots__/sy-textarea-with-value.snap.png +0 -0
- package/src/components/SyTextArea/validation/Validation.stories.ts +6 -86
- package/src/components/TableToolbar/tests/TableToolbar.visual.cy.ts +49 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-default.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-filtered.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-loading.snap.png +0 -0
- package/src/components/TableToolbar/tests/__snapshots__/table-toolbar-with-add-btn.snap.png +0 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +3 -3
- package/src/components/Tables/SyServerTable/accessibilite/Accessibility.mdx +114 -7
- package/src/components/Tables/SyServerTable/tests/SyServerTable.visual.cy.ts +58 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-default.snap.png +0 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-loading.snap.png +0 -0
- package/src/components/Tables/SyServerTable/tests/__snapshots__/sy-server-table-with-select.snap.png +0 -0
- package/src/components/Tables/SyTable/accessibilite/Accessibility.mdx +116 -7
- package/src/components/Tables/SyTable/tests/SyTable.visual.cy.ts +70 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-compact.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-default.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-striped.snap.png +0 -0
- package/src/components/Tables/SyTable/tests/__snapshots__/sy-table-with-select.snap.png +0 -0
- package/src/components/Tables/common/tableStyles.scss +4 -4
- package/src/components/Tables/common/tests/SyTableFilter.spec.ts +8 -1
- package/src/components/Tables/common/tests/filterByRange.spec.ts +23 -22
- package/src/components/ToolbarContainer/tests/ToolbarContainer.visual.cy.ts +34 -0
- package/src/components/ToolbarContainer/tests/__snapshots__/toolbar-container-default.snap.png +0 -0
- package/src/components/ToolbarContainer/tests/__snapshots__/toolbar-container-links.snap.png +0 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +1 -2
- package/src/components/UploadWorkflow/tests/UploadWorkflow.visual.cy.ts +39 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/upload-workflow-default.snap.png +0 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/upload-workflow-with-title.snap.png +0 -0
- package/src/components/UserMenuBtn/tests/UserMenuBtn.visual.cy.ts +42 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-default.snap.png +0 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-no-logout.snap.png +0 -0
- package/src/components/UserMenuBtn/tests/__snapshots__/user-menu-btn-with-name.snap.png +0 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +1 -1
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +2 -2
- package/src/composables/unifyValidation/useValidation.ts +17 -11
- package/src/composables/useFilterable/useFilterable.spec.ts +105 -142
- package/src/composables/useFilterable/useFilterable.ts +6 -17
- package/src/composables/useFormFieldErrorHandling.ts +1 -1
- package/src/composables/validation/tests/useFormValidation.spec.ts +11 -2
- package/src/composables/validation/tests/useValidatable.spec.ts +16 -6
- package/src/composables/validation/tests/useValidation.spec.ts +2 -2
- package/src/composables/validation/useValidation.ts +1 -1
- package/src/composantsVuetify/VCard/VCard.mdx +8 -0
- package/src/composantsVuetify/VCard/v-card.stories.ts +191 -1
- package/src/composantsVuetify/VStepper/VStepper.mdx +56 -0
- package/src/composantsVuetify/VStepper/v-stepper.stories.ts +563 -0
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +1 -0
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- package/src/designTokens/tokens/pa/paLightTheme.ts +1 -0
- package/src/stories/Accessibilite/DesignSystem/a11y-status.json +1 -1
- package/src/stories/Components/Components.stories.ts +61 -10
- package/src/stories/Demarrer/Releases.stories.ts +45 -2
- package/src/stories/DesignTokens/Colors.mdx +2 -0
- package/src/stories/DesignTokens/colors.stories.ts +13 -0
- package/src/stories/EcoConception/EcoBestPracticesDoc.vue +930 -0
- package/src/stories/EcoConception/EcoBestPratices.mdx +38 -0
- package/src/stories/EcoConception/Introduction.mdx +8 -1
- package/src/stories/EcoConception/datas/bonnes_pratiques_essentielles.json +1018 -0
- package/src/stories/EcoConception/ecoconception-best-practices.stories.ts +20 -0
- package/src/stories/GuideDuDev/Amelipro.mdx +9 -1
- package/src/stories/GuideDuDev/Amelipro.stories.ts +955 -168
- package/src/stories/GuideDuDev/PortailAgent.stories.ts +0 -1
- package/src/utils/functions/deepCopy/index.ts +2 -3
- package/dist/components/Customs/SyCheckbox/locales.d.ts +0 -3
- package/dist/components/SyHeading/SyHeading.a11y.test.d.ts +0 -1
- package/dist/components/SyHeading/SyHeading.test.d.ts +0 -1
- package/src/components/Customs/SyCheckbox/locales.ts +0 -3
- package/src/components/Customs/SyTextField/types.d.ts +0 -4
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SyTextField } from '@/components'
|
|
2
|
+
import { computed, ref } from 'vue'
|
|
1
3
|
import {
|
|
2
4
|
VDivider,
|
|
3
5
|
VExpansionPanel,
|
|
@@ -11,7 +13,7 @@ export default {
|
|
|
11
13
|
title: 'Guide Du Dev/Correspondance composants Amelipro',
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
export const
|
|
16
|
+
export const AmeliproComponents: StoryObj = {
|
|
15
17
|
render: () => {
|
|
16
18
|
return {
|
|
17
19
|
components: {
|
|
@@ -20,187 +22,972 @@ export const ApComponents: StoryObj = {
|
|
|
20
22
|
VExpansionPanelTitle,
|
|
21
23
|
VExpansionPanelText,
|
|
22
24
|
VDivider,
|
|
25
|
+
SyTextField,
|
|
23
26
|
},
|
|
27
|
+
|
|
24
28
|
setup() {
|
|
25
|
-
|
|
29
|
+
const searchTerm = ref('')
|
|
30
|
+
|
|
31
|
+
const baseUrl = import.meta.env.DEV
|
|
32
|
+
? 'http://localhost:6006/?path=/docs/'
|
|
33
|
+
: 'https://cnam-design-system.netlify.app/?path=/docs/'
|
|
34
|
+
|
|
35
|
+
type ComponentType =
|
|
36
|
+
| 'composants vuetify'
|
|
37
|
+
| 'structure'
|
|
38
|
+
| 'layout'
|
|
39
|
+
| 'navigation'
|
|
40
|
+
| 'boutons'
|
|
41
|
+
| 'formulaires'
|
|
42
|
+
| 'formulaires selects'
|
|
43
|
+
| 'tableaux'
|
|
44
|
+
| 'données'
|
|
45
|
+
| 'feedback'
|
|
46
|
+
| 'filtres'
|
|
47
|
+
| 'templates'
|
|
48
|
+
|
|
49
|
+
const getComponentUrl = (item: { name: string, type: ComponentType }) => {
|
|
50
|
+
const normalizedType = item.type.trim().toLowerCase()
|
|
51
|
+
|
|
52
|
+
const prefix = normalizedType.includes('templates') ? '' : 'composants-'
|
|
53
|
+
|
|
54
|
+
const typePath = normalizedType.replace(/\s+/g, '-')
|
|
55
|
+
const namePath = item.name.trim().toLowerCase()
|
|
56
|
+
|
|
57
|
+
return `${baseUrl}${prefix}${typePath}-${namePath}--docs`
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const systemLabel = (component: { name: string }) => {
|
|
61
|
+
if (component.name.startsWith('V')) {
|
|
62
|
+
return 'Vuetify'
|
|
63
|
+
}
|
|
64
|
+
return 'Synapse'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const apComponents = [
|
|
68
|
+
{
|
|
69
|
+
title: 'AmeliproCheckbox',
|
|
70
|
+
synapse: {
|
|
71
|
+
name: 'SyCheckbox',
|
|
72
|
+
url: getComponentUrl({ name: 'SyCheckbox', type: 'formulaires' }),
|
|
73
|
+
},
|
|
74
|
+
amelipro: {
|
|
75
|
+
name: 'AmeliproCheckbox',
|
|
76
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-checkbox',
|
|
77
|
+
},
|
|
78
|
+
}, {
|
|
79
|
+
title: 'AmeliproCheckboxGroup',
|
|
80
|
+
synapse: {
|
|
81
|
+
name: 'SyCheckboxGroup',
|
|
82
|
+
url: getComponentUrl({ name: 'SyCheckboxGroup', type: 'formulaires' }),
|
|
83
|
+
},
|
|
84
|
+
amelipro: {
|
|
85
|
+
name: 'AmeliproCheckboxGroup',
|
|
86
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-checkbox-group',
|
|
87
|
+
},
|
|
88
|
+
}, {
|
|
89
|
+
title: 'AmeliproBadge',
|
|
90
|
+
synapse: {
|
|
91
|
+
name: 'ChipList',
|
|
92
|
+
url: getComponentUrl({ name: 'ChipList', type: 'données' }),
|
|
93
|
+
},
|
|
94
|
+
amelipro: {
|
|
95
|
+
name: 'AmeliproBadge',
|
|
96
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-badge',
|
|
97
|
+
},
|
|
98
|
+
}, {
|
|
99
|
+
title: 'AmeliproBtn',
|
|
100
|
+
synapse: {
|
|
101
|
+
name: 'VBtn',
|
|
102
|
+
url: getComponentUrl({ name: 'VBtn', type: 'composants vuetify' }),
|
|
103
|
+
},
|
|
104
|
+
amelipro: {
|
|
105
|
+
name: 'AmeliproBtn',
|
|
106
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-btn',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
title: 'AmeliproCallback',
|
|
111
|
+
synapse: {
|
|
112
|
+
name: 'NotificationBar',
|
|
113
|
+
url: getComponentUrl({ name: 'NotificationBar', type: 'feedback' }),
|
|
114
|
+
},
|
|
115
|
+
amelipro: {
|
|
116
|
+
name: 'AmeliproCallback',
|
|
117
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-callback',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
title: 'AmeliproCard',
|
|
122
|
+
synapse: {
|
|
123
|
+
name: 'VCard',
|
|
124
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
125
|
+
},
|
|
126
|
+
amelipro: {
|
|
127
|
+
name: 'AmeliproCard',
|
|
128
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-card',
|
|
129
|
+
},
|
|
130
|
+
}, {
|
|
131
|
+
title: 'AmeliproContentLayout',
|
|
132
|
+
synapse: {
|
|
133
|
+
name: 'PageContainer',
|
|
134
|
+
url: getComponentUrl({ name: 'PageContainer', type: 'layout' }),
|
|
135
|
+
},
|
|
136
|
+
amelipro: {
|
|
137
|
+
name: 'AmeliproContentLayout',
|
|
138
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-content-layout',
|
|
139
|
+
},
|
|
140
|
+
}, {
|
|
141
|
+
title: 'AmeliproDialog',
|
|
142
|
+
synapse: {
|
|
143
|
+
name: 'DialogBox',
|
|
144
|
+
url: getComponentUrl({ name: 'DialogBox', type: 'feedback' }),
|
|
145
|
+
},
|
|
146
|
+
amelipro: {
|
|
147
|
+
name: 'AmeliproDialog',
|
|
148
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-dialog',
|
|
149
|
+
},
|
|
150
|
+
}, {
|
|
151
|
+
title: 'AmeliproErrorTemplate',
|
|
152
|
+
synapse: {
|
|
153
|
+
name: 'ErrorPage',
|
|
154
|
+
url: getComponentUrl({ name: 'ErrorPage', type: 'templates' }),
|
|
155
|
+
},
|
|
156
|
+
amelipro: {
|
|
157
|
+
name: 'AmeliproErrorTemplate',
|
|
158
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-error-template',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
title: 'AmeliproFilePreview',
|
|
163
|
+
synapse: {
|
|
164
|
+
name: 'FilePreview',
|
|
165
|
+
url: getComponentUrl({ name: 'FilePreview', type: 'données' }),
|
|
166
|
+
},
|
|
167
|
+
amelipro: {
|
|
168
|
+
name: 'AmeliproFilePreview',
|
|
169
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-file-preview',
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
title: 'AmeliproFooter',
|
|
174
|
+
synapse: {
|
|
175
|
+
name: 'FooterBar',
|
|
176
|
+
url: getComponentUrl({ name: 'FooterBar', type: 'structure' }),
|
|
177
|
+
},
|
|
178
|
+
amelipro: {
|
|
179
|
+
name: 'AmeliproFooter',
|
|
180
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-footer',
|
|
181
|
+
},
|
|
182
|
+
}, {
|
|
183
|
+
title: 'AmeliproHeader',
|
|
184
|
+
synapse: {
|
|
185
|
+
name: 'HeaderBar',
|
|
186
|
+
url: getComponentUrl({ name: 'HeaderBar', type: 'structure' }),
|
|
187
|
+
},
|
|
188
|
+
amelipro: {
|
|
189
|
+
name: 'AmeliproHeader',
|
|
190
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-header',
|
|
191
|
+
},
|
|
192
|
+
}, {
|
|
193
|
+
title: 'AmeliproHeaderBar',
|
|
194
|
+
synapse: {
|
|
195
|
+
name: 'HeaderBar',
|
|
196
|
+
url: getComponentUrl({ name: 'HeaderBar', type: 'structure' }),
|
|
197
|
+
},
|
|
198
|
+
amelipro: {
|
|
199
|
+
name: 'AmeliproHeaderBar',
|
|
200
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-header-bar',
|
|
201
|
+
},
|
|
202
|
+
}, {
|
|
203
|
+
title: 'AmeliproHeaderBrandSection',
|
|
204
|
+
synapse: {
|
|
205
|
+
name: 'HeaderBar',
|
|
206
|
+
url: getComponentUrl({ name: 'HeaderBar', type: 'structure' }),
|
|
207
|
+
},
|
|
208
|
+
amelipro: {
|
|
209
|
+
name: 'AmeliproHeaderBrandSection',
|
|
210
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-header-brand-section',
|
|
211
|
+
},
|
|
212
|
+
}, {
|
|
213
|
+
title: 'AmeliproIcon',
|
|
214
|
+
synapse: {
|
|
215
|
+
name: 'SyIcon',
|
|
216
|
+
url: getComponentUrl({ name: 'SyIcon', type: 'données' }),
|
|
217
|
+
},
|
|
218
|
+
amelipro: {
|
|
219
|
+
name: 'AmeliproIcon',
|
|
220
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-icon',
|
|
221
|
+
},
|
|
222
|
+
}, {
|
|
223
|
+
title: 'AmeliproIconBtn',
|
|
224
|
+
synapse: {
|
|
225
|
+
name: 'SyIconButton',
|
|
226
|
+
url: getComponentUrl({ name: 'SyIconButton', type: 'boutons' }),
|
|
227
|
+
},
|
|
228
|
+
amelipro: {
|
|
229
|
+
name: 'AmeliproIconBtn',
|
|
230
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-icon-btn',
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
title: 'AmeliproLogoAm',
|
|
235
|
+
synapse: {
|
|
236
|
+
name: 'HeaderBar',
|
|
237
|
+
url: getComponentUrl({ name: 'HeaderBar', type: 'structure' }),
|
|
238
|
+
},
|
|
239
|
+
amelipro: {
|
|
240
|
+
name: 'AmeliproLogoAm',
|
|
241
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-logo-am',
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
// {
|
|
245
|
+
// title: 'AmeliproMenu',
|
|
246
|
+
// synapse: {
|
|
247
|
+
// name: 'Composant synapse',
|
|
248
|
+
// url: '',
|
|
249
|
+
// },
|
|
250
|
+
// amelipro: {
|
|
251
|
+
// name: 'AmeliproMenu',
|
|
252
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-menu',
|
|
253
|
+
// },
|
|
254
|
+
// },
|
|
255
|
+
{
|
|
256
|
+
title: 'AmeliproMessage',
|
|
257
|
+
synapse: {
|
|
258
|
+
name: 'NotificationBar',
|
|
259
|
+
url: getComponentUrl({ name: 'NotificationBar', type: 'feedback' }),
|
|
260
|
+
},
|
|
261
|
+
amelipro: {
|
|
262
|
+
name: 'AmeliproMessage',
|
|
263
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-message',
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
title: 'AmeliproStatus',
|
|
268
|
+
synapse: {
|
|
269
|
+
name: 'ChipList',
|
|
270
|
+
url: getComponentUrl({ name: 'ChipList', type: 'données' }),
|
|
271
|
+
},
|
|
272
|
+
amelipro: {
|
|
273
|
+
name: 'AmeliproStatus',
|
|
274
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-status',
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
title: 'AmeliproTooltips',
|
|
279
|
+
synapse: {
|
|
280
|
+
name: 'VTooltip',
|
|
281
|
+
url: getComponentUrl({ name: 'VTooltip', type: 'composants vuetify' }),
|
|
282
|
+
},
|
|
283
|
+
amelipro: {
|
|
284
|
+
name: 'AmeliproTooltips',
|
|
285
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tooltips',
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
title: 'AmeliproTransmission',
|
|
290
|
+
synapse: {
|
|
291
|
+
name: 'VCard',
|
|
292
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
293
|
+
},
|
|
294
|
+
amelipro: {
|
|
295
|
+
name: 'AmeliproTransmission',
|
|
296
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-transmission',
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
// {
|
|
300
|
+
// title: 'StructureMenu',
|
|
301
|
+
// synapse: {
|
|
302
|
+
// name: 'Composant synapse',
|
|
303
|
+
// url: '',
|
|
304
|
+
// },
|
|
305
|
+
// amelipro: {
|
|
306
|
+
// name: 'StructureMenu',
|
|
307
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-menu',
|
|
308
|
+
// },
|
|
309
|
+
// }, {
|
|
310
|
+
// title: 'StructureBtn',
|
|
311
|
+
// synapse: {
|
|
312
|
+
// name: 'Composant synapse',
|
|
313
|
+
// url: '',
|
|
314
|
+
// },
|
|
315
|
+
// amelipro: {
|
|
316
|
+
// name: 'StructureBtn',
|
|
317
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-btn',
|
|
318
|
+
// },
|
|
319
|
+
// }, {
|
|
320
|
+
// title: 'StructureItem',
|
|
321
|
+
// synapse: {
|
|
322
|
+
// name: 'Composant synapse',
|
|
323
|
+
// url: '',
|
|
324
|
+
// },
|
|
325
|
+
// amelipro: {
|
|
326
|
+
// name: 'StructureItem',
|
|
327
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-item',
|
|
328
|
+
// },
|
|
329
|
+
// }, {
|
|
330
|
+
// title: 'StructureList',
|
|
331
|
+
// synapse: {
|
|
332
|
+
// name: 'Composant synapse',
|
|
333
|
+
// url: '',
|
|
334
|
+
// },
|
|
335
|
+
// amelipro: {
|
|
336
|
+
// name: 'StructureList',
|
|
337
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-list',
|
|
338
|
+
// },
|
|
339
|
+
// },
|
|
340
|
+
// {
|
|
341
|
+
// title: 'StructureTabs',
|
|
342
|
+
// synapse: {
|
|
343
|
+
// name: 'Composant synapse',
|
|
344
|
+
// url: '',
|
|
345
|
+
// },
|
|
346
|
+
// amelipro: {
|
|
347
|
+
// name: 'StructureTabs',
|
|
348
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/structure-tabs',
|
|
349
|
+
// },
|
|
350
|
+
// }, {
|
|
351
|
+
// title: 'UserMenu',
|
|
352
|
+
// synapse: {
|
|
353
|
+
// name: 'Composant synapse',
|
|
354
|
+
// url: '',
|
|
355
|
+
// },
|
|
356
|
+
// amelipro: {
|
|
357
|
+
// name: 'UserMenu',
|
|
358
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-menu',
|
|
359
|
+
// },
|
|
360
|
+
// }, {
|
|
361
|
+
// title: 'UserMenuDetails',
|
|
362
|
+
// synapse: {
|
|
363
|
+
// name: 'Composant synapse',
|
|
364
|
+
// url: '',
|
|
365
|
+
// },
|
|
366
|
+
// amelipro: {
|
|
367
|
+
// name: 'UserMenuDetails',
|
|
368
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-menu-details',
|
|
369
|
+
// },
|
|
370
|
+
// }, {
|
|
371
|
+
// title: 'ServiceMenu',
|
|
372
|
+
// synapse: {
|
|
373
|
+
// name: 'Composant synapse',
|
|
374
|
+
// url: '',
|
|
375
|
+
// },
|
|
376
|
+
// amelipro: {
|
|
377
|
+
// name: 'ServiceMenu',
|
|
378
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-menu',
|
|
379
|
+
// },
|
|
380
|
+
// },
|
|
381
|
+
// {
|
|
382
|
+
// title: 'ServiceBtn',
|
|
383
|
+
// synapse: {
|
|
384
|
+
// name: 'Composant synapse',
|
|
385
|
+
// url: '',
|
|
386
|
+
// },
|
|
387
|
+
// amelipro: {
|
|
388
|
+
// name: 'ServiceBtn',
|
|
389
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-btn',
|
|
390
|
+
// },
|
|
391
|
+
// },
|
|
392
|
+
// {
|
|
393
|
+
// title: 'ServiceList',
|
|
394
|
+
// synapse: {
|
|
395
|
+
// name: 'Composant synapse',
|
|
396
|
+
// url: '',
|
|
397
|
+
// },
|
|
398
|
+
// amelipro: {
|
|
399
|
+
// name: 'ServiceList',
|
|
400
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-list',
|
|
401
|
+
// },
|
|
402
|
+
// },
|
|
403
|
+
// {
|
|
404
|
+
// title: 'ServiceMenuContent',
|
|
405
|
+
// synapse: {
|
|
406
|
+
// name: 'Composant synapse',
|
|
407
|
+
// url: '',
|
|
408
|
+
// },
|
|
409
|
+
// amelipro: {
|
|
410
|
+
// name: 'ServiceMenuContent',
|
|
411
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/service-menu-content',
|
|
412
|
+
// },
|
|
413
|
+
// },
|
|
414
|
+
{
|
|
415
|
+
title: 'AmeliproAutoCompleteField',
|
|
416
|
+
synapse: {
|
|
417
|
+
name: 'SyAutoComplete',
|
|
418
|
+
url: getComponentUrl({ name: 'SyAutoComplete', type: 'formulaires selects' }),
|
|
419
|
+
},
|
|
420
|
+
amelipro: {
|
|
421
|
+
name: 'AmeliproAutoCompleteField',
|
|
422
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-auto-complete-field',
|
|
423
|
+
},
|
|
424
|
+
}, {
|
|
425
|
+
title: 'AmeliproBreadcrumb',
|
|
426
|
+
synapse: {
|
|
427
|
+
name: 'VBreadcrumbs',
|
|
428
|
+
url: getComponentUrl({ name: 'VBreadcrumbs', type: 'composants vuetify' }),
|
|
429
|
+
},
|
|
430
|
+
amelipro: {
|
|
431
|
+
name: 'AmeliproBreadcrumb',
|
|
432
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-breadcrumb',
|
|
433
|
+
},
|
|
434
|
+
}, {
|
|
435
|
+
title: 'AmeliproChips',
|
|
436
|
+
synapse: {
|
|
437
|
+
name: 'ChipList',
|
|
438
|
+
url: getComponentUrl({ name: 'ChipList', type: 'données' }),
|
|
439
|
+
},
|
|
440
|
+
amelipro: {
|
|
441
|
+
name: 'AmeliproChips',
|
|
442
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-chips',
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
// {
|
|
446
|
+
// title: 'AmeliproDisclosure',
|
|
447
|
+
// synapse: {
|
|
448
|
+
// name: 'Composant synapse',
|
|
449
|
+
// url: '',
|
|
450
|
+
// },
|
|
451
|
+
// amelipro: {
|
|
452
|
+
// name: 'AmeliproDisclosure',
|
|
453
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-disclosure',
|
|
454
|
+
// },
|
|
455
|
+
// },
|
|
456
|
+
{
|
|
457
|
+
title: 'AmeliproIllustratedDataTile',
|
|
458
|
+
synapse: {
|
|
459
|
+
name: 'VCard',
|
|
460
|
+
url: getComponentUrl({ name: 'VCard', type: 'composants vuetify' }),
|
|
461
|
+
},
|
|
462
|
+
amelipro: {
|
|
463
|
+
name: 'AmeliproIllustratedDataTile',
|
|
464
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-illustrated-data-tile',
|
|
465
|
+
},
|
|
466
|
+
},
|
|
467
|
+
// {
|
|
468
|
+
// title: 'AmeliproIllustratedRadioGroup',
|
|
469
|
+
// synapse: {
|
|
470
|
+
// name: 'Composant synapse',
|
|
471
|
+
// url: '',
|
|
472
|
+
// },
|
|
473
|
+
// amelipro: {
|
|
474
|
+
// name: 'AmeliproIllustratedRadioGroup',
|
|
475
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-illustrated-radio-group',
|
|
476
|
+
// },
|
|
477
|
+
// }, {
|
|
478
|
+
// title: 'AmeliproMailTile',
|
|
479
|
+
// synapse: {
|
|
480
|
+
// name: 'Composant synapse',
|
|
481
|
+
// url: '',
|
|
482
|
+
// },
|
|
483
|
+
// amelipro: {
|
|
484
|
+
// name: 'AmeliproMailTile',
|
|
485
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-mail-tile',
|
|
486
|
+
// },
|
|
487
|
+
// }, {
|
|
488
|
+
// title: 'AmeliproMultipleFoldingCard',
|
|
489
|
+
// synapse: {
|
|
490
|
+
// name: 'Composant synapse',
|
|
491
|
+
// url: '',
|
|
492
|
+
// },
|
|
493
|
+
// amelipro: {
|
|
494
|
+
// name: 'AmeliproMultipleFoldingCard',
|
|
495
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-multiple-folding-card',
|
|
496
|
+
// },
|
|
497
|
+
// }, {
|
|
498
|
+
// title: 'AmeliproNumberedCard',
|
|
499
|
+
// synapse: {
|
|
500
|
+
// name: 'Composant synapse',
|
|
501
|
+
// url: '',
|
|
502
|
+
// },
|
|
503
|
+
// amelipro: {
|
|
504
|
+
// name: 'AmeliproNumberedCard',
|
|
505
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-numbered-card',
|
|
506
|
+
// },
|
|
507
|
+
// }, {
|
|
508
|
+
// title: 'AmeliproOnboarding',
|
|
509
|
+
// synapse: {
|
|
510
|
+
// name: 'Composant synapse',
|
|
511
|
+
// url: '',
|
|
512
|
+
// },
|
|
513
|
+
// amelipro: {
|
|
514
|
+
// name: 'AmeliproOnboarding',
|
|
515
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-onboarding',
|
|
516
|
+
// },
|
|
517
|
+
// },
|
|
518
|
+
// {
|
|
519
|
+
// title: 'AmeliproPageLayout',
|
|
520
|
+
// synapse: {
|
|
521
|
+
// name: 'Composant synapse',
|
|
522
|
+
// url: '',
|
|
523
|
+
// },
|
|
524
|
+
// amelipro: {
|
|
525
|
+
// name: 'AmeliproPageLayout',
|
|
526
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-page-layout',
|
|
527
|
+
// },
|
|
528
|
+
// },
|
|
529
|
+
{
|
|
530
|
+
title: 'AmeliproPagination',
|
|
531
|
+
synapse: {
|
|
532
|
+
name: 'SyPagination',
|
|
533
|
+
url: getComponentUrl({ name: 'SyPagination', type: 'navigation' }),
|
|
534
|
+
},
|
|
535
|
+
amelipro: {
|
|
536
|
+
name: 'AmeliproPagination',
|
|
537
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-pagination',
|
|
538
|
+
},
|
|
539
|
+
}, {
|
|
540
|
+
title: 'AmeliproPaginationBtn',
|
|
541
|
+
synapse: {
|
|
542
|
+
name: 'SyPagination',
|
|
543
|
+
url: getComponentUrl({ name: 'SyPagination', type: 'navigation' }),
|
|
544
|
+
},
|
|
545
|
+
amelipro: {
|
|
546
|
+
name: 'AmeliproPaginationBtn',
|
|
547
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-pagination-btn',
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
// {
|
|
551
|
+
// title: 'AmeliproPatientBanner',
|
|
552
|
+
// synapse: {
|
|
553
|
+
// name: 'Composant synapse',
|
|
554
|
+
// url: '',
|
|
555
|
+
// },
|
|
556
|
+
// amelipro: {
|
|
557
|
+
// name: 'AmeliproPatientBanner',
|
|
558
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-banner',
|
|
559
|
+
// },
|
|
560
|
+
// },
|
|
561
|
+
{
|
|
562
|
+
title: 'AmeliproRadioGroup',
|
|
563
|
+
synapse: {
|
|
564
|
+
name: 'SyRadioGroup',
|
|
565
|
+
url: getComponentUrl({ name: 'SyRadioGroup', type: 'formulaires' }),
|
|
566
|
+
},
|
|
567
|
+
amelipro: {
|
|
568
|
+
name: 'AmeliproRadioGroup',
|
|
569
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-radio-group',
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
title: 'AmeliproSelect',
|
|
574
|
+
synapse: {
|
|
575
|
+
name: 'SySelect',
|
|
576
|
+
url: getComponentUrl({ name: 'SySelect', type: 'formulaires selects' }),
|
|
577
|
+
},
|
|
578
|
+
amelipro: {
|
|
579
|
+
name: 'AmeliproSelect',
|
|
580
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-select',
|
|
581
|
+
},
|
|
582
|
+
},
|
|
583
|
+
// {
|
|
584
|
+
// title: 'AmeliproStateTile',
|
|
585
|
+
// synapse: {
|
|
586
|
+
// name: 'Composant synapse',
|
|
587
|
+
// url: '',
|
|
588
|
+
// },
|
|
589
|
+
// amelipro: {
|
|
590
|
+
// name: 'AmeliproStateTile',
|
|
591
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-state-tile',
|
|
592
|
+
// },
|
|
593
|
+
// },
|
|
594
|
+
{
|
|
595
|
+
title: 'AmeliproStepper',
|
|
596
|
+
synapse: {
|
|
597
|
+
name: 'VStepper',
|
|
598
|
+
url: getComponentUrl({ name: 'VStepper', type: 'composants vuetify' }),
|
|
599
|
+
},
|
|
600
|
+
amelipro: {
|
|
601
|
+
name: 'AmeliproStepper',
|
|
602
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-stepper',
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
|
+
// {
|
|
606
|
+
// title: 'AmeliproStepBtn',
|
|
607
|
+
// synapse: {
|
|
608
|
+
// name: 'Composant synapse',
|
|
609
|
+
// url: '',
|
|
610
|
+
// },
|
|
611
|
+
// amelipro: {
|
|
612
|
+
// name: 'AmeliproStepBtn',
|
|
613
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-step-btn',
|
|
614
|
+
// },
|
|
615
|
+
// },
|
|
616
|
+
{
|
|
617
|
+
title: 'AmeliproTabs',
|
|
618
|
+
synapse: {
|
|
619
|
+
name: 'SyTabs',
|
|
620
|
+
url: getComponentUrl({ name: 'SyTabs', type: 'navigation' }),
|
|
621
|
+
},
|
|
622
|
+
amelipro: {
|
|
623
|
+
name: 'AmeliproTabs',
|
|
624
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tabs',
|
|
625
|
+
},
|
|
626
|
+
}, {
|
|
627
|
+
title: 'AmeliproTextArea',
|
|
628
|
+
synapse: {
|
|
629
|
+
name: 'SyTextArea',
|
|
630
|
+
url: getComponentUrl({ name: 'SyTextArea', type: 'formulaires' }),
|
|
631
|
+
},
|
|
632
|
+
amelipro: {
|
|
633
|
+
name: 'AmeliproTextArea',
|
|
634
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-text-area',
|
|
635
|
+
},
|
|
636
|
+
}, {
|
|
637
|
+
title: 'AmeliproTextField',
|
|
638
|
+
synapse: {
|
|
639
|
+
name: 'SyTextField',
|
|
640
|
+
url: getComponentUrl({ name: 'SyTextField', type: 'formulaires' }),
|
|
641
|
+
},
|
|
642
|
+
amelipro: {
|
|
643
|
+
name: 'AmeliproTextField',
|
|
644
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-text-field',
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
// {
|
|
648
|
+
// title: 'AmeliproTileBtn',
|
|
649
|
+
// synapse: {
|
|
650
|
+
// name: 'Composant synapse',
|
|
651
|
+
// url: '',
|
|
652
|
+
// },
|
|
653
|
+
// amelipro: {
|
|
654
|
+
// name: 'AmeliproTileBtn',
|
|
655
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tile-btn',
|
|
656
|
+
// },
|
|
657
|
+
// },
|
|
658
|
+
// {
|
|
659
|
+
// title: 'UserInformationSummary',
|
|
660
|
+
// synapse: {
|
|
661
|
+
// name: 'Composant synapse',
|
|
662
|
+
// url: '',
|
|
663
|
+
// },
|
|
664
|
+
// amelipro: {
|
|
665
|
+
// name: 'UserInformationSummary',
|
|
666
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/user-information-summary',
|
|
667
|
+
// },
|
|
668
|
+
// }, {
|
|
669
|
+
// title: 'AmeliproCustomSelector',
|
|
670
|
+
// synapse: {
|
|
671
|
+
// name: 'Composant synapse',
|
|
672
|
+
// url: '',
|
|
673
|
+
// },
|
|
674
|
+
// amelipro: {
|
|
675
|
+
// name: 'AmeliproCustomSelector',
|
|
676
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-custom-selector',
|
|
677
|
+
// },
|
|
678
|
+
// },
|
|
679
|
+
{
|
|
680
|
+
title: 'AmeliproAccordion',
|
|
681
|
+
synapse: {
|
|
682
|
+
name: 'Accordion',
|
|
683
|
+
url: getComponentUrl({ name: 'Accordion', type: 'données' }),
|
|
684
|
+
},
|
|
685
|
+
amelipro: {
|
|
686
|
+
name: 'AmeliproAccordion',
|
|
687
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion',
|
|
688
|
+
},
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
title: 'AmeliproCaptcha',
|
|
692
|
+
synapse: {
|
|
693
|
+
name: 'Captcha',
|
|
694
|
+
url: getComponentUrl({ name: 'Captcha', type: 'formulaires' }),
|
|
695
|
+
},
|
|
696
|
+
amelipro: {
|
|
697
|
+
name: 'AmeliproCaptcha',
|
|
698
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-captcha',
|
|
699
|
+
},
|
|
700
|
+
},
|
|
701
|
+
// {
|
|
702
|
+
// title: 'AmeliproUpload',
|
|
703
|
+
// synapse: {
|
|
704
|
+
// name: 'Composant synapse',
|
|
705
|
+
// url: '',
|
|
706
|
+
// },
|
|
707
|
+
// amelipro: {
|
|
708
|
+
// name: 'AmeliproUpload',
|
|
709
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-upload',
|
|
710
|
+
// },
|
|
711
|
+
// },
|
|
712
|
+
{
|
|
713
|
+
title: 'AmeliproTable',
|
|
714
|
+
synapse: {
|
|
715
|
+
name: 'SyTable',
|
|
716
|
+
url: getComponentUrl({ name: 'Sytable', type: 'tableaux' }),
|
|
717
|
+
},
|
|
718
|
+
amelipro: {
|
|
719
|
+
name: 'AmeliproTable',
|
|
720
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-table',
|
|
721
|
+
},
|
|
722
|
+
},
|
|
723
|
+
// {
|
|
724
|
+
// title: 'AmeliproPostalAddressField',
|
|
725
|
+
// synapse: {
|
|
726
|
+
// name: 'Composant synapse',
|
|
727
|
+
// url: '',
|
|
728
|
+
// },
|
|
729
|
+
// amelipro: {
|
|
730
|
+
// name: 'AmeliproPostalAddressField',
|
|
731
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-postal-address-field',
|
|
732
|
+
// },
|
|
733
|
+
// },
|
|
734
|
+
{
|
|
735
|
+
title: 'AmeliproAccordionGroup',
|
|
736
|
+
synapse: {
|
|
737
|
+
name: 'Accordion',
|
|
738
|
+
url: getComponentUrl({ name: 'Accordion', type: 'données' }),
|
|
739
|
+
},
|
|
740
|
+
amelipro: {
|
|
741
|
+
name: 'AmeliproAccordionGroup',
|
|
742
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-group',
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
// {
|
|
746
|
+
// title: 'AmeliproCarousel',
|
|
747
|
+
// synapse: {
|
|
748
|
+
// name: 'Composant synapse',
|
|
749
|
+
// url: '',
|
|
750
|
+
// },
|
|
751
|
+
// amelipro: {
|
|
752
|
+
// name: 'AmeliproCarousel',
|
|
753
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-carousel',
|
|
754
|
+
// },
|
|
755
|
+
// }, {
|
|
756
|
+
// title: 'AmeliproAccordionResult',
|
|
757
|
+
// synapse: {
|
|
758
|
+
// name: 'Composant synapse',
|
|
759
|
+
// url: '',
|
|
760
|
+
// },
|
|
761
|
+
// amelipro: {
|
|
762
|
+
// name: 'AmeliproAccordionResult',
|
|
763
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result',
|
|
764
|
+
// },
|
|
765
|
+
// }, {
|
|
766
|
+
// title: 'AmeliproAccordionFrieze',
|
|
767
|
+
// synapse: {
|
|
768
|
+
// name: 'Composant synapse',
|
|
769
|
+
// url: '',
|
|
770
|
+
// },
|
|
771
|
+
// amelipro: {
|
|
772
|
+
// name: 'AmeliproAccordionFrieze',
|
|
773
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-frieze',
|
|
774
|
+
// },
|
|
775
|
+
// }, {
|
|
776
|
+
// title: 'AmeliproAccordionList',
|
|
777
|
+
// synapse: {
|
|
778
|
+
// name: 'Composant synapse',
|
|
779
|
+
// url: '',
|
|
780
|
+
// },
|
|
781
|
+
// amelipro: {
|
|
782
|
+
// name: 'AmeliproAccordionList',
|
|
783
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-list',
|
|
784
|
+
// },
|
|
785
|
+
// }, {
|
|
786
|
+
// title: 'AmeliproAccordionResultList',
|
|
787
|
+
// synapse: {
|
|
788
|
+
// name: 'Composant synapse',
|
|
789
|
+
// url: '',
|
|
790
|
+
// },
|
|
791
|
+
// amelipro: {
|
|
792
|
+
// name: 'AmeliproAccordionResultList',
|
|
793
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-accordion-result-list',
|
|
794
|
+
// },
|
|
795
|
+
// }, {
|
|
796
|
+
// title: 'AmeliproClickableTile',
|
|
797
|
+
// synapse: {
|
|
798
|
+
// name: 'Composant synapse',
|
|
799
|
+
// url: '',
|
|
800
|
+
// },
|
|
801
|
+
// amelipro: {
|
|
802
|
+
// name: 'AmeliproClickableTile',
|
|
803
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-clickable-tile',
|
|
804
|
+
// },
|
|
805
|
+
// }, {
|
|
806
|
+
// title: 'AmeliproDentalChart',
|
|
807
|
+
// synapse: {
|
|
808
|
+
// name: 'Composant synapse',
|
|
809
|
+
// url: '',
|
|
810
|
+
// },
|
|
811
|
+
// amelipro: {
|
|
812
|
+
// name: 'AmeliproDentalChart',
|
|
813
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-dental-chart',
|
|
814
|
+
// },
|
|
815
|
+
// },
|
|
816
|
+
// {
|
|
817
|
+
// title: 'AmeliproMessagingLayout',
|
|
818
|
+
// synapse: {
|
|
819
|
+
// name: 'Composant synapse',
|
|
820
|
+
// url: '',
|
|
821
|
+
// },
|
|
822
|
+
// amelipro: {
|
|
823
|
+
// name: 'AmeliproMessagingLayout',
|
|
824
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-messaging-layout',
|
|
825
|
+
// },
|
|
826
|
+
// }, {
|
|
827
|
+
// title: 'AmeliproDropdownMenu',
|
|
828
|
+
// synapse: {
|
|
829
|
+
// name: 'Composant synapse',
|
|
830
|
+
// url: '',
|
|
831
|
+
// },
|
|
832
|
+
// amelipro: {
|
|
833
|
+
// name: 'AmeliproDropdownMenu',
|
|
834
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-dropdown-menu',
|
|
835
|
+
// },
|
|
836
|
+
// }, {
|
|
837
|
+
// title: 'AmeliproDropdownMenuBtn',
|
|
838
|
+
// synapse: {
|
|
839
|
+
// name: 'Composant synapse',
|
|
840
|
+
// url: '',
|
|
841
|
+
// },
|
|
842
|
+
// amelipro: {
|
|
843
|
+
// name: 'AmeliproDropdownMenuBtn',
|
|
844
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-dropdown-menu-btn',
|
|
845
|
+
// },
|
|
846
|
+
// },
|
|
847
|
+
// {
|
|
848
|
+
// title: 'AmeliproMessagingMenuBtn',
|
|
849
|
+
// synapse: {
|
|
850
|
+
// name: 'Composant synapse',
|
|
851
|
+
// url: '',
|
|
852
|
+
// },
|
|
853
|
+
// amelipro: {
|
|
854
|
+
// name: 'AmeliproMessagingMenuBtn',
|
|
855
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-messaging-menu-btn',
|
|
856
|
+
// },
|
|
857
|
+
// },
|
|
858
|
+
// {
|
|
859
|
+
// title: 'AmeliproPatientLogin',
|
|
860
|
+
// synapse: {
|
|
861
|
+
// name: 'Composant synapse',
|
|
862
|
+
// url: '',
|
|
863
|
+
// },
|
|
864
|
+
// amelipro: {
|
|
865
|
+
// name: 'AmeliproPatientLogin',
|
|
866
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-login',
|
|
867
|
+
// },
|
|
868
|
+
// },
|
|
869
|
+
// {
|
|
870
|
+
// title: 'AmeliproPatientLogged',
|
|
871
|
+
// usedComponents: [{
|
|
872
|
+
// name: 'Vbtn',
|
|
873
|
+
// type: 'composants vuetify',
|
|
874
|
+
// }, {
|
|
875
|
+
// name: 'VCard',
|
|
876
|
+
// type: 'composants vuetify',
|
|
877
|
+
// }, {
|
|
878
|
+
// name: 'Vbtn',
|
|
879
|
+
// type: 'composants vuetify',
|
|
880
|
+
// }],
|
|
881
|
+
// amelipro: {
|
|
882
|
+
// name: 'AmeliproPatientLogged',
|
|
883
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-patient-logged',
|
|
884
|
+
// },
|
|
885
|
+
// },
|
|
886
|
+
{
|
|
887
|
+
title: 'AmeliproCopyBtn',
|
|
888
|
+
synapse: {
|
|
889
|
+
name: 'CopyBtn',
|
|
890
|
+
url: getComponentUrl({ name: 'CopyBtn', type: 'boutons' }),
|
|
891
|
+
},
|
|
892
|
+
amelipro: {
|
|
893
|
+
name: 'AmeliproCopyBtn',
|
|
894
|
+
url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-copy-btn',
|
|
895
|
+
},
|
|
896
|
+
},
|
|
897
|
+
// {
|
|
898
|
+
// title: 'AmeliproFirstLogin',
|
|
899
|
+
// synapse: {
|
|
900
|
+
// name: 'Composant synapse',
|
|
901
|
+
// url: '',
|
|
902
|
+
// },
|
|
903
|
+
// amelipro: {
|
|
904
|
+
// name: 'AmeliproFirstLogin',
|
|
905
|
+
// url: 'https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-first-login',
|
|
906
|
+
// },
|
|
907
|
+
// },
|
|
908
|
+
]
|
|
909
|
+
|
|
910
|
+
const filteredComponents = computed(() => {
|
|
911
|
+
const term = searchTerm.value.trim().toLowerCase()
|
|
912
|
+
|
|
913
|
+
return apComponents
|
|
914
|
+
.filter(component =>
|
|
915
|
+
!term
|
|
916
|
+
|| component.title.toLowerCase().includes(term),
|
|
917
|
+
)
|
|
918
|
+
.sort((a, b) =>
|
|
919
|
+
a.title.localeCompare(b.title, 'fr', { sensitivity: 'base' }),
|
|
920
|
+
)
|
|
921
|
+
})
|
|
922
|
+
|
|
923
|
+
return { filteredComponents, apComponents, searchTerm, getComponentUrl, systemLabel }
|
|
26
924
|
},
|
|
925
|
+
|
|
27
926
|
template: `
|
|
927
|
+
<SyTextField v-model="searchTerm" label="Rechercher un composant" :show-success-messages=false />
|
|
928
|
+
|
|
929
|
+
<h5>Composants disponibles : {{filteredComponents.length}}</h5>
|
|
28
930
|
<VExpansionPanels>
|
|
29
931
|
|
|
30
|
-
<VExpansionPanel
|
|
932
|
+
<VExpansionPanel
|
|
933
|
+
v-for="component in filteredComponents"
|
|
934
|
+
:key="component.title"
|
|
935
|
+
>
|
|
31
936
|
<VExpansionPanelTitle class="font-weight-bold">
|
|
32
|
-
|
|
937
|
+
{{ component.title }}
|
|
33
938
|
</VExpansionPanelTitle>
|
|
34
|
-
<VExpansionPanelText>
|
|
35
|
-
<p>
|
|
36
|
-
Le composant <span class="component-name">AmeliproFooter</span> est remplacé par le composant
|
|
37
|
-
<span class="component-name">FooterBar</span> de Synapse.
|
|
38
|
-
<br>
|
|
39
|
-
<a href="https://cnam-design-system.netlify.app/?path=/docs/composants-structure-footerbar--docs"
|
|
40
|
-
target="_blank" rel="noopener noreferrer"
|
|
41
|
-
>
|
|
42
|
-
Documentation du composant Synapse FooterBar
|
|
43
|
-
</a>
|
|
44
|
-
</p>
|
|
45
|
-
<p class="mt-4">
|
|
46
|
-
<VDivider class="pb-2"/>
|
|
47
|
-
<a href="https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-footer">
|
|
48
|
-
Documentation du composant AmeliproFooter correspondant
|
|
49
|
-
</a>
|
|
50
|
-
</p>
|
|
51
|
-
</VExpansionPanelText>
|
|
52
|
-
</VExpansionPanel>
|
|
53
939
|
|
|
54
|
-
<VExpansionPanel>
|
|
55
|
-
<VExpansionPanelTitle class="font-weight-bold">
|
|
56
|
-
HeaderBar
|
|
57
|
-
</VExpansionPanelTitle>
|
|
58
940
|
<VExpansionPanelText>
|
|
59
|
-
<p>
|
|
60
|
-
Le composant <span class="component-name">AmeliproHeader</span> est remplacé par le composant
|
|
61
|
-
<span class="component-name">HeaderBar</span> de Synapse.
|
|
62
|
-
<br>
|
|
63
|
-
<a href="https://cnam-design-system.netlify.app/?path=/docs/composants-structure-headerbar--docs"
|
|
64
|
-
target="_blank" rel="noopener noreferrer"
|
|
65
|
-
>
|
|
66
|
-
Documentation du composant Synapse HeaderBar
|
|
67
|
-
</a>
|
|
68
|
-
</p>
|
|
69
|
-
<p class="mt-4">
|
|
70
|
-
<VDivider class="pb-2"/>
|
|
71
|
-
<a href="https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-header">
|
|
72
|
-
Documentation du composant AmeliproHeader correspondant
|
|
73
|
-
</a>
|
|
74
|
-
</p>
|
|
75
|
-
</VExpansionPanelText>
|
|
76
|
-
</VExpansionPanel>
|
|
77
941
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
942
|
+
<template v-if="component.text">
|
|
943
|
+
<p style="white-space: pre-line">
|
|
944
|
+
{{ component.text }}
|
|
945
|
+
</p>
|
|
946
|
+
</template>
|
|
947
|
+
|
|
948
|
+
<template v-else-if="component.usedComponents">
|
|
949
|
+
<p>
|
|
950
|
+
Pour reproduire son comportement, utilisez les composants du Design System suivants :
|
|
951
|
+
</p>
|
|
952
|
+
|
|
953
|
+
<p v-for="item in component.usedComponents" :key="item.name">
|
|
954
|
+
<a
|
|
955
|
+
:href="getComponentUrl(item)"
|
|
956
|
+
target="_blank"
|
|
957
|
+
rel="noopener noreferrer"
|
|
958
|
+
>
|
|
959
|
+
{{ item.name }}
|
|
960
|
+
</a>
|
|
961
|
+
</p>
|
|
962
|
+
|
|
963
|
+
<p>
|
|
964
|
+
et implémentez la logique métier directement dans votre projet.
|
|
965
|
+
</p>
|
|
966
|
+
</template>
|
|
967
|
+
|
|
968
|
+
<template v-else>
|
|
969
|
+
<p>
|
|
970
|
+
Le composant
|
|
971
|
+
<span class="component-name">{{ component.amelipro.name }}</span>
|
|
972
|
+
est remplacé par
|
|
973
|
+
<span class="component-name">{{ component.synapse.name }}</span>.
|
|
974
|
+
<br>
|
|
975
|
+
<a :href="component.synapse.url" target="_blank" rel="noopener noreferrer">
|
|
976
|
+
Documentation du composant {{ systemLabel(component.synapse) }} {{ component.synapse?.name }}
|
|
977
|
+
</a>
|
|
978
|
+
</p>
|
|
979
|
+
|
|
980
|
+
<p class="mt-4">
|
|
981
|
+
<VDivider class="pb-2" />
|
|
982
|
+
<a :href="component.amelipro.url" target="_blank">
|
|
983
|
+
Documentation du composant Amelipro {{ component.amelipro.name }}
|
|
984
|
+
</a>
|
|
985
|
+
</p>
|
|
986
|
+
</template>
|
|
121
987
|
|
|
122
|
-
<VExpansionPanel>
|
|
123
|
-
<VExpansionPanelTitle class="font-weight-bold">
|
|
124
|
-
Tooltips
|
|
125
|
-
</VExpansionPanelTitle>
|
|
126
|
-
<VExpansionPanelText>
|
|
127
|
-
<p>
|
|
128
|
-
Les tooltips de bases peuvent êtres crées en utilisant le composant <span class="component-name">Vtooltip</span>
|
|
129
|
-
de Vuetify.
|
|
130
|
-
<br>
|
|
131
|
-
<a href="https://vuetifyjs.com/en/api/v-tooltip" target="_blank" rel="noopener noreferrer">
|
|
132
|
-
Documentation du composant Vuetify Vtooltip
|
|
133
|
-
</a>
|
|
134
|
-
</p>
|
|
135
|
-
|
|
136
|
-
<div class="mt-4">
|
|
137
|
-
<pre>
|
|
138
|
-
<v-tooltip text="Tooltip">
|
|
139
|
-
<template v-slot:activator="{ props }">
|
|
140
|
-
<v-btn v-bind="props">
|
|
141
|
-
Hover Over Me
|
|
142
|
-
</v-btn>
|
|
143
|
-
</template>
|
|
144
|
-
</v-tooltip>
|
|
145
|
-
</pre>
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
|
-
<p class="mt-6">
|
|
149
|
-
<VDivider class="pb-2"/>
|
|
150
|
-
<a href="https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-tooltips">
|
|
151
|
-
Documentation du composant AmeliproTooltips correspondant
|
|
152
|
-
</a>
|
|
153
|
-
</p>
|
|
154
|
-
</VExpansionPanelText>
|
|
155
|
-
</VExpansionPanel>
|
|
156
|
-
<VExpansionPanel>
|
|
157
|
-
<VExpansionPanelTitle class="font-weight-bold">
|
|
158
|
-
Layout
|
|
159
|
-
</VExpansionPanelTitle>
|
|
160
|
-
<VExpansionPanelText>
|
|
161
|
-
<p>
|
|
162
|
-
Le composant <span class="component-name">AmeliproContentLayout</span> est remplacé par le
|
|
163
|
-
composant
|
|
164
|
-
<span class="component-name">PageContainer</span> de Synapse.
|
|
165
|
-
<br>
|
|
166
|
-
<a href="https://cnam-design-system.netlify.app/?path=/docs/composants-layout-pagecontainer--docs"
|
|
167
|
-
target="_blank" rel="noopener noreferrer"
|
|
168
|
-
>
|
|
169
|
-
Documentation du composant Synapse PageContainer
|
|
170
|
-
</a>
|
|
171
|
-
</p>
|
|
172
|
-
<p class="mt-4">
|
|
173
|
-
<VDivider class="pb-2"/>
|
|
174
|
-
<a href="https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-content-layout">
|
|
175
|
-
Documentation du composant AmeliproContentLayout correspondant
|
|
176
|
-
</a>
|
|
177
|
-
</p>
|
|
178
|
-
</VExpansionPanelText>
|
|
179
|
-
</VExpansionPanel>
|
|
180
|
-
<VExpansionPanel>
|
|
181
|
-
<VExpansionPanelTitle class="font-weight-bold">
|
|
182
|
-
Pagination
|
|
183
|
-
</VExpansionPanelTitle>
|
|
184
|
-
<VExpansionPanelText>
|
|
185
|
-
<p>
|
|
186
|
-
Le composant <span class="component-name">AmeliproPagination</span> est remplacé par le
|
|
187
|
-
composant
|
|
188
|
-
<span class="component-name">SyPagination</span> de Synapse.
|
|
189
|
-
<br>
|
|
190
|
-
<a href="https://cnam-design-system.netlify.app/?path=/docs/composants-navigation-sypagination--docs"
|
|
191
|
-
target="_blank" rel="noopener noreferrer"
|
|
192
|
-
>
|
|
193
|
-
Documentation du composant Synapse SyPagination
|
|
194
|
-
</a>
|
|
195
|
-
</p>
|
|
196
|
-
<p class="mt-4">
|
|
197
|
-
<VDivider class="pb-2"/>
|
|
198
|
-
<a href="https://p2-design-system-dev.app.ge-4.digital.ramage/composants/amelipro-pagination">
|
|
199
|
-
Documentation du composant AmeliproPagination correspondant
|
|
200
|
-
</a>
|
|
201
|
-
</p>
|
|
202
988
|
</VExpansionPanelText>
|
|
203
989
|
</VExpansionPanel>
|
|
990
|
+
|
|
204
991
|
</VExpansionPanels>
|
|
205
992
|
`,
|
|
206
993
|
}
|