@fluxhub/fluxhub-lib 1.0.598 → 1.0.600
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 +25 -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 +22 -6
- package/esm5/lib/controls/fhupload.js +26 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +25 -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,30 @@ 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
|
+
if (this.tipo == '') {
|
|
3711
|
+
setTimeout((/**
|
|
3712
|
+
* @return {?}
|
|
3713
|
+
*/
|
|
3714
|
+
function () { _this.load_types(); }), 200);
|
|
3715
|
+
return;
|
|
3716
|
+
}
|
|
3717
|
+
this.cmb_tipo.fillCombo();
|
|
3718
|
+
};
|
|
3695
3719
|
/**
|
|
3696
3720
|
* @return {?}
|
|
3697
3721
|
*/
|
|
@@ -3704,11 +3728,6 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3704
3728
|
var uo = {};
|
|
3705
3729
|
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
|
|
3706
3730
|
// console.log('ngOnInit!!');
|
|
3707
|
-
if (this.multi_list)
|
|
3708
|
-
setTimeout((/**
|
|
3709
|
-
* @return {?}
|
|
3710
|
-
*/
|
|
3711
|
-
function () { _this.cmb_tipo.fillCombo(); }), 100);
|
|
3712
3731
|
this.uploader.setOptions(uo);
|
|
3713
3732
|
this.uploader.onCompleteAll = (/**
|
|
3714
3733
|
* @return {?}
|
|
@@ -3865,6 +3884,7 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
3865
3884
|
// console.log('init! ',this.tipo)
|
|
3866
3885
|
if (this.tipo.indexOf('SELECT_') > -1) {
|
|
3867
3886
|
this.multi_list = true;
|
|
3887
|
+
this.load_types();
|
|
3868
3888
|
//console.log('fillCombo');
|
|
3869
3889
|
}
|
|
3870
3890
|
};
|