@fluxhub/fluxhub-lib 1.0.286 → 1.0.288
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 +43 -14
- 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/auth_guard.js +3 -2
- package/esm2015/lib/wkf_engine/win_info_doc.js +10 -1
- package/esm2015/lib/wkf_engine/wkfapp.js +16 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +16 -3
- package/esm5/lib/auth_guard.js +3 -2
- package/esm5/lib/wkf_engine/win_info_doc.js +5 -2
- package/esm5/lib/wkf_engine/wkfapp.js +16 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +25 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +40 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +44 -15
- 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
|
@@ -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, Pipe, Input, Output, EventEmitter, forwardRef, ViewChild, ElementRef,
|
|
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';
|
|
@@ -5156,9 +5156,23 @@ class wkfapp {
|
|
|
5156
5156
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5157
5157
|
}));
|
|
5158
5158
|
/** @type {?} */
|
|
5159
|
+
let ccan = "$$";
|
|
5160
|
+
for (let i = 0; i < this.livs_adm.length; i++)
|
|
5161
|
+
for (let y = 0; y < this.wax.length; y++) {
|
|
5162
|
+
if (this.livs_adm[i].livello == this.os_r.livello && this.wax[y].idp == this.livs_adm[i].idp) {
|
|
5163
|
+
if (ccan != "$$") {
|
|
5164
|
+
ccan = "$$";
|
|
5165
|
+
break;
|
|
5166
|
+
}
|
|
5167
|
+
else
|
|
5168
|
+
ccan = this.livs_adm[i].gruppo_parallelo;
|
|
5169
|
+
}
|
|
5170
|
+
}
|
|
5171
|
+
console.log('riassegnazione canale: ', ccan);
|
|
5172
|
+
/** @type {?} */
|
|
5159
5173
|
var p = new QParam();
|
|
5160
5174
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
5161
|
-
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string'];
|
|
5175
|
+
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', ccan];
|
|
5162
5176
|
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];
|
|
5163
5177
|
this
|
|
5164
5178
|
.m_dataService
|
|
@@ -11887,6 +11901,7 @@ class win_info_doc {
|
|
|
11887
11901
|
this.in_carico_a = this.m_appService.getState().wkf_doc_info.in_carico_a;
|
|
11888
11902
|
this.uiid_app = this.m_appService.getState().wkf_doc_info.uiid_app;
|
|
11889
11903
|
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
11904
|
+
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
11890
11905
|
}
|
|
11891
11906
|
/**
|
|
11892
11907
|
* @return {?}
|
|
@@ -11946,6 +11961,12 @@ win_info_doc.decorators = [
|
|
|
11946
11961
|
<td>Uiid Doc:</td>
|
|
11947
11962
|
<td><b>{{uiid_doc}}</b></td>
|
|
11948
11963
|
|
|
11964
|
+
</tr>
|
|
11965
|
+
<tr class="odd" *ngIf="m_appService.dev_mode">
|
|
11966
|
+
|
|
11967
|
+
<td>Grp:</td>
|
|
11968
|
+
<td><b>{{canale}}</b></td>
|
|
11969
|
+
|
|
11949
11970
|
</tr>
|
|
11950
11971
|
</tbody>
|
|
11951
11972
|
</table>
|
|
@@ -14675,11 +14696,23 @@ class dati_aggiuntivi {
|
|
|
14675
14696
|
}));
|
|
14676
14697
|
}
|
|
14677
14698
|
/** @type {?} */
|
|
14699
|
+
let ccan = "$$";
|
|
14700
|
+
for (let i = 0; i < this.livs.length; i++) {
|
|
14701
|
+
if (this.livs[i].livello == this.clevel.livello && this.livs[i].idp == this.app_s.user) {
|
|
14702
|
+
if (ccan != "$$") {
|
|
14703
|
+
ccan = "$$";
|
|
14704
|
+
break;
|
|
14705
|
+
}
|
|
14706
|
+
else
|
|
14707
|
+
ccan = this.livs[i].gruppo_parallelo;
|
|
14708
|
+
}
|
|
14709
|
+
}
|
|
14710
|
+
/** @type {?} */
|
|
14678
14711
|
let a;
|
|
14679
14712
|
if (!this.app_info.documento_pubblico)
|
|
14680
|
-
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento);
|
|
14713
|
+
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
14681
14714
|
else
|
|
14682
|
-
a = new Array(this.m_autori, "", this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento);
|
|
14715
|
+
a = new Array(this.m_autori, "", this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
14683
14716
|
/** @type {?} */
|
|
14684
14717
|
let t = new Array();
|
|
14685
14718
|
for (let i = 0; i < a.length; i++)
|
|
@@ -14695,6 +14728,7 @@ class dati_aggiuntivi {
|
|
|
14695
14728
|
if (this.nlevel != null)
|
|
14696
14729
|
if (this.nlevel.descri_livello != null)
|
|
14697
14730
|
this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
|
|
14731
|
+
console.log('ccan ', ccan);
|
|
14698
14732
|
/** @type {?} */
|
|
14699
14733
|
let p = new QParam();
|
|
14700
14734
|
p.sql = "doWKF";
|
|
@@ -17339,6 +17373,7 @@ class FHGuard {
|
|
|
17339
17373
|
this.appService.user_roles = this.appService.user_roles.substr(1);
|
|
17340
17374
|
this.appService.user_isadmin = data.result_data[0].isadmin;
|
|
17341
17375
|
this.appService.user = data.result_data[0].username;
|
|
17376
|
+
console.log('this.app_s.user_isadmin ', this.app_s.user_isadmin);
|
|
17342
17377
|
if (this.app_s.user_isadmin != null)
|
|
17343
17378
|
if (this.app_s.user_isadmin == "1") {
|
|
17344
17379
|
resolve(true);
|
|
@@ -17358,7 +17393,7 @@ class FHGuard {
|
|
|
17358
17393
|
data => {
|
|
17359
17394
|
this.arr_accessi = data.result_data;
|
|
17360
17395
|
for (let i = 0; i < this.arr_accessi.length; i++) {
|
|
17361
|
-
|
|
17396
|
+
console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
17362
17397
|
if (this.arr_accessi[i].type == 'M') {
|
|
17363
17398
|
if ('[' + this.arr_accessi[i].url.split('/')[0] + ']' == '[' + this.routingDestination.split('/')[0] + ']') {
|
|
17364
17399
|
resolve(true);
|