@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
|
@@ -846,6 +846,7 @@ var FHConfirmValues = /** @class */ (function () {
|
|
|
846
846
|
this.confirm_mgs = "CONFERMA";
|
|
847
847
|
this.annulla_mgs = "ANNULLA";
|
|
848
848
|
this.commento_mgs = "Commento";
|
|
849
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
849
850
|
}
|
|
850
851
|
return FHConfirmValues;
|
|
851
852
|
}());
|
|
@@ -866,6 +867,7 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
866
867
|
this.confirm_mgs = "CONFERMA";
|
|
867
868
|
this.annulla_mgs = "ANNULLA";
|
|
868
869
|
this.commento_mgs = "Commento";
|
|
870
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
869
871
|
if (conf == null) {
|
|
870
872
|
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
871
873
|
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
@@ -881,10 +883,12 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
881
883
|
this.annulla_mgs = conf.annulla_mgs;
|
|
882
884
|
if (conf.commento_mgs != null)
|
|
883
885
|
this.commento_mgs = conf.commento_mgs;
|
|
886
|
+
if (conf.insert_comment_msg != null)
|
|
887
|
+
this.insert_comment_msg = conf.insert_comment_msg;
|
|
884
888
|
}
|
|
885
889
|
FHConfirmComponent.prototype.ok = function () {
|
|
886
890
|
if (this.b_commento && this.commento == '') {
|
|
887
|
-
this.toast.error(
|
|
891
|
+
this.toast.error(this.insert_comment_msg);
|
|
888
892
|
return;
|
|
889
893
|
}
|
|
890
894
|
this.dialogRef.close(true);
|
|
@@ -8947,6 +8951,7 @@ var win_salva_annulla = /** @class */ (function () {
|
|
|
8947
8951
|
this.commento = "";
|
|
8948
8952
|
this.b_commento = false;
|
|
8949
8953
|
this.commento_mgs = "Commento";
|
|
8954
|
+
this.insert_comment_msg = "Inserire un commento";
|
|
8950
8955
|
if (data != null) {
|
|
8951
8956
|
if (data.mgs_salva_ed_esci != null)
|
|
8952
8957
|
this.salva_ed_esci = data.mgs_salva_ed_esci;
|
|
@@ -8956,12 +8961,14 @@ var win_salva_annulla = /** @class */ (function () {
|
|
|
8956
8961
|
this.b_commento = data.b_commento;
|
|
8957
8962
|
if (data.commento_mgs != null)
|
|
8958
8963
|
this.commento_mgs = data.commento_mgs;
|
|
8964
|
+
if (data.insert_comment_msg != null)
|
|
8965
|
+
this.insert_comment_msg = data.insert_comment_msg;
|
|
8959
8966
|
}
|
|
8960
8967
|
}
|
|
8961
8968
|
win_salva_annulla.prototype.close = function () { this.dialogRef.close(null); };
|
|
8962
8969
|
win_salva_annulla.prototype.salva_esci = function () {
|
|
8963
8970
|
if (this.b_commento && this.commento == '') {
|
|
8964
|
-
this.toast.error(
|
|
8971
|
+
this.toast.error(this.insert_comment_msg);
|
|
8965
8972
|
return;
|
|
8966
8973
|
}
|
|
8967
8974
|
this.dialogRef.close("salva_esci");
|
|
@@ -11617,6 +11624,11 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11617
11624
|
this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
11618
11625
|
this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
|
|
11619
11626
|
this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
|
|
11627
|
+
if (this.m_obj.partecipanti == null)
|
|
11628
|
+
this.m_obj.partecipanti = '';
|
|
11629
|
+
if (this.m_autori != null)
|
|
11630
|
+
if (this.m_autori != '')
|
|
11631
|
+
this.m_obj.partecipanti = this.m_obj.partecipanti + ',' + Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
11620
11632
|
var a;
|
|
11621
11633
|
if (!this.app_info.documento_pubblico)
|
|
11622
11634
|
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);
|
|
@@ -11749,11 +11761,9 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11749
11761
|
var lista_p = _this.user_idp;
|
|
11750
11762
|
for (var i = 0; i < data.result_data.length; i++)
|
|
11751
11763
|
if (lista_p.indexOf(data.result_data[i].username) == -1) {
|
|
11752
|
-
console.log('username:', data.result_data[i].username);
|
|
11753
11764
|
lista_p += ',';
|
|
11754
11765
|
lista_p += data.result_data[i].username;
|
|
11755
11766
|
}
|
|
11756
|
-
console.log('lista_p ', lista_p);
|
|
11757
11767
|
_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);
|
|
11758
11768
|
}
|
|
11759
11769
|
});
|
|
@@ -12185,6 +12195,8 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
12185
12195
|
return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
|
|
12186
12196
|
}
|
|
12187
12197
|
s_notif = Array.from(new Set(s_notif.split(','))).join(',');
|
|
12198
|
+
if (this.m_obj.partecipanti == null && this.m_obj.autori != null)
|
|
12199
|
+
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.autori.split(','))).join(',');
|
|
12188
12200
|
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
|
|
12189
12201
|
var a;
|
|
12190
12202
|
if (!this.app_info.documento_pubblico)
|