iptdevs-design-system 3.1.801 → 3.1.802
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/lib/cod/cod-documents-section/cod-documents-section.component.mjs +3 -3
- package/esm2020/lib/cod/cod-form/cod-form.component.mjs +6 -6
- package/esm2020/lib/cod/cod.module.mjs +1 -1
- package/esm2020/lib/cod/logic/calculate-quotes.service.mjs +1 -1
- package/esm2020/lib/cod/logic/cod-form-controls.mjs +1 -1
- package/esm2020/lib/cod/logic/cod-form-steps.mjs +1 -1
- package/esm2020/lib/cod/logic/communicator.service.mjs +1 -1
- package/esm2020/lib/cod/logic/local-storage-cod.service.mjs +1 -1
- package/esm2020/lib/cod/modal-referred/modal-referred.component.mjs +3 -3
- package/esm2020/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.mjs +3 -3
- package/esm2020/lib/cod/steps/cod-form-step-four/cod-form-step-four.component.mjs +3 -3
- package/esm2020/lib/cod/steps/cod-form-step-one/cod-form-step-one.component.mjs +3 -3
- package/esm2020/lib/cod/steps/cod-form-step-three/cod-form-step-three.component.mjs +3 -3
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +3 -3
- package/esm2020/lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component.mjs +3 -3
- package/esm2020/lib/cod-self-managed/cod-self-managed.module.mjs +1 -1
- package/esm2020/lib/cod-self-managed/logic/cod-self-managed-controls.mjs +1 -1
- package/esm2020/lib/cod-self-managed/logic/cod-self-managed-steps.mjs +1 -1
- package/esm2020/lib/cod-self-managed/logic/local-storage-cod.service.mjs +1 -1
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component.mjs +3 -3
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component.mjs +3 -3
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.mjs +3 -3
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.mjs +3 -3
- package/esm2020/lib/components/atoms/aside-button/aside-button.component.mjs +25 -25
- package/esm2020/lib/components/atoms/button/button.component.mjs +27 -27
- package/esm2020/lib/components/atoms/checkbox/checkbox.component.mjs +21 -21
- package/esm2020/lib/components/atoms/datalist/datalist.component.mjs +39 -39
- package/esm2020/lib/components/atoms/input/input.component.mjs +91 -91
- package/esm2020/lib/components/atoms/level-button/level-button.component.mjs +39 -39
- package/esm2020/lib/components/atoms/level-text/level-text.component.mjs +5 -5
- package/esm2020/lib/components/atoms/loader/loader.component.mjs +29 -29
- package/esm2020/lib/components/atoms/radio/radio.component.mjs +21 -21
- package/esm2020/lib/components/atoms/select/select.component.mjs +29 -29
- package/esm2020/lib/components/atoms/text-link/text-link.component.mjs +15 -15
- package/esm2020/lib/components/components.module.mjs +1 -1
- package/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +3 -3
- package/esm2020/lib/components/forms/login-form/login-form.component.mjs +63 -63
- package/esm2020/lib/components/material.module.mjs +1 -1
- package/esm2020/lib/components/molecules/card-course/card-course.component.mjs +3 -3
- package/esm2020/lib/components/molecules/card-select-course/card-select-course.component.mjs +3 -3
- package/esm2020/lib/components/molecules/question-type/edit-question-types.component.mjs +291 -291
- package/esm2020/lib/components/molecules/sidenav/sidenav.component.mjs +95 -95
- package/esm2020/lib/core/core.module.mjs +1 -1
- package/esm2020/lib/core/models/PlacementTest/PlacementTest.models.mjs +1 -1
- package/esm2020/lib/core/models/PossibleStudent/PossibleStudent.models.mjs +1 -1
- package/esm2020/lib/core/models/academic/academic.component.mjs +1 -1
- package/esm2020/lib/core/models/activities/activities.interface.mjs +1 -1
- package/esm2020/lib/core/models/announcement/announcement-user-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/announcement/announcement-user-rs.model.mjs +1 -1
- package/esm2020/lib/core/models/attendance/attendance.interface.mjs +1 -1
- package/esm2020/lib/core/models/budget/budget.model.mjs +1 -1
- package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +1 -1
- package/esm2020/lib/core/models/classroom/classroom-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/cod/cod-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/models/course/course-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/course/courses.model.mjs +1 -1
- package/esm2020/lib/core/models/cronogram/cronogram.models.mjs +1 -1
- package/esm2020/lib/core/models/epayco/epayco.interfaces.mjs +1 -1
- package/esm2020/lib/core/models/homeTemplate/homeTemplate.models.mjs +1 -1
- package/esm2020/lib/core/models/marketing/marketing.model.mjs +1 -1
- package/esm2020/lib/core/models/media/media.interfaces.mjs +1 -1
- package/esm2020/lib/core/models/notes/INotesTemplate.mjs +1 -1
- package/esm2020/lib/core/models/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/models/parameters/parameters-rs.model.mjs +1 -1
- package/esm2020/lib/core/models/payment/payment-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/reports/reports.model.mjs +1 -1
- package/esm2020/lib/core/models/response/response.interface.mjs +1 -1
- package/esm2020/lib/core/models/session/session.model.mjs +1 -1
- package/esm2020/lib/core/models/student/student.interface.mjs +1 -1
- package/esm2020/lib/core/models/table/table-rs.model.mjs +1 -1
- package/esm2020/lib/core/models/test/test.model.mjs +1 -1
- package/esm2020/lib/core/models/url/url.model.mjs +1 -1
- package/esm2020/lib/core/models/user/user-rq.model.mjs +1 -1
- package/esm2020/lib/core/models/user/user-rs.model.mjs +1 -1
- package/esm2020/lib/core/pipes/course-pipes/schedule-form.pipe.mjs +1 -1
- package/esm2020/lib/core/pipes/course-pipes/time-form.pipe.mjs +1 -1
- package/esm2020/lib/core/pipes/course-pipes/type-level.pipe.mjs +1 -1
- package/esm2020/lib/core/pipes/pipe.module.mjs +1 -1
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +1 -1
- package/esm2020/lib/core/services/activity-service/activity.service.mjs +1 -1
- package/esm2020/lib/core/services/announcement/announcement.service.mjs +1 -1
- package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +1 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +1 -1
- package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +1 -1
- package/esm2020/lib/core/services/certificate-service/certificate.service.mjs +1 -1
- package/esm2020/lib/core/services/classroom-service/classroom-service.service.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/validators.mjs +1 -1
- package/esm2020/lib/core/services/copies.service.mjs +1 -1
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +1 -1
- package/esm2020/lib/core/services/ePayco/epayco.service.mjs +1 -1
- package/esm2020/lib/core/services/ekt-service/userekt.service.mjs +1 -1
- package/esm2020/lib/core/services/marketing-service/marketing-service.mjs +1 -1
- package/esm2020/lib/core/services/media-service/media.service.mjs +1 -1
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +1 -1
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +1 -1
- package/esm2020/lib/core/services/placement-service/placement.service.mjs +1 -1
- package/esm2020/lib/core/services/service-enviroments.mjs +1 -1
- package/esm2020/lib/core/services/storage-service/storage-service.mjs +1 -1
- package/esm2020/lib/core/services/student-service/student.service.mjs +1 -1
- package/esm2020/lib/core/services/switch-service/switch.service.mjs +1 -1
- package/esm2020/lib/core/services/test-service/test.service.mjs +1 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +1 -1
- package/esm2020/lib/core/utils/base-service/base.service.mjs +1 -1
- package/esm2020/lib/core/utils/copies.mjs +1 -1
- package/esm2020/lib/core/utils/route-service/route.service.mjs +1 -1
- package/esm2020/lib/design-system.module.mjs +1 -1
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/iptdevs-design-system.mjs +811 -811
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +811 -811
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/user/user-rq.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -34,47 +34,47 @@ export class DatalistComponent {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
DatalistComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: DatalistComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: DatalistComponent, selector: "ipt-datalist", inputs: { datalistId: "datalistId", datalistData: "datalistData", placeHolder: "placeHolder", validateText: "validateText", initalData: "initalData", disabledSel: "disabledSel" }, outputs: { isChanged: "isChanged" }, ngImport: i0, template: `
|
|
38
|
-
<div class="input-container">
|
|
39
|
-
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
40
|
-
<input
|
|
41
|
-
type="text"
|
|
42
|
-
class="input"
|
|
43
|
-
(click)="click($event)"
|
|
44
|
-
[attr.list]="datalistId"
|
|
45
|
-
(change)="optionChanged($event)"
|
|
46
|
-
[disabled]="disabledSel"
|
|
47
|
-
[value]="setDataListValue()"
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<datalist id="{{ datalistId }}">
|
|
51
|
-
<option *ngFor="let item of datalistData; index as i" [value]="item.name">
|
|
52
|
-
{{item.id_card}} {{item.name}}
|
|
53
|
-
</option>
|
|
54
|
-
</datalist>
|
|
55
|
-
</div>
|
|
37
|
+
DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: DatalistComponent, selector: "ipt-datalist", inputs: { datalistId: "datalistId", datalistData: "datalistData", placeHolder: "placeHolder", validateText: "validateText", initalData: "initalData", disabledSel: "disabledSel" }, outputs: { isChanged: "isChanged" }, ngImport: i0, template: `
|
|
38
|
+
<div class="input-container">
|
|
39
|
+
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
40
|
+
<input
|
|
41
|
+
type="text"
|
|
42
|
+
class="input"
|
|
43
|
+
(click)="click($event)"
|
|
44
|
+
[attr.list]="datalistId"
|
|
45
|
+
(change)="optionChanged($event)"
|
|
46
|
+
[disabled]="disabledSel"
|
|
47
|
+
[value]="setDataListValue()"
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
|
+
<datalist id="{{ datalistId }}">
|
|
51
|
+
<option *ngFor="let item of datalistData; index as i" [value]="item.name">
|
|
52
|
+
{{item.id_card}} {{item.name}}
|
|
53
|
+
</option>
|
|
54
|
+
</datalist>
|
|
55
|
+
</div>
|
|
56
56
|
`, isInline: true, styles: ["*{font-family:Poppins,sans-serif}.input-container{position:relative;margin-top:15px}.input{box-shadow:#64646f33 0 7px 29px;border-radius:3px;border:none;outline:none;display:block;transition:.2s;font-weight:300;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:8px;background-color:#fff}.input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}.input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}.label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.labelUp{color:#1c77f7;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:9px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }] });
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: DatalistComponent, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
|
-
args: [{ selector: 'ipt-datalist', template: `
|
|
60
|
-
<div class="input-container">
|
|
61
|
-
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
62
|
-
<input
|
|
63
|
-
type="text"
|
|
64
|
-
class="input"
|
|
65
|
-
(click)="click($event)"
|
|
66
|
-
[attr.list]="datalistId"
|
|
67
|
-
(change)="optionChanged($event)"
|
|
68
|
-
[disabled]="disabledSel"
|
|
69
|
-
[value]="setDataListValue()"
|
|
70
|
-
/>
|
|
71
|
-
|
|
72
|
-
<datalist id="{{ datalistId }}">
|
|
73
|
-
<option *ngFor="let item of datalistData; index as i" [value]="item.name">
|
|
74
|
-
{{item.id_card}} {{item.name}}
|
|
75
|
-
</option>
|
|
76
|
-
</datalist>
|
|
77
|
-
</div>
|
|
59
|
+
args: [{ selector: 'ipt-datalist', template: `
|
|
60
|
+
<div class="input-container">
|
|
61
|
+
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
62
|
+
<input
|
|
63
|
+
type="text"
|
|
64
|
+
class="input"
|
|
65
|
+
(click)="click($event)"
|
|
66
|
+
[attr.list]="datalistId"
|
|
67
|
+
(change)="optionChanged($event)"
|
|
68
|
+
[disabled]="disabledSel"
|
|
69
|
+
[value]="setDataListValue()"
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
<datalist id="{{ datalistId }}">
|
|
73
|
+
<option *ngFor="let item of datalistData; index as i" [value]="item.name">
|
|
74
|
+
{{item.id_card}} {{item.name}}
|
|
75
|
+
</option>
|
|
76
|
+
</datalist>
|
|
77
|
+
</div>
|
|
78
78
|
`, styles: ["*{font-family:Poppins,sans-serif}.input-container{position:relative;margin-top:15px}.input{box-shadow:#64646f33 0 7px 29px;border-radius:3px;border:none;outline:none;display:block;transition:.2s;font-weight:300;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:8px;background-color:#fff}.input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}.input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}.label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.labelUp{color:#1c77f7;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:9px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"] }]
|
|
79
79
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }]; }, propDecorators: { datalistId: [{
|
|
80
80
|
type: Input
|
|
@@ -91,4 +91,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
91
91
|
}], isChanged: [{
|
|
92
92
|
type: Output
|
|
93
93
|
}] } });
|
|
94
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vZGVzaWduLXN5c3RlbS9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvZGF0YWxpc3QvZGF0YWxpc3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQTRCLE1BQU0sZUFBZSxDQUFDOzs7O0FBMkJqRyxNQUFNLE9BQU8saUJBQWlCO0lBYTVCLFlBQVksRUFBZTtRQU5sQixnQkFBVyxHQUFXLEtBQUssQ0FBQztRQUUzQixjQUFTLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztRQUVq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bkNoYW5nZWQoZXZlbnQ6IGFueSkge1xuICAgIGxldCBzZWxlY3RPcHRpb24gPSB0aGlzLmRhdGFsaXN0RGF0YS5maW5kKGVsZW1lbnQgPT4gIGVsZW1lbnQubmFtZSA9PSBldmVudC50YXJnZXQudmFsdWUpO1xuICAgIGlmICh0eXBlb2Yoc2VsZWN0T3B0aW9uKSAhPSAndW5kZWZpbmVkJykge1xuICAgICAgdGhpcy5pc0NoYW5nZWQuZW1pdChzZWxlY3RPcHRpb24uY29kZSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMuaXNDaGFuZ2VkLmVtaXQoJy0xJyk7XG4gICAgfVxuICB9XG5cbiAgY2xpY2sodmFsdWU6IE1vdXNlRXZlbnQpIHtcbiAgICB0aGlzLmNsaWNrZWQgPSB2YWx1ZS5pc1RydXN0ZWQ7XG4gIH1cblxuICBzZXREYXRhTGlzdFZhbHVlKCkge1xuICAgIGxldCBzZWxlY3RPcHRpb24gPSB0aGlzLmRhdGFsaXN0RGF0YS5maW5kKGVsZW1lbnQgPT4gIGVsZW1lbnQuY29kZSA9PSB0aGlzLmluaXRhbERhdGEpO1xuICAgIGlmICh0eXBlb2Yoc2VsZWN0T3B0aW9uKSAhPSAndW5kZWZpbmVkJykge1xuICAgICAgcmV0dXJuIHNlbGVjdE9wdGlvbi5uYW1lO1xuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGdldCBsYWJlbENsYXNzKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuY2xpY2tlZCA9PT0gZmFsc2UgPyAnbGFiZWwnIDogJ2xhYmVsVXAnO1xuICB9XG59XG4iXX0=
|
|
@@ -28,99 +28,99 @@ export class InputComponent {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
InputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
InputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: InputComponent, selector: "ipt-input", inputs: { inputType: "inputType", placeHolder: "placeHolder", validateText: "validateText", withPipe: "withPipe", list: "list", iconUrl: "iconUrl", control: "control", prefix: "prefix", thousands: "thousands", decimal: "decimal", disabledSel: "disabledSel" }, outputs: { dateSelected: "dateSelected" }, ngImport: i0, template: `
|
|
32
|
-
<div class="input-container">
|
|
33
|
-
<!-- Resto del código... -->
|
|
34
|
-
<input *ngIf="inputType === 'date'"
|
|
35
|
-
class="input"
|
|
36
|
-
type="{{ inputType ? 'text' : 'date' }}"
|
|
37
|
-
[formControl]="formControl"
|
|
38
|
-
(ngModelChange)="selectedDate($event)"
|
|
39
|
-
onfocus="this.type='date';"
|
|
40
|
-
onblur="javascript: if( !this.value ) this.type='text';"
|
|
41
|
-
uib-datepicker-popup="dd/MM/yyyy"
|
|
42
|
-
ng-model="inputType"/>
|
|
43
|
-
|
|
44
|
-
<input *ngIf="inputType !== 'date' && inputType !== 'time' && !withPipe"
|
|
45
|
-
class="input"
|
|
46
|
-
type="{{ inputType }}"
|
|
47
|
-
[formControl]="formControl"
|
|
48
|
-
[attr.list]="list"/>
|
|
49
|
-
|
|
50
|
-
<input *ngIf="inputType === 'text' && withPipe"
|
|
51
|
-
class="input"
|
|
52
|
-
currencyMask
|
|
53
|
-
[options]="{ prefix: prefix, thousands: thousands, decimal: decimal, allowNegative: false }"
|
|
54
|
-
type="{{ inputType }}"
|
|
55
|
-
[formControl]="formControl"
|
|
56
|
-
[attr.list]="list"/>
|
|
57
|
-
|
|
58
|
-
<input *ngIf="inputType === 'time'"
|
|
59
|
-
class="input"
|
|
60
|
-
type="time"
|
|
61
|
-
[formControl]="formControl"
|
|
62
|
-
[min]="'06:00:00'"
|
|
63
|
-
max="22:00:00"
|
|
64
|
-
step="900"
|
|
65
|
-
autocomplete="on"
|
|
66
|
-
value="08:00:00"
|
|
67
|
-
(click)="click($event)"
|
|
68
|
-
/>
|
|
69
|
-
|
|
70
|
-
<label [ngClass]="{'labelUp': formControl.value !== ''}">{{ placeHolder }}</label>
|
|
71
|
-
|
|
72
|
-
<p *ngIf="(formControl.invalid && formControl.value !== '')">
|
|
73
|
-
{{ validateText }}
|
|
74
|
-
</p>
|
|
75
|
-
</div>
|
|
31
|
+
InputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: InputComponent, selector: "ipt-input", inputs: { inputType: "inputType", placeHolder: "placeHolder", validateText: "validateText", withPipe: "withPipe", list: "list", iconUrl: "iconUrl", control: "control", prefix: "prefix", thousands: "thousands", decimal: "decimal", disabledSel: "disabledSel" }, outputs: { dateSelected: "dateSelected" }, ngImport: i0, template: `
|
|
32
|
+
<div class="input-container">
|
|
33
|
+
<!-- Resto del código... -->
|
|
34
|
+
<input *ngIf="inputType === 'date'"
|
|
35
|
+
class="input"
|
|
36
|
+
type="{{ inputType ? 'text' : 'date' }}"
|
|
37
|
+
[formControl]="formControl"
|
|
38
|
+
(ngModelChange)="selectedDate($event)"
|
|
39
|
+
onfocus="this.type='date';"
|
|
40
|
+
onblur="javascript: if( !this.value ) this.type='text';"
|
|
41
|
+
uib-datepicker-popup="dd/MM/yyyy"
|
|
42
|
+
ng-model="inputType"/>
|
|
43
|
+
|
|
44
|
+
<input *ngIf="inputType !== 'date' && inputType !== 'time' && !withPipe"
|
|
45
|
+
class="input"
|
|
46
|
+
type="{{ inputType }}"
|
|
47
|
+
[formControl]="formControl"
|
|
48
|
+
[attr.list]="list"/>
|
|
49
|
+
|
|
50
|
+
<input *ngIf="inputType === 'text' && withPipe"
|
|
51
|
+
class="input"
|
|
52
|
+
currencyMask
|
|
53
|
+
[options]="{ prefix: prefix, thousands: thousands, decimal: decimal, allowNegative: false }"
|
|
54
|
+
type="{{ inputType }}"
|
|
55
|
+
[formControl]="formControl"
|
|
56
|
+
[attr.list]="list"/>
|
|
57
|
+
|
|
58
|
+
<input *ngIf="inputType === 'time'"
|
|
59
|
+
class="input"
|
|
60
|
+
type="time"
|
|
61
|
+
[formControl]="formControl"
|
|
62
|
+
[min]="'06:00:00'"
|
|
63
|
+
max="22:00:00"
|
|
64
|
+
step="900"
|
|
65
|
+
autocomplete="on"
|
|
66
|
+
value="08:00:00"
|
|
67
|
+
(click)="click($event)"
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<label [ngClass]="{'labelUp': formControl.value !== ''}">{{ placeHolder }}</label>
|
|
71
|
+
|
|
72
|
+
<p *ngIf="(formControl.invalid && formControl.value !== '')">
|
|
73
|
+
{{ validateText }}
|
|
74
|
+
</p>
|
|
75
|
+
</div>
|
|
76
76
|
`, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){p{color:#c73a3a;font-size:12px;padding-left:9px}}@media screen and (min-width: 768px){p{color:#c73a3a;font-size:13px;padding-left:9px}}@media screen and (min-width: 1024px){p{color:#c73a3a;font-size:13px;padding-left:9px}}.input-container{position:relative;margin-top:30px}input{box-shadow:#64646f33 0 7px 29px;border-radius:3px;border:none;outline:none;display:block;transition:.2s;font-weight:300;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:9px;background-color:#fff;-webkit-appearance:none}input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.input:focus~label,.input:invalid~label{top:-20px;font-size:15px;color:#1c77f7}.labelUp{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:9px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.CurrencyMaskDirective, selector: "[currencyMask]", inputs: ["max", "min", "options"] }] });
|
|
77
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: InputComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
|
-
args: [{ selector: 'ipt-input', template: `
|
|
80
|
-
<div class="input-container">
|
|
81
|
-
<!-- Resto del código... -->
|
|
82
|
-
<input *ngIf="inputType === 'date'"
|
|
83
|
-
class="input"
|
|
84
|
-
type="{{ inputType ? 'text' : 'date' }}"
|
|
85
|
-
[formControl]="formControl"
|
|
86
|
-
(ngModelChange)="selectedDate($event)"
|
|
87
|
-
onfocus="this.type='date';"
|
|
88
|
-
onblur="javascript: if( !this.value ) this.type='text';"
|
|
89
|
-
uib-datepicker-popup="dd/MM/yyyy"
|
|
90
|
-
ng-model="inputType"/>
|
|
91
|
-
|
|
92
|
-
<input *ngIf="inputType !== 'date' && inputType !== 'time' && !withPipe"
|
|
93
|
-
class="input"
|
|
94
|
-
type="{{ inputType }}"
|
|
95
|
-
[formControl]="formControl"
|
|
96
|
-
[attr.list]="list"/>
|
|
97
|
-
|
|
98
|
-
<input *ngIf="inputType === 'text' && withPipe"
|
|
99
|
-
class="input"
|
|
100
|
-
currencyMask
|
|
101
|
-
[options]="{ prefix: prefix, thousands: thousands, decimal: decimal, allowNegative: false }"
|
|
102
|
-
type="{{ inputType }}"
|
|
103
|
-
[formControl]="formControl"
|
|
104
|
-
[attr.list]="list"/>
|
|
105
|
-
|
|
106
|
-
<input *ngIf="inputType === 'time'"
|
|
107
|
-
class="input"
|
|
108
|
-
type="time"
|
|
109
|
-
[formControl]="formControl"
|
|
110
|
-
[min]="'06:00:00'"
|
|
111
|
-
max="22:00:00"
|
|
112
|
-
step="900"
|
|
113
|
-
autocomplete="on"
|
|
114
|
-
value="08:00:00"
|
|
115
|
-
(click)="click($event)"
|
|
116
|
-
/>
|
|
117
|
-
|
|
118
|
-
<label [ngClass]="{'labelUp': formControl.value !== ''}">{{ placeHolder }}</label>
|
|
119
|
-
|
|
120
|
-
<p *ngIf="(formControl.invalid && formControl.value !== '')">
|
|
121
|
-
{{ validateText }}
|
|
122
|
-
</p>
|
|
123
|
-
</div>
|
|
79
|
+
args: [{ selector: 'ipt-input', template: `
|
|
80
|
+
<div class="input-container">
|
|
81
|
+
<!-- Resto del código... -->
|
|
82
|
+
<input *ngIf="inputType === 'date'"
|
|
83
|
+
class="input"
|
|
84
|
+
type="{{ inputType ? 'text' : 'date' }}"
|
|
85
|
+
[formControl]="formControl"
|
|
86
|
+
(ngModelChange)="selectedDate($event)"
|
|
87
|
+
onfocus="this.type='date';"
|
|
88
|
+
onblur="javascript: if( !this.value ) this.type='text';"
|
|
89
|
+
uib-datepicker-popup="dd/MM/yyyy"
|
|
90
|
+
ng-model="inputType"/>
|
|
91
|
+
|
|
92
|
+
<input *ngIf="inputType !== 'date' && inputType !== 'time' && !withPipe"
|
|
93
|
+
class="input"
|
|
94
|
+
type="{{ inputType }}"
|
|
95
|
+
[formControl]="formControl"
|
|
96
|
+
[attr.list]="list"/>
|
|
97
|
+
|
|
98
|
+
<input *ngIf="inputType === 'text' && withPipe"
|
|
99
|
+
class="input"
|
|
100
|
+
currencyMask
|
|
101
|
+
[options]="{ prefix: prefix, thousands: thousands, decimal: decimal, allowNegative: false }"
|
|
102
|
+
type="{{ inputType }}"
|
|
103
|
+
[formControl]="formControl"
|
|
104
|
+
[attr.list]="list"/>
|
|
105
|
+
|
|
106
|
+
<input *ngIf="inputType === 'time'"
|
|
107
|
+
class="input"
|
|
108
|
+
type="time"
|
|
109
|
+
[formControl]="formControl"
|
|
110
|
+
[min]="'06:00:00'"
|
|
111
|
+
max="22:00:00"
|
|
112
|
+
step="900"
|
|
113
|
+
autocomplete="on"
|
|
114
|
+
value="08:00:00"
|
|
115
|
+
(click)="click($event)"
|
|
116
|
+
/>
|
|
117
|
+
|
|
118
|
+
<label [ngClass]="{'labelUp': formControl.value !== ''}">{{ placeHolder }}</label>
|
|
119
|
+
|
|
120
|
+
<p *ngIf="(formControl.invalid && formControl.value !== '')">
|
|
121
|
+
{{ validateText }}
|
|
122
|
+
</p>
|
|
123
|
+
</div>
|
|
124
124
|
`, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){p{color:#c73a3a;font-size:12px;padding-left:9px}}@media screen and (min-width: 768px){p{color:#c73a3a;font-size:13px;padding-left:9px}}@media screen and (min-width: 1024px){p{color:#c73a3a;font-size:13px;padding-left:9px}}.input-container{position:relative;margin-top:30px}input{box-shadow:#64646f33 0 7px 29px;border-radius:3px;border:none;outline:none;display:block;transition:.2s;font-weight:300;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:9px;background-color:#fff;-webkit-appearance:none}input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.input:focus~label,.input:invalid~label{top:-20px;font-size:15px;color:#1c77f7}.labelUp{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:9px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"] }]
|
|
125
125
|
}], ctorParameters: function () { return []; }, propDecorators: { inputType: [{
|
|
126
126
|
type: Input
|
|
@@ -147,4 +147,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
147
147
|
}], disabledSel: [{
|
|
148
148
|
type: Input
|
|
149
149
|
}] } });
|
|
150
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
150
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vZGVzaWduLXN5c3RlbS9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvaW5wdXQvaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQXFCLE1BQU0sZUFBZSxDQUFDOzs7OztBQW9EMUYsTUFBTSxPQUFPLGNBQWM7SUF5QnpCO1FBdEJBLFNBQUksR0FBVSxFQUFFLENBQUM7UUFFakIsWUFBTyxHQUFZLEtBQUssQ0FBQztRQUtoQixhQUFRLEdBQWEsS0FBSyxDQUFDO1FBUzNCLFdBQU0sR0FBVyxHQUFHLENBQUM7UUFDckIsY0FBUyxHQUFXLEdBQUcsQ0FBQztRQUN4QixZQUFPLEdBQVcsR0FBRyxDQUFDO1FBQ3JCLGlCQUFZLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztRQUMzQyxnQkFBVyxHQUFZLEtBQUssQ0FBQztJQUV2QixDQUFDO0lBWmhCLElBQWEsT0FBTyxDQUFDLEtBQStCO1FBQ2xELElBQUksSUFBSSxDQUFDLFdBQVcsS0FBSyxLQUFLLEVBQUU7WUFDOUIsSUFBSSxDQUFDLFdBQVcsR0FBRyxL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J1Y3RvcigpIHt9XG5cbiAgbmdPbkluaXQoKSB7fVxuXG4gIHNlbGVjdGVkRGF0ZShldnQ6IHN0cmluZyl7XG4gICAgdGhpcy5kYXRlU2VsZWN0ZWQuZW1pdChldnQpO1xuICB9XG5cbiAgY2xpY2sodmFsdWU6IE1vdXNlRXZlbnQpIHtcbiAgICB0aGlzLmNsaWNrZWQgPSB2YWx1ZS5pc1RydXN0ZWQ7XG4gIH1cblxufVxuIl19
|
|
@@ -10,47 +10,47 @@ export class LevelButtonComponent {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
LevelButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LevelButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
LevelButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LevelButtonComponent, selector: "ipt-level-button", inputs: { level: "level", buttonActive: "buttonActive", idColor: "idColor" }, outputs: { isClicked: "isClicked" }, ngImport: i0, template: `
|
|
14
|
-
<div [ngSwitch]="buttonActive">
|
|
15
|
-
<button
|
|
16
|
-
*ngSwitchCase="0"
|
|
17
|
-
(click)="clickAction()"
|
|
18
|
-
id="level"
|
|
19
|
-
class="courses"
|
|
20
|
-
>
|
|
21
|
-
<p class="p-level">{{ level }}</p>
|
|
22
|
-
</button>
|
|
23
|
-
|
|
24
|
-
<button
|
|
25
|
-
*ngSwitchCase="1"
|
|
26
|
-
(click)="clickAction()"
|
|
27
|
-
id="{{ idColor }}"
|
|
28
|
-
class="courses">
|
|
29
|
-
<p class="p-level p-level-active">{{ level }}</p>
|
|
30
|
-
</button>
|
|
31
|
-
</div>
|
|
13
|
+
LevelButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LevelButtonComponent, selector: "ipt-level-button", inputs: { level: "level", buttonActive: "buttonActive", idColor: "idColor" }, outputs: { isClicked: "isClicked" }, ngImport: i0, template: `
|
|
14
|
+
<div [ngSwitch]="buttonActive">
|
|
15
|
+
<button
|
|
16
|
+
*ngSwitchCase="0"
|
|
17
|
+
(click)="clickAction()"
|
|
18
|
+
id="level"
|
|
19
|
+
class="courses"
|
|
20
|
+
>
|
|
21
|
+
<p class="p-level">{{ level }}</p>
|
|
22
|
+
</button>
|
|
23
|
+
|
|
24
|
+
<button
|
|
25
|
+
*ngSwitchCase="1"
|
|
26
|
+
(click)="clickAction()"
|
|
27
|
+
id="{{ idColor }}"
|
|
28
|
+
class="courses">
|
|
29
|
+
<p class="p-level p-level-active">{{ level }}</p>
|
|
30
|
+
</button>
|
|
31
|
+
</div>
|
|
32
32
|
`, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media (min-width: 320px){.courses{cursor:pointer;text-decoration:none;display:flex;border-radius:3px;width:100%;height:30px;box-shadow:#06182c66 0 0 0 2px,#06182ca6 0 4px 6px -1px,#ffffff14 0 1px inset;border:none;outline:none;align-items:center;background-color:transparent;color:#1c77f7}.p-level{display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}#level-1{background-color:#02eed8}#level-2{background-color:#61acff}#level-3{background-color:#f168f4}#level-4{background-color:#ff3737}#level-5{background-color:#004dfa}#level-6{background-color:#14c25a}#level-7{background-color:#a052da}#level-8{background-color:#f2583d}#level-9{background-color:#291d26}#level-10{background-color:#1c77f7}.p-level-active{color:#fff}}@media (min-width: 375px){.courses{height:40px}.p-level{font-size:18px}}@media (min-width: 425px){.courses{height:30px}}@media (min-width: 768px){.courses{height:40px}}@media (min-width: 1024px){.courses{transition:.6s}.courses:active{transform:scale(1.05);box-shadow:#06182c66 0 0 0 2px,#06182ca6 0 4px 6px -1px,#ffffff14 0 1px inset}.p-level{font-weight:700}}@media (min-width: 1440px){.p-level{font-weight:600}}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LevelButtonComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
|
-
args: [{ selector: 'ipt-level-button', template: `
|
|
36
|
-
<div [ngSwitch]="buttonActive">
|
|
37
|
-
<button
|
|
38
|
-
*ngSwitchCase="0"
|
|
39
|
-
(click)="clickAction()"
|
|
40
|
-
id="level"
|
|
41
|
-
class="courses"
|
|
42
|
-
>
|
|
43
|
-
<p class="p-level">{{ level }}</p>
|
|
44
|
-
</button>
|
|
45
|
-
|
|
46
|
-
<button
|
|
47
|
-
*ngSwitchCase="1"
|
|
48
|
-
(click)="clickAction()"
|
|
49
|
-
id="{{ idColor }}"
|
|
50
|
-
class="courses">
|
|
51
|
-
<p class="p-level p-level-active">{{ level }}</p>
|
|
52
|
-
</button>
|
|
53
|
-
</div>
|
|
35
|
+
args: [{ selector: 'ipt-level-button', template: `
|
|
36
|
+
<div [ngSwitch]="buttonActive">
|
|
37
|
+
<button
|
|
38
|
+
*ngSwitchCase="0"
|
|
39
|
+
(click)="clickAction()"
|
|
40
|
+
id="level"
|
|
41
|
+
class="courses"
|
|
42
|
+
>
|
|
43
|
+
<p class="p-level">{{ level }}</p>
|
|
44
|
+
</button>
|
|
45
|
+
|
|
46
|
+
<button
|
|
47
|
+
*ngSwitchCase="1"
|
|
48
|
+
(click)="clickAction()"
|
|
49
|
+
id="{{ idColor }}"
|
|
50
|
+
class="courses">
|
|
51
|
+
<p class="p-level p-level-active">{{ level }}</p>
|
|
52
|
+
</button>
|
|
53
|
+
</div>
|
|
54
54
|
`, styles: ["*{font-family:Poppins,sans-serif}@media (min-width: 320px){.courses{cursor:pointer;text-decoration:none;display:flex;border-radius:3px;width:100%;height:30px;box-shadow:#06182c66 0 0 0 2px,#06182ca6 0 4px 6px -1px,#ffffff14 0 1px inset;border:none;outline:none;align-items:center;background-color:transparent;color:#1c77f7}.p-level{display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}#level-1{background-color:#02eed8}#level-2{background-color:#61acff}#level-3{background-color:#f168f4}#level-4{background-color:#ff3737}#level-5{background-color:#004dfa}#level-6{background-color:#14c25a}#level-7{background-color:#a052da}#level-8{background-color:#f2583d}#level-9{background-color:#291d26}#level-10{background-color:#1c77f7}.p-level-active{color:#fff}}@media (min-width: 375px){.courses{height:40px}.p-level{font-size:18px}}@media (min-width: 425px){.courses{height:30px}}@media (min-width: 768px){.courses{height:40px}}@media (min-width: 1024px){.courses{transition:.6s}.courses:active{transform:scale(1.05);box-shadow:#06182c66 0 0 0 2px,#06182ca6 0 4px 6px -1px,#ffffff14 0 1px inset}.p-level{font-weight:700}}@media (min-width: 1440px){.p-level{font-weight:600}}\n"] }]
|
|
55
55
|
}], propDecorators: { level: [{
|
|
56
56
|
type: Input
|
|
@@ -61,4 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
61
61
|
}], isClicked: [{
|
|
62
62
|
type: Output
|
|
63
63
|
}] } });
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGV2ZWwtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Rlc2lnbi1zeXN0ZW0vc3JjL2xpYi9jb21wb25lbnRzL2F0b21zL2xldmVsLWJ1dHRvbi9sZXZlbC1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQTJCdkUsTUFBTSx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GNsaWNrKT1cImNsaWNrQWN0aW9uKClcIlxuICAgICAgICBpZD1cInt7IGlkQ29sb3IgfX1cIlxuICAgICAgICBjbGFzcz1cImNvdXJzZXNcIj5cbiAgICAgIDxwIGNsYXNzPVwicC1sZXZlbCBwLWxldmVsLWFjdGl2ZVwiPnt7IGxldmVsIH19PC9wPlxuICAgICAgPC9idXR0b24+XG4gICAgPC9kaXY+XG4gIGAsXG4gIHN0eWxlVXJsczogWycuL2xldmVsLWJ1dHRvbi5jc3MnXSxcbn0pXG5cbmV4cG9ydCBjbGFzcyBMZXZlbEJ1dHRvbkNvbXBvbmVudCB7XG5cbiAgQElucHV0KCkgbGV2ZWwhOiBzdHJpbmc7XG4gIEBJbnB1dCgpIGJ1dHRvbkFjdGl2ZSE6IGJvb2xlYW47XG4gIEBJbnB1dCgpIGlkQ29sb3IhOiBzdHJpbmc7XG4gIEBPdXRwdXQoKSBpc0NsaWNrZWQgPSBuZXcgRXZlbnRFbWl0dGVyPGJvb2xlYW4+KCk7XG5cbiAgY2xpY2tBY3Rpb24oKSB7XG4gICAgdGhpcy5pc0NsaWNrZWQuZW1pdCh0cnVlKTtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -3,17 +3,17 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export class LevelTextComponent {
|
|
4
4
|
}
|
|
5
5
|
LevelTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LevelTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
LevelTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LevelTextComponent, selector: "ipt-level-button", inputs: { level: "level", total: "total" }, ngImport: i0, template: `
|
|
7
|
-
<p class="p-table-course">{{ level }}: {{ total }}</p>
|
|
6
|
+
LevelTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LevelTextComponent, selector: "ipt-level-button", inputs: { level: "level", total: "total" }, ngImport: i0, template: `
|
|
7
|
+
<p class="p-table-course">{{ level }}: {{ total }}</p>
|
|
8
8
|
`, isInline: true, styles: ["@media (min-width: 320px){.p-table-course{background-color:#4b4a4a;color:#fff;font-size:14px;font-weight:700;padding:5px;width:100%;text-align:center}}@media (min-width: 375px){.p-table-course{background-color:#4b4a4a;color:#fff;font-size:14px;font-weight:700;padding:5px;width:100%;text-align:center}}@media (min-width: 425px){.p-table-course{font-size:18px}}@media (min-width: 1024px){.p-table-course{font-size:20px}}\n"] });
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LevelTextComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
|
-
args: [{ selector: 'ipt-level-button', template: `
|
|
12
|
-
<p class="p-table-course">{{ level }}: {{ total }}</p>
|
|
11
|
+
args: [{ selector: 'ipt-level-button', template: `
|
|
12
|
+
<p class="p-table-course">{{ level }}: {{ total }}</p>
|
|
13
13
|
`, styles: ["@media (min-width: 320px){.p-table-course{background-color:#4b4a4a;color:#fff;font-size:14px;font-weight:700;padding:5px;width:100%;text-align:center}}@media (min-width: 375px){.p-table-course{background-color:#4b4a4a;color:#fff;font-size:14px;font-weight:700;padding:5px;width:100%;text-align:center}}@media (min-width: 425px){.p-table-course{font-size:18px}}@media (min-width: 1024px){.p-table-course{font-size:20px}}\n"] }]
|
|
14
14
|
}], propDecorators: { level: [{
|
|
15
15
|
type: Input
|
|
16
16
|
}], total: [{
|
|
17
17
|
type: Input
|
|
18
18
|
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGV2ZWwtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9kZXNpZ24tc3lzdGVtL3NyYy9saWIvY29tcG9uZW50cy9hdG9tcy9sZXZlbC10ZXh0L2xldmVsLXRleHQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUF3QixNQUFNLGVBQWUsQ0FBQzs7QUFVdkUsTUFBTSxPQUFPLGtCQUFrQjs7K0dBQWxCLGtCQUFrQjttR0FBbEIsa0JBQWtCLG9HQU5uQjs7R0FFVDsyRkFJVSxrQkFBa0I7a0JBUjlCLFNBQVM7K0JBQ0Usa0JBQWtCLFlBQ2xCOztHQUVUOzhCQU1RLEtBQUs7c0JBQWIsS0FBSztnQkFDRyxLQUFLO3NCQUFiLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBPdXRwdXQsIEV2ZW50RW1pdHRlciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdpcHQtbGV2ZWwtYnV0dG9uJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8cCBjbGFzcz1cInAtdGFibGUtY291cnNlXCI+e3sgbGV2ZWwgfX06IHt7IHRvdGFsIH19PC9wPlxuICBgLFxuICBzdHlsZVVybHM6IFsnLi9sZXZlbC10ZXh0LmNzcyddLFxufSlcblxuZXhwb3J0IGNsYXNzIExldmVsVGV4dENvbXBvbmVudCB7XG5cbiAgQElucHV0KCkgbGV2ZWwhOiBzdHJpbmc7XG4gIEBJbnB1dCgpIHRvdGFsITogc3RyaW5nO1xuXG59XG4iXX0=
|
|
@@ -8,41 +8,41 @@ export class LoaderComponent {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LoaderComponent, selector: "ipt-loader", inputs: { message: "message", isDialog: "isDialog" }, ngImport: i0, template: `
|
|
12
|
-
<div [ngClass]="{'dialog': isDialog}">
|
|
13
|
-
<div [ngClass]="{'loader_container' : isDialog}">
|
|
14
|
-
<span>{{ message }}</span>
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="spinner">
|
|
17
|
-
<div class="dot"></div>
|
|
18
|
-
<div class="dot"></div>
|
|
19
|
-
<div class="dot"></div>
|
|
20
|
-
<div class="dot"></div>
|
|
21
|
-
<div class="dot"></div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
11
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: LoaderComponent, selector: "ipt-loader", inputs: { message: "message", isDialog: "isDialog" }, ngImport: i0, template: `
|
|
12
|
+
<div [ngClass]="{'dialog': isDialog}">
|
|
13
|
+
<div [ngClass]="{'loader_container' : isDialog}">
|
|
14
|
+
<span>{{ message }}</span>
|
|
15
|
+
<div class="container">
|
|
16
|
+
<div class="spinner">
|
|
17
|
+
<div class="dot"></div>
|
|
18
|
+
<div class="dot"></div>
|
|
19
|
+
<div class="dot"></div>
|
|
20
|
+
<div class="dot"></div>
|
|
21
|
+
<div class="dot"></div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
25
|
</div>`, isInline: true, styles: [".dialog{background:rgba(0,0,0,.472);color:#fff;position:fixed;top:0;left:0;height:100vh;width:100vw;transition:all .5s;z-index:9999}.loader_container{height:-moz-fit-content;height:fit-content;width:-moz-fit-content;width:fit-content;position:absolute;inset:0;margin:auto;background-color:#fff;border-radius:3px;padding:1rem;z-index:9999}span{display:flex;justify-content:center;color:#1c77f7;font:bold;margin-bottom:1rem}.container{display:flex;justify-content:center}.spinner{width:60px;height:60px;position:relative}.spinner .dot{position:absolute;inset:0;display:flex;justify-content:center}.spinner .dot:after{content:\"\";width:7px;height:7px;border-radius:50%;background-color:#1c77f7}@keyframes spin{to{transform:rotate(360deg)}}.spinner .dot{animation:spin 2s infinite}.spinner .dot:nth-child(2){animation-delay:.1s}.spinner .dot:nth-child(3){animation-delay:.2s}.spinner .dot:nth-child(4){animation-delay:.3s}.spinner .dot:nth-child(5){animation-delay:.4s}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'ipt-loader', template: `
|
|
29
|
-
<div [ngClass]="{'dialog': isDialog}">
|
|
30
|
-
<div [ngClass]="{'loader_container' : isDialog}">
|
|
31
|
-
<span>{{ message }}</span>
|
|
32
|
-
<div class="container">
|
|
33
|
-
<div class="spinner">
|
|
34
|
-
<div class="dot"></div>
|
|
35
|
-
<div class="dot"></div>
|
|
36
|
-
<div class="dot"></div>
|
|
37
|
-
<div class="dot"></div>
|
|
38
|
-
<div class="dot"></div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
28
|
+
args: [{ selector: 'ipt-loader', template: `
|
|
29
|
+
<div [ngClass]="{'dialog': isDialog}">
|
|
30
|
+
<div [ngClass]="{'loader_container' : isDialog}">
|
|
31
|
+
<span>{{ message }}</span>
|
|
32
|
+
<div class="container">
|
|
33
|
+
<div class="spinner">
|
|
34
|
+
<div class="dot"></div>
|
|
35
|
+
<div class="dot"></div>
|
|
36
|
+
<div class="dot"></div>
|
|
37
|
+
<div class="dot"></div>
|
|
38
|
+
<div class="dot"></div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
42
|
</div>`, styles: [".dialog{background:rgba(0,0,0,.472);color:#fff;position:fixed;top:0;left:0;height:100vh;width:100vw;transition:all .5s;z-index:9999}.loader_container{height:-moz-fit-content;height:fit-content;width:-moz-fit-content;width:fit-content;position:absolute;inset:0;margin:auto;background-color:#fff;border-radius:3px;padding:1rem;z-index:9999}span{display:flex;justify-content:center;color:#1c77f7;font:bold;margin-bottom:1rem}.container{display:flex;justify-content:center}.spinner{width:60px;height:60px;position:relative}.spinner .dot{position:absolute;inset:0;display:flex;justify-content:center}.spinner .dot:after{content:\"\";width:7px;height:7px;border-radius:50%;background-color:#1c77f7}@keyframes spin{to{transform:rotate(360deg)}}.spinner .dot{animation:spin 2s infinite}.spinner .dot:nth-child(2){animation-delay:.1s}.spinner .dot:nth-child(3){animation-delay:.2s}.spinner .dot:nth-child(4){animation-delay:.3s}.spinner .dot:nth-child(5){animation-delay:.4s}\n"] }]
|
|
43
43
|
}], propDecorators: { message: [{
|
|
44
44
|
type: Input
|
|
45
45
|
}], isDialog: [{
|
|
46
46
|
type: Input
|
|
47
47
|
}] } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Rlc2lnbi1zeXN0ZW0vc3JjL2xpYi9jb21wb25lbnRzL2F0b21zL2xvYWRlci9sb2FkZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFxQmpELE1BQU0sT0FBTyxlQUFlO0lBbkI1QjtRQW9CVyxZQUFPLEdBQVcsRUFBRSxDQUFDO1FBQ3JCLGFBQVEsR0FBWSxLQUFLLENBQUM7S0FDcEM7OzRHQUhZLGVBQWU7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