iptdevs-design-system 3.1.380 → 3.1.382
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/logic/calculate-quotes.service.mjs +17 -17
- package/esm2020/lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component.mjs +31 -0
- package/esm2020/lib/cod-self-managed/cod-self-managed.module.mjs +56 -0
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.mjs +11 -0
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +11 -0
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.mjs +11 -0
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.mjs +11 -0
- package/esm2020/lib/design-system.module.mjs +14 -7
- package/esm2020/public-api.mjs +10 -1
- package/fesm2015/iptdevs-design-system.mjs +140 -23
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +140 -23
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod/logic/calculate-quotes.service.d.ts +1 -1
- package/lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component.d.ts +9 -0
- package/lib/cod-self-managed/cod-self-managed.module.d.ts +15 -0
- package/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.d.ts +5 -0
- package/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.d.ts +5 -0
- package/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.d.ts +5 -0
- package/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.d.ts +5 -0
- package/lib/design-system.module.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
|
@@ -34,6 +34,8 @@ import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
|
34
34
|
import * as i8 from 'primeng/inputtext';
|
|
35
35
|
import { InputTextModule } from 'primeng/inputtext';
|
|
36
36
|
import * as i1$3 from '@angular/router';
|
|
37
|
+
import * as i1$4 from 'primeng/steps';
|
|
38
|
+
import { StepsModule } from 'primeng/steps';
|
|
37
39
|
|
|
38
40
|
class AsideButtonComponent {
|
|
39
41
|
constructor() {
|
|
@@ -4002,7 +4004,7 @@ class CalculateQuotesService {
|
|
|
4002
4004
|
dataFinancing.push(quota);
|
|
4003
4005
|
while (index < params.quotaTimes) {
|
|
4004
4006
|
index = index + 1;
|
|
4005
|
-
let newJsDate = this.
|
|
4007
|
+
let newJsDate = this.setPlusOneMonth(dateJs, isEndMonth);
|
|
4006
4008
|
let row = [
|
|
4007
4009
|
index,
|
|
4008
4010
|
Intl.NumberFormat('en-US', {
|
|
@@ -4018,30 +4020,30 @@ class CalculateQuotesService {
|
|
|
4018
4020
|
}
|
|
4019
4021
|
return dataFinancing;
|
|
4020
4022
|
}
|
|
4021
|
-
|
|
4022
|
-
// let response: Date [] = [];
|
|
4023
|
-
// let oneDayMilis = 1000 * 3600 * 24;
|
|
4024
|
-
// let day = isEndMonth ? this.monthsDays[(originDate.getMonth() + 1)%12]: originDate.getDate();
|
|
4025
|
-
// let plusMonthDate: Date = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
|
|
4026
|
-
// response.push(new Date(originDate.getFullYear(), originDate.getMonth() + 1, day));
|
|
4027
|
-
// while(plusMonthDate.getDay() === 0) {
|
|
4028
|
-
// plusMonthDate.setMilliseconds(originDate.getMilliseconds() - oneDayMilis);
|
|
4029
|
-
// }
|
|
4030
|
-
// response.push(plusMonthDate);
|
|
4031
|
-
// return response;
|
|
4032
|
-
// }
|
|
4033
|
-
setPlusOneMonth2(originDate, isEndMonth) {
|
|
4023
|
+
setPlusOneMonth(originDate, isEndMonth) {
|
|
4034
4024
|
let response = [];
|
|
4035
4025
|
let oneDayMilis = 1000 * 3600 * 24;
|
|
4036
4026
|
let day = isEndMonth ? this.monthsDays[(originDate.getMonth() + 1) % 12] : originDate.getDate();
|
|
4037
4027
|
let plusMonthDate = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
|
|
4028
|
+
response.push(new Date(originDate.getFullYear(), originDate.getMonth() + 1, day));
|
|
4038
4029
|
while (plusMonthDate.getDay() === 0) {
|
|
4039
|
-
plusMonthDate.setMilliseconds(
|
|
4030
|
+
plusMonthDate.setMilliseconds(originDate.getMilliseconds() - oneDayMilis);
|
|
4040
4031
|
}
|
|
4041
4032
|
response.push(plusMonthDate);
|
|
4042
|
-
response.push(new Date(originDate.getFullYear(), originDate.getMonth() + 1, day + 1));
|
|
4043
4033
|
return response;
|
|
4044
4034
|
}
|
|
4035
|
+
// setPlusOneMonth2(originDate: Date, isEndMonth: boolean): Date[] {
|
|
4036
|
+
// let response: Date[] = [];
|
|
4037
|
+
// let oneDayMilis = 1000 * 3600 * 24;
|
|
4038
|
+
// let day = isEndMonth ? this.monthsDays[(originDate.getMonth() + 1) % 12] : originDate.getDate();
|
|
4039
|
+
// let plusMonthDate: Date = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
|
|
4040
|
+
// while (plusMonthDate.getDay() === 0) {
|
|
4041
|
+
// plusMonthDate.setMilliseconds(plusMonthDate.getMilliseconds() - oneDayMilis);
|
|
4042
|
+
// }
|
|
4043
|
+
// response.push(plusMonthDate);
|
|
4044
|
+
// response.push(new Date(originDate.getFullYear(), originDate.getMonth() + 1, day + 1));
|
|
4045
|
+
// return response;
|
|
4046
|
+
// }
|
|
4045
4047
|
getStringDate(originDate) {
|
|
4046
4048
|
let month = originDate.getMonth() + 1;
|
|
4047
4049
|
let stringMonth = month < 10 ? '0' + month : month;
|
|
@@ -6093,23 +6095,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
6093
6095
|
}]
|
|
6094
6096
|
}] });
|
|
6095
6097
|
|
|
6098
|
+
class CodSelfManagedComponent {
|
|
6099
|
+
constructor() {
|
|
6100
|
+
this.items = [];
|
|
6101
|
+
}
|
|
6102
|
+
ngOnInit() {
|
|
6103
|
+
this.items = [
|
|
6104
|
+
{
|
|
6105
|
+
label: 'Personal',
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
label: 'Planes',
|
|
6109
|
+
},
|
|
6110
|
+
{
|
|
6111
|
+
label: 'Payment',
|
|
6112
|
+
},
|
|
6113
|
+
{
|
|
6114
|
+
label: 'Confirmation',
|
|
6115
|
+
}
|
|
6116
|
+
];
|
|
6117
|
+
}
|
|
6118
|
+
}
|
|
6119
|
+
CodSelfManagedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6120
|
+
CodSelfManagedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfManagedComponent, selector: "ipt-cod-self-managed", ngImport: i0, template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\"></p-steps>\n\n\n\n<!-- <ipt-loader *ngIf=\"isLoading\" [isDialog]=\"false\"></ipt-loader> -->\n", dependencies: [{ kind: "component", type: i1$4.Steps, selector: "p-steps", inputs: ["activeIndex", "model", "readonly", "style", "styleClass"], outputs: ["activeIndexChange"] }] });
|
|
6121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfManagedComponent, decorators: [{
|
|
6122
|
+
type: Component,
|
|
6123
|
+
args: [{ selector: 'ipt-cod-self-managed', template: "<h3>Cod Autogestionado</h3>\n\n<p-steps [model]=\"items\"></p-steps>\n\n\n\n<!-- <ipt-loader *ngIf=\"isLoading\" [isDialog]=\"false\"></ipt-loader> -->\n" }]
|
|
6124
|
+
}] });
|
|
6125
|
+
|
|
6126
|
+
class CodSelfFormStepOneComponent {
|
|
6127
|
+
}
|
|
6128
|
+
CodSelfFormStepOneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepOneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6129
|
+
CodSelfFormStepOneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepOneComponent, selector: "app-cod-self-form-step-one", ngImport: i0, template: "", styles: [""] });
|
|
6130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepOneComponent, decorators: [{
|
|
6131
|
+
type: Component,
|
|
6132
|
+
args: [{ selector: 'app-cod-self-form-step-one', template: "" }]
|
|
6133
|
+
}] });
|
|
6134
|
+
|
|
6135
|
+
class CodSelfFormStepTwoComponent {
|
|
6136
|
+
}
|
|
6137
|
+
CodSelfFormStepTwoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6138
|
+
CodSelfFormStepTwoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepTwoComponent, selector: "app-cod-self-form-step-two", ngImport: i0, template: "", styles: [""] });
|
|
6139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepTwoComponent, decorators: [{
|
|
6140
|
+
type: Component,
|
|
6141
|
+
args: [{ selector: 'app-cod-self-form-step-two', template: "" }]
|
|
6142
|
+
}] });
|
|
6143
|
+
|
|
6144
|
+
class CodSelfFormStepThreeComponent {
|
|
6145
|
+
}
|
|
6146
|
+
CodSelfFormStepThreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6147
|
+
CodSelfFormStepThreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepThreeComponent, selector: "app-cod-self-form-step-three", ngImport: i0, template: "", styles: [""] });
|
|
6148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepThreeComponent, decorators: [{
|
|
6149
|
+
type: Component,
|
|
6150
|
+
args: [{ selector: 'app-cod-self-form-step-three', template: "" }]
|
|
6151
|
+
}] });
|
|
6152
|
+
|
|
6153
|
+
class CodSelfFormStepFourComponent {
|
|
6154
|
+
}
|
|
6155
|
+
CodSelfFormStepFourComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6156
|
+
CodSelfFormStepFourComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: CodSelfFormStepFourComponent, selector: "app-cod-self-form-step-four", ngImport: i0, template: "", styles: [""] });
|
|
6157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodSelfFormStepFourComponent, decorators: [{
|
|
6158
|
+
type: Component,
|
|
6159
|
+
args: [{ selector: 'app-cod-self-form-step-four', template: "" }]
|
|
6160
|
+
}] });
|
|
6161
|
+
|
|
6162
|
+
class codSelfManagedModule {
|
|
6163
|
+
}
|
|
6164
|
+
codSelfManagedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6165
|
+
codSelfManagedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, declarations: [CodSelfManagedComponent,
|
|
6166
|
+
CodSelfFormStepOneComponent,
|
|
6167
|
+
CodSelfFormStepTwoComponent,
|
|
6168
|
+
CodSelfFormStepThreeComponent,
|
|
6169
|
+
CodSelfFormStepFourComponent], imports: [CommonModule,
|
|
6170
|
+
ComponentsModule,
|
|
6171
|
+
ReactiveFormsModule,
|
|
6172
|
+
StepsModule], exports: [CodSelfManagedComponent,
|
|
6173
|
+
CodSelfFormStepOneComponent,
|
|
6174
|
+
CodSelfFormStepTwoComponent,
|
|
6175
|
+
CodSelfFormStepThreeComponent,
|
|
6176
|
+
CodSelfFormStepFourComponent] });
|
|
6177
|
+
codSelfManagedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, imports: [CommonModule,
|
|
6178
|
+
ComponentsModule,
|
|
6179
|
+
ReactiveFormsModule,
|
|
6180
|
+
StepsModule] });
|
|
6181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: codSelfManagedModule, decorators: [{
|
|
6182
|
+
type: NgModule,
|
|
6183
|
+
args: [{
|
|
6184
|
+
imports: [
|
|
6185
|
+
CommonModule,
|
|
6186
|
+
ComponentsModule,
|
|
6187
|
+
ReactiveFormsModule,
|
|
6188
|
+
StepsModule,
|
|
6189
|
+
],
|
|
6190
|
+
declarations: [
|
|
6191
|
+
CodSelfManagedComponent,
|
|
6192
|
+
CodSelfFormStepOneComponent,
|
|
6193
|
+
CodSelfFormStepTwoComponent,
|
|
6194
|
+
CodSelfFormStepThreeComponent,
|
|
6195
|
+
CodSelfFormStepFourComponent,
|
|
6196
|
+
],
|
|
6197
|
+
exports: [
|
|
6198
|
+
CodSelfManagedComponent,
|
|
6199
|
+
CodSelfFormStepOneComponent,
|
|
6200
|
+
CodSelfFormStepTwoComponent,
|
|
6201
|
+
CodSelfFormStepThreeComponent,
|
|
6202
|
+
CodSelfFormStepFourComponent,
|
|
6203
|
+
],
|
|
6204
|
+
}]
|
|
6205
|
+
}] });
|
|
6206
|
+
|
|
6096
6207
|
class DesignSystemModule {
|
|
6097
6208
|
}
|
|
6098
6209
|
DesignSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: DesignSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6099
6210
|
DesignSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.7", ngImport: i0, type: DesignSystemModule, imports: [ComponentsModule,
|
|
6100
6211
|
CoreModule,
|
|
6101
6212
|
CurrencyMaskModule,
|
|
6102
|
-
CodModule
|
|
6213
|
+
CodModule,
|
|
6214
|
+
codSelfManagedModule], exports: [ComponentsModule,
|
|
6103
6215
|
CoreModule,
|
|
6104
6216
|
CurrencyMaskModule,
|
|
6105
|
-
CodModule
|
|
6217
|
+
CodModule,
|
|
6218
|
+
codSelfManagedModule] });
|
|
6106
6219
|
DesignSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: DesignSystemModule, imports: [ComponentsModule,
|
|
6107
6220
|
CoreModule,
|
|
6108
6221
|
CurrencyMaskModule,
|
|
6109
|
-
CodModule,
|
|
6222
|
+
CodModule,
|
|
6223
|
+
codSelfManagedModule, ComponentsModule,
|
|
6110
6224
|
CoreModule,
|
|
6111
6225
|
CurrencyMaskModule,
|
|
6112
|
-
CodModule
|
|
6226
|
+
CodModule,
|
|
6227
|
+
codSelfManagedModule] });
|
|
6113
6228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: DesignSystemModule, decorators: [{
|
|
6114
6229
|
type: NgModule,
|
|
6115
6230
|
args: [{
|
|
@@ -6117,13 +6232,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
6117
6232
|
ComponentsModule,
|
|
6118
6233
|
CoreModule,
|
|
6119
6234
|
CurrencyMaskModule,
|
|
6120
|
-
CodModule
|
|
6235
|
+
CodModule,
|
|
6236
|
+
codSelfManagedModule
|
|
6121
6237
|
],
|
|
6122
6238
|
exports: [
|
|
6123
6239
|
ComponentsModule,
|
|
6124
6240
|
CoreModule,
|
|
6125
6241
|
CurrencyMaskModule,
|
|
6126
|
-
CodModule
|
|
6242
|
+
CodModule,
|
|
6243
|
+
codSelfManagedModule
|
|
6127
6244
|
],
|
|
6128
6245
|
}]
|
|
6129
6246
|
}] });
|
|
@@ -6263,5 +6380,5 @@ class IUserFullDataRs {
|
|
|
6263
6380
|
* Generated bundle index. Do not edit.
|
|
6264
6381
|
*/
|
|
6265
6382
|
|
|
6266
|
-
export { AcademicService, ActivityService, AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalculateQuotesService, CalendarService, CertificateService, CheckboxComponent, ClassroomService, CodDocumentsSectionComponent, CodFormComponent, CodFormControls, CodFormStepFiveComponent, CodFormStepFourComponent, CodFormStepOneComponent, CodFormStepThreeComponent, CodFormStepTwoComponent, CodFormSteps, CodModule, CommercialService, CommunicatorService, ComponentsModule, CopiesService, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, IUnitNameClubRs, IUserFullDataRs, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LocalStorageCODService, LoginFormComponent, MarketingService, NotesService, ParameterService, PlacementService, QuestionTypeComponent, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserEktService, UserLoginRs, UserRs, UserService, validateCoupunts };
|
|
6383
|
+
export { AcademicService, ActivityService, AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalculateQuotesService, CalendarService, CertificateService, CheckboxComponent, ClassroomService, CodDocumentsSectionComponent, CodFormComponent, CodFormControls, CodFormStepFiveComponent, CodFormStepFourComponent, CodFormStepOneComponent, CodFormStepThreeComponent, CodFormStepTwoComponent, CodFormSteps, CodModule, CodSelfFormStepFourComponent, CodSelfFormStepOneComponent, CodSelfFormStepThreeComponent, CodSelfFormStepTwoComponent, CodSelfManagedComponent, CommercialService, CommunicatorService, ComponentsModule, CopiesService, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, IUnitNameClubRs, IUserFullDataRs, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LocalStorageCODService, LoginFormComponent, MarketingService, NotesService, ParameterService, PlacementService, QuestionTypeComponent, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserEktService, UserLoginRs, UserRs, UserService, codSelfManagedModule, validateCoupunts };
|
|
6267
6384
|
//# sourceMappingURL=iptdevs-design-system.mjs.map
|