@fluxhub/fluxhub-lib 1.0.279 → 1.0.281

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, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Directive, Component, Inject, PLATFORM_ID, Pipe, Input, Output, EventEmitter, forwardRef, 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';
@@ -14765,7 +14765,7 @@ var dati_aggiuntivi = /** @class */ (function () {
14765
14765
  this.user_nome = this.app_s.user_name;
14766
14766
  this.user_cognome = this.app_s.user_surname;
14767
14767
  this.user_email = this.app_s.user_email;
14768
- // console.log('user_idp: '+ this.user_idp);
14768
+ console.log('user_idp: ' + this.user_idp);
14769
14769
  }
14770
14770
  /**
14771
14771
  * @return {?}
@@ -15197,7 +15197,6 @@ var dati_aggiuntivi = /** @class */ (function () {
15197
15197
  this.m_lettori = this.m_lettori + ",";
15198
15198
  this.m_lettori = this.m_lettori + this.arrUsersSelected[i].idp;
15199
15199
  }
15200
- console.log('m_lettori2 ' + this.m_lettori);
15201
15200
  if (this.m_autori.toLowerCase().indexOf(this.arrUsersSelected[i].idp.toLowerCase()) == -1) {
15202
15201
  if (this.m_autori != "")
15203
15202
  this.m_autori = this.m_autori + ",";
@@ -15206,7 +15205,6 @@ var dati_aggiuntivi = /** @class */ (function () {
15206
15205
  this.m_autori = this.m_autori + this.arrUsersSelected[i].idp;
15207
15206
  nomi_autori = nomi_autori + this.arrUsersSelected[i].nc;
15208
15207
  }
15209
- console.log('m_lettori3 ' + this.m_lettori);
15210
15208
  }
15211
15209
  if (this.nota != "") {
15212
15210
  this.insert_commento(this.id_applicativo, this.id_documento, this.nota, this.user_idp); //id_applicativo,uiid,commento,creatore
@@ -15217,7 +15215,10 @@ var dati_aggiuntivi = /** @class */ (function () {
15217
15215
  this.m_obj.assegnati_paralleli = "";
15218
15216
  this.chstato(this.m_liv);
15219
15217
  if (this.m_obj.stato <= 10) {
15220
- this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.user_idp);
15218
+ if (this.m_obj.creatore == null || this.m_obj.creatore == '')
15219
+ this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.user_idp);
15220
+ else
15221
+ this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.m_obj.creatore);
15221
15222
  }
15222
15223
  for (var i = 0; i < this.livs.length; i++)
15223
15224
  if (this.livs[i].livello == this.m_liv && this.livs[i].notifica == 1) {
@@ -15886,7 +15887,6 @@ var dati_aggiuntivi = /** @class */ (function () {
15886
15887
  */
15887
15888
  function (o) {
15888
15889
  var _this = this;
15889
- console.log(o);
15890
15890
  this.m_obj = (JSON.parse(JSON.stringify(o)));
15891
15891
  this.edit_b(false);
15892
15892
  this.save_to_app_state();
@@ -16436,6 +16436,7 @@ var dati_aggiuntivi = /** @class */ (function () {
16436
16436
  */
16437
16437
  function () {
16438
16438
  var _this = this;
16439
+ console.log('ngOnInit ');
16439
16440
  this.m_route.params.subscribe((/**
16440
16441
  * @param {?} params
16441
16442
  * @return {?}