@fluxhub/fluxhub-lib 9.0.66 → 9.0.68
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 +16 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhconfirm.js +5 -2
- package/esm2015/lib/models/FHConfirmValues.js +2 -1
- package/esm2015/lib/wkf_engine/win_salva_annulla.js +5 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +8 -3
- package/esm5/lib/controls/fhconfirm.js +5 -2
- package/esm5/lib/models/FHConfirmValues.js +2 -1
- package/esm5/lib/wkf_engine/win_salva_annulla.js +5 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +8 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +16 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhconfirm.d.ts +1 -0
- package/lib/models/FHConfirmValues.d.ts +1 -0
- package/lib/wkf_engine/win_salva_annulla.d.ts +1 -0
- package/package.json +1 -1
|
@@ -979,6 +979,7 @@
|
|
|
979
979
|
this.confirm_mgs = "CONFERMA";
|
|
980
980
|
this.annulla_mgs = "ANNULLA";
|
|
981
981
|
this.commento_mgs = "Commento";
|
|
982
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
982
983
|
}
|
|
983
984
|
return FHConfirmValues;
|
|
984
985
|
}());
|
|
@@ -999,6 +1000,7 @@
|
|
|
999
1000
|
this.confirm_mgs = "CONFERMA";
|
|
1000
1001
|
this.annulla_mgs = "ANNULLA";
|
|
1001
1002
|
this.commento_mgs = "Commento";
|
|
1003
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
1002
1004
|
if (conf == null) {
|
|
1003
1005
|
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
1004
1006
|
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
@@ -1014,10 +1016,12 @@
|
|
|
1014
1016
|
this.annulla_mgs = conf.annulla_mgs;
|
|
1015
1017
|
if (conf.commento_mgs != null)
|
|
1016
1018
|
this.commento_mgs = conf.commento_mgs;
|
|
1019
|
+
if (conf.insert_comment_msg != null)
|
|
1020
|
+
this.insert_comment_msg = conf.insert_comment_msg;
|
|
1017
1021
|
}
|
|
1018
1022
|
FHConfirmComponent.prototype.ok = function () {
|
|
1019
1023
|
if (this.b_commento && this.commento == '') {
|
|
1020
|
-
this.toast.error(
|
|
1024
|
+
this.toast.error(this.insert_comment_msg);
|
|
1021
1025
|
return;
|
|
1022
1026
|
}
|
|
1023
1027
|
this.dialogRef.close(true);
|
|
@@ -9080,6 +9084,7 @@
|
|
|
9080
9084
|
this.commento = "";
|
|
9081
9085
|
this.b_commento = false;
|
|
9082
9086
|
this.commento_mgs = "Commento";
|
|
9087
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
9083
9088
|
if (data != null) {
|
|
9084
9089
|
if (data.mgs_salva_ed_esci != null)
|
|
9085
9090
|
this.salva_ed_esci = data.mgs_salva_ed_esci;
|
|
@@ -9089,12 +9094,14 @@
|
|
|
9089
9094
|
this.b_commento = data.b_commento;
|
|
9090
9095
|
if (data.commento_mgs != null)
|
|
9091
9096
|
this.commento_mgs = data.commento_mgs;
|
|
9097
|
+
if (data.insert_comment_msg != null)
|
|
9098
|
+
this.insert_comment_msg = data.insert_comment_msg;
|
|
9092
9099
|
}
|
|
9093
9100
|
}
|
|
9094
9101
|
win_salva_annulla.prototype.close = function () { this.dialogRef.close(null); };
|
|
9095
9102
|
win_salva_annulla.prototype.salva_esci = function () {
|
|
9096
9103
|
if (this.b_commento && this.commento == '') {
|
|
9097
|
-
this.toast.error(
|
|
9104
|
+
this.toast.error(this.insert_comment_msg);
|
|
9098
9105
|
return;
|
|
9099
9106
|
}
|
|
9100
9107
|
this.dialogRef.close("salva_esci");
|
|
@@ -11750,6 +11757,11 @@
|
|
|
11750
11757
|
this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
11751
11758
|
this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
|
|
11752
11759
|
this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
|
|
11760
|
+
if (this.m_obj.partecipanti == null)
|
|
11761
|
+
this.m_obj.partecipanti = '';
|
|
11762
|
+
if (this.m_autori != null)
|
|
11763
|
+
if (this.m_autori != '')
|
|
11764
|
+
this.m_obj.partecipanti = this.m_obj.partecipanti + ',' + Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
11753
11765
|
var a;
|
|
11754
11766
|
if (!this.app_info.documento_pubblico)
|
|
11755
11767
|
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
@@ -11882,11 +11894,9 @@
|
|
|
11882
11894
|
var lista_p = _this.user_idp;
|
|
11883
11895
|
for (var i = 0; i < data.result_data.length; i++)
|
|
11884
11896
|
if (lista_p.indexOf(data.result_data[i].username) == -1) {
|
|
11885
|
-
console.log('username:', data.result_data[i].username);
|
|
11886
11897
|
lista_p += ',';
|
|
11887
11898
|
lista_p += data.result_data[i].username;
|
|
11888
11899
|
}
|
|
11889
|
-
console.log('lista_p ', lista_p);
|
|
11890
11900
|
_this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
11891
11901
|
}
|
|
11892
11902
|
});
|
|
@@ -12318,6 +12328,8 @@
|
|
|
12318
12328
|
return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
|
|
12319
12329
|
}
|
|
12320
12330
|
s_notif = Array.from(new Set(s_notif.split(','))).join(',');
|
|
12331
|
+
if (this.m_obj.partecipanti == null && this.m_obj.autori != null)
|
|
12332
|
+
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.autori.split(','))).join(',');
|
|
12321
12333
|
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
|
|
12322
12334
|
var a;
|
|
12323
12335
|
if (!this.app_info.documento_pubblico)
|