iptdevs-design-system 2.7.15 → 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.
@@ -2257,6 +2257,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2257
2257
  args: [{ providedIn: 'root' }]
2258
2258
  }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
2259
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
+
2260
2398
  class CoreModule {
2261
2399
  }
2262
2400
  CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -2274,7 +2412,12 @@ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13
2274
2412
  MarketingService,
2275
2413
  ClassroomService,
2276
2414
  BudgetService,
2277
- ActivityService
2415
+ ActivityService,
2416
+ AcademicService,
2417
+ AttendanceService,
2418
+ CalendarService,
2419
+ CertificateService,
2420
+ UserEktService
2278
2421
  ] });
2279
2422
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, decorators: [{
2280
2423
  type: NgModule,
@@ -2292,7 +2435,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2292
2435
  MarketingService,
2293
2436
  ClassroomService,
2294
2437
  BudgetService,
2295
- ActivityService
2438
+ ActivityService,
2439
+ AcademicService,
2440
+ AttendanceService,
2441
+ CalendarService,
2442
+ CertificateService,
2443
+ UserEktService
2296
2444
  ]
2297
2445
  }]
2298
2446
  }] });
@@ -2328,66 +2476,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2328
2476
  }]
2329
2477
  }] });
2330
2478
 
2331
- class AttendanceService extends IPTGeneralService {
2332
- constructor(http) {
2333
- super();
2334
- this.http = http;
2335
- this.SERVICE_URL = 'academic/api/';
2336
- this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
2337
- }
2338
- addEventByCourseRq(params) {
2339
- let serviceUrl = `${this.SERVICE_URL}post/event/by/course`;
2340
- this.generateRequestParams(params);
2341
- return this.http.post(serviceUrl, this.httpOptions);
2342
- }
2343
- getEventsByCourseCode(params) {
2344
- let serviceUrl = `${this.SERVICE_URL}post/obtain/events/by/course_code`;
2345
- this.generateRequestParams(params);
2346
- return this.http.post(serviceUrl, this.httpOptions);
2347
- }
2348
- getEventByCode(params) {
2349
- let serviceUrl = `${this.SERVICE_URL}post/obtain/event/by/code`;
2350
- this.generateRequestParams(params);
2351
- return this.http.post(serviceUrl, this.httpOptions);
2352
- }
2353
- registerNewAttendanceByEvent(params) {
2354
- let serviceUrl = `${this.SERVICE_URL}register/attendance/by/event`;
2355
- this.generateRequestParams(params);
2356
- return this.http.post(serviceUrl, this.httpOptions);
2357
- }
2358
- getAttendaceByCourse(courseCode) {
2359
- let serviceUrl = `${this.SERVICE_URL}post/obtain/attendances/by/course/${courseCode}`;
2360
- return this.http.get(serviceUrl);
2361
- }
2362
- getCODCodeByStudentCode(studentCode) {
2363
- let serviceUrl = `${this.SERVICE_URL}get/cod_code/by/student_code/${studentCode}`;
2364
- return this.http.get(serviceUrl);
2365
- }
2366
- getAttendanceHistoryByStudent(token, cod_code) {
2367
- let serviceUrl = `${this.SERVICE_URL}post/obtain/attendance/history/by/student`;
2368
- this.generateRequestParams({ token, cod_code });
2369
- return this.http.post(serviceUrl, this.httpOptions);
2370
- }
2371
- getAllNotAttendancesByCod(params) {
2372
- let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/by/cod`;
2373
- this.generateRequestParams(params);
2374
- return this.http.post(serviceUrl, this.httpOptions);
2375
- }
2376
- getNotAttendancesOfLastWeekByCod(params) {
2377
- let serviceUrl = `${this.SERVICE_URL}get/all/not/attendances/lastweek/by/cod`;
2378
- this.generateRequestParams(params);
2379
- return this.http.post(serviceUrl, this.httpOptions);
2380
- }
2381
- }
2382
- 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 });
2383
- AttendanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, providedIn: 'root' });
2384
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: AttendanceService, decorators: [{
2385
- type: Injectable,
2386
- args: [{
2387
- providedIn: 'root'
2388
- }]
2389
- }], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
2390
-
2391
2479
  class NotesService extends IPTGeneralService {
2392
2480
  constructor(http) {
2393
2481
  super();