@fluxhub/fluxhub-lib 1.0.363 → 1.0.365
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 +8 -3
- 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/fhuploadpanel.js +6 -2
- package/esm5/lib/controls/fhdatepicker.js +6 -3
- package/esm5/lib/controls/fhuploadpanel.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -3
- 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
|
@@ -3826,6 +3826,7 @@
|
|
|
3826
3826
|
this.sovrascrivi_path = '';
|
|
3827
3827
|
this.ruolo_supervisore = '[ZZZ_DIS_CC]';
|
|
3828
3828
|
this.access_control = false;
|
|
3829
|
+
this.show_images = true;
|
|
3829
3830
|
this.change = new core.EventEmitter();
|
|
3830
3831
|
this.App = '';
|
|
3831
3832
|
this.K = '';
|
|
@@ -4044,7 +4045,7 @@
|
|
|
4044
4045
|
iconf = arrf[arrf.length - 1].toLocaleLowerCase();
|
|
4045
4046
|
_this.arr_g[i].icon = iconf + '.svg';
|
|
4046
4047
|
_this.arr_g[i].can_delete = !_this.access_control || _this.arr_g[i].idp == _this._appservice.user || _this.uti.hasRole(_this.ruolo_supervisore);
|
|
4047
|
-
if (_this.arr_g[i].Filename.indexOf(".jpg") != -1 || _this.arr_g[i].Filename.indexOf(".gif") != -1 || _this.arr_g[i].Filename.indexOf(".png") != -1) {
|
|
4048
|
+
if ((_this.arr_g[i].Filename.indexOf(".jpg") != -1 || _this.arr_g[i].Filename.indexOf(".gif") != -1 || _this.arr_g[i].Filename.indexOf(".png") != -1) && _this.show_images) {
|
|
4048
4049
|
_this.arr_g[i].type = "IMG";
|
|
4049
4050
|
_this.arr_g[i].image_original = [_this.arr_g[i].url];
|
|
4050
4051
|
if (_this.arr_g[i].preview != null)
|
|
@@ -4085,6 +4086,7 @@
|
|
|
4085
4086
|
sovrascrivi_path: [{ type: core.Input }],
|
|
4086
4087
|
ruolo_supervisore: [{ type: core.Input }],
|
|
4087
4088
|
access_control: [{ type: core.Input }],
|
|
4089
|
+
show_images: [{ type: core.Input }],
|
|
4088
4090
|
change: [{ type: core.Output }],
|
|
4089
4091
|
upc: [{ type: core.ViewChild, args: ['upc',] }]
|
|
4090
4092
|
};
|
|
@@ -9308,10 +9310,13 @@
|
|
|
9308
9310
|
if (arr[0].length == 1)
|
|
9309
9311
|
arr[0] = "0" + arr[0];
|
|
9310
9312
|
if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 0 && parseInt(arr[1]) <= 12) {
|
|
9311
|
-
console.log('arr ', arr);
|
|
9312
9313
|
/** @type {?} */
|
|
9313
9314
|
var dtp = new MomentDateAdapter();
|
|
9314
|
-
|
|
9315
|
+
/** @type {?} */
|
|
9316
|
+
var yy = parseInt(arr[2]);
|
|
9317
|
+
if (yy < 100)
|
|
9318
|
+
yy += 2000;
|
|
9319
|
+
this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
|
|
9315
9320
|
console.log('dare s', this.date_sel);
|
|
9316
9321
|
}
|
|
9317
9322
|
else
|