@dsivd/prestations-ng 18.8.0-beta.13 → 19.0.0-beta-9
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/.browserslistrc +12 -21
- package/ANGULAR_SIGNALS.md +850 -0
- package/CHANGELOG.md +366 -312
- package/COMPONENTS.md +350 -0
- package/CONTRIBUTING.md +8 -19
- package/ESLINT_MIGRATION_GUIDE.md +64 -67
- package/IAM_ACV_MIGRATION_OIDC.md +138 -0
- package/MULTI_ETAPES.md +1 -1
- package/README.md +5 -2
- package/UPGRADING_V12.md +0 -10
- package/UPGRADING_V16.md +0 -1
- package/UPGRADING_V18.md +398 -233
- package/UPGRADING_V19.md +1405 -0
- package/dsivd-prestations-ng-19.0.0-beta-9.tgz +0 -0
- package/fesm2022/dsivd-prestations-ng.mjs +9238 -10390
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/index.html +1 -1
- package/package.json +19 -18
- package/schematics/package.json +3 -0
- package/schematics/utility/add-allow-synthetic-default-imports.js +2 -2
- package/schematics/utility/add-allowed-common-js-dependencies.js +3 -3
- package/schematics/utility/foehn2-bootstrap5-migration.js +21 -21
- package/schematics/utility/migrate-to-karma-coverage.js +2 -2
- package/schematics/utility/remove-emit-decorator-metadata.js +2 -2
- package/types/dsivd-prestations-ng.d.ts +3698 -0
- package/MODULES.md +0 -371
- package/abstract-page-component.d.ts +0 -57
- package/directives/currency-formatter.directive.d.ts +0 -20
- package/directives/formatter.module.d.ts +0 -11
- package/directives/iban-formatter.directive.d.ts +0 -10
- package/directives/ide-formatter.directive.d.ts +0 -17
- package/directives/ndc-formatter.directive.d.ts +0 -24
- package/dsivd-prestations-ng-18.8.0-beta.13.tgz +0 -0
- package/foehn-address/address.type.d.ts +0 -27
- package/foehn-address/foehn-address.module.d.ts +0 -15
- package/foehn-address/foehn-display-address.component.d.ts +0 -16
- package/foehn-address/foehn-input-address.component.d.ts +0 -107
- package/foehn-address/foehn-input-foreign-locality.component.d.ts +0 -16
- package/foehn-address/foehn-input-foreign-street.component.d.ts +0 -12
- package/foehn-agenda/calendar.type.d.ts +0 -9
- package/foehn-agenda/current-week.type.d.ts +0 -5
- package/foehn-agenda/day-slots.type.d.ts +0 -5
- package/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.d.ts +0 -21
- package/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.d.ts +0 -51
- package/foehn-agenda/foehn-agenda.component.d.ts +0 -29
- package/foehn-agenda/foehn-agenda.module.d.ts +0 -17
- package/foehn-agenda/pagination-week.type.d.ts +0 -5
- package/foehn-agenda/selected-slot.type.d.ts +0 -7
- package/foehn-autocomplete/foehn-autocomplete.component.d.ts +0 -126
- package/foehn-autocomplete/foehn-autocomplete.module.d.ts +0 -13
- package/foehn-boolean/foehn-boolean-checkbox.component.d.ts +0 -6
- package/foehn-boolean/foehn-boolean-radio.component.d.ts +0 -9
- package/foehn-boolean/foehn-boolean.module.d.ts +0 -12
- package/foehn-breadcrumb/breadcrumb-event.service.d.ts +0 -48
- package/foehn-breadcrumb/breadcrumb.d.ts +0 -19
- package/foehn-breadcrumb/foehn-breadcrumb.component.d.ts +0 -30
- package/foehn-breadcrumb/foehn-breadcrumb.module.d.ts +0 -10
- package/foehn-checkables/foehn-checkable-group.component.d.ts +0 -64
- package/foehn-checkables/foehn-checkables.module.d.ts +0 -17
- package/foehn-checkables/foehn-checkbox.component.d.ts +0 -9
- package/foehn-checkables/foehn-radio.component.d.ts +0 -12
- package/foehn-checkables/foehn-select.component.d.ts +0 -22
- package/foehn-checkables/form-select-option-group.d.ts +0 -4
- package/foehn-checkables/form-select-option.d.ts +0 -5
- package/foehn-confirm-modal/foehn-confirm-modal-content.d.ts +0 -9
- package/foehn-confirm-modal/foehn-confirm-modal.component.d.ts +0 -17
- package/foehn-confirm-modal/foehn-confirm-modal.module.d.ts +0 -9
- package/foehn-confirm-modal/foehn-confirm-modal.service.d.ts +0 -18
- package/foehn-date-picker/date-picker-navigation.helper.d.ts +0 -26
- package/foehn-date-picker/date-picker.helper.d.ts +0 -30
- package/foehn-date-picker/day-month.type.d.ts +0 -8
- package/foehn-date-picker/focused-day.type.d.ts +0 -6
- package/foehn-date-picker/foehn-date-picker.component.d.ts +0 -78
- package/foehn-date-picker/foehn-date-picker.module.d.ts +0 -13
- package/foehn-date-picker/month-year.type.d.ts +0 -4
- package/foehn-date-picker-button/foehn-date-picker-button.component.d.ts +0 -31
- package/foehn-date-picker-button/foehn-date-picker-button.module.d.ts +0 -12
- package/foehn-debug-summary/foehn-debug-summary.component.d.ts +0 -21
- package/foehn-debug-summary/foehn-debug-summary.component.module.d.ts +0 -9
- package/foehn-decision-electronique/foehn-decision-electronique.component.d.ts +0 -11
- package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +0 -11
- package/foehn-dropdown-menu/dropdown-menu-group.type.d.ts +0 -5
- package/foehn-dropdown-menu/dropdown-menu-item.type.d.ts +0 -9
- package/foehn-dropdown-menu/foehn-dropdown-menu.component.d.ts +0 -42
- package/foehn-dropdown-menu/foehn-dropdown-menu.module.d.ts +0 -11
- package/foehn-feedback-notification/foehn-feedback-notification.component.d.ts +0 -32
- package/foehn-feedback-notification/foehn-feedback-notification.module.d.ts +0 -11
- package/foehn-feedback-notification/foehn-feedback-notification.type.d.ts +0 -8
- package/foehn-footer/foehn-footer.component.d.ts +0 -44
- package/foehn-footer/foehn-footer.module.d.ts +0 -9
- package/foehn-footer/footer-link.type.d.ts +0 -4
- package/foehn-form/foehn-form.component.d.ts +0 -27
- package/foehn-form/foehn-form.module.d.ts +0 -10
- package/foehn-form/register-ng-model.service.d.ts +0 -9
- package/foehn-growl/foehn-growl.component.d.ts +0 -17
- package/foehn-growl/foehn-growl.module.d.ts +0 -8
- package/foehn-growl/growl-broker.service.d.ts +0 -12
- package/foehn-growl/growl-message.d.ts +0 -7
- package/foehn-growl/growl-types.d.ts +0 -6
- package/foehn-header/foehn-header.component.d.ts +0 -47
- package/foehn-header/foehn-header.module.d.ts +0 -14
- package/foehn-header/foehn-skip-link.component.d.ts +0 -23
- package/foehn-help-modal/foehn-help-modal.component.d.ts +0 -17
- package/foehn-help-modal/foehn-help-modal.module.d.ts +0 -10
- package/foehn-help-modal/foehn-help-modal.type.d.ts +0 -13
- package/foehn-icons/abstract-icon-component.d.ts +0 -9
- package/foehn-icons/foehn-icon-calendar.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-check-square-o.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-check.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-chevron-down.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-chevron-left.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-chevron-right.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-chevron-up.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-clock.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-comment-dots.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-edit.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-external-link-alt.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-file-pdf.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-info-circle.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-lock.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-map-marker.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-minus-circle.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-pencil.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-plus-circle.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-plus-square.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-search.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-times.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-trash-alt.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-unlock-alt.component.d.ts +0 -8
- package/foehn-icons/foehn-icon-user.component.d.ts +0 -8
- package/foehn-icons/foehn-icons.module.d.ts +0 -31
- package/foehn-input/foehn-input-email.component.d.ts +0 -15
- package/foehn-input/foehn-input-hidden.component.d.ts +0 -14
- package/foehn-input/foehn-input-number.component.d.ts +0 -42
- package/foehn-input/foehn-input-password.component.d.ts +0 -12
- package/foehn-input/foehn-input-phone.component.d.ts +0 -25
- package/foehn-input/foehn-input-prefixed-text.component.d.ts +0 -26
- package/foehn-input/foehn-input-string.component.d.ts +0 -9
- package/foehn-input/foehn-input-text.component.d.ts +0 -11
- package/foehn-input/foehn-input-textarea.component.d.ts +0 -22
- package/foehn-input/foehn-input.component.d.ts +0 -127
- package/foehn-input/foehn-input.module.d.ts +0 -24
- package/foehn-input/pattern.const.d.ts +0 -11
- package/foehn-input-date/foehn-input-date.component.d.ts +0 -33
- package/foehn-input-date-time/foehn-input-date-time.component.d.ts +0 -40
- package/foehn-input-time/foehn-input-time.component.d.ts +0 -19
- package/foehn-list/foehn-list.component.d.ts +0 -27
- package/foehn-list/foehn-list.module.d.ts +0 -9
- package/foehn-list/page-change-event.d.ts +0 -5
- package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +0 -35
- package/foehn-menu-prestation/abstract-menu-page.component.d.ts +0 -13
- package/foehn-menu-prestation/abstract-page-from-menu.component.d.ts +0 -20
- package/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.d.ts +0 -12
- package/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.d.ts +0 -6
- package/foehn-menu-prestation/foehn-list-summary/foehn-list-item.d.ts +0 -5
- package/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.d.ts +0 -40
- package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.d.ts +0 -16
- package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.d.ts +0 -23
- package/foehn-menu-prestation/foehn-menu-prestation.module.d.ts +0 -18
- package/foehn-misc/foehn-abbr.component.d.ts +0 -7
- package/foehn-misc/foehn-misc.module.d.ts +0 -7
- package/foehn-modal/foehn-modal.component.d.ts +0 -24
- package/foehn-modal/foehn-modal.module.d.ts +0 -11
- package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +0 -54
- package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.d.ts +0 -13
- package/foehn-nav13/foehn-input-nav13.component.d.ts +0 -20
- package/foehn-nav13/foehn-input-nav13.module.d.ts +0 -11
- package/foehn-navigation/abstract-foehn-navigation.component.d.ts +0 -19
- package/foehn-navigation/foehn-navigation/foehn-navigation.component.d.ts +0 -22
- package/foehn-navigation/foehn-navigation.module.d.ts +0 -13
- package/foehn-navigation/foehn-navigation.service.d.ts +0 -69
- package/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.d.ts +0 -8
- package/foehn-notfound/foehn-notfound.component.d.ts +0 -19
- package/foehn-notfound/foehn-notfound.module.d.ts +0 -10
- package/foehn-page/foehn-page-counter.component.d.ts +0 -15
- package/foehn-page/foehn-page-expiration-timer/current-session-expiration.d.ts +0 -5
- package/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.d.ts +0 -15
- package/foehn-page/foehn-page-expiration-timer/demande-expiration.service.d.ts +0 -16
- package/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.d.ts +0 -36
- package/foehn-page/foehn-page-expiration-timer/interval.helper.d.ts +0 -3
- package/foehn-page/foehn-page-modal.component.d.ts +0 -23
- package/foehn-page/foehn-page-modal.service.d.ts +0 -12
- package/foehn-page/foehn-page.component.d.ts +0 -80
- package/foehn-page/foehn-page.module.d.ts +0 -24
- package/foehn-page/foehn-page.service.d.ts +0 -19
- package/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.d.ts +0 -16
- package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.d.ts +0 -11
- package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.d.ts +0 -11
- package/foehn-recap-section/foehn-recap-section.component.d.ts +0 -21
- package/foehn-recap-section/foehn-recap-section.module.d.ts +0 -10
- package/foehn-recap-section/foehn-recap-section.type.d.ts +0 -17
- package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +0 -20
- package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.d.ts +0 -8
- package/foehn-status-progress-bar/foehn-status-progress-bar.component.d.ts +0 -23
- package/foehn-status-progress-bar/foehn-status-progress-bar.module.d.ts +0 -10
- package/foehn-table/foehn-table-column-configuration.d.ts +0 -14
- package/foehn-table/foehn-table-page-change-event.d.ts +0 -5
- package/foehn-table/foehn-table.component.d.ts +0 -40
- package/foehn-table/foehn-table.module.d.ts +0 -13
- package/foehn-table/row-element.type.d.ts +0 -4
- package/foehn-table/tableSort.d.ts +0 -4
- package/foehn-upload/abstract-foehn-uploader.component.d.ts +0 -68
- package/foehn-upload/document-reference.d.ts +0 -12
- package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +0 -27
- package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.d.ts +0 -11
- package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +0 -38
- package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.d.ts +0 -13
- package/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.d.ts +0 -42
- package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +0 -13
- package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +0 -29
- package/foehn-upload/foehn-multi-upload/multi-upload.type.d.ts +0 -11
- package/foehn-upload/foehn-multi-upload/pending-upload.service.d.ts +0 -26
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +0 -38
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +0 -14
- package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +0 -22
- package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +0 -11
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +0 -19
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +0 -6
- package/foehn-upload/page-upload-limit.service.d.ts +0 -22
- package/foehn-upload/pending-upload.type.d.ts +0 -9
- package/foehn-upload/uploader.helper.d.ts +0 -66
- package/foehn-user-connected-as/foehn-user-connected-as.component.d.ts +0 -12
- package/foehn-user-connected-as/foehn-user-connected-as.module.d.ts +0 -9
- package/foehn-validation-alert-summary/foehn-validation-alert-summary.component.d.ts +0 -20
- package/foehn-validation-alert-summary/foehn-validation-alert-summary.module.d.ts +0 -9
- package/foehn-validation-alerts/foehn-validation-alerts.component.d.ts +0 -14
- package/foehn-validation-alerts/foehn-validation-alerts.module.d.ts +0 -8
- package/form-error.d.ts +0 -5
- package/form-post-response.d.ts +0 -19
- package/gesdem/gesdem-error-handler.service.d.ts +0 -22
- package/gesdem/gesdem-event.service.d.ts +0 -16
- package/gesdem/gesdem-handler.service.d.ts +0 -52
- package/gesdem/gesdem-loader.guard.d.ts +0 -2
- package/gesdem/gesdem-statut-utils.d.ts +0 -12
- package/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.d.ts +0 -39
- package/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.d.ts +0 -59
- package/gesdem-action-recovery/gesdem-action-recovery.module.d.ts +0 -17
- package/gesdem-action-recovery/gesdem-action-recovery.service.d.ts +0 -24
- package/gesdem-action-recovery/reprise-info.d.ts +0 -6
- package/gesdem-confirmation/gesdem-confirmation.component.d.ts +0 -65
- package/gesdem-confirmation/gesdem-confirmation.module.d.ts +0 -12
- package/gesdem-error/gesdem-error.component.d.ts +0 -34
- package/gesdem-error/gesdem-error.module.d.ts +0 -12
- package/global.const.d.ts +0 -1
- package/helpers/demande.helper.d.ts +0 -3
- package/helpers/object.helper.d.ts +0 -30
- package/i18n-form.d.ts +0 -5
- package/index.d.ts +0 -5
- package/pipes/currency.pipe.d.ts +0 -10
- package/pipes/date.pipe.d.ts +0 -12
- package/pipes/formatIde.pipe.d.ts +0 -7
- package/pipes/pipes.module.d.ts +0 -9
- package/prestations-ng-core.module.d.ts +0 -12
- package/public-api.d.ts +0 -238
- package/refinf/model/address-type-light.d.ts +0 -5
- package/refinf/model/canton.d.ts +0 -4
- package/refinf/model/district.d.ts +0 -7
- package/refinf/model/municipality.d.ts +0 -9
- package/refinf/model/place-of-origin.d.ts +0 -9
- package/refinf/model/postal-locality.d.ts +0 -11
- package/sdk-appinfo/application-info.d.ts +0 -61
- package/sdk-appinfo/application-info.service.d.ts +0 -32
- package/sdk-currency/currency.helper.d.ts +0 -9
- package/sdk-date/date.helper.d.ts +0 -20
- package/sdk-dictionary/default-dictionary.d.ts +0 -2
- package/sdk-dictionary/sdk-dictionary.module.d.ts +0 -7
- package/sdk-dictionary/sdk-dictionary.pipe.d.ts +0 -12
- package/sdk-dictionary/sdk-dictionary.service.d.ts +0 -44
- package/sdk-drafts/draft.model.d.ts +0 -5
- package/sdk-drafts/drafts-container.component.d.ts +0 -33
- package/sdk-drafts/drafts.module.d.ts +0 -14
- package/sdk-drafts/drafts.service.d.ts +0 -20
- package/sdk-epayment/model/EPaymentParameters.d.ts +0 -21
- package/sdk-epayment/pending-payment/pending-payment.component.d.ts +0 -9
- package/sdk-epayment/sdk-epayment.component.d.ts +0 -33
- package/sdk-epayment/sdk-epayment.module.d.ts +0 -11
- package/sdk-epayment/sdk-epayment.service.d.ts +0 -21
- package/sdk-events-logger/sdk-event-type.d.ts +0 -12
- package/sdk-events-logger/sdk-event.d.ts +0 -8
- package/sdk-events-logger/sdk-events-logger.service.d.ts +0 -18
- package/sdk-recaptcha/grecaptcha/grecaptcha.component.d.ts +0 -39
- package/sdk-recaptcha/recaptcha.service.d.ts +0 -44
- package/sdk-recaptcha/sdk-recaptcha.component.d.ts +0 -27
- package/sdk-recaptcha/sdk-recaptcha.module.d.ts +0 -9
- package/sdk-redirect/iam-expired-interceptor.service.d.ts +0 -12
- package/sdk-redirect/redirect.component.d.ts +0 -22
- package/sdk-redirect/sdk-redirect.module.d.ts +0 -9
- package/sdk-session-info/session-info-data.d.ts +0 -29
- package/sdk-session-info/session-info-with-application.service.d.ts +0 -20
- package/sdk-session-info/session-info.service.d.ts +0 -17
- package/sdk-statistics/sdk-statistics.service.d.ts +0 -24
- package/sdk-support-alert/support-alert-container.component.d.ts +0 -20
- package/sdk-support-alert/support-alert.component.d.ts +0 -12
- package/sdk-support-alert/support-alert.model.d.ts +0 -12
- package/sdk-support-alert/support-alert.module.d.ts +0 -10
- package/sdk-support-alert/support-alert.service.d.ts +0 -34
- package/service-locator.d.ts +0 -4
- package/supported-browser.d.ts +0 -1
- package/validation/validation-handler.service.d.ts +0 -15
package/MODULES.md
DELETED
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
# List of modules provided by prestations-ng
|
|
2
|
-
|
|
3
|
-
Below is a list of all the components and features and their corresponding modules.
|
|
4
|
-
|
|
5
|
-
To import in `*.module.ts`, such as `app.module.ts` or your page module if the
|
|
6
|
-
prestation implements route-based code splitting.
|
|
7
|
-
|
|
8
|
-
## All the modules
|
|
9
|
-
|
|
10
|
-
[PrestationsNgModule](projects/prestations-ng/src/prestations-ng-core.module.ts)
|
|
11
|
-
|
|
12
|
-
All the features and components can be imported using one module: `PrestationsNgModule`.
|
|
13
|
-
|
|
14
|
-
```javascript
|
|
15
|
-
// app.module.ts
|
|
16
|
-
imports: [
|
|
17
|
-
...
|
|
18
|
-
PrestationsNgModule,
|
|
19
|
-
...
|
|
20
|
-
],
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
This will however stop Angular CLI to tree shake bits of prestations-ng you're not using.
|
|
24
|
-
This is therefore not the recommended approach. It is available for backward
|
|
25
|
-
compatibility.
|
|
26
|
-
|
|
27
|
-
Provides all the modules below.
|
|
28
|
-
|
|
29
|
-
## Core (required)
|
|
30
|
-
|
|
31
|
-
[PrestationsNgCoreModule](projects/prestations-ng/src/prestations-ng-core.module.ts)
|
|
32
|
-
|
|
33
|
-
Integration with GesDem and core features.
|
|
34
|
-
|
|
35
|
-
**IMPORTANT** This module _MUST_ be included in `app.module.ts`.
|
|
36
|
-
|
|
37
|
-
Provides:
|
|
38
|
-
|
|
39
|
-
- `GesdemHandlerServiceFactoryProvider`
|
|
40
|
-
- `GesdemEventService`
|
|
41
|
-
- `ValidationHandlerService`
|
|
42
|
-
- `SessionInfoFactoryProvider`
|
|
43
|
-
- `ApplicationInfoService`
|
|
44
|
-
- `IamInterceptorServiceExistingProvider`
|
|
45
|
-
- `IamInterceptorServiceFactoryProvider`
|
|
46
|
-
|
|
47
|
-
```javascript
|
|
48
|
-
// app.module.ts
|
|
49
|
-
imports: [
|
|
50
|
-
...
|
|
51
|
-
PrestationsNgCoreModule,
|
|
52
|
-
...
|
|
53
|
-
],
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Formatter Directives
|
|
57
|
-
|
|
58
|
-
[FormatterModule](projects/prestations-ng/src/directives/formatter.module.ts)
|
|
59
|
-
|
|
60
|
-
Provides the following directives:
|
|
61
|
-
|
|
62
|
-
- `currencyFormatter`
|
|
63
|
-
- `ndcFormatter`
|
|
64
|
-
- `numberCurrencyFormatter`
|
|
65
|
-
- `ideFormatter`
|
|
66
|
-
- `ndcFormatter`
|
|
67
|
-
|
|
68
|
-
## Common Pipes
|
|
69
|
-
|
|
70
|
-
[PipeModule](projects/prestations-ng/src/pipes/pipes.module.ts)
|
|
71
|
-
|
|
72
|
-
Provides the following pipes:
|
|
73
|
-
|
|
74
|
-
- `displayDate`
|
|
75
|
-
- `formatIde`
|
|
76
|
-
|
|
77
|
-
## Foehn Input
|
|
78
|
-
|
|
79
|
-
[FoehnInputModule](projects/prestations-ng/src/foehn-input/foehn-input.module.ts)
|
|
80
|
-
|
|
81
|
-
Exports:
|
|
82
|
-
|
|
83
|
-
- `foehn-input-text`
|
|
84
|
-
- `foehn-input-number`
|
|
85
|
-
- `foehn-input-email`
|
|
86
|
-
- `foehn-input-hidden`
|
|
87
|
-
- `foehn-input-password`
|
|
88
|
-
- `foehn-input-textarea`
|
|
89
|
-
- `foehn-input-phone`
|
|
90
|
-
- `foehn-date`
|
|
91
|
-
- `foehn-time`
|
|
92
|
-
|
|
93
|
-
## Foehn Checkable
|
|
94
|
-
|
|
95
|
-
[FoehnCheckablesModule](projects/prestations-ng/src/foehn-checkables/foehn-checkables.module.ts)
|
|
96
|
-
|
|
97
|
-
Exports:
|
|
98
|
-
|
|
99
|
-
- `foehn-checkbox` (multiple only, for a simple checkbox use `foehn-boolean-checkbox`)
|
|
100
|
-
- `foehn-radio`
|
|
101
|
-
- `foehn-select`
|
|
102
|
-
|
|
103
|
-
## Foehn Autocomplete
|
|
104
|
-
|
|
105
|
-
[FoehnAutocompleteModule](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.module.ts)
|
|
106
|
-
|
|
107
|
-
Exports:
|
|
108
|
-
|
|
109
|
-
- `foehn-autocomplete`
|
|
110
|
-
|
|
111
|
-
## Foehn Address
|
|
112
|
-
|
|
113
|
-
[FoehnAddressModule](projects/prestations-ng/src/foehn-address/foehn-address.module.ts)
|
|
114
|
-
|
|
115
|
-
Exports:
|
|
116
|
-
|
|
117
|
-
- `foehn-input-address`
|
|
118
|
-
- `foehn-display-address`
|
|
119
|
-
- `foehn-input-foreign-locality`
|
|
120
|
-
- `foehn-input-foreign-street`
|
|
121
|
-
|
|
122
|
-
## Foehn Boolean
|
|
123
|
-
|
|
124
|
-
[FoehnBooleanModule](projects/prestations-ng/src/foehn-boolean/foehn-boolean.module.ts)
|
|
125
|
-
|
|
126
|
-
Exports:
|
|
127
|
-
|
|
128
|
-
- `foehn-boolean-checkbox`
|
|
129
|
-
- `foehn-boolean-radio`
|
|
130
|
-
|
|
131
|
-
## Foehn Breadcrumb
|
|
132
|
-
|
|
133
|
-
[FoehnBreadcrumbModule](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.module.ts)
|
|
134
|
-
|
|
135
|
-
Exports:
|
|
136
|
-
|
|
137
|
-
- `foehn-breadcrumb`
|
|
138
|
-
|
|
139
|
-
## Foehn Header
|
|
140
|
-
|
|
141
|
-
[FoehnHeaderModule](projects/prestations-ng/src/foehn-header/foehn-header.module.ts)
|
|
142
|
-
|
|
143
|
-
Exports:
|
|
144
|
-
|
|
145
|
-
- `foehn-header`
|
|
146
|
-
- `foehn-skip-link`
|
|
147
|
-
|
|
148
|
-
## Foehn Footer
|
|
149
|
-
|
|
150
|
-
[FoehnFooterModule](projects/prestations-ng/src/foehn-footer/foehn-footer.module.ts)
|
|
151
|
-
|
|
152
|
-
Exports:
|
|
153
|
-
|
|
154
|
-
- `foehn-footer`
|
|
155
|
-
|
|
156
|
-
## Foehn Form
|
|
157
|
-
|
|
158
|
-
[FoehnFormModule](projects/prestations-ng/src/foehn-form/foehn-form.module.ts)
|
|
159
|
-
|
|
160
|
-
Exports:
|
|
161
|
-
|
|
162
|
-
- `foehn-form`
|
|
163
|
-
|
|
164
|
-
## Foehn Growl
|
|
165
|
-
|
|
166
|
-
[FoehnGrowlModule](projects/prestations-ng/src/foehn-growl/foehn-growl.module.ts)
|
|
167
|
-
|
|
168
|
-
Exports:
|
|
169
|
-
|
|
170
|
-
- `foehn-growl`
|
|
171
|
-
|
|
172
|
-
## Foehn Icons
|
|
173
|
-
|
|
174
|
-
[FoehnIconsModule](projects/prestations-ng/src/foehn-icons/foehn-icons.module.ts)
|
|
175
|
-
|
|
176
|
-
Exports:
|
|
177
|
-
|
|
178
|
-
- `foehn-icon-check`
|
|
179
|
-
- `foehn-icon-check-square-o`
|
|
180
|
-
- `foehn-icon-chevron-down`
|
|
181
|
-
- `foehn-icon-chevron-up`
|
|
182
|
-
- `foehn-icon-chevron-right`
|
|
183
|
-
- `foehn-icon-chevron-left`
|
|
184
|
-
- `foehn-icon-clock`
|
|
185
|
-
- `foehn-icon-comment-dots`
|
|
186
|
-
- `foehn-icon-edit`
|
|
187
|
-
- `foehn-icon-external-link-alt`
|
|
188
|
-
- `foehn-icon-info-circle`
|
|
189
|
-
- `foehn-icon-lock`
|
|
190
|
-
- `foehn-icon-map-marker`
|
|
191
|
-
- `foehn-icon-minus-circle`
|
|
192
|
-
- `foehn-icon-plus-circle`
|
|
193
|
-
- `foehn-icon-plus-square`
|
|
194
|
-
- `foehn-icon-search`
|
|
195
|
-
- `foehn-icon-times`
|
|
196
|
-
- `foehn-icon-trash-alt`
|
|
197
|
-
- `foehn-icon-unlock-alt`
|
|
198
|
-
- `foehn-icon-file-pdf`
|
|
199
|
-
|
|
200
|
-
## Foehn List
|
|
201
|
-
|
|
202
|
-
[FoehnListModule](projects/prestations-ng/src/foehn-list/foehn-list.module.ts)
|
|
203
|
-
|
|
204
|
-
Exports:
|
|
205
|
-
|
|
206
|
-
- `foehn-list`
|
|
207
|
-
|
|
208
|
-
## Foehn Modal
|
|
209
|
-
|
|
210
|
-
[FoehnModalModule](projects/prestations-ng/src/foehn-modal/foehn-modal.module.ts)
|
|
211
|
-
|
|
212
|
-
Exports:
|
|
213
|
-
|
|
214
|
-
- `foehn-modal`
|
|
215
|
-
|
|
216
|
-
## Foehn Help Modal
|
|
217
|
-
|
|
218
|
-
A modal with a trigger button
|
|
219
|
-
|
|
220
|
-
[FoehnHelpModalModule](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.module.ts)
|
|
221
|
-
|
|
222
|
-
Exports:
|
|
223
|
-
|
|
224
|
-
- `foehn-help-modal`
|
|
225
|
-
|
|
226
|
-
## Foehn Input Nav13 (AVS)
|
|
227
|
-
|
|
228
|
-
[FoehnInputNav13Module](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.module.ts)
|
|
229
|
-
|
|
230
|
-
Exports:
|
|
231
|
-
|
|
232
|
-
- `foehn-input-nav13`
|
|
233
|
-
|
|
234
|
-
## Foehn Navigation
|
|
235
|
-
|
|
236
|
-
[FoehnNavigationModule](projects/prestations-ng/src/foehn-navigation/foehn-navigation.module.ts)
|
|
237
|
-
|
|
238
|
-
Exports:
|
|
239
|
-
|
|
240
|
-
- `foehn-navigation`
|
|
241
|
-
|
|
242
|
-
## Foehn Not Found
|
|
243
|
-
|
|
244
|
-
[FoehnNotFoundModule](projects/prestations-ng/src/foehn-notfound/foehn-notfound.module.ts)
|
|
245
|
-
|
|
246
|
-
Exports:
|
|
247
|
-
|
|
248
|
-
- `foehn-notfound`
|
|
249
|
-
- `FoehnNotfoundComponent` (can be used in the router)
|
|
250
|
-
|
|
251
|
-
## Foehn Page
|
|
252
|
-
|
|
253
|
-
[FoehnPageModule](projects/prestations-ng/src/foehn-page/foehn-page.module.ts)
|
|
254
|
-
|
|
255
|
-
Exports:
|
|
256
|
-
|
|
257
|
-
- `foehn-page`
|
|
258
|
-
- `foehn-page-counter`
|
|
259
|
-
|
|
260
|
-
## Foehn Remaining Alerts Summary
|
|
261
|
-
|
|
262
|
-
[FoehnRemainingAlertsSummaryModule](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.ts)
|
|
263
|
-
|
|
264
|
-
Exports:
|
|
265
|
-
|
|
266
|
-
- `foehn-remaining-alerts-summary`
|
|
267
|
-
|
|
268
|
-
## Foehn Multi Upload
|
|
269
|
-
|
|
270
|
-
[FoehnMultiUploadModule](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.ts)
|
|
271
|
-
|
|
272
|
-
Exports:
|
|
273
|
-
|
|
274
|
-
- `foehn-multi-upload`
|
|
275
|
-
|
|
276
|
-
## Foehn Validation Alert Summary
|
|
277
|
-
|
|
278
|
-
[FoehnValidationAlertSummaryModule](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.module.ts)
|
|
279
|
-
|
|
280
|
-
Exports:
|
|
281
|
-
|
|
282
|
-
- `foehn-validation-alert-summary`
|
|
283
|
-
|
|
284
|
-
## Foehn Validation Alerts
|
|
285
|
-
|
|
286
|
-
[FoehnValidationAlertsModule](projects/prestations-ng/src/foehn-validation-alerts/foehn-validation-alerts.module.ts)
|
|
287
|
-
|
|
288
|
-
Exports:
|
|
289
|
-
|
|
290
|
-
- `foehn-validation-alerts`
|
|
291
|
-
|
|
292
|
-
## GesDem Confirmation Page
|
|
293
|
-
|
|
294
|
-
[GesdemConfirmationModule](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.module.ts)
|
|
295
|
-
|
|
296
|
-
Exports:
|
|
297
|
-
|
|
298
|
-
- `gesdem-confirmation`
|
|
299
|
-
- `GesdemConfirmationComponent` (can be used in the router or as a super-class)
|
|
300
|
-
|
|
301
|
-
## GesDem Error Page
|
|
302
|
-
|
|
303
|
-
[GesdemErrorModule](projects/prestations-ng/src/gesdem-error/gesdem-error.module.ts)
|
|
304
|
-
|
|
305
|
-
Exports:
|
|
306
|
-
|
|
307
|
-
- `gesdem-error`
|
|
308
|
-
- `GesdemErrorComponent` (can be used in the router)
|
|
309
|
-
|
|
310
|
-
## SDK Dictionary
|
|
311
|
-
|
|
312
|
-
[SdkDictionaryModule](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.module.ts)
|
|
313
|
-
|
|
314
|
-
Provides:
|
|
315
|
-
|
|
316
|
-
- `SdkDictionaryService`
|
|
317
|
-
|
|
318
|
-
Provides the pipe:
|
|
319
|
-
|
|
320
|
-
- `fromDictionary`
|
|
321
|
-
|
|
322
|
-
## SDK Captcha
|
|
323
|
-
|
|
324
|
-
[SdkRecaptchaModule](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.module.ts)
|
|
325
|
-
|
|
326
|
-
Exports:
|
|
327
|
-
|
|
328
|
-
- `captcha`
|
|
329
|
-
|
|
330
|
-
## SDK Redirect
|
|
331
|
-
|
|
332
|
-
[SdkRedirectModule](projects/prestations-ng/src/sdk-redirect/sdk-redirect.module.ts)
|
|
333
|
-
|
|
334
|
-
Exports:
|
|
335
|
-
|
|
336
|
-
- `redirector`
|
|
337
|
-
|
|
338
|
-
## Foehn Recap Section
|
|
339
|
-
|
|
340
|
-
[FoehnRecapSectionModule](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.module.ts)
|
|
341
|
-
|
|
342
|
-
Exports:
|
|
343
|
-
|
|
344
|
-
- `foehn-recap-section`
|
|
345
|
-
|
|
346
|
-
## Foehn User Connected As
|
|
347
|
-
|
|
348
|
-
[FoehnUserConnectedAdModule](projects/prestations-ng/src/foehn-user-connected-as/foehn-user-connected-as.module.ts)
|
|
349
|
-
|
|
350
|
-
Exports:
|
|
351
|
-
|
|
352
|
-
- `foehn-user-connected-as`
|
|
353
|
-
|
|
354
|
-
## Foehn Miscellaneous
|
|
355
|
-
|
|
356
|
-
[FoehnMiscModule](projects/prestations-ng/src/foehn-misc/foehn-misc.module.ts)
|
|
357
|
-
|
|
358
|
-
Exports:
|
|
359
|
-
|
|
360
|
-
- `foehn-abbr`
|
|
361
|
-
|
|
362
|
-
## Foehn Menu prestations
|
|
363
|
-
|
|
364
|
-
[FoehnMenuPrestationModule](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-prestation.module.ts)
|
|
365
|
-
|
|
366
|
-
Exports:
|
|
367
|
-
|
|
368
|
-
- `foehn-error-pill`
|
|
369
|
-
- `foehn-menu-item`
|
|
370
|
-
- `foehn-menu-item-transmit`
|
|
371
|
-
- `foehn-list-summary`
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { Observable, Subscription } from 'rxjs';
|
|
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';
|
|
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';
|
|
11
|
-
import { I18nForm } from './i18n-form';
|
|
12
|
-
import { SdkDictionaryService } from './sdk-dictionary/sdk-dictionary.service';
|
|
13
|
-
import { SdkEventsLoggerService } from './sdk-events-logger/sdk-events-logger.service';
|
|
14
|
-
import { ValidationHandlerService } from './validation/validation-handler.service';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
export declare abstract class AbstractPageComponent<T extends I18nForm> implements OnInit, OnDestroy, AfterViewInit {
|
|
17
|
-
protected activatedRoute: ActivatedRoute;
|
|
18
|
-
foehnFormComponent: FoehnFormComponent;
|
|
19
|
-
form: T;
|
|
20
|
-
reference: string;
|
|
21
|
-
protected pageTitleSubscription: Subscription;
|
|
22
|
-
protected updateFormDataSubjectSubscription: Subscription;
|
|
23
|
-
protected attachmentsSingleUploadedSubscription: Subscription;
|
|
24
|
-
protected attachmentsMultiUploadedSubscription: Subscription;
|
|
25
|
-
protected saveFormRequestSubscription: Subscription;
|
|
26
|
-
protected _gesdemService: GesdemHandlerService;
|
|
27
|
-
protected _gesdemEventService: GesdemEventService;
|
|
28
|
-
protected _navigation: FoehnNavigationService;
|
|
29
|
-
protected _activatedRoute: ActivatedRoute;
|
|
30
|
-
protected _growlService: GrowlBrokerService;
|
|
31
|
-
protected _validationHandlerService: ValidationHandlerService;
|
|
32
|
-
protected _breadcrumbEventService: BreadcrumbEventService;
|
|
33
|
-
protected _foehnPageService: FoehnPageService;
|
|
34
|
-
protected _dictionaryService: SdkDictionaryService;
|
|
35
|
-
protected _eventsLoggerService: SdkEventsLoggerService;
|
|
36
|
-
private _pendingUploadService;
|
|
37
|
-
private _formInitSubscription;
|
|
38
|
-
private _currentLangSubscription;
|
|
39
|
-
private _transmitConcurrentSafe;
|
|
40
|
-
private _gesdemSaveSubscription;
|
|
41
|
-
constructor(activatedRoute: ActivatedRoute);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngAfterViewInit(): void;
|
|
44
|
-
ngOnDestroy(): void;
|
|
45
|
-
send(goToNextPage?: boolean, displaySuccessMessage?: boolean): void;
|
|
46
|
-
transmit(): void;
|
|
47
|
-
sendAndTransmit(displaySuccessMessage?: boolean): void;
|
|
48
|
-
previous(): void;
|
|
49
|
-
protected setPageTitle(pageTitle: string): void;
|
|
50
|
-
protected setPageTitleAsync(pageTitle: Observable<string>): void;
|
|
51
|
-
protected onFormSent(goToNextPage: boolean): void;
|
|
52
|
-
private checkHasPendingsFilesBeforeTransmit;
|
|
53
|
-
private gotToTop;
|
|
54
|
-
abstract newForm(): T;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPageComponent<any>, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPageComponent<any>, never, never, {}, {}, never, never, true, never>;
|
|
57
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgZone, OnInit } from '@angular/core';
|
|
2
|
-
import { FoehnInputNumberComponent } from '../foehn-input/foehn-input-number.component';
|
|
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;
|
|
7
|
-
export declare class NumberCurrencyFormatterDirective implements OnInit {
|
|
8
|
-
private host;
|
|
9
|
-
private ngZone;
|
|
10
|
-
private hasFocus;
|
|
11
|
-
constructor(host: FoehnInputNumberComponent, ngZone: NgZone);
|
|
12
|
-
onBlur(value: string): void;
|
|
13
|
-
onFocus(value: string): void;
|
|
14
|
-
onModelChange(value: string): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
private setFormatting;
|
|
17
|
-
private hasValueChanged;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberCurrencyFormatterDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberCurrencyFormatterDirective, "[numberCurrencyFormatter]", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ndc-formatter.directive";
|
|
3
|
-
import * as i2 from "./currency-formatter.directive";
|
|
4
|
-
import * as i3 from "./ide-formatter.directive";
|
|
5
|
-
import * as i4 from "./iban-formatter.directive";
|
|
6
|
-
import * as i5 from "../foehn-input/foehn-input.module";
|
|
7
|
-
export declare class FormatterModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormatterModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormatterModule, [typeof i1.NDCFormatterDirective, typeof i2.NumberCurrencyFormatterDirective, typeof i3.IdeFormatterDirective, typeof i4.IbanFormatterDirective], [typeof i5.FoehnInputModule], [typeof i1.NDCFormatterDirective, typeof i2.NumberCurrencyFormatterDirective, typeof i3.IdeFormatterDirective, typeof i4.IbanFormatterDirective]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormatterModule>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FoehnInputTextComponent } from '../foehn-input/foehn-input-text.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IbanFormatterDirective {
|
|
4
|
-
private host;
|
|
5
|
-
constructor(host: FoehnInputTextComponent);
|
|
6
|
-
onBlur(value: string): void;
|
|
7
|
-
private formatIban;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IbanFormatterDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IbanFormatterDirective, "[ibanFormatter]", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FoehnInputTextComponent } from '../foehn-input/foehn-input-text.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IdeFormatterDirective {
|
|
4
|
-
private host;
|
|
5
|
-
constructor(host: FoehnInputTextComponent);
|
|
6
|
-
onBlur(value: string): void;
|
|
7
|
-
/**
|
|
8
|
-
* Formats ide
|
|
9
|
-
*
|
|
10
|
-
* CHE123456789 >> CHE-123.456.789
|
|
11
|
-
* @param value as ide
|
|
12
|
-
* @returns string
|
|
13
|
-
*/
|
|
14
|
-
private formatIde;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IdeFormatterDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IdeFormatterDirective, "[ideFormatter]", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FoehnInputTextComponent } from '../foehn-input/foehn-input-text.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NDCFormatterDirective {
|
|
4
|
-
private host;
|
|
5
|
-
constructor(host: FoehnInputTextComponent);
|
|
6
|
-
onBlur(value: string): void;
|
|
7
|
-
/**
|
|
8
|
-
* Format the tax payer number following this pattern:
|
|
9
|
-
*
|
|
10
|
-
* 1 – 9 => X
|
|
11
|
-
* 10 - 99 => XX
|
|
12
|
-
* 100 - 999 => X.XX
|
|
13
|
-
* 1’000 - 9’999 => XX.XX
|
|
14
|
-
* 10’000 - 99’999 => XXX.XX
|
|
15
|
-
* 100'000 - 999'999 => X.XXX.XX
|
|
16
|
-
* 1'000'000 - 9’999'999 => XX.XXX.XX
|
|
17
|
-
* 10'000'000 - 99'999'999 => XXX.XXX.XX
|
|
18
|
-
* @param value as numero de contribuable
|
|
19
|
-
* @returns string
|
|
20
|
-
*/
|
|
21
|
-
private formatNDC;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NDCFormatterDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NDCFormatterDirective, "[ndcFormatter]", never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
Binary file
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare class Street {
|
|
2
|
-
estrid?: string;
|
|
3
|
-
longName: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class Locality {
|
|
6
|
-
postalLocalityHistoryId?: string;
|
|
7
|
-
zipCode?: string;
|
|
8
|
-
longName?: string;
|
|
9
|
-
zipCodeId?: string;
|
|
10
|
-
municipalityId?: number;
|
|
11
|
-
cantonCode?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class Country {
|
|
14
|
-
iso2Id: string;
|
|
15
|
-
shortNameFr: string;
|
|
16
|
-
}
|
|
17
|
-
export declare class Address {
|
|
18
|
-
addressLine1?: string;
|
|
19
|
-
addressLine2?: string;
|
|
20
|
-
postOfficeBoxText?: string;
|
|
21
|
-
postOfficeBoxNumber?: string;
|
|
22
|
-
street?: Street;
|
|
23
|
-
houseNumber?: string;
|
|
24
|
-
dwellingNumber?: string;
|
|
25
|
-
locality?: Locality;
|
|
26
|
-
country?: Country;
|
|
27
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./foehn-input-address.component";
|
|
3
|
-
import * as i2 from "./foehn-display-address.component";
|
|
4
|
-
import * as i3 from "./foehn-input-foreign-locality.component";
|
|
5
|
-
import * as i4 from "./foehn-input-foreign-street.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "../sdk-dictionary/sdk-dictionary.module";
|
|
8
|
-
import * as i7 from "../foehn-autocomplete/foehn-autocomplete.module";
|
|
9
|
-
import * as i8 from "../foehn-input/foehn-input.module";
|
|
10
|
-
import * as i9 from "../foehn-validation-alerts/foehn-validation-alerts.module";
|
|
11
|
-
export declare class FoehnAddressModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnAddressModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnAddressModule, [typeof i1.FoehnInputAddressComponent, typeof i2.FoehnDisplayAddressComponent, typeof i3.FoehnInputForeignLocalityComponent, typeof i4.FoehnInputForeignStreetComponent], [typeof i5.CommonModule, typeof i6.SdkDictionaryModule, typeof i7.FoehnAutocompleteModule, typeof i8.FoehnInputModule, typeof i9.FoehnValidationAlertsModule], [typeof i1.FoehnInputAddressComponent, typeof i2.FoehnDisplayAddressComponent, typeof i3.FoehnInputForeignLocalityComponent, typeof i4.FoehnInputForeignStreetComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FoehnAddressModule>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Address } from './address.type';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FoehnDisplayAddressComponent {
|
|
4
|
-
address: Address;
|
|
5
|
-
/**
|
|
6
|
-
* Get the address lines formatted.
|
|
7
|
-
*
|
|
8
|
-
* ref. https://portail.etat-de-vaud.ch/outils/dsiwiki/display/Cyberadministration/Gestion+des+adresses+dans+ES
|
|
9
|
-
* Model Address explication: https://portail.etat-de-vaud.ch/outils/dsiwiki/pages/viewpage.action?pageId=747765834
|
|
10
|
-
* @param address as Address
|
|
11
|
-
* @returns any[]
|
|
12
|
-
*/
|
|
13
|
-
getLines(address: Address): any[];
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnDisplayAddressComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnDisplayAddressComponent, "foehn-display-address", never, { "address": { "alias": "address"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FoehnAutocompleteComponent } from '../foehn-autocomplete/foehn-autocomplete.component';
|
|
5
|
-
import { FoehnInputComponent } from '../foehn-input/foehn-input.component';
|
|
6
|
-
import { FoehnInputTextComponent } from '../foehn-input/foehn-input-text.component';
|
|
7
|
-
import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
|
|
8
|
-
import { Address, Country, Locality, Street } from './address.type';
|
|
9
|
-
import { FoehnInputForeignLocalityComponent } from './foehn-input-foreign-locality.component';
|
|
10
|
-
import { FoehnInputForeignStreetComponent } from './foehn-input-foreign-street.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare const SWISS_ISO_ID = "CH";
|
|
13
|
-
export declare class StreetNumber {
|
|
14
|
-
name: string;
|
|
15
|
-
}
|
|
16
|
-
export declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> implements OnInit, OnChanges, OnDestroy {
|
|
17
|
-
private httpClient;
|
|
18
|
-
private dictionaryService;
|
|
19
|
-
foreignLocalityComponent: FoehnInputForeignLocalityComponent;
|
|
20
|
-
foreignStreetComponent: FoehnInputForeignStreetComponent;
|
|
21
|
-
foreignHouseNumber: FoehnInputTextComponent;
|
|
22
|
-
countryAutocomplete: FoehnAutocompleteComponent;
|
|
23
|
-
countriesUrl: string;
|
|
24
|
-
isOnlySwiss: boolean;
|
|
25
|
-
showPostOfficeBoxText: boolean;
|
|
26
|
-
showAdressLines: boolean;
|
|
27
|
-
showAdressLine1: boolean;
|
|
28
|
-
showAdressLine2: boolean;
|
|
29
|
-
specifiedCanton: string;
|
|
30
|
-
countryRequired: boolean;
|
|
31
|
-
swissNpaLocalityRequired: boolean;
|
|
32
|
-
streetRequired: boolean;
|
|
33
|
-
streetNumberRequired: boolean;
|
|
34
|
-
hideNotRequiredExtraLabelStreetNumber: boolean;
|
|
35
|
-
foreignZipCodeRequired: boolean;
|
|
36
|
-
foreignLocalityRequired: boolean;
|
|
37
|
-
foreignStreetRequired: boolean;
|
|
38
|
-
foreignStreetNumberRequired: boolean;
|
|
39
|
-
postOfficeBoxTextRequired: boolean;
|
|
40
|
-
addressLine1Required: boolean;
|
|
41
|
-
addressLine2Required: boolean;
|
|
42
|
-
withCompanyLocalities: boolean;
|
|
43
|
-
withDefaultCountry: boolean;
|
|
44
|
-
country: Country;
|
|
45
|
-
locality: Locality;
|
|
46
|
-
street: Street;
|
|
47
|
-
houseNumber: string;
|
|
48
|
-
postOfficeBoxText: string;
|
|
49
|
-
addressLine1: string;
|
|
50
|
-
addressLine2: string;
|
|
51
|
-
countries: Observable<Country[]>;
|
|
52
|
-
localities: Observable<Locality[]>;
|
|
53
|
-
streets: Observable<Street[]>;
|
|
54
|
-
streetNumbers: Observable<StreetNumber[]>;
|
|
55
|
-
streetCustomErrors: {
|
|
56
|
-
[key: string]: string;
|
|
57
|
-
};
|
|
58
|
-
private iso2IdSubject;
|
|
59
|
-
private zipCodeIdSubject;
|
|
60
|
-
private estrIdSubject;
|
|
61
|
-
private countryModelChangeSubject;
|
|
62
|
-
private isOnlySwissChangeSubject;
|
|
63
|
-
private manageDefaultCountrySubscription;
|
|
64
|
-
private languageChangeSubscription;
|
|
65
|
-
constructor(httpClient: HttpClient, dictionaryService: SdkDictionaryService);
|
|
66
|
-
identity: <T>(n: T) => T;
|
|
67
|
-
countryIdentity: (country: Country) => string;
|
|
68
|
-
localityIdentity: (loc: Locality) => string;
|
|
69
|
-
streetIdentity: (street: Street) => string;
|
|
70
|
-
streetGenerator: (longName: string) => Street;
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
74
|
-
updateAddress(): void;
|
|
75
|
-
updateNgModel(value: Address): void;
|
|
76
|
-
handleUserInput(): void;
|
|
77
|
-
onModelChange(value: Address): void;
|
|
78
|
-
isSwiss(): boolean;
|
|
79
|
-
userInputCountry(): void;
|
|
80
|
-
userInputLocality(locality: unknown): void;
|
|
81
|
-
userInputStreet(street: unknown): void;
|
|
82
|
-
countryUpdated(country: Country): void;
|
|
83
|
-
getLocalityDisplayedName(locality: Locality): string | void;
|
|
84
|
-
localityUpdated(locality: Locality): void;
|
|
85
|
-
streetUpdated(street: Street): void;
|
|
86
|
-
isStreetRequired(): boolean;
|
|
87
|
-
isForeignStreetRequired(): boolean;
|
|
88
|
-
isPostOfficeBoxTextRequired(): boolean;
|
|
89
|
-
private replaceAtLeastOneNotNull;
|
|
90
|
-
private getCountries;
|
|
91
|
-
private getLocalities;
|
|
92
|
-
private getStreetNumberFor;
|
|
93
|
-
private getStreetsFor;
|
|
94
|
-
private clearAutocompletesWhenCountryIsUnappropriatedToComponentConfiguration;
|
|
95
|
-
private getSwissCountry;
|
|
96
|
-
private setDefaultCountry;
|
|
97
|
-
private clearAutocompletes;
|
|
98
|
-
private extractLocalityZipCodeId;
|
|
99
|
-
private extractStreetEstrid;
|
|
100
|
-
private getValidCountry;
|
|
101
|
-
private getValidValue;
|
|
102
|
-
private isModelEmpty;
|
|
103
|
-
private manageDefaultCountry;
|
|
104
|
-
private isCountryInputDirty;
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnInputAddressComponent, never>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnInputAddressComponent, "foehn-input-address", never, { "countriesUrl": { "alias": "countriesUrl"; "required": false; }; "isOnlySwiss": { "alias": "isOnlySwiss"; "required": false; }; "showPostOfficeBoxText": { "alias": "showPostOfficeBoxText"; "required": false; }; "showAdressLines": { "alias": "showAdressLines"; "required": false; }; "showAdressLine1": { "alias": "showAdressLine1"; "required": false; }; "showAdressLine2": { "alias": "showAdressLine2"; "required": false; }; "specifiedCanton": { "alias": "specifiedCanton"; "required": false; }; "countryRequired": { "alias": "countryRequired"; "required": false; }; "swissNpaLocalityRequired": { "alias": "swissNpaLocalityRequired"; "required": false; }; "streetRequired": { "alias": "streetRequired"; "required": false; }; "streetNumberRequired": { "alias": "streetNumberRequired"; "required": false; }; "hideNotRequiredExtraLabelStreetNumber": { "alias": "hideNotRequiredExtraLabelStreetNumber"; "required": false; }; "foreignZipCodeRequired": { "alias": "foreignZipCodeRequired"; "required": false; }; "foreignLocalityRequired": { "alias": "foreignLocalityRequired"; "required": false; }; "foreignStreetRequired": { "alias": "foreignStreetRequired"; "required": false; }; "foreignStreetNumberRequired": { "alias": "foreignStreetNumberRequired"; "required": false; }; "postOfficeBoxTextRequired": { "alias": "postOfficeBoxTextRequired"; "required": false; }; "addressLine1Required": { "alias": "addressLine1Required"; "required": false; }; "addressLine2Required": { "alias": "addressLine2Required"; "required": false; }; "withCompanyLocalities": { "alias": "withCompanyLocalities"; "required": false; }; "withDefaultCountry": { "alias": "withDefaultCountry"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
107
|
-
}
|