@fluxhub/fluxhub-lib 1.0.361 → 1.0.363
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 +2 -8
- 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/fhupload.js +5 -19
- package/esm2015/lib/services/login.service.js +2 -1
- package/esm5/lib/controls/fhupload.js +2 -16
- package/esm5/lib/services/login.service.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +5 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +2 -8
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3206,8 +3206,6 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3206
3206
|
this.toastr.error(this.inserire_descrizione);
|
|
3207
3207
|
return;
|
|
3208
3208
|
}
|
|
3209
|
-
console.log('this.lista_allegati ', this.lista_allegati);
|
|
3210
|
-
console.log('fileItem ', fileItem);
|
|
3211
3209
|
for (var i = 0; i < this.lista_allegati.length; i++) {
|
|
3212
3210
|
if (this.lista_allegati[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
|
|
3213
3211
|
this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
|
|
@@ -3306,17 +3304,12 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3306
3304
|
_this.b_edit_loaded = true;
|
|
3307
3305
|
}
|
|
3308
3306
|
}
|
|
3309
|
-
}), (/**
|
|
3310
|
-
* @param {?} err
|
|
3311
|
-
* @return {?}
|
|
3312
|
-
*/
|
|
3313
|
-
function (err) {
|
|
3314
3307
|
}));
|
|
3315
3308
|
};
|
|
3316
3309
|
FHUploadComponent.decorators = [
|
|
3317
3310
|
{ type: Component, args: [{
|
|
3318
3311
|
selector: 'FHUpload',
|
|
3319
|
-
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled && !loading\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-form-field class=\"field_style\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n \n <div style=\"width:210px\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" name=\"file-fh\" id=\"file-fh\" class=\"inputfile inputfile-fh\" />\n <label for=\"file-fh\" style=\"width:210px\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"/></svg><span> Upload</span></label>\n </div>\n <div>\n <button mat-raised-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>\n </div>\n </div>\n <div *ngIf=\"!enabled\">\n <label>{{label}}:</label>{{descrizione}}\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n ",
|
|
3312
|
+
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled && !loading\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-form-field class=\"field_style\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n \n <div style=\"width:210px\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" name=\"file-fh{{App}}\" id=\"file-fh{{App}}\" class=\"inputfile inputfile-fh\" />\n <label for=\"file-fh{{App}}\" style=\"width:210px\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"/></svg><span> Upload</span></label>\n </div>\n <div>\n <button mat-raised-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>\n </div>\n </div>\n <div *ngIf=\"!enabled\">\n <label>{{label}}:</label>{{descrizione}}\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n ",
|
|
3320
3313
|
styles: ["\n\n "]
|
|
3321
3314
|
}] }
|
|
3322
3315
|
];
|
|
@@ -3403,6 +3396,7 @@ var AuthenticationService = /** @class */ (function () {
|
|
|
3403
3396
|
function (username, password, displayError) {
|
|
3404
3397
|
var _this = this;
|
|
3405
3398
|
if (displayError === void 0) { displayError = true; }
|
|
3399
|
+
console.log(' this.app_s ', this.app_s);
|
|
3406
3400
|
this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
|
|
3407
3401
|
/** @type {?} */
|
|
3408
3402
|
var post_v = JSON.stringify({ username: username, password: password });
|