@dsivd/prestations-ng 17.10.9 → 18.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2478 -2466
- package/CONTRIBUTING.md +66 -66
- package/ESLINT_MIGRATION_GUIDE.md +19 -33
- package/MODULES.md +88 -88
- package/MULTI_ETAPES.md +9 -9
- package/README.md +25 -24
- package/README_COMMON.md +10 -10
- package/UPGRADING_V12.md +36 -36
- package/UPGRADING_V13.md +3 -3
- package/UPGRADING_V14.md +2 -2
- package/UPGRADING_V15.md +4 -4
- package/UPGRADING_V16.md +38 -38
- package/UPGRADING_V17.md +51 -51
- package/UPGRADING_V18.md +596 -8
- package/UPGRADING_V8.md +5 -5
- package/abstract-page-component.d.ts +1 -1
- package/dsivd-prestations-ng-18.0.0-beta.10.tgz +0 -0
- package/fesm2022/dsivd-prestations-ng.mjs +903 -868
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-checkables/foehn-checkable-group.component.d.ts +1 -1
- package/foehn-checkables/foehn-checkables.module.d.ts +6 -7
- package/foehn-date-picker/date-picker.helper.d.ts +1 -1
- package/foehn-icons/abstract-icon-component.d.ts +1 -1
- package/foehn-input/foehn-input-string.component.d.ts +1 -1
- package/foehn-input/foehn-input.component.d.ts +1 -1
- package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +1 -1
- package/foehn-menu-prestation/abstract-menu-page.component.d.ts +1 -1
- package/foehn-menu-prestation/abstract-page-from-menu.component.d.ts +1 -1
- package/foehn-navigation/abstract-foehn-navigation.component.d.ts +1 -1
- package/foehn-table/foehn-table.component.d.ts +1 -6
- package/foehn-upload/abstract-foehn-uploader.component.d.ts +1 -2
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +1 -3
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +1 -1
- package/index.d.ts +1 -1
- package/index.html +1 -1
- package/package.json +15 -17
- package/prestations-ng-core.module.d.ts +5 -4
- package/sdk-appinfo/application-info.service.d.ts +1 -0
- package/sdk-drafts/drafts.module.d.ts +7 -8
- package/sdk-support-alert/support-alert.module.d.ts +2 -3
- package/dsivd-prestations-ng-17.10.9.tgz +0 -0
- package/esm2022/abstract-page-component.mjs +0 -232
- package/esm2022/directives/currency-formatter.directive.mjs +0 -143
- package/esm2022/directives/formatter.module.mjs +0 -37
- package/esm2022/directives/iban-formatter.directive.mjs +0 -29
- package/esm2022/directives/ide-formatter.directive.mjs +0 -37
- package/esm2022/directives/ndc-formatter.directive.mjs +0 -75
- package/esm2022/dsivd-prestations-ng.mjs +0 -5
- package/esm2022/foehn-address/address.type.mjs +0 -10
- package/esm2022/foehn-address/foehn-address.module.mjs +0 -55
- package/esm2022/foehn-address/foehn-display-address.component.mjs +0 -69
- package/esm2022/foehn-address/foehn-input-address.component.mjs +0 -498
- package/esm2022/foehn-address/foehn-input-foreign-locality.component.mjs +0 -66
- package/esm2022/foehn-address/foehn-input-foreign-street.component.mjs +0 -56
- package/esm2022/foehn-agenda/calendar.type.mjs +0 -3
- package/esm2022/foehn-agenda/current-week.type.mjs +0 -4
- package/esm2022/foehn-agenda/day-slots.type.mjs +0 -3
- package/esm2022/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.mjs +0 -75
- package/esm2022/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.mjs +0 -242
- package/esm2022/foehn-agenda/foehn-agenda.component.mjs +0 -95
- package/esm2022/foehn-agenda/foehn-agenda.module.mjs +0 -62
- package/esm2022/foehn-agenda/pagination-week.type.mjs +0 -3
- package/esm2022/foehn-agenda/selected-slot.type.mjs +0 -3
- package/esm2022/foehn-autocomplete/foehn-autocomplete.component.mjs +0 -684
- package/esm2022/foehn-autocomplete/foehn-autocomplete.module.mjs +0 -40
- package/esm2022/foehn-boolean/foehn-boolean-checkbox.component.mjs +0 -28
- package/esm2022/foehn-boolean/foehn-boolean-radio.component.mjs +0 -40
- package/esm2022/foehn-boolean/foehn-boolean.module.mjs +0 -33
- package/esm2022/foehn-breadcrumb/breadcrumb-event.service.mjs +0 -177
- package/esm2022/foehn-breadcrumb/breadcrumb.mjs +0 -5
- package/esm2022/foehn-breadcrumb/foehn-breadcrumb.component.mjs +0 -106
- package/esm2022/foehn-breadcrumb/foehn-breadcrumb.module.mjs +0 -20
- package/esm2022/foehn-checkables/foehn-checkable-group.component.mjs +0 -291
- package/esm2022/foehn-checkables/foehn-checkables.module.mjs +0 -68
- package/esm2022/foehn-checkables/foehn-checkbox.component.mjs +0 -37
- package/esm2022/foehn-checkables/foehn-radio.component.mjs +0 -64
- package/esm2022/foehn-checkables/foehn-select.component.mjs +0 -55
- package/esm2022/foehn-checkables/form-select-option-group.mjs +0 -3
- package/esm2022/foehn-checkables/form-select-option.mjs +0 -3
- package/esm2022/foehn-confirm-modal/foehn-confirm-modal-content.mjs +0 -7
- package/esm2022/foehn-confirm-modal/foehn-confirm-modal.component.mjs +0 -40
- package/esm2022/foehn-confirm-modal/foehn-confirm-modal.module.mjs +0 -19
- package/esm2022/foehn-confirm-modal/foehn-confirm-modal.service.mjs +0 -53
- package/esm2022/foehn-date-picker/date-picker-navigation.helper.mjs +0 -168
- package/esm2022/foehn-date-picker/date-picker.helper.mjs +0 -132
- package/esm2022/foehn-date-picker/day-month.type.mjs +0 -3
- package/esm2022/foehn-date-picker/focused-day.type.mjs +0 -3
- package/esm2022/foehn-date-picker/foehn-date-picker.component.mjs +0 -392
- package/esm2022/foehn-date-picker/foehn-date-picker.module.mjs +0 -40
- package/esm2022/foehn-date-picker/month-year.type.mjs +0 -3
- package/esm2022/foehn-date-picker-button/foehn-date-picker-button.component.mjs +0 -97
- package/esm2022/foehn-date-picker-button/foehn-date-picker-button.module.mjs +0 -36
- package/esm2022/foehn-debug-summary/foehn-debug-summary.component.mjs +0 -84
- package/esm2022/foehn-debug-summary/foehn-debug-summary.component.module.mjs +0 -20
- package/esm2022/foehn-decision-electronique/foehn-decision-electronique.component.mjs +0 -37
- package/esm2022/foehn-decision-electronique/foehn-decision-electronique.module.mjs +0 -32
- package/esm2022/foehn-dropdown-menu/dropdown-menu-group.type.mjs +0 -3
- package/esm2022/foehn-dropdown-menu/dropdown-menu-item.type.mjs +0 -6
- package/esm2022/foehn-dropdown-menu/foehn-dropdown-menu.component.mjs +0 -212
- package/esm2022/foehn-dropdown-menu/foehn-dropdown-menu.module.mjs +0 -21
- package/esm2022/foehn-feedback-notification/foehn-feedback-notification.component.mjs +0 -113
- package/esm2022/foehn-feedback-notification/foehn-feedback-notification.module.mjs +0 -32
- package/esm2022/foehn-feedback-notification/foehn-feedback-notification.type.mjs +0 -3
- package/esm2022/foehn-footer/foehn-footer.component.mjs +0 -130
- package/esm2022/foehn-footer/foehn-footer.module.mjs +0 -19
- package/esm2022/foehn-footer/footer-link.type.mjs +0 -3
- package/esm2022/foehn-form/foehn-form.component.mjs +0 -136
- package/esm2022/foehn-form/foehn-form.module.mjs +0 -32
- package/esm2022/foehn-form/register-ng-model.service.mjs +0 -23
- package/esm2022/foehn-growl/foehn-growl.component.mjs +0 -45
- package/esm2022/foehn-growl/foehn-growl.module.mjs +0 -18
- package/esm2022/foehn-growl/growl-broker.service.mjs +0 -37
- package/esm2022/foehn-growl/growl-message.mjs +0 -9
- package/esm2022/foehn-growl/growl-types.mjs +0 -7
- package/esm2022/foehn-header/foehn-header.component.mjs +0 -159
- package/esm2022/foehn-header/foehn-header.module.mjs +0 -40
- package/esm2022/foehn-header/foehn-skip-link.component.mjs +0 -51
- package/esm2022/foehn-help-modal/foehn-help-modal.component.mjs +0 -44
- package/esm2022/foehn-help-modal/foehn-help-modal.module.mjs +0 -20
- package/esm2022/foehn-help-modal/foehn-help-modal.type.mjs +0 -2
- package/esm2022/foehn-icons/abstract-icon-component.mjs +0 -12
- package/esm2022/foehn-icons/foehn-icon-calendar.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-check-square-o.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-check.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-chevron-down.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-chevron-left.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-chevron-right.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-chevron-up.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-clock.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-comment-dots.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-edit.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-external-link-alt.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-file-pdf.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-info-circle.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-lock.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-map-marker.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-minus-circle.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-pencil.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-plus-circle.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-plus-square.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-search.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-times.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-trash-alt.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-unlock-alt.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icon-user.component.mjs +0 -19
- package/esm2022/foehn-icons/foehn-icons.module.mjs +0 -139
- package/esm2022/foehn-input/foehn-input-email.component.mjs +0 -74
- package/esm2022/foehn-input/foehn-input-hidden.component.mjs +0 -54
- package/esm2022/foehn-input/foehn-input-number.component.mjs +0 -319
- package/esm2022/foehn-input/foehn-input-password.component.mjs +0 -51
- package/esm2022/foehn-input/foehn-input-phone.component.mjs +0 -99
- package/esm2022/foehn-input/foehn-input-prefixed-text.component.mjs +0 -116
- package/esm2022/foehn-input/foehn-input-string.component.mjs +0 -27
- package/esm2022/foehn-input/foehn-input-text.component.mjs +0 -69
- package/esm2022/foehn-input/foehn-input-textarea.component.mjs +0 -97
- package/esm2022/foehn-input/foehn-input.component.mjs +0 -418
- package/esm2022/foehn-input/foehn-input.module.mjs +0 -98
- package/esm2022/foehn-input/pattern.const.mjs +0 -16
- package/esm2022/foehn-input-date/foehn-input-date.component.mjs +0 -163
- package/esm2022/foehn-input-date-time/foehn-input-date-time.component.mjs +0 -201
- package/esm2022/foehn-input-time/foehn-input-time.component.mjs +0 -89
- package/esm2022/foehn-list/foehn-list.component.mjs +0 -127
- package/esm2022/foehn-list/foehn-list.module.mjs +0 -19
- package/esm2022/foehn-list/page-change-event.mjs +0 -3
- package/esm2022/foehn-menu-prestation/abstract-list-item-detail-page.component.mjs +0 -122
- package/esm2022/foehn-menu-prestation/abstract-menu-page.component.mjs +0 -31
- package/esm2022/foehn-menu-prestation/abstract-page-from-menu.component.mjs +0 -87
- package/esm2022/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.mjs +0 -25
- package/esm2022/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.mjs +0 -2
- package/esm2022/foehn-menu-prestation/foehn-list-summary/foehn-list-item.mjs +0 -3
- package/esm2022/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.mjs +0 -161
- package/esm2022/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.mjs +0 -38
- package/esm2022/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.mjs +0 -58
- package/esm2022/foehn-menu-prestation/foehn-menu-prestation.module.mjs +0 -67
- package/esm2022/foehn-misc/foehn-abbr.component.mjs +0 -15
- package/esm2022/foehn-misc/foehn-misc.module.mjs +0 -17
- package/esm2022/foehn-modal/foehn-modal.component.mjs +0 -94
- package/esm2022/foehn-modal/foehn-modal.module.mjs +0 -21
- package/esm2022/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.mjs +0 -287
- package/esm2022/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.mjs +0 -40
- package/esm2022/foehn-nav13/foehn-input-nav13.component.mjs +0 -114
- package/esm2022/foehn-nav13/foehn-input-nav13.module.mjs +0 -32
- package/esm2022/foehn-navigation/abstract-foehn-navigation.component.mjs +0 -55
- package/esm2022/foehn-navigation/foehn-navigation/foehn-navigation.component.mjs +0 -67
- package/esm2022/foehn-navigation/foehn-navigation.module.mjs +0 -37
- package/esm2022/foehn-navigation/foehn-navigation.service.mjs +0 -322
- package/esm2022/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.mjs +0 -26
- package/esm2022/foehn-notfound/foehn-notfound.component.mjs +0 -61
- package/esm2022/foehn-notfound/foehn-notfound.module.mjs +0 -20
- package/esm2022/foehn-page/foehn-page-counter.component.mjs +0 -31
- package/esm2022/foehn-page/foehn-page-expiration-timer/current-session-expiration.mjs +0 -3
- package/esm2022/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.mjs +0 -68
- package/esm2022/foehn-page/foehn-page-expiration-timer/demande-expiration.service.mjs +0 -53
- package/esm2022/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.mjs +0 -175
- package/esm2022/foehn-page/foehn-page-expiration-timer/interval.helper.mjs +0 -29
- package/esm2022/foehn-page/foehn-page-modal.component.mjs +0 -54
- package/esm2022/foehn-page/foehn-page-modal.service.mjs +0 -38
- package/esm2022/foehn-page/foehn-page.component.mjs +0 -223
- package/esm2022/foehn-page/foehn-page.module.mjs +0 -101
- package/esm2022/foehn-page/foehn-page.service.mjs +0 -54
- package/esm2022/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.mjs +0 -52
- package/esm2022/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.mjs +0 -23
- package/esm2022/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.mjs +0 -32
- package/esm2022/foehn-recap-section/foehn-recap-section.component.mjs +0 -98
- package/esm2022/foehn-recap-section/foehn-recap-section.module.mjs +0 -20
- package/esm2022/foehn-recap-section/foehn-recap-section.type.mjs +0 -2
- package/esm2022/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.mjs +0 -50
- package/esm2022/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.mjs +0 -18
- package/esm2022/foehn-status-progress-bar/foehn-status-progress-bar.component.mjs +0 -56
- package/esm2022/foehn-status-progress-bar/foehn-status-progress-bar.module.mjs +0 -20
- package/esm2022/foehn-table/foehn-table-column-configuration.mjs +0 -3
- package/esm2022/foehn-table/foehn-table-page-change-event.mjs +0 -3
- package/esm2022/foehn-table/foehn-table.component.mjs +0 -190
- package/esm2022/foehn-table/foehn-table.module.mjs +0 -40
- package/esm2022/foehn-table/row-element.type.mjs +0 -3
- package/esm2022/foehn-table/tableSort.mjs +0 -3
- package/esm2022/foehn-upload/abstract-foehn-uploader.component.mjs +0 -242
- package/esm2022/foehn-upload/document-reference.mjs +0 -6
- package/esm2022/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.mjs +0 -116
- package/esm2022/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.mjs +0 -6
- package/esm2022/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.mjs +0 -199
- package/esm2022/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.mjs +0 -40
- package/esm2022/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.mjs +0 -250
- package/esm2022/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.mjs +0 -40
- package/esm2022/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +0 -125
- package/esm2022/foehn-upload/foehn-multi-upload/multi-upload.type.mjs +0 -6
- package/esm2022/foehn-upload/foehn-multi-upload/pending-upload.service.mjs +0 -163
- package/esm2022/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.mjs +0 -178
- package/esm2022/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.mjs +0 -44
- package/esm2022/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +0 -83
- package/esm2022/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.mjs +0 -21
- package/esm2022/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +0 -66
- package/esm2022/foehn-upload/foehn-upload-progress-bar/upload-progress.type.mjs +0 -7
- package/esm2022/foehn-upload/page-upload-limit.service.mjs +0 -80
- package/esm2022/foehn-upload/pending-upload.type.mjs +0 -3
- package/esm2022/foehn-upload/uploader.helper.mjs +0 -329
- package/esm2022/foehn-user-connected-as/foehn-user-connected-as.component.mjs +0 -21
- package/esm2022/foehn-user-connected-as/foehn-user-connected-as.module.mjs +0 -19
- package/esm2022/foehn-validation-alert-summary/foehn-validation-alert-summary.component.mjs +0 -96
- package/esm2022/foehn-validation-alert-summary/foehn-validation-alert-summary.module.mjs +0 -19
- package/esm2022/foehn-validation-alerts/foehn-validation-alerts.component.mjs +0 -29
- package/esm2022/foehn-validation-alerts/foehn-validation-alerts.module.mjs +0 -18
- package/esm2022/form-error.mjs +0 -2
- package/esm2022/form-post-response.mjs +0 -10
- package/esm2022/gesdem/gesdem-error-handler.service.mjs +0 -85
- package/esm2022/gesdem/gesdem-event.service.mjs +0 -38
- package/esm2022/gesdem/gesdem-handler.service.mjs +0 -201
- package/esm2022/gesdem/gesdem-loader.guard.mjs +0 -25
- package/esm2022/gesdem/gesdem-statut-utils.mjs +0 -25
- package/esm2022/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.mjs +0 -170
- package/esm2022/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +0 -227
- package/esm2022/gesdem-action-recovery/gesdem-action-recovery.module.mjs +0 -62
- package/esm2022/gesdem-action-recovery/gesdem-action-recovery.service.mjs +0 -97
- package/esm2022/gesdem-action-recovery/reprise-info.mjs +0 -4
- package/esm2022/gesdem-confirmation/gesdem-confirmation.component.mjs +0 -241
- package/esm2022/gesdem-confirmation/gesdem-confirmation.module.mjs +0 -36
- package/esm2022/gesdem-error/gesdem-error.component.mjs +0 -96
- package/esm2022/gesdem-error/gesdem-error.module.mjs +0 -36
- package/esm2022/global.const.mjs +0 -5
- package/esm2022/helpers/demande.helper.mjs +0 -19
- package/esm2022/helpers/object.helper.mjs +0 -124
- package/esm2022/i18n-form.mjs +0 -7
- package/esm2022/pipes/currency.pipe.mjs +0 -18
- package/esm2022/pipes/date.pipe.mjs +0 -43
- package/esm2022/pipes/formatIde.pipe.mjs +0 -22
- package/esm2022/pipes/pipes.module.mjs +0 -18
- package/esm2022/prestations-ng-core.module.mjs +0 -31
- package/esm2022/public_api.mjs +0 -288
- package/esm2022/refinf/model/address-type-light.mjs +0 -3
- package/esm2022/refinf/model/canton.mjs +0 -3
- package/esm2022/refinf/model/district.mjs +0 -3
- package/esm2022/refinf/model/municipality.mjs +0 -3
- package/esm2022/refinf/model/place-of-origin.mjs +0 -3
- package/esm2022/refinf/model/postal-locality.mjs +0 -3
- package/esm2022/sdk-appinfo/application-info.mjs +0 -22
- package/esm2022/sdk-appinfo/application-info.service.mjs +0 -146
- package/esm2022/sdk-currency/currency.helper.mjs +0 -34
- package/esm2022/sdk-date/date.helper.mjs +0 -109
- package/esm2022/sdk-dictionary/default-dictionary.mjs +0 -312
- package/esm2022/sdk-dictionary/sdk-dictionary.module.mjs +0 -16
- package/esm2022/sdk-dictionary/sdk-dictionary.pipe.mjs +0 -28
- package/esm2022/sdk-dictionary/sdk-dictionary.service.mjs +0 -122
- package/esm2022/sdk-drafts/draft.model.mjs +0 -2
- package/esm2022/sdk-drafts/drafts-container.component.mjs +0 -99
- package/esm2022/sdk-drafts/drafts.module.mjs +0 -47
- package/esm2022/sdk-drafts/drafts.service.mjs +0 -51
- package/esm2022/sdk-epayment/model/EPaymentParameters.mjs +0 -2
- package/esm2022/sdk-epayment/pending-payment/pending-payment.component.mjs +0 -24
- package/esm2022/sdk-epayment/sdk-epayment.component.mjs +0 -76
- package/esm2022/sdk-epayment/sdk-epayment.module.mjs +0 -23
- package/esm2022/sdk-epayment/sdk-epayment.service.mjs +0 -51
- package/esm2022/sdk-events-logger/sdk-event-type.mjs +0 -14
- package/esm2022/sdk-events-logger/sdk-event.mjs +0 -3
- package/esm2022/sdk-events-logger/sdk-events-logger.service.mjs +0 -43
- package/esm2022/sdk-recaptcha/grecaptcha/grecaptcha.component.mjs +0 -113
- package/esm2022/sdk-recaptcha/recaptcha.service.mjs +0 -180
- package/esm2022/sdk-recaptcha/sdk-recaptcha.component.mjs +0 -75
- package/esm2022/sdk-recaptcha/sdk-recaptcha.module.mjs +0 -19
- package/esm2022/sdk-redirect/iam-expired-interceptor.service.mjs +0 -62
- package/esm2022/sdk-redirect/redirect.component.mjs +0 -55
- package/esm2022/sdk-redirect/sdk-redirect.module.mjs +0 -19
- package/esm2022/sdk-session-info/session-info-data.mjs +0 -6
- package/esm2022/sdk-session-info/session-info-with-application.service.mjs +0 -68
- package/esm2022/sdk-session-info/session-info.service.mjs +0 -50
- package/esm2022/sdk-statistics/sdk-statistics.service.mjs +0 -74
- package/esm2022/sdk-support-alert/support-alert-container.component.mjs +0 -49
- package/esm2022/sdk-support-alert/support-alert.component.mjs +0 -32
- package/esm2022/sdk-support-alert/support-alert.model.mjs +0 -7
- package/esm2022/sdk-support-alert/support-alert.module.mjs +0 -21
- package/esm2022/sdk-support-alert/support-alert.service.mjs +0 -139
- package/esm2022/service-locator.mjs +0 -4
- package/esm2022/supported-browser.mjs +0 -2
- package/esm2022/validation/validation-handler.service.mjs +0 -44
- /package/{public_api.d.ts → public-api.d.ts} +0 -0
package/UPGRADING_V12.md
CHANGED
|
@@ -32,8 +32,8 @@ yarn upgrade
|
|
|
32
32
|
|
|
33
33
|
Then:
|
|
34
34
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
35
|
+
- remove `"aot": true,` from `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->production`
|
|
36
|
+
- in meta.service.ts, update the code related to the dictionary's observable:
|
|
37
37
|
|
|
38
38
|
```ts
|
|
39
39
|
...
|
|
@@ -43,10 +43,10 @@ this.dictionaryService.getDictionary().pipe(first()), // new code
|
|
|
43
43
|
...
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
46
|
+
- fix any compilation errors due to CLI apps compiling in `AOT mode` by default due to `Ivy`
|
|
47
|
+
- [Ivy compatibility guide](https://angular.io/guide/ivy-compatibility)
|
|
48
|
+
- fix any `tslint` errors such as `TestBed.inject` instead of `TestBed.get`
|
|
49
|
+
- fix any tests being broken due to updating `@types/jasmine`
|
|
50
50
|
|
|
51
51
|
## Deprecated Features Removed
|
|
52
52
|
|
|
@@ -54,63 +54,63 @@ The following components, attributes or methods have been removed.
|
|
|
54
54
|
|
|
55
55
|
### foehn-address component
|
|
56
56
|
|
|
57
|
-
-
|
|
57
|
+
- Removed:
|
|
58
58
|
|
|
59
|
-
-
|
|
60
|
-
-
|
|
59
|
+
- Component `foehn-address.component.ts` (selector: **foehn-address**)
|
|
60
|
+
- Model `foehn-address.type.ts` (FoehnAddress)
|
|
61
61
|
|
|
62
|
-
-
|
|
62
|
+
- Replaced by:
|
|
63
63
|
|
|
64
|
-
-
|
|
65
|
-
-
|
|
64
|
+
- Component [foehn-display-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-display-address.component.ts)
|
|
65
|
+
- Model `address.type.ts` (Address)
|
|
66
66
|
|
|
67
67
|
### foehn-upload component
|
|
68
68
|
|
|
69
|
-
-
|
|
69
|
+
- Removed:
|
|
70
70
|
|
|
71
|
-
-
|
|
72
|
-
-
|
|
71
|
+
- Component `foehn-simple-upload.component.ts` (selector: **foehn-upload**)
|
|
72
|
+
- Service `upload.service.ts` (UploadService)
|
|
73
73
|
|
|
74
|
-
-
|
|
74
|
+
- Replaced by:
|
|
75
75
|
|
|
76
|
-
-
|
|
77
|
-
-
|
|
76
|
+
- Component [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
|
|
77
|
+
- Service [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
|
|
78
78
|
|
|
79
79
|
**NB: See section [Migrating from foehn-upload to foehn-multi-upload component](https://dsi-vd.github.io/prestations-ng/upload) for more details on replacement process.**
|
|
80
80
|
|
|
81
81
|
### appInfo() from application-info service
|
|
82
82
|
|
|
83
|
-
-
|
|
83
|
+
- Removed:
|
|
84
84
|
|
|
85
|
-
-
|
|
85
|
+
- getter `appInfo()` returning `ApplicationInfo` in [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
|
|
86
86
|
|
|
87
|
-
-
|
|
87
|
+
- Replaced by:
|
|
88
88
|
|
|
89
|
-
-
|
|
89
|
+
- getter `data()` returning an `Observable<ApplicationInfo>` in [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
|
|
90
90
|
|
|
91
91
|
### isProduction() from foehn-header component
|
|
92
92
|
|
|
93
|
-
-
|
|
93
|
+
- Removed:
|
|
94
94
|
|
|
95
|
-
-
|
|
95
|
+
- public function `isProduction()` returning a `boolean` because using deleted getter `appInfo`
|
|
96
96
|
|
|
97
|
-
-
|
|
97
|
+
- Replaced by:
|
|
98
98
|
|
|
99
|
-
-
|
|
99
|
+
- public variable `isProduction` returning an `Observable<boolean>` on which you can either `subscribe` or `pipe async` in your view
|
|
100
100
|
|
|
101
101
|
### getEnvironment() from foehn-header component
|
|
102
102
|
|
|
103
|
-
-
|
|
103
|
+
- Removed:
|
|
104
104
|
|
|
105
|
-
-
|
|
105
|
+
- public function `getEnvironment()` returning a `string` because using deleted getter `appInfo`
|
|
106
106
|
|
|
107
|
-
-
|
|
107
|
+
- Replaced by:
|
|
108
108
|
|
|
109
|
-
-
|
|
109
|
+
- No replacement
|
|
110
110
|
|
|
111
111
|
### getEnvironmentLabel() from foehn-header component
|
|
112
112
|
|
|
113
|
-
-
|
|
113
|
+
- Function `getEnvironmentLabel` has changed signature and now take `ApplicationInfo` as a parameter instead of using deleted getter `appInfo` in its algorithm
|
|
114
114
|
|
|
115
115
|
## Contributing to prestations-ng
|
|
116
116
|
|
|
@@ -137,7 +137,7 @@ NB: replace `[YOUR_PROJECT_NAME]` with your project name (i.e. `skeleton`).
|
|
|
137
137
|
|
|
138
138
|
#### Make sure to:
|
|
139
139
|
|
|
140
|
-
-
|
|
140
|
+
- have `aot` parameter to `true` in `projects->[YOUR_PROJECT_NAME]->architect->build->options`
|
|
141
141
|
|
|
142
142
|
```json
|
|
143
143
|
{
|
|
@@ -155,14 +155,14 @@ NB: replace `[YOUR_PROJECT_NAME]` with your project name (i.e. `skeleton`).
|
|
|
155
155
|
}
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
-
|
|
158
|
+
- remove `"aot": true,` from `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->production`
|
|
159
159
|
|
|
160
160
|
#### Add new parameter `symlink`
|
|
161
161
|
|
|
162
162
|
In `projects->[YOUR_PROJECT_NAME]->architect->build->configurations`, add `symlink` with 2 parameters:
|
|
163
163
|
|
|
164
|
-
-
|
|
165
|
-
-
|
|
164
|
+
- `aot` parameter to `false`
|
|
165
|
+
- `tsConfig` pointing to your new tsConfig file.
|
|
166
166
|
|
|
167
167
|
```json
|
|
168
168
|
{
|
|
@@ -185,7 +185,7 @@ In `projects->[YOUR_PROJECT_NAME]->architect->build->configurations`, add `symli
|
|
|
185
185
|
|
|
186
186
|
In `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations`, add `symlink` with 1 parameter:
|
|
187
187
|
|
|
188
|
-
-
|
|
188
|
+
- `browserTarget` parameter to `false`
|
|
189
189
|
|
|
190
190
|
```json
|
|
191
191
|
{
|
package/UPGRADING_V13.md
CHANGED
|
@@ -8,8 +8,8 @@ to `^11.0.0`.
|
|
|
8
8
|
`prestations-ng` now supports Angular 11. You can follow the Angular update guide
|
|
9
9
|
at this address:
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
11
|
+
- [https://update.angular.io/?l=3&v=9.0-10.0](https://update.angular.io/?l=3&v=9.0-10.0)
|
|
12
|
+
- [https://update.angular.io/?l=3&v=10.0-11.0](https://update.angular.io/?l=3&v=10.0-11.0)
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
yarn global add @angular/cli@11
|
|
@@ -28,4 +28,4 @@ yarn upgrade
|
|
|
28
28
|
|
|
29
29
|
## Migrating to ESLint
|
|
30
30
|
|
|
31
|
-
-
|
|
31
|
+
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
package/UPGRADING_V14.md
CHANGED
|
@@ -8,7 +8,7 @@ to `^12.1.0`.
|
|
|
8
8
|
`prestations-ng` v14.5+ now supports Angular 12. You can follow the Angular update guide
|
|
9
9
|
at this address:
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- [https://update.angular.io/?l=3&v=11.0-12.0](https://update.angular.io/?l=3&v=11.0-12.0)
|
|
12
12
|
|
|
13
13
|
### When having migrated to ESLint
|
|
14
14
|
|
|
@@ -48,4 +48,4 @@ yarn upgrade
|
|
|
48
48
|
|
|
49
49
|
## Migrating to ESLint
|
|
50
50
|
|
|
51
|
-
-
|
|
51
|
+
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
package/UPGRADING_V15.md
CHANGED
|
@@ -8,7 +8,7 @@ to `^13.1.0`.
|
|
|
8
8
|
`prestations-ng` v15+ now supports Angular 13. You can follow the Angular update guide
|
|
9
9
|
at this address:
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- [https://update.angular.io/?l=3&v=12.0-13.0](https://update.angular.io/?l=3&v=12.0-13.0)
|
|
12
12
|
|
|
13
13
|
### When having migrated to ESLint
|
|
14
14
|
|
|
@@ -52,7 +52,7 @@ yarn upgrade
|
|
|
52
52
|
|
|
53
53
|
## Migrating to ESLint
|
|
54
54
|
|
|
55
|
-
-
|
|
55
|
+
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
|
56
56
|
|
|
57
57
|
## Deprecated features
|
|
58
58
|
|
|
@@ -60,13 +60,13 @@ yarn upgrade
|
|
|
60
60
|
|
|
61
61
|
Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
|
|
62
62
|
|
|
63
|
-
-
|
|
63
|
+
- removed
|
|
64
64
|
|
|
65
65
|
```html
|
|
66
66
|
<ng-content select="[date-picker-button]"></ng-content>
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
-
|
|
69
|
+
- replaced by
|
|
70
70
|
|
|
71
71
|
```html
|
|
72
72
|
<foehn-date-picker-button></foehn-date-picker-button>
|
package/UPGRADING_V16.md
CHANGED
|
@@ -42,8 +42,8 @@ Update your `package.json` to specify node engine
|
|
|
42
42
|
`prestations-ng` **v16+** now supports **Angular v15**. You can follow the Angular update guide
|
|
43
43
|
at this address:
|
|
44
44
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
45
|
+
- [https://update.angular.io/?l=3&v=13.0-14.0](https://update.angular.io/?l=3&v=13.0-14.0)
|
|
46
|
+
- [https://update.angular.io/?l=3&v=14.0-15.0](https://update.angular.io/?l=3&v=14.0-15.0)
|
|
47
47
|
|
|
48
48
|
**If you encounter the following error while doing a `yarn install`:**
|
|
49
49
|
|
|
@@ -91,18 +91,18 @@ yarn upgrade
|
|
|
91
91
|
|
|
92
92
|
### Update "package.json" file to replace tilde(~) by caret(^) or add caret(^) when missing on following dependencies to be aligned with prestations-ng library
|
|
93
93
|
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
94
|
+
- @fortawesome/angular-fontawesome
|
|
95
|
+
- @fortawesome/fontawesome-free
|
|
96
|
+
- @fortawesome/fontawesome-svg-core
|
|
97
|
+
- @fortawesome/free-regular-svg-icons
|
|
98
|
+
- @fortawesome/free-solid-svg-icons
|
|
99
|
+
- core-js
|
|
100
|
+
- dayjs
|
|
101
|
+
- iban
|
|
102
|
+
- ng-http-loader
|
|
103
|
+
- ngx-image-cropper
|
|
104
|
+
- rxjs
|
|
105
|
+
- zone.js
|
|
106
106
|
|
|
107
107
|
Then run
|
|
108
108
|
|
|
@@ -128,9 +128,9 @@ See section "CLI improvements" in angular's blog (https://blog.angular.io/angula
|
|
|
128
128
|
|
|
129
129
|
#### Remove files/folder from your project
|
|
130
130
|
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
131
|
+
- delete `/src/polyfills.ts` file (be aware that every `import ...` should be placed in `polyfills` array of `angular.json`)
|
|
132
|
+
- delete `/src/test.ts` file
|
|
133
|
+
- delete `/src/environments` folder
|
|
134
134
|
|
|
135
135
|
#### Update your `main.ts` file
|
|
136
136
|
|
|
@@ -248,8 +248,8 @@ See 'Usage note' in https://angular.io/api/common/http/HttpInterceptor
|
|
|
248
248
|
|
|
249
249
|
### Use HTTP_LOADER_FILTERED_URL in your application to filter URLs in ng-http-loader component
|
|
250
250
|
|
|
251
|
-
-
|
|
252
|
-
-
|
|
251
|
+
- `app.component.ts`: Add a public variable `HTTP_LOADER_FILTERED_URL = HTTP_LOADER_FILTERED_URL;`
|
|
252
|
+
- `app.component.html`: Use the previous variable in `[filteredUrlPatterns]` attribute of `ng-http-loader` (`<ng-http-loader [filteredUrlPatterns]="HTTP_LOADER_FILTERED_URL"></ng-http-loader>`)
|
|
253
253
|
|
|
254
254
|
### Rename your application page wrapper
|
|
255
255
|
|
|
@@ -271,8 +271,8 @@ Then delete file `front/protractor.conf.js`
|
|
|
271
271
|
|
|
272
272
|
#### Remove E2E test
|
|
273
273
|
|
|
274
|
-
-
|
|
275
|
-
-
|
|
274
|
+
- Delete folder `front/e2e`
|
|
275
|
+
- Remove `e2e/tsconfig.e2e.json` from `.eslintrc.json` file
|
|
276
276
|
|
|
277
277
|
```diff
|
|
278
278
|
{
|
|
@@ -291,7 +291,7 @@ Then delete file `front/protractor.conf.js`
|
|
|
291
291
|
}
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
-
-
|
|
294
|
+
- Remove script `"e2e": "ng e2e"` in `package.json` file
|
|
295
295
|
|
|
296
296
|
```diff
|
|
297
297
|
{
|
|
@@ -307,7 +307,7 @@ Then delete file `front/protractor.conf.js`
|
|
|
307
307
|
}
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
-
|
|
310
|
+
- Remove E2E project from `angular.json` file
|
|
311
311
|
|
|
312
312
|
```diff
|
|
313
313
|
{
|
|
@@ -388,8 +388,8 @@ def args = [
|
|
|
388
388
|
|
|
389
389
|
When using `intellij`, you can run code inspection on your project to fix manually deprecations. Two ways:
|
|
390
390
|
|
|
391
|
-
-
|
|
392
|
-
-
|
|
391
|
+
- Intellij window menu, go to: `Code > Analyze code > Run inspection by name...` (or **Ctrl+Alt+Maj+i**) and type `Deprecated symbol used`
|
|
392
|
+
- Or select your project in your project panel and `right click` on it then `Analyze > Run inspection by name...` (or **Ctrl+Alt+Maj+i**) and type `Deprecated symbol used`
|
|
393
393
|
|
|
394
394
|
#### Replacement `.toPromise()`
|
|
395
395
|
|
|
@@ -492,11 +492,11 @@ ANY_OBSERVABLE.pipe(
|
|
|
492
492
|
|
|
493
493
|
For all components extending FoehnCheckableGroupComponent such as:
|
|
494
494
|
|
|
495
|
-
-
|
|
496
|
-
-
|
|
497
|
-
-
|
|
498
|
-
-
|
|
499
|
-
-
|
|
495
|
+
- foehn-autocomplete
|
|
496
|
+
- foehn-checkbox
|
|
497
|
+
- foehn-radio
|
|
498
|
+
- foehn-select
|
|
499
|
+
- or your custom components
|
|
500
500
|
|
|
501
501
|
we have removed `@Input() allElementDisabled` to replace it by `@Input() disabled`.
|
|
502
502
|
|
|
@@ -513,9 +513,9 @@ See below exemple on our `foehn-radio` component:
|
|
|
513
513
|
|
|
514
514
|
#### Uploaders
|
|
515
515
|
|
|
516
|
-
-
|
|
517
|
-
-
|
|
518
|
-
-
|
|
516
|
+
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
|
|
517
|
+
- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
|
|
518
|
+
- remove `[overrideMaxSizeInMo]="xx"`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)
|
|
519
519
|
|
|
520
520
|
### Last but not least, check if your application is working!!!
|
|
521
521
|
|
|
@@ -697,13 +697,13 @@ see example in skeleton: https://dsigit.etat-de-vaud.ch/outils/git/projects/CYBS
|
|
|
697
697
|
|
|
698
698
|
### POM cleanup
|
|
699
699
|
|
|
700
|
-
-
|
|
700
|
+
- remove the following dependencies that are already imported in ``
|
|
701
701
|
|
|
702
|
-
-
|
|
703
|
-
-
|
|
702
|
+
- `org.mockito.mockito-core`
|
|
703
|
+
- `org.mockito.mockito-junit-jupiter`
|
|
704
704
|
|
|
705
|
-
-
|
|
706
|
-
-
|
|
705
|
+
- restore the version for `org.codehaus.mojo.exec-maven-plugin`
|
|
706
|
+
- `<version>${exec-maven-plugin.version}</version>`
|
|
707
707
|
|
|
708
708
|
### H2 usage in tests
|
|
709
709
|
|
package/UPGRADING_V17.md
CHANGED
|
@@ -18,21 +18,21 @@ We now recommend using `npm` instead of `yarn`.
|
|
|
18
18
|
|
|
19
19
|
**NB: Don't need `run` when running `npm` for https://docs.npmjs.com/cli/v10/commands**
|
|
20
20
|
|
|
21
|
-
-
|
|
21
|
+
- When using `prestations-ng` as a link, you need to run (you can do it in any case, it won't harm and like this you are sure):
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
yarn unlink @dsivd/prestations-ng
|
|
25
25
|
yarn install --force
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- Delete `yarn.lock` file and `yarn-error.log` (if you have one).
|
|
29
|
+
- You can search for `yarn` in your project and replace it by `npm run` (do not take into account `.browserslistrc` as it will be replaced).
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
find . -type f ! -name '.browserslistrc' -exec sed -i 's/yarn/npm run/g' {} +
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
-
|
|
35
|
+
- Then run:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
npm install
|
|
@@ -106,8 +106,8 @@ Update your `package.json` file to specify the node engine:
|
|
|
106
106
|
|
|
107
107
|
#### Update your jenkins files
|
|
108
108
|
|
|
109
|
-
-
|
|
110
|
-
-
|
|
109
|
+
- Add `nodeVersion: 20` to use node 20
|
|
110
|
+
- Remove any `nodeLabel` (nodeLabels are now set by `snap2Devex`/`stable2Devex`)
|
|
111
111
|
|
|
112
112
|
##### UT folder
|
|
113
113
|
|
|
@@ -209,14 +209,14 @@ ng g @dsivd/prestations-ng:foehn2-bootstrap5-migration
|
|
|
209
209
|
|
|
210
210
|
You will need to check manually your:
|
|
211
211
|
|
|
212
|
-
-
|
|
213
|
-
-
|
|
212
|
+
- Java `dictionary.properties` for any HTML styling (search for: `class=`)
|
|
213
|
+
- TypeScript (`.ts`) files for any dynamique CSS classes or tests (`.spec.ts`)
|
|
214
214
|
|
|
215
215
|
##### More information here
|
|
216
216
|
|
|
217
|
-
-
|
|
218
|
-
-
|
|
219
|
-
-
|
|
217
|
+
- https://getbootstrap.com/docs/5.0/migration/ for Bootstrap 5 migration.
|
|
218
|
+
- https://github.com/twbs/bootstrap/issues/32753 for the list of class changes in Bootstrap 5.
|
|
219
|
+
- https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md for Foehn 2 migration.
|
|
220
220
|
|
|
221
221
|
### Update ".eslintrc.json" file if your project was already migrated to ESLint
|
|
222
222
|
|
|
@@ -258,11 +258,11 @@ All these properties are now stored in Cybercache's configuration.
|
|
|
258
258
|
|
|
259
259
|
Therefore, you can remove properties related to this configuration :
|
|
260
260
|
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
264
|
-
-
|
|
265
|
-
-
|
|
261
|
+
- `recaptcha.byPassUUID`
|
|
262
|
+
- `recaptcha.proxyUrl`
|
|
263
|
+
- `recaptcha.proxyPort`
|
|
264
|
+
- `recaptcha.secretkey`
|
|
265
|
+
- `recaptcha.publickey`
|
|
266
266
|
|
|
267
267
|
Cookie storage is kept as before, therefore you can keep cookie related properties that starts with `recaptcha.cookie.YYY` in your properties.
|
|
268
268
|
|
|
@@ -270,11 +270,11 @@ Cookie storage is kept as before, therefore you can keep cookie related properti
|
|
|
270
270
|
|
|
271
271
|
If you are not using directly `GesdemConfirmationComponent` in your `app-routing.module.ts` for your `confirmation` path, you either need to:
|
|
272
272
|
|
|
273
|
-
-
|
|
273
|
+
- use `<gesdem-confirmation></gesdem-confirmation>` component in your HTML template
|
|
274
274
|
|
|
275
275
|
**OR**
|
|
276
276
|
|
|
277
|
-
-
|
|
277
|
+
- add `<foehn-feedback-notification></foehn-feedback-notification>` component at the end of your HTML template (outside your `container` if you have one))
|
|
278
278
|
|
|
279
279
|
### upgrade styles for CSP (since 17.7.0)
|
|
280
280
|
|
|
@@ -304,22 +304,22 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
|
|
|
304
304
|
If you use the `<gesdem-action-recovery-registration>` component in a page which includes some `<foehn-error-pill>` or `<foehn-menu-item>` (i.e. e-vaudtax, pocama, any form with a menu)
|
|
305
305
|
you should set `dispatchFormErrors` to `true` :
|
|
306
306
|
|
|
307
|
-
-
|
|
307
|
+
- `<gesdem-action-recovery-registration [dispatchFormErrors]="true"><gesdem-action-recovery-registration>`
|
|
308
308
|
|
|
309
309
|
Otherwise the pills wil be set to "Renseigné" after a recovery registration even if some errors remains.
|
|
310
310
|
|
|
311
311
|
### foehn-table now extends FoehnInputComponent
|
|
312
312
|
|
|
313
|
-
-
|
|
314
|
-
-
|
|
315
|
-
-
|
|
313
|
+
- use `[model]` instead of `[list]` because it is deprecated
|
|
314
|
+
- add a `[name]` attribut to your component
|
|
315
|
+
- put `FoehnTableColumnConfiguration` templates inside `<foehn-table>[HERE]</foehn-table>` when they contain components extending `FoehnInputComponent`
|
|
316
316
|
|
|
317
317
|
### Language deprecations
|
|
318
318
|
|
|
319
319
|
When using `intellij`, you can run code inspection on your project to fix manually deprecations. Two ways:
|
|
320
320
|
|
|
321
|
-
-
|
|
322
|
-
-
|
|
321
|
+
- Intellij window menu, go to: `Code > Analyze code > Run inspection by name...` (or **Ctrl+Alt+Maj+i**) and type `Deprecated symbol used`.
|
|
322
|
+
- Or select your project in your project panel and `right click` on it then `Analyze > Run inspection by name...` (or **Ctrl+Alt+Maj+i**) and type `Deprecated symbol used`.
|
|
323
323
|
|
|
324
324
|
### Last but not least, check if your application is working!!!
|
|
325
325
|
|
|
@@ -626,8 +626,8 @@ If in your BO, you used to store `postalLocalityHistoryId` in your DB to retriev
|
|
|
626
626
|
|
|
627
627
|
You can see an example of liquibase migration in `eldoradobo` :
|
|
628
628
|
|
|
629
|
-
-
|
|
630
|
-
-
|
|
629
|
+
- https://dsigit.etat-de-vaud.ch/outils/git/projects/CYBER/repos/eldorado/commits/e7ddc86edaac35d351d2c6cb0e175e3aeba40cd8
|
|
630
|
+
- https://dsigit.etat-de-vaud.ch/outils/git/projects/CYBER/repos/eldorado/commits/596b107b3ab9a630167c0a8f8a34312acd352d47
|
|
631
631
|
|
|
632
632
|
### Tag durable draft datas (since 17.6.0)
|
|
633
633
|
|
|
@@ -637,37 +637,37 @@ You should set the parameter "Effacer les draft data" to `Oui` in catprest (chec
|
|
|
637
637
|
|
|
638
638
|
⚠️ Before that you have to make sure your application does not need to get a draft data after it has been transmitted
|
|
639
639
|
|
|
640
|
-
-
|
|
641
|
-
-
|
|
640
|
+
- This could be possible if you are required to display a value from the form in your confirmation page
|
|
641
|
+
- In that case, you have to annotate this field with `@KeepAfterTransmit` in your `I18nForm`
|
|
642
642
|
|
|
643
643
|
### Use @StringLength (since 17.6.1)
|
|
644
644
|
|
|
645
|
-
-
|
|
645
|
+
- to validate a String you should now use `ch.vd.cyber.prestationsbe.validation.StringLength`
|
|
646
646
|
|
|
647
647
|
### Use catprest-configurable email-sender (since 17.7.0)
|
|
648
648
|
|
|
649
|
-
-
|
|
650
|
-
|
|
651
|
-
-
|
|
652
|
-
|
|
649
|
+
- Instead of making your application send emails from `mail.from` property, get the sender from gesdem :
|
|
650
|
+
gesDemService.getEmailSender(applicationKey)
|
|
651
|
+
- Even better (since 17.8.0), if you send a standard confirmation email, just use emailSdkService.
|
|
652
|
+
sendCyberConfirmationEmail() or sendConfirmationEmail() instead of a local EmailNotificationService
|
|
653
653
|
|
|
654
654
|
### Use @ValidAddress (since 17.9.1)
|
|
655
655
|
|
|
656
|
-
-
|
|
657
|
-
-
|
|
658
|
-
-
|
|
659
|
-
-
|
|
660
|
-
-
|
|
661
|
-
-
|
|
662
|
-
-
|
|
663
|
-
-
|
|
664
|
-
-
|
|
665
|
-
-
|
|
666
|
-
-
|
|
667
|
-
-
|
|
668
|
-
-
|
|
669
|
-
-
|
|
670
|
-
-
|
|
671
|
-
-
|
|
672
|
-
-
|
|
673
|
-
-
|
|
656
|
+
- to validate a Address you should now use `ch.vd.cyber.prestationsbe.validation.ValidAddress`
|
|
657
|
+
- See [Address page](address#all_countries_address) to synchronize your back-end annotation with your front-end component
|
|
658
|
+
- ⚠️⚠️⚠️ **ACTION REQUIRED** ⚠️⚠️⚠️
|
|
659
|
+
- When using **component as international** addresses (`isOnlySwiss = false`), you need to set this property to false in annotation
|
|
660
|
+
- ex: **@ValidAddress(isOnlySwiss = false)**
|
|
661
|
+
- Annotation members:
|
|
662
|
+
- boolean **isOnlySwiss()** default **true**
|
|
663
|
+
- boolean **countryRequired()** default **true**
|
|
664
|
+
- boolean **swissNpaLocalityRequired()** default **true**
|
|
665
|
+
- boolean **streetRequired()** default **false**
|
|
666
|
+
- boolean **streetNumberRequired()** default **false**
|
|
667
|
+
- boolean **foreignZipCodeRequired()** default **true**
|
|
668
|
+
- boolean **foreignLocalityRequired()** default **true**
|
|
669
|
+
- boolean **foreignStreetRequired()** default **false**
|
|
670
|
+
- boolean **foreignStreetNumberRequired()** default **false**
|
|
671
|
+
- boolean **postOfficeBoxTextRequired()** default **false**
|
|
672
|
+
- boolean **addressLine1Required()** default **false**
|
|
673
|
+
- boolean **addressLine2Required()** default **false**
|