@fluxhub/fluxhub-lib 1.0.279 → 1.0.280
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +6 -5
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +8 -7
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +7 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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';
|
|
@@ -14214,7 +14214,7 @@ class dati_aggiuntivi {
|
|
|
14214
14214
|
this.user_nome = this.app_s.user_name;
|
|
14215
14215
|
this.user_cognome = this.app_s.user_surname;
|
|
14216
14216
|
this.user_email = this.app_s.user_email;
|
|
14217
|
-
|
|
14217
|
+
console.log('user_idp: ' + this.user_idp);
|
|
14218
14218
|
}
|
|
14219
14219
|
/**
|
|
14220
14220
|
* @return {?}
|
|
@@ -14613,7 +14613,6 @@ class dati_aggiuntivi {
|
|
|
14613
14613
|
this.m_lettori = this.m_lettori + ",";
|
|
14614
14614
|
this.m_lettori = this.m_lettori + this.arrUsersSelected[i].idp;
|
|
14615
14615
|
}
|
|
14616
|
-
console.log('m_lettori2 ' + this.m_lettori);
|
|
14617
14616
|
if (this.m_autori.toLowerCase().indexOf(this.arrUsersSelected[i].idp.toLowerCase()) == -1) {
|
|
14618
14617
|
if (this.m_autori != "")
|
|
14619
14618
|
this.m_autori = this.m_autori + ",";
|
|
@@ -14622,7 +14621,6 @@ class dati_aggiuntivi {
|
|
|
14622
14621
|
this.m_autori = this.m_autori + this.arrUsersSelected[i].idp;
|
|
14623
14622
|
nomi_autori = nomi_autori + this.arrUsersSelected[i].nc;
|
|
14624
14623
|
}
|
|
14625
|
-
console.log('m_lettori3 ' + this.m_lettori);
|
|
14626
14624
|
}
|
|
14627
14625
|
if (this.nota != "") {
|
|
14628
14626
|
this.insert_commento(this.id_applicativo, this.id_documento, this.nota, this.user_idp); //id_applicativo,uiid,commento,creatore
|
|
@@ -14633,7 +14631,10 @@ class dati_aggiuntivi {
|
|
|
14633
14631
|
this.m_obj.assegnati_paralleli = "";
|
|
14634
14632
|
this.chstato(this.m_liv);
|
|
14635
14633
|
if (this.m_obj.stato <= 10) {
|
|
14636
|
-
|
|
14634
|
+
if (this.m_obj.creatore == null || this.m_obj.creatore == '')
|
|
14635
|
+
this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.user_idp);
|
|
14636
|
+
else
|
|
14637
|
+
this.insert_wkf_variabile(this.id_applicativo, this.id_documento, "REQUESTER", this.m_obj.creatore);
|
|
14637
14638
|
}
|
|
14638
14639
|
for (var i = 0; i < this.livs.length; i++)
|
|
14639
14640
|
if (this.livs[i].livello == this.m_liv && this.livs[i].notifica == 1) {
|
|
@@ -14955,7 +14956,7 @@ class dati_aggiuntivi {
|
|
|
14955
14956
|
*/
|
|
14956
14957
|
insert_wkf_variabile(p_id_applicativo, p_id_documento, p_var, p_user_idp) {
|
|
14957
14958
|
/** @type {?} */
|
|
14958
|
-
|
|
14959
|
+
let p = new QParam();
|
|
14959
14960
|
p.sql = "insert_wkf_variabile";
|
|
14960
14961
|
p.values = [p_id_applicativo, p_id_documento, p_var, p_user_idp];
|
|
14961
14962
|
this.m_wkf.doQuery(p).subscribe((/**
|
|
@@ -15220,7 +15221,6 @@ class dati_aggiuntivi {
|
|
|
15220
15221
|
* @return {?}
|
|
15221
15222
|
*/
|
|
15222
15223
|
ok_load_document(o) {
|
|
15223
|
-
console.log(o);
|
|
15224
15224
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
15225
15225
|
this.edit_b(false);
|
|
15226
15226
|
this.save_to_app_state();
|
|
@@ -15712,6 +15712,7 @@ class dati_aggiuntivi {
|
|
|
15712
15712
|
* @return {?}
|
|
15713
15713
|
*/
|
|
15714
15714
|
ngOnInit() {
|
|
15715
|
+
console.log('ngOnInit ');
|
|
15715
15716
|
this.m_route.params.subscribe((/**
|
|
15716
15717
|
* @param {?} params
|
|
15717
15718
|
* @return {?}
|