@fluxhub/fluxhub-lib 1.0.278 → 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 +7 -6
- 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/docs/components/win_log.html +65 -64
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/wkf_engine/win_log.js +3 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +8 -7
- package/esm5/lib/wkf_engine/win_log.js +2 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +7 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
37
|
+
import { Injectable, Component, Directive, 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';
|
|
@@ -12756,7 +12756,7 @@ var win_log = /** @class */ (function () {
|
|
|
12756
12756
|
};
|
|
12757
12757
|
win_log.decorators = [
|
|
12758
12758
|
{ type: Component, args: [{
|
|
12759
|
-
template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n
|
|
12759
|
+
template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <!--\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n-->\n </mat-toolbar>\n <br>\n <div mat-dialog-content>\n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\">\n <textarea matInput placeholder=\"Commento\" [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button> \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori===''\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\">\n\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.v_data_creazione}}</td>\n <td>{{app.nc}}</td>\n <td>{{app.operazione}}</td>\n\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br>\n </mat-tab>\n </mat-tab-group>\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button mat-raised-button (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n ",
|
|
12760
12760
|
styles: ["\n\n\n "]
|
|
12761
12761
|
}] }
|
|
12762
12762
|
];
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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 {?}
|