@fluxhub/fluxhub-lib 1.0.289 → 1.0.290

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.
@@ -33,7 +33,7 @@ import { DomSanitizer } from '@angular/platform-browser';
33
33
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
34
34
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
35
35
  import { ActivatedRoute, Router } from '@angular/router';
36
- import { Injectable, Directive, Component, Pipe, Inject, PLATFORM_ID, Input, forwardRef, ViewChild, Output, EventEmitter, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
36
+ import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, forwardRef, Output, EventEmitter, ViewChild, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
37
37
  import { Http } from '@angular/http';
38
38
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
39
39
  import { ToastrService } from 'ngx-toastr';
@@ -14306,10 +14306,8 @@ class dati_aggiuntivi {
14306
14306
  }
14307
14307
  if (this.clevel == null)
14308
14308
  for (let i = 0; i < this.livs.length; i++) {
14309
- console.log(this.livs[i]);
14310
14309
  if (this.livs[i].livello == liv) {
14311
14310
  if (this.user_idp.toUpperCase() == this.livs[i].idp.toUpperCase() || this.livs[i].gruppo_parallelo == '*ALLUSERS') {
14312
- console.log(this.c_canale + " " + this.livs[i].gruppo_parallelo);
14313
14311
  if (this.livs[i].notifica == 0 && (this.c_canale == "" || this.livs[i].gruppo_parallelo == "" || this.c_canale == this.livs[i].gruppo_parallelo || this.livs[i].gruppo_parallelo == '*ALLUSERS')) {
14314
14312
  this.clevel = this.livs[i];
14315
14313
  break;
@@ -14432,13 +14430,14 @@ class dati_aggiuntivi {
14432
14430
  */
14433
14431
  calcolanextandjump() {
14434
14432
  /** @type {?} */
14435
- var liv = 0;
14433
+ let liv = 0;
14436
14434
  /** @type {?} */
14437
- var cliv = 100000;
14435
+ let cliv = 100000;
14438
14436
  liv = this.clevel.livello;
14439
14437
  console.log('liv: ' + liv);
14440
- for (var i = 0; i < this.livs.length; i++)
14438
+ for (let i = 0; i < this.livs.length; i++)
14441
14439
  if (liv == 0 || (liv < this.livs[i].livello && cliv > this.livs[i].livello)) {
14440
+ console.log('calcolo next ', this.nlevel);
14442
14441
  this.nlevel = this.livs[i];
14443
14442
  cliv = this.livs[i].livello;
14444
14443
  }