@fluxhub/fluxhub-lib 10.0.581 → 10.0.583
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 +130 -106
- 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/fhconfirm.js +6 -6
- package/esm2015/lib/wkf_engine_v2/win_assegna.js +14 -13
- package/esm2015/lib/wkf_engine_v2/win_commenti.js +24 -21
- package/esm2015/lib/wkf_engine_v2/win_commento_sel_notif.js +11 -7
- package/esm2015/lib/wkf_engine_v2/win_conferma.js +13 -10
- package/esm2015/lib/wkf_engine_v2/win_insert_commento.js +12 -9
- package/esm2015/lib/wkf_engine_v2/win_log.js +24 -21
- package/esm2015/lib/wkf_engine_v2/win_recupera.js +13 -10
- package/esm2015/lib/wkf_engine_v2/win_riassegna_select_level.js +15 -12
- package/esm2015/lib/wkf_engine_v2/win_riassegna_select_user.js +12 -9
- package/esm2015/lib/wkf_engine_v2/win_salva_annulla.js +4 -4
- package/esm2015/lib/wkf_engine_v2/win_select_canale.js +14 -11
- package/esm2015/lib/wkf_engine_v2/win_select_level.js +10 -7
- package/esm2015/lib/wkf_engine_v2/win_sostituisci_utente.js +17 -14
- package/esm2015/lib/wkf_engine_v2/win_uploads.js +2 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +2 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +22 -22
- package/fesm2015/fluxhub-fluxhub-lib.js +186 -162
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_assegna.d.ts +3 -3
- package/lib/wkf_engine_v2/win_commenti.d.ts +3 -1
- package/lib/wkf_engine_v2/win_commento_sel_notif.d.ts +3 -1
- package/lib/wkf_engine_v2/win_conferma.d.ts +3 -1
- package/lib/wkf_engine_v2/win_insert_commento.d.ts +3 -1
- package/lib/wkf_engine_v2/win_log.d.ts +3 -1
- package/lib/wkf_engine_v2/win_recupera.d.ts +3 -1
- package/lib/wkf_engine_v2/win_riassegna_select_level.d.ts +3 -1
- package/lib/wkf_engine_v2/win_riassegna_select_user.d.ts +3 -1
- package/lib/wkf_engine_v2/win_select_canale.d.ts +3 -1
- package/lib/wkf_engine_v2/win_select_level.d.ts +3 -1
- package/lib/wkf_engine_v2/win_sostituisci_utente.d.ts +3 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +5 -5
- package/package.json +1 -1
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
}());
|
|
322
322
|
fh_win_confirm.decorators = [
|
|
323
323
|
{ type: i0.Component, args: [{
|
|
324
|
-
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button #btn_annulla (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
|
|
324
|
+
template: "\n <h1 mat-dialog-title>{{ title | translate }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg | translate }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs | translate }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs | translate}}\n </button>\n <button mat-flat-button #btn_annulla (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs | translate }}\n </button>\n </div>\n ",
|
|
325
325
|
styles: [""]
|
|
326
326
|
},] }
|
|
327
327
|
];
|
|
@@ -14762,16 +14762,16 @@
|
|
|
14762
14762
|
};
|
|
14763
14763
|
|
|
14764
14764
|
var win_assegna_v2 = /** @class */ (function () {
|
|
14765
|
-
function win_assegna_v2(dialogRef, m_appService, toastr,
|
|
14765
|
+
function win_assegna_v2(dialogRef, m_appService, toastr, _trs, data) {
|
|
14766
14766
|
this.dialogRef = dialogRef;
|
|
14767
14767
|
this.m_appService = m_appService;
|
|
14768
14768
|
this.toastr = toastr;
|
|
14769
|
-
this.
|
|
14769
|
+
this._trs = _trs;
|
|
14770
14770
|
this.data = data;
|
|
14771
14771
|
this.lbl = "";
|
|
14772
14772
|
this.nota = "";
|
|
14773
14773
|
this.nota_commento = "";
|
|
14774
|
-
this.title = "
|
|
14774
|
+
this.title = "";
|
|
14775
14775
|
this.comm_notrequired = 0;
|
|
14776
14776
|
if (data != null) {
|
|
14777
14777
|
if (data.commento_default != null)
|
|
@@ -14785,12 +14785,13 @@
|
|
|
14785
14785
|
if (data.utenti != null)
|
|
14786
14786
|
this.arrAutori = data.utenti;
|
|
14787
14787
|
}
|
|
14788
|
+
this.title = this._trs.instant("ASSEGNA DOCUMENTO");
|
|
14788
14789
|
for (var i = 0; i < this.arrAutori.length; i++) {
|
|
14789
14790
|
if (this.arrAutori[i].username == null)
|
|
14790
14791
|
this.arrAutori[i].username = this.arrAutori[i].idp;
|
|
14791
14792
|
}
|
|
14792
14793
|
if (this.comm_notrequired == 2)
|
|
14793
|
-
this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
|
|
14794
|
+
this.nota_commento = this._trs.instant(" (COMMENTO NON OBBLIGATORIO)");
|
|
14794
14795
|
if (data != null) {
|
|
14795
14796
|
if (data.commento_default != null)
|
|
14796
14797
|
this.nota = data.commento_default;
|
|
@@ -14803,7 +14804,7 @@
|
|
|
14803
14804
|
};
|
|
14804
14805
|
win_assegna_v2.prototype.ok = function () {
|
|
14805
14806
|
if (this.up.getSelArr().length == 0) {
|
|
14806
|
-
this.toastr.error("ERRORE", "SELEZIONARE ALMENO UN UTENTE", {
|
|
14807
|
+
this.toastr.error("ERRORE", this._trs.instant("SELEZIONARE ALMENO UN UTENTE"), {
|
|
14807
14808
|
timeOut: 1000,
|
|
14808
14809
|
progressBar: true,
|
|
14809
14810
|
});
|
|
@@ -14811,7 +14812,7 @@
|
|
|
14811
14812
|
}
|
|
14812
14813
|
if (this.comm_notrequired == 0)
|
|
14813
14814
|
if (this.nota == "") {
|
|
14814
|
-
this.toastr.error("ERRORE", "INSERIRE IL COMMENTO", {
|
|
14815
|
+
this.toastr.error("ERRORE", this._trs.instant("INSERIRE IL COMMENTO"), {
|
|
14815
14816
|
timeOut: 1000,
|
|
14816
14817
|
progressBar: true,
|
|
14817
14818
|
});
|
|
@@ -14827,14 +14828,14 @@
|
|
|
14827
14828
|
}());
|
|
14828
14829
|
win_assegna_v2.decorators = [
|
|
14829
14830
|
{ type: i0.Component, args: [{
|
|
14830
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea required matInput [(ngModel)]=\"nota\" rows=\"4\"></textarea>\n </mat-form-field>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n ANNULLA\n </button>\n </div>\n </div>\n "
|
|
14831
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>\n <textarea required matInput [(ngModel)]=\"nota\" rows=\"4\"></textarea>\n </mat-form-field>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n "
|
|
14831
14832
|
},] }
|
|
14832
14833
|
];
|
|
14833
14834
|
win_assegna_v2.ctorParameters = function () { return [
|
|
14834
14835
|
{ type: dialog.MatDialogRef },
|
|
14835
14836
|
{ type: AppService },
|
|
14836
14837
|
{ type: i3.ToastrService },
|
|
14837
|
-
{ type:
|
|
14838
|
+
{ type: core.TranslateService },
|
|
14838
14839
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
14839
14840
|
]; };
|
|
14840
14841
|
win_assegna_v2.propDecorators = {
|
|
@@ -14842,9 +14843,10 @@
|
|
|
14842
14843
|
};
|
|
14843
14844
|
|
|
14844
14845
|
var win_commento_sel_notif_v2 = /** @class */ (function () {
|
|
14845
|
-
function win_commento_sel_notif_v2(dialogRef, toastr) {
|
|
14846
|
+
function win_commento_sel_notif_v2(dialogRef, toastr, _tsr) {
|
|
14846
14847
|
this.dialogRef = dialogRef;
|
|
14847
14848
|
this.toastr = toastr;
|
|
14849
|
+
this._tsr = _tsr;
|
|
14848
14850
|
this.title = "SELEZIONA CHI NOTIFICARE";
|
|
14849
14851
|
}
|
|
14850
14852
|
win_commento_sel_notif_v2.prototype.close = function () {
|
|
@@ -14875,24 +14877,26 @@
|
|
|
14875
14877
|
o.arrsel = this.up.getSelArr();
|
|
14876
14878
|
this.dialogRef.close(o);
|
|
14877
14879
|
};
|
|
14878
|
-
win_commento_sel_notif_v2.prototype.ngAfterViewInit = function () {
|
|
14880
|
+
win_commento_sel_notif_v2.prototype.ngAfterViewInit = function () {
|
|
14881
|
+
};
|
|
14879
14882
|
return win_commento_sel_notif_v2;
|
|
14880
14883
|
}());
|
|
14881
14884
|
win_commento_sel_notif_v2.decorators = [
|
|
14882
14885
|
{ type: i0.Component, args: [{
|
|
14883
|
-
template: "\n <div fxLayout=\"column\">\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"min-width:700px;font-size: 15px;\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br />\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"close()\">ANNULLA</button>\n </div>\n </div>\n "
|
|
14886
|
+
template: "\n <div fxLayout=\"column\">\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"min-width:700px;font-size: 15px;\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br />\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"close()\">{{'ANNULLA' | translate }}</button>\n </div>\n </div>\n "
|
|
14884
14887
|
},] }
|
|
14885
14888
|
];
|
|
14886
14889
|
win_commento_sel_notif_v2.ctorParameters = function () { return [
|
|
14887
14890
|
{ type: dialog.MatDialogRef },
|
|
14888
|
-
{ type: i3.ToastrService }
|
|
14891
|
+
{ type: i3.ToastrService },
|
|
14892
|
+
{ type: core.TranslateService }
|
|
14889
14893
|
]; };
|
|
14890
14894
|
win_commento_sel_notif_v2.propDecorators = {
|
|
14891
14895
|
up: [{ type: i0.ViewChild, args: ["up",] }]
|
|
14892
14896
|
};
|
|
14893
14897
|
|
|
14894
14898
|
var win_commenti_v2 = /** @class */ (function () {
|
|
14895
|
-
function win_commenti_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file) {
|
|
14899
|
+
function win_commenti_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, _tsr) {
|
|
14896
14900
|
this.dialogRef = dialogRef;
|
|
14897
14901
|
this.m_dialogRef = m_dialogRef;
|
|
14898
14902
|
this.m_appService = m_appService;
|
|
@@ -14900,6 +14904,7 @@
|
|
|
14900
14904
|
this._dataService = _dataService;
|
|
14901
14905
|
this.m_wkf = m_wkf;
|
|
14902
14906
|
this.m_file = m_file;
|
|
14907
|
+
this._tsr = _tsr;
|
|
14903
14908
|
this.notifica_commenti = 1;
|
|
14904
14909
|
this.notifica_commenti_obbl = 0;
|
|
14905
14910
|
this.not_comm = false;
|
|
@@ -14929,7 +14934,7 @@
|
|
|
14929
14934
|
this.b_ins = false;
|
|
14930
14935
|
this.nota = event.commento;
|
|
14931
14936
|
this.edit_id = event.id_comment;
|
|
14932
|
-
this.title = "MODIFICA COMMENTO";
|
|
14937
|
+
this.title = this._tsr.instant("MODIFICA COMMENTO");
|
|
14933
14938
|
};
|
|
14934
14939
|
win_commenti_v2.prototype.refresh_list = function () {
|
|
14935
14940
|
var _this = this;
|
|
@@ -14950,7 +14955,7 @@
|
|
|
14950
14955
|
_this.commenti_list[i].commento.replace(/\n/g, "<br/>") +
|
|
14951
14956
|
"</b>";
|
|
14952
14957
|
}
|
|
14953
|
-
_this.title = "COMMENTI";
|
|
14958
|
+
_this.title = _this._tsr.instant("COMMENTI");
|
|
14954
14959
|
}
|
|
14955
14960
|
}, function (err) { });
|
|
14956
14961
|
};
|
|
@@ -14960,7 +14965,7 @@
|
|
|
14960
14965
|
}
|
|
14961
14966
|
else {
|
|
14962
14967
|
if (this.nota == "") {
|
|
14963
|
-
this.toastr.error("INSERIRE UN COMMENTO");
|
|
14968
|
+
this.toastr.error(this._tsr.instant("INSERIRE UN COMMENTO"));
|
|
14964
14969
|
return;
|
|
14965
14970
|
}
|
|
14966
14971
|
if (this.notifica_commenti != 2)
|
|
@@ -14974,7 +14979,7 @@
|
|
|
14974
14979
|
var dialo = this.m_dialogRef.open(fh_win_list, { disableClose: true });
|
|
14975
14980
|
setTimeout(function () {
|
|
14976
14981
|
dialo.componentInstance.title =
|
|
14977
|
-
"Selezione almeno un gruppo da notificare";
|
|
14982
|
+
_this._tsr.instant("Selezione almeno un gruppo da notificare");
|
|
14978
14983
|
dialo.componentInstance.types = ["string"];
|
|
14979
14984
|
dialo.componentInstance.values = [
|
|
14980
14985
|
_this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
@@ -15133,7 +15138,7 @@
|
|
|
15133
15138
|
if (sdest != "")
|
|
15134
15139
|
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject
|
|
15135
15140
|
.split("<OP>")
|
|
15136
|
-
.join("E' stato modificato un commento"), "<br><br>Commento modificato: <br>" +
|
|
15141
|
+
.join(_this._tsr.instant("E' stato modificato un commento")), "<br><br>" + _this._tsr.instant('Commento modificato') + ": <br>" +
|
|
15137
15142
|
_this.nota.split("\n").join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, "");
|
|
15138
15143
|
_this.refresh_list();
|
|
15139
15144
|
}
|
|
@@ -15145,8 +15150,8 @@
|
|
|
15145
15150
|
};
|
|
15146
15151
|
win_commenti_v2.prototype.annulla = function () {
|
|
15147
15152
|
var _this = this;
|
|
15148
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
15149
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
15153
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", this._tsr.instant("Conferma Operazione"));
|
|
15154
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", this._tsr.instant("Confermi di voler annullare l'inserimento del commento?"));
|
|
15150
15155
|
var dialogRef1 = this.m_dialogRef.open(fh_win_confirm);
|
|
15151
15156
|
dialogRef1.afterClosed().subscribe(function (result) {
|
|
15152
15157
|
if (result) {
|
|
@@ -15161,13 +15166,13 @@
|
|
|
15161
15166
|
this.nota = "";
|
|
15162
15167
|
this.b_edit = true;
|
|
15163
15168
|
this.b_ins = true;
|
|
15164
|
-
this.title = "INSERISCI COMMENTO";
|
|
15169
|
+
this.title = this._tsr.instant("INSERISCI COMMENTO");
|
|
15165
15170
|
};
|
|
15166
15171
|
return win_commenti_v2;
|
|
15167
15172
|
}());
|
|
15168
15173
|
win_commenti_v2.decorators = [
|
|
15169
15174
|
{ type: i0.Component, args: [{
|
|
15170
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <mat-toolbar color=\"primary\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n
|
|
15175
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <mat-toolbar color=\"primary\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate}}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\"> {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >{{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
15171
15176
|
styles: [""]
|
|
15172
15177
|
},] }
|
|
15173
15178
|
];
|
|
@@ -15178,14 +15183,16 @@
|
|
|
15178
15183
|
{ type: i3.ToastrService },
|
|
15179
15184
|
{ type: QueryService },
|
|
15180
15185
|
{ type: WkfService },
|
|
15181
|
-
{ type: FileService }
|
|
15186
|
+
{ type: FileService },
|
|
15187
|
+
{ type: core.TranslateService }
|
|
15182
15188
|
]; };
|
|
15183
15189
|
|
|
15184
15190
|
var win_conferma_v2 = /** @class */ (function () {
|
|
15185
|
-
function win_conferma_v2(dialogRef, m_appService, toastr, data) {
|
|
15191
|
+
function win_conferma_v2(dialogRef, m_appService, toastr, _tsr, data) {
|
|
15186
15192
|
this.dialogRef = dialogRef;
|
|
15187
15193
|
this.m_appService = m_appService;
|
|
15188
15194
|
this.toastr = toastr;
|
|
15195
|
+
this._tsr = _tsr;
|
|
15189
15196
|
this.data = data;
|
|
15190
15197
|
this.utenti = "";
|
|
15191
15198
|
this.lbl = "";
|
|
@@ -15223,7 +15230,7 @@
|
|
|
15223
15230
|
win_conferma_v2.prototype.ok = function () {
|
|
15224
15231
|
if (this.comm_notrequired == 0)
|
|
15225
15232
|
if (this.nota == "") {
|
|
15226
|
-
this.toastr.error("ERRORE", "INSERIRE IL COMMENTO", {
|
|
15233
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("INSERIRE IL COMMENTO"), {
|
|
15227
15234
|
timeOut: 1000,
|
|
15228
15235
|
progressBar: true,
|
|
15229
15236
|
});
|
|
@@ -15239,13 +15246,14 @@
|
|
|
15239
15246
|
}());
|
|
15240
15247
|
win_conferma_v2.decorators = [
|
|
15241
15248
|
{ type: i0.Component, args: [{
|
|
15242
|
-
template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar [style.background-color]=\"color\"\n [style.color]=\"color_font\">\n <i *ngIf=\"icon!=null && icon!=''\" class=\"fa {{icon}}\" aria-hidden=\"true\"></i> \n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl }}</div>\n <div *ngIf=\"!mobile\">{{ lbl }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n Assegnata a: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n
|
|
15249
|
+
template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title| translate\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar [style.background-color]=\"color\"\n [style.color]=\"color_font\">\n <i *ngIf=\"icon!=null && icon!=''\" class=\"fa {{icon}}\" aria-hidden=\"true\"></i> \n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl | translate}}</div>\n <div *ngIf=\"!mobile\">{{ lbl| translate }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n {{'Assegnata a'| translate}}: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n {{'Assegnata a'| translate}}: {{ utenti }}\n </h3>\n <br />\n <mat-form-field\n [hidden]=\"comm_notrequired == 1\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Commento'| translate}} {{ nota_commento | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">{{'OK'| translate}}</button>\n\n </div>\n "
|
|
15243
15250
|
},] }
|
|
15244
15251
|
];
|
|
15245
15252
|
win_conferma_v2.ctorParameters = function () { return [
|
|
15246
15253
|
{ type: dialog.MatDialogRef },
|
|
15247
15254
|
{ type: AppService },
|
|
15248
15255
|
{ type: i3.ToastrService },
|
|
15256
|
+
{ type: core.TranslateService },
|
|
15249
15257
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
15250
15258
|
]; };
|
|
15251
15259
|
|
|
@@ -15296,13 +15304,14 @@
|
|
|
15296
15304
|
]; };
|
|
15297
15305
|
|
|
15298
15306
|
var win_insert_commento_v2 = /** @class */ (function () {
|
|
15299
|
-
function win_insert_commento_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf) {
|
|
15307
|
+
function win_insert_commento_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, _tsr) {
|
|
15300
15308
|
this.dialogRef = dialogRef;
|
|
15301
15309
|
this.m_dialogRef = m_dialogRef;
|
|
15302
15310
|
this.m_appService = m_appService;
|
|
15303
15311
|
this.toastr = toastr;
|
|
15304
15312
|
this._dataService = _dataService;
|
|
15305
15313
|
this.m_wkf = m_wkf;
|
|
15314
|
+
this._tsr = _tsr;
|
|
15306
15315
|
this.not_int = true;
|
|
15307
15316
|
this.nota = "";
|
|
15308
15317
|
this.title = "COMMENTI";
|
|
@@ -15396,13 +15405,13 @@
|
|
|
15396
15405
|
var ok_op = false;
|
|
15397
15406
|
if (data != null)
|
|
15398
15407
|
if (data.result_msg == "OK") {
|
|
15399
|
-
_this.toastr.info("INFO", "COMMENTO INSERITO", {
|
|
15408
|
+
_this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO INSERITO"), {
|
|
15400
15409
|
timeOut: 1000,
|
|
15401
15410
|
progressBar: true,
|
|
15402
15411
|
});
|
|
15403
15412
|
_this.b_edit = false;
|
|
15404
15413
|
if (sdest != "")
|
|
15405
|
-
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject.split("<OP>").join("E' stato inserito un commento"), "<br><br>Commento inserito: <br>" +
|
|
15414
|
+
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject.split("<OP>").join(_this._tsr.instant("E' stato inserito un commento")), "<br><br>" + _this._tsr.instant("Commento inserito") + ": <br>" +
|
|
15406
15415
|
_this.nota.split("\n").join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, "");
|
|
15407
15416
|
}
|
|
15408
15417
|
});
|
|
@@ -15423,7 +15432,7 @@
|
|
|
15423
15432
|
}());
|
|
15424
15433
|
win_insert_commento_v2.decorators = [
|
|
15425
15434
|
{ type: i0.Component, args: [{
|
|
15426
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button\n > \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori === ''\">\n
|
|
15435
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">{{'OK' | translate}}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">{{'ANNULLA' | translate}}</button\n > \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori === ''\">\n {{'Notifica Interessati' | translate}\n </mat-checkbox>\n </div>\n </div>\n ",
|
|
15427
15436
|
styles: [""]
|
|
15428
15437
|
},] }
|
|
15429
15438
|
];
|
|
@@ -15433,11 +15442,12 @@
|
|
|
15433
15442
|
{ type: AppService },
|
|
15434
15443
|
{ type: i3.ToastrService },
|
|
15435
15444
|
{ type: QueryService },
|
|
15436
|
-
{ type: WkfService }
|
|
15445
|
+
{ type: WkfService },
|
|
15446
|
+
{ type: core.TranslateService }
|
|
15437
15447
|
]; };
|
|
15438
15448
|
|
|
15439
15449
|
var win_log_v2 = /** @class */ (function () {
|
|
15440
|
-
function win_log_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file) {
|
|
15450
|
+
function win_log_v2(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, _tsr) {
|
|
15441
15451
|
this.dialogRef = dialogRef;
|
|
15442
15452
|
this.m_dialogRef = m_dialogRef;
|
|
15443
15453
|
this.m_appService = m_appService;
|
|
@@ -15445,6 +15455,7 @@
|
|
|
15445
15455
|
this._dataService = _dataService;
|
|
15446
15456
|
this.m_wkf = m_wkf;
|
|
15447
15457
|
this.m_file = m_file;
|
|
15458
|
+
this._tsr = _tsr;
|
|
15448
15459
|
this.ossv = false;
|
|
15449
15460
|
this.not_comm = false;
|
|
15450
15461
|
this.not_comm_disabled = false;
|
|
@@ -15525,14 +15536,14 @@
|
|
|
15525
15536
|
};
|
|
15526
15537
|
win_log_v2.prototype.annulla = function () {
|
|
15527
15538
|
var _this = this;
|
|
15528
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
15529
|
-
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
15539
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", this._tsr.instant("Conferma Operazione"));
|
|
15540
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", this._tsr.instant("Confermi di voler annullare l'inserimento del commento?"));
|
|
15530
15541
|
var dialogRef1 = this.m_dialogRef.open(fh_win_confirm);
|
|
15531
15542
|
dialogRef1.afterClosed().subscribe(function (result) {
|
|
15532
15543
|
if (result) {
|
|
15533
15544
|
_this.nota = "";
|
|
15534
15545
|
_this.b_edit = false;
|
|
15535
|
-
_this.title = "LOG WORKFLOW E COMMENTI";
|
|
15546
|
+
_this.title = _this._tsr.instant("LOG WORKFLOW E COMMENTI");
|
|
15536
15547
|
}
|
|
15537
15548
|
});
|
|
15538
15549
|
};
|
|
@@ -15540,7 +15551,7 @@
|
|
|
15540
15551
|
this.nota = "";
|
|
15541
15552
|
this.b_edit = true;
|
|
15542
15553
|
this.b_ins = true;
|
|
15543
|
-
this.title = "INSERISCI COMMENTO";
|
|
15554
|
+
this.title = this._tsr.instant("INSERISCI COMMENTO");
|
|
15544
15555
|
};
|
|
15545
15556
|
win_log_v2.prototype.ngAfterViewInit = function () {
|
|
15546
15557
|
var _this = this;
|
|
@@ -15553,7 +15564,7 @@
|
|
|
15553
15564
|
this.b_ins = false;
|
|
15554
15565
|
this.nota = event.stato_attuale;
|
|
15555
15566
|
this.edit_id = event.id_comment;
|
|
15556
|
-
this.title = "MODIFICA COMMENTO";
|
|
15567
|
+
this.title = this._tsr.instant("MODIFICA COMMENTO");
|
|
15557
15568
|
};
|
|
15558
15569
|
win_log_v2.prototype.refresh_list = function () {
|
|
15559
15570
|
var _this = this;
|
|
@@ -15596,7 +15607,7 @@
|
|
|
15596
15607
|
}
|
|
15597
15608
|
else {
|
|
15598
15609
|
if (this.nota == "") {
|
|
15599
|
-
this.toastr.error("INSERIRE UN COMMENTO");
|
|
15610
|
+
this.toastr.error(this._tsr.instant("INSERIRE UN COMMENTO"));
|
|
15600
15611
|
return;
|
|
15601
15612
|
}
|
|
15602
15613
|
if (this.notifica_commenti == 1)
|
|
@@ -15637,7 +15648,7 @@
|
|
|
15637
15648
|
var dialo = this.m_dialogRef.open(fh_win_list, { disableClose: true });
|
|
15638
15649
|
setTimeout(function () {
|
|
15639
15650
|
dialo.componentInstance.title =
|
|
15640
|
-
"Selezione almeno un gruppo da notificare";
|
|
15651
|
+
_this._tsr.instant("Selezione almeno un gruppo da notificare");
|
|
15641
15652
|
dialo.componentInstance.types = ["string"];
|
|
15642
15653
|
dialo.componentInstance.values = [
|
|
15643
15654
|
_this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
@@ -15712,7 +15723,7 @@
|
|
|
15712
15723
|
var ok_op = false;
|
|
15713
15724
|
if (data != null)
|
|
15714
15725
|
if (data.result_msg == "OK") {
|
|
15715
|
-
_this.toastr.info("INFO", "COMMENTO INSERITO", {
|
|
15726
|
+
_this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO INSERITO"), {
|
|
15716
15727
|
timeOut: 1000,
|
|
15717
15728
|
progressBar: true,
|
|
15718
15729
|
});
|
|
@@ -15729,7 +15740,7 @@
|
|
|
15729
15740
|
if (sdest != "")
|
|
15730
15741
|
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject
|
|
15731
15742
|
.split("<OP>")
|
|
15732
|
-
.join("E' stato inserito un commento"), "<br><br>Commento inserito: <br>" +
|
|
15743
|
+
.join(_this._tsr.instant("E' stato inserito un commento")), "<br><br>" + _this._tsr.instant("Commento inserito") + ": <br>" +
|
|
15733
15744
|
_this.nota.split("\n").join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, "");
|
|
15734
15745
|
_this.refresh_list();
|
|
15735
15746
|
}
|
|
@@ -15744,7 +15755,7 @@
|
|
|
15744
15755
|
var ok_op = false;
|
|
15745
15756
|
if (data != null)
|
|
15746
15757
|
if (data.result_msg == "OK") {
|
|
15747
|
-
_this.toastr.info("INFO", "COMMENTO AGGIORNATO", {
|
|
15758
|
+
_this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO AGGIORNATO"), {
|
|
15748
15759
|
timeOut: 1000,
|
|
15749
15760
|
progressBar: true,
|
|
15750
15761
|
});
|
|
@@ -15761,7 +15772,7 @@
|
|
|
15761
15772
|
if (sdest != "")
|
|
15762
15773
|
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject
|
|
15763
15774
|
.split("<OP>")
|
|
15764
|
-
.join("E' stato modificato un commento"), "<br><br>Commento modificato: <br>" +
|
|
15775
|
+
.join(_this._tsr.instant("E' stato modificato un commento")), "<br><br>" + _this._tsr.instant("Commento modificato") + ": <br>" +
|
|
15765
15776
|
_this.nota.split("\n").join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, "");
|
|
15766
15777
|
_this.refresh_list();
|
|
15767
15778
|
}
|
|
@@ -15772,7 +15783,7 @@
|
|
|
15772
15783
|
}());
|
|
15773
15784
|
win_log_v2.decorators = [
|
|
15774
15785
|
{ type: i0.Component, args: [{
|
|
15775
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n INSERISCI</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <mat-form-field\n *ngIf=\"b_edit\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n
|
|
15786
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <mat-form-field\n *ngIf=\"b_edit\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 ||\n (notifica_commenti == 1 && lettori == '')\n \"\n >\n {{'Notifica Interessati' | translate}}\n </mat-checkbox>\n </div>\n <br /><br />\n </div>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\"> {{'Data' | translate}}</th>\n <th width=\"15%\"> {{'Utente' | translate}}</th>\n <th> {{'Operazione' | translate}}</th>\n <td></td>\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of logs;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>{{ app.nc }}</td>\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </mat-tab>\n </mat-tab-group>\n </div>\n ",
|
|
15776
15787
|
styles: [""]
|
|
15777
15788
|
},] }
|
|
15778
15789
|
];
|
|
@@ -15783,18 +15794,20 @@
|
|
|
15783
15794
|
{ type: i3.ToastrService },
|
|
15784
15795
|
{ type: QueryService },
|
|
15785
15796
|
{ type: WkfService },
|
|
15786
|
-
{ type: FileService }
|
|
15797
|
+
{ type: FileService },
|
|
15798
|
+
{ type: core.TranslateService }
|
|
15787
15799
|
]; };
|
|
15788
15800
|
win_log_v2.propDecorators = {
|
|
15789
15801
|
zz: [{ type: i0.ViewChild, args: ["zz",] }]
|
|
15790
15802
|
};
|
|
15791
15803
|
|
|
15792
15804
|
var win_recupera_doc_v2 = /** @class */ (function () {
|
|
15793
|
-
function win_recupera_doc_v2(dialogRef, m_appService, toastr, _dataService) {
|
|
15805
|
+
function win_recupera_doc_v2(dialogRef, m_appService, toastr, _dataService, _tsr) {
|
|
15794
15806
|
this.dialogRef = dialogRef;
|
|
15795
15807
|
this.m_appService = m_appService;
|
|
15796
15808
|
this.toastr = toastr;
|
|
15797
15809
|
this._dataService = _dataService;
|
|
15810
|
+
this._tsr = _tsr;
|
|
15798
15811
|
this.flt_grid = "1=1";
|
|
15799
15812
|
this.title = "RECUPERA DOCUMENTO";
|
|
15800
15813
|
}
|
|
@@ -15810,7 +15823,7 @@
|
|
|
15810
15823
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
15811
15824
|
if (data != null)
|
|
15812
15825
|
if (data.result_msg == "OK") {
|
|
15813
|
-
_this.toastr.info("Documento " + _this.datagrid.sRow.codice + " Recuperato");
|
|
15826
|
+
_this.toastr.info(_this._tsr.instant("Documento") + " " + _this.datagrid.sRow.codice + " " + _this._tsr.instant("Recuperato"));
|
|
15814
15827
|
_this.dialogRef.close("ok");
|
|
15815
15828
|
}
|
|
15816
15829
|
}, function (err) {
|
|
@@ -15820,25 +15833,25 @@
|
|
|
15820
15833
|
win_recupera_doc_v2.prototype.init_w = function (id_app) {
|
|
15821
15834
|
this.datagrid.columnDefs = [
|
|
15822
15835
|
{
|
|
15823
|
-
headerName: "Codice",
|
|
15836
|
+
headerName: this._tsr.instant("Codice"),
|
|
15824
15837
|
field: "codice",
|
|
15825
15838
|
filter: "agTextColumnFilter",
|
|
15826
15839
|
filterParams: { newRowsAction: "keep" },
|
|
15827
15840
|
},
|
|
15828
15841
|
{
|
|
15829
|
-
headerName: "Oggetto",
|
|
15842
|
+
headerName: this._tsr.instant("Oggetto"),
|
|
15830
15843
|
field: "oggetto",
|
|
15831
15844
|
filter: "agTextColumnFilter",
|
|
15832
15845
|
filterParams: { newRowsAction: "keep" },
|
|
15833
15846
|
},
|
|
15834
15847
|
{
|
|
15835
|
-
headerName: "Stato",
|
|
15848
|
+
headerName: this._tsr.instant("Stato"),
|
|
15836
15849
|
field: "stat_stato",
|
|
15837
15850
|
filter: "agTextColumnFilter",
|
|
15838
15851
|
filterParams: { newRowsAction: "keep" },
|
|
15839
15852
|
},
|
|
15840
15853
|
{
|
|
15841
|
-
headerName: "Richiedente",
|
|
15854
|
+
headerName: this._tsr.instant("Richiedente"),
|
|
15842
15855
|
field: "nc",
|
|
15843
15856
|
filter: "agTextColumnFilter",
|
|
15844
15857
|
filterParams: { newRowsAction: "keep" },
|
|
@@ -15851,23 +15864,25 @@
|
|
|
15851
15864
|
}());
|
|
15852
15865
|
win_recupera_doc_v2.decorators = [
|
|
15853
15866
|
{ type: i0.Component, args: [{
|
|
15854
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <br />\n <div style=\"width:100%;height:400px\">\n <div style=\"width:100%;height:100%\">\n <FHGrid\n [filters]=\"flt_grid\"\n init_fill=\"false\"\n show_buttons=\"false\"\n vis\n #dtm\n (dclicked)=\"edit($event)\"\n g_width=\"100%\"\n g_height=\"100%\"\n tbl_name=\"wkf_documents\"\n grid_key=\"r_wkf_documents\"\n sort_field=\"codice desc\"\n off_set=\"50\"\n fields=\"*\"\n ></FHGrid>\n </div>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close('')\"\n >\n CHIUDI\n </button>\n </div>\n </div>\n </div>\n "
|
|
15867
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <br />\n <div style=\"width:100%;height:400px\">\n <div style=\"width:100%;height:100%\">\n <FHGrid\n [filters]=\"flt_grid\"\n init_fill=\"false\"\n show_buttons=\"false\"\n vis\n #dtm\n (dclicked)=\"edit($event)\"\n g_width=\"100%\"\n g_height=\"100%\"\n tbl_name=\"wkf_documents\"\n grid_key=\"r_wkf_documents\"\n sort_field=\"codice desc\"\n off_set=\"50\"\n fields=\"*\"\n ></FHGrid>\n </div>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close('')\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n </div>\n "
|
|
15855
15868
|
},] }
|
|
15856
15869
|
];
|
|
15857
15870
|
win_recupera_doc_v2.ctorParameters = function () { return [
|
|
15858
15871
|
{ type: dialog.MatDialogRef },
|
|
15859
15872
|
{ type: AppService },
|
|
15860
15873
|
{ type: i3.ToastrService },
|
|
15861
|
-
{ type: QueryService }
|
|
15874
|
+
{ type: QueryService },
|
|
15875
|
+
{ type: core.TranslateService }
|
|
15862
15876
|
]; };
|
|
15863
15877
|
win_recupera_doc_v2.propDecorators = {
|
|
15864
15878
|
datagrid: [{ type: i0.ViewChild, args: ["dtm",] }]
|
|
15865
15879
|
};
|
|
15866
15880
|
|
|
15867
15881
|
var win_riassegna_select_level_v2 = /** @class */ (function () {
|
|
15868
|
-
function win_riassegna_select_level_v2(dialogRef, toastr) {
|
|
15882
|
+
function win_riassegna_select_level_v2(dialogRef, toastr, _tsr) {
|
|
15869
15883
|
this.dialogRef = dialogRef;
|
|
15870
15884
|
this.toastr = toastr;
|
|
15885
|
+
this._tsr = _tsr;
|
|
15871
15886
|
this.selval = "-1";
|
|
15872
15887
|
this.title = "";
|
|
15873
15888
|
this.errorMsg = "";
|
|
@@ -15893,14 +15908,14 @@
|
|
|
15893
15908
|
};
|
|
15894
15909
|
win_riassegna_select_level_v2.prototype.ok = function () {
|
|
15895
15910
|
if (this.selval == null) {
|
|
15896
|
-
this.toastr.error("ERRORE", "SELEZIONARE LO STEP", {
|
|
15911
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("SELEZIONARE LO STEP"), {
|
|
15897
15912
|
timeOut: 1000,
|
|
15898
15913
|
progressBar: true,
|
|
15899
15914
|
});
|
|
15900
15915
|
return;
|
|
15901
15916
|
}
|
|
15902
15917
|
if (this.selval == "-1") {
|
|
15903
|
-
this.toastr.error("ERRORE", "SELEZIONARE LO STEP", {
|
|
15918
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("SELEZIONARE LO STEP"), {
|
|
15904
15919
|
timeOut: 1000,
|
|
15905
15920
|
progressBar: true,
|
|
15906
15921
|
});
|
|
@@ -15916,7 +15931,7 @@
|
|
|
15916
15931
|
}
|
|
15917
15932
|
}
|
|
15918
15933
|
if (lvl == null) {
|
|
15919
|
-
this.toastr.error("ERRORE", "SELEZIONARE LO STEP", {
|
|
15934
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("SELEZIONARE LO STEP"), {
|
|
15920
15935
|
timeOut: 1000,
|
|
15921
15936
|
progressBar: true,
|
|
15922
15937
|
});
|
|
@@ -15929,21 +15944,23 @@
|
|
|
15929
15944
|
}());
|
|
15930
15945
|
win_riassegna_select_level_v2.decorators = [
|
|
15931
15946
|
{ type: i0.Component, args: [{
|
|
15932
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Seleziona Step:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\"
|
|
15947
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\">\n {{app.description | translate }}\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
|
|
15933
15948
|
},] }
|
|
15934
15949
|
];
|
|
15935
15950
|
win_riassegna_select_level_v2.ctorParameters = function () { return [
|
|
15936
15951
|
{ type: dialog.MatDialogRef },
|
|
15937
|
-
{ type: i3.ToastrService }
|
|
15952
|
+
{ type: i3.ToastrService },
|
|
15953
|
+
{ type: core.TranslateService }
|
|
15938
15954
|
]; };
|
|
15939
15955
|
win_riassegna_select_level_v2.propDecorators = {
|
|
15940
15956
|
smtr: [{ type: i0.ViewChild, args: ["cmb",] }]
|
|
15941
15957
|
};
|
|
15942
15958
|
|
|
15943
15959
|
var win_riassegna_select_user_v2 = /** @class */ (function () {
|
|
15944
|
-
function win_riassegna_select_user_v2(dialogRef, toastr) {
|
|
15960
|
+
function win_riassegna_select_user_v2(dialogRef, toastr, _tsr) {
|
|
15945
15961
|
this.dialogRef = dialogRef;
|
|
15946
15962
|
this.toastr = toastr;
|
|
15963
|
+
this._tsr = _tsr;
|
|
15947
15964
|
this.commento_hidden = false;
|
|
15948
15965
|
this.nota = "";
|
|
15949
15966
|
this.nota_commento = "";
|
|
@@ -15957,14 +15974,14 @@
|
|
|
15957
15974
|
win_riassegna_select_user_v2.prototype.ok = function () {
|
|
15958
15975
|
if (!this.commento_hidden)
|
|
15959
15976
|
if (this.nota == "") {
|
|
15960
|
-
this.toastr.error("ERRORE", "INSERIRE IL COMMENTO", {
|
|
15977
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("INSERIRE IL COMMENTO"), {
|
|
15961
15978
|
timeOut: 1000,
|
|
15962
15979
|
progressBar: true,
|
|
15963
15980
|
});
|
|
15964
15981
|
return;
|
|
15965
15982
|
}
|
|
15966
15983
|
if (this.up.getSelArr().length == 0) {
|
|
15967
|
-
this.toastr.error("ERRORE", "SELEZIONARE ALMENO UN UTENTE", {
|
|
15984
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("SELEZIONARE ALMENO UN UTENTE"), {
|
|
15968
15985
|
timeOut: 1000,
|
|
15969
15986
|
progressBar: true,
|
|
15970
15987
|
});
|
|
@@ -15981,13 +15998,14 @@
|
|
|
15981
15998
|
}());
|
|
15982
15999
|
win_riassegna_select_user_v2.decorators = [
|
|
15983
16000
|
{ type: i0.Component, args: [{
|
|
15984
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\n <mat-form-field\n [hidden]=\"commento_hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n
|
|
16001
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate }}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\n <mat-form-field\n [hidden]=\"commento_hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate }} {{ nota_commento | translate }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n </div>\n ",
|
|
15985
16002
|
styles: ["\u00A0.mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n\n"]
|
|
15986
16003
|
},] }
|
|
15987
16004
|
];
|
|
15988
16005
|
win_riassegna_select_user_v2.ctorParameters = function () { return [
|
|
15989
16006
|
{ type: dialog.MatDialogRef },
|
|
15990
|
-
{ type: i3.ToastrService }
|
|
16007
|
+
{ type: i3.ToastrService },
|
|
16008
|
+
{ type: core.TranslateService }
|
|
15991
16009
|
]; };
|
|
15992
16010
|
win_riassegna_select_user_v2.propDecorators = {
|
|
15993
16011
|
up: [{ type: i0.ViewChild, args: ["up",] }]
|
|
@@ -16035,7 +16053,7 @@
|
|
|
16035
16053
|
}());
|
|
16036
16054
|
win_salva_annulla_v2.decorators = [
|
|
16037
16055
|
{ type: i0.Component, args: [{
|
|
16038
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content>\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"salva_esci()\">\n {{ salva_ed_esci
|
|
16056
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content>\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs |translate }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"salva_esci()\">\n {{ salva_ed_esci|translate }}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"esci_senza_salv()\">\n {{ esci_senza_salvataggi |translate }}\n </button>\n </div>\n </div>\n "
|
|
16039
16057
|
},] }
|
|
16040
16058
|
];
|
|
16041
16059
|
win_salva_annulla_v2.ctorParameters = function () { return [
|
|
@@ -16045,10 +16063,11 @@
|
|
|
16045
16063
|
]; };
|
|
16046
16064
|
|
|
16047
16065
|
var win_select_canale_v2 = /** @class */ (function () {
|
|
16048
|
-
function win_select_canale_v2(dialogRef, m_appService, toastr) {
|
|
16066
|
+
function win_select_canale_v2(dialogRef, m_appService, toastr, _tsr) {
|
|
16049
16067
|
this.dialogRef = dialogRef;
|
|
16050
16068
|
this.m_appService = m_appService;
|
|
16051
16069
|
this.toastr = toastr;
|
|
16070
|
+
this._tsr = _tsr;
|
|
16052
16071
|
this.selval = "-1";
|
|
16053
16072
|
this.errorMsg = "";
|
|
16054
16073
|
this.title = 'SELEZIONA AMBITO';
|
|
@@ -16060,7 +16079,7 @@
|
|
|
16060
16079
|
};
|
|
16061
16080
|
win_select_canale_v2.prototype.ok = function () {
|
|
16062
16081
|
if (this.selval == "-1") {
|
|
16063
|
-
this.toastr.error("ERRORE", "SELEZIONARE AMBITO", {
|
|
16082
|
+
this.toastr.error(this._tsr.instant("ERRORE"), this._tsr.instant("SELEZIONARE AMBITO"), {
|
|
16064
16083
|
timeOut: 1000,
|
|
16065
16084
|
progressBar: true,
|
|
16066
16085
|
});
|
|
@@ -16073,22 +16092,24 @@
|
|
|
16073
16092
|
}());
|
|
16074
16093
|
win_select_canale_v2.decorators = [
|
|
16075
16094
|
{ type: i0.Component, args: [{
|
|
16076
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <div mat-dialog-content>\n <br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Seleziona Ambito:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app }}\" *ngFor=\"let app of myData\"
|
|
16095
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title|translate }}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <div mat-dialog-content>\n <br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Ambito'|translate }}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\">\n <mat-option value=\"-1\">{{'Seleziona' |translate }}</mat-option>\n <mat-option value=\"{{ app }}\" *ngFor=\"let app of myData\">\n {{app |translate }}\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button>\n </div>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg |translate }}\n </p>\n </div>\n </div>\n "
|
|
16077
16096
|
},] }
|
|
16078
16097
|
];
|
|
16079
16098
|
win_select_canale_v2.ctorParameters = function () { return [
|
|
16080
16099
|
{ type: dialog.MatDialogRef },
|
|
16081
16100
|
{ type: AppService },
|
|
16082
|
-
{ type: i3.ToastrService }
|
|
16101
|
+
{ type: i3.ToastrService },
|
|
16102
|
+
{ type: core.TranslateService }
|
|
16083
16103
|
]; };
|
|
16084
16104
|
win_select_canale_v2.propDecorators = {
|
|
16085
16105
|
smtr: [{ type: i0.ViewChild, args: ["cmb",] }]
|
|
16086
16106
|
};
|
|
16087
16107
|
|
|
16088
16108
|
var win_select_level_v2 = /** @class */ (function () {
|
|
16089
|
-
function win_select_level_v2(dialogRef, toastr, data) {
|
|
16109
|
+
function win_select_level_v2(dialogRef, toastr, _tsr, data) {
|
|
16090
16110
|
this.dialogRef = dialogRef;
|
|
16091
16111
|
this.toastr = toastr;
|
|
16112
|
+
this._tsr = _tsr;
|
|
16092
16113
|
this.data = data;
|
|
16093
16114
|
this.selval = "-1";
|
|
16094
16115
|
this.errorMsg = "";
|
|
@@ -16118,7 +16139,7 @@
|
|
|
16118
16139
|
}
|
|
16119
16140
|
for (var i = 0; i < this.trans.length; i++) {
|
|
16120
16141
|
if (this.selval == this.trans[i].uiid) {
|
|
16121
|
-
this.OK_BUTTON =
|
|
16142
|
+
this.OK_BUTTON = this._tsr.instant('OK') + " (" + this.trans[i].description + ")";
|
|
16122
16143
|
break;
|
|
16123
16144
|
}
|
|
16124
16145
|
}
|
|
@@ -16159,7 +16180,7 @@
|
|
|
16159
16180
|
}*/
|
|
16160
16181
|
win_select_level_v2.prototype.ok = function () {
|
|
16161
16182
|
if (this.selval == null || this.selval == '' || this.selval == '-1') {
|
|
16162
|
-
this.toastr.error('Selezionare lo step di destinazione');
|
|
16183
|
+
this.toastr.error(this._tsr.instant('Selezionare lo step di destinazione'));
|
|
16163
16184
|
return;
|
|
16164
16185
|
}
|
|
16165
16186
|
for (var i = 0; i < this.trans.length; i++) {
|
|
@@ -16173,12 +16194,13 @@
|
|
|
16173
16194
|
}());
|
|
16174
16195
|
win_select_level_v2.decorators = [
|
|
16175
16196
|
{ type: i0.Component, args: [{
|
|
16176
|
-
template: "\n<div\u00A0fxLayout=\"column\">\n<div\u00A0\u00A0fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0\u00A0\u00A0class=\"dialog_header\">\u00A0\n\n<div\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0fxFlex=\"90\"><div>{{title}}</div></div>\u00A0\n\n<div\u00A0\u00A0\u00A0fxFlex=\"10\"\u00A0fxLayout=\"row\"\u00A0fxLayoutAlign=\"end\u00A0center\">\n <div><img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0</div>\n</div>\n\n</div>\n\n\n<mat-dialog-content>\n<hr\u00A0width=\"100%\"\u00A0size=\"0.5\"\u00A0color=\"#DDDDDD\">\n\n <br />\n <div\u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngFor=\"let app of trans\">\n <button mat-raised-button [style.background-color]=\"app.color\" (click)=\"sel(app)\"\n [style.color]=\"app.color_font\" style=\"font-weight:bold;font-size:18px;min-width:300px\">\n <i *ngIf=\"app.icon!=null && app.icon!=''\" class=\"fa {{app.icon}}\" aria-hidden=\"true\"></i>\n\n{{ app.description}}</button>\n<br><br>\n\n\n</div>\n </div>\n
|
|
16197
|
+
template: "\n<div\u00A0fxLayout=\"column\">\n<div\u00A0\u00A0fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0\u00A0\u00A0class=\"dialog_header\">\u00A0\n\n<div\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0fxFlex=\"90\"><div>{{title|translate}}</div></div>\u00A0\n\n<div\u00A0\u00A0\u00A0fxFlex=\"10\"\u00A0fxLayout=\"row\"\u00A0fxLayoutAlign=\"end\u00A0center\">\n <div><img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0</div>\n</div>\n\n</div>\n\n\n<mat-dialog-content>\n<hr\u00A0width=\"100%\"\u00A0size=\"0.5\"\u00A0color=\"#DDDDDD\">\n\n <br />\n <div\u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngFor=\"let app of trans\">\n <button mat-raised-button [style.background-color]=\"app.color\" (click)=\"sel(app)\"\n [style.color]=\"app.color_font\" style=\"font-weight:bold;font-size:18px;min-width:300px\">\n <i *ngIf=\"app.icon!=null && app.icon!=''\" class=\"fa {{app.icon}}\" aria-hidden=\"true\"></i>\n\n{{ app.description|translate}}</button>\n<br><br>\n\n\n</div>\n </div>\n</mat-dialog-content>\n\n\n "
|
|
16177
16198
|
},] }
|
|
16178
16199
|
];
|
|
16179
16200
|
win_select_level_v2.ctorParameters = function () { return [
|
|
16180
16201
|
{ type: dialog.MatDialogRef },
|
|
16181
16202
|
{ type: i3.ToastrService },
|
|
16203
|
+
{ type: core.TranslateService },
|
|
16182
16204
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
16183
16205
|
]; };
|
|
16184
16206
|
win_select_level_v2.propDecorators = {
|
|
@@ -16186,9 +16208,10 @@
|
|
|
16186
16208
|
};
|
|
16187
16209
|
|
|
16188
16210
|
var win_sostituisci_utente_v2 = /** @class */ (function () {
|
|
16189
|
-
function win_sostituisci_utente_v2(dialogRef, toastr) {
|
|
16211
|
+
function win_sostituisci_utente_v2(dialogRef, toastr, _tsr) {
|
|
16190
16212
|
this.dialogRef = dialogRef;
|
|
16191
16213
|
this.toastr = toastr;
|
|
16214
|
+
this._tsr = _tsr;
|
|
16192
16215
|
this.nota = "";
|
|
16193
16216
|
this.title = "";
|
|
16194
16217
|
this.comm_notrequired = true;
|
|
@@ -16200,27 +16223,27 @@
|
|
|
16200
16223
|
win_sostituisci_utente_v2.prototype.ok = function () {
|
|
16201
16224
|
console.log(this.up.getUsersUsername(), this.up1.getUsersUsername());
|
|
16202
16225
|
if (this.up.getUsersUsername() == null) {
|
|
16203
|
-
this.toastr.error("selezionare utente origine");
|
|
16226
|
+
this.toastr.error(this._tsr.instant("selezionare utente origine"));
|
|
16204
16227
|
return;
|
|
16205
16228
|
}
|
|
16206
16229
|
if (this.up.getUsersUsername() == "-1") {
|
|
16207
|
-
this.toastr.error("selezionare utente origine");
|
|
16230
|
+
this.toastr.error(this._tsr.instant("selezionare utente origine"));
|
|
16208
16231
|
return;
|
|
16209
16232
|
}
|
|
16210
16233
|
if (this.up.getUsersUsername() == "") {
|
|
16211
|
-
this.toastr.error("selezionare utente origine");
|
|
16234
|
+
this.toastr.error(this._tsr.instant("selezionare utente origine"));
|
|
16212
16235
|
return;
|
|
16213
16236
|
}
|
|
16214
16237
|
if (this.up1.getUsersUsername() == null) {
|
|
16215
|
-
this.toastr.error("selezionare utente destinazione");
|
|
16238
|
+
this.toastr.error(this._tsr.instant("selezionare utente destinazione"));
|
|
16216
16239
|
return;
|
|
16217
16240
|
}
|
|
16218
16241
|
if (this.up1.getUsersUsername() == "-1") {
|
|
16219
|
-
this.toastr.error("selezionare utente destinazione");
|
|
16242
|
+
this.toastr.error(this._tsr.instant("selezionare utente destinazione"));
|
|
16220
16243
|
return;
|
|
16221
16244
|
}
|
|
16222
16245
|
if (this.up1.getUsersUsername() == "") {
|
|
16223
|
-
this.toastr.error("selezionare utente destinazione");
|
|
16246
|
+
this.toastr.error(this._tsr.instant("selezionare utente destinazione"));
|
|
16224
16247
|
return;
|
|
16225
16248
|
}
|
|
16226
16249
|
var o = new Object();
|
|
@@ -16234,12 +16257,13 @@
|
|
|
16234
16257
|
}());
|
|
16235
16258
|
win_sostituisci_utente_v2.decorators = [
|
|
16236
16259
|
{ type: i0.Component, args: [{
|
|
16237
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayoutGap=\"5px\"\n fxLayout=\"column\"\n style=\"font-size:12px\"\n >\n <div style=\"width:100%\">\n <FHUserField label=\"Utente da sostituire\" #up></FHUserField>\n </div>\n <div style=\"width:100%\">\n <FHUserField label=\"Utente sostituto\" #up1></FHUserField>\n </div>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n
|
|
16260
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title|translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayoutGap=\"5px\"\n fxLayout=\"column\"\n style=\"font-size:12px\"\n >\n <div style=\"width:100%\">\n <FHUserField [label]=\"'Utente da sostituire' |translate\" #up></FHUserField>\n </div>\n <div style=\"width:100%\">\n <FHUserField [label]=\"'Utente sostituto' |translate\" #up1></FHUserField>\n </div>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button>\n </div>\n \n <div>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n </div>\n "
|
|
16238
16261
|
},] }
|
|
16239
16262
|
];
|
|
16240
16263
|
win_sostituisci_utente_v2.ctorParameters = function () { return [
|
|
16241
16264
|
{ type: dialog.MatDialogRef },
|
|
16242
|
-
{ type: i3.ToastrService }
|
|
16265
|
+
{ type: i3.ToastrService },
|
|
16266
|
+
{ type: core.TranslateService }
|
|
16243
16267
|
]; };
|
|
16244
16268
|
win_sostituisci_utente_v2.propDecorators = {
|
|
16245
16269
|
up: [{ type: i0.ViewChild, args: ["up",] }],
|
|
@@ -16291,7 +16315,7 @@
|
|
|
16291
16315
|
win_uploads_v2.decorators = [
|
|
16292
16316
|
{ type: i0.Component, args: [{
|
|
16293
16317
|
selector: "wkf_win_upload",
|
|
16294
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-dialog-content style=\"font-size:12px\">\n<br><br>\n <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
16318
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title |translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-dialog-content style=\"font-size:12px\">\n<br><br>\n <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
16295
16319
|
styles: [""]
|
|
16296
16320
|
},] }
|
|
16297
16321
|
];
|
|
@@ -22265,7 +22289,7 @@
|
|
|
22265
22289
|
_this.user_nome = _this.app_s.user_name;
|
|
22266
22290
|
_this.user_cognome = _this.app_s.user_surname;
|
|
22267
22291
|
_this.user_email = _this.app_s.user_email;
|
|
22268
|
-
_this.m_uti.set_home_title(_this.att_panelcat);
|
|
22292
|
+
_this.m_uti.set_home_title(_this.tsr.instant(_this.att_panelcat));
|
|
22269
22293
|
var p_5 = new QParam();
|
|
22270
22294
|
p_5.sql = "SELECT_UTENTE_WKF_ADMIN";
|
|
22271
22295
|
p_5.types = ["string", "string"];
|
|
@@ -22433,11 +22457,11 @@
|
|
|
22433
22457
|
this.bNuovaRev_Agg = false;
|
|
22434
22458
|
this.hide_richiedente = false;
|
|
22435
22459
|
this.bEdit_Agg = false;
|
|
22436
|
-
this.btnSalva_label = "SALVA";
|
|
22437
|
-
this.btnTerminaOp_label = "Termina Attività";
|
|
22438
|
-
this.btnApprova_label = "APPROVA";
|
|
22439
|
-
this.btnAssegna_label = "Assegna";
|
|
22440
|
-
this.btnRespingi_label = "RESPINGI";
|
|
22460
|
+
this.btnSalva_label = this.tsr.instant("SALVA");
|
|
22461
|
+
this.btnTerminaOp_label = this.tsr.instant("Termina Attività");
|
|
22462
|
+
this.btnApprova_label = this.tsr.instant("APPROVA");
|
|
22463
|
+
this.btnAssegna_label = this.tsr.instant("Assegna");
|
|
22464
|
+
this.btnRespingi_label = this.tsr.instant("RESPINGI");
|
|
22441
22465
|
this.id_documento = "";
|
|
22442
22466
|
this.m_autori = "";
|
|
22443
22467
|
this.m_lettori = "";
|
|
@@ -23915,13 +23939,13 @@
|
|
|
23915
23939
|
this.bEdit_bozza = false;
|
|
23916
23940
|
this.bNuovaRev_Agg = false;
|
|
23917
23941
|
this.bEdit_Agg = this.bEdit_wkf;
|
|
23918
|
-
this.btnSalva_label = "SALVA";
|
|
23919
|
-
this.btnTerminaOp_label = "Termina Attività";
|
|
23920
|
-
this.btnApprova_label = "APPROVA";
|
|
23921
|
-
this.btnAssegna_label = "Assegna";
|
|
23922
|
-
this.btnRespingi_label = "RESPINGI";
|
|
23923
|
-
this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
23924
|
-
this.reset_form_v(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
23942
|
+
this.btnSalva_label = this.tsr.instant("SALVA");
|
|
23943
|
+
this.btnTerminaOp_label = this.tsr.instant("Termina Attività");
|
|
23944
|
+
this.btnApprova_label = this.tsr.instant("APPROVA");
|
|
23945
|
+
this.btnAssegna_label = this.tsr.instant("Assegna");
|
|
23946
|
+
this.btnRespingi_label = this.tsr.instant("RESPINGI");
|
|
23947
|
+
this.uti_s.set_home_title(this.tsr.instant(this.app_info.descrizione_breve) + " - " + this.tsr.instant("Nuova Richiesta"));
|
|
23948
|
+
this.reset_form_v(this.tsr.instant(this.app_info.descrizione_breve) + " - " + this.tsr.instant("Nuova Richiesta"));
|
|
23925
23949
|
this.reset_counters_int(0, 0);
|
|
23926
23950
|
/*
|
|
23927
23951
|
dati_aggiuntivi.id_doc=id_documento;
|
|
@@ -24007,22 +24031,22 @@
|
|
|
24007
24031
|
}
|
|
24008
24032
|
this.app_s.getState().wkf_doc_info.in_carico_a = this.s_uto;
|
|
24009
24033
|
if (this.m_obj.v == null)
|
|
24010
|
-
this.uti_s.set_home_title(this.app_info.descrizione_breve +
|
|
24034
|
+
this.uti_s.set_home_title(this.tsr.instant(this.app_info.descrizione_breve) +
|
|
24011
24035
|
" " +
|
|
24012
24036
|
this.m_obj.codice +
|
|
24013
24037
|
" - " +
|
|
24014
|
-
this.m_obj.stat_stato);
|
|
24038
|
+
this.tsr.instant(this.m_obj.stat_stato));
|
|
24015
24039
|
else
|
|
24016
|
-
this.uti_s.set_home_title(this.app_info.descrizione_breve +
|
|
24040
|
+
this.uti_s.set_home_title(this.tsr.instant(this.app_info.descrizione_breve) +
|
|
24017
24041
|
" " +
|
|
24018
24042
|
this.m_obj.codice + "/" + this.m_obj.v +
|
|
24019
24043
|
" - " +
|
|
24020
|
-
this.m_obj.stat_stato);
|
|
24021
|
-
this.reset_form_v(this.app_info.descrizione_breve +
|
|
24044
|
+
this.tsr.instant(this.m_obj.stat_stato));
|
|
24045
|
+
this.reset_form_v(this.tsr.instant(this.app_info.descrizione_breve) +
|
|
24022
24046
|
" " +
|
|
24023
24047
|
this.m_obj.codice +
|
|
24024
24048
|
" - " +
|
|
24025
|
-
this.m_obj.stat_stato);
|
|
24049
|
+
this.tsr.instant(this.m_obj.stat_stato));
|
|
24026
24050
|
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
24027
24051
|
//+' ('+s_uto+')');
|
|
24028
24052
|
};
|
|
@@ -24040,8 +24064,8 @@
|
|
|
24040
24064
|
var _this = this;
|
|
24041
24065
|
var dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
24042
24066
|
disableClose: true, data: {
|
|
24043
|
-
title_dialog: "Conferma Operazione",
|
|
24044
|
-
msg_dialog: "Confermi di voler revisionare il documento?"
|
|
24067
|
+
title_dialog: this.tsr.instant("Conferma Operazione"),
|
|
24068
|
+
msg_dialog: this.tsr.instant("Confermi di voler revisionare il documento?")
|
|
24045
24069
|
}
|
|
24046
24070
|
});
|
|
24047
24071
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -24053,7 +24077,7 @@
|
|
|
24053
24077
|
_this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
24054
24078
|
if (data != null)
|
|
24055
24079
|
if (data.result_msg == "OK") {
|
|
24056
|
-
_this.alert('Revisione generata', 0);
|
|
24080
|
+
_this.alert(_this.tsr.instant('Revisione generata'), 0);
|
|
24057
24081
|
window.location.reload();
|
|
24058
24082
|
}
|
|
24059
24083
|
});
|