@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
|
@@ -3714,6 +3714,30 @@
|
|
|
3714
3714
|
}
|
|
3715
3715
|
}));
|
|
3716
3716
|
};
|
|
3717
|
+
/**
|
|
3718
|
+
* @return {?}
|
|
3719
|
+
*/
|
|
3720
|
+
FHUploadComponent.prototype.load_types = /**
|
|
3721
|
+
* @return {?}
|
|
3722
|
+
*/
|
|
3723
|
+
function () {
|
|
3724
|
+
var _this = this;
|
|
3725
|
+
if (this.cmb_tipo == null) {
|
|
3726
|
+
setTimeout((/**
|
|
3727
|
+
* @return {?}
|
|
3728
|
+
*/
|
|
3729
|
+
function () { _this.load_types(); }), 200);
|
|
3730
|
+
return;
|
|
3731
|
+
}
|
|
3732
|
+
if (this.tipo == '') {
|
|
3733
|
+
setTimeout((/**
|
|
3734
|
+
* @return {?}
|
|
3735
|
+
*/
|
|
3736
|
+
function () { _this.load_types(); }), 200);
|
|
3737
|
+
return;
|
|
3738
|
+
}
|
|
3739
|
+
this.cmb_tipo.fillCombo();
|
|
3740
|
+
};
|
|
3717
3741
|
/**
|
|
3718
3742
|
* @return {?}
|
|
3719
3743
|
*/
|
|
@@ -3726,11 +3750,6 @@
|
|
|
3726
3750
|
var uo = {};
|
|
3727
3751
|
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
|
|
3728
3752
|
// console.log('ngOnInit!!');
|
|
3729
|
-
if (this.multi_list)
|
|
3730
|
-
setTimeout((/**
|
|
3731
|
-
* @return {?}
|
|
3732
|
-
*/
|
|
3733
|
-
function () { _this.cmb_tipo.fillCombo(); }), 100);
|
|
3734
3753
|
this.uploader.setOptions(uo);
|
|
3735
3754
|
this.uploader.onCompleteAll = (/**
|
|
3736
3755
|
* @return {?}
|
|
@@ -3887,6 +3906,7 @@
|
|
|
3887
3906
|
// console.log('init! ',this.tipo)
|
|
3888
3907
|
if (this.tipo.indexOf('SELECT_') > -1) {
|
|
3889
3908
|
this.multi_list = true;
|
|
3909
|
+
this.load_types();
|
|
3890
3910
|
//console.log('fillCombo');
|
|
3891
3911
|
}
|
|
3892
3912
|
};
|