@fluxhub/fluxhub-lib 10.0.580 → 10.0.581
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 +23 -21
- 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/controls/fhcombobox.js +4 -2
- package/esm2015/lib/controls/fhgrid_toolbar.js +3 -3
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +20 -20
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -22
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1215,7 +1215,9 @@ class FHComboboxComponent {
|
|
|
1215
1215
|
// console.log(this.smtr); console.log(this.smtr.nativeElement);
|
|
1216
1216
|
this.setByValue(this.valDef);
|
|
1217
1217
|
if (this.getValue() == "-1" && this.valDef != "-1")
|
|
1218
|
-
|
|
1218
|
+
if (this.valDef != null)
|
|
1219
|
+
if (this.valDef != '')
|
|
1220
|
+
this.setByDescri(this._tsr.instant(this.valDef));
|
|
1219
1221
|
this.is_loaded = true;
|
|
1220
1222
|
this.fillend.emit();
|
|
1221
1223
|
}
|
|
@@ -16504,8 +16506,8 @@ FHGridToolBarComponent.decorators = [
|
|
|
16504
16506
|
</button>
|
|
16505
16507
|
</div>
|
|
16506
16508
|
<mat-menu #gest_menu_custom="matMenu">
|
|
16507
|
-
<div fxLayout="row" style="width:300px" fxLayoutAlign="center center"
|
|
16508
|
-
<div fxLayout="column" fxLayoutGap="
|
|
16509
|
+
<div fxLayout="row" style="width:300px" fxLayoutAlign="center center">
|
|
16510
|
+
<div fxLayout="column" fxLayoutGap="8px" fxFlex="100" fxLayoutAlign="center start">
|
|
16509
16511
|
<ng-container *ngFor="let app of custom_commands">
|
|
16510
16512
|
|
|
16511
16513
|
<div style="width:280px"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
|
|
@@ -28171,11 +28173,11 @@ class wkfapp_v2 {
|
|
|
28171
28173
|
}
|
|
28172
28174
|
annulla_richiesta() {
|
|
28173
28175
|
if (this.get_grid().sRow == null) {
|
|
28174
|
-
this._toastr.error("Selezionare il documento da annullare");
|
|
28176
|
+
this._toastr.error(this.tsr.instant("Selezionare il documento da annullare"));
|
|
28175
28177
|
return;
|
|
28176
28178
|
}
|
|
28177
|
-
localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
28178
|
-
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare il documento numero: " +
|
|
28179
|
+
localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", this.tsr.instant("Conferma Operazione"));
|
|
28180
|
+
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", this.tsr.instant("Confermi di voler annullare il documento numero: ") +
|
|
28179
28181
|
this.get_grid().sRow.codice +
|
|
28180
28182
|
"?");
|
|
28181
28183
|
let dialogRef = this.dialog.open(fh_win_confirm, {
|
|
@@ -28212,7 +28214,7 @@ class wkfapp_v2 {
|
|
|
28212
28214
|
return;
|
|
28213
28215
|
}
|
|
28214
28216
|
let dialogRef = this.dialog.open(fh_win_confirm, {
|
|
28215
|
-
disableClose: true, data: { title_dialog: "Conferma Operazione", msg_dialog: "Confermi di voler assegnarti il documento?" }
|
|
28217
|
+
disableClose: true, data: { title_dialog: this.tsr.instant("Conferma Operazione"), msg_dialog: this.tsr.instant("Confermi di voler assegnarti il documento?") }
|
|
28216
28218
|
});
|
|
28217
28219
|
dialogRef.afterClosed().subscribe((result) => {
|
|
28218
28220
|
if (result) {
|
|
@@ -28241,7 +28243,7 @@ class wkfapp_v2 {
|
|
|
28241
28243
|
if (b_found) {
|
|
28242
28244
|
console.log(livello, stato_doc);
|
|
28243
28245
|
if (livello != stato_doc) {
|
|
28244
|
-
this._toastr.error('Il documento non è in stato Bozza');
|
|
28246
|
+
this._toastr.error(this.tsr.instant('Il documento non è in stato Bozza'));
|
|
28245
28247
|
return;
|
|
28246
28248
|
}
|
|
28247
28249
|
let p = new QParam();
|
|
@@ -28251,13 +28253,13 @@ class wkfapp_v2 {
|
|
|
28251
28253
|
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
28252
28254
|
if (data != null)
|
|
28253
28255
|
if (data.result_msg == "OK") {
|
|
28254
|
-
this._toastr.info('Documento aggiornato');
|
|
28256
|
+
this._toastr.info(this.tsr.instant('Documento aggiornato'));
|
|
28255
28257
|
this.get_grid().doFill("");
|
|
28256
28258
|
}
|
|
28257
28259
|
});
|
|
28258
28260
|
}
|
|
28259
28261
|
else {
|
|
28260
|
-
this._toastr.error('L\'utente non è configurato per lo step BOZZA');
|
|
28262
|
+
this._toastr.error(this.tsr.instant('L\'utente non è configurato per lo step BOZZA'));
|
|
28261
28263
|
}
|
|
28262
28264
|
});
|
|
28263
28265
|
});
|
|
@@ -28266,7 +28268,7 @@ class wkfapp_v2 {
|
|
|
28266
28268
|
}
|
|
28267
28269
|
sostituisci_utente() {
|
|
28268
28270
|
if (this.get_grid().sRow == null) {
|
|
28269
|
-
this._toastr.error("Selezionare il documento");
|
|
28271
|
+
this._toastr.error(this.tsr.instant("Selezionare il documento"));
|
|
28270
28272
|
return;
|
|
28271
28273
|
}
|
|
28272
28274
|
let p = new QParam();
|
|
@@ -28284,7 +28286,7 @@ class wkfapp_v2 {
|
|
|
28284
28286
|
setTimeout(() => {
|
|
28285
28287
|
dialogRef.componentInstance.up.all_user = data.result_data;
|
|
28286
28288
|
dialogRef.componentInstance.title =
|
|
28287
|
-
"Sostituzione utente: " +
|
|
28289
|
+
this.tsr.instant("Sostituzione utente: ") +
|
|
28288
28290
|
this.get_grid().sRow.codice +
|
|
28289
28291
|
" - " +
|
|
28290
28292
|
this.get_grid().sRow.oggetto;
|
|
@@ -28305,7 +28307,7 @@ class wkfapp_v2 {
|
|
|
28305
28307
|
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
28306
28308
|
if (data != null)
|
|
28307
28309
|
if (data.result_msg == "OK") {
|
|
28308
|
-
this._toastr.info("Workflow Aggiornato");
|
|
28310
|
+
this._toastr.info(this.tsr.instant("Workflow Aggiornato"));
|
|
28309
28311
|
}
|
|
28310
28312
|
});
|
|
28311
28313
|
}
|
|
@@ -28344,7 +28346,7 @@ class wkfapp_v2 {
|
|
|
28344
28346
|
setTimeout(() => {
|
|
28345
28347
|
dialogRef.componentInstance.setStepCombo(s_i);
|
|
28346
28348
|
dialogRef.componentInstance.title =
|
|
28347
|
-
"Riassegnazione documento: " +
|
|
28349
|
+
this.tsr.instant("Riassegnazione documento: ") +
|
|
28348
28350
|
this.get_grid().sRow.codice +
|
|
28349
28351
|
" - " +
|
|
28350
28352
|
this.get_grid().sRow.oggetto;
|
|
@@ -28420,7 +28422,7 @@ class wkfapp_v2 {
|
|
|
28420
28422
|
setTimeout(() => {
|
|
28421
28423
|
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
28422
28424
|
dialogRef.componentInstance.title =
|
|
28423
|
-
"Riassegnazione documento: " +
|
|
28425
|
+
this.tsr.instant("Riassegnazione documento: ") +
|
|
28424
28426
|
this.get_grid().sRow.codice +
|
|
28425
28427
|
" - " +
|
|
28426
28428
|
this.get_grid().sRow.oggetto;
|
|
@@ -28475,7 +28477,7 @@ class wkfapp_v2 {
|
|
|
28475
28477
|
old_grp = this.wax[i].gruppo_parallelo;
|
|
28476
28478
|
}
|
|
28477
28479
|
else {
|
|
28478
|
-
this._toastr.error("impossibile assegnare a utenti di gruppi distiniti");
|
|
28480
|
+
this._toastr.error(this.tsr.instant("impossibile assegnare a utenti di gruppi distiniti"));
|
|
28479
28481
|
return;
|
|
28480
28482
|
}
|
|
28481
28483
|
if (a_datanot != "")
|
|
@@ -28506,11 +28508,11 @@ class wkfapp_v2 {
|
|
|
28506
28508
|
}
|
|
28507
28509
|
forkJoin(op).subscribe((result) => { });
|
|
28508
28510
|
this.sendEMail_ex(this.user_idp, a_datanot, this.titolo_email +
|
|
28509
|
-
"L'utente " +
|
|
28511
|
+
this.tsr.instant("L'utente ") +
|
|
28510
28512
|
this.user_cognome +
|
|
28511
28513
|
" " +
|
|
28512
28514
|
this.user_nome +
|
|
28513
|
-
" ti ha riassegnato il documento: " +
|
|
28515
|
+
this.tsr.instant(" ti ha riassegnato il documento: ") +
|
|
28514
28516
|
this.get_grid().sRow.codice, "Commento:\n\n" + this.nota_wax, this.id_applicativo, this.get_grid().sRow.uiid, this.app_s.COMPANY_SITE_ROOT +
|
|
28515
28517
|
"#/" +
|
|
28516
28518
|
this.app_root +
|
|
@@ -28525,7 +28527,7 @@ class wkfapp_v2 {
|
|
|
28525
28527
|
p.values = [
|
|
28526
28528
|
this.id_applicativo,
|
|
28527
28529
|
this.get_grid().sRow.uiid,
|
|
28528
|
-
"Documento riassegnato a " + a_utif,
|
|
28530
|
+
this.tsr.instant("Documento riassegnato a ") + a_utif,
|
|
28529
28531
|
this.user_idp,
|
|
28530
28532
|
this.os_r.description,
|
|
28531
28533
|
this.get_grid().sRow.stato,
|
|
@@ -28583,7 +28585,7 @@ class wkfapp_v2 {
|
|
|
28583
28585
|
p.values = [
|
|
28584
28586
|
this.id_applicativo,
|
|
28585
28587
|
this.get_grid().sRow.uiid,
|
|
28586
|
-
"Documento riassegnato, commento
|
|
28588
|
+
this.tsr.instant("Documento riassegnato, commento:") + "\n" + this.nota_wax,
|
|
28587
28589
|
this.user_idp,
|
|
28588
28590
|
"",
|
|
28589
28591
|
];
|
|
@@ -28660,7 +28662,7 @@ class wkfapp_v2 {
|
|
|
28660
28662
|
});
|
|
28661
28663
|
setTimeout(() => {
|
|
28662
28664
|
dialogRef.componentInstance.arrAutori = data.result_data;
|
|
28663
|
-
dialogRef.componentInstance.title = "Impersona Utente";
|
|
28665
|
+
dialogRef.componentInstance.title = this.tsr.instant("Impersona Utente");
|
|
28664
28666
|
dialogRef.componentInstance.commento_hidden = true;
|
|
28665
28667
|
});
|
|
28666
28668
|
dialogRef.afterClosed().subscribe((result) => {
|
|
@@ -28739,7 +28741,7 @@ class wkfapp_v2 {
|
|
|
28739
28741
|
this.user_idp = this.app_s.getState().wkf_obj.user_idp;
|
|
28740
28742
|
this.app_root = this.app_s.getState().wkf_obj.app_root;
|
|
28741
28743
|
this.title = this.app_s.getState().wkf_obj.title;
|
|
28742
|
-
this.m_uti.set_home_title(this.att_panelcat);
|
|
28744
|
+
this.m_uti.set_home_title(this.tsr.instant(this.att_panelcat));
|
|
28743
28745
|
}
|
|
28744
28746
|
init_Panel(cod_documento, id_Doc) {
|
|
28745
28747
|
this.m_id_Doc = id_Doc;
|