@fluxhub/fluxhub-lib 10.0.731 → 10.0.733
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 +11 -56
- 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/fhgrid.js +2 -2
- package/esm2015/lib/controls/fhupload.js +5 -2
- package/esm2015/lib/controls/fhuploadpanel.js +7 -5
- package/esm2015/lib/wkf_engine/win_info_doc.js +2 -2
- package/esm2015/lib/wkf_engine_v2/win_info_doc.js +2 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -52
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -59
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuploadpanel.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7060,7 +7060,7 @@ class FHGridComponent {
|
|
|
7060
7060
|
key +
|
|
7061
7061
|
") = '" +
|
|
7062
7062
|
obj_filtro.filter.replace("'", "''").toUpperCase() +
|
|
7063
|
-
"
|
|
7063
|
+
"'";
|
|
7064
7064
|
if (obj_filtro.type == "notContains")
|
|
7065
7065
|
filter_v =
|
|
7066
7066
|
filter_v +
|
|
@@ -8539,6 +8539,7 @@ class FHUploadComponent {
|
|
|
8539
8539
|
this.show_upload = true;
|
|
8540
8540
|
this.id_component = this.uti.newGuid();
|
|
8541
8541
|
this.username = this.app_s.user;
|
|
8542
|
+
console.log('this.app_s.user ', this.app_s.user);
|
|
8542
8543
|
this.uploader.onBeforeUploadItem = (item) => {
|
|
8543
8544
|
item.withCredentials = false;
|
|
8544
8545
|
};
|
|
@@ -8561,6 +8562,7 @@ class FHUploadComponent {
|
|
|
8561
8562
|
};
|
|
8562
8563
|
}
|
|
8563
8564
|
call_up() {
|
|
8565
|
+
console.log('this.app_s.user ', this.app_s.user);
|
|
8564
8566
|
this.call_upload.emit({
|
|
8565
8567
|
App: this.App,
|
|
8566
8568
|
K: this.K,
|
|
@@ -8713,8 +8715,9 @@ class FHUploadComponent {
|
|
|
8713
8715
|
form.append("K", this.K);
|
|
8714
8716
|
form.append("descrizione", this.descrizione);
|
|
8715
8717
|
form.append("single", this.single);
|
|
8716
|
-
form.append("username", this.
|
|
8718
|
+
form.append("username", this.app_s.user);
|
|
8717
8719
|
form.append("ver", this.ver);
|
|
8720
|
+
console.log('this.app_s.user ', this.app_s.user);
|
|
8718
8721
|
if (this.multi_list && this.show_upload)
|
|
8719
8722
|
form.append("tipo", this.cmb_tipo.getDescri().split("-1").join(""));
|
|
8720
8723
|
else
|
|
@@ -9449,6 +9452,7 @@ class FHUploadPanelComponent {
|
|
|
9449
9452
|
this.show_version = false;
|
|
9450
9453
|
this.enabled = true;
|
|
9451
9454
|
this.force_en = false;
|
|
9455
|
+
this.show_dim = false;
|
|
9452
9456
|
this.label = "";
|
|
9453
9457
|
this.sovrascrivi_path = "";
|
|
9454
9458
|
this.ruolo_supervisore = "[ZZZ_DIS_CC]";
|
|
@@ -9804,7 +9808,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9804
9808
|
<th [fxShow.lt-sm]="false" style="width:40px"></th>
|
|
9805
9809
|
<th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
|
|
9806
9810
|
<th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
|
|
9807
|
-
<th [fxShow.lt-sm]="false" style="width:30px;text-align:center">Dim.</th>
|
|
9811
|
+
<th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
|
|
9808
9812
|
<th [fxShow.lt-sm]="false" style="width:40%">
|
|
9809
9813
|
{{ force_en ? "Description" : "Descrizione" }}
|
|
9810
9814
|
</th>
|
|
@@ -9841,7 +9845,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9841
9845
|
</td>
|
|
9842
9846
|
<td><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
|
|
9843
9847
|
<td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
|
|
9844
|
-
<td style="text-align:center" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
|
|
9848
|
+
<td style="text-align:center" *ngIf="show_dim" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
|
|
9845
9849
|
<td [fxShow.lt-sm]="false">
|
|
9846
9850
|
<div fxLayout="row">
|
|
9847
9851
|
<div *ngIf="enabled">
|
|
@@ -9957,7 +9961,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9957
9961
|
<th [fxShow.lt-sm]="false" style="width:40px"></th>
|
|
9958
9962
|
<th [fxShow.lt-sm]="false" style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
|
|
9959
9963
|
<th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
|
|
9960
|
-
<th [fxShow.lt-sm]="false" style="width:30px;text-align:center">Dim.</th>
|
|
9964
|
+
<th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
|
|
9961
9965
|
|
|
9962
9966
|
<th [fxShow.lt-sm]="false" style="width:20%">
|
|
9963
9967
|
{{ force_en ? "Description" : "Descrizione" }}
|
|
@@ -9996,7 +10000,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9996
10000
|
|
|
9997
10001
|
<td [fxShow.lt-sm]="false"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
|
|
9998
10002
|
<td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
|
|
9999
|
-
<td [fxShow.lt-sm]="false" style="text-align:center">{{ app.Filesize }}</td>
|
|
10003
|
+
<td [fxShow.lt-sm]="false" *ngIf="show_dim" style="text-align:center">{{ app.Filesize }}</td>
|
|
10000
10004
|
<td [fxShow.lt-sm]="false">
|
|
10001
10005
|
<div fxLayout="row">
|
|
10002
10006
|
<div *ngIf="enabled">
|
|
@@ -10160,6 +10164,7 @@ FHUploadPanelComponent.ctorParameters = () => [
|
|
|
10160
10164
|
FHUploadPanelComponent.propDecorators = {
|
|
10161
10165
|
enabled: [{ type: Input }],
|
|
10162
10166
|
force_en: [{ type: Input }],
|
|
10167
|
+
show_dim: [{ type: Input }],
|
|
10163
10168
|
label: [{ type: Input }],
|
|
10164
10169
|
sovrascrivi_path: [{ type: Input }],
|
|
10165
10170
|
ruolo_supervisore: [{ type: Input }],
|
|
@@ -14938,7 +14943,7 @@ win_info_doc.decorators = [
|
|
|
14938
14943
|
<tr class="even">
|
|
14939
14944
|
<td>{{'Data'|translate}}:</td>
|
|
14940
14945
|
<td>
|
|
14941
|
-
<b>{{ data_richiesta | date: "dd/MM/yyyy
|
|
14946
|
+
<b>{{ data_richiesta | date: "dd/MM/yyyy HH:mm:ss" }}</b>
|
|
14942
14947
|
</td>
|
|
14943
14948
|
</tr>
|
|
14944
14949
|
<tr *ngIf="!hide_richiedente" class="odd">
|
|
@@ -22546,7 +22551,7 @@ win_info_doc_v2.decorators = [
|
|
|
22546
22551
|
<tr class="even">
|
|
22547
22552
|
<td>{{'Data'|translate}}:</td>
|
|
22548
22553
|
<td>
|
|
22549
|
-
<b>{{ data_richiesta | date: "dd/MM/yyyy
|
|
22554
|
+
<b>{{ data_richiesta | date: "dd/MM/yyyy HH:mm:ss" }}</b>
|
|
22550
22555
|
</td>
|
|
22551
22556
|
</tr>
|
|
22552
22557
|
<tr *ngIf="!hide_richiedente" class="odd">
|
|
@@ -25880,6 +25885,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25880
25885
|
"" + lvlb,
|
|
25881
25886
|
];
|
|
25882
25887
|
this.insert_wkf_variabile(this.id_applicativo, this.id_documento, this.m_obj.stato + "_PLAYER", this.user_idp);
|
|
25888
|
+
this.m_liv = lvlb;
|
|
25883
25889
|
this.m_wkf.doQuery(p).subscribe((data) => {
|
|
25884
25890
|
if (data != null)
|
|
25885
25891
|
if (data.result_msg == "OK") {
|
|
@@ -25905,56 +25911,6 @@ class dati_aggiuntivi_v2 {
|
|
|
25905
25911
|
body_email = this.app_info.body_riassegna;
|
|
25906
25912
|
oggetto_email = oggetto_email.split('{{TRANSITION_DESCRI}}').join(this.getLvlDescri(String(this.m_liv), this.m_statox));
|
|
25907
25913
|
body_email = body_email.split('{{TRANSITION_DESCRI}}').join(this.getLvlDescri(String(this.m_liv), this.m_statox));
|
|
25908
|
-
/*
|
|
25909
|
-
for (let prop in this.m_obj)
|
|
25910
|
-
if (this.m_obj[prop] != null) {
|
|
25911
|
-
|
|
25912
|
-
if (
|
|
25913
|
-
Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
25914
|
-
"[object Date]"
|
|
25915
|
-
) {
|
|
25916
|
-
oggetto_email = oggetto_email
|
|
25917
|
-
.split("{{" + prop + "}}")
|
|
25918
|
-
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
25919
|
-
} else if (
|
|
25920
|
-
("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
|
|
25921
|
-
)
|
|
25922
|
-
oggetto_email = oggetto_email
|
|
25923
|
-
.split("{{" + prop + "}}")
|
|
25924
|
-
.join(this.m_obj[prop]);
|
|
25925
|
-
else
|
|
25926
|
-
oggetto_email = oggetto_email
|
|
25927
|
-
.split("{{" + prop + "}}")
|
|
25928
|
-
.join(
|
|
25929
|
-
this.uti_s.date2String(
|
|
25930
|
-
this.uti_s.string2date(this.m_obj[prop], 2)
|
|
25931
|
-
)
|
|
25932
|
-
);
|
|
25933
|
-
|
|
25934
|
-
|
|
25935
|
-
|
|
25936
|
-
if (
|
|
25937
|
-
Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
25938
|
-
"[object Date]"
|
|
25939
|
-
) {
|
|
25940
|
-
body_email = body_email
|
|
25941
|
-
.split("{{" + prop + "}}")
|
|
25942
|
-
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
25943
|
-
} else if (
|
|
25944
|
-
("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
|
|
25945
|
-
)
|
|
25946
|
-
body_email = body_email
|
|
25947
|
-
.split("{{" + prop + "}}")
|
|
25948
|
-
.join(this.m_obj[prop]);
|
|
25949
|
-
else
|
|
25950
|
-
body_email = body_email
|
|
25951
|
-
.split("{{" + prop + "}}")
|
|
25952
|
-
.join(
|
|
25953
|
-
this.uti_s.date2String(
|
|
25954
|
-
this.uti_s.string2date(this.m_obj[prop], 2)
|
|
25955
|
-
)
|
|
25956
|
-
);
|
|
25957
|
-
}*/
|
|
25958
25914
|
this.sendEMail_ex(this.user_idp, s_notif, oggetto_email, body_email, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
25959
25915
|
"#/" +
|
|
25960
25916
|
this.app_info.modulo_swf +
|
|
@@ -25979,7 +25935,6 @@ class dati_aggiuntivi_v2 {
|
|
|
25979
25935
|
insert_doc() {
|
|
25980
25936
|
this.m_autori = this.user_idp;
|
|
25981
25937
|
this.m_lettori = "";
|
|
25982
|
-
this.m_liv = 0;
|
|
25983
25938
|
this.m_statox = "";
|
|
25984
25939
|
this.m_danotificare = "";
|
|
25985
25940
|
this.m_oper = "";
|