@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/CONTRIBUTING.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Prerequisite
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
5
|
+
- Node 20.11+
|
|
6
|
+
- npm 10.2+
|
|
7
|
+
- Chrome or Chromium
|
|
8
|
+
- G++
|
|
9
|
+
- The variable `CHROMIUM_BIN` set in your environment
|
|
10
10
|
|
|
11
11
|
If you're using bashrc.dev.pee, the variable `CHROMIUM_BIN` is already set to `~/slave-apps/chromium-headless-64/chrome`
|
|
12
12
|
|
|
@@ -33,17 +33,17 @@ result.
|
|
|
33
33
|
|
|
34
34
|
### In **prestations-ng**
|
|
35
35
|
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
36
|
+
- if it is the first time, execute `npm install` then `npm run build:lib` (at root level)
|
|
37
|
+
- `cd dist/prestations-ng && yarn link` (it's critical to link the content of `dist/prestations-ng`, not the root)
|
|
38
|
+
- `cd ../.. && npm run build:lib:dev` (at root level)
|
|
39
39
|
|
|
40
40
|
`build:lib:dev` will use a feature of the Angular CLI: `--watch`. For more information on `--watch`, refer to the [official documentation](https://github.com/angular/angular-cli/blob/master/docs/documentation/stories/create-library.md#why-do-i-need-to-build-the-library-everytime-i-make-changes).
|
|
41
41
|
|
|
42
42
|
### In the prestation
|
|
43
43
|
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
44
|
+
- `cd front`
|
|
45
|
+
- `yarn link @dsivd/prestations-ng`
|
|
46
|
+
- `npm start` (only when `npm run build:lib:dev` in `prestations-ng` has started)
|
|
47
47
|
|
|
48
48
|
Now if you change something in `prestations-ng`, the CLI of the prestation will hot swap the missing pieces and reload the page.
|
|
49
49
|
|
|
@@ -62,8 +62,8 @@ of `prestations-ng`.
|
|
|
62
62
|
|
|
63
63
|
### Tips
|
|
64
64
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
65
|
+
- Add logic into `utility` folder so you can reuse them in `ng-add` and `ng-update`.
|
|
66
|
+
- Create a proper schematic such as [update-karma-config](projects/prestations-ng/schematics/update-karma-config/index.ts) to be able to test it into a project when the library is linked.
|
|
67
67
|
|
|
68
68
|
### Testing
|
|
69
69
|
|
|
@@ -71,16 +71,16 @@ run `npm run test:schematics` (at root level).
|
|
|
71
71
|
|
|
72
72
|
### Testing into a project such as **skeleton**
|
|
73
73
|
|
|
74
|
-
-
|
|
74
|
+
- **In prestations-ng**:
|
|
75
75
|
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
76
|
+
- if it is the first time, execute `npm install` then `npm run build:lib` (at root level)
|
|
77
|
+
- `cd dist/prestations-ng && npm link` (it's critical to link the content of `dist/prestations-ng`, not the root)
|
|
78
|
+
- `npm run build:lib:dev` (at root level)
|
|
79
79
|
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
80
|
+
- **In project**:
|
|
81
|
+
- `cd front`
|
|
82
|
+
- `npm link @dsivd/prestations-ng` (`npm unlink @dsivd/prestations-ng` to remove link)
|
|
83
|
+
- `ng g @dsivd/prestations-ng:[YOUR_SCHEMATIC]` (i.e. `ng g @dsivd/prestations-ng:ng-add` or `ng g @dsivd/prestations-ng:update-karma-config` or `ng g @dsivd/prestations-ng:replace-browsers-list`)
|
|
84
84
|
|
|
85
85
|
In your project, you can test any schematic added into [collection.json](projects/prestations-ng/schematics/collection.json).
|
|
86
86
|
If you want to test `ng-update`, you will need to release the library under a beta version and then update your version of prestations-ng.
|
|
@@ -93,9 +93,9 @@ In case you're adding or modifying a `*.module.ts`, please update [MODULES.md](M
|
|
|
93
93
|
|
|
94
94
|
## Adding an icon
|
|
95
95
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
96
|
+
- Create a `.ts` and `.html` similar to `foehn-icon-lock.component`, and replace the name of the icon accordingly
|
|
97
|
+
- Add a `title` for accessibility
|
|
98
|
+
- Import and export the new `*.component.ts` in [foehn-icons.module.ts](projects/prestations-ng/src/foehn-icons/foehn-icons.module.ts)
|
|
99
99
|
|
|
100
100
|
## Notes about linting, formatting and pre-commit hooks
|
|
101
101
|
|
|
@@ -103,9 +103,9 @@ This project uses a set of scripts to lint and format the code, along with pre-c
|
|
|
103
103
|
|
|
104
104
|
Important scripts are :
|
|
105
105
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
106
|
+
- `npm run lint` : run ESLint and Prettier on all files
|
|
107
|
+
- `npm run format`: run ESLint and Prettier on all files and fix errors automatically
|
|
108
|
+
- `npm run validate`: clean and run all tests
|
|
109
109
|
|
|
110
110
|
**Husky** is used as a pre-commit hook to automatically output linting and formatting errors for staged files before committing.
|
|
111
111
|
In the end, this utilitary calls `npm run lint-staged` which you can also call yourself of course. To have this pre-commit hook,
|
|
@@ -114,13 +114,13 @@ use the correct node version in the settings, otherwise it might fail. Same thin
|
|
|
114
114
|
|
|
115
115
|
## Before committing
|
|
116
116
|
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
117
|
+
- **Make sure you have installed pre commit hook by running :** `npm run huskyInstall`
|
|
118
|
+
- Remove unnecessary `console.log`
|
|
119
|
+
- Update [CHANGELOG.md](CHANGELOG.md)
|
|
120
|
+
- Have it up to date with `npm install`
|
|
121
|
+
- If you want to autofix lint/format errors in your code : `npm run format`
|
|
122
|
+
- Run all tests `npm run validate`
|
|
123
|
+
- Ensure the commit message contains a Jira reference
|
|
124
124
|
|
|
125
125
|
> On commit, Husky will run ESLint and Prettier on all changed files. If you still want to run both on all files, please read the sections above.
|
|
126
126
|
|
|
@@ -141,23 +141,23 @@ Please use the dedicated Jenkins build:
|
|
|
141
141
|
|
|
142
142
|
**Then**
|
|
143
143
|
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
144
|
+
- Choose [Lancer un build avec des paramètres](https://validation.portail.etat-de-vaud.ch/outils/jenkinsdgnsi/view/METIMT/job/AAC_Release_Prestakit//build?delay=0sec) in the left menu
|
|
145
|
+
- Uncheck **RELEASE_BE** and check **RELEASE_NG** (if not already checked)
|
|
146
|
+
- Choose **origin/master** as **SOURCE_BRANCHE**
|
|
147
|
+
- Add version number in **TARGET_VERSION** (i.e.: 1.2.3) but before check in tags list if your version doesn't already exist
|
|
148
|
+
- Nothing in **NEXT_VERSION**
|
|
149
|
+
- Choose **STABLE** in **NPM_TAG** when certain that your release is stable otherwise choose **NEXT** which will publish a **v1.2.3-BETA** on NPM
|
|
150
|
+
- Check **RUN_TEST** if you wish to validate the library's test (can take a while)
|
|
151
151
|
|
|
152
152
|
Alternatively, you can manually publish the package. Although this method is not recommended.
|
|
153
153
|
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
154
|
+
- Ensure you can push to the npm registry: `npm adduser --registry=https://registry.npmjs.org --scope=@dsivd`
|
|
155
|
+
- Update the version number in `package.json` either manually or with `npm version`
|
|
156
|
+
- Commit and tag the version change
|
|
157
|
+
- Package a new version of the library with `npm package`
|
|
158
|
+
- Publish the package:
|
|
159
|
+
- `npm run publish:stable` for stable version (released to everybody)
|
|
160
|
+
- `npm run publish:next` for next version (development only)
|
|
161
161
|
|
|
162
162
|
## Maintaining branches (LTS)
|
|
163
163
|
|
|
@@ -169,27 +169,27 @@ Let's assume we want to add a fix in the version `v10.16.10`.
|
|
|
169
169
|
|
|
170
170
|
**If `release/v10` doesn't exist**
|
|
171
171
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
172
|
+
- Checkout the latest `v10` tag of the version to fix: `git checkout tags/v10.xx.xx -b release/v10` (replace xx.xx by the latest version)
|
|
173
|
+
- Push the branch directly to the remote : `git push origin release/v10:release/v10`
|
|
174
174
|
|
|
175
175
|
**Then**
|
|
176
176
|
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
-
|
|
177
|
+
- Checkout the target release branch: `git checkout origin/release/v10 -b release/v10`
|
|
178
|
+
- Create a new local branch for your fix: `git checkout -b My_Fix_Branch`
|
|
179
|
+
- Develop and test your fix, then commit it
|
|
180
|
+
- Push your local branch to a remote branch: `git push origin My_Fix_Branch:bugfix/My_Fix_Branch`
|
|
181
|
+
- Create a pull request from `bugfix/My_Fix_Branch` to `release/v10`
|
|
182
|
+
- Merge the pull request
|
|
183
|
+
- Then go on [Jenkins](https://validation.portail.etat-de-vaud.ch/outils/jenkins-pee/job/AAC_Release_Prestakit/) for appropriated build
|
|
184
|
+
- Choose [Lancer un build avec des paramètres](https://validation.portail.etat-de-vaud.ch/outils/jenkins-pee/job/AAC_Release_Prestakit/build?delay=0sec) in the left menu
|
|
185
|
+
- Uncheck **RELEASE_BE** and check **RELEASE_NG** (if not already checked)
|
|
186
|
+
- Choose **origin/release/v10** as **SOURCE_BRANCHE**
|
|
187
|
+
- Add version number in **TARGET_VERSION** (i.e.: 10.16.11) but before check in tags list if your version doesn't already exist
|
|
188
|
+
- Nothing in **NEXT_VERSION**
|
|
189
|
+
- Choose **LTS** in **NPM_TAG**
|
|
190
|
+
- Check **RUN_TEST** if you wish to validate the library's test (can take a while)
|
|
191
|
+
- Merge `release/v10` to `master` so we won't loose this fix
|
|
192
|
+
- Release `master` as per README.md instructions
|
|
193
193
|
|
|
194
194
|
## Improving Compilation Performance
|
|
195
195
|
|
|
@@ -26,8 +26,8 @@ git add .
|
|
|
26
26
|
|
|
27
27
|
In your `angular.json` file:
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- Update the lint `builder` for other projects such as `skeleton-e2e` for example and invoke `@angular-eslint/builder:lint` instead of tslint builder.
|
|
30
|
+
- Then replace `tsConfig` and `exclude` options with `lintFilePatterns` option and add path to your .html and .ts files
|
|
31
31
|
|
|
32
32
|
Before:
|
|
33
33
|
|
|
@@ -92,7 +92,6 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
92
92
|
'/karma.conf.js',
|
|
93
93
|
'/.eslintrc.json',
|
|
94
94
|
'/tsconfig*.json',
|
|
95
|
-
'/src/tsconfig*.json',
|
|
96
95
|
'/src/main.ts',
|
|
97
96
|
'/src/typings.d.ts'
|
|
98
97
|
],
|
|
@@ -114,13 +113,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
114
113
|
project: ['tsconfig.json'],
|
|
115
114
|
createDefaultProgram: true
|
|
116
115
|
},
|
|
117
|
-
plugins: [
|
|
118
|
-
'import',
|
|
119
|
-
'jsdoc',
|
|
120
|
-
'rxjs',
|
|
121
|
-
'rxjs-angular',
|
|
122
|
-
'simple-import-sort'
|
|
123
|
-
],
|
|
116
|
+
plugins: ['import', 'rxjs', 'rxjs-angular', 'simple-import-sort'],
|
|
124
117
|
extends: [
|
|
125
118
|
'plugin:@angular-eslint/recommended',
|
|
126
119
|
'plugin:@angular-eslint/template/process-inline-templates',
|
|
@@ -129,8 +122,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
129
122
|
'plugin:import/recommended',
|
|
130
123
|
'plugin:import/errors',
|
|
131
124
|
'plugin:import/warnings',
|
|
132
|
-
'plugin:import/typescript'
|
|
133
|
-
'plugin:jsdoc/recommended'
|
|
125
|
+
'plugin:import/typescript'
|
|
134
126
|
],
|
|
135
127
|
rules: {
|
|
136
128
|
/* @angular-eslint */
|
|
@@ -355,13 +347,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
355
347
|
'simple-import-sort/exports': 'error',
|
|
356
348
|
'import/first': 'error',
|
|
357
349
|
'import/newline-after-import': 'error',
|
|
358
|
-
'import/no-duplicates': 'error'
|
|
359
|
-
/* @jsdoc */
|
|
360
|
-
'jsdoc/check-alignment': 'error',
|
|
361
|
-
'jsdoc/check-indentation': 'error',
|
|
362
|
-
'jsdoc/no-types': 'error',
|
|
363
|
-
'jsdoc/require-param-type': 'off',
|
|
364
|
-
'jsdoc/require-returns-type': 'off'
|
|
350
|
+
'import/no-duplicates': 'error'
|
|
365
351
|
}
|
|
366
352
|
},
|
|
367
353
|
// HTML
|
|
@@ -384,7 +370,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
384
370
|
{
|
|
385
371
|
files: ['src/**/*.spec.ts', 'src/**/*.d.ts'],
|
|
386
372
|
parserOptions: {
|
|
387
|
-
project: '
|
|
373
|
+
project: 'tsconfig.spec.json'
|
|
388
374
|
},
|
|
389
375
|
extends: ['plugin:jasmine/recommended'],
|
|
390
376
|
plugins: ['jasmine'],
|
|
@@ -429,33 +415,33 @@ When you are done with your migration and happy with the result, you can delete
|
|
|
429
415
|
|
|
430
416
|
**tslint.json**
|
|
431
417
|
|
|
432
|
-
-
|
|
418
|
+
- Remove file because replaced by `.eslintrc.json`
|
|
433
419
|
|
|
434
420
|
**package.json**
|
|
435
421
|
|
|
436
|
-
-
|
|
422
|
+
- removed `tslint`, `codelyzer` and `@angular-eslint/schematics` dependencies
|
|
437
423
|
|
|
438
424
|
**.editorconfig**
|
|
439
425
|
|
|
440
|
-
-
|
|
441
|
-
-
|
|
442
|
-
-
|
|
426
|
+
- replace `tslint.json` with `.eslintrc.json`
|
|
427
|
+
- replace `.angular-cli.json` with `angular.json` (**if needed**)
|
|
428
|
+
- remove `indent_style = space` (**if redundant**)
|
|
443
429
|
|
|
444
430
|
## Configurating IntelliJ IDEA to use ESLint as your JavaScript linter
|
|
445
431
|
|
|
446
|
-
-
|
|
432
|
+
- To configure ESLint automatically in the current project, open "_File -> Settings..._" (`Ctrl+Alt+S`) and either:
|
|
447
433
|
|
|
448
|
-
-
|
|
434
|
+
- Search for `ESLint`
|
|
449
435
|
|
|
450
436
|
or
|
|
451
437
|
|
|
452
|
-
-
|
|
438
|
+
- Navigate to "_Languages & Frameworks -> Code Quality Tools -> ESLint_"
|
|
453
439
|
|
|
454
440
|
and check radio box "_Automatic ESLint configuration_"
|
|
455
441
|
|
|
456
|
-
-
|
|
442
|
+
- To configure ESLint automatically in all new projects, open "_File -> Other Settings -> Setting for New Projects..._" and follow step just above when configuration in a current project.
|
|
457
443
|
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
444
|
+
- Fix problems automatically on save (**requires Intellij 2020.1 or higher**): See:
|
|
445
|
+
- [IntelliJ IDEA 2020.1](https://www.jetbrains.com/help/idea/2020.1/eslint.html#ws_js_eslint_activate) and read section "_Detecting and fixing problems on save_"
|
|
446
|
+
- [IntelliJ IDEA 2020.2](https://www.jetbrains.com/help/idea/2020.2/eslint.html#ws_js_eslint_activate) and read section "_Activating and configuring ESLint in IntelliJ IDEA_" bullet point 6
|
|
447
|
+
- [IntelliJ IDEA 2020.3](https://www.jetbrains.com/help/idea/2020.3/eslint.html#ws_js_eslint_activate) and read section "_Fix problems automatically on save_"
|