@fluxhub/fluxhub-lib 1.0.290 → 1.0.291

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, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, forwardRef, Output, EventEmitter, ViewChild, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
36
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, forwardRef, 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';
@@ -5656,7 +5656,7 @@ class wkfapp {
5656
5656
  if (this.livs[i].idp != null)
5657
5657
  if (this.user_idp != null)
5658
5658
  if ((this.livs[i].idp.toUpperCase() == this.user_idp.toUpperCase() || this.livs[i].gruppo_parallelo == "*ALLUSERS"))
5659
- if (this.livs[i].livello == 10 && this.livs[i].notifica == 0) {
5659
+ if (this.livs[i].livello <= 10 && this.livs[i].notifica == 0) {
5660
5660
  this.is_Ins = true;
5661
5661
  if (this.livs[i].gruppo_parallelo == "*ALLUSERS") {
5662
5662
  this.livs[i].gruppo_parallelo = "";
@@ -14437,9 +14437,9 @@ class dati_aggiuntivi {
14437
14437
  console.log('liv: ' + liv);
14438
14438
  for (let i = 0; i < this.livs.length; i++)
14439
14439
  if (liv == 0 || (liv < this.livs[i].livello && cliv > this.livs[i].livello)) {
14440
- console.log('calcolo next ', this.nlevel);
14441
14440
  this.nlevel = this.livs[i];
14442
14441
  cliv = this.livs[i].livello;
14442
+ console.log('calcolo next ', this.nlevel);
14443
14443
  }
14444
14444
  liv = this.wkf_rule(cliv);
14445
14445
  /** @type {?} */
@@ -14487,15 +14487,18 @@ class dati_aggiuntivi {
14487
14487
  return;
14488
14488
  }
14489
14489
  /** @type {?} */
14490
- var arrAutori = new Array();
14490
+ let arrAutori = new Array();
14491
14491
  if (this.clevel.gruppo_parallelo == "") {
14492
+ console.log('senza gp ', this.clevel.gruppo_parallelo + " " + this.nlevel.livello);
14492
14493
  for (var i = 0; i < this.livs.length; i++)
14493
14494
  if (this.livs[i].livello == this.nlevel.livello && this.livs[i].notifica == 0)
14494
14495
  arrAutori.push(this.livs[i]);
14496
+ console.log('arrAutori ', arrAutori);
14495
14497
  }
14496
14498
  else {
14497
14499
  /** @type {?} */
14498
14500
  var b_canale = false;
14501
+ console.log('con gp ', this.clevel.gruppo_parallelo);
14499
14502
  for (var i = 0; i < this.livs.length; i++)
14500
14503
  if (this.livs[i].livello == this.nlevel.livello && this.livs[i].gruppo_parallelo != "")
14501
14504
  b_canale = true;