@fluxhub/fluxhub-lib 1.0.275 → 1.0.277
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 -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/docs/components/FHGridComponent.html +1 -1
- package/esm2015/lib/controls/fhgrid.js +4 -5
- package/esm2015/lib/controls/fhgrid_json.js +2 -2
- package/esm2015/lib/controls/fhupload.js +3 -4
- package/esm5/lib/controls/fhgrid.js +4 -5
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/controls/fhupload.js +3 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3340,7 +3340,7 @@
|
|
|
3340
3340
|
url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT,
|
|
3341
3341
|
'maxFileSize': 500 * 1024 * 1024
|
|
3342
3342
|
});
|
|
3343
|
-
this.username =
|
|
3343
|
+
this.username = this.app_s.user;
|
|
3344
3344
|
this.uploader.onBeforeUploadItem = ( /**
|
|
3345
3345
|
* @param {?} item
|
|
3346
3346
|
* @return {?}
|
|
@@ -3361,7 +3361,7 @@
|
|
|
3361
3361
|
progressBar: true
|
|
3362
3362
|
});
|
|
3363
3363
|
_this.ref_allegato();
|
|
3364
|
-
_this.change.emit();
|
|
3364
|
+
_this.change.emit({ item: item, response: response, status: status, header: header });
|
|
3365
3365
|
}
|
|
3366
3366
|
});
|
|
3367
3367
|
}
|
|
@@ -3401,7 +3401,6 @@
|
|
|
3401
3401
|
* @param {?} fileItem
|
|
3402
3402
|
* @return {?}
|
|
3403
3403
|
*/function (fileItem) {
|
|
3404
|
-
console.log('onAfterAddingFile');
|
|
3405
3404
|
_this.ch(fileItem);
|
|
3406
3405
|
});
|
|
3407
3406
|
this.uploader.onProgressItem = ( /**
|
|
@@ -3916,7 +3915,7 @@
|
|
|
3916
3915
|
if (p.sort_field != "")
|
|
3917
3916
|
p.sort_field = p.sort_field + ',';
|
|
3918
3917
|
if (params.sortModel[i].colId == 'autori')
|
|
3919
|
-
p.sort_field = p.sort_field + "case when CHARINDEX('" +
|
|
3918
|
+
p.sort_field = p.sort_field + "case when CHARINDEX('" + _this.m_appService.user + "',autori)>0 then 1 else 0 end" + ' ' + params.sortModel[i].sort;
|
|
3920
3919
|
else
|
|
3921
3920
|
p.sort_field = p.sort_field + params.sortModel[i].colId + ' ' + params.sortModel[i].sort;
|
|
3922
3921
|
}
|
|
@@ -4375,7 +4374,7 @@
|
|
|
4375
4374
|
if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
|
|
4376
4375
|
p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
|
|
4377
4376
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
4378
|
-
p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter,
|
|
4377
|
+
p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
|
|
4379
4378
|
_this._dataService.doQuery(p).subscribe(( /**
|
|
4380
4379
|
* @param {?} data
|
|
4381
4380
|
* @return {?}
|
|
@@ -4437,7 +4436,7 @@
|
|
|
4437
4436
|
if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
|
|
4438
4437
|
p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
|
|
4439
4438
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
4440
|
-
p.values = [result, _this.grid_key, p_col, p_sort, p_filter,
|
|
4439
|
+
p.values = [result, _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
|
|
4441
4440
|
_this._dataService.doQuery(p).subscribe(( /**
|
|
4442
4441
|
* @param {?} data
|
|
4443
4442
|
* @return {?}
|
|
@@ -4977,7 +4976,6 @@
|
|
|
4977
4976
|
*/
|
|
4978
4977
|
function () {
|
|
4979
4978
|
var _this = this;
|
|
4980
|
-
console.log('REF_DT');
|
|
4981
4979
|
if (this.gridOptions == null)
|
|
4982
4980
|
setTimeout(( /**
|
|
4983
4981
|
* @return {?}
|
|
@@ -12595,7 +12593,7 @@
|
|
|
12595
12593
|
if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
|
|
12596
12594
|
p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
|
|
12597
12595
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
12598
|
-
p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter,
|
|
12596
|
+
p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
|
|
12599
12597
|
_this._dataService.doQuery(p).subscribe(( /**
|
|
12600
12598
|
* @param {?} data
|
|
12601
12599
|
* @return {?}
|