@fluxhub/fluxhub-lib 1.0.598 → 1.0.599
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 +18 -5
- 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 +15 -6
- package/esm5/lib/controls/fhupload.js +19 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +18 -5
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhupload.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3692,6 +3692,23 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3692
3692
|
}
|
|
3693
3693
|
}));
|
|
3694
3694
|
};
|
|
3695
|
+
/**
|
|
3696
|
+
* @return {?}
|
|
3697
|
+
*/
|
|
3698
|
+
FHUploadComponent.prototype.load_types = /**
|
|
3699
|
+
* @return {?}
|
|
3700
|
+
*/
|
|
3701
|
+
function () {
|
|
3702
|
+
var _this = this;
|
|
3703
|
+
if (this.cmb_tipo == null) {
|
|
3704
|
+
setTimeout((/**
|
|
3705
|
+
* @return {?}
|
|
3706
|
+
*/
|
|
3707
|
+
function () { _this.load_types(); }), 200);
|
|
3708
|
+
return;
|
|
3709
|
+
}
|
|
3710
|
+
this.cmb_tipo.fillCombo();
|
|
3711
|
+
};
|
|
3695
3712
|
/**
|
|
3696
3713
|
* @return {?}
|
|
3697
3714
|
*/
|
|
@@ -3704,11 +3721,6 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3704
3721
|
var uo = {};
|
|
3705
3722
|
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
|
|
3706
3723
|
// console.log('ngOnInit!!');
|
|
3707
|
-
if (this.multi_list)
|
|
3708
|
-
setTimeout((/**
|
|
3709
|
-
* @return {?}
|
|
3710
|
-
*/
|
|
3711
|
-
function () { _this.cmb_tipo.fillCombo(); }), 100);
|
|
3712
3724
|
this.uploader.setOptions(uo);
|
|
3713
3725
|
this.uploader.onCompleteAll = (/**
|
|
3714
3726
|
* @return {?}
|
|
@@ -3865,6 +3877,7 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3865
3877
|
// console.log('init! ',this.tipo)
|
|
3866
3878
|
if (this.tipo.indexOf('SELECT_') > -1) {
|
|
3867
3879
|
this.multi_list = true;
|
|
3880
|
+
this.load_types();
|
|
3868
3881
|
//console.log('fillCombo');
|
|
3869
3882
|
}
|
|
3870
3883
|
};
|