@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
|
@@ -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,
|
|
36
|
+
import { Injectable, Directive, Component, Pipe, Inject, PLATFORM_ID, Input, forwardRef, ViewChild, Output, EventEmitter, 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';
|
|
@@ -5104,8 +5104,16 @@ class wkfapp {
|
|
|
5104
5104
|
a_partecipanti = this.get_grid().sRow.partecipanti;
|
|
5105
5105
|
/** @type {?} */
|
|
5106
5106
|
let a_datanot = "";
|
|
5107
|
-
|
|
5107
|
+
/** @type {?} */
|
|
5108
|
+
let old_grp = "XCXXX";
|
|
5108
5109
|
for (let i = 0; i < this.wax.length; i++) {
|
|
5110
|
+
if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
|
|
5111
|
+
old_grp = this.wax[i].gruppo_parallelo;
|
|
5112
|
+
}
|
|
5113
|
+
else {
|
|
5114
|
+
this._toastr.error('impossibile assegnare a utenti di gruppi distiniti');
|
|
5115
|
+
return;
|
|
5116
|
+
}
|
|
5109
5117
|
if (a_datanot != "")
|
|
5110
5118
|
a_datanot = a_datanot + ",";
|
|
5111
5119
|
a_datanot = a_datanot + this.wax[i].idp;
|
|
@@ -5156,9 +5164,17 @@ class wkfapp {
|
|
|
5156
5164
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5157
5165
|
}));
|
|
5158
5166
|
/** @type {?} */
|
|
5167
|
+
let ccan = "$$";
|
|
5168
|
+
if (this.wax.length > 0) {
|
|
5169
|
+
if (this.wax[0].gruppo_parallelo != null)
|
|
5170
|
+
if (this.wax[0].gruppo_parallelo != '')
|
|
5171
|
+
ccan = this.wax[0].gruppo_parallelo;
|
|
5172
|
+
}
|
|
5173
|
+
console.log('riassegnazione canale: ', ccan);
|
|
5174
|
+
/** @type {?} */
|
|
5159
5175
|
var p = new QParam();
|
|
5160
5176
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
5161
|
-
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string'];
|
|
5177
|
+
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', ccan];
|
|
5162
5178
|
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
5179
|
this
|
|
5164
5180
|
.m_dataService
|
|
@@ -11887,6 +11903,7 @@ class win_info_doc {
|
|
|
11887
11903
|
this.in_carico_a = this.m_appService.getState().wkf_doc_info.in_carico_a;
|
|
11888
11904
|
this.uiid_app = this.m_appService.getState().wkf_doc_info.uiid_app;
|
|
11889
11905
|
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
11906
|
+
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
11890
11907
|
}
|
|
11891
11908
|
/**
|
|
11892
11909
|
* @return {?}
|
|
@@ -11946,6 +11963,12 @@ win_info_doc.decorators = [
|
|
|
11946
11963
|
<td>Uiid Doc:</td>
|
|
11947
11964
|
<td><b>{{uiid_doc}}</b></td>
|
|
11948
11965
|
|
|
11966
|
+
</tr>
|
|
11967
|
+
<tr class="odd" *ngIf="m_appService.dev_mode">
|
|
11968
|
+
|
|
11969
|
+
<td>Grp:</td>
|
|
11970
|
+
<td><b>{{canale}}</b></td>
|
|
11971
|
+
|
|
11949
11972
|
</tr>
|
|
11950
11973
|
</tbody>
|
|
11951
11974
|
</table>
|
|
@@ -14229,6 +14252,7 @@ class dati_aggiuntivi {
|
|
|
14229
14252
|
this.app_s.getState().wkf_doc_info.stato = this.m_obj.stat_stato;
|
|
14230
14253
|
this.app_s.getState().wkf_doc_info.uiid_app = this.id_applicativo;
|
|
14231
14254
|
this.app_s.getState().wkf_doc_info.uiid_doc = this.m_obj.id_documento;
|
|
14255
|
+
this.app_s.getState().wkf_doc_info.canale = this.m_obj.canale;
|
|
14232
14256
|
}
|
|
14233
14257
|
/**
|
|
14234
14258
|
* @return {?}
|