@fluxhub/fluxhub-lib 1.0.287 → 1.0.289
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 +21 -3
- 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_info_doc.html +32 -1
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/wkf_engine/win_info_doc.js +10 -1
- package/esm2015/lib/wkf_engine/wkfapp.js +19 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -1
- package/esm5/lib/wkf_engine/win_info_doc.js +5 -2
- package/esm5/lib/wkf_engine/wkfapp.js +19 -3
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +27 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +22 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_info_doc.d.ts +1 -0
- 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, 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';
|
|
@@ -5350,8 +5350,16 @@ wkfapp = /** @class */ (function () {
|
|
|
5350
5350
|
a_partecipanti = this.get_grid().sRow.partecipanti;
|
|
5351
5351
|
/** @type {?} */
|
|
5352
5352
|
var a_datanot = "";
|
|
5353
|
-
|
|
5353
|
+
/** @type {?} */
|
|
5354
|
+
var old_grp = "XCXXX";
|
|
5354
5355
|
for (var i = 0; i < this.wax.length; i++) {
|
|
5356
|
+
if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
|
|
5357
|
+
old_grp = this.wax[i].gruppo_parallelo;
|
|
5358
|
+
}
|
|
5359
|
+
else {
|
|
5360
|
+
this._toastr.error('impossibile assegnare a utenti di gruppi distiniti');
|
|
5361
|
+
return;
|
|
5362
|
+
}
|
|
5355
5363
|
if (a_datanot != "")
|
|
5356
5364
|
a_datanot = a_datanot + ",";
|
|
5357
5365
|
a_datanot = a_datanot + this.wax[i].idp;
|
|
@@ -5402,9 +5410,17 @@ wkfapp = /** @class */ (function () {
|
|
|
5402
5410
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5403
5411
|
}));
|
|
5404
5412
|
/** @type {?} */
|
|
5413
|
+
var ccan = "$$";
|
|
5414
|
+
if (this.wax.length > 0) {
|
|
5415
|
+
if (this.wax[0].gruppo_parallelo != null)
|
|
5416
|
+
if (this.wax[0].gruppo_parallelo != '')
|
|
5417
|
+
ccan = this.wax[0].gruppo_parallelo;
|
|
5418
|
+
}
|
|
5419
|
+
console.log('riassegnazione canale: ', ccan);
|
|
5420
|
+
/** @type {?} */
|
|
5405
5421
|
var p = new QParam();
|
|
5406
5422
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
5407
|
-
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string'];
|
|
5423
|
+
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', ccan];
|
|
5408
5424
|
p.values = [this.os_r.livello, this.os_r.descri_livello, a_let, a_aut, this.os_r.descri_livello, a_pers_inti, a_partecipanti, this.get_grid().sRow.id_applicativo, this.get_grid().sRow.uiid];
|
|
5409
5425
|
this
|
|
5410
5426
|
.m_dataService
|
|
@@ -12341,6 +12357,7 @@ var win_info_doc = /** @class */ (function () {
|
|
|
12341
12357
|
this.in_carico_a = this.m_appService.getState().wkf_doc_info.in_carico_a;
|
|
12342
12358
|
this.uiid_app = this.m_appService.getState().wkf_doc_info.uiid_app;
|
|
12343
12359
|
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
12360
|
+
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
12344
12361
|
}
|
|
12345
12362
|
/**
|
|
12346
12363
|
* @return {?}
|
|
@@ -12352,7 +12369,7 @@ var win_info_doc = /** @class */ (function () {
|
|
|
12352
12369
|
};
|
|
12353
12370
|
win_info_doc.decorators = [
|
|
12354
12371
|
{ type: Component, args: [{
|
|
12355
|
-
template: "\n <mat-toolbar color=\"primary\">INFO DOCUMENTO\n <div style=\"width:100%;text-align: right;\">\n </div>\n </mat-toolbar>\n <div mat-dialog-content>\n \n <table class=\"fh_table\">\n\n <tbody>\n <tr class=\"odd\">\n\n <td>Codice:</td>\n <td><b>{{codice}}</b></td>\n </tr>\n <tr class=\"even\">\n\n <td>Data:</td>\n <td><b>{{data_richiesta | date: 'dd/MM/yyyy hh:mm:ss'}}</b></td>\n </tr>\n <tr *ngIf=\"!hide_richiedente\" class=\"odd\">\n\n <td>Richiedente:</td>\n <td><b>{{richiedente}}</b></td>\n\n </tr>\n <tr class=\"even\">\n\n <td>Stato:</td>\n <td><b>{{stato}}</b></td>\n\n </tr>\n <tr class=\"odd\"> \n\n <td>In Carico a:</td>\n <td><b>{{in_carico_a}}</b></td>\n\n </tr>\n\n <tr class=\"even\" *ngIf=\"m_appService.dev_mode\">\n\n <td>Uiid App:</td>\n <td><b>{{uiid_app}}</b></td>\n\n </tr>\n <tr class=\"odd\" *ngIf=\"m_appService.dev_mode\">\n\n <td>Uiid Doc:</td>\n <td><b>{{uiid_doc}}</b></td>\n\n </tr>\n </tbody>\n </table>\n \n </div>\n <br>\n\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"accent\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n "
|
|
12372
|
+
template: "\n <mat-toolbar color=\"primary\">INFO DOCUMENTO\n <div style=\"width:100%;text-align: right;\">\n </div>\n </mat-toolbar>\n <div mat-dialog-content>\n \n <table class=\"fh_table\">\n\n <tbody>\n <tr class=\"odd\">\n\n <td>Codice:</td>\n <td><b>{{codice}}</b></td>\n </tr>\n <tr class=\"even\">\n\n <td>Data:</td>\n <td><b>{{data_richiesta | date: 'dd/MM/yyyy hh:mm:ss'}}</b></td>\n </tr>\n <tr *ngIf=\"!hide_richiedente\" class=\"odd\">\n\n <td>Richiedente:</td>\n <td><b>{{richiedente}}</b></td>\n\n </tr>\n <tr class=\"even\">\n\n <td>Stato:</td>\n <td><b>{{stato}}</b></td>\n\n </tr>\n <tr class=\"odd\"> \n\n <td>In Carico a:</td>\n <td><b>{{in_carico_a}}</b></td>\n\n </tr>\n\n <tr class=\"even\" *ngIf=\"m_appService.dev_mode\">\n\n <td>Uiid App:</td>\n <td><b>{{uiid_app}}</b></td>\n\n </tr>\n <tr class=\"odd\" *ngIf=\"m_appService.dev_mode\">\n\n <td>Uiid Doc:</td>\n <td><b>{{uiid_doc}}</b></td>\n\n </tr>\n <tr class=\"odd\" *ngIf=\"m_appService.dev_mode\">\n\n <td>Grp:</td>\n <td><b>{{canale}}</b></td>\n\n </tr>\n </tbody>\n </table>\n \n </div>\n <br>\n\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"accent\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n "
|
|
12356
12373
|
}] }
|
|
12357
12374
|
];
|
|
12358
12375
|
/** @nocollapse */
|
|
@@ -14783,6 +14800,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
14783
14800
|
this.app_s.getState().wkf_doc_info.stato = this.m_obj.stat_stato;
|
|
14784
14801
|
this.app_s.getState().wkf_doc_info.uiid_app = this.id_applicativo;
|
|
14785
14802
|
this.app_s.getState().wkf_doc_info.uiid_doc = this.m_obj.id_documento;
|
|
14803
|
+
this.app_s.getState().wkf_doc_info.canale = this.m_obj.canale;
|
|
14786
14804
|
};
|
|
14787
14805
|
/**
|
|
14788
14806
|
* @return {?}
|