iptdevs-design-system 2.6.34 → 2.6.36

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.
Files changed (114) hide show
  1. package/README.md +24 -24
  2. package/esm2020/iptdevs-design-system.mjs +4 -4
  3. package/esm2020/lib/components/atoms/aside-button/aside-button.component.mjs +50 -50
  4. package/esm2020/lib/components/atoms/button/button.component.mjs +64 -64
  5. package/esm2020/lib/components/atoms/checkbox/checkbox.component.mjs +47 -47
  6. package/esm2020/lib/components/atoms/datalist/datalist.component.mjs +94 -94
  7. package/esm2020/lib/components/atoms/input/input.component.mjs +145 -145
  8. package/esm2020/lib/components/atoms/level-button/level-button.component.mjs +64 -64
  9. package/esm2020/lib/components/atoms/level-text/level-text.component.mjs +19 -19
  10. package/esm2020/lib/components/atoms/loader/loader.component.mjs +48 -48
  11. package/esm2020/lib/components/atoms/radio/radio.component.mjs +47 -47
  12. package/esm2020/lib/components/atoms/select/select.component.mjs +92 -92
  13. package/esm2020/lib/components/atoms/text-link/text-link.component.mjs +39 -39
  14. package/esm2020/lib/components/components.module.mjs +118 -118
  15. package/esm2020/lib/components/forms/create-user-form/create-user-form.component.mjs +228 -228
  16. package/esm2020/lib/components/forms/login-form/login-form.component.mjs +93 -93
  17. package/esm2020/lib/components/material.module.mjs +19 -19
  18. package/esm2020/lib/components/molecules/sidenav/sidenav.component.mjs +146 -146
  19. package/esm2020/lib/core/core.module.mjs +52 -49
  20. package/esm2020/lib/core/models/activities/activities.interface.mjs +2 -2
  21. package/esm2020/lib/core/models/attendance/attendance.interface.mjs +2 -2
  22. package/esm2020/lib/core/models/budget/budget.model.mjs +2 -2
  23. package/esm2020/lib/core/models/calendar/calendar-rq.models.mjs +2 -2
  24. package/esm2020/lib/core/models/classroom/classroom-rq.model.mjs +2 -2
  25. package/esm2020/lib/core/models/cod/cod-rq.model.mjs +2 -2
  26. package/esm2020/lib/core/models/course/course-rq.model.mjs +2 -2
  27. package/esm2020/lib/core/models/cronogram/cronogram.models.mjs +2 -2
  28. package/esm2020/lib/core/models/marketing/marketing.model.mjs +2 -2
  29. package/esm2020/lib/core/models/notes/notes.interface.mjs +2 -2
  30. package/esm2020/lib/core/models/response/response.interface.mjs +2 -2
  31. package/esm2020/lib/core/models/session/session.model.mjs +3 -3
  32. package/esm2020/lib/core/models/student/student.interface.mjs +2 -2
  33. package/esm2020/lib/core/models/table/table-rs.model.mjs +2 -2
  34. package/esm2020/lib/core/models/test/test.model.mjs +2 -2
  35. package/esm2020/lib/core/models/url/url.model.mjs +2 -2
  36. package/esm2020/lib/core/models/user/user-rq.model.mjs +2 -2
  37. package/esm2020/lib/core/models/user/user-rs.model.mjs +5 -5
  38. package/esm2020/lib/core/services/activity-service/activity.service.mjs +92 -0
  39. package/esm2020/lib/core/services/attendance-service/attendance.service.mjs +64 -64
  40. package/esm2020/lib/core/services/budget-service/budget-service.mjs +41 -41
  41. package/esm2020/lib/core/services/calendar-service/calendar.service.mjs +39 -39
  42. package/esm2020/lib/core/services/classroom-service/classroom-service.service.mjs +31 -31
  43. package/esm2020/lib/core/services/course-service/course-service.model.mjs +75 -75
  44. package/esm2020/lib/core/services/marketing-service/marketing-service.mjs +57 -57
  45. package/esm2020/lib/core/services/notes-service/notes.service.mjs +50 -50
  46. package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +114 -114
  47. package/esm2020/lib/core/services/storage-service/storage-service.mjs +50 -50
  48. package/esm2020/lib/core/services/student-service/student.service.mjs +30 -30
  49. package/esm2020/lib/core/services/switch-service/switch.service.mjs +16 -16
  50. package/esm2020/lib/core/services/test-service/test.service.mjs +136 -136
  51. package/esm2020/lib/core/services/user-service/user-service.mjs +84 -84
  52. package/esm2020/lib/core/utils/base-service/base.service.mjs +179 -179
  53. package/esm2020/lib/core/utils/route-service/route.service.mjs +18 -18
  54. package/esm2020/lib/design-system.module.mjs +36 -36
  55. package/esm2020/public-api.mjs +60 -60
  56. package/fesm2015/iptdevs-design-system.mjs +2254 -2164
  57. package/fesm2015/iptdevs-design-system.mjs.map +1 -1
  58. package/fesm2020/iptdevs-design-system.mjs +2251 -2161
  59. package/fesm2020/iptdevs-design-system.mjs.map +1 -1
  60. package/iptdevs-design-system.d.ts +5 -5
  61. package/lib/components/atoms/aside-button/aside-button.component.d.ts +11 -11
  62. package/lib/components/atoms/button/button.component.d.ts +13 -13
  63. package/lib/components/atoms/checkbox/checkbox.component.d.ts +11 -11
  64. package/lib/components/atoms/datalist/datalist.component.d.ts +20 -20
  65. package/lib/components/atoms/input/input.component.d.ts +26 -26
  66. package/lib/components/atoms/level-button/level-button.component.d.ts +11 -11
  67. package/lib/components/atoms/level-text/level-text.component.d.ts +7 -7
  68. package/lib/components/atoms/loader/loader.component.d.ts +7 -7
  69. package/lib/components/atoms/radio/radio.component.d.ts +11 -11
  70. package/lib/components/atoms/select/select.component.d.ts +24 -24
  71. package/lib/components/atoms/text-link/text-link.component.d.ts +12 -12
  72. package/lib/components/components.module.d.ts +24 -24
  73. package/lib/components/forms/create-user-form/create-user-form.component.d.ts +36 -36
  74. package/lib/components/forms/login-form/login-form.component.d.ts +13 -13
  75. package/lib/components/material.module.d.ts +11 -11
  76. package/lib/components/molecules/sidenav/sidenav.component.d.ts +22 -22
  77. package/lib/core/core.module.d.ts +6 -6
  78. package/lib/core/models/activities/activities.interface.d.ts +12 -6
  79. package/lib/core/models/attendance/attendance.interface.d.ts +62 -62
  80. package/lib/core/models/budget/budget.model.d.ts +69 -69
  81. package/lib/core/models/calendar/calendar-rq.models.d.ts +27 -27
  82. package/lib/core/models/classroom/classroom-rq.model.d.ts +4 -4
  83. package/lib/core/models/cod/cod-rq.model.d.ts +51 -51
  84. package/lib/core/models/course/course-rq.model.d.ts +86 -86
  85. package/lib/core/models/cronogram/cronogram.models.d.ts +95 -95
  86. package/lib/core/models/marketing/marketing.model.d.ts +104 -104
  87. package/lib/core/models/notes/notes.interface.d.ts +89 -89
  88. package/lib/core/models/response/response.interface.d.ts +10 -10
  89. package/lib/core/models/session/session.model.d.ts +5 -5
  90. package/lib/core/models/student/student.interface.d.ts +4 -4
  91. package/lib/core/models/table/table-rs.model.d.ts +7 -7
  92. package/lib/core/models/test/test.model.d.ts +219 -219
  93. package/lib/core/models/url/url.model.d.ts +8 -8
  94. package/lib/core/models/user/user-rq.model.d.ts +91 -91
  95. package/lib/core/models/user/user-rs.model.d.ts +35 -35
  96. package/lib/core/services/activity-service/activity.service.d.ts +26 -0
  97. package/lib/core/services/attendance-service/attendance.service.d.ts +22 -22
  98. package/lib/core/services/budget-service/budget-service.d.ts +16 -16
  99. package/lib/core/services/calendar-service/calendar.service.d.ts +18 -18
  100. package/lib/core/services/classroom-service/classroom-service.service.d.ts +14 -14
  101. package/lib/core/services/course-service/course-service.model.d.ts +24 -24
  102. package/lib/core/services/marketing-service/marketing-service.d.ts +20 -20
  103. package/lib/core/services/notes-service/notes.service.d.ts +19 -19
  104. package/lib/core/services/parameters-service/parameters.service.d.ts +34 -34
  105. package/lib/core/services/storage-service/storage-service.d.ts +18 -18
  106. package/lib/core/services/student-service/student.service.d.ts +14 -14
  107. package/lib/core/services/switch-service/switch.service.d.ts +8 -8
  108. package/lib/core/services/test-service/test.service.d.ts +35 -35
  109. package/lib/core/services/user-service/user-service.d.ts +26 -26
  110. package/lib/core/utils/base-service/base.service.d.ts +21 -21
  111. package/lib/core/utils/route-service/route.service.d.ts +9 -9
  112. package/lib/design-system.module.d.ts +9 -9
  113. package/package.json +1 -1
  114. package/public-api.d.ts +51 -51
