ng-inail-common 1.0.457 → 1.0.459

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.
@@ -4342,7 +4342,7 @@
4342
4342
  * @return {?}
4343
4343
  */
4344
4344
  function (step) {
4345
- if (step.index < this.currentStep || (step.index > this.currentStep && this.fullNavigation)) {
4345
+ if (step.index < this.currentStep || (step.index > this.currentStep && this.fullNavigation) || (this.activateVisitedStep === true && step.visited)) {
4346
4346
  this.currentStep = step.index;
4347
4347
  this.select.emit(step);
4348
4348
  }
@@ -4374,13 +4374,18 @@
4374
4374
  /** @type {?} */
4375
4375
  var value;
4376
4376
  if (step.index == this.currentStep) {
4377
- value = "Step " + (step.index + 1) + " corrente";
4377
+ value = "Step " + (step.index + 1) + " step corrente";
4378
4378
  }
4379
4379
  else if (step.index < this.currentStep) {
4380
- value = "Step " + (step.index + 1) + " eseguito";
4380
+ value = "Step " + (step.index + 1) + " step eseguito";
4381
4381
  }
4382
4382
  else {
4383
- value = "Step " + (step.index + 1) + " successivo";
4383
+ if (step.visited) {
4384
+ value = "Step " + (step.index + 1) + " step eseguito";
4385
+ }
4386
+ else {
4387
+ value = "Step " + (step.index + 1) + " non ancora attivo";
4388
+ }
4384
4389
  }
4385
4390
  if (step.error) {
4386
4391
  value += ' con errori';