@dsivd/prestations-ng 16.4.9-beta.3 → 16.4.9-beta.4
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 +1 -0
- package/dsivd-prestations-ng-v16.4.9-beta.4.tgz +0 -0
- package/esm2020/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.mjs +6 -3
- package/fesm2015/dsivd-prestations-ng.mjs +5 -2
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
- package/fesm2020/dsivd-prestations-ng.mjs +5 -2
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +2 -1
- package/package.json +1 -1
- package/dsivd-prestations-ng-v16.4.9-beta.3.tgz +0 -0
|
@@ -12055,17 +12055,20 @@ class FoehnRemainingAlertsSummaryComponent {
|
|
|
12055
12055
|
this.gesdemService = gesdemService;
|
|
12056
12056
|
this.remainingErrorsLabel = '<p>Il reste des erreurs, le formulaire ne peut pas être transmis.</p>' +
|
|
12057
12057
|
'<p>Merci de revenir en arrière ou de réessayer plus tard.</p>';
|
|
12058
|
+
this.remainingErrorNamesToIgnore = [];
|
|
12058
12059
|
this.hasRemainingErrors = of(false);
|
|
12059
|
-
this.hasRemainingErrors = this.gesdemService.updateFormDataSubject.pipe(map(() => !!this.gesdemService.lastResponse.errors.length));
|
|
12060
|
+
this.hasRemainingErrors = this.gesdemService.updateFormDataSubject.pipe(map(() => !!this.gesdemService.lastResponse.errors.filter(e => !this.remainingErrorNamesToIgnore.includes(e.name)).length));
|
|
12060
12061
|
}
|
|
12061
12062
|
}
|
|
12062
12063
|
FoehnRemainingAlertsSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FoehnRemainingAlertsSummaryComponent, deps: [{ token: GesdemHandlerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12063
|
-
FoehnRemainingAlertsSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FoehnRemainingAlertsSummaryComponent, selector: "foehn-remaining-alerts-summary", inputs: { remainingErrorsLabel: "remainingErrorsLabel" }, ngImport: i0, template: "<div\n class=\"alert alert-danger\"\n *ngIf=\"hasRemainingErrors | async\"\n [innerHTML]=\"remainingErrorsLabel\"\n></div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
12064
|
+
FoehnRemainingAlertsSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FoehnRemainingAlertsSummaryComponent, selector: "foehn-remaining-alerts-summary", inputs: { remainingErrorsLabel: "remainingErrorsLabel", remainingErrorNamesToIgnore: "remainingErrorNamesToIgnore" }, ngImport: i0, template: "<div\n class=\"alert alert-danger\"\n *ngIf=\"hasRemainingErrors | async\"\n [innerHTML]=\"remainingErrorsLabel\"\n></div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
12064
12065
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FoehnRemainingAlertsSummaryComponent, decorators: [{
|
|
12065
12066
|
type: Component,
|
|
12066
12067
|
args: [{ selector: 'foehn-remaining-alerts-summary', template: "<div\n class=\"alert alert-danger\"\n *ngIf=\"hasRemainingErrors | async\"\n [innerHTML]=\"remainingErrorsLabel\"\n></div>\n" }]
|
|
12067
12068
|
}], ctorParameters: function () { return [{ type: GesdemHandlerService }]; }, propDecorators: { remainingErrorsLabel: [{
|
|
12068
12069
|
type: Input
|
|
12070
|
+
}], remainingErrorNamesToIgnore: [{
|
|
12071
|
+
type: Input
|
|
12069
12072
|
}] } });
|
|
12070
12073
|
|
|
12071
12074
|
class FoehnRemainingAlertsSummaryModule {
|