@fluxhub/fluxhub-lib 9.0.66 → 9.0.67
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
|
@@ -825,6 +825,7 @@ class FHConfirmValues {
|
|
|
825
825
|
this.confirm_mgs = "CONFERMA";
|
|
826
826
|
this.annulla_mgs = "ANNULLA";
|
|
827
827
|
this.commento_mgs = "Commento";
|
|
828
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
828
829
|
}
|
|
829
830
|
}
|
|
830
831
|
|
|
@@ -844,6 +845,7 @@ let FHConfirmComponent = class FHConfirmComponent {
|
|
|
844
845
|
this.confirm_mgs = "CONFERMA";
|
|
845
846
|
this.annulla_mgs = "ANNULLA";
|
|
846
847
|
this.commento_mgs = "Commento";
|
|
848
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
847
849
|
if (conf == null) {
|
|
848
850
|
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
849
851
|
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
@@ -859,10 +861,12 @@ let FHConfirmComponent = class FHConfirmComponent {
|
|
|
859
861
|
this.annulla_mgs = conf.annulla_mgs;
|
|
860
862
|
if (conf.commento_mgs != null)
|
|
861
863
|
this.commento_mgs = conf.commento_mgs;
|
|
864
|
+
if (conf.insert_comment_msg != null)
|
|
865
|
+
this.insert_comment_msg = conf.insert_comment_msg;
|
|
862
866
|
}
|
|
863
867
|
ok() {
|
|
864
868
|
if (this.b_commento && this.commento == '') {
|
|
865
|
-
this.toast.error(
|
|
869
|
+
this.toast.error(this.insert_comment_msg);
|
|
866
870
|
return;
|
|
867
871
|
}
|
|
868
872
|
this.dialogRef.close(true);
|
|
@@ -9870,6 +9874,7 @@ let win_salva_annulla = class win_salva_annulla {
|
|
|
9870
9874
|
this.commento = "";
|
|
9871
9875
|
this.b_commento = false;
|
|
9872
9876
|
this.commento_mgs = "Commento";
|
|
9877
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
9873
9878
|
if (data != null) {
|
|
9874
9879
|
if (data.mgs_salva_ed_esci != null)
|
|
9875
9880
|
this.salva_ed_esci = data.mgs_salva_ed_esci;
|
|
@@ -9879,12 +9884,14 @@ let win_salva_annulla = class win_salva_annulla {
|
|
|
9879
9884
|
this.b_commento = data.b_commento;
|
|
9880
9885
|
if (data.commento_mgs != null)
|
|
9881
9886
|
this.commento_mgs = data.commento_mgs;
|
|
9887
|
+
if (data.insert_comment_msg != null)
|
|
9888
|
+
this.insert_comment_msg = data.insert_comment_msg;
|
|
9882
9889
|
}
|
|
9883
9890
|
}
|
|
9884
9891
|
close() { this.dialogRef.close(null); }
|
|
9885
9892
|
salva_esci() {
|
|
9886
9893
|
if (this.b_commento && this.commento == '') {
|
|
9887
|
-
this.toast.error(
|
|
9894
|
+
this.toast.error(this.insert_comment_msg);
|
|
9888
9895
|
return;
|
|
9889
9896
|
}
|
|
9890
9897
|
this.dialogRef.close("salva_esci");
|
|
@@ -12955,6 +12962,11 @@ class dati_aggiuntivi {
|
|
|
12955
12962
|
this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
12956
12963
|
this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
|
|
12957
12964
|
this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
|
|
12965
|
+
if (this.m_obj.partecipanti == null)
|
|
12966
|
+
this.m_obj.partecipanti = '';
|
|
12967
|
+
if (this.m_autori != null)
|
|
12968
|
+
if (this.m_autori != '')
|
|
12969
|
+
this.m_obj.partecipanti = this.m_obj.partecipanti + ',' + Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
12958
12970
|
let a;
|
|
12959
12971
|
if (!this.app_info.documento_pubblico)
|
|
12960
12972
|
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);
|
|
@@ -13087,11 +13099,9 @@ class dati_aggiuntivi {
|
|
|
13087
13099
|
let lista_p = this.user_idp;
|
|
13088
13100
|
for (let i = 0; i < data.result_data.length; i++)
|
|
13089
13101
|
if (lista_p.indexOf(data.result_data[i].username) == -1) {
|
|
13090
|
-
console.log('username:', data.result_data[i].username);
|
|
13091
13102
|
lista_p += ',';
|
|
13092
13103
|
lista_p += data.result_data[i].username;
|
|
13093
13104
|
}
|
|
13094
|
-
console.log('lista_p ', lista_p);
|
|
13095
13105
|
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, 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, false);
|
|
13096
13106
|
}
|
|
13097
13107
|
});
|
|
@@ -13503,6 +13513,8 @@ class dati_aggiuntivi {
|
|
|
13503
13513
|
return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
|
|
13504
13514
|
}
|
|
13505
13515
|
s_notif = Array.from(new Set(s_notif.split(','))).join(',');
|
|
13516
|
+
if (this.m_obj.partecipanti == null && this.m_obj.autori != null)
|
|
13517
|
+
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.autori.split(','))).join(',');
|
|
13506
13518
|
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
|
|
13507
13519
|
let a;
|
|
13508
13520
|
if (!this.app_info.documento_pubblico)
|