iptdevs-design-system 2.6.55 → 2.6.57

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.
@@ -704,10 +704,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
704
704
  type: Output
705
705
  }] } });
706
706
 
707
+ const environment = {
708
+ production: false,
709
+ baseUrl: 'https://iptdev.com.co/lab/',
710
+ assets: 'https://qa.iptdev.com.co/assets/'
711
+ };
712
+
707
713
  class UserService {
708
714
  constructor(http) {
709
715
  this.http = http;
710
- this.SERVICE_URL = 'https://iptdev.com.co/lab/users/api/';
716
+ this.SERVICE_URL = environment.baseUrl + 'users/api/';
711
717
  }
712
718
  login(userLogin) {
713
719
  let serviceUrl = this.SERVICE_URL + 'post/login';
@@ -835,7 +841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
835
841
  class CalendarService {
836
842
  constructor(http) {
837
843
  this.http = http;
838
- this.SERVICE_URL = 'https://iptdev.com.co/lab/calendar/api/';
844
+ this.SERVICE_URL = environment.baseUrl + 'calendar/api/';
839
845
  }
840
846
  postCreateQueryEvent(params) {
841
847
  let serviceUrl = this.SERVICE_URL + 'post/event/create/query';
@@ -1156,7 +1162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1156
1162
  class ParameterService {
1157
1163
  constructor(http) {
1158
1164
  this.http = http;
1159
- this.SERVICE_URL = 'https://iptdev.com.co/lab/parameters/api/';
1165
+ this.SERVICE_URL = environment.baseUrl + 'parameters/api/';
1160
1166
  }
1161
1167
  getIndicatives() {
1162
1168
  let serviceUrl = this.SERVICE_URL + 'get/indicatives';
@@ -1734,7 +1740,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1734
1740
  class CourseService {
1735
1741
  constructor(http) {
1736
1742
  this.http = http;
1737
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
1743
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
1738
1744
  }
1739
1745
  createCourse(course) {
1740
1746
  let serviceUrl = this.SERVICE_URL + 'post/course';
@@ -1834,7 +1840,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1834
1840
  class TestService {
1835
1841
  constructor(http) {
1836
1842
  this.http = http;
1837
- this.SERVICE_URL = 'https://iptdev.com.co/lab/test/api/';
1843
+ this.SERVICE_URL = environment.baseUrl + 'test/api/';
1838
1844
  }
1839
1845
  // ---------------------- EXÁMENES ---------------------- //
1840
1846
  createExam(exam) {
@@ -1966,7 +1972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
1966
1972
  class MarketingService {
1967
1973
  constructor(http) {
1968
1974
  this.http = http;
1969
- this.SERVICE_URL = 'https://iptdev.com.co/lab/commercial/api/';
1975
+ this.SERVICE_URL = environment.baseUrl + 'commercial/api/';
1970
1976
  }
1971
1977
  getStrategyByUserCommercial(user) {
1972
1978
  let serviceUrl = this.SERVICE_URL + 'post/contact/strategy/byaviser';
@@ -2019,7 +2025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2019
2025
  class BudgetService {
2020
2026
  constructor(http) {
2021
2027
  this.http = http;
2022
- this.SERVICE_URL = 'https://iptdev.com.co/lab/budget/api/';
2028
+ this.SERVICE_URL = environment.baseUrl + 'budget/api/';
2023
2029
  }
2024
2030
  getAllDiscount(user) {
2025
2031
  let serviceUrl = this.SERVICE_URL + 'post/discounts/coupon/all';
@@ -2056,7 +2062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2056
2062
  class ClassroomService {
2057
2063
  constructor(http) {
2058
2064
  this.http = http;
2059
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
2065
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
2060
2066
  }
2061
2067
  getClassroomsByModality(params) {
2062
2068
  let serviceUrl = this.SERVICE_URL + 'post/classroom/by/modality';
@@ -2088,7 +2094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2088
2094
  class ActivityService {
2089
2095
  constructor(http) {
2090
2096
  this.http = http;
2091
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
2097
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
2092
2098
  }
2093
2099
  getActivityByCourse(params) {
2094
2100
  let serviceUrl = this.SERVICE_URL + 'post/activities/by/course/code';
@@ -2245,7 +2251,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2245
2251
  class AttendanceService {
2246
2252
  constructor(http) {
2247
2253
  this.http = http;
2248
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api';
2254
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
2249
2255
  }
2250
2256
  addEventByCourseRq(params) {
2251
2257
  let serviceUrl = `${this.SERVICE_URL}/post/event/by/course`;
@@ -2310,7 +2316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2310
2316
  class NotesService {
2311
2317
  constructor(http) {
2312
2318
  this.http = http;
2313
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
2319
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
2314
2320
  }
2315
2321
  getNotesByGroup(params) {
2316
2322
  let serviceUrl = this.SERVICE_URL + 'post/obtain/notes/by/course';
@@ -2356,7 +2362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
2356
2362
  class StudentService {
2357
2363
  constructor(http) {
2358
2364
  this.http = http;
2359
- this.SERVICE_URL = 'https://iptdev.com.co/lab/academic/api/';
2365
+ this.SERVICE_URL = environment.baseUrl + 'academic/api/';
2360
2366
  }
2361
2367
  getStudentsByCourse(params) {
2362
2368
  let serviceUrl = this.SERVICE_URL + 'post/obtain/students/by/course';