@fluxhub/fluxhub-lib 10.0.309 → 10.0.311
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 +45 -25
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhuploadpanel.js +3 -1
- package/esm2015/lib/services/utility.service.js +20 -1
- package/esm2015/lib/wkf_engine/win_commenti.js +27 -24
- package/esm2015/lib/wkf_engine/win_info_doc.js +7 -7
- package/esm2015/lib/wkf_engine/win_uploads.js +5 -5
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -2
- package/esm2015/lib/wkf_engine_v2/win_info_doc.js +12 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +69 -47
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/services/utility.service.d.ts +1 -0
- package/lib/wkf_engine/win_commenti.d.ts +3 -1
- package/package.json +1 -1
|
@@ -33,43 +33,43 @@ export class win_info_doc_v2 {
|
|
|
33
33
|
win_info_doc_v2.decorators = [
|
|
34
34
|
{ type: Component, args: [{
|
|
35
35
|
template: `
|
|
36
|
-
|
|
36
|
+
<div fxLayout="column" fxLayoutGap="5px">
|
|
37
37
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
38
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
38
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title|translate}}</div>
|
|
39
39
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
40
40
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
|
-
|
|
43
|
+
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
44
44
|
<div mat-dialog-content style="font-size: 15px;">
|
|
45
45
|
<table class="fh_table">
|
|
46
46
|
<tbody>
|
|
47
47
|
<tr class="odd">
|
|
48
|
-
<td>Codice:</td>
|
|
48
|
+
<td>{{'Codice'|translate}}:</td>
|
|
49
49
|
<td>
|
|
50
50
|
<b>{{ codice }}</b>
|
|
51
51
|
</td>
|
|
52
52
|
</tr>
|
|
53
53
|
<tr class="even">
|
|
54
|
-
<td>Data:</td>
|
|
54
|
+
<td>{{'Data'|translate}}:</td>
|
|
55
55
|
<td>
|
|
56
56
|
<b>{{ data_richiesta | date: "dd/MM/yyyy hh:mm:ss" }}</b>
|
|
57
57
|
</td>
|
|
58
58
|
</tr>
|
|
59
59
|
<tr *ngIf="!hide_richiedente" class="odd">
|
|
60
|
-
<td>Richiedente:</td>
|
|
60
|
+
<td>{{'Richiedente'|translate}}:</td>
|
|
61
61
|
<td>
|
|
62
|
-
<b>{{
|
|
62
|
+
<b>{{ richiedente }}</b>
|
|
63
63
|
</td>
|
|
64
64
|
</tr>
|
|
65
65
|
<tr class="even">
|
|
66
|
-
<td>Stato:</td>
|
|
66
|
+
<td>{{'Stato'|translate}}:</td>
|
|
67
67
|
<td>
|
|
68
|
-
<b>{{
|
|
68
|
+
<b>{{ stato }}</b>
|
|
69
69
|
</td>
|
|
70
70
|
</tr>
|
|
71
71
|
<tr class="odd">
|
|
72
|
-
<td>In Carico a:</td>
|
|
72
|
+
<td>{{'In Carico a'|translate}}:</td>
|
|
73
73
|
<td>
|
|
74
74
|
<b>{{ in_carico_a }}</b>
|
|
75
75
|
</td>
|
|
@@ -107,7 +107,7 @@ win_info_doc_v2.decorators = [
|
|
|
107
107
|
CHIUDI
|
|
108
108
|
</button>
|
|
109
109
|
</div>
|
|
110
|
-
|
|
110
|
+
</div>
|
|
111
111
|
`
|
|
112
112
|
},] }
|
|
113
113
|
];
|
|
@@ -117,4 +117,4 @@ win_info_doc_v2.ctorParameters = () => [
|
|
|
117
117
|
{ type: ToastrService },
|
|
118
118
|
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
119
119
|
];
|
|
120
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luX2luZm9fZG9jLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZmx1eGh1Yi1saWIvc3JjL2xpYi93a2ZfZW5naW5lX3YyL3dpbl9pbmZvX2RvYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN6RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQWlGckQsTUFBTSxPQUFPLGVBQWU7SUFnQjFCLFlBQ1MsU0FBd0MsRUFDeEMsWUFBd0IsRUFDeEIsS0FBb0IsRUFDSyxJQUFTO1FBSGxDLGNBQVMsR0FBVCxTQUFTLENBQStCO1FBQ3hDLGlCQUFZLEdBQVosWUFBWSxDQUFZO1FBQ3hCLFVBQUssR0FBTCxLQUFLLENBQWU7UUFDSyxTQUFJLEdBQUosSUFBSSxDQUFLO1FBVDNDLFVBQUssR0FBUSxnQkFBZ0IsQ0FBQztRQUN2QixxQkFBZ0IsR0FBWSxLQUFLLENBQUM7UUFVdkMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN2QixDQUF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08L2I+XG4gICAgICAgICAgICA8L3RkPlxuICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgPHRyIGNsYXNzPVwib2RkXCI+XG4gICAgICAgICAgICA8dGQ+e3snSW4gQ2FyaWNvIGEnfHRyYW5zbGF0ZX19OjwvdGQ+XG4gICAgICAgICAgICA8dGQ+XG4gICAgICAgICAgICAgIDxiPnt7IGluX2Nhcmljb19hIH19PC9iPlxuICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICA8L3RyPlxuXG4gICAgICAgICAgPHRyIGNsYXNzPVwiZXZlblwiICpuZ0lmPVwibV9hcHBTZXJ2aWNlLmRldl9tb2RlXCI+XG4gICAgICAgICAgICA8dGQ+VWlpZCBBcHA6PC90ZD5cbiAgICAgICAgICAgIDx0ZD5cbiAgICAgICAgICAgICAgPGI+e3sgdWlpZF9hcHAgfX08L2I+XG4gICAgICAgICAgICA8L3RkPlxuICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgPHRyIGNsYXNzPVwib2RkXCIgKm5nSWY9XCJtX2FwcFNlcnZpY2UuZGV2X21vZGVcIj5cbiAgICAgICAgICAgIDx0ZD5VaWlkIERvYzo8L3RkPlxuICAgICAgICAgICAgPHRkPlxuICAgICAgICAgICAgICA8Yj57eyB1aWlkX2RvYyB9fTwvYj5cbiAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgPC90cj5cbiAgICAgICAgICA8dHIgY2xhc3M9XCJvZGRcIiAqbmdJZj1cIm1fYXBwU2VydmljZS5kZXZfbW9kZVwiPlxuICAgICAgICAgICAgPHRkPkdycDo8L3RkPlxuICAgICAgICAgICAgPHRkPlxuICAgICAgICAgICAgICA8Yj57eyBjYW5hbGUgfX08L2I+XG4gICAgICAgICAgICA8L3RkPlxuICAgICAgICAgIDwvdHI+XG4gICAgICAgIDwvdGJvZHk+XG4gICAgICA8L3RhYmxlPlxuICAgIDwvZGl2PlxuICAgIDxiciAvPlxuXG4gICAgPGRpdiBzdHlsZT1cIndpZHRoOj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aXMubG9hZF9pbmZvKGRhdGEpO1xuICB9XG4gIGxvYWRfaW5mbyhkYXRhKSB7XG4gICAgY29uc29sZS5sb2coJ2RhdGEgICcsZGF0YSk7XG4gICAgdGhpcy5jb2RpY2UgPSBkYXRhLmNvZGljZTtcbiAgICB0aGlzLmRhdGFfcmljaGllc3RhID0gZGF0YS5kYXRhX3JpY2hpZXN0YTtcbiAgICB0aGlzLnJpY2hpZWRlbnRlID0gZGF0YS5yaWNoaWVkZW50ZTtcbiAgICB0aGlzLnN0YXRvID0gZGF0YS5zdGF0bztcbiAgICB0aGlzLnN0YXRfc3RhdG8gPSBkYXRhLnN0YXRfc3RhdG87XG4gICAgdGhpcy5pbl9jYXJpY29fYSA9IGRhdGEuc191dG87XG4gICAgdGhpcy51aWlkX2FwcCA9IGRhdGEuaWRfYXBwbGljYXRpdm87XG4gICAgdGhpcy51aWlkX2RvYyA9IGRhdGEuaWRfZG9jdW1lbnRvO1xuICAgIHRoaXMuY2FuYWxlID0gZGF0YS5jYW5hbGU7XG4gICAgdGhpcy5uYyA9IGRhdGEubmM7XG4gIH1cbiAgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge31cbn1cbiJdfQ==
|
|
@@ -32,6 +32,7 @@ import 'prismjs/components/prism-typescript';
|
|
|
32
32
|
import 'prismjs/components/prism-sass';
|
|
33
33
|
import 'prismjs/components/prism-scss';
|
|
34
34
|
import 'prismjs/components/prism-sql';
|
|
35
|
+
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
35
36
|
import NavigatedViewer from 'bpmn-js/lib/NavigatedViewer';
|
|
36
37
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
37
38
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
@@ -40,7 +41,6 @@ import { AgGridModule } from 'ag-grid-angular';
|
|
|
40
41
|
import { AgmCoreModule } from '@agm/core';
|
|
41
42
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
42
43
|
import { NgForage } from 'ngforage';
|
|
43
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
44
44
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
45
45
|
import { MatCardModule } from '@angular/material/card';
|
|
46
46
|
import { MatButtonModule } from '@angular/material/button';
|
|
@@ -633,6 +633,25 @@ class UtilityService {
|
|
|
633
633
|
range.select();
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
+
getBrowserName() {
|
|
637
|
+
const agent = window.navigator.userAgent.toLowerCase();
|
|
638
|
+
switch (true) {
|
|
639
|
+
case agent.indexOf('edge') > -1:
|
|
640
|
+
return 'edge';
|
|
641
|
+
case agent.indexOf('opr') > -1 && !!window.opr:
|
|
642
|
+
return 'opera';
|
|
643
|
+
case agent.indexOf('chrome') > -1 && !!window.chrome:
|
|
644
|
+
return 'chrome';
|
|
645
|
+
case agent.indexOf('trident') > -1:
|
|
646
|
+
return 'ie';
|
|
647
|
+
case agent.indexOf('firefox') > -1:
|
|
648
|
+
return 'firefox';
|
|
649
|
+
case agent.indexOf('safari') > -1:
|
|
650
|
+
return 'safari';
|
|
651
|
+
default:
|
|
652
|
+
return 'other';
|
|
653
|
+
}
|
|
654
|
+
}
|
|
636
655
|
print_param(p) {
|
|
637
656
|
console.log("Tipologie -> " + String(p.types.length));
|
|
638
657
|
console.log("Valori -> " + String(p.values.length));
|
|
@@ -4932,6 +4951,8 @@ class FHUploadPanelComponent {
|
|
|
4932
4951
|
});
|
|
4933
4952
|
if (this.ruolo_supervisore != "[ZZZ_DIS_CC]")
|
|
4934
4953
|
this.access_control = true;
|
|
4954
|
+
if (this._appservice.user_lang.toLocaleLowerCase() == 'en')
|
|
4955
|
+
this.force_en = true;
|
|
4935
4956
|
}
|
|
4936
4957
|
ngAfterViewInit() {
|
|
4937
4958
|
setTimeout(() => {
|
|
@@ -5513,10 +5534,10 @@ fh_win_uploads.decorators = [
|
|
|
5513
5534
|
selector: "wkf_win_upload",
|
|
5514
5535
|
template: `
|
|
5515
5536
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
5516
|
-
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
5517
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
5537
|
+
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
5538
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
5518
5539
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
5519
|
-
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
5540
|
+
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
5520
5541
|
</div>
|
|
5521
5542
|
</div>
|
|
5522
5543
|
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
@@ -5538,7 +5559,7 @@ fh_win_uploads.decorators = [
|
|
|
5538
5559
|
style="background-color: #F5F5F5"
|
|
5539
5560
|
(click)="close()"
|
|
5540
5561
|
>
|
|
5541
|
-
|
|
5562
|
+
{{'CHIUDI' | translate}}
|
|
5542
5563
|
</button>
|
|
5543
5564
|
</div>
|
|
5544
5565
|
</div>
|
|
@@ -13435,7 +13456,7 @@ WkfService.ctorParameters = () => [
|
|
|
13435
13456
|
];
|
|
13436
13457
|
|
|
13437
13458
|
class win_commenti {
|
|
13438
|
-
constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file) {
|
|
13459
|
+
constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, tsr) {
|
|
13439
13460
|
this.dialogRef = dialogRef;
|
|
13440
13461
|
this.m_dialogRef = m_dialogRef;
|
|
13441
13462
|
this.m_appService = m_appService;
|
|
@@ -13443,6 +13464,7 @@ class win_commenti {
|
|
|
13443
13464
|
this._dataService = _dataService;
|
|
13444
13465
|
this.m_wkf = m_wkf;
|
|
13445
13466
|
this.m_file = m_file;
|
|
13467
|
+
this.tsr = tsr;
|
|
13446
13468
|
this.notifica_commenti = 1;
|
|
13447
13469
|
this.notifica_commenti_obbl = 0;
|
|
13448
13470
|
this.not_comm = false;
|
|
@@ -13472,7 +13494,7 @@ class win_commenti {
|
|
|
13472
13494
|
this.b_ins = false;
|
|
13473
13495
|
this.nota = event.commento;
|
|
13474
13496
|
this.edit_id = event.id_comment;
|
|
13475
|
-
this.title = "MODIFICA COMMENTO";
|
|
13497
|
+
this.title = this.tsr.instant("MODIFICA COMMENTO");
|
|
13476
13498
|
}
|
|
13477
13499
|
refresh_list() {
|
|
13478
13500
|
let p = new QParam();
|
|
@@ -13492,7 +13514,7 @@ class win_commenti {
|
|
|
13492
13514
|
this.commenti_list[i].commento.replace(/\n/g, "<br/>") +
|
|
13493
13515
|
"</b>";
|
|
13494
13516
|
}
|
|
13495
|
-
this.title = "COMMENTI";
|
|
13517
|
+
this.title = this.tsr.instant("COMMENTI");
|
|
13496
13518
|
}
|
|
13497
13519
|
}, (err) => { });
|
|
13498
13520
|
}
|
|
@@ -13502,7 +13524,7 @@ class win_commenti {
|
|
|
13502
13524
|
}
|
|
13503
13525
|
else {
|
|
13504
13526
|
if (this.nota == "") {
|
|
13505
|
-
this.toastr.error("INSERIRE UN COMMENTO");
|
|
13527
|
+
this.toastr.error(this.tsr.instant("INSERIRE UN COMMENTO"));
|
|
13506
13528
|
return;
|
|
13507
13529
|
}
|
|
13508
13530
|
if (this.notifica_commenti != 2)
|
|
@@ -13514,8 +13536,7 @@ class win_commenti {
|
|
|
13514
13536
|
select_destinatari_grp() {
|
|
13515
13537
|
let dialo = this.m_dialogRef.open(fh_win_list, { disableClose: true });
|
|
13516
13538
|
setTimeout(() => {
|
|
13517
|
-
dialo.componentInstance.title =
|
|
13518
|
-
"Selezione almeno un gruppo da notificare";
|
|
13539
|
+
dialo.componentInstance.title = this.tsr.instant("Selezione almeno un gruppo da notificare");
|
|
13519
13540
|
dialo.componentInstance.types = ["string"];
|
|
13520
13541
|
dialo.componentInstance.values = [
|
|
13521
13542
|
this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
@@ -13614,7 +13635,7 @@ class win_commenti {
|
|
|
13614
13635
|
let ok_op = false;
|
|
13615
13636
|
if (data != null)
|
|
13616
13637
|
if (data.result_msg == "OK") {
|
|
13617
|
-
this.toastr.info("INFO", "COMMENTO INSERITO", {
|
|
13638
|
+
this.toastr.info("INFO", this.tsr.instant("COMMENTO INSERITO"), {
|
|
13618
13639
|
timeOut: 1000,
|
|
13619
13640
|
progressBar: true,
|
|
13620
13641
|
});
|
|
@@ -13650,7 +13671,7 @@ class win_commenti {
|
|
|
13650
13671
|
let ok_op = false;
|
|
13651
13672
|
if (data != null)
|
|
13652
13673
|
if (data.result_msg == "OK") {
|
|
13653
|
-
this.toastr.info("INFO", "COMMENTO AGGIORNATO", {
|
|
13674
|
+
this.toastr.info("INFO", this.tsr.instant("COMMENTO AGGIORNATO"), {
|
|
13654
13675
|
timeOut: 1000,
|
|
13655
13676
|
progressBar: true,
|
|
13656
13677
|
});
|
|
@@ -13680,14 +13701,14 @@ class win_commenti {
|
|
|
13680
13701
|
}
|
|
13681
13702
|
}
|
|
13682
13703
|
annulla() {
|
|
13683
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
13684
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
13704
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", this.tsr.instant("Conferma Operazione"));
|
|
13705
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", this.tsr.instant("Confermi di voler annullare l'inserimento del commento?"));
|
|
13685
13706
|
let dialogRef1 = this.m_dialogRef.open(fh_win_confirm);
|
|
13686
13707
|
dialogRef1.afterClosed().subscribe((result) => {
|
|
13687
13708
|
if (result) {
|
|
13688
13709
|
this.nota = "";
|
|
13689
13710
|
this.b_edit = false;
|
|
13690
|
-
this.title = "COMMENTI";
|
|
13711
|
+
this.title = this.tsr.instant("COMMENTI");
|
|
13691
13712
|
}
|
|
13692
13713
|
});
|
|
13693
13714
|
}
|
|
@@ -13696,7 +13717,7 @@ class win_commenti {
|
|
|
13696
13717
|
this.nota = "";
|
|
13697
13718
|
this.b_edit = true;
|
|
13698
13719
|
this.b_ins = true;
|
|
13699
|
-
this.title = "INSERISCI COMMENTO";
|
|
13720
|
+
this.title = this.tsr.instant("INSERISCI COMMENTO");
|
|
13700
13721
|
}
|
|
13701
13722
|
}
|
|
13702
13723
|
win_commenti.decorators = [
|
|
@@ -13704,7 +13725,7 @@ win_commenti.decorators = [
|
|
|
13704
13725
|
template: `
|
|
13705
13726
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
13706
13727
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
13707
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
13728
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
13708
13729
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
13709
13730
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
13710
13731
|
</div>
|
|
@@ -13717,21 +13738,21 @@ win_commenti.decorators = [
|
|
|
13717
13738
|
<div>
|
|
13718
13739
|
<button mat-flat-button color="accent" (click)="ins()" *ngIf="!b_edit">
|
|
13719
13740
|
<mat-icon>note_add</mat-icon>
|
|
13720
|
-
INSERISCI
|
|
13741
|
+
{{'INSERISCI' | translate}}
|
|
13721
13742
|
</button>
|
|
13722
13743
|
</div>
|
|
13723
13744
|
</mat-toolbar>
|
|
13724
13745
|
<br />
|
|
13725
13746
|
<div mat-dialog-content style="min-width:800px;font-size: 15px;">
|
|
13726
13747
|
<mat-form-field *ngIf="b_edit" appearance="outline" floatLabel="always"
|
|
13727
|
-
><mat-label>Commento</mat-label>
|
|
13748
|
+
><mat-label> {{'Commento' | translate}}</mat-label>
|
|
13728
13749
|
<textarea matInput [(ngModel)]="nota" rows="12"></textarea>
|
|
13729
13750
|
</mat-form-field>
|
|
13730
13751
|
|
|
13731
13752
|
<div *ngIf="b_edit" fxLayoutAlign="center center" fxLayout="row">
|
|
13732
|
-
<button mat-flat-button color="primary" (click)="ok()">OK</button
|
|
13753
|
+
<button mat-flat-button color="primary" (click)="ok()">{{'OK' | translate}}</button
|
|
13733
13754
|
>
|
|
13734
|
-
<button mat-flat-button color="warn" (click)="annulla()">ANNULLA</button
|
|
13755
|
+
<button mat-flat-button color="warn" (click)="annulla()">{{'ANNULLA' | translate}}</button
|
|
13735
13756
|
>
|
|
13736
13757
|
<mat-checkbox
|
|
13737
13758
|
[disabled]="not_comm_disabled"
|
|
@@ -13740,16 +13761,16 @@ win_commenti.decorators = [
|
|
|
13740
13761
|
notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')
|
|
13741
13762
|
"
|
|
13742
13763
|
>
|
|
13743
|
-
Notifica Interessati
|
|
13764
|
+
{{'Notifica Interessati' | translate}}
|
|
13744
13765
|
</mat-checkbox>
|
|
13745
13766
|
</div>
|
|
13746
13767
|
<section class="bs" *ngIf="!b_edit">
|
|
13747
13768
|
<table style="min-width: 100%" class="fh_table">
|
|
13748
13769
|
<thead>
|
|
13749
13770
|
<tr>
|
|
13750
|
-
<th>Commento</th>
|
|
13751
|
-
<th width="15%">Autore</th>
|
|
13752
|
-
<th width="15%">Data</th>
|
|
13771
|
+
<th>{{'Commento' | translate}}</th>
|
|
13772
|
+
<th width="15%"> {{'Autore' | translate}}</th>
|
|
13773
|
+
<th width="15%"> {{'Data' | translate}}</th>
|
|
13753
13774
|
<th></th>
|
|
13754
13775
|
<th></th>
|
|
13755
13776
|
</tr>
|
|
@@ -13798,7 +13819,8 @@ win_commenti.decorators = [
|
|
|
13798
13819
|
style="background-color: #F5F5F5"
|
|
13799
13820
|
(click)="close()"
|
|
13800
13821
|
>
|
|
13801
|
-
|
|
13822
|
+
|
|
13823
|
+
{{'CHIUDI' | translate}}
|
|
13802
13824
|
</button>
|
|
13803
13825
|
</div>
|
|
13804
13826
|
</div>
|
|
@@ -13813,7 +13835,8 @@ win_commenti.ctorParameters = () => [
|
|
|
13813
13835
|
{ type: ToastrService },
|
|
13814
13836
|
{ type: QueryService },
|
|
13815
13837
|
{ type: WkfService },
|
|
13816
|
-
{ type: FileService }
|
|
13838
|
+
{ type: FileService },
|
|
13839
|
+
{ type: TranslateService }
|
|
13817
13840
|
];
|
|
13818
13841
|
|
|
13819
13842
|
class win_info_doc {
|
|
@@ -13857,7 +13880,7 @@ win_info_doc.decorators = [
|
|
|
13857
13880
|
template: `
|
|
13858
13881
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
13859
13882
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
13860
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
13883
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title|translate}}</div>
|
|
13861
13884
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
13862
13885
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
13863
13886
|
</div>
|
|
@@ -13867,31 +13890,31 @@ win_info_doc.decorators = [
|
|
|
13867
13890
|
<table class="fh_table">
|
|
13868
13891
|
<tbody>
|
|
13869
13892
|
<tr class="odd">
|
|
13870
|
-
<td>Codice:</td>
|
|
13893
|
+
<td>{{'Codice'|translate}}:</td>
|
|
13871
13894
|
<td>
|
|
13872
13895
|
<b>{{ codice }}</b>
|
|
13873
13896
|
</td>
|
|
13874
13897
|
</tr>
|
|
13875
13898
|
<tr class="even">
|
|
13876
|
-
<td>Data:</td>
|
|
13899
|
+
<td>{{'Data'|translate}}:</td>
|
|
13877
13900
|
<td>
|
|
13878
13901
|
<b>{{ data_richiesta | date: "dd/MM/yyyy hh:mm:ss" }}</b>
|
|
13879
13902
|
</td>
|
|
13880
13903
|
</tr>
|
|
13881
13904
|
<tr *ngIf="!hide_richiedente" class="odd">
|
|
13882
|
-
<td>Richiedente:</td>
|
|
13905
|
+
<td>{{'Richiedente'|translate}}:</td>
|
|
13883
13906
|
<td>
|
|
13884
13907
|
<b>{{ richiedente }}</b>
|
|
13885
13908
|
</td>
|
|
13886
13909
|
</tr>
|
|
13887
13910
|
<tr class="even">
|
|
13888
|
-
<td>Stato:</td>
|
|
13911
|
+
<td>{{'Stato'|translate}}:</td>
|
|
13889
13912
|
<td>
|
|
13890
13913
|
<b>{{ stato }}</b>
|
|
13891
13914
|
</td>
|
|
13892
13915
|
</tr>
|
|
13893
13916
|
<tr class="odd">
|
|
13894
|
-
<td>In Carico a:</td>
|
|
13917
|
+
<td>{{'In Carico a'|translate}}:</td>
|
|
13895
13918
|
<td>
|
|
13896
13919
|
<b>{{ in_carico_a }}</b>
|
|
13897
13920
|
</td>
|
|
@@ -16295,7 +16318,6 @@ class dati_aggiuntivi {
|
|
|
16295
16318
|
}
|
|
16296
16319
|
}
|
|
16297
16320
|
back(edit_button) {
|
|
16298
|
-
console.log('edit_button ', edit_button);
|
|
16299
16321
|
if (!edit_button)
|
|
16300
16322
|
this.m_router.navigate([this.app_info.modulo_swf]);
|
|
16301
16323
|
else {
|
|
@@ -17716,7 +17738,7 @@ class wkf_header_bar {
|
|
|
17716
17738
|
this.sovra_path = '';
|
|
17717
17739
|
this.button_clicked = new EventEmitter();
|
|
17718
17740
|
}
|
|
17719
|
-
back() {
|
|
17741
|
+
back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
|
|
17720
17742
|
this.dt_agg.back(this.edit_button); }
|
|
17721
17743
|
evt_salv() { this.button_clicked.emit('evt_salv'); if (this.dt_agg != null)
|
|
17722
17744
|
this.dt_agg.evt_salv(this.edit_button, this.check_on_save); }
|
|
@@ -21162,43 +21184,43 @@ class win_info_doc_v2 {
|
|
|
21162
21184
|
win_info_doc_v2.decorators = [
|
|
21163
21185
|
{ type: Component, args: [{
|
|
21164
21186
|
template: `
|
|
21165
|
-
|
|
21187
|
+
<div fxLayout="column" fxLayoutGap="5px">
|
|
21166
21188
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
21167
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
21189
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title|translate}}</div>
|
|
21168
21190
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
21169
21191
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
21170
21192
|
</div>
|
|
21171
21193
|
</div>
|
|
21172
|
-
|
|
21194
|
+
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
21173
21195
|
<div mat-dialog-content style="font-size: 15px;">
|
|
21174
21196
|
<table class="fh_table">
|
|
21175
21197
|
<tbody>
|
|
21176
21198
|
<tr class="odd">
|
|
21177
|
-
<td>Codice:</td>
|
|
21199
|
+
<td>{{'Codice'|translate}}:</td>
|
|
21178
21200
|
<td>
|
|
21179
21201
|
<b>{{ codice }}</b>
|
|
21180
21202
|
</td>
|
|
21181
21203
|
</tr>
|
|
21182
21204
|
<tr class="even">
|
|
21183
|
-
<td>Data:</td>
|
|
21205
|
+
<td>{{'Data'|translate}}:</td>
|
|
21184
21206
|
<td>
|
|
21185
21207
|
<b>{{ data_richiesta | date: "dd/MM/yyyy hh:mm:ss" }}</b>
|
|
21186
21208
|
</td>
|
|
21187
21209
|
</tr>
|
|
21188
21210
|
<tr *ngIf="!hide_richiedente" class="odd">
|
|
21189
|
-
<td>Richiedente:</td>
|
|
21211
|
+
<td>{{'Richiedente'|translate}}:</td>
|
|
21190
21212
|
<td>
|
|
21191
|
-
<b>{{
|
|
21213
|
+
<b>{{ richiedente }}</b>
|
|
21192
21214
|
</td>
|
|
21193
21215
|
</tr>
|
|
21194
21216
|
<tr class="even">
|
|
21195
|
-
<td>Stato:</td>
|
|
21217
|
+
<td>{{'Stato'|translate}}:</td>
|
|
21196
21218
|
<td>
|
|
21197
|
-
<b>{{
|
|
21219
|
+
<b>{{ stato }}</b>
|
|
21198
21220
|
</td>
|
|
21199
21221
|
</tr>
|
|
21200
21222
|
<tr class="odd">
|
|
21201
|
-
<td>In Carico a:</td>
|
|
21223
|
+
<td>{{'In Carico a'|translate}}:</td>
|
|
21202
21224
|
<td>
|
|
21203
21225
|
<b>{{ in_carico_a }}</b>
|
|
21204
21226
|
</td>
|
|
@@ -21236,7 +21258,7 @@ win_info_doc_v2.decorators = [
|
|
|
21236
21258
|
CHIUDI
|
|
21237
21259
|
</button>
|
|
21238
21260
|
</div>
|
|
21239
|
-
|
|
21261
|
+
</div>
|
|
21240
21262
|
`
|
|
21241
21263
|
},] }
|
|
21242
21264
|
];
|