@dsivd/prestations-ng 14.5.17 → 14.5.19-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 +12 -0
- package/bundles/dsivd-prestations-ng.umd.js +96 -22
- package/bundles/dsivd-prestations-ng.umd.js.map +1 -1
- package/dsivd-prestations-ng-v14.5.19-beta2.tgz +0 -0
- package/esm2015/foehn-confirm-modal/foehn-confirm-modal-content.js +1 -1
- package/esm2015/foehn-confirm-modal/foehn-confirm-modal.component.js +2 -2
- package/esm2015/foehn-list/foehn-list.component.js +2 -4
- package/esm2015/foehn-page/foehn-page.component.js +13 -10
- package/esm2015/foehn-page/foehn-page.module.js +8 -4
- package/esm2015/foehn-progress-bar/foehn-progress-bar.component.js +45 -0
- package/esm2015/foehn-progress-bar/foehn-progress-bar.module.js +34 -0
- package/esm2015/foehn-table/foehn-table.component.js +2 -4
- package/esm2015/helpers/object.helper.js +13 -12
- package/esm2015/index.js +4 -1
- package/fesm2015/dsivd-prestations-ng.js +91 -23
- package/fesm2015/dsivd-prestations-ng.js.map +1 -1
- package/foehn-confirm-modal/foehn-confirm-modal-content.d.ts +1 -0
- package/foehn-page/foehn-page.component.d.ts +2 -1
- package/foehn-page/foehn-page.module.d.ts +2 -1
- package/foehn-progress-bar/foehn-progress-bar.component.d.ts +15 -0
- package/foehn-progress-bar/foehn-progress-bar.module.d.ts +11 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/dsivd-prestations-ng-v14.5.17.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -25,6 +25,18 @@ A change is considered **breaking** if you have to change your code or update yo
|
|
|
25
25
|
- adding a new constructor argument in one of our service is OK, if you just have to update your constructor's signature and your call to `super(...)`
|
|
26
26
|
|
|
27
27
|
---
|
|
28
|
+
## [14.5.19]
|
|
29
|
+
### Added
|
|
30
|
+
- [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
|
|
31
|
+
- Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
|
|
32
|
+
|
|
33
|
+
## [14.5.18]
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
|
|
37
|
+
- Fix isEqual method for arrays. The issue was if first array has same objects but less items.
|
|
38
|
+
- This issue impacts foehn-select, foehn-list and foehn-table
|
|
39
|
+
|
|
28
40
|
|
|
29
41
|
## [14.5.17]
|
|
30
42
|
|
|
@@ -4844,18 +4844,19 @@
|
|
|
4844
4844
|
value2 &&
|
|
4845
4845
|
typeof value1 === 'object' &&
|
|
4846
4846
|
typeof value2 === 'object') {
|
|
4847
|
-
var matches_1 = function (obj, source) { return Object.keys(source).
|
|
4848
|
-
|
|
4849
|
-
if (obj
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4847
|
+
var matches_1 = function (obj, source) { return Object.keys(source).length === Object.keys(obj).length &&
|
|
4848
|
+
Object.keys(source).every(function (key) {
|
|
4849
|
+
if (obj.hasOwnProperty(key)) {
|
|
4850
|
+
if (obj[key] &&
|
|
4851
|
+
source[key] &&
|
|
4852
|
+
typeof obj[key] === 'object' &&
|
|
4853
|
+
typeof source[key] === 'object') {
|
|
4854
|
+
return matches_1(obj[key], source[key]);
|
|
4855
|
+
}
|
|
4856
|
+
return obj[key] === source[key];
|
|
4854
4857
|
}
|
|
4855
|
-
return
|
|
4856
|
-
}
|
|
4857
|
-
return false;
|
|
4858
|
-
}); };
|
|
4858
|
+
return false;
|
|
4859
|
+
}); };
|
|
4859
4860
|
return matches_1(value1, value2);
|
|
4860
4861
|
}
|
|
4861
4862
|
return value1 === value2;
|
|
@@ -5248,6 +5249,46 @@
|
|
|
5248
5249
|
type: i0.Input
|
|
5249
5250
|
}] } });
|
|
5250
5251
|
|
|
5252
|
+
var FoehnProgressBarComponent = /** @class */ (function () {
|
|
5253
|
+
function FoehnProgressBarComponent(activatedRoute, navigation) {
|
|
5254
|
+
this.activatedRoute = activatedRoute;
|
|
5255
|
+
this.navigation = navigation;
|
|
5256
|
+
}
|
|
5257
|
+
FoehnProgressBarComponent.prototype.isEnabled = function () {
|
|
5258
|
+
return (this.enabled !== null &&
|
|
5259
|
+
this.enabled !== undefined &&
|
|
5260
|
+
this.enabled !== false);
|
|
5261
|
+
};
|
|
5262
|
+
FoehnProgressBarComponent.prototype.isStepVerificationActive = function () {
|
|
5263
|
+
this.refreshData();
|
|
5264
|
+
return this.navigation.isLastFormPage();
|
|
5265
|
+
};
|
|
5266
|
+
FoehnProgressBarComponent.prototype.isStepConfirmationActive = function () {
|
|
5267
|
+
this.refreshData();
|
|
5268
|
+
return (this.navigation.currentRouteOrder ===
|
|
5269
|
+
this.navigation.getLastRouteOrder());
|
|
5270
|
+
};
|
|
5271
|
+
FoehnProgressBarComponent.prototype.refreshData = function () {
|
|
5272
|
+
var route = FoehnNavigationService.getRootRouteRecursive(this.activatedRoute.snapshot);
|
|
5273
|
+
this.navigation.initRoute(route);
|
|
5274
|
+
this.navigation.activatedRoute = this.activatedRoute;
|
|
5275
|
+
this.navigation.updateRouteInformations();
|
|
5276
|
+
};
|
|
5277
|
+
return FoehnProgressBarComponent;
|
|
5278
|
+
}());
|
|
5279
|
+
FoehnProgressBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarComponent, deps: [{ token: i1__namespace$1.ActivatedRoute }, { token: FoehnNavigationService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5280
|
+
FoehnProgressBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: FoehnProgressBarComponent, selector: "foehn-progress-bar", inputs: { enabled: "enabled" }, ngImport: i0__namespace, template: "<div *ngIf=\"isEnabled()\">\n <div class=\"container\">\n <div class=\"row justify-content-center\">\n <div class=\"col\">\n <div\n class=\"sr-only\"\n aria-live=\"polite\"\n role=\"status\"\n aria-atomic=\"true\"\n >\n <span\n *ngIf=\"\n !isStepVerificationActive() &&\n !isStepConfirmationActive()\n \"\n >\n Etape 1 sur 3, page de saisie\n </span>\n <span *ngIf=\"isStepVerificationActive()\">\n Etape 2 sur 3, page de v\u00E9rification\n </span>\n <span *ngIf=\"isStepConfirmationActive()\">\n Etape 3 sur 3, page de confirmation, demande transmise\n </span>\n </div>\n\n <ul id=\"progressbar\" class=\"pl-0\" aria-hidden=\"true\">\n <li class=\"active\" id=\"step1\"><strong>Saisie</strong></li>\n <li\n id=\"step2\"\n [ngClass]=\"{\n active:\n isStepVerificationActive() ||\n isStepConfirmationActive()\n }\"\n >\n <strong>V\u00E9rification</strong>\n </li>\n <li\n id=\"step3\"\n [ngClass]=\"{ active: isStepConfirmationActive() }\"\n >\n <strong>Confirmation</strong>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</div>\n", styles: [".col{text-align:center;position:relative}#progressbar{overflow:hidden;color:#d3d3d3}#progressbar .active{color:var(--green)}#progressbar li{list-style-type:none;font-size:15px;width:33%;float:left;position:relative;font-weight:400}#progressbar #step1:before{content:\"1\"}#progressbar #step2:before{content:\"2\"}#progressbar #step3:before{content:\"3\"}#progressbar li:before{width:50px;height:50px;line-height:45px;display:block;font-size:20px;color:#fff;background:lightgray;border-radius:50%;margin:0 auto 10px;padding:2px}#progressbar li:after{content:\"\";width:100%;height:2px;background:lightgray;position:absolute;left:0;top:25px;z-index:-1}#progressbar li.active:before,#progressbar li.active:after{background:var(--green)}\n"], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
5281
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarComponent, decorators: [{
|
|
5282
|
+
type: i0.Component,
|
|
5283
|
+
args: [{
|
|
5284
|
+
selector: 'foehn-progress-bar',
|
|
5285
|
+
templateUrl: './foehn-progress-bar.component.html',
|
|
5286
|
+
styleUrls: ['./foehn-progress-bar.component.css']
|
|
5287
|
+
}]
|
|
5288
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: FoehnNavigationService }]; }, propDecorators: { enabled: [{
|
|
5289
|
+
type: i0.Input
|
|
5290
|
+
}] } });
|
|
5291
|
+
|
|
5251
5292
|
var FoehnIconExternalLinkAltComponent = /** @class */ (function (_super) {
|
|
5252
5293
|
__extends(FoehnIconExternalLinkAltComponent, _super);
|
|
5253
5294
|
function FoehnIconExternalLinkAltComponent() {
|
|
@@ -5711,7 +5752,7 @@
|
|
|
5711
5752
|
return FoehnConfirmModalComponent;
|
|
5712
5753
|
}());
|
|
5713
5754
|
FoehnConfirmModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnConfirmModalComponent, deps: [{ token: FoehnConfirmModalService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5714
|
-
FoehnConfirmModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: FoehnConfirmModalComponent, selector: "foehn-confirm-modal", ngImport: i0__namespace, template: "<foehn-modal\n [modalHeaderText]=\"modalContent.title || 'Confirmation'\"\n modalSize=\"modal-md\"\n [isModalVisible]=\"isVisible\"\n (isModalVisibleChange)=\"updateVisibilityStatus($event)\"\n *ngIf=\"content | async as modalContent\"\n>\n <p [innerHTML]=\"modalContent.htmlContent\"></p>\n\n <div modal-footer>\n <div class=\"d-flex justify-content-end mr-2 mb-2 mt-2\">\n <button\n id=\"confirmButton\"\n class=\"btn btn-secondary\"\n (click)=\"cancel()\"\n >\n {{ modalContent.cancelButtonLabel || 'Annuler' }}\n </button>\n <button\n id=\"cancelButton\"\n class=\"btn btn-primary ml-3\"\n (click)=\"ok()\"\n >\n {{ modalContent.okButtonLabel || 'Confirmer' }}\n </button>\n </div>\n </div>\n</foehn-modal>\n", components: [{ type: FoehnModalComponent, selector: "foehn-modal", inputs: ["id", "name", "modalSize", "modalBodyText", "modalHeaderText", "modalFooterText", "closeable", "modalTriggerHtmlElement", "isModalVisible"], outputs: ["isModalVisibleChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe } });
|
|
5755
|
+
FoehnConfirmModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: FoehnConfirmModalComponent, selector: "foehn-confirm-modal", ngImport: i0__namespace, template: "<foehn-modal\n [modalHeaderText]=\"modalContent.title || 'Confirmation'\"\n modalSize=\"modal-md\"\n [isModalVisible]=\"isVisible\"\n (isModalVisibleChange)=\"updateVisibilityStatus($event)\"\n [closeable]=\"\n modalContent.closeable !== null && modalContent.closeable !== undefined\n ? modalContent.closeable\n : true\n \"\n *ngIf=\"content | async as modalContent\"\n>\n <p [innerHTML]=\"modalContent.htmlContent\"></p>\n\n <div modal-footer>\n <div class=\"d-flex justify-content-end mr-2 mb-2 mt-2\">\n <button\n id=\"confirmButton\"\n class=\"btn btn-secondary\"\n (click)=\"cancel()\"\n >\n {{ modalContent.cancelButtonLabel || 'Annuler' }}\n </button>\n <button\n id=\"cancelButton\"\n class=\"btn btn-primary ml-3\"\n (click)=\"ok()\"\n >\n {{ modalContent.okButtonLabel || 'Confirmer' }}\n </button>\n </div>\n </div>\n</foehn-modal>\n", components: [{ type: FoehnModalComponent, selector: "foehn-modal", inputs: ["id", "name", "modalSize", "modalBodyText", "modalHeaderText", "modalFooterText", "closeable", "modalTriggerHtmlElement", "isModalVisible"], outputs: ["isModalVisibleChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe } });
|
|
5715
5756
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnConfirmModalComponent, decorators: [{
|
|
5716
5757
|
type: i0.Component,
|
|
5717
5758
|
args: [{
|
|
@@ -5876,7 +5917,7 @@
|
|
|
5876
5917
|
return FoehnPageComponent;
|
|
5877
5918
|
}());
|
|
5878
5919
|
FoehnPageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnPageComponent, deps: [{ token: i1__namespace$3.Title }, { token: FoehnPageService }, { token: SupportAlertService }, { token: FoehnNavigationService }, { token: ApplicationInfoService }, { token: GesdemEventService }, { token: BreadcrumbEventService }, { token: i1__namespace$1.Router }, { token: SessionInfo }, { token: FoehnPageModalService }, { token: SdkDictionaryService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5879
|
-
FoehnPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: FoehnPageComponent, selector: "foehn-page", inputs: { appTitle: "appTitle", footerLinks: "footerLinks", neverConnected: "neverConnected", supportAlertEnabled: "supportAlertEnabled", supportAlertUrl: "supportAlertUrl", etapeId: "etapeId", userConnectedAsDisplayed: "userConnectedAsDisplayed", confirmLeavingAlert: "confirmLeavingAlert", showDefaultContactFooterLink: "showDefaultContactFooterLink", showDefaultGuideFooterLink: "showDefaultGuideFooterLink", showDefaultTermOfUseLink: "showDefaultTermOfUseLink", showDefaultSecurityBestPracticeLink: "showDefaultSecurityBestPracticeLink" }, usesOnChanges: true, ngImport: i0__namespace, template: "<foehn-header\n id=\"foehn_header\"\n [title]=\"appTitle\"\n [neverConnected]=\"neverConnected\"\n></foehn-header>\n<foehn-growl id=\"foehn_growl\"></foehn-growl>\n<div class=\"vd-bg-pattern-gray\">\n <div class=\"container\">\n <foehn-breadcrumb\n [neverConnected]=\"neverConnected\"\n [confirmLeavingAlert]=\"confirmLeavingAlert\"\n ></foehn-breadcrumb>\n </div>\n</div>\n<main id=\"main\">\n <div class=\"vd-bg-pattern-gray\">\n <div class=\"container\">\n <!-- Fix annoying flickering when the page loads -->\n <div class=\"h1 mt-0\" *ngIf=\"!pageTitle\"> </div>\n <h1\n [tabIndex]=\"-1\"\n class=\"mt-0\"\n id=\"page-title\"\n *ngIf=\"!!pageTitle\"\n [innerHTML]=\"pageTitle\"\n ></h1>\n </div>\n </div>\n\n <section\n *ngIf=\"!isBrowserSupported\"\n class=\"container alert alert-danger\"\n id=\"browser_not_supported_block\"\n role=\"alert\"\n >\n <p class=\"alert-heading\">\n <strong>\n Cette prestation n\u2019est pas compatible avec votre navigateur.\n </strong>\n </p>\n <p class=\"mb-0\">\n Nous vous invitons \u00E0 utiliser une version r\u00E9cente de\n <ng-container *ngIf=\"!isApplePlatform\">\n <a\n [title]=\"browserLinkTitlePrefix + ' Edge'\"\n href=\"https://www.microsoft.com/fr-ch/windows/microsoft-edge\"\n target=\"_blank\"\n >\n Edge\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ,\n </ng-container>\n <ng-container *ngIf=\"isApplePlatform\">\n <a\n [title]=\"browserLinkTitlePrefix + ' Safari'\"\n href=\"https://support.apple.com/downloads/safari\"\n target=\"_blank\"\n >\n Safari\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ,\n </ng-container>\n <a\n [title]=\"browserLinkTitlePrefix + ' Firefox'\"\n href=\"https://www.mozilla.org/fr/firefox/\"\n target=\"_blank\"\n >\n Firefox\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ou\n <a\n [title]=\"browserLinkTitlePrefix + ' Chrome'\"\n href=\"https://www.google.com/intl/fr/chrome/\"\n target=\"_blank\"\n >\n Chrome\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n .\n </p>\n <div class=\"row mt-3\">\n <div class=\"col-md-12\">\n <button\n id=\"browser_not_supported_bypass\"\n class=\"float-right btn btn-danger\"\n *ngIf=\"!browserNotSupportedBypass\"\n (click)=\"browserNotSupportedBypass = true\"\n >\n Continuer avec ce navigateur\n </button>\n </div>\n </div>\n </section>\n\n <sdk-support-alert-container\n *ngIf=\"supportAlertEnabled\"\n [etapeId]=\"etapeId\"\n [supportAlertUrl]=\"supportAlertUrl\"\n ></sdk-support-alert-container>\n <ng-container\n *ngIf=\"\n !(hasBlockingSupportAlert | async) &&\n (isBrowserSupported || browserNotSupportedBypass)\n \"\n >\n <div class=\"container mt-5\" id=\"page_content\">\n <foehn-user-connected-as\n *ngIf=\"displayUserCategory | async\"\n ></foehn-user-connected-as>\n <ng-container\n *ngIf=\"displayLoginMessages | async as displayLoginMessagesData\"\n >\n <div\n *ngIf=\"displayLoginMessagesData.displayShouldLoginMessage\"\n class=\"alert alert-info\"\n id=\"displayLoginMessage\"\n >\n <p\n [innerHTML]=\"\n getFullLoginMessage(\n displayLoginMessagesData.decisionElectroniqueAvailable\n ) | async\n \"\n ></p>\n <div class=\"d-flex justify-content-start mr-2 mb-2 mt-2\">\n <a\n class=\"btn btn-primary\"\n [href]=\"getFullLoginUrl() | async\"\n >\n {{ 'use-login.button.text' | fromDictionary }}\n </a>\n </div>\n </div>\n </ng-container>\n </div>\n <ng-content></ng-content>\n </ng-container>\n</main>\n<foehn-footer\n id=\"foehn_footer\"\n [links]=\"footerLinks\"\n [showDefaultContactLink]=\"showDefaultContactFooterLink\"\n [showDefaultGuideLink]=\"showDefaultGuideFooterLink\"\n [showDefaultTermOfUseLink]=\"showDefaultTermOfUseLink\"\n [showDefaultSecurityBestPracticeLink]=\"showDefaultSecurityBestPracticeLink\"\n></foehn-footer>\n<foehn-page-modal></foehn-page-modal>\n<foehn-confirm-modal></foehn-confirm-modal>\n", components: [{ type: FoehnHeaderComponent, selector: "foehn-header", inputs: ["userInfo", "title", "neverConnected"] }, { type: FoehnGrowlComponent, selector: "foehn-growl" }, { type: FoehnBreadcrumbComponent, selector: "foehn-breadcrumb", inputs: ["breadcrumbItems", "currentNav", "neverConnected", "confirmLeavingAlert"] }, { type: FoehnIconExternalLinkAltComponent, selector: "foehn-icon-external-link-alt" }, { type: SupportAlertContainerComponent, selector: "sdk-support-alert-container", inputs: ["etapeId", "supportAlertUrl"] }, { type: FoehnUserConnectedAsComponent, selector: "foehn-user-connected-as" }, { type: FoehnFooterComponent, selector: "foehn-footer", inputs: ["links", "showDefaultContactLink", "showDefaultGuideLink", "showDefaultTermOfUseLink", "showDefaultSecurityBestPracticeLink"] }, { type: FoehnPageModalComponent, selector: "foehn-page-modal" }, { type: FoehnConfirmModalComponent, selector: "foehn-confirm-modal" }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe, "fromDictionary": SdkDictionaryPipe } });
|
|
5920
|
+
FoehnPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: FoehnPageComponent, selector: "foehn-page", inputs: { appTitle: "appTitle", footerLinks: "footerLinks", neverConnected: "neverConnected", supportAlertEnabled: "supportAlertEnabled", supportAlertUrl: "supportAlertUrl", etapeId: "etapeId", userConnectedAsDisplayed: "userConnectedAsDisplayed", progressBarEnabled: "progressBarEnabled", confirmLeavingAlert: "confirmLeavingAlert", showDefaultContactFooterLink: "showDefaultContactFooterLink", showDefaultGuideFooterLink: "showDefaultGuideFooterLink", showDefaultTermOfUseLink: "showDefaultTermOfUseLink", showDefaultSecurityBestPracticeLink: "showDefaultSecurityBestPracticeLink" }, usesOnChanges: true, ngImport: i0__namespace, template: "<foehn-header\n id=\"foehn_header\"\n [title]=\"appTitle\"\n [neverConnected]=\"neverConnected\"\n></foehn-header>\n<foehn-growl id=\"foehn_growl\"></foehn-growl>\n<div class=\"vd-bg-pattern-gray\">\n <div class=\"container\">\n <foehn-breadcrumb\n [neverConnected]=\"neverConnected\"\n [confirmLeavingAlert]=\"confirmLeavingAlert\"\n ></foehn-breadcrumb>\n </div>\n</div>\n<main id=\"main\">\n <div class=\"vd-bg-pattern-gray\">\n <div class=\"container\">\n <!-- Fix annoying flickering when the page loads -->\n <div class=\"h1 mt-0\" *ngIf=\"!pageTitle\"> </div>\n <h1\n [tabIndex]=\"-1\"\n class=\"mt-0\"\n id=\"page-title\"\n *ngIf=\"!!pageTitle\"\n [innerHTML]=\"pageTitle\"\n ></h1>\n </div>\n </div>\n\n <foehn-progress-bar [enabled]=\"progressBarEnabled\"></foehn-progress-bar>\n\n <section\n *ngIf=\"!isBrowserSupported\"\n class=\"container alert alert-danger\"\n id=\"browser_not_supported_block\"\n role=\"alert\"\n >\n <p class=\"alert-heading\">\n <strong>\n Cette prestation n\u2019est pas compatible avec votre navigateur.\n </strong>\n </p>\n <p class=\"mb-0\">\n Nous vous invitons \u00E0 utiliser une version r\u00E9cente de\n <ng-container *ngIf=\"!isApplePlatform\">\n <a\n [title]=\"browserLinkTitlePrefix + ' Edge'\"\n href=\"https://www.microsoft.com/fr-ch/windows/microsoft-edge\"\n target=\"_blank\"\n >\n Edge\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ,\n </ng-container>\n <ng-container *ngIf=\"isApplePlatform\">\n <a\n [title]=\"browserLinkTitlePrefix + ' Safari'\"\n href=\"https://support.apple.com/downloads/safari\"\n target=\"_blank\"\n >\n Safari\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ,\n </ng-container>\n <a\n [title]=\"browserLinkTitlePrefix + ' Firefox'\"\n href=\"https://www.mozilla.org/fr/firefox/\"\n target=\"_blank\"\n >\n Firefox\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n ou\n <a\n [title]=\"browserLinkTitlePrefix + ' Chrome'\"\n href=\"https://www.google.com/intl/fr/chrome/\"\n target=\"_blank\"\n >\n Chrome\n <span class=\"sr-only\">(lien externe)</span>\n <span aria-hidden=\"true\">\n <foehn-icon-external-link-alt></foehn-icon-external-link-alt>\n </span>\n </a>\n .\n </p>\n <div class=\"row mt-3\">\n <div class=\"col-md-12\">\n <button\n id=\"browser_not_supported_bypass\"\n class=\"float-right btn btn-danger\"\n *ngIf=\"!browserNotSupportedBypass\"\n (click)=\"browserNotSupportedBypass = true\"\n >\n Continuer avec ce navigateur\n </button>\n </div>\n </div>\n </section>\n\n <sdk-support-alert-container\n *ngIf=\"supportAlertEnabled\"\n [etapeId]=\"etapeId\"\n [supportAlertUrl]=\"supportAlertUrl\"\n ></sdk-support-alert-container>\n <ng-container\n *ngIf=\"\n !(hasBlockingSupportAlert | async) &&\n (isBrowserSupported || browserNotSupportedBypass)\n \"\n >\n <div class=\"container mt-5\" id=\"page_content\">\n <foehn-user-connected-as\n *ngIf=\"displayUserCategory | async\"\n ></foehn-user-connected-as>\n <ng-container\n *ngIf=\"displayLoginMessages | async as displayLoginMessagesData\"\n >\n <div\n *ngIf=\"displayLoginMessagesData.displayShouldLoginMessage\"\n class=\"alert alert-info\"\n id=\"displayLoginMessage\"\n >\n <p\n [innerHTML]=\"\n getFullLoginMessage(\n displayLoginMessagesData.decisionElectroniqueAvailable\n ) | async\n \"\n ></p>\n <div class=\"d-flex justify-content-start mr-2 mb-2 mt-2\">\n <a\n class=\"btn btn-primary\"\n [href]=\"getFullLoginUrl() | async\"\n >\n {{ 'use-login.button.text' | fromDictionary }}\n </a>\n </div>\n </div>\n </ng-container>\n </div>\n <ng-content></ng-content>\n </ng-container>\n</main>\n<foehn-footer\n id=\"foehn_footer\"\n [links]=\"footerLinks\"\n [showDefaultContactLink]=\"showDefaultContactFooterLink\"\n [showDefaultGuideLink]=\"showDefaultGuideFooterLink\"\n [showDefaultTermOfUseLink]=\"showDefaultTermOfUseLink\"\n [showDefaultSecurityBestPracticeLink]=\"showDefaultSecurityBestPracticeLink\"\n></foehn-footer>\n<foehn-page-modal></foehn-page-modal>\n<foehn-confirm-modal></foehn-confirm-modal>\n", components: [{ type: FoehnHeaderComponent, selector: "foehn-header", inputs: ["userInfo", "title", "neverConnected"] }, { type: FoehnGrowlComponent, selector: "foehn-growl" }, { type: FoehnBreadcrumbComponent, selector: "foehn-breadcrumb", inputs: ["breadcrumbItems", "currentNav", "neverConnected", "confirmLeavingAlert"] }, { type: FoehnProgressBarComponent, selector: "foehn-progress-bar", inputs: ["enabled"] }, { type: FoehnIconExternalLinkAltComponent, selector: "foehn-icon-external-link-alt" }, { type: SupportAlertContainerComponent, selector: "sdk-support-alert-container", inputs: ["etapeId", "supportAlertUrl"] }, { type: FoehnUserConnectedAsComponent, selector: "foehn-user-connected-as" }, { type: FoehnFooterComponent, selector: "foehn-footer", inputs: ["links", "showDefaultContactLink", "showDefaultGuideLink", "showDefaultTermOfUseLink", "showDefaultSecurityBestPracticeLink"] }, { type: FoehnPageModalComponent, selector: "foehn-page-modal" }, { type: FoehnConfirmModalComponent, selector: "foehn-confirm-modal" }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe, "fromDictionary": SdkDictionaryPipe } });
|
|
5880
5921
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnPageComponent, decorators: [{
|
|
5881
5922
|
type: i0.Component,
|
|
5882
5923
|
args: [{
|
|
@@ -5897,6 +5938,8 @@
|
|
|
5897
5938
|
type: i0.Input
|
|
5898
5939
|
}], userConnectedAsDisplayed: [{
|
|
5899
5940
|
type: i0.Input
|
|
5941
|
+
}], progressBarEnabled: [{
|
|
5942
|
+
type: i0.Input
|
|
5900
5943
|
}], confirmLeavingAlert: [{
|
|
5901
5944
|
type: i0.Input
|
|
5902
5945
|
}], showDefaultContactFooterLink: [{
|
|
@@ -7320,6 +7363,36 @@
|
|
|
7320
7363
|
}]
|
|
7321
7364
|
}] });
|
|
7322
7365
|
|
|
7366
|
+
var FoehnProgressBarModule = /** @class */ (function () {
|
|
7367
|
+
function FoehnProgressBarModule() {
|
|
7368
|
+
}
|
|
7369
|
+
return FoehnProgressBarModule;
|
|
7370
|
+
}());
|
|
7371
|
+
FoehnProgressBarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
7372
|
+
FoehnProgressBarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarModule, declarations: [FoehnProgressBarComponent], imports: [i3.CommonModule,
|
|
7373
|
+
FoehnIconsModule,
|
|
7374
|
+
i1$1.RouterModule,
|
|
7375
|
+
SdkDictionaryModule], exports: [FoehnProgressBarComponent] });
|
|
7376
|
+
FoehnProgressBarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarModule, imports: [[
|
|
7377
|
+
i3.CommonModule,
|
|
7378
|
+
FoehnIconsModule,
|
|
7379
|
+
i1$1.RouterModule,
|
|
7380
|
+
SdkDictionaryModule
|
|
7381
|
+
]] });
|
|
7382
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarModule, decorators: [{
|
|
7383
|
+
type: i0.NgModule,
|
|
7384
|
+
args: [{
|
|
7385
|
+
imports: [
|
|
7386
|
+
i3.CommonModule,
|
|
7387
|
+
FoehnIconsModule,
|
|
7388
|
+
i1$1.RouterModule,
|
|
7389
|
+
SdkDictionaryModule
|
|
7390
|
+
],
|
|
7391
|
+
declarations: [FoehnProgressBarComponent],
|
|
7392
|
+
exports: [FoehnProgressBarComponent]
|
|
7393
|
+
}]
|
|
7394
|
+
}] });
|
|
7395
|
+
|
|
7323
7396
|
var FoehnPageModule = /** @class */ (function () {
|
|
7324
7397
|
function FoehnPageModule() {
|
|
7325
7398
|
}
|
|
@@ -7338,7 +7411,8 @@
|
|
|
7338
7411
|
SupportAlertModule,
|
|
7339
7412
|
FoehnConfirmModalModule,
|
|
7340
7413
|
FoehnIconsModule,
|
|
7341
|
-
SdkDictionaryModule
|
|
7414
|
+
SdkDictionaryModule,
|
|
7415
|
+
FoehnProgressBarModule], exports: [FoehnPageComponent,
|
|
7342
7416
|
FoehnPageCounterComponent,
|
|
7343
7417
|
FoehnPageModalComponent] });
|
|
7344
7418
|
FoehnPageModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnPageModule, imports: [[
|
|
@@ -7352,7 +7426,8 @@
|
|
|
7352
7426
|
SupportAlertModule,
|
|
7353
7427
|
FoehnConfirmModalModule,
|
|
7354
7428
|
FoehnIconsModule,
|
|
7355
|
-
SdkDictionaryModule
|
|
7429
|
+
SdkDictionaryModule,
|
|
7430
|
+
FoehnProgressBarModule
|
|
7356
7431
|
]] });
|
|
7357
7432
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnPageModule, decorators: [{
|
|
7358
7433
|
type: i0.NgModule,
|
|
@@ -7368,7 +7443,8 @@
|
|
|
7368
7443
|
SupportAlertModule,
|
|
7369
7444
|
FoehnConfirmModalModule,
|
|
7370
7445
|
FoehnIconsModule,
|
|
7371
|
-
SdkDictionaryModule
|
|
7446
|
+
SdkDictionaryModule,
|
|
7447
|
+
FoehnProgressBarModule
|
|
7372
7448
|
],
|
|
7373
7449
|
declarations: [
|
|
7374
7450
|
FoehnPageComponent,
|
|
@@ -9557,9 +9633,7 @@
|
|
|
9557
9633
|
}]
|
|
9558
9634
|
}] });
|
|
9559
9635
|
|
|
9560
|
-
var hasInputChanged$1 = function (change) { return !(
|
|
9561
|
-
!change.currentValue ||
|
|
9562
|
-
ObjectHelper.isEqual(change.previousValue, change.currentValue)); };
|
|
9636
|
+
var hasInputChanged$1 = function (change) { return change && !ObjectHelper.isEqual(change.previousValue, change.currentValue); };
|
|
9563
9637
|
var FoehnListComponent = /** @class */ (function () {
|
|
9564
9638
|
function FoehnListComponent() {
|
|
9565
9639
|
this.itemsPerPage = 10;
|
|
@@ -9717,9 +9791,7 @@
|
|
|
9717
9791
|
return PageChangeEvent;
|
|
9718
9792
|
}());
|
|
9719
9793
|
|
|
9720
|
-
var hasInputChanged = function (change) { return !(
|
|
9721
|
-
!change.currentValue ||
|
|
9722
|
-
ObjectHelper.isEqual(change.previousValue, change.currentValue)); };
|
|
9794
|
+
var hasInputChanged = function (change) { return change && !ObjectHelper.isEqual(change.previousValue, change.currentValue); };
|
|
9723
9795
|
var FoehnTableComponent = /** @class */ (function () {
|
|
9724
9796
|
function FoehnTableComponent() {
|
|
9725
9797
|
this.itemsPerPage = 10;
|
|
@@ -13320,6 +13392,8 @@
|
|
|
13320
13392
|
exports.FoehnPageService = FoehnPageService;
|
|
13321
13393
|
exports.FoehnPictureUploadComponent = FoehnPictureUploadComponent;
|
|
13322
13394
|
exports.FoehnPictureUploadModule = FoehnPictureUploadModule;
|
|
13395
|
+
exports.FoehnProgressBarComponent = FoehnProgressBarComponent;
|
|
13396
|
+
exports.FoehnProgressBarModule = FoehnProgressBarModule;
|
|
13323
13397
|
exports.FoehnRadioComponent = FoehnRadioComponent;
|
|
13324
13398
|
exports.FoehnRecapSectionComponent = FoehnRecapSectionComponent;
|
|
13325
13399
|
exports.FoehnRecapSectionModule = FoehnRecapSectionModule;
|