@hitsoft/e-donusum 1.0.57 → 1.0.58
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/esm2020/lib/components/hit-params-companies/hit-params-company.component.mjs +9 -9
- package/fesm2015/hitsoft-e-donusum.mjs +13 -17
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +8 -8
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/lib/components/hit-params-companies/hit-params-company.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -6716,9 +6716,9 @@ class HitParamsCompanyComponent {
|
|
|
6716
6716
|
this.valid = new EventEmitter();
|
|
6717
6717
|
this.paramsCompany = new EventEmitter();
|
|
6718
6718
|
}
|
|
6719
|
-
|
|
6719
|
+
ngOnInit() {
|
|
6720
6720
|
this.buildForm();
|
|
6721
|
-
|
|
6721
|
+
this.getParamsCompany(true);
|
|
6722
6722
|
}
|
|
6723
6723
|
buildForm() {
|
|
6724
6724
|
debugger;
|
|
@@ -6770,9 +6770,9 @@ class HitParamsCompanyComponent {
|
|
|
6770
6770
|
.pipe(finalize$1(() => {
|
|
6771
6771
|
this.submitButtonDisabled = false;
|
|
6772
6772
|
}), tap$1(() => { }))
|
|
6773
|
-
.subscribe(
|
|
6773
|
+
.subscribe(data => {
|
|
6774
6774
|
// this.toasterService.success('eDonusum::TransactionSuccessful');
|
|
6775
|
-
|
|
6775
|
+
this.getParamsCompany();
|
|
6776
6776
|
this.valid.emit(true);
|
|
6777
6777
|
this.paramsCompany.emit(data);
|
|
6778
6778
|
}, err => {
|
|
@@ -6780,14 +6780,14 @@ class HitParamsCompanyComponent {
|
|
|
6780
6780
|
this.valid.emit(false);
|
|
6781
6781
|
});
|
|
6782
6782
|
}
|
|
6783
|
-
|
|
6784
|
-
this.hitParamsCompaniesService.getParamsCompany().
|
|
6783
|
+
getParamsCompany(buildForm = false) {
|
|
6784
|
+
return this.hitParamsCompaniesService.getParamsCompany().pipe(tap$1(data => {
|
|
6785
6785
|
this.paramsCompanyDto = data;
|
|
6786
6786
|
this.paramsCompany.emit(data);
|
|
6787
6787
|
if (buildForm)
|
|
6788
6788
|
this.buildForm();
|
|
6789
|
-
this.formParamsCompany
|
|
6790
|
-
});
|
|
6789
|
+
this.formParamsCompany?.get('isTestCompany')?.[this.paramsCompanyDto ? 'disable' : 'enable']();
|
|
6790
|
+
})).subscribe();
|
|
6791
6791
|
}
|
|
6792
6792
|
}
|
|
6793
6793
|
HitParamsCompanyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitParamsCompanyComponent, deps: [{ token: i1.ListService }, { token: i1.TrackByService }, { token: ParamsCompanyService }, { token: i3.ConfirmationService }, { token: i4.FormBuilder }, { token: HitParamsCompaniesService }, { token: i3.ToasterService }], target: i0.ɵɵFactoryTarget.Component });
|