iptdevs-design-system 2.7.14 → 2.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/core.module.mjs +18 -3
- package/esm2020/lib/core/models/academic/academic.component.mjs +2 -0
- package/esm2020/lib/core/services/academic-service/academic.service.mjs +35 -0
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +9 -1
- package/esm2020/lib/core/services/certificate-service/certificate.service.mjs +26 -0
- package/esm2020/lib/core/services/ekt-service/userekt.service.mjs +29 -0
- package/fesm2015/iptdevs-design-system.mjs +158 -62
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +158 -62
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/academic/academic.component.d.ts +13 -0
- package/lib/core/services/academic-service/academic.service.d.ts +15 -0
- package/lib/core/services/budget-service/budget-service.d.ts +2 -0
- package/lib/core/services/certificate-service/certificate.service.d.ts +13 -0
- package/lib/core/services/ekt-service/userekt.service.d.ts +13 -0
- package/package.json +1 -1
|
@@ -2072,6 +2072,14 @@ class BudgetService extends IPTGeneralService {
|
|
|
2072
2072
|
this.generateRequestParams(params);
|
|
2073
2073
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
2074
2074
|
}
|
|
2075
|
+
getPaymentStudentsByCode(codeStudent) {
|
|
2076
|
+
let serviceUrl = this.SERVICE_URL + 'get/payment/cod/student/by/code/' + codeStudent;
|
|
2077
|
+
return this.http.get(serviceUrl);
|
|
2078
|
+
}
|
|
2079
|
+
getPaymentWalletByCampus(codeCampus) {
|
|
2080
|
+
let serviceUrl = this.SERVICE_URL + 'get/payment/wallet/by/campus/' + codeCampus;
|
|
2081
|
+
return this.http.get(serviceUrl);
|
|
2082
|
+
}
|
|
2075
2083
|
paymentBillDues(params) {
|
|
2076
2084
|
let serviceUrl = this.SERVICE_URL + 'post/payment/bill/register/dues';
|
|
2077
2085
|
this.generateRequestParams(params);
|
|
@@ -2249,6 +2257,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
2249
2257
|
args: [{ providedIn: 'root' }]
|
|
2250
2258
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2251
2259
|
|
|
2260
|
+
class AcademicService extends IPTGeneralService {
|
|
2261
|
+
constructor(http) {
|
|
2262
|
+
super();
|
|
2263
|
+
this.http = http;
|
|
2264
|
+
this.SERVICE_URL = 'academic/api/';
|
|
2265
|
+
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2266
|
+
}
|
|
2267
|
+
getCourseByType(params) {
|
|
2268
|
+
let serviceUrl = this.SERVICE_URL + 'post/course/by/type';
|
|
2269
|
+
this.generateRequestParams(params);
|
|
2270
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2271
|
+
}
|
|
2272
|
+
getStudentByCourse(params) {
|
|
2273
|
+
let serviceUrl = this.SERVICE_URL + 'post/course/students';
|
|
2274
|
+
this.generateRequestParams(params);
|
|
2275
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2276
|
+
}
|
|
2277
|
+
getCodGenDataStudent(codeStudent) {
|
|
2278
|
+
let serviceUrl = this.SERVICE_URL + 'get/general/data/student/by/code/' + codeStudent;
|
|
2279
|
+
return this.http.get(serviceUrl);
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
AcademicService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AcademicService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2283
|
+
AcademicService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AcademicService, providedIn: 'root' });
|
|
2284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AcademicService, decorators: [{
|
|
2285
|
+
type: Injectable,
|
|
2286
|
+
args: [{
|
|
2287
|
+
providedIn: 'root',
|
|
2288
|
+
}]
|
|
2289
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2290
|
+
|
|
2291
|
+
class AttendanceService extends IPTGeneralService {
|
|
2292
|
+
constructor(http) {
|
|
2293
|
+
super();
|
|
2294
|
+
this.http = http;
|
|
2295
|
+
this.SERVICE_URL = 'academic/api/';
|
|
2296
|
+
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2297
|
+
}
|
|
2298
|
+
addEventByCourseRq(params) {
|
|
2299
|
+
let serviceUrl = `${this.SERVICE_URL}post/event/by/course`;
|
|
2300
|
+
this.generateRequestParams(params);
|
|
2301
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2302
|
+
}
|
|
2303
|
+
getEventsByCourseCode(params) {
|
|
2304
|
+
let serviceUrl = `${this.SERVICE_URL}post/obtain/events/by/course_code`;
|
|
2305
|
+
this.generateRequestParams(params);
|
|
2306
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2307
|
+
}
|
|
2308
|
+
getEventByCode(params) {
|
|
2309
|
+
let serviceUrl = `${this.SERVICE_URL}post/obtain/event/by/code`;
|
|
2310
|
+
this.generateRequestParams(params);
|
|
2311
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2312
|
+
}
|
|
2313
|
+
registerNewAttendanceByEvent(params) {
|
|
2314
|
+
let serviceUrl = `${this.SERVICE_URL}register/attendance/by/event`;
|
|
2315
|
+
this.generateRequestParams(params);
|
|
2316
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2317
|
+
}
|
|
2318
|
+
getAttendaceByCourse(courseCode) {
|
|
2319
|
+
let serviceUrl = `${this.SERVICE_URL}post/obtain/attendances/by/course/${courseCode}`;
|
|
2320
|
+
return this.http.get(serviceUrl);
|
|
2321
|
+
}
|
|
2322
|
+
getCODCodeByStudentCode(studentCode) {
|
|
2323
|
+
let serviceUrl = `${this.SERVICE_URL}get/cod_code/by/student_code/${studentCode}`;
|
|
2324
|
+
return this.http.get(serviceUrl);
|
|
2325
|
+
}
|
|
2326
|
+
getAttendanceHistoryByStudent(token, cod_code) {
|
|
2327
|
+
let serviceUrl = `${this.SERVICE_URL}post/obtain/attendance/history/by/student`;
|
|
2328
|
+
this.generateRequestParams({ token, cod_code });
|
|
2329
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2330
|
+
}
|
|
2331
|
+
getAllNotAttendancesByCod(params) {
|
|
2332
|
+
let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/by/cod`;
|
|
2333
|
+
this.generateRequestParams(params);
|
|
2334
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2335
|
+
}
|
|
2336
|
+
getNotAttendancesOfLastWeekByCod(params) {
|
|
2337
|
+
let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/lastweek/by/cod`;
|
|
2338
|
+
this.generateRequestParams(params);
|
|
2339
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
AttendanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2343
|
+
AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, providedIn: 'root' });
|
|
2344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, decorators: [{
|
|
2345
|
+
type: Injectable,
|
|
2346
|
+
args: [{
|
|
2347
|
+
providedIn: 'root'
|
|
2348
|
+
}]
|
|
2349
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2350
|
+
|
|
2351
|
+
class CertificateService extends IPTGeneralService {
|
|
2352
|
+
constructor(http) {
|
|
2353
|
+
super();
|
|
2354
|
+
this.http = http;
|
|
2355
|
+
this.SERVICE_URL = 'certificates/api/';
|
|
2356
|
+
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2357
|
+
}
|
|
2358
|
+
getCertificate(params) {
|
|
2359
|
+
let serviceUrl = this.SERVICE_URL + 'post/kids';
|
|
2360
|
+
this.generateRequestParams(params);
|
|
2361
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
CertificateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CertificateService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2365
|
+
CertificateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CertificateService, providedIn: 'root' });
|
|
2366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CertificateService, decorators: [{
|
|
2367
|
+
type: Injectable,
|
|
2368
|
+
args: [{
|
|
2369
|
+
providedIn: 'root',
|
|
2370
|
+
}]
|
|
2371
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2372
|
+
|
|
2373
|
+
class UserEktService extends IPTGeneralService {
|
|
2374
|
+
constructor(http) {
|
|
2375
|
+
super();
|
|
2376
|
+
this.http = http;
|
|
2377
|
+
this.SERVICE_URL = 'ekt/api/';
|
|
2378
|
+
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2379
|
+
}
|
|
2380
|
+
getAllUserEkt() {
|
|
2381
|
+
let serviceUrl = this.SERVICE_URL + 'get/all/users/1161419';
|
|
2382
|
+
return this.http.get(serviceUrl);
|
|
2383
|
+
}
|
|
2384
|
+
getAllAnnouncementByUser(codeUser) {
|
|
2385
|
+
let serviceUrl = this.SERVICE_URL + 'get/all/announcement/by/user/' + codeUser;
|
|
2386
|
+
return this.http.get(serviceUrl);
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
UserEktService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: UserEktService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2390
|
+
UserEktService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: UserEktService, providedIn: 'root' });
|
|
2391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: UserEktService, decorators: [{
|
|
2392
|
+
type: Injectable,
|
|
2393
|
+
args: [{
|
|
2394
|
+
providedIn: 'root',
|
|
2395
|
+
}]
|
|
2396
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2397
|
+
|
|
2252
2398
|
class CoreModule {
|
|
2253
2399
|
}
|
|
2254
2400
|
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2266,7 +2412,12 @@ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13
|
|
|
2266
2412
|
MarketingService,
|
|
2267
2413
|
ClassroomService,
|
|
2268
2414
|
BudgetService,
|
|
2269
|
-
ActivityService
|
|
2415
|
+
ActivityService,
|
|
2416
|
+
AcademicService,
|
|
2417
|
+
AttendanceService,
|
|
2418
|
+
CalendarService,
|
|
2419
|
+
CertificateService,
|
|
2420
|
+
UserEktService
|
|
2270
2421
|
] });
|
|
2271
2422
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, decorators: [{
|
|
2272
2423
|
type: NgModule,
|
|
@@ -2284,7 +2435,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
2284
2435
|
MarketingService,
|
|
2285
2436
|
ClassroomService,
|
|
2286
2437
|
BudgetService,
|
|
2287
|
-
ActivityService
|
|
2438
|
+
ActivityService,
|
|
2439
|
+
AcademicService,
|
|
2440
|
+
AttendanceService,
|
|
2441
|
+
CalendarService,
|
|
2442
|
+
CertificateService,
|
|
2443
|
+
UserEktService
|
|
2288
2444
|
]
|
|
2289
2445
|
}]
|
|
2290
2446
|
}] });
|
|
@@ -2320,66 +2476,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
2320
2476
|
}]
|
|
2321
2477
|
}] });
|
|
2322
2478
|
|
|
2323
|
-
class AttendanceService extends IPTGeneralService {
|
|
2324
|
-
constructor(http) {
|
|
2325
|
-
super();
|
|
2326
|
-
this.http = http;
|
|
2327
|
-
this.SERVICE_URL = 'academic/api/';
|
|
2328
|
-
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2329
|
-
}
|
|
2330
|
-
addEventByCourseRq(params) {
|
|
2331
|
-
let serviceUrl = `${this.SERVICE_URL}post/event/by/course`;
|
|
2332
|
-
this.generateRequestParams(params);
|
|
2333
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2334
|
-
}
|
|
2335
|
-
getEventsByCourseCode(params) {
|
|
2336
|
-
let serviceUrl = `${this.SERVICE_URL}post/obtain/events/by/course_code`;
|
|
2337
|
-
this.generateRequestParams(params);
|
|
2338
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2339
|
-
}
|
|
2340
|
-
getEventByCode(params) {
|
|
2341
|
-
let serviceUrl = `${this.SERVICE_URL}post/obtain/event/by/code`;
|
|
2342
|
-
this.generateRequestParams(params);
|
|
2343
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2344
|
-
}
|
|
2345
|
-
registerNewAttendanceByEvent(params) {
|
|
2346
|
-
let serviceUrl = `${this.SERVICE_URL}register/attendance/by/event`;
|
|
2347
|
-
this.generateRequestParams(params);
|
|
2348
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2349
|
-
}
|
|
2350
|
-
getAttendaceByCourse(courseCode) {
|
|
2351
|
-
let serviceUrl = `${this.SERVICE_URL}post/obtain/attendances/by/course/${courseCode}`;
|
|
2352
|
-
return this.http.get(serviceUrl);
|
|
2353
|
-
}
|
|
2354
|
-
getCODCodeByStudentCode(studentCode) {
|
|
2355
|
-
let serviceUrl = `${this.SERVICE_URL}get/cod_code/by/student_code/${studentCode}`;
|
|
2356
|
-
return this.http.get(serviceUrl);
|
|
2357
|
-
}
|
|
2358
|
-
getAttendanceHistoryByStudent(token, cod_code) {
|
|
2359
|
-
let serviceUrl = `${this.SERVICE_URL}post/obtain/attendance/history/by/student`;
|
|
2360
|
-
this.generateRequestParams({ token, cod_code });
|
|
2361
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2362
|
-
}
|
|
2363
|
-
getAllNotAttendancesByCod(params) {
|
|
2364
|
-
let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/by/cod`;
|
|
2365
|
-
this.generateRequestParams(params);
|
|
2366
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2367
|
-
}
|
|
2368
|
-
getNotAttendancesOfLastWeekByCod(params) {
|
|
2369
|
-
let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/lastweek/by/cod`;
|
|
2370
|
-
this.generateRequestParams(params);
|
|
2371
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
AttendanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2375
|
-
AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, providedIn: 'root' });
|
|
2376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, decorators: [{
|
|
2377
|
-
type: Injectable,
|
|
2378
|
-
args: [{
|
|
2379
|
-
providedIn: 'root'
|
|
2380
|
-
}]
|
|
2381
|
-
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2382
|
-
|
|
2383
2479
|
class NotesService extends IPTGeneralService {
|
|
2384
2480
|
constructor(http) {
|
|
2385
2481
|
super();
|