@fluxhub/fluxhub-lib 10.0.619 → 10.0.621
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 +15 -6
- 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/win_pick_list.js +4 -4
- package/esm2015/lib/wkf_engine/win_log.js +13 -8
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +4 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +18 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_log.d.ts +3 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3714,15 +3714,15 @@ fh_win_picklist.decorators = [
|
|
|
3714
3714
|
mat-flat-button
|
|
3715
3715
|
color="primary"
|
|
3716
3716
|
(click)="add_all()"
|
|
3717
|
-
[disabled]="value_list_sel.length
|
|
3717
|
+
[disabled]="value_list_sel.length==0"
|
|
3718
3718
|
>
|
|
3719
3719
|
Sel. Tutti
|
|
3720
|
-
</button> <br *ngIf="!single_sel"/>
|
|
3720
|
+
</button> <br *ngIf="!single_sel"/>
|
|
3721
3721
|
<button *ngIf="!single_sel"
|
|
3722
3722
|
mat-flat-button
|
|
3723
3723
|
color="primary"
|
|
3724
3724
|
(click)="rem_all()"
|
|
3725
|
-
[disabled]="value_sel.length
|
|
3725
|
+
[disabled]="value_sel.length==0"
|
|
3726
3726
|
>
|
|
3727
3727
|
Desel. Tutti
|
|
3728
3728
|
</button>
|
|
@@ -14913,7 +14913,7 @@ win_info_doc.ctorParameters = () => [
|
|
|
14913
14913
|
];
|
|
14914
14914
|
|
|
14915
14915
|
class win_log {
|
|
14916
|
-
constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file) {
|
|
14916
|
+
constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, data) {
|
|
14917
14917
|
this.dialogRef = dialogRef;
|
|
14918
14918
|
this.m_dialogRef = m_dialogRef;
|
|
14919
14919
|
this.m_appService = m_appService;
|
|
@@ -14921,6 +14921,7 @@ class win_log {
|
|
|
14921
14921
|
this._dataService = _dataService;
|
|
14922
14922
|
this.m_wkf = m_wkf;
|
|
14923
14923
|
this.m_file = m_file;
|
|
14924
|
+
this.data = data;
|
|
14924
14925
|
this.ossv = false;
|
|
14925
14926
|
this.not_comm = false;
|
|
14926
14927
|
this.not_comm_disabled = false;
|
|
@@ -14934,10 +14935,13 @@ class win_log {
|
|
|
14934
14935
|
this.b_edit = false;
|
|
14935
14936
|
this.b_ins = false;
|
|
14936
14937
|
this.edit_id = 0;
|
|
14938
|
+
this.c_edit = true;
|
|
14937
14939
|
this.lettori = "";
|
|
14938
14940
|
this.subject = "";
|
|
14939
14941
|
this.link = "";
|
|
14940
14942
|
this.codice_doc = "";
|
|
14943
|
+
if (data.c_edit != null)
|
|
14944
|
+
this.c_edit = data.c_edit;
|
|
14941
14945
|
}
|
|
14942
14946
|
ric_all() {
|
|
14943
14947
|
this.refresh_list();
|
|
@@ -15267,7 +15271,7 @@ win_log.decorators = [
|
|
|
15267
15271
|
fxLayout="row"
|
|
15268
15272
|
fxLayoutAlign="center end"
|
|
15269
15273
|
fxFlex="90"
|
|
15270
|
-
*ngIf="!b_edit && commenti_insert"
|
|
15274
|
+
*ngIf="!b_edit && commenti_insert && c_edit"
|
|
15271
15275
|
>
|
|
15272
15276
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
15273
15277
|
<mat-icon>note_add</mat-icon>
|
|
@@ -15316,7 +15320,7 @@ win_log.decorators = [
|
|
|
15316
15320
|
<th width="15%">{{'Utente' | translate}}</th>
|
|
15317
15321
|
<th>{{'Operazione' | translate}}</th>
|
|
15318
15322
|
<td></td>
|
|
15319
|
-
<td></td>
|
|
15323
|
+
<td *ngIf="c_edit"></td>
|
|
15320
15324
|
</tr>
|
|
15321
15325
|
</thead>
|
|
15322
15326
|
<tbody>
|
|
@@ -15339,7 +15343,7 @@ win_log.decorators = [
|
|
|
15339
15343
|
>mail</mat-icon
|
|
15340
15344
|
>
|
|
15341
15345
|
</td>
|
|
15342
|
-
<td>
|
|
15346
|
+
<td *ngIf="c_edit">
|
|
15343
15347
|
<mat-icon
|
|
15344
15348
|
*ngIf="
|
|
15345
15349
|
i == 0 &&
|
|
@@ -15367,7 +15371,8 @@ win_log.ctorParameters = () => [
|
|
|
15367
15371
|
{ type: ToastrService },
|
|
15368
15372
|
{ type: QueryService },
|
|
15369
15373
|
{ type: WkfService },
|
|
15370
|
-
{ type: FileService }
|
|
15374
|
+
{ type: FileService },
|
|
15375
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
15371
15376
|
];
|
|
15372
15377
|
win_log.propDecorators = {
|
|
15373
15378
|
zz: [{ type: ViewChild, args: ["zz",] }]
|
|
@@ -17911,12 +17916,13 @@ class dati_aggiuntivi {
|
|
|
17911
17916
|
}
|
|
17912
17917
|
this.salva();
|
|
17913
17918
|
}
|
|
17914
|
-
open_wkf(inser_c = false) {
|
|
17919
|
+
open_wkf(inser_c = false, edit_c = true) {
|
|
17915
17920
|
let s_h = this.app_s.getState().body_h - 40 + "px";
|
|
17916
17921
|
let dialogRef = this.m_dialog.open(win_log, {
|
|
17917
17922
|
disableClose: true,
|
|
17918
17923
|
width: "95%",
|
|
17919
17924
|
height: s_h,
|
|
17925
|
+
data: { edit_c: edit_c }
|
|
17920
17926
|
});
|
|
17921
17927
|
setTimeout(() => {
|
|
17922
17928
|
dialogRef.componentInstance.subject =
|
|
@@ -18837,6 +18843,7 @@ class wkf_header_bar {
|
|
|
18837
18843
|
this.command = new EventEmitter();
|
|
18838
18844
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
18839
18845
|
this.sovra_path = '';
|
|
18846
|
+
this.edit_comments_in_logs = true;
|
|
18840
18847
|
this.back_lbl = 'Indietro';
|
|
18841
18848
|
this.save_lbl = 'Salva';
|
|
18842
18849
|
this.procedi_lbl = 'Procedi';
|
|
@@ -18866,7 +18873,7 @@ class wkf_header_bar {
|
|
|
18866
18873
|
open_upload() { this.button_clicked.emit('open_upload'); if (this.dt_agg != null)
|
|
18867
18874
|
this.dt_agg.open_upload(this.sovra_path, this.admin_role); }
|
|
18868
18875
|
open_wkf() { this.button_clicked.emit('open_wkf'); if (this.dt_agg != null)
|
|
18869
|
-
this.dt_agg.open_wkf(); }
|
|
18876
|
+
this.dt_agg.open_wkf(false, this.edit_comments_in_logs); }
|
|
18870
18877
|
ngAfterViewInit() {
|
|
18871
18878
|
setTimeout(() => {
|
|
18872
18879
|
this.back_lbl = this._trs.instant('Indietro');
|
|
@@ -19018,6 +19025,7 @@ wkf_header_bar.propDecorators = {
|
|
|
19018
19025
|
command: [{ type: Output }],
|
|
19019
19026
|
admin_role: [{ type: Input }],
|
|
19020
19027
|
sovra_path: [{ type: Input }],
|
|
19028
|
+
edit_comments_in_logs: [{ type: Input }],
|
|
19021
19029
|
button_clicked: [{ type: Output }]
|
|
19022
19030
|
};
|
|
19023
19031
|
|