@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.
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
34
34
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
35
35
  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';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Component, Pipe, Inject, PLATFORM_ID, Directive, Input, forwardRef, ViewChild, Output, EventEmitter, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -5943,7 +5943,7 @@ wkfapp = /** @class */ (function () {
5943
5943
  if (this.livs[i].idp != null)
5944
5944
  if (this.user_idp != null)
5945
5945
  if ((this.livs[i].idp.toUpperCase() == this.user_idp.toUpperCase() || this.livs[i].gruppo_parallelo == "*ALLUSERS"))
5946
- if (this.livs[i].livello == 10 && this.livs[i].notifica == 0) {
5946
+ if (this.livs[i].livello <= 10 && this.livs[i].notifica == 0) {
5947
5947
  this.is_Ins = true;
5948
5948
  if (this.livs[i].gruppo_parallelo == "*ALLUSERS") {
5949
5949
  this.livs[i].gruppo_parallelo = "";
@@ -15002,9 +15002,9 @@ var dati_aggiuntivi = /** @class */ (function () {
15002
15002
  console.log('liv: ' + liv);
15003
15003
  for (var i_1 = 0; i_1 < this.livs.length; i_1++)
15004
15004
  if (liv == 0 || (liv < this.livs[i_1].livello && cliv > this.livs[i_1].livello)) {
15005
- console.log('calcolo next ', this.nlevel);
15006
15005
  this.nlevel = this.livs[i_1];
15007
15006
  cliv = this.livs[i_1].livello;
15007
+ console.log('calcolo next ', this.nlevel);
15008
15008
  }
15009
15009
  liv = this.wkf_rule(cliv);
15010
15010
  /** @type {?} */
@@ -15058,13 +15058,16 @@ var dati_aggiuntivi = /** @class */ (function () {
15058
15058
  /** @type {?} */
15059
15059
  var arrAutori = new Array();
15060
15060
  if (this.clevel.gruppo_parallelo == "") {
15061
+ console.log('senza gp ', this.clevel.gruppo_parallelo + " " + this.nlevel.livello);
15061
15062
  for (var i = 0; i < this.livs.length; i++)
15062
15063
  if (this.livs[i].livello == this.nlevel.livello && this.livs[i].notifica == 0)
15063
15064
  arrAutori.push(this.livs[i]);
15065
+ console.log('arrAutori ', arrAutori);
15064
15066
  }
15065
15067
  else {
15066
15068
  /** @type {?} */
15067
15069
  var b_canale = false;
15070
+ console.log('con gp ', this.clevel.gruppo_parallelo);
15068
15071
  for (var i = 0; i < this.livs.length; i++)
15069
15072
  if (this.livs[i].livello == this.nlevel.livello && this.livs[i].gruppo_parallelo != "")
15070
15073
  b_canale = true;