iptdevs-design-system 2.7.43 → 2.7.44
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/README.md +24 -24
- package/esm2020/iptdevs-design-system.mjs +4 -4
- package/esm2020/lib/cod/cod-documents-section/cod-documents-section.component.mjs +16 -16
- package/esm2020/lib/cod/cod-form/cod-form.component.mjs +227 -227
- package/esm2020/lib/cod/cod.module.mjs +90 -90
- package/esm2020/lib/cod/logic/calculate-quotes.service.mjs +72 -72
- package/esm2020/lib/cod/logic/cod-form-controls.mjs +91 -91
- package/esm2020/lib/cod/logic/cod-form-steps.mjs +29 -29
- package/esm2020/lib/cod/logic/communicator.service.mjs +28 -28
- package/esm2020/lib/cod/logic/local-storage-cod.service.mjs +39 -39
- package/esm2020/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.mjs +146 -146
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +251 -251
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +200 -200
- package/esm2020/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.mjs +175 -175
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +255 -255
- package/esm2020/lib/components/atoms/aside-button/aside-button.component.mjs +50 -50
- package/esm2020/lib/components/atoms/button/button.component.mjs +64 -64
- package/esm2020/lib/components/atoms/checkbox/checkbox.component.mjs +47 -47
- package/esm2020/lib/components/atoms/datalist/datalist.component.mjs +94 -94
- package/esm2020/lib/components/atoms/input/input.component.mjs +145 -145
- package/esm2020/lib/components/atoms/level-button/level-button.component.mjs +64 -64
- package/esm2020/lib/components/atoms/level-text/level-text.component.mjs +19 -19
- package/esm2020/lib/components/atoms/loader/loader.component.mjs +48 -48
- package/esm2020/lib/components/atoms/radio/radio.component.mjs +47 -47
- package/esm2020/lib/components/atoms/select/select.component.mjs +102 -102
- package/esm2020/lib/components/atoms/text-link/text-link.component.mjs +39 -39
- package/esm2020/lib/components/components.module.mjs +123 -123
- package/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +228 -228
- package/esm2020/lib/components/forms/login-form/login-form.component.mjs +93 -93
- package/esm2020/lib/components/material.module.mjs +19 -19
- package/esm2020/lib/components/molecules/question-type/edit-question-types.component.mjs +346 -346
- package/esm2020/lib/components/molecules/sidenav/sidenav.component.mjs +150 -150
- package/esm2020/lib/core/core.module.mjs +73 -73
- package/esm2020/lib/core/models/academic/academic.component.mjs +2 -2
- package/esm2020/lib/core/models/activities/activities.interface.mjs +2 -2
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +2 -2
- package/esm2020/lib/core/models/budget/budget.model.mjs +2 -2
- package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +2 -2
- package/esm2020/lib/core/models/classroom/classroom-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/cod/cod-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +2 -2
- package/esm2020/lib/core/models/course/course-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/course/courses.model.mjs +2 -2
- package/esm2020/lib/core/models/cronogram/cronogram.models.mjs +2 -2
- package/esm2020/lib/core/models/marketing/marketing.model.mjs +2 -2
- package/esm2020/lib/core/models/notes/notes.interface.mjs +2 -2
- package/esm2020/lib/core/models/payment/payment-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/response/response.interface.mjs +2 -2
- package/esm2020/lib/core/models/session/session.model.mjs +3 -3
- package/esm2020/lib/core/models/student/student.interface.mjs +2 -2
- package/esm2020/lib/core/models/table/table-rs.model.mjs +2 -2
- package/esm2020/lib/core/models/test/test.model.mjs +2 -2
- package/esm2020/lib/core/models/url/url.model.mjs +2 -2
- package/esm2020/lib/core/models/user/user-rq.model.mjs +2 -2
- package/esm2020/lib/core/models/user/user-rs.model.mjs +5 -5
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +55 -55
- package/esm2020/lib/core/services/activity-service/activity.service.mjs +87 -87
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +64 -64
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +66 -66
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +65 -65
- package/esm2020/lib/core/services/certificate-service/certificate.service.mjs +26 -26
- package/esm2020/lib/core/services/classroom-service/classroom-service.service.mjs +36 -36
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +49 -49
- package/esm2020/lib/core/services/commercial-service/validators.mjs +4 -4
- package/esm2020/lib/core/services/copies.service.mjs +17 -17
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +70 -70
- package/esm2020/lib/core/services/ekt-service/userekt.service.mjs +29 -29
- package/esm2020/lib/core/services/marketing-service/marketing-service.mjs +52 -52
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +46 -46
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +173 -173
- package/esm2020/lib/core/services/service-enviroments.mjs +26 -26
- package/esm2020/lib/core/services/storage-service/storage-service.mjs +50 -50
- package/esm2020/lib/core/services/student-service/student.service.mjs +26 -26
- package/esm2020/lib/core/services/switch-service/switch.service.mjs +16 -16
- package/esm2020/lib/core/services/test-service/test.service.mjs +128 -128
- package/esm2020/lib/core/services/user-service/user-service.mjs +100 -100
- package/esm2020/lib/core/utils/base-service/base.service.mjs +191 -191
- package/esm2020/lib/core/utils/copies.mjs +214 -214
- package/esm2020/lib/core/utils/route-service/route.service.mjs +18 -18
- package/esm2020/lib/design-system.module.mjs +40 -40
- package/esm2020/public-api.mjs +89 -89
- package/fesm2015/iptdevs-design-system.mjs +4592 -4592
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4589 -4589
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/iptdevs-design-system.d.ts +5 -5
- package/lib/cod/cod-documents-section/cod-documents-section.component.d.ts +8 -8
- package/lib/cod/cod-form/cod-form.component.d.ts +37 -37
- package/lib/cod/cod.module.d.ts +21 -21
- package/lib/cod/logic/calculate-quotes.service.d.ts +14 -14
- package/lib/cod/logic/cod-form-controls.d.ts +16 -16
- package/lib/cod/logic/cod-form-steps.d.ts +15 -15
- package/lib/cod/logic/communicator.service.d.ts +13 -13
- package/lib/cod/logic/local-storage-cod.service.d.ts +8 -8
- package/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.d.ts +31 -31
- package/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.d.ts +47 -47
- package/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.d.ts +46 -46
- package/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.d.ts +35 -35
- package/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.d.ts +44 -44
- package/lib/components/atoms/aside-button/aside-button.component.d.ts +11 -11
- package/lib/components/atoms/button/button.component.d.ts +13 -13
- package/lib/components/atoms/checkbox/checkbox.component.d.ts +11 -11
- package/lib/components/atoms/datalist/datalist.component.d.ts +20 -20
- package/lib/components/atoms/input/input.component.d.ts +26 -26
- package/lib/components/atoms/level-button/level-button.component.d.ts +11 -11
- package/lib/components/atoms/level-text/level-text.component.d.ts +7 -7
- package/lib/components/atoms/loader/loader.component.d.ts +7 -7
- package/lib/components/atoms/radio/radio.component.d.ts +11 -11
- package/lib/components/atoms/select/select.component.d.ts +26 -26
- package/lib/components/atoms/text-link/text-link.component.d.ts +12 -12
- package/lib/components/components.module.d.ts +25 -25
- package/lib/components/forms/create-user-form/create-user-form.component.d.ts +36 -36
- package/lib/components/forms/login-form/login-form.component.d.ts +13 -13
- package/lib/components/material.module.d.ts +11 -11
- package/lib/components/molecules/question-type/edit-question-types.component.d.ts +11 -11
- package/lib/components/molecules/sidenav/sidenav.component.d.ts +25 -25
- package/lib/core/core.module.d.ts +6 -6
- package/lib/core/models/academic/academic.component.d.ts +26 -26
- package/lib/core/models/activities/activities.interface.d.ts +12 -12
- package/lib/core/models/attendance/attendance.interface.d.ts +62 -62
- package/lib/core/models/budget/budget.model.d.ts +69 -69
- package/lib/core/models/calendar/calendar-rq.models.d.ts +27 -27
- package/lib/core/models/classroom/classroom-rq.model.d.ts +23 -23
- package/lib/core/models/cod/cod-rq.model.d.ts +168 -168
- package/lib/core/models/commercial/commercial.model.d.ts +10 -10
- package/lib/core/models/course/course-rq.model.d.ts +86 -86
- package/lib/core/models/course/courses.model.d.ts +18 -18
- package/lib/core/models/cronogram/cronogram.models.d.ts +184 -183
- package/lib/core/models/marketing/marketing.model.d.ts +104 -104
- package/lib/core/models/notes/notes.interface.d.ts +89 -89
- package/lib/core/models/payment/payment-rq.model.d.ts +212 -212
- package/lib/core/models/response/response.interface.d.ts +10 -10
- package/lib/core/models/session/session.model.d.ts +5 -5
- package/lib/core/models/student/student.interface.d.ts +4 -4
- package/lib/core/models/table/table-rs.model.d.ts +7 -7
- package/lib/core/models/test/test.model.d.ts +219 -219
- package/lib/core/models/url/url.model.d.ts +8 -8
- package/lib/core/models/user/user-rq.model.d.ts +90 -90
- package/lib/core/models/user/user-rs.model.d.ts +35 -35
- package/lib/core/services/academic-service/academic.service.d.ts +20 -20
- package/lib/core/services/activity-service/activity.service.d.ts +25 -25
- package/lib/core/services/attendance-service/attendance.service.d.ts +22 -22
- package/lib/core/services/budget-service/budget-service.d.ts +23 -23
- package/lib/core/services/calendar-service/calendar.service.d.ts +23 -23
- package/lib/core/services/certificate-service/certificate.service.d.ts +13 -13
- package/lib/core/services/classroom-service/classroom-service.service.d.ts +15 -15
- package/lib/core/services/commercial-service/comercial.service.d.ts +19 -19
- package/lib/core/services/commercial-service/validators.d.ts +2 -2
- package/lib/core/services/copies.service.d.ts +7 -7
- package/lib/core/services/course-service/course-service.model.d.ts +23 -23
- package/lib/core/services/ekt-service/userekt.service.d.ts +13 -13
- package/lib/core/services/marketing-service/marketing-service.d.ts +19 -19
- package/lib/core/services/notes-service/notes.service.d.ts +18 -18
- package/lib/core/services/parameters-service/parameters.service.d.ts +49 -49
- package/lib/core/services/service-enviroments.d.ts +5 -5
- package/lib/core/services/storage-service/storage-service.d.ts +18 -18
- package/lib/core/services/student-service/student.service.d.ts +13 -13
- package/lib/core/services/switch-service/switch.service.d.ts +8 -8
- package/lib/core/services/test-service/test.service.d.ts +33 -33
- package/lib/core/services/user-service/user-service.d.ts +30 -30
- package/lib/core/utils/base-service/base.service.d.ts +23 -23
- package/lib/core/utils/copies.d.ts +1 -1
- package/lib/core/utils/route-service/route.service.d.ts +9 -9
- package/lib/design-system.module.d.ts +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +76 -76
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
-
import { Validators } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/forms";
|
|
5
|
-
import * as i2 from "../../../core/utils/base-service/base.service";
|
|
6
|
-
import * as i3 from "../../atoms/input/input.component";
|
|
7
|
-
import * as i4 from "../../atoms/button/button.component";
|
|
8
|
-
export class LoginFormComponent {
|
|
9
|
-
constructor(fb, baseService) {
|
|
10
|
-
this.baseService = baseService;
|
|
11
|
-
this.isLogged = new EventEmitter();
|
|
12
|
-
this.loginForm = fb.group({
|
|
13
|
-
email: ['', [Validators.required]],
|
|
14
|
-
password: ['', [Validators.required, Validators.minLength(3), Validators.maxLength(15)]],
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
login(data) {
|
|
18
|
-
this.baseService.webLogin(data.controls['email'].value, data.controls['password'].value).then((isLogged) => {
|
|
19
|
-
this.isLogged.emit(isLogged);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
LoginFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: LoginFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.BaseService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
LoginFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: LoginFormComponent, selector: "ipt-login-form", outputs: { isLogged: "isLogged" }, ngImport: i0, template: `
|
|
25
|
-
<div class="form-container">
|
|
26
|
-
|
|
27
|
-
<h2 style="text-align: center;">IPT PLATFORM</h2>
|
|
28
|
-
<hr>
|
|
29
|
-
|
|
30
|
-
<form (ngSubmit)="login(loginForm)" [formGroup]="loginForm">
|
|
31
|
-
<ipt-input
|
|
32
|
-
[inputType]="'text'"
|
|
33
|
-
[placeHolder]="'Email'"
|
|
34
|
-
[validateText]="'Debe ser @inglesparatodos.edu.co'"
|
|
35
|
-
[control]="loginForm.controls['email']"
|
|
36
|
-
></ipt-input>
|
|
37
|
-
|
|
38
|
-
<ipt-input
|
|
39
|
-
[inputType]="'password'"
|
|
40
|
-
[placeHolder]="'Password'"
|
|
41
|
-
[control]="loginForm.controls['password']"
|
|
42
|
-
></ipt-input>
|
|
43
|
-
</form>
|
|
44
|
-
|
|
45
|
-
<div class="button-container">
|
|
46
|
-
<ipt-button
|
|
47
|
-
[label]="'Login'"
|
|
48
|
-
[primary]="true"
|
|
49
|
-
[isEnabled]="loginForm.valid"
|
|
50
|
-
(onClick)="login(loginForm)"
|
|
51
|
-
></ipt-button>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
</div>
|
|
55
|
-
`, isInline: true, styles: [".form-container{display:grid;grid-template-columns:1fr;justify-items:center;width:350px}.with-background{background-color:#fff;border-radius:25px;box-shadow:#32325d40 0 50px 100px -20px,#0000004d 0 30px 60px -30px}h2{color:#1c77f7}hr{width:80%}form{margin-bottom:60px;display:grid;grid-template-columns:1fr;grid-gap:30px;gap:30px;width:100%}.button-container{margin-bottom:70px;align-items:center;display:flex;gap:50px}footer{background-color:#1c77f7;border-top-left-radius:25px;border-top-right-radius:25px;width:100%;height:100px;display:flex;align-items:center;justify-content:center}\n"], components: [{ type: i3.InputComponent, selector: "ipt-input", inputs: ["inputType", "placeHolder", "validateText", "withPipe", "list", "iconUrl", "control", "prefix", "thousands", "decimal"], outputs: ["dateSelected"] }, { type: i4.ButtonComponent, selector: "ipt-button", inputs: ["primary", "size", "label", "buttonType", "isEnabled"], outputs: ["onClick"] }], directives: [{ type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: LoginFormComponent, decorators: [{
|
|
57
|
-
type: Component,
|
|
58
|
-
args: [{ selector: 'ipt-login-form', template: `
|
|
59
|
-
<div class="form-container">
|
|
60
|
-
|
|
61
|
-
<h2 style="text-align: center;">IPT PLATFORM</h2>
|
|
62
|
-
<hr>
|
|
63
|
-
|
|
64
|
-
<form (ngSubmit)="login(loginForm)" [formGroup]="loginForm">
|
|
65
|
-
<ipt-input
|
|
66
|
-
[inputType]="'text'"
|
|
67
|
-
[placeHolder]="'Email'"
|
|
68
|
-
[validateText]="'Debe ser @inglesparatodos.edu.co'"
|
|
69
|
-
[control]="loginForm.controls['email']"
|
|
70
|
-
></ipt-input>
|
|
71
|
-
|
|
72
|
-
<ipt-input
|
|
73
|
-
[inputType]="'password'"
|
|
74
|
-
[placeHolder]="'Password'"
|
|
75
|
-
[control]="loginForm.controls['password']"
|
|
76
|
-
></ipt-input>
|
|
77
|
-
</form>
|
|
78
|
-
|
|
79
|
-
<div class="button-container">
|
|
80
|
-
<ipt-button
|
|
81
|
-
[label]="'Login'"
|
|
82
|
-
[primary]="true"
|
|
83
|
-
[isEnabled]="loginForm.valid"
|
|
84
|
-
(onClick)="login(loginForm)"
|
|
85
|
-
></ipt-button>
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
</div>
|
|
89
|
-
`, styles: [".form-container{display:grid;grid-template-columns:1fr;justify-items:center;width:350px}.with-background{background-color:#fff;border-radius:25px;box-shadow:#32325d40 0 50px 100px -20px,#0000004d 0 30px 60px -30px}h2{color:#1c77f7}hr{width:80%}form{margin-bottom:60px;display:grid;grid-template-columns:1fr;grid-gap:30px;gap:30px;width:100%}.button-container{margin-bottom:70px;align-items:center;display:flex;gap:50px}footer{background-color:#1c77f7;border-top-left-radius:25px;border-top-right-radius:25px;width:100%;height:100px;display:flex;align-items:center;justify-content:center}\n"] }]
|
|
90
|
-
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.BaseService }]; }, propDecorators: { isLogged: [{
|
|
91
|
-
type: Output
|
|
92
|
-
}] } });
|
|
93
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import { Validators } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/forms";
|
|
5
|
+
import * as i2 from "../../../core/utils/base-service/base.service";
|
|
6
|
+
import * as i3 from "../../atoms/input/input.component";
|
|
7
|
+
import * as i4 from "../../atoms/button/button.component";
|
|
8
|
+
export class LoginFormComponent {
|
|
9
|
+
constructor(fb, baseService) {
|
|
10
|
+
this.baseService = baseService;
|
|
11
|
+
this.isLogged = new EventEmitter();
|
|
12
|
+
this.loginForm = fb.group({
|
|
13
|
+
email: ['', [Validators.required]],
|
|
14
|
+
password: ['', [Validators.required, Validators.minLength(3), Validators.maxLength(15)]],
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
login(data) {
|
|
18
|
+
this.baseService.webLogin(data.controls['email'].value, data.controls['password'].value).then((isLogged) => {
|
|
19
|
+
this.isLogged.emit(isLogged);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
LoginFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: LoginFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.BaseService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
LoginFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: LoginFormComponent, selector: "ipt-login-form", outputs: { isLogged: "isLogged" }, ngImport: i0, template: `
|
|
25
|
+
<div class="form-container">
|
|
26
|
+
|
|
27
|
+
<h2 style="text-align: center;">IPT PLATFORM</h2>
|
|
28
|
+
<hr>
|
|
29
|
+
|
|
30
|
+
<form (ngSubmit)="login(loginForm)" [formGroup]="loginForm">
|
|
31
|
+
<ipt-input
|
|
32
|
+
[inputType]="'text'"
|
|
33
|
+
[placeHolder]="'Email'"
|
|
34
|
+
[validateText]="'Debe ser @inglesparatodos.edu.co'"
|
|
35
|
+
[control]="loginForm.controls['email']"
|
|
36
|
+
></ipt-input>
|
|
37
|
+
|
|
38
|
+
<ipt-input
|
|
39
|
+
[inputType]="'password'"
|
|
40
|
+
[placeHolder]="'Password'"
|
|
41
|
+
[control]="loginForm.controls['password']"
|
|
42
|
+
></ipt-input>
|
|
43
|
+
</form>
|
|
44
|
+
|
|
45
|
+
<div class="button-container">
|
|
46
|
+
<ipt-button
|
|
47
|
+
[label]="'Login'"
|
|
48
|
+
[primary]="true"
|
|
49
|
+
[isEnabled]="loginForm.valid"
|
|
50
|
+
(onClick)="login(loginForm)"
|
|
51
|
+
></ipt-button>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
</div>
|
|
55
|
+
`, isInline: true, styles: [".form-container{display:grid;grid-template-columns:1fr;justify-items:center;width:350px}.with-background{background-color:#fff;border-radius:25px;box-shadow:#32325d40 0 50px 100px -20px,#0000004d 0 30px 60px -30px}h2{color:#1c77f7}hr{width:80%}form{margin-bottom:60px;display:grid;grid-template-columns:1fr;grid-gap:30px;gap:30px;width:100%}.button-container{margin-bottom:70px;align-items:center;display:flex;gap:50px}footer{background-color:#1c77f7;border-top-left-radius:25px;border-top-right-radius:25px;width:100%;height:100px;display:flex;align-items:center;justify-content:center}\n"], components: [{ type: i3.InputComponent, selector: "ipt-input", inputs: ["inputType", "placeHolder", "validateText", "withPipe", "list", "iconUrl", "control", "prefix", "thousands", "decimal"], outputs: ["dateSelected"] }, { type: i4.ButtonComponent, selector: "ipt-button", inputs: ["primary", "size", "label", "buttonType", "isEnabled"], outputs: ["onClick"] }], directives: [{ type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: LoginFormComponent, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'ipt-login-form', template: `
|
|
59
|
+
<div class="form-container">
|
|
60
|
+
|
|
61
|
+
<h2 style="text-align: center;">IPT PLATFORM</h2>
|
|
62
|
+
<hr>
|
|
63
|
+
|
|
64
|
+
<form (ngSubmit)="login(loginForm)" [formGroup]="loginForm">
|
|
65
|
+
<ipt-input
|
|
66
|
+
[inputType]="'text'"
|
|
67
|
+
[placeHolder]="'Email'"
|
|
68
|
+
[validateText]="'Debe ser @inglesparatodos.edu.co'"
|
|
69
|
+
[control]="loginForm.controls['email']"
|
|
70
|
+
></ipt-input>
|
|
71
|
+
|
|
72
|
+
<ipt-input
|
|
73
|
+
[inputType]="'password'"
|
|
74
|
+
[placeHolder]="'Password'"
|
|
75
|
+
[control]="loginForm.controls['password']"
|
|
76
|
+
></ipt-input>
|
|
77
|
+
</form>
|
|
78
|
+
|
|
79
|
+
<div class="button-container">
|
|
80
|
+
<ipt-button
|
|
81
|
+
[label]="'Login'"
|
|
82
|
+
[primary]="true"
|
|
83
|
+
[isEnabled]="loginForm.valid"
|
|
84
|
+
(onClick)="login(loginForm)"
|
|
85
|
+
></ipt-button>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
</div>
|
|
89
|
+
`, styles: [".form-container{display:grid;grid-template-columns:1fr;justify-items:center;width:350px}.with-background{background-color:#fff;border-radius:25px;box-shadow:#32325d40 0 50px 100px -20px,#0000004d 0 30px 60px -30px}h2{color:#1c77f7}hr{width:80%}form{margin-bottom:60px;display:grid;grid-template-columns:1fr;grid-gap:30px;gap:30px;width:100%}.button-container{margin-bottom:70px;align-items:center;display:flex;gap:50px}footer{background-color:#1c77f7;border-top-left-radius:25px;border-top-right-radius:25px;width:100%;height:100px;display:flex;align-items:center;justify-content:center}\n"] }]
|
|
90
|
+
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.BaseService }]; }, propDecorators: { isLogged: [{
|
|
91
|
+
type: Output
|
|
92
|
+
}] } });
|
|
93
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4tZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9kZXNpZ24tc3lzdGVtL3NyYy9saWIvY29tcG9uZW50cy9mb3Jtcy9sb2dpbi1mb3JtL2xvZ2luLWZvcm0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFpQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUEwQixVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7O0FBd0NwRSxNQUFNLE9BQU8sa0JBQWtCO0lBTTdCLFlBQ0UsRUFBZSxFQUNQLFdBQXdCO1FBQXhCLGdCQUFXLEdBQVgsV0FBVyxDQUFhO1FBTnhCLGFBQVEsR0FBRyxJQUF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KGRhdGEuY29udHJvbHNbJ2VtYWlsJ10udmFsdWUsIGRhdGEuY29udHJvbHNbJ3Bhc3N3b3JkJ10udmFsdWUpLnRoZW4oKGlzTG9nZ2VkKSA9PntcbiAgICAgIHRoaXMuaXNMb2dnZWQuZW1pdChpc0xvZ2dlZCk7XG4gICAgfSk7XG4gIH1cblxufVxuIl19
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
3
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { MatListModule } from '@angular/material/list';
|
|
6
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class MaterialModule {
|
|
9
|
-
}
|
|
10
|
-
MaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
MaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, exports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule] });
|
|
12
|
-
MaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, imports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
exports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
3
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import { MatListModule } from '@angular/material/list';
|
|
6
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class MaterialModule {
|
|
9
|
+
}
|
|
10
|
+
MaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
MaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, exports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule] });
|
|
12
|
+
MaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, imports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MaterialModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
exports: [MatSidenavModule, MatToolbarModule, MatIconModule, MatListModule, MatButtonModule],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0ZXJpYWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vZGVzaWduLXN5c3RlbS9zcmMvbGliL2NvbXBvbmVudHMvbWF0ZXJpYWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcG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