@dsivd/prestations-ng 15.5.13 → 16.0.0-beta2
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 +666 -1
- package/CONTRIBUTING.md +32 -1
- package/ESLINT_MIGRATION_GUIDE.md +35 -7
- package/README.md +6 -0
- package/UPGRADING_V12.md +0 -15
- package/UPGRADING_V13.md +0 -15
- package/UPGRADING_V14.md +8 -26
- package/UPGRADING_V15.md +113 -0
- package/UPGRADING_V16.md +56 -0
- package/abstract-page-component.d.ts +8 -8
- package/directives/currency-formatter.directive.d.ts +4 -1
- package/directives/iban-formatter.directive.d.ts +1 -1
- package/directives/ide-formatter.directive.d.ts +1 -1
- package/directives/ndc-formatter.directive.d.ts +1 -1
- package/dsivd-prestations-ng-v16.0.0-beta2.tgz +0 -0
- package/esm2020/abstract-page-component.mjs +223 -0
- package/esm2020/directives/currency-formatter.directive.mjs +143 -0
- package/{esm2015/directives/formatter.module.js → esm2020/directives/formatter.module.mjs} +8 -8
- package/{esm2015/directives/iban-formatter.directive.js → esm2020/directives/iban-formatter.directive.mjs} +4 -4
- package/{esm2015/directives/ide-formatter.directive.js → esm2020/directives/ide-formatter.directive.mjs} +4 -4
- package/{esm2015/directives/ndc-formatter.directive.js → esm2020/directives/ndc-formatter.directive.mjs} +4 -4
- package/{esm2015/dsivd-prestations-ng.js → esm2020/dsivd-prestations-ng.mjs} +0 -0
- package/{esm2015/foehn-address/address.type.js → esm2020/foehn-address/address.type.mjs} +1 -1
- package/esm2020/foehn-address/foehn-address.module.mjs +55 -0
- package/{esm2015/foehn-address/foehn-display-address.component.js → esm2020/foehn-address/foehn-display-address.component.mjs} +5 -9
- package/esm2020/foehn-address/foehn-input-address.component.mjs +406 -0
- package/esm2020/foehn-address/foehn-input-foreign-locality.component.mjs +66 -0
- package/esm2020/foehn-address/foehn-input-foreign-street.component.mjs +55 -0
- package/esm2020/foehn-agenda/calendar.type.mjs +3 -0
- package/esm2020/foehn-agenda/current-week.type.mjs +4 -0
- package/esm2020/foehn-agenda/day-slots.type.mjs +3 -0
- package/esm2020/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.mjs +74 -0
- package/esm2020/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.mjs +242 -0
- package/esm2020/foehn-agenda/foehn-agenda.component.mjs +95 -0
- package/esm2020/foehn-agenda/foehn-agenda.module.mjs +62 -0
- package/esm2020/foehn-agenda/pagination-week.type.mjs +3 -0
- package/esm2020/foehn-agenda/selected-slot.type.mjs +3 -0
- package/esm2020/foehn-autocomplete/foehn-autocomplete.component.mjs +608 -0
- package/esm2020/foehn-autocomplete/foehn-autocomplete.module.mjs +40 -0
- package/esm2020/foehn-boolean/foehn-boolean-checkbox.component.mjs +28 -0
- package/esm2020/foehn-boolean/foehn-boolean-radio.component.mjs +40 -0
- package/esm2020/foehn-boolean/foehn-boolean.module.mjs +33 -0
- package/esm2020/foehn-breadcrumb/breadcrumb-event.service.mjs +181 -0
- package/{esm2015/foehn-breadcrumb/breadcrumb.js → esm2020/foehn-breadcrumb/breadcrumb.mjs} +0 -0
- package/esm2020/foehn-breadcrumb/foehn-breadcrumb.component.mjs +80 -0
- package/esm2020/foehn-breadcrumb/foehn-breadcrumb.module.mjs +19 -0
- package/esm2020/foehn-checkables/foehn-checkable-group.component.mjs +298 -0
- package/esm2020/foehn-checkables/foehn-checkables.module.mjs +68 -0
- package/esm2020/foehn-checkables/foehn-checkbox.component.mjs +37 -0
- package/esm2020/foehn-checkables/foehn-radio.component.mjs +64 -0
- package/esm2020/foehn-checkables/foehn-select.component.mjs +53 -0
- package/{esm2015/foehn-checkables/form-select-option-group.js → esm2020/foehn-checkables/form-select-option-group.mjs} +0 -0
- package/{esm2015/foehn-checkables/form-select-option.js → esm2020/foehn-checkables/form-select-option.mjs} +0 -0
- package/{esm2015/foehn-confirm-modal/foehn-confirm-modal-content.js → esm2020/foehn-confirm-modal/foehn-confirm-modal-content.mjs} +1 -1
- package/esm2020/foehn-confirm-modal/foehn-confirm-modal.component.mjs +40 -0
- package/esm2020/foehn-confirm-modal/foehn-confirm-modal.module.mjs +19 -0
- package/{esm2015/foehn-confirm-modal/foehn-confirm-modal.service.js → esm2020/foehn-confirm-modal/foehn-confirm-modal.service.mjs} +4 -4
- package/esm2020/foehn-date-picker/date-picker-navigation.helper.mjs +167 -0
- package/esm2020/foehn-date-picker/date-picker.helper.mjs +132 -0
- package/{esm2015/foehn-date-picker/day-month.type.js → esm2020/foehn-date-picker/day-month.type.mjs} +0 -0
- package/{esm2015/foehn-date-picker/focused-day.type.js → esm2020/foehn-date-picker/focused-day.type.mjs} +0 -0
- package/esm2020/foehn-date-picker/foehn-date-picker.component.mjs +389 -0
- package/esm2020/foehn-date-picker/foehn-date-picker.module.mjs +40 -0
- package/{esm2015/foehn-date-picker/month-year.type.js → esm2020/foehn-date-picker/month-year.type.mjs} +0 -0
- package/esm2020/foehn-date-picker-button/foehn-date-picker-button.component.mjs +97 -0
- package/esm2020/foehn-date-picker-button/foehn-date-picker-button.module.mjs +36 -0
- package/esm2020/foehn-debug-summary/foehn-debug-summary.component.mjs +67 -0
- package/{esm2015/foehn-debug-summary/foehn-debug-summary.component.module.js → esm2020/foehn-debug-summary/foehn-debug-summary.component.module.mjs} +7 -7
- package/esm2020/foehn-decision-electronique/foehn-decision-electronique.component.mjs +37 -0
- package/esm2020/foehn-decision-electronique/foehn-decision-electronique.module.mjs +32 -0
- package/esm2020/foehn-footer/foehn-footer.component.mjs +130 -0
- package/{esm2015/foehn-footer/foehn-footer.module.js → esm2020/foehn-footer/foehn-footer.module.mjs} +6 -6
- package/{esm2015/foehn-footer/footer-link.type.js → esm2020/foehn-footer/footer-link.type.mjs} +0 -0
- package/esm2020/foehn-form/foehn-form.component.mjs +135 -0
- package/esm2020/foehn-form/foehn-form.module.mjs +32 -0
- package/esm2020/foehn-form/register-ng-model.service.mjs +23 -0
- package/esm2020/foehn-growl/foehn-growl.component.mjs +44 -0
- package/{esm2015/foehn-growl/foehn-growl.module.js → esm2020/foehn-growl/foehn-growl.module.mjs} +6 -6
- package/{esm2015/foehn-growl/growl-broker.service.js → esm2020/foehn-growl/growl-broker.service.mjs} +5 -5
- package/{esm2015/foehn-growl/growl-message.js → esm2020/foehn-growl/growl-message.mjs} +1 -1
- package/{esm2015/foehn-growl/growl-types.js → esm2020/foehn-growl/growl-types.mjs} +0 -0
- package/esm2020/foehn-header/foehn-header.component.mjs +68 -0
- package/esm2020/foehn-header/foehn-header.module.mjs +21 -0
- package/{esm2015/foehn-header/foehn-skip-link.component.js → esm2020/foehn-header/foehn-skip-link.component.mjs} +5 -8
- package/esm2020/foehn-help-modal/foehn-help-modal.component.mjs +44 -0
- package/esm2020/foehn-help-modal/foehn-help-modal.module.mjs +20 -0
- package/esm2020/foehn-help-modal/foehn-help-modal.type.mjs +2 -0
- package/{esm2015/foehn-icons/abstract-icon-component.js → esm2020/foehn-icons/abstract-icon-component.mjs} +5 -5
- package/esm2020/foehn-icons/foehn-icon-calendar.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-check-square-o.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-check.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-chevron-down.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-chevron-left.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-chevron-right.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-chevron-up.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-clock.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-comment-dots.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-edit.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-external-link-alt.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-file-pdf.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-info-circle.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-lock.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-map-marker.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-minus-circle.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-plus-circle.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-plus-square.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-search.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-times.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-trash-alt.component.mjs +19 -0
- package/esm2020/foehn-icons/foehn-icon-unlock-alt.component.mjs +19 -0
- package/{esm2015/foehn-icons/foehn-icons.module.js → esm2020/foehn-icons/foehn-icons.module.mjs} +20 -20
- package/esm2020/foehn-input/foehn-input-email.component.mjs +59 -0
- package/esm2020/foehn-input/foehn-input-hidden.component.mjs +55 -0
- package/esm2020/foehn-input/foehn-input-number.component.mjs +276 -0
- package/esm2020/foehn-input/foehn-input-password.component.mjs +52 -0
- package/esm2020/foehn-input/foehn-input-phone.component.mjs +92 -0
- package/{esm2015/foehn-input/foehn-input-string.component.js → esm2020/foehn-input/foehn-input-string.component.mjs} +5 -5
- package/esm2020/foehn-input/foehn-input-text.component.mjs +76 -0
- package/esm2020/foehn-input/foehn-input-textarea.component.mjs +109 -0
- package/esm2020/foehn-input/foehn-input.component.mjs +390 -0
- package/esm2020/foehn-input/foehn-input.module.mjs +93 -0
- package/{esm2015/foehn-input/pattern.const.js → esm2020/foehn-input/pattern.const.mjs} +0 -0
- package/esm2020/foehn-input-date/foehn-input-date.component.mjs +118 -0
- package/esm2020/foehn-input-date-time/foehn-input-date-time.component.mjs +143 -0
- package/esm2020/foehn-input-time/foehn-input-time.component.mjs +74 -0
- package/esm2020/foehn-list/foehn-list.component.mjs +128 -0
- package/esm2020/foehn-list/foehn-list.module.mjs +19 -0
- package/{esm2015/foehn-list/page-change-event.js → esm2020/foehn-list/page-change-event.mjs} +0 -0
- package/esm2020/foehn-menu-prestation/abstract-list-item-detail-page.component.mjs +122 -0
- package/{esm2015/foehn-menu-prestation/abstract-menu-page.component.js → esm2020/foehn-menu-prestation/abstract-menu-page.component.mjs} +4 -4
- package/{esm2015/foehn-menu-prestation/abstract-page-from-menu.component.js → esm2020/foehn-menu-prestation/abstract-page-from-menu.component.mjs} +4 -4
- package/esm2020/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.mjs +23 -0
- package/{esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.js → esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.mjs} +0 -0
- package/{esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-item.js → esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-item.mjs} +0 -0
- package/esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.mjs +71 -0
- package/esm2020/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.mjs +35 -0
- package/esm2020/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.mjs +51 -0
- package/esm2020/foehn-menu-prestation/foehn-menu-prestation.module.mjs +59 -0
- package/{esm2015/foehn-misc/foehn-abbr.component.js → esm2020/foehn-misc/foehn-abbr.component.mjs} +5 -9
- package/{esm2015/foehn-misc/foehn-misc.module.js → esm2020/foehn-misc/foehn-misc.module.mjs} +5 -5
- package/esm2020/foehn-modal/foehn-modal.component.mjs +94 -0
- package/esm2020/foehn-modal/foehn-modal.module.mjs +21 -0
- package/esm2020/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.mjs +268 -0
- package/esm2020/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.mjs +40 -0
- package/esm2020/foehn-nav13/foehn-input-nav13.component.mjs +114 -0
- package/esm2020/foehn-nav13/foehn-input-nav13.module.mjs +32 -0
- package/esm2020/foehn-navigation/foehn-navigation.component.mjs +94 -0
- package/esm2020/foehn-navigation/foehn-navigation.module.mjs +32 -0
- package/esm2020/foehn-navigation/foehn-navigation.service.mjs +303 -0
- package/{esm2015/foehn-notfound/foehn-notfound.component.js → esm2020/foehn-notfound/foehn-notfound.component.mjs} +7 -10
- package/esm2020/foehn-notfound/foehn-notfound.module.mjs +20 -0
- package/{esm2015/foehn-page/foehn-page-counter.component.js → esm2020/foehn-page/foehn-page-counter.component.mjs} +5 -8
- package/esm2020/foehn-page/foehn-page-modal.component.mjs +53 -0
- package/{esm2015/foehn-page/foehn-page-modal.service.js → esm2020/foehn-page/foehn-page-modal.service.mjs} +4 -4
- package/esm2020/foehn-page/foehn-page.component.mjs +218 -0
- package/esm2020/foehn-page/foehn-page.module.mjs +78 -0
- package/{esm2015/foehn-page/foehn-page.service.js → esm2020/foehn-page/foehn-page.service.mjs} +4 -4
- package/esm2020/foehn-recap-section/foehn-recap-section.component.mjs +88 -0
- package/esm2020/foehn-recap-section/foehn-recap-section.module.mjs +20 -0
- package/{esm2015/foehn-recap-section/foehn-recap-section.type.js → esm2020/foehn-recap-section/foehn-recap-section.type.mjs} +0 -0
- package/{esm2015/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.js → esm2020/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.mjs} +5 -9
- package/{esm2015/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.js → esm2020/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.mjs} +6 -6
- package/esm2020/foehn-status-progress-bar/foehn-status-progress-bar.component.mjs +56 -0
- package/esm2020/foehn-status-progress-bar/foehn-status-progress-bar.module.mjs +20 -0
- package/esm2020/foehn-table/foehn-table-column-configuration.mjs +3 -0
- package/esm2020/foehn-table/foehn-table-page-change-event.mjs +3 -0
- package/esm2020/foehn-table/foehn-table.component.mjs +148 -0
- package/esm2020/foehn-table/foehn-table.module.mjs +32 -0
- package/esm2020/foehn-table/tableSort.mjs +3 -0
- package/esm2020/foehn-upload/abstract-foehn-uploader.component.mjs +192 -0
- package/{esm2015/foehn-upload/document-reference.js → esm2020/foehn-upload/document-reference.mjs} +0 -0
- package/esm2020/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.mjs +71 -0
- package/{esm2015/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.js → esm2020/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.mjs} +0 -0
- package/esm2020/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.mjs +174 -0
- package/esm2020/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.mjs +40 -0
- package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.mjs +224 -0
- package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.mjs +40 -0
- package/esm2020/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +83 -0
- package/{esm2015/foehn-upload/foehn-multi-upload/multi-upload.type.js → esm2020/foehn-upload/foehn-multi-upload/multi-upload.type.mjs} +0 -0
- package/esm2020/foehn-upload/foehn-multi-upload/pending-upload.service.mjs +158 -0
- package/esm2020/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.mjs +202 -0
- package/esm2020/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.mjs +44 -0
- package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +75 -0
- package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.mjs +21 -0
- package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +62 -0
- package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.type.mjs +3 -0
- package/{esm2015/foehn-upload/pending-upload.type.js → esm2020/foehn-upload/pending-upload.type.mjs} +1 -1
- package/esm2020/foehn-upload/uploader.helper.mjs +327 -0
- package/{esm2015/foehn-user-connected-as/foehn-user-connected-as.component.js → esm2020/foehn-user-connected-as/foehn-user-connected-as.component.mjs} +5 -8
- package/{esm2015/foehn-user-connected-as/foehn-user-connected-as.module.js → esm2020/foehn-user-connected-as/foehn-user-connected-as.module.mjs} +6 -6
- package/esm2020/foehn-validation-alert-summary/foehn-validation-alert-summary.component.mjs +96 -0
- package/esm2020/foehn-validation-alert-summary/foehn-validation-alert-summary.module.mjs +19 -0
- package/esm2020/foehn-validation-alerts/foehn-validation-alerts.component.mjs +29 -0
- package/{esm2015/foehn-validation-alerts/foehn-validation-alerts.module.js → esm2020/foehn-validation-alerts/foehn-validation-alerts.module.mjs} +6 -6
- package/esm2020/form-error.mjs +2 -0
- package/esm2020/form-post-response.mjs +10 -0
- package/{esm2015/gesdem/gesdem-error-handler.service.js → esm2020/gesdem/gesdem-error-handler.service.mjs} +4 -4
- package/esm2020/gesdem/gesdem-event.service.mjs +38 -0
- package/esm2020/gesdem/gesdem-handler.service.mjs +160 -0
- package/esm2020/gesdem/gesdem-loader.guard.mjs +41 -0
- package/{esm2015/gesdem/gesdem-statut-utils.js → esm2020/gesdem/gesdem-statut-utils.mjs} +0 -0
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.mjs +101 -0
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +130 -0
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery.module.mjs +50 -0
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery.service.mjs +82 -0
- package/{esm2015/gesdem-action-recovery/reprise-info.js → esm2020/gesdem-action-recovery/reprise-info.mjs} +0 -0
- package/esm2020/gesdem-confirmation/gesdem-confirmation.component.mjs +201 -0
- package/esm2020/gesdem-confirmation/gesdem-confirmation.module.mjs +32 -0
- package/esm2020/gesdem-error/gesdem-error.component.mjs +87 -0
- package/esm2020/gesdem-error/gesdem-error.module.mjs +36 -0
- package/esm2020/global.const.mjs +5 -0
- package/esm2020/helpers/object.helper.mjs +89 -0
- package/{esm2015/i18n-form.js → esm2020/i18n-form.mjs} +0 -0
- package/esm2020/index.mjs +263 -0
- package/{esm2015/pipes/currency.pipe.js → esm2020/pipes/currency.pipe.mjs} +4 -4
- package/{esm2015/pipes/date.pipe.js → esm2020/pipes/date.pipe.mjs} +4 -4
- package/{esm2015/pipes/formatIde.pipe.js → esm2020/pipes/formatIde.pipe.mjs} +3 -3
- package/{esm2015/pipes/pipes.module.js → esm2020/pipes/pipes.module.mjs} +7 -7
- package/{esm2015/prestations-ng-core.module.js → esm2020/prestations-ng-core.module.mjs} +7 -7
- package/esm2020/refinf/model/address-type-light.mjs +3 -0
- package/esm2020/refinf/model/canton.mjs +3 -0
- package/esm2020/refinf/model/district.mjs +3 -0
- package/esm2020/refinf/model/municipality.mjs +3 -0
- package/esm2020/refinf/model/place-of-origin.mjs +3 -0
- package/esm2020/refinf/model/postal-locality.mjs +3 -0
- package/esm2020/sdk-appinfo/application-info.mjs +14 -0
- package/esm2020/sdk-appinfo/application-info.service.mjs +104 -0
- package/{esm2015/sdk-currency/currency.helper.js → esm2020/sdk-currency/currency.helper.mjs} +3 -3
- package/esm2020/sdk-date/date.helper.mjs +100 -0
- package/esm2020/sdk-dictionary/default-dictionary.mjs +166 -0
- package/{esm2015/sdk-dictionary/sdk-dictionary.module.js → esm2020/sdk-dictionary/sdk-dictionary.module.mjs} +5 -5
- package/{esm2015/sdk-dictionary/sdk-dictionary.pipe.js → esm2020/sdk-dictionary/sdk-dictionary.pipe.mjs} +6 -6
- package/esm2020/sdk-dictionary/sdk-dictionary.service.mjs +111 -0
- package/{esm2015/sdk-epayment/model/EPaymentParameters.js → esm2020/sdk-epayment/model/EPaymentParameters.mjs} +0 -0
- package/esm2020/sdk-epayment/sdk-epayment.component.mjs +81 -0
- package/esm2020/sdk-epayment/sdk-epayment.module.mjs +21 -0
- package/esm2020/sdk-epayment/sdk-epayment.service.mjs +52 -0
- package/{esm2015/sdk-recaptcha/grecaptcha/grecaptcha.component.js → esm2020/sdk-recaptcha/grecaptcha/grecaptcha.component.mjs} +6 -10
- package/esm2020/sdk-recaptcha/recaptcha.service.mjs +162 -0
- package/esm2020/sdk-recaptcha/sdk-recaptcha.component.mjs +69 -0
- package/esm2020/sdk-recaptcha/sdk-recaptcha.module.mjs +19 -0
- package/esm2020/sdk-redirect/iam-expired-interceptor.service.mjs +58 -0
- package/esm2020/sdk-redirect/redirect.component.mjs +35 -0
- package/esm2020/sdk-redirect/sdk-redirect.module.mjs +19 -0
- package/{esm2015/sdk-session-info/session-info-data.js → esm2020/sdk-session-info/session-info-data.mjs} +1 -1
- package/{esm2015/sdk-session-info/session-info-with-application.service.js → esm2020/sdk-session-info/session-info-with-application.service.mjs} +5 -5
- package/esm2020/sdk-session-info/session-info.service.mjs +50 -0
- package/esm2020/sdk-statistics/sdk-statistics.service.mjs +70 -0
- package/esm2020/sdk-support-alert/support-alert-container.component.mjs +49 -0
- package/esm2020/sdk-support-alert/support-alert.component.mjs +34 -0
- package/{esm2015/sdk-support-alert/support-alert.model.js → esm2020/sdk-support-alert/support-alert.model.mjs} +0 -0
- package/esm2020/sdk-support-alert/support-alert.module.mjs +21 -0
- package/esm2020/sdk-support-alert/support-alert.service.mjs +117 -0
- package/{esm2015/service-locator.js → esm2020/service-locator.mjs} +0 -0
- package/esm2020/supported-browser.mjs +2 -0
- package/esm2020/validation/validation-handler.service.mjs +44 -0
- package/fesm2015/dsivd-prestations-ng.mjs +13399 -0
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -0
- package/fesm2020/dsivd-prestations-ng.mjs +13374 -0
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -0
- package/foehn-address/address.type.d.ts +3 -3
- package/foehn-address/foehn-display-address.component.d.ts +1 -1
- package/foehn-address/foehn-input-address.component.d.ts +18 -8
- package/foehn-address/foehn-input-foreign-locality.component.d.ts +1 -1
- package/foehn-address/foehn-input-foreign-street.component.d.ts +1 -1
- package/foehn-agenda/calendar.type.d.ts +9 -0
- package/foehn-agenda/current-week.type.d.ts +5 -0
- package/foehn-agenda/day-slots.type.d.ts +5 -0
- package/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.d.ts +21 -0
- package/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.d.ts +51 -0
- package/foehn-agenda/foehn-agenda.component.d.ts +29 -0
- package/foehn-agenda/foehn-agenda.module.d.ts +17 -0
- package/foehn-agenda/pagination-week.type.d.ts +5 -0
- package/foehn-agenda/selected-slot.type.d.ts +7 -0
- package/foehn-autocomplete/foehn-autocomplete.component.d.ts +22 -6
- package/foehn-boolean/foehn-boolean-checkbox.component.d.ts +1 -1
- package/foehn-boolean/foehn-boolean-radio.component.d.ts +2 -1
- package/foehn-breadcrumb/breadcrumb-event.service.d.ts +2 -2
- package/foehn-breadcrumb/foehn-breadcrumb.component.d.ts +6 -5
- package/foehn-checkables/foehn-checkable-group.component.d.ts +8 -8
- package/foehn-checkables/foehn-checkables.module.d.ts +3 -1
- package/foehn-checkables/foehn-checkbox.component.d.ts +1 -1
- package/foehn-checkables/foehn-radio.component.d.ts +1 -1
- package/foehn-checkables/foehn-select.component.d.ts +2 -10
- package/foehn-confirm-modal/foehn-confirm-modal-content.d.ts +1 -0
- package/foehn-confirm-modal/foehn-confirm-modal.component.d.ts +2 -2
- package/foehn-date-picker/date-picker-navigation.helper.d.ts +7 -1
- package/foehn-date-picker/date-picker.helper.d.ts +3 -2
- package/foehn-date-picker/foehn-date-picker.component.d.ts +21 -10
- package/foehn-date-picker-button/foehn-date-picker-button.component.d.ts +13 -5
- package/foehn-debug-summary/foehn-debug-summary.component.d.ts +7 -5
- package/foehn-decision-electronique/foehn-decision-electronique.component.d.ts +2 -2
- package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +2 -1
- package/foehn-footer/foehn-footer.component.d.ts +4 -4
- package/foehn-form/foehn-form.component.d.ts +7 -4
- package/foehn-form/register-ng-model.service.d.ts +9 -0
- package/foehn-growl/foehn-growl.component.d.ts +3 -3
- package/foehn-growl/growl-broker.service.d.ts +1 -1
- package/foehn-header/foehn-header.component.d.ts +7 -7
- package/foehn-header/foehn-skip-link.component.d.ts +2 -2
- package/foehn-help-modal/foehn-help-modal.component.d.ts +1 -1
- package/foehn-help-modal/foehn-help-modal.type.d.ts +4 -0
- package/foehn-icons/abstract-icon-component.d.ts +1 -1
- package/foehn-icons/foehn-icon-calendar.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-check-square-o.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-check.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-chevron-down.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-chevron-left.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-chevron-right.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-chevron-up.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-clock.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-comment-dots.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-edit.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-external-link-alt.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-file-pdf.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-info-circle.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-lock.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-map-marker.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-minus-circle.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-plus-circle.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-plus-square.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-search.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-times.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-trash-alt.component.d.ts +1 -1
- package/foehn-icons/foehn-icon-unlock-alt.component.d.ts +1 -1
- package/foehn-input/foehn-input-email.component.d.ts +4 -2
- package/foehn-input/foehn-input-hidden.component.d.ts +1 -1
- package/foehn-input/foehn-input-number.component.d.ts +16 -6
- package/foehn-input/foehn-input-password.component.d.ts +1 -1
- package/foehn-input/foehn-input-phone.component.d.ts +1 -1
- package/foehn-input/foehn-input-string.component.d.ts +1 -1
- package/foehn-input/foehn-input-text.component.d.ts +1 -1
- package/foehn-input/foehn-input-textarea.component.d.ts +5 -2
- package/foehn-input/foehn-input.component.d.ts +25 -9
- package/foehn-input/foehn-input.module.d.ts +9 -6
- package/foehn-input-date/foehn-input-date.component.d.ts +10 -3
- package/foehn-input-date-time/foehn-input-date-time.component.d.ts +29 -0
- package/foehn-input-time/foehn-input-time.component.d.ts +1 -1
- package/foehn-list/foehn-list.component.d.ts +2 -3
- package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +5 -5
- 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-menu-prestation/foehn-error-pill/foehn-error-pill.component.d.ts +1 -1
- package/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.d.ts +3 -3
- package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.d.ts +1 -1
- package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.d.ts +2 -2
- package/foehn-misc/foehn-abbr.component.d.ts +1 -1
- package/foehn-modal/foehn-modal.component.d.ts +2 -3
- package/foehn-modal/foehn-modal.module.d.ts +3 -1
- package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +51 -0
- package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.d.ts +13 -0
- package/foehn-nav13/foehn-input-nav13.component.d.ts +2 -1
- package/foehn-navigation/foehn-navigation.component.d.ts +2 -2
- package/foehn-navigation/foehn-navigation.service.d.ts +4 -3
- package/foehn-notfound/foehn-notfound.component.d.ts +1 -1
- package/foehn-page/foehn-page-counter.component.d.ts +1 -1
- package/foehn-page/foehn-page-modal.component.d.ts +1 -1
- package/foehn-page/foehn-page-modal.service.d.ts +1 -1
- package/foehn-page/foehn-page.component.d.ts +15 -12
- package/foehn-page/foehn-page.module.d.ts +2 -1
- package/foehn-page/foehn-page.service.d.ts +2 -2
- package/foehn-recap-section/foehn-recap-section.component.d.ts +3 -1
- package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +1 -1
- package/foehn-status-progress-bar/foehn-status-progress-bar.component.d.ts +23 -0
- package/foehn-status-progress-bar/foehn-status-progress-bar.module.d.ts +10 -0
- package/foehn-table/foehn-table-column-configuration.d.ts +18 -0
- package/foehn-table/foehn-table-page-change-event.d.ts +5 -0
- package/foehn-table/foehn-table.component.d.ts +33 -0
- package/foehn-table/foehn-table.module.d.ts +11 -0
- package/foehn-table/tableSort.d.ts +4 -0
- package/foehn-upload/abstract-foehn-uploader.component.d.ts +7 -7
- package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +6 -4
- package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +6 -5
- package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.d.ts +2 -1
- package/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.d.ts +9 -8
- package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +2 -1
- package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +6 -4
- package/foehn-upload/foehn-multi-upload/pending-upload.service.d.ts +3 -3
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +7 -4
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +2 -1
- package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +19 -0
- package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +11 -0
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +19 -0
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +4 -0
- package/foehn-upload/pending-upload.type.d.ts +1 -0
- package/foehn-upload/uploader.helper.d.ts +13 -13
- package/foehn-user-connected-as/foehn-user-connected-as.component.d.ts +2 -2
- package/foehn-validation-alert-summary/foehn-validation-alert-summary.component.d.ts +2 -2
- package/foehn-validation-alerts/foehn-validation-alerts.component.d.ts +4 -4
- package/{error-template.d.ts → form-error.d.ts} +1 -1
- package/form-post-response.d.ts +17 -0
- package/gesdem/gesdem-error-handler.service.d.ts +2 -2
- package/gesdem/gesdem-event.service.d.ts +7 -7
- package/gesdem/gesdem-handler.service.d.ts +8 -6
- package/gesdem/gesdem-loader.guard.d.ts +1 -1
- package/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.d.ts +5 -5
- package/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.d.ts +7 -7
- package/gesdem-action-recovery/gesdem-action-recovery.service.d.ts +3 -3
- package/gesdem-confirmation/gesdem-confirmation.component.d.ts +10 -9
- package/gesdem-error/gesdem-error.component.d.ts +10 -3
- package/gesdem-error/gesdem-error.module.d.ts +2 -1
- package/global.const.d.ts +1 -0
- package/index.d.ts +102 -70
- package/package.json +36 -22
- package/pipes/currency.pipe.d.ts +1 -1
- package/pipes/date.pipe.d.ts +1 -1
- package/pipes/formatIde.pipe.d.ts +1 -1
- package/refinf/model/address-type-light.d.ts +5 -0
- package/refinf/model/canton.d.ts +4 -0
- package/refinf/model/district.d.ts +7 -0
- package/refinf/model/municipality.d.ts +8 -0
- package/refinf/model/place-of-origin.d.ts +9 -0
- package/refinf/model/postal-locality.d.ts +11 -0
- package/schematics/ng-add/index.js +10 -10
- package/schematics/ng-update/migrations/update-13_1_0/index.js +2 -2
- package/schematics/ng-update/migrations/update-13_2_0/index.js +3 -3
- package/schematics/ng-update/migrations/update-13_5_1/index.js +3 -3
- package/schematics/ng-update/migrations/update-14_5_0/index.js +2 -2
- package/schematics/update-karma-config/index.js +2 -2
- package/schematics/utility/migrate-to-karma-coverage.js +3 -3
- package/sdk-appinfo/application-info.d.ts +1 -0
- package/sdk-appinfo/application-info.service.d.ts +4 -4
- package/sdk-dictionary/sdk-dictionary.pipe.d.ts +1 -1
- package/sdk-dictionary/sdk-dictionary.service.d.ts +9 -0
- package/sdk-epayment/sdk-epayment.component.d.ts +6 -16
- package/sdk-epayment/sdk-epayment.service.d.ts +3 -6
- package/sdk-recaptcha/grecaptcha/grecaptcha.component.d.ts +2 -2
- package/sdk-recaptcha/recaptcha.service.d.ts +5 -5
- package/sdk-recaptcha/sdk-recaptcha.component.d.ts +4 -4
- package/sdk-redirect/iam-expired-interceptor.service.d.ts +3 -3
- package/sdk-redirect/redirect.component.d.ts +3 -9
- package/sdk-session-info/session-info-data.d.ts +0 -1
- package/sdk-session-info/session-info.service.d.ts +4 -4
- package/sdk-statistics/sdk-statistics.service.d.ts +22 -0
- package/sdk-support-alert/support-alert-container.component.d.ts +3 -3
- package/sdk-support-alert/support-alert.component.d.ts +1 -1
- package/sdk-support-alert/support-alert.service.d.ts +5 -4
- package/validation/validation-handler.service.d.ts +4 -4
- package/backend-response.d.ts +0 -18
- package/bundles/dsivd-prestations-ng.umd.js +0 -13188
- package/bundles/dsivd-prestations-ng.umd.js.map +0 -1
- package/dsivd-prestations-ng-v15.5.13.tgz +0 -0
- package/dsivd-prestations-ng.d.ts +0 -5
- package/esm2015/abstract-page-component.js +0 -224
- package/esm2015/backend-response.js +0 -10
- package/esm2015/directives/currency-formatter.directive.js +0 -116
- package/esm2015/error-template.js +0 -2
- package/esm2015/foehn-address/foehn-address.module.js +0 -57
- package/esm2015/foehn-address/foehn-input-address.component.js +0 -365
- package/esm2015/foehn-address/foehn-input-foreign-locality.component.js +0 -71
- package/esm2015/foehn-address/foehn-input-foreign-street.component.js +0 -60
- package/esm2015/foehn-autocomplete/foehn-autocomplete.component.js +0 -556
- package/esm2015/foehn-autocomplete/foehn-autocomplete.module.js +0 -42
- package/esm2015/foehn-boolean/foehn-boolean-checkbox.component.js +0 -32
- package/esm2015/foehn-boolean/foehn-boolean-radio.component.js +0 -41
- package/esm2015/foehn-boolean/foehn-boolean.module.js +0 -35
- package/esm2015/foehn-breadcrumb/breadcrumb-event.service.js +0 -182
- package/esm2015/foehn-breadcrumb/foehn-breadcrumb.component.js +0 -85
- package/esm2015/foehn-breadcrumb/foehn-breadcrumb.module.js +0 -19
- package/esm2015/foehn-checkables/foehn-checkable-group.component.js +0 -294
- package/esm2015/foehn-checkables/foehn-checkables.module.js +0 -62
- package/esm2015/foehn-checkables/foehn-checkbox.component.js +0 -40
- package/esm2015/foehn-checkables/foehn-radio.component.js +0 -67
- package/esm2015/foehn-checkables/foehn-select.component.js +0 -66
- package/esm2015/foehn-confirm-modal/foehn-confirm-modal.component.js +0 -42
- package/esm2015/foehn-confirm-modal/foehn-confirm-modal.module.js +0 -19
- package/esm2015/foehn-date-picker/date-picker-navigation.helper.js +0 -117
- package/esm2015/foehn-date-picker/date-picker.helper.js +0 -126
- package/esm2015/foehn-date-picker/foehn-date-picker.component.js +0 -300
- package/esm2015/foehn-date-picker/foehn-date-picker.module.js +0 -42
- package/esm2015/foehn-date-picker-button/foehn-date-picker-button.component.js +0 -74
- package/esm2015/foehn-date-picker-button/foehn-date-picker-button.module.js +0 -38
- package/esm2015/foehn-debug-summary/foehn-debug-summary.component.js +0 -61
- package/esm2015/foehn-decision-electronique/foehn-decision-electronique.component.js +0 -40
- package/esm2015/foehn-decision-electronique/foehn-decision-electronique.module.js +0 -20
- package/esm2015/foehn-footer/foehn-footer.component.js +0 -132
- package/esm2015/foehn-form/foehn-form.component.js +0 -146
- package/esm2015/foehn-form/foehn-form.module.js +0 -20
- package/esm2015/foehn-growl/foehn-growl.component.js +0 -47
- package/esm2015/foehn-header/foehn-header.component.js +0 -73
- package/esm2015/foehn-header/foehn-header.module.js +0 -21
- package/esm2015/foehn-help-modal/foehn-help-modal.component.js +0 -48
- package/esm2015/foehn-help-modal/foehn-help-modal.module.js +0 -20
- package/esm2015/foehn-help-modal/foehn-help-modal.type.js +0 -2
- package/esm2015/foehn-icons/foehn-icon-calendar.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-check-square-o.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-check.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-chevron-down.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-chevron-left.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-chevron-right.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-chevron-up.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-clock.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-comment-dots.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-edit.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-external-link-alt.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-file-pdf.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-info-circle.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-lock.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-map-marker.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-minus-circle.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-plus-circle.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-plus-square.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-search.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-times.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-trash-alt.component.js +0 -22
- package/esm2015/foehn-icons/foehn-icon-unlock-alt.component.js +0 -22
- package/esm2015/foehn-input/foehn-input-email.component.js +0 -55
- package/esm2015/foehn-input/foehn-input-hidden.component.js +0 -57
- package/esm2015/foehn-input/foehn-input-number.component.js +0 -190
- package/esm2015/foehn-input/foehn-input-password.component.js +0 -55
- package/esm2015/foehn-input/foehn-input-phone.component.js +0 -96
- package/esm2015/foehn-input/foehn-input-text.component.js +0 -80
- package/esm2015/foehn-input/foehn-input-textarea.component.js +0 -104
- package/esm2015/foehn-input/foehn-input.component.js +0 -364
- package/esm2015/foehn-input/foehn-input.module.js +0 -82
- package/esm2015/foehn-input-date/foehn-input-date.component.js +0 -94
- package/esm2015/foehn-input-time/foehn-input-time.component.js +0 -79
- package/esm2015/foehn-list/foehn-list.component.js +0 -135
- package/esm2015/foehn-list/foehn-list.module.js +0 -19
- package/esm2015/foehn-menu-prestation/abstract-list-item-detail-page.component.js +0 -122
- package/esm2015/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.js +0 -26
- package/esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.js +0 -75
- package/esm2015/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.js +0 -38
- package/esm2015/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.js +0 -54
- package/esm2015/foehn-menu-prestation/foehn-menu-prestation.module.js +0 -61
- package/esm2015/foehn-modal/foehn-modal.component.js +0 -100
- package/esm2015/foehn-modal/foehn-modal.module.js +0 -19
- package/esm2015/foehn-nav13/foehn-input-nav13.component.js +0 -98
- package/esm2015/foehn-nav13/foehn-input-nav13.module.js +0 -34
- package/esm2015/foehn-navigation/foehn-navigation.component.js +0 -98
- package/esm2015/foehn-navigation/foehn-navigation.module.js +0 -34
- package/esm2015/foehn-navigation/foehn-navigation.service.js +0 -297
- package/esm2015/foehn-notfound/foehn-notfound.module.js +0 -20
- package/esm2015/foehn-page/foehn-page-modal.component.js +0 -55
- package/esm2015/foehn-page/foehn-page.component.js +0 -214
- package/esm2015/foehn-page/foehn-page.module.js +0 -76
- package/esm2015/foehn-recap-section/foehn-recap-section.component.js +0 -88
- package/esm2015/foehn-recap-section/foehn-recap-section.module.js +0 -20
- package/esm2015/foehn-upload/abstract-foehn-uploader.component.js +0 -192
- package/esm2015/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.js +0 -62
- package/esm2015/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.js +0 -168
- package/esm2015/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.js +0 -38
- package/esm2015/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.js +0 -217
- package/esm2015/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.js +0 -38
- package/esm2015/foehn-upload/foehn-multi-upload/multi-upload.service.js +0 -76
- package/esm2015/foehn-upload/foehn-multi-upload/pending-upload.service.js +0 -157
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.js +0 -164
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.js +0 -42
- package/esm2015/foehn-upload/uploader.helper.js +0 -322
- package/esm2015/foehn-validation-alert-summary/foehn-validation-alert-summary.component.js +0 -88
- package/esm2015/foehn-validation-alert-summary/foehn-validation-alert-summary.module.js +0 -19
- package/esm2015/foehn-validation-alerts/foehn-validation-alerts.component.js +0 -32
- package/esm2015/gesdem/gesdem-event.service.js +0 -38
- package/esm2015/gesdem/gesdem-handler.service.js +0 -151
- package/esm2015/gesdem/gesdem-loader.guard.js +0 -40
- package/esm2015/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.js +0 -103
- package/esm2015/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.js +0 -133
- package/esm2015/gesdem-action-recovery/gesdem-action-recovery.module.js +0 -52
- package/esm2015/gesdem-action-recovery/gesdem-action-recovery.service.js +0 -82
- package/esm2015/gesdem-confirmation/gesdem-confirmation.component.js +0 -194
- package/esm2015/gesdem-confirmation/gesdem-confirmation.module.js +0 -34
- package/esm2015/gesdem-error/gesdem-error.component.js +0 -70
- package/esm2015/gesdem-error/gesdem-error.module.js +0 -34
- package/esm2015/helpers/object.helper.js +0 -88
- package/esm2015/index.js +0 -224
- package/esm2015/sdk-appinfo/application-info.js +0 -14
- package/esm2015/sdk-appinfo/application-info.service.js +0 -111
- package/esm2015/sdk-date/date.helper.js +0 -90
- package/esm2015/sdk-dictionary/default-dictionary.js +0 -80
- package/esm2015/sdk-dictionary/sdk-dictionary.service.js +0 -96
- package/esm2015/sdk-epayment/model/EPaymentRequest.js +0 -3
- package/esm2015/sdk-epayment/sdk-epayment.component.js +0 -113
- package/esm2015/sdk-epayment/sdk-epayment.module.js +0 -21
- package/esm2015/sdk-epayment/sdk-epayment.service.js +0 -46
- package/esm2015/sdk-recaptcha/recaptcha.service.js +0 -162
- package/esm2015/sdk-recaptcha/sdk-recaptcha.component.js +0 -72
- package/esm2015/sdk-recaptcha/sdk-recaptcha.module.js +0 -19
- package/esm2015/sdk-redirect/iam-expired-interceptor.service.js +0 -48
- package/esm2015/sdk-redirect/redirect.component.js +0 -47
- package/esm2015/sdk-redirect/sdk-redirect.module.js +0 -19
- package/esm2015/sdk-session-info/session-info.service.js +0 -44
- package/esm2015/sdk-support-alert/support-alert-container.component.js +0 -53
- package/esm2015/sdk-support-alert/support-alert.component.js +0 -38
- package/esm2015/sdk-support-alert/support-alert.module.js +0 -21
- package/esm2015/sdk-support-alert/support-alert.service.js +0 -113
- package/esm2015/supported-browser.js +0 -2
- package/esm2015/validation/validation-handler.service.js +0 -44
- package/fesm2015/dsivd-prestations-ng.js +0 -11618
- package/fesm2015/dsivd-prestations-ng.js.map +0 -1
- package/sdk-epayment/model/EPaymentRequest.d.ts +0 -5
package/CONTRIBUTING.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Prerequisite
|
|
4
4
|
|
|
5
|
-
- Node
|
|
5
|
+
- Node 16.15+
|
|
6
6
|
- yarn 1.22+
|
|
7
7
|
- Chrome or Chromium
|
|
8
8
|
- G++
|
|
@@ -188,3 +188,34 @@ export NODE_OPTIONS=--max_old_space_size=4096
|
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
Use at your own risks.
|
|
191
|
+
|
|
192
|
+
## E2E testing
|
|
193
|
+
|
|
194
|
+
`Protractor` is no longer included in new Angular projects as of Angular 12.
|
|
195
|
+
We have decided to remove it from `prestations-ng` and use instead `Cypress`.
|
|
196
|
+
|
|
197
|
+
For more informations, please visit :
|
|
198
|
+
https://github.com/angular/protractor/issues/5502
|
|
199
|
+
https://docs.cypress.io/guides/migrating-to-cypress/protractor#Introduction
|
|
200
|
+
|
|
201
|
+
**DO NOT FORGET TO BUILD THE LIBRARY BEFORE RUNNING E2E TESTS**
|
|
202
|
+
|
|
203
|
+
### Running e2e in headless mode
|
|
204
|
+
|
|
205
|
+
When launching Cypress in headless mode, execute:
|
|
206
|
+
```bash
|
|
207
|
+
yarn e2e
|
|
208
|
+
```
|
|
209
|
+
When a test fails, a screenshot will be added in `cypress/e2e/screenshots` folder.
|
|
210
|
+
|
|
211
|
+
### Running e2e using Cypress visual interface
|
|
212
|
+
|
|
213
|
+
When launching Cypress visual interface for running tests files individually in `watch` mode, execute:
|
|
214
|
+
```bash
|
|
215
|
+
yarn e2e:open
|
|
216
|
+
```
|
|
217
|
+
To execute a test, just click on your integration test file listed in the newly open window.
|
|
218
|
+
A new window will open showing your e2e test execution.
|
|
219
|
+
To show back your test list window, just click on `Tests` button in the top left corner.
|
|
220
|
+
Click the `Stop` button to close your e2e test execution window.
|
|
221
|
+
Then click on an other test in the list and so on...
|
|
@@ -94,6 +94,10 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
94
94
|
},
|
|
95
95
|
"ignorePatterns": [
|
|
96
96
|
"/projects/**/*",
|
|
97
|
+
"/package.json",
|
|
98
|
+
"/angular.json",
|
|
99
|
+
"/karma.conf.js",
|
|
100
|
+
"/tsconfig*.json",
|
|
97
101
|
"/src/test.ts",
|
|
98
102
|
"/src/main.ts",
|
|
99
103
|
"/src/polyfills.ts",
|
|
@@ -101,6 +105,20 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
101
105
|
"/src/typings.d.ts"
|
|
102
106
|
],
|
|
103
107
|
"reportUnusedDisableDirectives": true,
|
|
108
|
+
"settings": {
|
|
109
|
+
"import/extensions": [
|
|
110
|
+
".js",
|
|
111
|
+
".ts",
|
|
112
|
+
".mjs",
|
|
113
|
+
".mts",
|
|
114
|
+
".d.ts"
|
|
115
|
+
],
|
|
116
|
+
"import/internal-regex": "^@dsivd/",
|
|
117
|
+
"import/resolver": {
|
|
118
|
+
"node": { "extensions": [".js", ".ts", ".d.ts"] },
|
|
119
|
+
"typescript": {}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
104
122
|
"overrides": [
|
|
105
123
|
// Typescript
|
|
106
124
|
{
|
|
@@ -108,8 +126,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
108
126
|
"parserOptions": {
|
|
109
127
|
"ecmaVersion": 2020,
|
|
110
128
|
"project": [
|
|
111
|
-
"tsconfig.json"
|
|
112
|
-
"e2e/tsconfig.e2e.json"
|
|
129
|
+
"tsconfig.json"
|
|
113
130
|
],
|
|
114
131
|
"createDefaultProgram": true
|
|
115
132
|
},
|
|
@@ -118,7 +135,8 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
118
135
|
"jsdoc",
|
|
119
136
|
"prefer-arrow",
|
|
120
137
|
"rxjs",
|
|
121
|
-
"rxjs-angular"
|
|
138
|
+
"rxjs-angular",
|
|
139
|
+
"simple-import-sort"
|
|
122
140
|
],
|
|
123
141
|
"extends": [
|
|
124
142
|
"plugin:@angular-eslint/recommended",
|
|
@@ -152,7 +170,9 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
152
170
|
}],
|
|
153
171
|
"@typescript-eslint/ban-ts-comment": "error",
|
|
154
172
|
"@typescript-eslint/ban-tslint-comment": "error",
|
|
155
|
-
"@typescript-eslint/brace-style": "error",
|
|
173
|
+
"@typescript-eslint/brace-style": ["error", "1tbs", {
|
|
174
|
+
"allowSingleLine": true
|
|
175
|
+
}],
|
|
156
176
|
"@typescript-eslint/comma-dangle": ["error", {
|
|
157
177
|
"objects": "never",
|
|
158
178
|
"arrays": "always-multiline",
|
|
@@ -204,6 +224,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
204
224
|
"@typescript-eslint/no-unused-expressions": "error",
|
|
205
225
|
"@typescript-eslint/no-use-before-define": "off",
|
|
206
226
|
"@typescript-eslint/no-var-requires": "error",
|
|
227
|
+
"@typescript-eslint/object-curly-spacing": ["error", "always"],
|
|
207
228
|
"@typescript-eslint/prefer-for-of": "error",
|
|
208
229
|
"@typescript-eslint/prefer-function-type": "error",
|
|
209
230
|
"@typescript-eslint/prefer-includes": "warn",
|
|
@@ -221,6 +242,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
221
242
|
}],
|
|
222
243
|
"@typescript-eslint/unified-signatures": "error",
|
|
223
244
|
/* @eslint */
|
|
245
|
+
"array-bracket-spacing": ["error", "never"],
|
|
224
246
|
"arrow-body-style": "error",
|
|
225
247
|
"arrow-parens": ["error", "as-needed"],
|
|
226
248
|
"brace-style": "off",
|
|
@@ -269,11 +291,13 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
269
291
|
"no-unsafe-finally": "error",
|
|
270
292
|
"no-unused-labels": "error",
|
|
271
293
|
"no-var": "error",
|
|
294
|
+
"object-curly-spacing": "off",
|
|
272
295
|
"object-shorthand": ["error", "always", {
|
|
273
296
|
"avoidQuotes": true,
|
|
274
297
|
"avoidExplicitReturnArrows": false
|
|
275
298
|
}],
|
|
276
299
|
"one-var": ["error", "never"],
|
|
300
|
+
"prefer-arrow-callback": "error",
|
|
277
301
|
"prefer-template": "error",
|
|
278
302
|
"quote-props": ["error", "as-needed"],
|
|
279
303
|
"quotes": ["error", "single"],
|
|
@@ -284,6 +308,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
284
308
|
"asyncArrow": "always",
|
|
285
309
|
"named": "never"
|
|
286
310
|
}],
|
|
311
|
+
"space-in-parens": ["error", "never"],
|
|
287
312
|
"spaced-comment": ["error", "always", {
|
|
288
313
|
"markers": ["/"]
|
|
289
314
|
}],
|
|
@@ -298,6 +323,11 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
298
323
|
"ignoreExternal": true
|
|
299
324
|
}],
|
|
300
325
|
"import/no-deprecated": "warn",
|
|
326
|
+
"simple-import-sort/imports": "error",
|
|
327
|
+
"simple-import-sort/exports": "error",
|
|
328
|
+
"import/first": "error",
|
|
329
|
+
"import/newline-after-import": "error",
|
|
330
|
+
"import/no-duplicates": "error",
|
|
301
331
|
/* @jsdoc */
|
|
302
332
|
"jsdoc/check-alignment": "error",
|
|
303
333
|
"jsdoc/check-indentation": "error",
|
|
@@ -305,8 +335,6 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
305
335
|
"jsdoc/no-types": "error",
|
|
306
336
|
"jsdoc/require-param-type": "off",
|
|
307
337
|
"jsdoc/require-returns-type": "off",
|
|
308
|
-
/* @preferArrow */
|
|
309
|
-
"prefer-arrow/prefer-arrow-functions": "error"
|
|
310
338
|
}
|
|
311
339
|
},
|
|
312
340
|
// HTML
|
|
@@ -354,7 +382,7 @@ You can replace the content of your `.eslintrc.json` with the following `json`.
|
|
|
354
382
|
First, you can run the automatic lint fixing:
|
|
355
383
|
|
|
356
384
|
```bash
|
|
357
|
-
|
|
385
|
+
ng lint --fix=true
|
|
358
386
|
```
|
|
359
387
|
|
|
360
388
|
Then manually fix remaining errors and run your tests to be sure you didn't break anything. Good luck!
|
package/README.md
CHANGED
|
@@ -4,8 +4,12 @@ Best practice guide online in our DSI WiKi at [https://portail.etat-de-vaud.ch/o
|
|
|
4
4
|
|
|
5
5
|
An implementation of [Foehn](https://dsi-vd.github.io/foehn-design-system/) with Angular for [PrestaKit](https://www.vd.ch/prestakit/).
|
|
6
6
|
|
|
7
|
+
The generated documentation of our entire library is available online at [https://dsi-vd.github.io/prestations-ng/generateddoc](https://dsi-vd.github.io/prestations-ng/generateddoc)
|
|
8
|
+
|
|
7
9
|
The documentation is available online at [https://dsi-vd.github.io/prestations-ng/](https://dsi-vd.github.io/prestations-ng/)
|
|
8
10
|
|
|
11
|
+
- If you're using **Angular 15**, use `@dsivd/prestations-ng` at version `^16`.
|
|
12
|
+
- If you're using **Angular 13**, use `@dsivd/prestations-ng` at version `^15`.
|
|
9
13
|
- If you're using **Angular 12**, use `@dsivd/prestations-ng` at version `^14.5.0`.
|
|
10
14
|
- If you're using **Angular 11**, use `@dsivd/prestations-ng` at version `^13` until `14.4.1`.
|
|
11
15
|
- If you're using **Angular 9**, use `@dsivd/prestations-ng` at version `^11`.
|
|
@@ -15,6 +19,8 @@ The documentation is available online at [https://dsi-vd.github.io/prestations-n
|
|
|
15
19
|
|
|
16
20
|
Migration guides are available to provide an upgrade path from one major version to another.
|
|
17
21
|
|
|
22
|
+
- If you need to upgrade to version `16+`, please refer to [the V16 upgrade guide](UPGRADING_V16.md).
|
|
23
|
+
- If you need to upgrade to version `15+`, please refer to [the V15 upgrade guide](UPGRADING_V15.md).
|
|
18
24
|
- If you need to upgrade to version `14+`, please refer to [the V14 upgrade guide](UPGRADING_V14.md).
|
|
19
25
|
- If you need to upgrade to version `13+`, please refer to [the V13 upgrade guide](UPGRADING_V13.md).
|
|
20
26
|
- If you need to upgrade to version `12+`, please refer to [the V12 upgrade guide](UPGRADING_V12.md).
|
package/UPGRADING_V12.md
CHANGED
|
@@ -216,18 +216,3 @@ In your `package.json` located at the root of your application, add `start:symli
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
```
|
|
219
|
-
|
|
220
|
-
## e2e tip
|
|
221
|
-
|
|
222
|
-
When `e2e` test are broken due to `puppeteer` not having the same version between browser and driver, you can temporarily modify your `package.json` with:
|
|
223
|
-
|
|
224
|
-
```json
|
|
225
|
-
{
|
|
226
|
-
"scripts": {
|
|
227
|
-
"pree2e": "node_modules/protractor/bin/webdriver-manager update --versions.chrome=[VERSION_OF_CHROME_MATCHING_DRIVER] --gecko false --standalone false",
|
|
228
|
-
"e2e": "ng e2e --webdriverUpdate=false"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
**Be sure to rollback when `puppeteer` is up-to-date**
|
package/UPGRADING_V13.md
CHANGED
|
@@ -29,18 +29,3 @@ yarn upgrade
|
|
|
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
|
|
32
|
-
|
|
33
|
-
## e2e tip
|
|
34
|
-
|
|
35
|
-
When `e2e` test are broken due to `puppeteer` not having the same version between browser and driver, you can temporarily modify your `package.json` with:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"scripts": {
|
|
40
|
-
"pree2e": "node_modules/protractor/bin/webdriver-manager update --versions.chrome=[VERSION_OF_CHROME_MATCHING_DRIVER] --gecko false --standalone false",
|
|
41
|
-
"e2e": "ng e2e --webdriverUpdate=false"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
**Be sure to rollback when `puppeteer` is up-to-date**
|
package/UPGRADING_V14.md
CHANGED
|
@@ -13,20 +13,19 @@ at this address:
|
|
|
13
13
|
### When having migrated to ESLint
|
|
14
14
|
```bash
|
|
15
15
|
yarn global add @angular/cli@12
|
|
16
|
+
ng update @angular/core@12 @angular/cli@12
|
|
16
17
|
ng update @angular-eslint/builder@12
|
|
17
18
|
ng update @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
|
|
18
|
-
ng update eslint
|
|
19
19
|
ng update eslint-plugin-import eslint-plugin-jasmine eslint-plugin-jsdoc eslint-plugin-prefer-arrow
|
|
20
20
|
ng update eslint-plugin-rxjs@3
|
|
21
21
|
ng update @typescript-eslint/eslint-plugin @typescript-eslint/parser
|
|
22
|
+
ng update eslint
|
|
22
23
|
ng update rxjs@6
|
|
23
24
|
ng update ng-http-loader@10
|
|
24
|
-
ng update @
|
|
25
|
-
ng update \
|
|
26
|
-
@types/jasmine \
|
|
27
|
-
@types/node@15 \
|
|
28
|
-
ts-node@10
|
|
25
|
+
ng update @types/jasmine @types/node@15 ts-node@10
|
|
29
26
|
yarn add dayjs@1
|
|
27
|
+
yarn add ngx-image-cropper@5
|
|
28
|
+
ng update @dsivd/prestations-ng@14
|
|
30
29
|
# Remove your resolutions in package.json before executing 'yarn upgrade'
|
|
31
30
|
yarn upgrade
|
|
32
31
|
```
|
|
@@ -37,12 +36,10 @@ yarn global add @angular/cli@12
|
|
|
37
36
|
ng update @angular/core@12 @angular/cli@12
|
|
38
37
|
ng update rxjs@6
|
|
39
38
|
ng update ng-http-loader@10
|
|
40
|
-
ng update @
|
|
41
|
-
ng update \
|
|
42
|
-
@types/jasmine \
|
|
43
|
-
@types/node@15 \
|
|
44
|
-
ts-node@10
|
|
39
|
+
ng update @types/jasmine @types/node@15 ts-node@10
|
|
45
40
|
yarn add dayjs@1
|
|
41
|
+
yarn add ngx-image-cropper@5
|
|
42
|
+
ng update @dsivd/prestations-ng@14
|
|
46
43
|
# Remove your resolutions in package.json before executing 'yarn upgrade'
|
|
47
44
|
yarn upgrade
|
|
48
45
|
```
|
|
@@ -50,18 +47,3 @@ yarn upgrade
|
|
|
50
47
|
## Migrating to ESLint
|
|
51
48
|
|
|
52
49
|
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
|
53
|
-
|
|
54
|
-
## e2e tip
|
|
55
|
-
|
|
56
|
-
When `e2e` test are broken due to `puppeteer` not having the same version between browser and driver, you can temporarily modify your `package.json` with:
|
|
57
|
-
|
|
58
|
-
```json
|
|
59
|
-
{
|
|
60
|
-
"scripts": {
|
|
61
|
-
"pree2e": "node_modules/protractor/bin/webdriver-manager update --versions.chrome=[VERSION_OF_CHROME_MATCHING_DRIVER] --gecko false --standalone false",
|
|
62
|
-
"e2e": "ng e2e --webdriverUpdate=false"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**Be sure to rollback when `puppeteer` is up-to-date**
|
package/UPGRADING_V15.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Upgrading from v14 to v15
|
|
2
|
+
|
|
3
|
+
The main feature in `prestations-ng` v15 is the update of the `@angular/*` peer dependencies
|
|
4
|
+
to `^13.1.0`.
|
|
5
|
+
|
|
6
|
+
## Updating Angular
|
|
7
|
+
|
|
8
|
+
`prestations-ng` v15+ now supports Angular 13. You can follow the Angular update guide
|
|
9
|
+
at this address:
|
|
10
|
+
|
|
11
|
+
- [https://update.angular.io/?l=3&v=12.0-13.0](https://update.angular.io/?l=3&v=12.0-13.0)
|
|
12
|
+
|
|
13
|
+
### When having migrated to ESLint
|
|
14
|
+
```bash
|
|
15
|
+
yarn global add @angular/cli@13
|
|
16
|
+
ng update @angular-eslint/builder@13
|
|
17
|
+
ng update @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
|
|
18
|
+
ng update @typescript-eslint/eslint-plugin @typescript-eslint/parser
|
|
19
|
+
ng update eslint-plugin-import eslint-plugin-jasmine eslint-plugin-jsdoc eslint-plugin-prefer-arrow eslint-plugin-rxjs-angular
|
|
20
|
+
ng update eslint
|
|
21
|
+
ng update eslint-plugin-rxjs@4
|
|
22
|
+
ng update @angular/core@13 @angular/cli@13
|
|
23
|
+
ng update rxjs@7
|
|
24
|
+
ng update @dsivd/prestations-ng@15
|
|
25
|
+
ng update \
|
|
26
|
+
@types/jasmine \
|
|
27
|
+
@types/node@15 \
|
|
28
|
+
ts-node@10
|
|
29
|
+
ng update ngx-image-cropper@~6.0.0
|
|
30
|
+
ng update ng-http-loader@11
|
|
31
|
+
# Remove your resolutions in package.json before executing 'yarn upgrade'
|
|
32
|
+
yarn upgrade
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Otherwise
|
|
36
|
+
```bash
|
|
37
|
+
yarn global add @angular/cli@13
|
|
38
|
+
ng update @angular/core@13 @angular/cli@13
|
|
39
|
+
ng update rxjs@7
|
|
40
|
+
ng update @dsivd/prestations-ng@latest
|
|
41
|
+
ng update \
|
|
42
|
+
@types/jasmine \
|
|
43
|
+
@types/node@15 \
|
|
44
|
+
ts-node@10
|
|
45
|
+
ng update ngx-image-cropper@~6.0.0
|
|
46
|
+
ng update ng-http-loader@11
|
|
47
|
+
# Remove your resolutions in package.json before executing 'yarn upgrade'
|
|
48
|
+
yarn upgrade
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Migrating to ESLint
|
|
52
|
+
|
|
53
|
+
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
|
54
|
+
|
|
55
|
+
## Deprecated features
|
|
56
|
+
|
|
57
|
+
### foehn-input-date component
|
|
58
|
+
|
|
59
|
+
Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
|
|
60
|
+
|
|
61
|
+
- removed
|
|
62
|
+
```html
|
|
63
|
+
<ng-content select="[date-picker-button]"></ng-content>
|
|
64
|
+
```
|
|
65
|
+
- replaced by
|
|
66
|
+
```html
|
|
67
|
+
<foehn-date-picker-button></foehn-date-picker-button>
|
|
68
|
+
```
|
|
69
|
+
which is visible by default. To hide it, set `hideDatePickerButton` to `true` as a `foehn-input-date` attribute. See example below for more information.
|
|
70
|
+
|
|
71
|
+
#### Migration step by step:
|
|
72
|
+
|
|
73
|
+
##### Case 1: When using `foehn-input-date` with `foehn-date-picker-button`:
|
|
74
|
+
Before :
|
|
75
|
+
```html
|
|
76
|
+
<foehn-input-date
|
|
77
|
+
label="Date"
|
|
78
|
+
[(model)]="yourModel"
|
|
79
|
+
>
|
|
80
|
+
<foehn-date-picker-button
|
|
81
|
+
date-picker-button
|
|
82
|
+
[(model)]="yourModel"
|
|
83
|
+
[displaySelectedDate]="false"
|
|
84
|
+
class="align-self-center"
|
|
85
|
+
></foehn-date-picker-button>
|
|
86
|
+
</foehn-input-date>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
After :
|
|
90
|
+
```html
|
|
91
|
+
<foehn-input-date
|
|
92
|
+
label="Date"
|
|
93
|
+
[(model)]="yourModel"
|
|
94
|
+
></foehn-input-date>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
##### Case 2: When using `foehn-input-date` without `foehn-date-picker-button`:
|
|
98
|
+
Before :
|
|
99
|
+
```html
|
|
100
|
+
<foehn-input-date
|
|
101
|
+
label="Date"
|
|
102
|
+
[(model)]="yourModel"
|
|
103
|
+
></foehn-input-date>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
After :
|
|
107
|
+
```html
|
|
108
|
+
<foehn-input-date
|
|
109
|
+
label="Date"
|
|
110
|
+
[(model)]="yourModel"
|
|
111
|
+
[hideDatePickerButton]="true"
|
|
112
|
+
></foehn-input-date>
|
|
113
|
+
```
|
package/UPGRADING_V16.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Upgrading from v15 to v16
|
|
2
|
+
|
|
3
|
+
The main feature in `prestations-ng` v15 is the update of the `@angular/*` peer dependencies
|
|
4
|
+
to `^15.1.1`.
|
|
5
|
+
|
|
6
|
+
## Migrating to ESLint
|
|
7
|
+
|
|
8
|
+
- Follow [our migration guide](ESLINT_MIGRATION_GUIDE.md) to migrate your project from TSLint to ESLint
|
|
9
|
+
|
|
10
|
+
## Updating Angular
|
|
11
|
+
|
|
12
|
+
`prestations-ng` v16+ now supports Angular 15. You can follow the Angular update guide
|
|
13
|
+
at this address:
|
|
14
|
+
|
|
15
|
+
- [https://update.angular.io/?l=3&v=13.0-14.0](https://update.angular.io/?l=3&v=13.0-14.0)
|
|
16
|
+
- [https://update.angular.io/?l=3&v=14.0-15.0](https://update.angular.io/?l=3&v=14.0-15.0)
|
|
17
|
+
|
|
18
|
+
### When having migrated to ESLint
|
|
19
|
+
```bash
|
|
20
|
+
yarn global add @angular/cli@14
|
|
21
|
+
ng update @angular/core@14 @angular/cli@14
|
|
22
|
+
|
|
23
|
+
yarn global add @angular/cli@15
|
|
24
|
+
ng update @angular/core@15 @angular/cli@15 --force
|
|
25
|
+
ng update @angular-eslint/builder@15
|
|
26
|
+
ng update @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
|
|
27
|
+
ng update @typescript-eslint/eslint-plugin @typescript-eslint/parser
|
|
28
|
+
ng update eslint-plugin-import eslint-plugin-jasmine eslint-plugin-jsdoc eslint-plugin-rxjs-angular
|
|
29
|
+
ng update eslint
|
|
30
|
+
ng update eslint-plugin-rxjs@5
|
|
31
|
+
ng update \
|
|
32
|
+
@types/jasmine \
|
|
33
|
+
@types/node@16 \
|
|
34
|
+
ts-node@10
|
|
35
|
+
ng update @dsivd/prestations-ng@latest
|
|
36
|
+
|
|
37
|
+
yarn add eslint-import-resolver-typescript --dev
|
|
38
|
+
yarn remove eslint-plugin-prefer-arrow
|
|
39
|
+
# Remove your resolutions in package.json before executing 'yarn upgrade'
|
|
40
|
+
yarn upgrade
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Deprecated features
|
|
44
|
+
|
|
45
|
+
### All components extending FoehnCheckableGroupComponent such as foehn-autocomplete, foehn-checkbox, foehn-radio, foehn-select or your custom components
|
|
46
|
+
|
|
47
|
+
Removed `@Input() allElementDisabled`. Now managed by setting `@Input() disabled`.
|
|
48
|
+
|
|
49
|
+
- removed
|
|
50
|
+
```html
|
|
51
|
+
<foehn-radio [allElementDisabled]="true"></foehn-radio>
|
|
52
|
+
```
|
|
53
|
+
- replaced by
|
|
54
|
+
```html
|
|
55
|
+
<foehn-radio [disabled]="true"></foehn-radio>
|
|
56
|
+
```
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { GesdemHandlerService } from './gesdem/gesdem-handler.service';
|
|
3
|
-
import { FoehnNavigationService } from './foehn-navigation/foehn-navigation.service';
|
|
4
|
-
import { FoehnFormComponent } from './foehn-form/foehn-form.component';
|
|
5
|
-
import { Observable, Subscription } from 'rxjs';
|
|
6
2
|
import { ActivatedRoute } from '@angular/router';
|
|
7
|
-
import {
|
|
8
|
-
import { ValidationHandlerService } from './validation/validation-handler.service';
|
|
9
|
-
import { GesdemEventService } from './gesdem/gesdem-event.service';
|
|
3
|
+
import { Observable, Subscription } from 'rxjs';
|
|
10
4
|
import { BreadcrumbEventService } from './foehn-breadcrumb/breadcrumb-event.service';
|
|
5
|
+
import { FoehnFormComponent } from './foehn-form/foehn-form.component';
|
|
6
|
+
import { GrowlBrokerService } from './foehn-growl/growl-broker.service';
|
|
7
|
+
import { FoehnNavigationService } from './foehn-navigation/foehn-navigation.service';
|
|
11
8
|
import { FoehnPageService } from './foehn-page/foehn-page.service';
|
|
9
|
+
import { GesdemEventService } from './gesdem/gesdem-event.service';
|
|
10
|
+
import { GesdemHandlerService } from './gesdem/gesdem-handler.service';
|
|
12
11
|
import { I18nForm } from './i18n-form';
|
|
13
12
|
import { SdkDictionaryService } from './sdk-dictionary/sdk-dictionary.service';
|
|
13
|
+
import { ValidationHandlerService } from './validation/validation-handler.service';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare abstract class AbstractPageComponent<T extends I18nForm> implements OnInit, OnDestroy, AfterViewInit {
|
|
16
16
|
protected activatedRoute: ActivatedRoute;
|
|
@@ -51,5 +51,5 @@ export declare abstract class AbstractPageComponent<T extends I18nForm> implemen
|
|
|
51
51
|
private gotToTop;
|
|
52
52
|
abstract newForm(): T;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPageComponent<any>, never>;
|
|
54
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPageComponent<any>, never, never, {}, {}, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPageComponent<any>, never, never, {}, {}, never, never, false, never>;
|
|
55
55
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { NgZone, OnInit } from '@angular/core';
|
|
2
2
|
import { FoehnInputNumberComponent } from '../foehn-input/foehn-input-number.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare function formatNumberAsGiven(value: string): string;
|
|
5
|
+
export declare function formatDecimalCurrency(value: string, maxDecimalCount: number, maxLength: number, allowFreeInput: boolean): string;
|
|
6
|
+
export declare function formatNonDecimalCurrency(value: string): string;
|
|
4
7
|
export declare class NumberCurrencyFormatterDirective implements OnInit {
|
|
5
8
|
private host;
|
|
6
9
|
private ngZone;
|
|
@@ -13,5 +16,5 @@ export declare class NumberCurrencyFormatterDirective implements OnInit {
|
|
|
13
16
|
private setFormatting;
|
|
14
17
|
private hasValueChanged;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberCurrencyFormatterDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberCurrencyFormatterDirective, "[numberCurrencyFormatter]", never, {}, {}, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberCurrencyFormatterDirective, "[numberCurrencyFormatter]", never, {}, {}, never, never, false, never>;
|
|
17
20
|
}
|
|
@@ -6,5 +6,5 @@ export declare class IbanFormatterDirective {
|
|
|
6
6
|
onBlur(value: string): void;
|
|
7
7
|
private formatIban;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<IbanFormatterDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IbanFormatterDirective, "[ibanFormatter]", never, {}, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbanFormatterDirective, "[ibanFormatter]", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -14,5 +14,5 @@ export declare class IdeFormatterDirective {
|
|
|
14
14
|
*/
|
|
15
15
|
private formatIde;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdeFormatterDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IdeFormatterDirective, "[ideFormatter]", never, {}, {}, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdeFormatterDirective, "[ideFormatter]", never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -21,5 +21,5 @@ export declare class NDCFormatterDirective {
|
|
|
21
21
|
*/
|
|
22
22
|
private formatNDC;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<NDCFormatterDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NDCFormatterDirective, "[ndcFormatter]", never, {}, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NDCFormatterDirective, "[ndcFormatter]", never, {}, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
Binary file
|