@fluxhub/fluxhub-lib 10.0.475 → 10.0.477
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 +292 -25
- 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/fluxhub-fluxhub-lib.js +19 -18
- package/esm2015/lib/controls/win_show_log_info_dett.js +86 -0
- package/esm2015/lib/controls/win_show_logs.js +281 -0
- package/esm2015/lib/fluxhub-lib.module.js +6 -1
- package/esm2015/public_api.js +2 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +4075 -3726
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +19 -18
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_show_log_info_dett.d.ts +15 -0
- package/lib/controls/win_show_logs.d.ts +29 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material/dialog'), require('ngx-toastr'), require('@angular/core'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/platform-browser'), require('@angular/common/http'), require('rxjs/operators'), require('ng2-file-upload'), require('@angular/forms'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/material/dialog', 'ngx-toastr', '@angular/core', 'ngx-simple-crypt', 'crypto-js', '@angular/platform-browser', '@angular/common/http', 'rxjs/operators', 'ng2-file-upload', '@angular/forms', '@ngx-translate/core', 'rxjs', '
|
|
4
|
-
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.material.dialog, global.i3, global.ng.core, global.ngxSimpleCrypt, global.CryptoJS, global.ng.platformBrowser, global.ng.common.http, global.rxjs.operators, global.ng2FileUpload, global.ng.forms, global.
|
|
5
|
-
}(this, (function (exports, dialog, i3, i0, ngxSimpleCrypt, CryptoJS, i2, i1, operators, ng2FileUpload, forms, core, rxjs,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material/dialog'), require('ngx-toastr'), require('@angular/core'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/platform-browser'), require('@angular/common/http'), require('rxjs/operators'), require('ng2-file-upload'), require('@angular/forms'), require('@angular/router'), require('@ngx-translate/core'), require('rxjs'), require('ng2-slim-loading-bar'), require('@angular/cdk/clipboard'), require('ag-grid-enterprise'), require('@angular/material/autocomplete'), require('moment'), require('@angular/material/core'), require('@angular/common'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('bpmn-js/lib/NavigatedViewer'), require('@angular/flex-layout'), require('ngx-markdown'), require('ag-grid-angular'), require('@agm/core'), require('@angular/cdk/table'), require('ngforage'), require('ng2-dragula'), require('@angular/material/card'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/button-toggle'), require('@angular/material/chips'), require('@angular/material/datepicker'), require('@angular/material/expansion'), require('@angular/material/form-field'), require('@angular/material/grid-list'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/progress-spinner'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/material/slide-toggle'), require('@angular/material/slider'), require('@angular/material/sidenav'), require('@angular/material/snack-bar'), require('@angular/material/stepper'), require('@angular/material/tabs'), require('@angular/material/toolbar'), require('@angular/material/tooltip'), require('@angular/material/paginator'), require('@angular/material/sort'), require('@angular/material/table'), require('@angular/material/badge'), require('ngx-quill')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/material/dialog', 'ngx-toastr', '@angular/core', 'ngx-simple-crypt', 'crypto-js', '@angular/platform-browser', '@angular/common/http', 'rxjs/operators', 'ng2-file-upload', '@angular/forms', '@angular/router', '@ngx-translate/core', 'rxjs', 'ng2-slim-loading-bar', '@angular/cdk/clipboard', 'ag-grid-enterprise', '@angular/material/autocomplete', 'moment', '@angular/material/core', '@angular/common', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', 'bpmn-js/lib/NavigatedViewer', '@angular/flex-layout', 'ngx-markdown', 'ag-grid-angular', '@agm/core', '@angular/cdk/table', 'ngforage', 'ng2-dragula', '@angular/material/card', '@angular/material/button', '@angular/material/checkbox', '@angular/material/button-toggle', '@angular/material/chips', '@angular/material/datepicker', '@angular/material/expansion', '@angular/material/form-field', '@angular/material/grid-list', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/progress-spinner', '@angular/material/radio', '@angular/material/select', '@angular/material/slide-toggle', '@angular/material/slider', '@angular/material/sidenav', '@angular/material/snack-bar', '@angular/material/stepper', '@angular/material/tabs', '@angular/material/toolbar', '@angular/material/tooltip', '@angular/material/paginator', '@angular/material/sort', '@angular/material/table', '@angular/material/badge', 'ngx-quill'], factory) :
|
|
4
|
+
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.material.dialog, global.i3, global.ng.core, global.ngxSimpleCrypt, global.CryptoJS, global.ng.platformBrowser, global.ng.common.http, global.rxjs.operators, global.ng2FileUpload, global.ng.forms, global.ng.router, global.core, global.rxjs, global.ng2SlimLoadingBar, global.ng.cdk.clipboard, null, global.ng.material.autocomplete, global.momentNs, global.ng.material.core, global.ng.common, null, null, null, null, null, null, null, null, null, null, null, null, global.NavigatedViewer, global.ng.flexLayout, global.ngxMarkdown, global.agGridAngular, global.core$2, global.ng.cdk.table, global.ngforage, global.ng2Dragula, global.ng.material.card, global.ng.material.button, global.ng.material.checkbox, global.ng.material.buttonToggle, global.ng.material.chips, global.ng.material.datepicker, global.ng.material.expansion, global.ng.material.formField, global.ng.material.gridList, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.progressSpinner, global.ng.material.radio, global.ng.material.select, global.ng.material.slideToggle, global.ng.material.slider, global.ng.material.sidenav, global.ng.material.snackBar, global.ng.material.stepper, global.ng.material.tabs, global.ng.material.toolbar, global.ng.material.tooltip, global.ng.material.paginator, global.ng.material.sort, global.ng.material.table, global.ng.material.badge, global.ngxQuill));
|
|
5
|
+
}(this, (function (exports, dialog, i3, i0, ngxSimpleCrypt, CryptoJS, i2, i1, operators, ng2FileUpload, forms, i3$1, core, rxjs, ng2SlimLoadingBar, clipboard, agGridEnterprise, autocomplete, momentNs, core$1, common, clipboard$1, prismjs, prismToolbar, prismCopyToClipboard, prismCss, prismJavascript, prismJava, prismMarkup, prismTypescript, prismSass, prismScss, prismSql, NavigatedViewer, flexLayout, ngxMarkdown, agGridAngular, core$2, table, ngforage, ng2Dragula, card, button, checkbox, buttonToggle, chips, datepicker, expansion, formField, gridList, icon, input, list, menu, progressBar, progressSpinner, radio, select, slideToggle, slider, sidenav, snackBar, stepper, tabs, toolbar, tooltip, paginator, sort, table$1, badge, ngxQuill) { 'use strict';
|
|
6
6
|
|
|
7
7
|
NavigatedViewer = NavigatedViewer && Object.prototype.hasOwnProperty.call(NavigatedViewer, 'default') ? NavigatedViewer['default'] : NavigatedViewer;
|
|
8
8
|
|
|
@@ -2675,6 +2675,272 @@
|
|
|
2675
2675
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
2676
2676
|
]; };
|
|
2677
2677
|
|
|
2678
|
+
var win_show_log_info_dett = /** @class */ (function () {
|
|
2679
|
+
function win_show_log_info_dett(dialogRef, appService, toastr, _dataService) {
|
|
2680
|
+
this.dialogRef = dialogRef;
|
|
2681
|
+
this.appService = appService;
|
|
2682
|
+
this.toastr = toastr;
|
|
2683
|
+
this._dataService = _dataService;
|
|
2684
|
+
this.o = new Object();
|
|
2685
|
+
}
|
|
2686
|
+
win_show_log_info_dett.prototype.close = function () {
|
|
2687
|
+
this.dialogRef.close(null);
|
|
2688
|
+
};
|
|
2689
|
+
win_show_log_info_dett.prototype.ngAfterViewInit = function () { };
|
|
2690
|
+
return win_show_log_info_dett;
|
|
2691
|
+
}());
|
|
2692
|
+
win_show_log_info_dett.decorators = [
|
|
2693
|
+
{ type: i0.Component, args: [{
|
|
2694
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n <h2 mat-dialog-title>LOG {{ o.data | date: \"dd/MM/yyyy HH:mm:ss\" }}</h2>\n\n <mat-dialog-content style=\"min-width:700px\">\n <div fxLayout=\"column\">\n <div\n [style.background-color]=\"o.tipo === 'ERROR' ? '#CC0033' : '#1E7BB5'\"\n style=\"color:#FFFFFF;font-weight: bold;text-align:center\"\n >\n {{ o.tipo }}\n </div>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Applicazione</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [(ngModel)]=\"o.applicativo\"\n />\n </mat-form-field>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Documento</mat-label>\n <input\n type=\"text\"\n matInput\n [readonly]=\"true\"\n [(ngModel)]=\"o.iddocumento\"\n />\n </mat-form-field>\n\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Descrizione</mat-label>\n <textarea\n matInput\n readonly\n [(ngModel)]=\"o.descr_all\"\n rows=\"8\"\n ></textarea>\n </mat-form-field>\n </div>\n\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button (click)=\"dialogRef.close()\" color=\"accent\">\n CHIUDI\n </button>\n </div>\n </mat-dialog-content>\n "
|
|
2695
|
+
},] }
|
|
2696
|
+
];
|
|
2697
|
+
win_show_log_info_dett.ctorParameters = function () { return [
|
|
2698
|
+
{ type: dialog.MatDialogRef },
|
|
2699
|
+
{ type: AppService },
|
|
2700
|
+
{ type: i3.ToastrService },
|
|
2701
|
+
{ type: QueryService }
|
|
2702
|
+
]; };
|
|
2703
|
+
|
|
2704
|
+
var fh_win_show_log = /** @class */ (function () {
|
|
2705
|
+
function fh_win_show_log(router, route, _dataService, toastr, dialog, appService, uti, dialogRef, data) {
|
|
2706
|
+
this.router = router;
|
|
2707
|
+
this.route = route;
|
|
2708
|
+
this._dataService = _dataService;
|
|
2709
|
+
this.toastr = toastr;
|
|
2710
|
+
this.dialog = dialog;
|
|
2711
|
+
this.appService = appService;
|
|
2712
|
+
this.uti = uti;
|
|
2713
|
+
this.dialogRef = dialogRef;
|
|
2714
|
+
this.data = data;
|
|
2715
|
+
this.title = "LOGS";
|
|
2716
|
+
this.columnDefs = [];
|
|
2717
|
+
this.flt_log = '';
|
|
2718
|
+
if (!this.appService.getState().mobile) {
|
|
2719
|
+
this.uti.set_home_title(this.title);
|
|
2720
|
+
this.title = "";
|
|
2721
|
+
}
|
|
2722
|
+
if (data.flt != null)
|
|
2723
|
+
this.flt_log = data.flt;
|
|
2724
|
+
}
|
|
2725
|
+
fh_win_show_log.prototype.close = function () {
|
|
2726
|
+
this.dialogRef.close(null);
|
|
2727
|
+
};
|
|
2728
|
+
fh_win_show_log.prototype.cce = function (event) {
|
|
2729
|
+
if (event.colDef.field == "link") {
|
|
2730
|
+
if (event.data.link == null)
|
|
2731
|
+
return;
|
|
2732
|
+
window.open(event.data.link);
|
|
2733
|
+
}
|
|
2734
|
+
if (event.colDef.field == "diff") {
|
|
2735
|
+
if (event.data.diff == null)
|
|
2736
|
+
return;
|
|
2737
|
+
var dialogRef = this.dialog.open(fh_win_show_log_dett, {
|
|
2738
|
+
data: {
|
|
2739
|
+
dt: event.data.diff,
|
|
2740
|
+
title: event.data.utente +
|
|
2741
|
+
" del: " +
|
|
2742
|
+
this.uti.datetime2String(new Date(event.data.data)),
|
|
2743
|
+
},
|
|
2744
|
+
});
|
|
2745
|
+
dialogRef.afterClosed().subscribe();
|
|
2746
|
+
}
|
|
2747
|
+
if (event.colDef.field == "descr_all") {
|
|
2748
|
+
var dialogRef = this.dialog.open(fh_win_ask_big_test, {
|
|
2749
|
+
disableClose: true, data: { valore: event.data.descr_all, readonly: true, title: 'Descrizione' }
|
|
2750
|
+
});
|
|
2751
|
+
dialogRef.afterClosed().subscribe(function (result) {
|
|
2752
|
+
if (result) {
|
|
2753
|
+
}
|
|
2754
|
+
});
|
|
2755
|
+
}
|
|
2756
|
+
};
|
|
2757
|
+
fh_win_show_log.prototype.ie = function () {
|
|
2758
|
+
var _this = this;
|
|
2759
|
+
var p = new QParam();
|
|
2760
|
+
p.sql = "SELECT_LOGS_APPS";
|
|
2761
|
+
p.types = [];
|
|
2762
|
+
p.values = [];
|
|
2763
|
+
this._dataService.doQuery(p).subscribe(function (data) {
|
|
2764
|
+
if (data != null)
|
|
2765
|
+
if (data.result_msg == "OK") {
|
|
2766
|
+
var apps_1 = data.result_data;
|
|
2767
|
+
for (var i = 0; i < apps_1.length; i++) {
|
|
2768
|
+
apps_1[i] = apps_1[i].applicativo;
|
|
2769
|
+
}
|
|
2770
|
+
p = new QParam();
|
|
2771
|
+
p.sql = "SELECT_LOGS_TYPES";
|
|
2772
|
+
p.types = [];
|
|
2773
|
+
p.values = [];
|
|
2774
|
+
_this._dataService.doQuery(p).subscribe(function (data) {
|
|
2775
|
+
if (data != null)
|
|
2776
|
+
if (data.result_msg == "OK") {
|
|
2777
|
+
var types = data.result_data;
|
|
2778
|
+
for (var i = 0; i < types.length; i++) {
|
|
2779
|
+
types[i] = types[i].tipo;
|
|
2780
|
+
}
|
|
2781
|
+
_this.columnDefs = [
|
|
2782
|
+
{
|
|
2783
|
+
headerName: "Applicazione",
|
|
2784
|
+
field: "applicativo",
|
|
2785
|
+
filter: "agSetColumnFilter",
|
|
2786
|
+
filterParams: { values: apps_1, newRowsAction: "keep" },
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
headerName: "Documento",
|
|
2790
|
+
field: "iddocumento",
|
|
2791
|
+
filter: "agTextColumnFilter",
|
|
2792
|
+
filterParams: { newRowsAction: "keep" },
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
headerName: "Descrizione",
|
|
2796
|
+
field: "descr_all",
|
|
2797
|
+
filter: "agTextColumnFilter",
|
|
2798
|
+
tooltipField: 'descr_all',
|
|
2799
|
+
tooltipComponentParams: { color: '#ececec' },
|
|
2800
|
+
filterParams: { newRowsAction: "keep" },
|
|
2801
|
+
cellRenderer: function (params) {
|
|
2802
|
+
if (params.value == null)
|
|
2803
|
+
return " ------ ";
|
|
2804
|
+
if (params.value.length > 60)
|
|
2805
|
+
return ('<table border="0" style="width: 100%;"><tr><td>' +
|
|
2806
|
+
params.value.substring(0, 60) +
|
|
2807
|
+
'...</td><td style="text-align: right"><i style="color:#f4b342;font-size: 22px;" class="material-icons">feedback</i></td></tr></table>');
|
|
2808
|
+
else
|
|
2809
|
+
return '<div width="100%">' + params.value + "</div>";
|
|
2810
|
+
}
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
headerName: "Utente",
|
|
2814
|
+
field: "utente",
|
|
2815
|
+
filter: "agTextColumnFilter",
|
|
2816
|
+
filterParams: { newRowsAction: "keep" },
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
headerName: "Tipo",
|
|
2820
|
+
field: "tipo",
|
|
2821
|
+
filter: "agSetColumnFilter",
|
|
2822
|
+
filterParams: { values: types, newRowsAction: "keep" },
|
|
2823
|
+
cellStyle: function (params) {
|
|
2824
|
+
if (params.value == "INFO")
|
|
2825
|
+
return {
|
|
2826
|
+
"background-color": "#1E7BB5",
|
|
2827
|
+
color: "#FFFFFF",
|
|
2828
|
+
"font-weight": "bold",
|
|
2829
|
+
"text-align": "center",
|
|
2830
|
+
};
|
|
2831
|
+
if (params.value == "ERROR")
|
|
2832
|
+
return {
|
|
2833
|
+
"background-color": "#CC0033",
|
|
2834
|
+
color: "#FFFFFF",
|
|
2835
|
+
"font-weight": "bold",
|
|
2836
|
+
"text-align": "center",
|
|
2837
|
+
};
|
|
2838
|
+
if (params.value == "INSERT_DOC" ||
|
|
2839
|
+
params.value == "EDIT_DOC" ||
|
|
2840
|
+
params.value == "DELETE_DOC")
|
|
2841
|
+
return {
|
|
2842
|
+
"background-color": "#FF8000",
|
|
2843
|
+
color: "#FFFFFF",
|
|
2844
|
+
"font-weight": "bold",
|
|
2845
|
+
"text-align": "center",
|
|
2846
|
+
};
|
|
2847
|
+
return { "text-align": "left" };
|
|
2848
|
+
},
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
headerName: "Data",
|
|
2852
|
+
field: "data",
|
|
2853
|
+
filter: "agDateColumnFilter",
|
|
2854
|
+
floatingFilterComponentParams: {
|
|
2855
|
+
suppressFilterButton: true,
|
|
2856
|
+
},
|
|
2857
|
+
filterParams: { newRowsAction: "keep" },
|
|
2858
|
+
cellStyle: function (params) {
|
|
2859
|
+
return { "text-align": "left" };
|
|
2860
|
+
},
|
|
2861
|
+
cellRenderer: function (params) {
|
|
2862
|
+
if (params.value == null)
|
|
2863
|
+
return " ------ ";
|
|
2864
|
+
var dt = new Date(params.value);
|
|
2865
|
+
if (dt.getFullYear() == 1970)
|
|
2866
|
+
return " ------ ";
|
|
2867
|
+
else
|
|
2868
|
+
return _this.uti.datetime2String(dt);
|
|
2869
|
+
},
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
headerName: "Dettagli",
|
|
2873
|
+
field: "diff",
|
|
2874
|
+
filter: "agTextColumnFilter",
|
|
2875
|
+
filterParams: { newRowsAction: "keep" },
|
|
2876
|
+
cellStyle: function (params) {
|
|
2877
|
+
return { "text-align": "center" };
|
|
2878
|
+
},
|
|
2879
|
+
cellRenderer: function (params) {
|
|
2880
|
+
if (params.value != null)
|
|
2881
|
+
if (params.value != "null")
|
|
2882
|
+
if (params.value != "")
|
|
2883
|
+
return '<button mat-flat-button color="primary" style="width:100%">DETTAGLI</button>';
|
|
2884
|
+
return "";
|
|
2885
|
+
},
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
headerName: "Link",
|
|
2889
|
+
field: "link",
|
|
2890
|
+
filter: "agTextColumnFilter",
|
|
2891
|
+
filterParams: { newRowsAction: "keep" },
|
|
2892
|
+
cellStyle: function (params) {
|
|
2893
|
+
return { "text-align": "center" };
|
|
2894
|
+
},
|
|
2895
|
+
cellRenderer: function (params) {
|
|
2896
|
+
if (params.value != null)
|
|
2897
|
+
return '<button mat-flat-button color="primary" style="width:100%">LINK</button>';
|
|
2898
|
+
return "";
|
|
2899
|
+
},
|
|
2900
|
+
},
|
|
2901
|
+
];
|
|
2902
|
+
}
|
|
2903
|
+
});
|
|
2904
|
+
}
|
|
2905
|
+
});
|
|
2906
|
+
};
|
|
2907
|
+
fh_win_show_log.prototype.show_descri = function () {
|
|
2908
|
+
var _this = this;
|
|
2909
|
+
var dialogRef = this.dialog.open(win_show_log_info_dett);
|
|
2910
|
+
setTimeout(function () {
|
|
2911
|
+
if (_this.datagrid.sRow.descr_all != null)
|
|
2912
|
+
_this.datagrid.sRow.descr_all = _this.datagrid.sRow.descr_all
|
|
2913
|
+
.split("<br>")
|
|
2914
|
+
.join("\n");
|
|
2915
|
+
dialogRef.componentInstance.o = _this.datagrid.sRow;
|
|
2916
|
+
dialogRef.afterClosed().subscribe(function (result) { });
|
|
2917
|
+
});
|
|
2918
|
+
};
|
|
2919
|
+
fh_win_show_log.prototype.ngAfterViewInit = function () {
|
|
2920
|
+
this.datagrid.doFill(this.flt_log);
|
|
2921
|
+
};
|
|
2922
|
+
return fh_win_show_log;
|
|
2923
|
+
}());
|
|
2924
|
+
fh_win_show_log.decorators = [
|
|
2925
|
+
{ type: i0.Component, args: [{
|
|
2926
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">LOGS</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-dialog-content style=\"min-width:700px\">\n <div\n style=\"width: 100%;\"\n [style.height]=\"(appService.getState().body_h - 300) + 'px'\"\n >\n <div style=\"width: 100%; height: 100%;\">\n <FHGrid\n [init_fill]=\"false\"\n #dtm\n [tooltipShowDelay]=\"0\"\n [columnDefs]=\"columnDefs\"\n (dclicked)=\"show_descri()\"\n tbl_name=\"v_logs\"\n grid_key=\"logs_V112\"\n (init_end)=\"ie()\"\n (cell_clicked)=\"cce($event)\"\n sort_field=\"data desc\"\n fields=\"applicativo,iddocumento,utente,tipo,data,diff,link,descr_all\"\n ></FHGrid>\n </div>\n </div>\n </mat-dialog-content>\n</div>\n "
|
|
2927
|
+
},] }
|
|
2928
|
+
];
|
|
2929
|
+
fh_win_show_log.ctorParameters = function () { return [
|
|
2930
|
+
{ type: i3$1.Router },
|
|
2931
|
+
{ type: i3$1.ActivatedRoute },
|
|
2932
|
+
{ type: QueryService },
|
|
2933
|
+
{ type: i3.ToastrService },
|
|
2934
|
+
{ type: dialog.MatDialog },
|
|
2935
|
+
{ type: AppService },
|
|
2936
|
+
{ type: UtilityService },
|
|
2937
|
+
{ type: dialog.MatDialogRef },
|
|
2938
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
2939
|
+
]; };
|
|
2940
|
+
fh_win_show_log.propDecorators = {
|
|
2941
|
+
datagrid: [{ type: i0.ViewChild, args: ["dtm",] }]
|
|
2942
|
+
};
|
|
2943
|
+
|
|
2678
2944
|
var fh_win_uploads = /** @class */ (function () {
|
|
2679
2945
|
function fh_win_uploads(data, dialogRef, app_s, trs) {
|
|
2680
2946
|
this.data = data;
|
|
@@ -15977,6 +16243,7 @@
|
|
|
15977
16243
|
],
|
|
15978
16244
|
exports: [
|
|
15979
16245
|
fh_win_show_log_dett,
|
|
16246
|
+
fh_win_show_log,
|
|
15980
16247
|
FHFormToolBarComponent,
|
|
15981
16248
|
FHTextArea,
|
|
15982
16249
|
CheckboxEditorComponent,
|
|
@@ -16039,6 +16306,8 @@
|
|
|
16039
16306
|
],
|
|
16040
16307
|
declarations: [
|
|
16041
16308
|
fh_win_show_log_dett,
|
|
16309
|
+
win_show_log_info_dett,
|
|
16310
|
+
fh_win_show_log,
|
|
16042
16311
|
FHFormToolBarComponent,
|
|
16043
16312
|
FHTextArea,
|
|
16044
16313
|
CheckboxEditorComponent,
|
|
@@ -21566,10 +21835,6 @@
|
|
|
21566
21835
|
onResize: [{ type: i0.HostListener, args: ["window:resize", ["event"],] }]
|
|
21567
21836
|
};
|
|
21568
21837
|
|
|
21569
|
-
/*
|
|
21570
|
-
* Public API Surface of fluxhub-lib
|
|
21571
|
-
*/
|
|
21572
|
-
|
|
21573
21838
|
/**
|
|
21574
21839
|
* Generated bundle index. Do not edit.
|
|
21575
21840
|
*/
|
|
@@ -21647,6 +21912,7 @@
|
|
|
21647
21912
|
exports.fh_win_show_email = fh_win_show_email;
|
|
21648
21913
|
exports.fh_win_show_email_s3 = fh_win_show_email_s3;
|
|
21649
21914
|
exports.fh_win_show_image = fh_win_show_image;
|
|
21915
|
+
exports.fh_win_show_log = fh_win_show_log;
|
|
21650
21916
|
exports.fh_win_show_log_dett = fh_win_show_log_dett;
|
|
21651
21917
|
exports.fh_win_time_slider = fh_win_time_slider;
|
|
21652
21918
|
exports.fh_win_uploads = fh_win_uploads;
|
|
@@ -21669,23 +21935,24 @@
|
|
|
21669
21935
|
exports.ɵbe = win_sostituisci_utente_v2;
|
|
21670
21936
|
exports.ɵbf = win_commento_sel_notif_v2;
|
|
21671
21937
|
exports.ɵbg = win_insert_commento_v2;
|
|
21672
|
-
exports.ɵbh =
|
|
21673
|
-
exports.ɵ
|
|
21674
|
-
exports.ɵbk =
|
|
21675
|
-
exports.ɵbl =
|
|
21676
|
-
exports.ɵbm =
|
|
21677
|
-
exports.ɵbn =
|
|
21678
|
-
exports.ɵbo =
|
|
21679
|
-
exports.ɵbp =
|
|
21680
|
-
exports.ɵbq =
|
|
21681
|
-
exports.ɵbr =
|
|
21682
|
-
exports.ɵbs =
|
|
21683
|
-
exports.ɵbt =
|
|
21684
|
-
exports.ɵbu =
|
|
21685
|
-
exports.ɵbv =
|
|
21686
|
-
exports.ɵbw =
|
|
21687
|
-
exports.ɵbx =
|
|
21688
|
-
exports.ɵby =
|
|
21938
|
+
exports.ɵbh = win_show_log_info_dett;
|
|
21939
|
+
exports.ɵbi = FHViewerComponent;
|
|
21940
|
+
exports.ɵbk = FHGridToolBarComponent;
|
|
21941
|
+
exports.ɵbl = win_assegna;
|
|
21942
|
+
exports.ɵbm = win_conferma;
|
|
21943
|
+
exports.ɵbn = win_select_canale;
|
|
21944
|
+
exports.ɵbo = win_select_level;
|
|
21945
|
+
exports.ɵbp = win_commenti;
|
|
21946
|
+
exports.ɵbq = win_info_doc;
|
|
21947
|
+
exports.ɵbr = win_log;
|
|
21948
|
+
exports.ɵbs = win_recupera_doc;
|
|
21949
|
+
exports.ɵbt = win_riassegna_select_level;
|
|
21950
|
+
exports.ɵbu = win_riassegna_select_user;
|
|
21951
|
+
exports.ɵbv = win_sostituisci_utente;
|
|
21952
|
+
exports.ɵbw = win_commento_sel_notif;
|
|
21953
|
+
exports.ɵbx = win_manage_values;
|
|
21954
|
+
exports.ɵby = win_manage_roles;
|
|
21955
|
+
exports.ɵbz = FHComboboxComponentFilter;
|
|
21689
21956
|
exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8;
|
|
21690
21957
|
exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4;
|
|
21691
21958
|
exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3;
|