@dsivd/prestations-ng 14.5.19-beta1 → 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/bundles/dsivd-prestations-ng.umd.js +9 -9
- package/bundles/dsivd-prestations-ng.umd.js.map +1 -1
- package/dsivd-prestations-ng-v14.5.19-beta2.tgz +0 -0
- package/esm2015/foehn-progress-bar/foehn-progress-bar.component.js +10 -10
- package/fesm2015/dsivd-prestations-ng.js +9 -9
- package/fesm2015/dsivd-prestations-ng.js.map +1 -1
- package/foehn-progress-bar/foehn-progress-bar.component.d.ts +1 -0
- package/package.json +1 -1
- package/dsivd-prestations-ng-v14.5.19-beta1.tgz +0 -0
|
@@ -5253,12 +5253,6 @@
|
|
|
5253
5253
|
function FoehnProgressBarComponent(activatedRoute, navigation) {
|
|
5254
5254
|
this.activatedRoute = activatedRoute;
|
|
5255
5255
|
this.navigation = navigation;
|
|
5256
|
-
if (this.isEnabled()) {
|
|
5257
|
-
var route = FoehnNavigationService.getRootRouteRecursive(activatedRoute.snapshot);
|
|
5258
|
-
this.navigation.initRoute(route);
|
|
5259
|
-
this.navigation.activatedRoute = this.activatedRoute;
|
|
5260
|
-
this.navigation.updateRouteInformations();
|
|
5261
|
-
}
|
|
5262
5256
|
}
|
|
5263
5257
|
FoehnProgressBarComponent.prototype.isEnabled = function () {
|
|
5264
5258
|
return (this.enabled !== null &&
|
|
@@ -5266,18 +5260,24 @@
|
|
|
5266
5260
|
this.enabled !== false);
|
|
5267
5261
|
};
|
|
5268
5262
|
FoehnProgressBarComponent.prototype.isStepVerificationActive = function () {
|
|
5269
|
-
this.
|
|
5263
|
+
this.refreshData();
|
|
5270
5264
|
return this.navigation.isLastFormPage();
|
|
5271
5265
|
};
|
|
5272
5266
|
FoehnProgressBarComponent.prototype.isStepConfirmationActive = function () {
|
|
5273
|
-
this.
|
|
5267
|
+
this.refreshData();
|
|
5274
5268
|
return (this.navigation.currentRouteOrder ===
|
|
5275
5269
|
this.navigation.getLastRouteOrder());
|
|
5276
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
5277
|
return FoehnProgressBarComponent;
|
|
5278
5278
|
}());
|
|
5279
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{
|
|
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
5281
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: FoehnProgressBarComponent, decorators: [{
|
|
5282
5282
|
type: i0.Component,
|
|
5283
5283
|
args: [{
|