@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
|
@@ -3714,6 +3714,23 @@
|
|
|
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
|
+
this.cmb_tipo.fillCombo();
|
|
3733
|
+
};
|
|
3717
3734
|
/**
|
|
3718
3735
|
* @return {?}
|
|
3719
3736
|
*/
|
|
@@ -3726,11 +3743,6 @@
|
|
|
3726
3743
|
var uo = {};
|
|
3727
3744
|
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
|
|
3728
3745
|
// console.log('ngOnInit!!');
|
|
3729
|
-
if (this.multi_list)
|
|
3730
|
-
setTimeout((/**
|
|
3731
|
-
* @return {?}
|
|
3732
|
-
*/
|
|
3733
|
-
function () { _this.cmb_tipo.fillCombo(); }), 100);
|
|
3734
3746
|
this.uploader.setOptions(uo);
|
|
3735
3747
|
this.uploader.onCompleteAll = (/**
|
|
3736
3748
|
* @return {?}
|
|
@@ -3887,6 +3899,7 @@
|
|
|
3887
3899
|
// console.log('init! ',this.tipo)
|
|
3888
3900
|
if (this.tipo.indexOf('SELECT_') > -1) {
|
|
3889
3901
|
this.multi_list = true;
|
|
3902
|
+
this.load_types();
|
|
3890
3903
|
//console.log('fillCombo');
|
|
3891
3904
|
}
|
|
3892
3905
|
};
|