@fluxhub/fluxhub-lib 18.0.4 → 18.0.5
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/esm2022/lib/controls/fh-form-toolbar.mjs +10 -2
- package/esm2022/lib/controls/fh-win-app-logs.mjs +39 -29
- package/esm2022/lib/wkf_engine/wkf-data-form.mjs +2 -1
- package/fesm2022/fluxhub-fluxhub-lib.mjs +48 -29
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/lib/controls/fh-form-toolbar.d.ts +3 -1
- package/package.json +1 -1
|
@@ -10888,13 +10888,13 @@ class fh_win_app_logs {
|
|
|
10888
10888
|
cellStyle: (params) => {
|
|
10889
10889
|
if (params.value == 'INFO')
|
|
10890
10890
|
return {
|
|
10891
|
-
|
|
10891
|
+
color: '#1E7BB5',
|
|
10892
10892
|
'font-weight': 'bold',
|
|
10893
10893
|
'text-align': 'center',
|
|
10894
10894
|
};
|
|
10895
10895
|
if (params.value == 'ERROR')
|
|
10896
10896
|
return {
|
|
10897
|
-
|
|
10897
|
+
color: '#CC0033',
|
|
10898
10898
|
'font-weight': 'bold',
|
|
10899
10899
|
'text-align': 'center',
|
|
10900
10900
|
};
|
|
@@ -10902,16 +10902,16 @@ class fh_win_app_logs {
|
|
|
10902
10902
|
params.value == 'EDIT_DOC' ||
|
|
10903
10903
|
params.value == 'DELETE_DOC')
|
|
10904
10904
|
return {
|
|
10905
|
-
|
|
10905
|
+
color: '#FF8000',
|
|
10906
10906
|
'font-weight': 'bold',
|
|
10907
10907
|
'text-align': 'center',
|
|
10908
10908
|
};
|
|
10909
10909
|
return {
|
|
10910
|
-
|
|
10910
|
+
color: '#000',
|
|
10911
10911
|
'font-weight': 'bold',
|
|
10912
|
-
'text-align': 'center'
|
|
10912
|
+
'text-align': 'center',
|
|
10913
10913
|
};
|
|
10914
|
-
}
|
|
10914
|
+
},
|
|
10915
10915
|
},
|
|
10916
10916
|
{
|
|
10917
10917
|
headerName: this.m_translateService.instant('Data'),
|
|
@@ -10966,13 +10966,13 @@ class fh_win_app_logs {
|
|
|
10966
10966
|
cellStyle: (params) => {
|
|
10967
10967
|
if (params.value == 'INFO')
|
|
10968
10968
|
return {
|
|
10969
|
-
|
|
10969
|
+
color: '#1E7BB5',
|
|
10970
10970
|
'font-weight': 'bold',
|
|
10971
10971
|
'text-align': 'center',
|
|
10972
10972
|
};
|
|
10973
10973
|
if (params.value == 'ERROR')
|
|
10974
10974
|
return {
|
|
10975
|
-
|
|
10975
|
+
color: '#CC0033',
|
|
10976
10976
|
'font-weight': 'bold',
|
|
10977
10977
|
'text-align': 'center',
|
|
10978
10978
|
};
|
|
@@ -10980,16 +10980,16 @@ class fh_win_app_logs {
|
|
|
10980
10980
|
params.value == 'EDIT_DOC' ||
|
|
10981
10981
|
params.value == 'DELETE_DOC')
|
|
10982
10982
|
return {
|
|
10983
|
-
|
|
10983
|
+
color: '#FF8000',
|
|
10984
10984
|
'font-weight': 'bold',
|
|
10985
10985
|
'text-align': 'center',
|
|
10986
10986
|
};
|
|
10987
10987
|
return {
|
|
10988
|
-
|
|
10988
|
+
color: '#000',
|
|
10989
10989
|
'font-weight': 'bold',
|
|
10990
|
-
'text-align': 'center'
|
|
10990
|
+
'text-align': 'center',
|
|
10991
10991
|
};
|
|
10992
|
-
}
|
|
10992
|
+
},
|
|
10993
10993
|
},
|
|
10994
10994
|
{
|
|
10995
10995
|
headerName: this.m_translateService.instant('Data'),
|
|
@@ -11010,23 +11010,33 @@ class fh_win_app_logs {
|
|
|
11010
11010
|
return this.uti.datetime2String(dt);
|
|
11011
11011
|
},
|
|
11012
11012
|
},
|
|
11013
|
-
{
|
|
11014
|
-
headerName: this.m_translateService.instant('Dettagli'),
|
|
11015
|
-
field: 'diff',
|
|
11016
|
-
filter: 'agTextColumnFilter',
|
|
11017
|
-
filterParams: { newRowsAction: 'keep' },
|
|
11018
|
-
cellStyle: function (params) {
|
|
11019
|
-
return { 'text-align': 'center' };
|
|
11020
|
-
},
|
|
11021
|
-
cellRenderer: (params) => {
|
|
11022
|
-
if (params.value != null)
|
|
11023
|
-
if (params.value != 'null')
|
|
11024
|
-
if (params.value != '')
|
|
11025
|
-
return '<button mat-flat-button color="primary" style="width:100%;font-size:12px;">DETTAGLI</button>';
|
|
11026
|
-
return '';
|
|
11027
|
-
},
|
|
11028
|
-
},
|
|
11029
11013
|
];
|
|
11014
|
+
if (this.data.logShowDescription) {
|
|
11015
|
+
this.columnDefs.push({
|
|
11016
|
+
headerName: this.m_translateService.instant('Descrizione'),
|
|
11017
|
+
field: 'descrizione',
|
|
11018
|
+
filter: 'agTextColumnFilter',
|
|
11019
|
+
filterParams: { newRowsAction: 'keep' },
|
|
11020
|
+
});
|
|
11021
|
+
}
|
|
11022
|
+
if (this.data.logShowDiff) {
|
|
11023
|
+
this.columnDefs.push({
|
|
11024
|
+
headerName: this.m_translateService.instant('Dettagli'),
|
|
11025
|
+
field: 'diff',
|
|
11026
|
+
filter: 'agTextColumnFilter',
|
|
11027
|
+
filterParams: { newRowsAction: 'keep' },
|
|
11028
|
+
cellStyle: function (params) {
|
|
11029
|
+
return { 'text-align': 'center' };
|
|
11030
|
+
},
|
|
11031
|
+
cellRenderer: (params) => {
|
|
11032
|
+
if (params.value != null)
|
|
11033
|
+
if (params.value != 'null')
|
|
11034
|
+
if (params.value != '')
|
|
11035
|
+
return '<button mat-flat-button color="primary" style="width:100%;font-size:12px;">DETTAGLI</button>';
|
|
11036
|
+
return '';
|
|
11037
|
+
},
|
|
11038
|
+
});
|
|
11039
|
+
}
|
|
11030
11040
|
}
|
|
11031
11041
|
columnDefs = [];
|
|
11032
11042
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: fh_win_app_logs, deps: [{ token: i1$2.MatDialogRef }, { token: i1$2.MatDialog }, { token: AppService }, { token: i3$2.TranslateService }, { token: UtilityService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -11143,6 +11153,8 @@ class FHFormToolBarComponent {
|
|
|
11143
11153
|
mgs_save = 'Salva';
|
|
11144
11154
|
b_commento = false;
|
|
11145
11155
|
commento_label = null;
|
|
11156
|
+
logShowDescription = true;
|
|
11157
|
+
logShowDiff = true;
|
|
11146
11158
|
log_enabled = true;
|
|
11147
11159
|
custom_commands = [];
|
|
11148
11160
|
command = new EventEmitter();
|
|
@@ -11158,6 +11170,8 @@ class FHFormToolBarComponent {
|
|
|
11158
11170
|
K: this.K,
|
|
11159
11171
|
b_commento: this.b_commento,
|
|
11160
11172
|
commento_label: this.commento_label,
|
|
11173
|
+
logShowDescription: this.logShowDescription,
|
|
11174
|
+
logShowDiff: this.logShowDiff,
|
|
11161
11175
|
},
|
|
11162
11176
|
});
|
|
11163
11177
|
dialogRef.afterClosed().subscribe((result) => { });
|
|
@@ -11182,7 +11196,7 @@ class FHFormToolBarComponent {
|
|
|
11182
11196
|
this.is_editing = b_edit;
|
|
11183
11197
|
}
|
|
11184
11198
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: FHFormToolBarComponent, deps: [{ token: i1$2.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
11185
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: FHFormToolBarComponent, selector: "FHFormToolBar", inputs: { editable: "editable", show_save: "show_save", show_back: "show_back", saveDirect: "saveDirect", App: "App", K: "K", mgs_back: "mgs_back", mgs_edit: "mgs_edit", mgs_save: "mgs_save", b_commento: "b_commento", commento_label: "commento_label", log_enabled: "log_enabled", custom_commands: "custom_commands" }, outputs: { command: "command" }, ngImport: i0, template: `
|
|
11199
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: FHFormToolBarComponent, selector: "FHFormToolBar", inputs: { editable: "editable", show_save: "show_save", show_back: "show_back", saveDirect: "saveDirect", App: "App", K: "K", mgs_back: "mgs_back", mgs_edit: "mgs_edit", mgs_save: "mgs_save", b_commento: "b_commento", commento_label: "commento_label", logShowDescription: "logShowDescription", logShowDiff: "logShowDiff", log_enabled: "log_enabled", custom_commands: "custom_commands" }, outputs: { command: "command" }, ngImport: i0, template: `
|
|
11186
11200
|
<div fxLayout="row" fxLayoutGap="5px">
|
|
11187
11201
|
<div
|
|
11188
11202
|
fxLayout="row"
|
|
@@ -11397,6 +11411,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
11397
11411
|
type: Input
|
|
11398
11412
|
}], commento_label: [{
|
|
11399
11413
|
type: Input
|
|
11414
|
+
}], logShowDescription: [{
|
|
11415
|
+
type: Input
|
|
11416
|
+
}], logShowDiff: [{
|
|
11417
|
+
type: Input
|
|
11400
11418
|
}], log_enabled: [{
|
|
11401
11419
|
type: Input
|
|
11402
11420
|
}], custom_commands: [{
|
|
@@ -39985,6 +40003,7 @@ class dati_aggiuntivi {
|
|
|
39985
40003
|
start: this.m_obj.ical_dt_ini,
|
|
39986
40004
|
end: this.m_obj.ical_dt_fin,
|
|
39987
40005
|
summary: this.app_info.descrizione_breve + " " + this.getTitle(),
|
|
40006
|
+
uniqueId: this.id_documento,
|
|
39988
40007
|
description: this.getDescri() +
|
|
39989
40008
|
comm +
|
|
39990
40009
|
"<br>" +
|