ng-inail-common 1.0.455 → 1.0.456
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/ng-inail-common.umd.js +10 -4
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/ux/inail-wizard/inail-wizard.component.js +11 -5
- package/esm5/lib/components/ux/inail-wizard/inail-wizard.component.js +11 -5
- package/fesm2015/ng-inail-common.js +11 -5
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/fesm5/ng-inail-common.js +10 -4
- package/fesm5/ng-inail-common.js.map +1 -1
- package/lib/components/ux/inail-wizard/inail-wizard.component.d.ts +1 -1
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4353,15 +4353,21 @@
|
|
|
4353
4353
|
* @return {?}
|
|
4354
4354
|
*/
|
|
4355
4355
|
function (step) {
|
|
4356
|
+
/** @type {?} */
|
|
4357
|
+
var value;
|
|
4356
4358
|
if (step.index == this.currentStep) {
|
|
4357
|
-
|
|
4359
|
+
value = "Step " + (step.index + 1) + " corrente";
|
|
4358
4360
|
}
|
|
4359
4361
|
else if (step.index < this.currentStep) {
|
|
4360
|
-
|
|
4362
|
+
value = "Step " + (step.index + 1) + " eseguito";
|
|
4361
4363
|
}
|
|
4362
4364
|
else {
|
|
4363
|
-
|
|
4365
|
+
value = "Step " + (step.index + 1) + " successivo";
|
|
4364
4366
|
}
|
|
4367
|
+
if (step.error) {
|
|
4368
|
+
value += ' con errori';
|
|
4369
|
+
}
|
|
4370
|
+
return value;
|
|
4365
4371
|
};
|
|
4366
4372
|
/**
|
|
4367
4373
|
* @param {?} step
|
|
@@ -4455,7 +4461,7 @@
|
|
|
4455
4461
|
InailWizardComponent.decorators = [
|
|
4456
4462
|
{ type: i0.Component, args: [{
|
|
4457
4463
|
selector: 'inail-wizard',
|
|
4458
|
-
template: "<!--<div *ngIf=\"show\"\n [attr.id]='id || undefined'\n class=\"row wizard courousel-varible-width marginBottom {{class}} inail-wizard-view-encapsulation\">\n <div *ngFor=\"let step of steps; last as isLast\"\n class=\"item\"\n [attr.aria-label]=\"getAriaLabelValue(step)\"\n [ngClass]=\"{'active': step.index==currentStep, 'prevActive': isActive(step.index)}\">\n <a (click)=\"stepOnClick(step)\"\n *ngIf=\"isActive(step.index)\"\n [attr.tabindex]=\"0\"\n href=\"javascript:void(0)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n title=\"{{step.title ? step.title : step.label}}\" #stepLink>\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </a>\n <span *ngIf=\"!isActive(step.index)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n title=\"{{step.title ? step.title : step.label}}\">\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </span>\n </div>\n</div>-->\n<div [id]=\"id\" class=\"row wizard courousel-varible-width slick-initialized slick-slider marginBottom inail-wizard-view-encapsulation {{class}}\">\n <button #prevButton\n [title]=\"prevButtonTitle\"\n type=\"button\"\n class=\"slick-prev fa fa-caret-left slick-arrow\"\n style=\"display: block;\"\n (click)=\"prevButtonOnClick()\">\n </button>\n <div class=\"slick-list draggable\">\n <div #slickTrack\n class=\"slick-track\"\n style=\"opacity: 1; width: 45000px; transition: transform 300ms ease 0s\">\n\n <div *ngFor=\"let step of steps; last as isLast\"\n #slickSlide\n class=\"slick-slide\">\n\n <div>\n <div [attr.aria-label]=\"getAriaLabelValue(step)\"\n class=\"item\"\n [ngClass]=\"{'active': step.index==currentStep, 'prevActive': isActive(step.index)}\"\n style=\"width: 100%;\n display: inline-block;\">\n\n <a *ngIf=\"isActive(step.index)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n (click)=\"stepOnClick(step)\"\n href=\"javascript:void(0)\"
|
|
4464
|
+
template: "<!--<div *ngIf=\"show\"\n [attr.id]='id || undefined'\n class=\"row wizard courousel-varible-width marginBottom {{class}} inail-wizard-view-encapsulation\">\n <div *ngFor=\"let step of steps; last as isLast\"\n class=\"item\"\n [attr.aria-label]=\"getAriaLabelValue(step)\"\n [ngClass]=\"{'active': step.index==currentStep, 'prevActive': isActive(step.index)}\">\n <a (click)=\"stepOnClick(step)\"\n *ngIf=\"isActive(step.index)\"\n [attr.tabindex]=\"0\"\n href=\"javascript:void(0)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n title=\"{{step.title ? step.title : step.label}}\" #stepLink>\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </a>\n <span *ngIf=\"!isActive(step.index)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n title=\"{{step.title ? step.title : step.label}}\">\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </span>\n </div>\n</div>-->\n<div [id]=\"id\" class=\"row wizard courousel-varible-width slick-initialized slick-slider marginBottom inail-wizard-view-encapsulation {{class}}\">\n <button #prevButton\n [title]=\"prevButtonTitle\"\n type=\"button\"\n class=\"slick-prev fa fa-caret-left slick-arrow\"\n style=\"display: block;\"\n (click)=\"prevButtonOnClick()\">\n </button>\n <div class=\"slick-list draggable\">\n <div #slickTrack\n class=\"slick-track\"\n style=\"opacity: 1; width: 45000px; transition: transform 300ms ease 0s\">\n\n <div *ngFor=\"let step of steps; last as isLast\"\n #slickSlide\n class=\"slick-slide\">\n\n <div>\n <div [attr.aria-label]=\"getAriaLabelValue(step)\"\n class=\"item\"\n [ngClass]=\"{'active': step.index==currentStep, 'prevActive': isActive(step.index)}\"\n style=\"width: 100%;\n display: inline-block;\">\n\n <a *ngIf=\"isActive(step.index)\"\n [ngClass]=\"{'errorLabel': step.error}\"\n (click)=\"stepOnClick(step)\"\n href=\"javascript:void(0)\">\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </a>\n <span *ngIf=\"!isActive(step.index)\"\n [ngClass]=\"{'errorLabel': step.error}\">\n <span>\n <span *ngIf=\"showNumber\" class=\"step-number\">{{step.index + 1}} </span>\n <span [innerHTML]=\"getStepLabel(step, isLast)\"></span>\n </span>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <button #nextButton\n [title]=\"nextButtonTitle\"\n type=\"button\"\n class=\"slick-next fa fa-caret-right slick-arrow\"\n style=\"display: block;\"\n (click)=\"nextButtonOnClick()\">\n </button>\n</div>\n<div [hidden]=\"!inizializzazioneContenutiCompletata\">\n <ng-content></ng-content>\n</div>\n",
|
|
4459
4465
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4460
4466
|
styles: [".inail-wizard-view-encapsulation.wizard.courousel-varible-width{padding-left:22px;padding-right:22px}.inail-wizard-view-encapsulation.wizard button.slick-arrow:focus{outline:#000 dotted 1px!important}.inail-wizard-view-encapsulation.wizard .item>span{color:#767676!important;text-decoration:none;cursor:default}.inail-wizard-view-encapsulation.wizard .item.active>span{color:#002e5f!important;font-weight:700;cursor:default!important;text-decoration:none!important;pointer-events:none}"]
|
|
4461
4467
|
}] }
|