@fluxhub/fluxhub-lib 1.0.362 → 1.0.364
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 +6 -9
- 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/fhdatepicker.js +6 -3
- package/esm2015/lib/controls/fhupload.js +3 -17
- package/esm2015/lib/services/login.service.js +2 -1
- package/esm5/lib/controls/fhdatepicker.js +6 -3
- package/esm5/lib/controls/fhupload.js +1 -15
- package/esm5/lib/services/login.service.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3227,8 +3227,6 @@
|
|
|
3227
3227
|
this.toastr.error(this.inserire_descrizione);
|
|
3228
3228
|
return;
|
|
3229
3229
|
}
|
|
3230
|
-
console.log('this.lista_allegati ', this.lista_allegati);
|
|
3231
|
-
console.log('fileItem ', fileItem);
|
|
3232
3230
|
for (var i = 0; i < this.lista_allegati.length; i++) {
|
|
3233
3231
|
if (this.lista_allegati[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
|
|
3234
3232
|
this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
|
|
@@ -3327,11 +3325,6 @@
|
|
|
3327
3325
|
_this.b_edit_loaded = true;
|
|
3328
3326
|
}
|
|
3329
3327
|
}
|
|
3330
|
-
}), (/**
|
|
3331
|
-
* @param {?} err
|
|
3332
|
-
* @return {?}
|
|
3333
|
-
*/
|
|
3334
|
-
function (err) {
|
|
3335
3328
|
}));
|
|
3336
3329
|
};
|
|
3337
3330
|
FHUploadComponent.decorators = [
|
|
@@ -3424,6 +3417,7 @@
|
|
|
3424
3417
|
function (username, password, displayError) {
|
|
3425
3418
|
var _this = this;
|
|
3426
3419
|
if (displayError === void 0) { displayError = true; }
|
|
3420
|
+
console.log(' this.app_s ', this.app_s);
|
|
3427
3421
|
this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
|
|
3428
3422
|
/** @type {?} */
|
|
3429
3423
|
var post_v = JSON.stringify({ username: username, password: password });
|
|
@@ -9314,10 +9308,13 @@
|
|
|
9314
9308
|
if (arr[0].length == 1)
|
|
9315
9309
|
arr[0] = "0" + arr[0];
|
|
9316
9310
|
if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 0 && parseInt(arr[1]) <= 12) {
|
|
9317
|
-
console.log('arr ', arr);
|
|
9318
9311
|
/** @type {?} */
|
|
9319
9312
|
var dtp = new MomentDateAdapter();
|
|
9320
|
-
|
|
9313
|
+
/** @type {?} */
|
|
9314
|
+
var yy = parseInt(arr[2]);
|
|
9315
|
+
if (yy < 100)
|
|
9316
|
+
yy += 2000;
|
|
9317
|
+
this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
|
|
9321
9318
|
console.log('dare s', this.date_sel);
|
|
9322
9319
|
}
|
|
9323
9320
|
else
|