iptdevs-design-system 3.2.26 → 3.2.28
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/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +4 -4
- package/esm2020/lib/core/models/budget/budget.model.mjs +1 -1
- package/esm2020/lib/core/models/parameters/parameters-rs.model.mjs +1 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +16 -1
- package/fesm2015/iptdevs-design-system.mjs +18 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +18 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/budget/budget.model.d.ts +22 -0
- package/lib/core/models/parameters/parameters-rs.model.d.ts +1 -1
- package/lib/core/services/budget-service/budget-service.d.ts +4 -1
- package/package.json +1 -1
|
@@ -5275,7 +5275,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
5275
5275
|
this.stratums = this.parametersAll?.stratum;
|
|
5276
5276
|
this.civilStatus = this.parametersAll?.civilStatus;
|
|
5277
5277
|
this.cities = this.parametersAll?.city;
|
|
5278
|
-
this.states = this.parametersAll?.
|
|
5278
|
+
this.states = this.parametersAll?.state;
|
|
5279
5279
|
if (this.parametersAll && this.parametersAll.gender) {
|
|
5280
5280
|
this.genders = this.parametersAll.gender.map((gender) => ({
|
|
5281
5281
|
code: gender.code,
|
|
@@ -5315,8 +5315,8 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
5315
5315
|
const countryNumber = typeof country === 'string' ? parseInt(country, 10) : country;
|
|
5316
5316
|
if (country != null) {
|
|
5317
5317
|
this.codFormStepTwo.controls['country'].setValue(country);
|
|
5318
|
-
if (this.parametersAll && this.parametersAll?.
|
|
5319
|
-
this.states = this.parametersAll.
|
|
5318
|
+
if (this.parametersAll && this.parametersAll?.state) {
|
|
5319
|
+
this.states = this.parametersAll.state.filter((course) => {
|
|
5320
5320
|
const state = typeof course.country === 'string'
|
|
5321
5321
|
? parseInt(course.country, 10)
|
|
5322
5322
|
: course.country;
|
|
@@ -7693,6 +7693,21 @@ class BudgetService extends IPTGeneralService {
|
|
|
7693
7693
|
this.generateRequestParams(params);
|
|
7694
7694
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
7695
7695
|
}
|
|
7696
|
+
addNewQuotaWithComments(params) {
|
|
7697
|
+
let serviceUrl = this.SERVICE_URL + 'add/new/quota/with/comments';
|
|
7698
|
+
this.generateRequestParams(params);
|
|
7699
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
7700
|
+
}
|
|
7701
|
+
deleteQuotaRecordWithComments(params) {
|
|
7702
|
+
let serviceUrl = this.SERVICE_URL + 'delete/quota/record/with/comments';
|
|
7703
|
+
this.generateRequestParams(params);
|
|
7704
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
7705
|
+
}
|
|
7706
|
+
modifyQuotaDataWithComments(params) {
|
|
7707
|
+
let serviceUrl = this.SERVICE_URL + 'modify/quota/data/with/comments';
|
|
7708
|
+
this.generateRequestParams(params);
|
|
7709
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
7710
|
+
}
|
|
7696
7711
|
}
|
|
7697
7712
|
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7698
7713
|
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: BudgetService, providedIn: 'root' });
|