@fluxhub/fluxhub-lib 1.0.344 → 1.0.346
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 +129 -84
- 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/fhuploadpanel.js +60 -4
- package/esm5/lib/controls/fhuploadpanel.js +48 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +144 -89
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +129 -84
- package/fesm5/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
|
@@ -3711,6 +3711,89 @@ var AuthenticationService = /** @class */ (function () {
|
|
|
3711
3711
|
return AuthenticationService;
|
|
3712
3712
|
}());
|
|
3713
3713
|
|
|
3714
|
+
/**
|
|
3715
|
+
* @fileoverview added by tsickle
|
|
3716
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3717
|
+
*/
|
|
3718
|
+
var WinAskTextBigComponent = /** @class */ (function () {
|
|
3719
|
+
function WinAskTextBigComponent(dialogRef, toastr) {
|
|
3720
|
+
this.dialogRef = dialogRef;
|
|
3721
|
+
this.toastr = toastr;
|
|
3722
|
+
this.title = "";
|
|
3723
|
+
this.label = "";
|
|
3724
|
+
this.valore = "";
|
|
3725
|
+
this.readonly = false;
|
|
3726
|
+
this.show_annulla = true;
|
|
3727
|
+
this.min_chars = 3;
|
|
3728
|
+
}
|
|
3729
|
+
/**
|
|
3730
|
+
* @return {?}
|
|
3731
|
+
*/
|
|
3732
|
+
WinAskTextBigComponent.prototype.ngOnInit = /**
|
|
3733
|
+
* @return {?}
|
|
3734
|
+
*/
|
|
3735
|
+
function () {
|
|
3736
|
+
};
|
|
3737
|
+
/**
|
|
3738
|
+
* @return {?}
|
|
3739
|
+
*/
|
|
3740
|
+
WinAskTextBigComponent.prototype.show = /**
|
|
3741
|
+
* @return {?}
|
|
3742
|
+
*/
|
|
3743
|
+
function () {
|
|
3744
|
+
};
|
|
3745
|
+
/**
|
|
3746
|
+
* @return {?}
|
|
3747
|
+
*/
|
|
3748
|
+
WinAskTextBigComponent.prototype.hide = /**
|
|
3749
|
+
* @return {?}
|
|
3750
|
+
*/
|
|
3751
|
+
function () {
|
|
3752
|
+
this.dialogRef.close(null);
|
|
3753
|
+
};
|
|
3754
|
+
/**
|
|
3755
|
+
* @return {?}
|
|
3756
|
+
*/
|
|
3757
|
+
WinAskTextBigComponent.prototype.do_check = /**
|
|
3758
|
+
* @return {?}
|
|
3759
|
+
*/
|
|
3760
|
+
function () {
|
|
3761
|
+
if (this.valore.length < this.min_chars) {
|
|
3762
|
+
this.toastr.error('Il valore deve contenere almeno ' + this.min_chars + ' caratteri');
|
|
3763
|
+
return;
|
|
3764
|
+
}
|
|
3765
|
+
this.dialogRef.close(this.valore);
|
|
3766
|
+
};
|
|
3767
|
+
/**
|
|
3768
|
+
* @return {?}
|
|
3769
|
+
*/
|
|
3770
|
+
WinAskTextBigComponent.prototype.chiudi = /**
|
|
3771
|
+
* @return {?}
|
|
3772
|
+
*/
|
|
3773
|
+
function () {
|
|
3774
|
+
this.dialogRef.close(null);
|
|
3775
|
+
};
|
|
3776
|
+
WinAskTextBigComponent.decorators = [
|
|
3777
|
+
{ type: Component, args: [{
|
|
3778
|
+
selector: 'app-win_ask_text',
|
|
3779
|
+
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px\">\n <mat-form-field>\n <textarea matInput [readonly]=\"readonly\" placeholder=\"{{label}}\" type=\"text\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions style=\"width:100%;horizontal-align: center\">\n <button mat-raised-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button *ngIf=\"show_annulla\" mat-raised-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </mat-dialog-actions>\n\n\n "
|
|
3780
|
+
}] }
|
|
3781
|
+
];
|
|
3782
|
+
/** @nocollapse */
|
|
3783
|
+
WinAskTextBigComponent.ctorParameters = function () { return [
|
|
3784
|
+
{ type: MatDialogRef },
|
|
3785
|
+
{ type: ToastrService }
|
|
3786
|
+
]; };
|
|
3787
|
+
WinAskTextBigComponent.propDecorators = {
|
|
3788
|
+
title: [{ type: Input }],
|
|
3789
|
+
label: [{ type: Input }],
|
|
3790
|
+
valore: [{ type: Input }],
|
|
3791
|
+
readonly: [{ type: Input }],
|
|
3792
|
+
show_annulla: [{ type: Input }]
|
|
3793
|
+
};
|
|
3794
|
+
return WinAskTextBigComponent;
|
|
3795
|
+
}());
|
|
3796
|
+
|
|
3714
3797
|
/**
|
|
3715
3798
|
* @fileoverview added by tsickle
|
|
3716
3799
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -3755,6 +3838,51 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
3755
3838
|
else
|
|
3756
3839
|
window.open(this.sovrascrivi_path + '/uploads/' + ax.App + '/' + ax.K + '/' + ax.Filename);
|
|
3757
3840
|
};
|
|
3841
|
+
/**
|
|
3842
|
+
* @param {?} ax
|
|
3843
|
+
* @return {?}
|
|
3844
|
+
*/
|
|
3845
|
+
FHUploadPanelComponent.prototype.edit_descri = /**
|
|
3846
|
+
* @param {?} ax
|
|
3847
|
+
* @return {?}
|
|
3848
|
+
*/
|
|
3849
|
+
function (ax) {
|
|
3850
|
+
var _this = this;
|
|
3851
|
+
/** @type {?} */
|
|
3852
|
+
var dialogRef = this
|
|
3853
|
+
.dialog
|
|
3854
|
+
.open(WinAskTextBigComponent);
|
|
3855
|
+
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
3856
|
+
dialogRef.componentInstance.valore = ax.descrizione;
|
|
3857
|
+
dialogRef
|
|
3858
|
+
.afterClosed()
|
|
3859
|
+
.subscribe((/**
|
|
3860
|
+
* @param {?} result
|
|
3861
|
+
* @return {?}
|
|
3862
|
+
*/
|
|
3863
|
+
function (result) {
|
|
3864
|
+
if (result != null) {
|
|
3865
|
+
/** @type {?} */
|
|
3866
|
+
var p = new QParam();
|
|
3867
|
+
p.sql = "UPDATE_ALLEGATI_DESCRIZIONE";
|
|
3868
|
+
p.types = ['int', 'string'];
|
|
3869
|
+
p.values = [ax.id, result];
|
|
3870
|
+
_this
|
|
3871
|
+
._dataService
|
|
3872
|
+
.doQuery(p)
|
|
3873
|
+
.subscribe((/**
|
|
3874
|
+
* @param {?} data
|
|
3875
|
+
* @return {?}
|
|
3876
|
+
*/
|
|
3877
|
+
function (data) {
|
|
3878
|
+
if (data != null)
|
|
3879
|
+
if (data.result_msg == "OK") {
|
|
3880
|
+
_this.ref_allegato();
|
|
3881
|
+
}
|
|
3882
|
+
}));
|
|
3883
|
+
}
|
|
3884
|
+
}));
|
|
3885
|
+
};
|
|
3758
3886
|
/**
|
|
3759
3887
|
* @param {?} ax
|
|
3760
3888
|
* @return {?}
|
|
@@ -3918,7 +4046,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
3918
4046
|
};
|
|
3919
4047
|
FHUploadPanelComponent.decorators = [
|
|
3920
4048
|
{ type: Component, args: [{
|
|
3921
|
-
selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n <br></div>\n <table width=\"98%\" class=\"fh_table\">\n <thead *ngIf=\"!b_mobile\">\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\" *ngIf=\"image_type\">Descrizione</th>\n <th style=\"width:10%\" *ngIf=\"image_type\">Utente</th>\n <th style=\"width:40%\" *ngIf=\"image_type\"></th>\n\n\n\n <th style=\"width:50%\" *ngIf=\"!image_type\">Descrizione</th>\n <th style=\"width:30%\" *ngIf=\"!image_type\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let app of arr_g\" style=\"font-size: 12px;\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">{{app.Filename}}<br><br>\n <button (click)=\"download_all(app)\" mat-raised-button>DOWNLOAD</button>\n </td>\n <td *ngIf=\"!b_mobile\">{{app.Filename}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.Filesize}}</td>\n <td *ngIf=\"!b_mobile\">
|
|
4049
|
+
selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n <br></div>\n <table width=\"98%\" class=\"fh_table\">\n <thead *ngIf=\"!b_mobile\">\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\" *ngIf=\"image_type\">Descrizione</th>\n <th style=\"width:10%\" *ngIf=\"image_type\">Utente</th>\n <th style=\"width:40%\" *ngIf=\"image_type\"></th>\n\n\n\n <th style=\"width:50%\" *ngIf=\"!image_type\">Descrizione</th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n <th style=\"width:30%\" *ngIf=\"!image_type\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</th>\n <th style=\"width:40px\" class=\"actions\"></th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let app of arr_g\" style=\"font-size: 12px;\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">{{app.Filename}}<br><br>\n <button (click)=\"download_all(app)\" mat-raised-button>DOWNLOAD</button>\n </td>\n <td *ngIf=\"!b_mobile\">{{app.Filename}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.Filesize}}</td>\n <td *ngIf=\"!b_mobile\">\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione\" style=\"width:100%\">\n </div>\n </div></td>\n\n \n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"!b_mobile\">{{app.nc}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n \n </td> \n\n </tr>\n </table>\n\n </div>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n\n ",
|
|
3922
4050
|
styles: ["\n\n \n\n "]
|
|
3923
4051
|
}] }
|
|
3924
4052
|
];
|
|
@@ -10808,89 +10936,6 @@ var FHLogPanelComponent = /** @class */ (function () {
|
|
|
10808
10936
|
return FHLogPanelComponent;
|
|
10809
10937
|
}());
|
|
10810
10938
|
|
|
10811
|
-
/**
|
|
10812
|
-
* @fileoverview added by tsickle
|
|
10813
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
10814
|
-
*/
|
|
10815
|
-
var WinAskTextBigComponent = /** @class */ (function () {
|
|
10816
|
-
function WinAskTextBigComponent(dialogRef, toastr) {
|
|
10817
|
-
this.dialogRef = dialogRef;
|
|
10818
|
-
this.toastr = toastr;
|
|
10819
|
-
this.title = "";
|
|
10820
|
-
this.label = "";
|
|
10821
|
-
this.valore = "";
|
|
10822
|
-
this.readonly = false;
|
|
10823
|
-
this.show_annulla = true;
|
|
10824
|
-
this.min_chars = 3;
|
|
10825
|
-
}
|
|
10826
|
-
/**
|
|
10827
|
-
* @return {?}
|
|
10828
|
-
*/
|
|
10829
|
-
WinAskTextBigComponent.prototype.ngOnInit = /**
|
|
10830
|
-
* @return {?}
|
|
10831
|
-
*/
|
|
10832
|
-
function () {
|
|
10833
|
-
};
|
|
10834
|
-
/**
|
|
10835
|
-
* @return {?}
|
|
10836
|
-
*/
|
|
10837
|
-
WinAskTextBigComponent.prototype.show = /**
|
|
10838
|
-
* @return {?}
|
|
10839
|
-
*/
|
|
10840
|
-
function () {
|
|
10841
|
-
};
|
|
10842
|
-
/**
|
|
10843
|
-
* @return {?}
|
|
10844
|
-
*/
|
|
10845
|
-
WinAskTextBigComponent.prototype.hide = /**
|
|
10846
|
-
* @return {?}
|
|
10847
|
-
*/
|
|
10848
|
-
function () {
|
|
10849
|
-
this.dialogRef.close(null);
|
|
10850
|
-
};
|
|
10851
|
-
/**
|
|
10852
|
-
* @return {?}
|
|
10853
|
-
*/
|
|
10854
|
-
WinAskTextBigComponent.prototype.do_check = /**
|
|
10855
|
-
* @return {?}
|
|
10856
|
-
*/
|
|
10857
|
-
function () {
|
|
10858
|
-
if (this.valore.length < this.min_chars) {
|
|
10859
|
-
this.toastr.error('Il valore deve contenere almeno ' + this.min_chars + ' caratteri');
|
|
10860
|
-
return;
|
|
10861
|
-
}
|
|
10862
|
-
this.dialogRef.close(this.valore);
|
|
10863
|
-
};
|
|
10864
|
-
/**
|
|
10865
|
-
* @return {?}
|
|
10866
|
-
*/
|
|
10867
|
-
WinAskTextBigComponent.prototype.chiudi = /**
|
|
10868
|
-
* @return {?}
|
|
10869
|
-
*/
|
|
10870
|
-
function () {
|
|
10871
|
-
this.dialogRef.close(null);
|
|
10872
|
-
};
|
|
10873
|
-
WinAskTextBigComponent.decorators = [
|
|
10874
|
-
{ type: Component, args: [{
|
|
10875
|
-
selector: 'app-win_ask_text',
|
|
10876
|
-
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px\">\n <mat-form-field>\n <textarea matInput [readonly]=\"readonly\" placeholder=\"{{label}}\" type=\"text\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions style=\"width:100%;horizontal-align: center\">\n <button mat-raised-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button *ngIf=\"show_annulla\" mat-raised-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </mat-dialog-actions>\n\n\n "
|
|
10877
|
-
}] }
|
|
10878
|
-
];
|
|
10879
|
-
/** @nocollapse */
|
|
10880
|
-
WinAskTextBigComponent.ctorParameters = function () { return [
|
|
10881
|
-
{ type: MatDialogRef },
|
|
10882
|
-
{ type: ToastrService }
|
|
10883
|
-
]; };
|
|
10884
|
-
WinAskTextBigComponent.propDecorators = {
|
|
10885
|
-
title: [{ type: Input }],
|
|
10886
|
-
label: [{ type: Input }],
|
|
10887
|
-
valore: [{ type: Input }],
|
|
10888
|
-
readonly: [{ type: Input }],
|
|
10889
|
-
show_annulla: [{ type: Input }]
|
|
10890
|
-
};
|
|
10891
|
-
return WinAskTextBigComponent;
|
|
10892
|
-
}());
|
|
10893
|
-
|
|
10894
10939
|
/**
|
|
10895
10940
|
* @fileoverview added by tsickle
|
|
10896
10941
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|