@@ -1,26 +1,26 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { RegisterIndexRq, RegisterDashboardRq, UserTokenRq, ForgotPasswordRq, LoginRq, RegisterRq, getStudentRq } from '../../models/user/user-rq.model';
4
- import { getStrategyByUserCommercialRq } from '../../models/marketing/marketing.model';
5
- import * as i0 from "@angular/core";
6
- export declare class UserService {
7
- private http;
8
- private SERVICE_URL;
9
- httpOptions: any;
10
- constructor(http: HttpClient);
11
- login(userLogin: LoginRq): Observable<any>;
12
- resetPassword(resetPassword: ForgotPasswordRq): Observable<any>;
13
- register(user: RegisterRq): Observable<any>;
14
- registerIndex(register: RegisterIndexRq): Observable<any>;
15
- registerDashboard(user: RegisterDashboardRq): Observable<any>;
16
- getAvailableTeachers(token: UserTokenRq): Observable<any>;
17
- getAllAdvisor(userToken: getStrategyByUserCommercialRq): Observable<any>;
18
- getByRoleUser(codeRole: number): Observable<any>;
19
- getUserStatistics(userToken: getStrategyByUserCommercialRq): Observable<any>;
20
- getRoutesForRole(token: UserTokenRq): Observable<any>;
21
- getStudents(token: UserTokenRq): Observable<any>;
22
- getStudent(token: getStudentRq): Observable<any>;
23
- private generateRequestParams;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
26
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { RegisterIndexRq, RegisterDashboardRq, UserTokenRq, ForgotPasswordRq, LoginRq, RegisterRq, getStudentRq } from '../../models/user/user-rq.model';
4
+ import { getStrategyByUserCommercialRq } from '../../models/marketing/marketing.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class UserService {
7
+ private http;
8
+ private SERVICE_URL;
9
+ httpOptions: any;
10
+ constructor(http: HttpClient);
11
+ login(userLogin: LoginRq): Observable<any>;
12
+ resetPassword(resetPassword: ForgotPasswordRq): Observable<any>;
13
+ register(user: RegisterRq): Observable<any>;
14
+ registerIndex(register: RegisterIndexRq): Observable<any>;
15
+ registerDashboard(user: RegisterDashboardRq): Observable<any>;
16
+ getAvailableTeachers(token: UserTokenRq): Observable<any>;
17
+ getAllAdvisor(userToken: getStrategyByUserCommercialRq): Observable<any>;
18
+ getByRoleUser(codeRole: number): Observable<any>;
19
+ getUserStatistics(userToken: getStrategyByUserCommercialRq): Observable<any>;
20
+ getRoutesForRole(token: UserTokenRq): Observable<any>;
21
+ getStudents(token: UserTokenRq): Observable<any>;
22
+ getStudent(token: getStudentRq): Observable<any>;
23
+ private generateRequestParams;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
26
+ }
@@ -1,21 +1,21 @@
1
- import { RegisterDashboardRq } from '../../models/user/user-rq.model';
2
- import { UserService } from '../../services/user-service/user-service';
3
- import { StorageService } from '../../services/storage-service/storage-service';
4
- import { CalendarService } from '../../services/calendar-service/calendar.service';
5
- import * as i0 from "@angular/core";
6
- export declare class BaseService {
7
- private userService;
8
- private storageService;
9
- private calendarService;
10
- constructor(userService: UserService, storageService: StorageService, calendarService: CalendarService);
11
- webLogin(user: string, password: string): Promise<boolean>;
12
- getCronogramAvailability(isTeacher: boolean, code: number, startDate: string, numClass: number, weekDays: any[], startTime: string, endTime: string): Promise<any>;
13
- getUserRole(): number;
14
- getUserToken(): string;
15
- getUserName(): string;
16
- registerUserFromDashboard(registerDashboardRq: RegisterDashboardRq): Promise<boolean>;
17
- jsonToArray(data: any[]): any[][];
18
- subJsonToArray(data: any[]): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
21
- }
1
+ import { RegisterDashboardRq } from '../../models/user/user-rq.model';
2
+ import { UserService } from '../../services/user-service/user-service';
3
+ import { StorageService } from '../../services/storage-service/storage-service';
4
+ import { CalendarService } from '../../services/calendar-service/calendar.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BaseService {
7
+ private userService;
8
+ private storageService;
9
+ private calendarService;
10
+ constructor(userService: UserService, storageService: StorageService, calendarService: CalendarService);
11
+ webLogin(user: string, password: string): Promise<boolean>;
12
+ getCronogramAvailability(isTeacher: boolean, code: number, startDate: string, numClass: number, weekDays: any[], startTime: string, endTime: string): Promise<any>;
13
+ getUserRole(): number;
14
+ getUserToken(): string;
15
+ getUserName(): string;
16
+ registerUserFromDashboard(registerDashboardRq: RegisterDashboardRq): Promise<boolean>;
17
+ jsonToArray(data: any[]): any[][];
18
+ subJsonToArray(data: any[]): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
21
+ }
@@ -1,9 +1,9 @@
1
- import { CanActivate, ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export declare class RedirectGuard implements CanActivate {
4
- private router;
5
- constructor(router: Router);
6
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<RedirectGuard, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<RedirectGuard>;
9
- }
1
+ import { CanActivate, ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RedirectGuard implements CanActivate {
4
+ private router;
5
+ constructor(router: Router);
6
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedirectGuard, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<RedirectGuard>;
9
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/components.module";
3
- import * as i2 from "./core/core.module";
4
- import * as i3 from "ng2-currency-mask";
5
- export declare class DesignSystemModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DesignSystemModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DesignSystemModule, never, [typeof i1.ComponentsModule, typeof i2.CoreModule, typeof i3.CurrencyMaskModule], [typeof i1.ComponentsModule, typeof i2.CoreModule, typeof i3.CurrencyMaskModule]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<DesignSystemModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/components.module";
3
+ import * as i2 from "./core/core.module";
4
+ import * as i3 from "ng2-currency-mask";
5
+ export declare class DesignSystemModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DesignSystemModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesignSystemModule, never, [typeof i1.ComponentsModule, typeof i2.CoreModule, typeof i3.CurrencyMaskModule], [typeof i1.ComponentsModule, typeof i2.CoreModule, typeof i3.CurrencyMaskModule]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DesignSystemModule>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "2.6.34",
3
+ "version": "2.6.36",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",
package/public-api.d.ts CHANGED
@@ -1,51 +1,51 @@
1
- export * from "./lib/design-system.module";
2
- export * from "./lib/components/components.module";
3
- export * from "./lib/core/core.module";
4
- export * from "./lib/components/atoms/aside-button/aside-button.component";
5
- export * from "./lib/components/atoms/button/button.component";
6
- export * from "./lib/components/atoms/checkbox/checkbox.component";
7
- export * from "./lib/components/atoms/datalist/datalist.component";
8
- export * from "./lib/components/atoms/input/input.component";
9
- export * from "./lib/components/atoms/level-button/level-button.component";
10
- export * from "./lib/components/atoms/level-text/level-text.component";
11
- export * from "./lib/components/atoms/loader/loader.component";
12
- export * from "./lib/components/atoms/radio/radio.component";
13
- export * from "./lib/components/atoms/select/select.component";
14
- export * from "./lib/components/atoms/text-link/text-link.component";
15
- export * from "./lib/components/forms/login-form/login-form.component";
16
- export * from "./lib/components/molecules/sidenav/sidenav.component";
17
- export * from "./lib/components/forms/create-user-form/create-user-form.component";
18
- export * from "./lib/core/services/attendance-service/attendance.service";
19
- export * from "./lib/core/services/budget-service/budget-service";
20
- export * from "./lib/core/services/course-service/course-service.model";
21
- export * from "./lib/core/services/calendar-service/calendar.service";
22
- export * from "./lib/core/services/marketing-service/marketing-service";
23
- export * from "./lib/core/services/notes-service/notes.service";
24
- export * from "./lib/core/services/parameters-service/parameters.service";
25
- export * from "./lib/core/services/student-service/student.service";
26
- export * from "./lib/core/services/storage-service/storage-service";
27
- export * from "./lib/core/services/switch-service/switch.service";
28
- export * from "./lib/core/services/test-service/test.service";
29
- export * from "./lib/core/services/user-service/user-service";
30
- export * from "./lib/core/utils/base-service/base.service";
31
- export * from "./lib/core/utils/route-service/route.service";
32
- export * from "./lib/core/services/classroom-service/classroom-service.service";
33
- export * from "./lib/core/models/activities/activities.interface";
34
- export * from "./lib/core/models/attendance/attendance.interface";
35
- export * from "./lib/core/models/budget/budget.model";
36
- export * from "./lib/core/models/cod/cod-rq.model";
37
- export * from "./lib/core/models/calendar/calendar-rq.models";
38
- export * from "./lib/core/models/cronogram/cronogram.models";
39
- export * from "./lib/core/models/course/course-rq.model";
40
- export * from "./lib/core/models/marketing/marketing.model";
41
- export * from "./lib/core/models/notes/notes.interface";
42
- export * from "./lib/core/models/response/response.interface";
43
- export * from "./lib/core/models/session/session.model";
44
- export * from "./lib/core/models/student/student.interface";
45
- export * from "./lib/core/models/table/table-rs.model";
46
- export * from "./lib/core/models/test/test.model";
47
- export * from "./lib/core/models/url/url.model";
48
- export * from "./lib/core/models/user/user-rq.model";
49
- export * from "./lib/core/models/user/user-rs.model";
50
- export * from "./lib/core/models/classroom/classroom-rq.model";
51
- export * from "./lib/components/components.module";
1
+ export * from "./lib/design-system.module";
2
+ export * from "./lib/components/components.module";
3
+ export * from "./lib/core/core.module";
4
+ export * from "./lib/components/atoms/aside-button/aside-button.component";
5
+ export * from "./lib/components/atoms/button/button.component";
6
+ export * from "./lib/components/atoms/checkbox/checkbox.component";
7
+ export * from "./lib/components/atoms/datalist/datalist.component";
8
+ export * from "./lib/components/atoms/input/input.component";
9
+ export * from "./lib/components/atoms/level-button/level-button.component";
10
+ export * from "./lib/components/atoms/level-text/level-text.component";
11
+ export * from "./lib/components/atoms/loader/loader.component";
12
+ export * from "./lib/components/atoms/radio/radio.component";
13
+ export * from "./lib/components/atoms/select/select.component";
14
+ export * from "./lib/components/atoms/text-link/text-link.component";
15
+ export * from "./lib/components/forms/login-form/login-form.component";
16
+ export * from "./lib/components/molecules/sidenav/sidenav.component";
17
+ export * from "./lib/components/forms/create-user-form/create-user-form.component";
18
+ export * from "./lib/core/services/attendance-service/attendance.service";
19
+ export * from "./lib/core/services/budget-service/budget-service";
20
+ export * from "./lib/core/services/course-service/course-service.model";
21
+ export * from "./lib/core/services/calendar-service/calendar.service";
22
+ export * from "./lib/core/services/marketing-service/marketing-service";
23
+ export * from "./lib/core/services/notes-service/notes.service";
24
+ export * from "./lib/core/services/parameters-service/parameters.service";
25
+ export * from "./lib/core/services/student-service/student.service";
26
+ export * from "./lib/core/services/storage-service/storage-service";
27
+ export * from "./lib/core/services/switch-service/switch.service";
28
+ export * from "./lib/core/services/test-service/test.service";
29
+ export * from "./lib/core/services/user-service/user-service";
30
+ export * from "./lib/core/utils/base-service/base.service";
31
+ export * from "./lib/core/utils/route-service/route.service";
32
+ export * from "./lib/core/services/classroom-service/classroom-service.service";
33
+ export * from "./lib/core/models/activities/activities.interface";
34
+ export * from "./lib/core/models/attendance/attendance.interface";
35
+ export * from "./lib/core/models/budget/budget.model";
36
+ export * from "./lib/core/models/cod/cod-rq.model";
37
+ export * from "./lib/core/models/calendar/calendar-rq.models";
38
+ export * from "./lib/core/models/cronogram/cronogram.models";
39
+ export * from "./lib/core/models/course/course-rq.model";
40
+ export * from "./lib/core/models/marketing/marketing.model";
41
+ export * from "./lib/core/models/notes/notes.interface";
42
+ export * from "./lib/core/models/response/response.interface";
43
+ export * from "./lib/core/models/session/session.model";
44
+ export * from "./lib/core/models/student/student.interface";
45
+ export * from "./lib/core/models/table/table-rs.model";
46
+ export * from "./lib/core/models/test/test.model";
47
+ export * from "./lib/core/models/url/url.model";
48
+ export * from "./lib/core/models/user/user-rq.model";
49
+ export * from "./lib/core/models/user/user-rs.model";
50
+ export * from "./lib/core/models/classroom/classroom-rq.model";
51
+ export * from "./lib/components/components.module";