@fluxhub/fluxhub-lib 1.0.364 → 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 +3 -1
- 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 +6 -2
- package/esm5/lib/controls/fhuploadpanel.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +3 -1
- 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
|
@@ -3805,6 +3805,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
3805
3805
|
this.sovrascrivi_path = '';
|
|
3806
3806
|
this.ruolo_supervisore = '[ZZZ_DIS_CC]';
|
|
3807
3807
|
this.access_control = false;
|
|
3808
|
+
this.show_images = true;
|
|
3808
3809
|
this.change = new EventEmitter();
|
|
3809
3810
|
this.App = '';
|
|
3810
3811
|
this.K = '';
|
|
@@ -4023,7 +4024,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
4023
4024
|
iconf = arrf[arrf.length - 1].toLocaleLowerCase();
|
|
4024
4025
|
_this.arr_g[i].icon = iconf + '.svg';
|
|
4025
4026
|
_this.arr_g[i].can_delete = !_this.access_control || _this.arr_g[i].idp == _this._appservice.user || _this.uti.hasRole(_this.ruolo_supervisore);
|
|
4026
|
-
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) {
|
|
4027
|
+
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) {
|
|
4027
4028
|
_this.arr_g[i].type = "IMG";
|
|
4028
4029
|
_this.arr_g[i].image_original = [_this.arr_g[i].url];
|
|
4029
4030
|
if (_this.arr_g[i].preview != null)
|
|
@@ -4064,6 +4065,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
4064
4065
|
sovrascrivi_path: [{ type: Input }],
|
|
4065
4066
|
ruolo_supervisore: [{ type: Input }],
|
|
4066
4067
|
access_control: [{ type: Input }],
|
|
4068
|
+
show_images: [{ type: Input }],
|
|
4067
4069
|
change: [{ type: Output }],
|
|
4068
4070
|
upc: [{ type: ViewChild, args: ['upc',] }]
|
|
4069
4071
|
};
|