iptdevs-design-system 2.2.6 → 2.2.9
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/components/molecules/sidenav/sidenav.component.mjs +5 -5
- package/esm2020/lib/core/core.module.mjs +12 -3
- package/esm2020/lib/core/models/budget/budget.model.mjs +2 -0
- package/esm2020/lib/core/models/marketing/marketing.modal.mjs +2 -0
- package/esm2020/lib/core/models/test/test.model.mjs +2 -0
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +41 -0
- package/esm2020/lib/core/services/marketing-service/marketing-service.mjs +57 -0
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +29 -1
- package/esm2020/lib/core/services/test-service/test.service.mjs +135 -0
- package/esm2020/lib/core/services/user-service/user-service.mjs +15 -1
- package/esm2020/public-api.mjs +7 -1
- package/fesm2015/iptdevs-design-system.mjs +276 -7
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +276 -7
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/budget/budget.model.d.ts +69 -0
- package/lib/core/models/marketing/marketing.modal.d.ts +104 -0
- package/lib/core/models/test/test.model.d.ts +213 -0
- package/lib/core/services/budget-service/budget-service.d.ts +16 -0
- package/lib/core/services/marketing-service/marketing-service.d.ts +20 -0
- package/lib/core/services/parameters-service/parameters.service.d.ts +7 -0
- package/lib/core/services/test-service/test.service.d.ts +35 -0
- package/lib/core/services/user-service/user-service.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
package/esm2020/public-api.mjs
CHANGED
|
@@ -24,6 +24,9 @@ export * from "./lib/core/services/parameters-service/parameters.service";
|
|
|
24
24
|
export * from "./lib/core/services/storage-service/storage-service";
|
|
25
25
|
export * from "./lib/core/services/user-service/user-service";
|
|
26
26
|
export * from "./lib/core/services/switch-service/switch.service";
|
|
27
|
+
export * from "./lib/core/services/budget-service/budget-service";
|
|
28
|
+
export * from "./lib/core/services/marketing-service/marketing-service";
|
|
29
|
+
export * from "./lib/core/services/test-service/test.service";
|
|
27
30
|
export * from "./lib/core/utils/route-service/route.service";
|
|
28
31
|
export * from "./lib/core/utils/base-service/base.service";
|
|
29
32
|
// Modelos
|
|
@@ -34,4 +37,7 @@ export * from "./lib/core/models/table/table-rs.model";
|
|
|
34
37
|
export * from "./lib/core/models/url/url.model";
|
|
35
38
|
export * from "./lib/core/models/user/user-rq.model";
|
|
36
39
|
export * from "./lib/core/models/user/user-rs.model";
|
|
37
|
-
|
|
40
|
+
export * from "./lib/core/models/test/test.model";
|
|
41
|
+
export * from "./lib/core/models/marketing/marketing.modal";
|
|
42
|
+
export * from "./lib/core/models/budget/budget.model";
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2Rlc2lnbi1zeXN0ZW0vc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLDRCQUE0QixDQUFBO0FBQzFDLGNBQWMsb0NBQW9DLENBQUE7QUFDbEQsY0FBYyx3QkFBd0IsQ0FBQTtBQUV0QyxTQUFTO0FBQ1QsY0FBYyw0REFBNEQsQ0FBQTtBQUMxRSxjQUFjLGdEQUFnRCxDQUFBO0FBQzlELGNBQWMsb0RBQW9ELENBQUE7QUFDbEUsY0FBYyxvREFBb0QsQ0FBQTtBQUNsRSxjQUFjLDhDQUE4QyxDQUFBO0FBQzVELGNBQWMsNERBQTRELENBQUE7QUFDMUUsY0FBYyx3REFBd0QsQ0FBQTtBQUN0RSxjQUFjLDhDQUE4QyxDQUFBO0FBQzVELGNBQWMsZ0RBQWdELENBQUE7QUFDOUQsY0FBYyxzREFBc0QsQ0FBQTtBQUVwRSxjQUFjO0FBQ2QsY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W9kZWxzL2NvdXJzZS9jb3Vyc2UtcnEubW9kZWxcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2NvcmUvbW9kZWxzL3Nlc3Npb24vc2Vzc2lvbi5tb2RlbFwiXG5leHBvcnQgKiBmcm9tIFwiLi9saWIvY29yZS9tb2RlbHMvdGFibGUvdGFibGUtcnMubW9kZWxcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2NvcmUvbW9kZWxzL3VybC91cmwubW9kZWxcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2NvcmUvbW9kZWxzL3VzZXIvdXNlci1ycS5tb2RlbFwiXG5leHBvcnQgKiBmcm9tIFwiLi9saWIvY29yZS9tb2RlbHMvdXNlci91c2VyLXJzLm1vZGVsXCJcbmV4cG9ydCAqIGZyb20gXCIuL2xpYi9jb3JlL21vZGVscy90ZXN0L3Rlc3QubW9kZWxcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2NvcmUvbW9kZWxzL21hcmtldGluZy9tYXJrZXRpbmcubW9kYWxcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2NvcmUvbW9kZWxzL2J1ZGdldC9idWRnZXQubW9kZWxcIlxuIl19
|
|
@@ -636,6 +636,20 @@ class UserService {
|
|
|
636
636
|
this.generateRequestParams(token);
|
|
637
637
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
638
638
|
}
|
|
639
|
+
getAllAdvisor(userToken) {
|
|
640
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/all/usercommercial';
|
|
641
|
+
this.generateRequestParams(userToken);
|
|
642
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
643
|
+
}
|
|
644
|
+
getByRoleUser(codeRole) {
|
|
645
|
+
let serviceUrl = this.SERVICE_URL + 'get/obtain/by/role/user/' + codeRole;
|
|
646
|
+
return this.http.get(serviceUrl);
|
|
647
|
+
}
|
|
648
|
+
getUserStatistics(userToken) {
|
|
649
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/strategy/statistics';
|
|
650
|
+
this.generateRequestParams(userToken);
|
|
651
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
652
|
+
}
|
|
639
653
|
getRoutesForRole(token) {
|
|
640
654
|
let serviceUrl = this.SERVICE_URL + 'post/routes/role';
|
|
641
655
|
this.generateRequestParams(token);
|
|
@@ -998,7 +1012,7 @@ SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
998
1012
|
<div class="menu-icon"></div>
|
|
999
1013
|
</div>
|
|
1000
1014
|
|
|
1001
|
-
<img class="img-logo" src="
|
|
1015
|
+
<img class="img-logo" src="http://qa.iptdev.com.co/assets/logos/IPT-logo.png" alt="" />
|
|
1002
1016
|
|
|
1003
1017
|
<div class="text-container">
|
|
1004
1018
|
<span class="p1">{{ currentDay }}</span>
|
|
@@ -1018,7 +1032,7 @@ SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
1018
1032
|
<div class="photo-logout"></div>
|
|
1019
1033
|
</div>
|
|
1020
1034
|
</mat-toolbar>
|
|
1021
|
-
`, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(
|
|
1035
|
+
`, isInline: true, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"], components: [{ type: i3.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { type: i4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i5.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: AsideButtonComponent, selector: "ipt-aside-button", inputs: ["icon", "text", "buttonActive"], outputs: ["isClicked"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1022
1036
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: SidenavComponent, decorators: [{
|
|
1023
1037
|
type: Component,
|
|
1024
1038
|
args: [{ selector: 'ipt-sidenav', template: `
|
|
@@ -1048,7 +1062,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
1048
1062
|
<div class="menu-icon"></div>
|
|
1049
1063
|
</div>
|
|
1050
1064
|
|
|
1051
|
-
<img class="img-logo" src="
|
|
1065
|
+
<img class="img-logo" src="http://qa.iptdev.com.co/assets/logos/IPT-logo.png" alt="" />
|
|
1052
1066
|
|
|
1053
1067
|
<div class="text-container">
|
|
1054
1068
|
<span class="p1">{{ currentDay }}</span>
|
|
@@ -1068,7 +1082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
1068
1082
|
<div class="photo-logout"></div>
|
|
1069
1083
|
</div>
|
|
1070
1084
|
</mat-toolbar>
|
|
1071
|
-
`, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(
|
|
1085
|
+
`, styles: ["*{font-family:Poppins,sans-serif}@media screen and (min-width: 320px){.header{background-color:#fff;display:flex;justify-content:space-between;filter:drop-shadow(0px -1px 7px #000)}mat-sidenav{width:-moz-fit-content!important;width:fit-content!important;background-color:#1c77f7!important}.img-logo,.text-container{display:none}.mat-toolbar.mat-primary{background-color:#fff!important;color:#003d99!important;filter:drop-shadow(0px -1px 7px #000)}.logout-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:auto;border-radius:30px;display:flex;margin-left:10px}.logout-button{display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin-left:20px;text-align:center;width:150px}.photo-logout{background:url(http://qa.iptdev.com.co/icons/exit.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon{background:url(http://qa.iptdev.com.co/icons/icon-menu.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat}.menu-icon-close{background:url(http://qa.iptdev.com.co/icons/cruz.png);background-size:25px 25px;background-position:center;background-repeat:no-repeat;width:35px;height:35px}.menu-container{box-shadow:#11111a1a 0 8px 24px,#11111a1a 0 16px 56px,#11111a1a 0 24px 80px;height:35px;width:52.5px;width:auto;border-radius:30px;display:flex}.menu-container p{width:85px;display:flex;align-items:center;color:#1c77f7;font-weight:500;font-size:16px;margin:0 0 0 15px;text-align:center}}@media screen and (min-width: 768px){.img-logo{display:flex;width:120px;height:60px}.text-container{border-radius:40px;height:45px;width:100%;display:flex;gap:-100px;justify-content:center;flex-direction:column;align-items:flex-start}}.p1{color:gray;margin-left:30px;font-size:13px;height:20px}.p2{margin-left:30px;font-size:14px;font-weight:600;color:#1c77f7}.flex-container-menu{font-size:18px;color:#fff!important}.mat-nav-list{padding:0}\n"] }]
|
|
1072
1086
|
}], ctorParameters: function () { return [{ type: UserService }, { type: StorageService }]; }, propDecorators: { department: [{
|
|
1073
1087
|
type: Input
|
|
1074
1088
|
}], setPage: [{
|
|
@@ -1290,6 +1304,34 @@ class ParameterService {
|
|
|
1290
1304
|
let serviceUrl = this.SERVICE_URL + 'get/all/study/reasons';
|
|
1291
1305
|
return this.http.get(serviceUrl);
|
|
1292
1306
|
}
|
|
1307
|
+
getAcademicUnits() {
|
|
1308
|
+
let serviceUrl = this.SERVICE_URL + 'get/academic/units';
|
|
1309
|
+
return this.http.get(serviceUrl);
|
|
1310
|
+
}
|
|
1311
|
+
getStatusContact() {
|
|
1312
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/status/all';
|
|
1313
|
+
return this.http.get(serviceUrl);
|
|
1314
|
+
}
|
|
1315
|
+
getTypePlan() {
|
|
1316
|
+
let serviceUrl = this.SERVICE_URL + 'get/all/plans';
|
|
1317
|
+
return this.http.get(serviceUrl);
|
|
1318
|
+
}
|
|
1319
|
+
getTypePlanDiscount() {
|
|
1320
|
+
let serviceUrl = this.SERVICE_URL + 'get/discount/all/plans';
|
|
1321
|
+
return this.http.get(serviceUrl);
|
|
1322
|
+
}
|
|
1323
|
+
getContactedType() {
|
|
1324
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/contacted/all';
|
|
1325
|
+
return this.http.get(serviceUrl);
|
|
1326
|
+
}
|
|
1327
|
+
getStatusByCode(codeStatus) {
|
|
1328
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/status/bycode/' + codeStatus;
|
|
1329
|
+
return this.http.get(serviceUrl);
|
|
1330
|
+
}
|
|
1331
|
+
getAllTypeDiscount() {
|
|
1332
|
+
let serviceUrl = this.SERVICE_URL + 'get/commercial/typediscounts/all';
|
|
1333
|
+
return this.http.get(serviceUrl);
|
|
1334
|
+
}
|
|
1293
1335
|
}
|
|
1294
1336
|
ParameterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ParameterService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1295
1337
|
ParameterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: ParameterService, providedIn: 'root' });
|
|
@@ -1329,6 +1371,227 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
1329
1371
|
}]
|
|
1330
1372
|
}], ctorParameters: function () { return []; } });
|
|
1331
1373
|
|
|
1374
|
+
class TestService {
|
|
1375
|
+
constructor(http) {
|
|
1376
|
+
this.http = http;
|
|
1377
|
+
this.SERVICE_URL = 'https://iptdev.com.co/lab/test/api/';
|
|
1378
|
+
}
|
|
1379
|
+
// ---------------------- EXÁMENES ---------------------- //
|
|
1380
|
+
createExam(exam) {
|
|
1381
|
+
let serviceUrl = this.SERVICE_URL + 'post/exam';
|
|
1382
|
+
this.generateRequestParams(exam);
|
|
1383
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1384
|
+
}
|
|
1385
|
+
getAllExams(params) {
|
|
1386
|
+
let serviceUrl = this.SERVICE_URL + 'post/all/exam';
|
|
1387
|
+
this.generateRequestParams(params);
|
|
1388
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1389
|
+
}
|
|
1390
|
+
updateExam(params) {
|
|
1391
|
+
let serviceUrl = this.SERVICE_URL + 'update/exam';
|
|
1392
|
+
this.generateRequestParams(params);
|
|
1393
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1394
|
+
}
|
|
1395
|
+
updateExamStatus(params) {
|
|
1396
|
+
let serviceUrl = this.SERVICE_URL + 'update/exam/status';
|
|
1397
|
+
this.generateRequestParams(params);
|
|
1398
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1399
|
+
}
|
|
1400
|
+
copyExam(params) {
|
|
1401
|
+
let serviceUrl = this.SERVICE_URL + 'copy/exam';
|
|
1402
|
+
this.generateRequestParams(params);
|
|
1403
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1404
|
+
}
|
|
1405
|
+
getExamByCode(code) {
|
|
1406
|
+
let serviceUrl = this.SERVICE_URL + 'get/exam/by/code/' + code;
|
|
1407
|
+
return this.http.get(serviceUrl);
|
|
1408
|
+
}
|
|
1409
|
+
getExamByAuthor(code) {
|
|
1410
|
+
let serviceUrl = this.SERVICE_URL + 'get/exams/by/author/' + code;
|
|
1411
|
+
return this.http.get(serviceUrl);
|
|
1412
|
+
}
|
|
1413
|
+
// ---------------------- SECCIONES ---------------------- //
|
|
1414
|
+
createSectionWithAll(params) {
|
|
1415
|
+
let serviceUrl = this.SERVICE_URL + 'post/section/with/all';
|
|
1416
|
+
this.generateRequestParams(params);
|
|
1417
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1418
|
+
}
|
|
1419
|
+
createSection(params) {
|
|
1420
|
+
let serviceUrl = this.SERVICE_URL + 'post/section';
|
|
1421
|
+
this.generateRequestParams(params);
|
|
1422
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1423
|
+
}
|
|
1424
|
+
getAllSections(params) {
|
|
1425
|
+
let serviceUrl = this.SERVICE_URL + 'post/all/sections';
|
|
1426
|
+
this.generateRequestParams(params);
|
|
1427
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1428
|
+
}
|
|
1429
|
+
updateSection(params) {
|
|
1430
|
+
let serviceUrl = this.SERVICE_URL + 'update/section';
|
|
1431
|
+
this.generateRequestParams(params);
|
|
1432
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1433
|
+
}
|
|
1434
|
+
updateSectionMedia(params) {
|
|
1435
|
+
let serviceUrl = this.SERVICE_URL + 'post/section/media';
|
|
1436
|
+
this.generateRequestParams(params);
|
|
1437
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1438
|
+
}
|
|
1439
|
+
updateSectionState(params) {
|
|
1440
|
+
let serviceUrl = this.SERVICE_URL + 'update/section/state';
|
|
1441
|
+
this.generateRequestParams(params);
|
|
1442
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1443
|
+
}
|
|
1444
|
+
getSectionsByExam(code) {
|
|
1445
|
+
let serviceUrl = this.SERVICE_URL + 'get/sections/by/exam/' + code;
|
|
1446
|
+
return this.http.get(serviceUrl);
|
|
1447
|
+
}
|
|
1448
|
+
// ---------------------- PREGUNTAS ---------------------- //
|
|
1449
|
+
createQuestion(params) {
|
|
1450
|
+
let serviceUrl = this.SERVICE_URL + 'post/question';
|
|
1451
|
+
this.generateRequestParams(params);
|
|
1452
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1453
|
+
}
|
|
1454
|
+
updateQuestion(params) {
|
|
1455
|
+
let serviceUrl = this.SERVICE_URL + 'update/question';
|
|
1456
|
+
this.generateRequestParams(params);
|
|
1457
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1458
|
+
}
|
|
1459
|
+
getQuestionsBySections(params) {
|
|
1460
|
+
let serviceUrl = this.SERVICE_URL + 'get/questions/by/sections';
|
|
1461
|
+
this.generateRequestParams(params);
|
|
1462
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1463
|
+
}
|
|
1464
|
+
getQuestionsBySection(code) {
|
|
1465
|
+
let serviceUrl = this.SERVICE_URL + 'get/questions/by/section/' + code;
|
|
1466
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
1467
|
+
}
|
|
1468
|
+
// ---------------------- RESPUESTAS ---------------------- //
|
|
1469
|
+
createAnswer(params) {
|
|
1470
|
+
let serviceUrl = this.SERVICE_URL + 'post/answer';
|
|
1471
|
+
this.generateRequestParams(params);
|
|
1472
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1473
|
+
}
|
|
1474
|
+
updateAnswer(params) {
|
|
1475
|
+
let serviceUrl = this.SERVICE_URL + 'update/answer';
|
|
1476
|
+
this.generateRequestParams(params);
|
|
1477
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1478
|
+
}
|
|
1479
|
+
getAnswersByQuestion(code) {
|
|
1480
|
+
let serviceUrl = this.SERVICE_URL + 'get/answers/by/question/' + code;
|
|
1481
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
1482
|
+
}
|
|
1483
|
+
updateQuestionState(params) {
|
|
1484
|
+
let serviceUrl = this.SERVICE_URL + 'update/question/state';
|
|
1485
|
+
this.generateRequestParams(params);
|
|
1486
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
1487
|
+
}
|
|
1488
|
+
// construye los headers y params
|
|
1489
|
+
generateRequestParams(param) {
|
|
1490
|
+
this.httpOptions = {
|
|
1491
|
+
header: new HttpHeaders(),
|
|
1492
|
+
params: param,
|
|
1493
|
+
};
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
TestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TestService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1497
|
+
TestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TestService, providedIn: 'root' });
|
|
1498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TestService, decorators: [{
|
|
1499
|
+
type: Injectable,
|
|
1500
|
+
args: [{
|
|
1501
|
+
providedIn: 'root',
|
|
1502
|
+
}]
|
|
1503
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
1504
|
+
|
|
1505
|
+
class MarketingService {
|
|
1506
|
+
constructor(http) {
|
|
1507
|
+
this.http = http;
|
|
1508
|
+
this.SERVICE_URL = 'https://iptdev.com.co/lab/commercial/api/';
|
|
1509
|
+
}
|
|
1510
|
+
getStrategyByUserCommercial(user) {
|
|
1511
|
+
let serviceUrl = this.SERVICE_URL + 'post/contact/strategy/byaviser';
|
|
1512
|
+
this.generateRequestParams(user);
|
|
1513
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1514
|
+
}
|
|
1515
|
+
getObservationsContact(codeContact) {
|
|
1516
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/observation/strategy/bycode/' + codeContact;
|
|
1517
|
+
return this.http.get(serviceUrl);
|
|
1518
|
+
}
|
|
1519
|
+
createObservations(params) {
|
|
1520
|
+
let serviceUrl = this.SERVICE_URL + 'post/contact/observation/create';
|
|
1521
|
+
this.generateRequestParams(params);
|
|
1522
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1523
|
+
}
|
|
1524
|
+
getUserStatistics(userToken) {
|
|
1525
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/strategy/statistics';
|
|
1526
|
+
this.generateRequestParams(userToken);
|
|
1527
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1528
|
+
}
|
|
1529
|
+
getTopAdviser() {
|
|
1530
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/strategy/topadviser';
|
|
1531
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
1532
|
+
}
|
|
1533
|
+
getMovementStatus() {
|
|
1534
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/strategy/movements/status';
|
|
1535
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
1536
|
+
}
|
|
1537
|
+
getgroupSignupStatus() {
|
|
1538
|
+
let serviceUrl = this.SERVICE_URL + 'get/contact/strategy/group/signup';
|
|
1539
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
1540
|
+
}
|
|
1541
|
+
//Construye los headers y paramns
|
|
1542
|
+
generateRequestParams(param) {
|
|
1543
|
+
this.httpOptions = {
|
|
1544
|
+
header: new HttpHeaders(),
|
|
1545
|
+
params: param,
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
MarketingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MarketingService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1550
|
+
MarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MarketingService, providedIn: 'root' });
|
|
1551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: MarketingService, decorators: [{
|
|
1552
|
+
type: Injectable,
|
|
1553
|
+
args: [{
|
|
1554
|
+
providedIn: 'root'
|
|
1555
|
+
}]
|
|
1556
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
1557
|
+
|
|
1558
|
+
class BudgetService {
|
|
1559
|
+
constructor(http) {
|
|
1560
|
+
this.http = http;
|
|
1561
|
+
this.SERVICE_URL = 'https://iptdev.com.co/lab/commercial/api/';
|
|
1562
|
+
}
|
|
1563
|
+
getAllDiscount(user) {
|
|
1564
|
+
let serviceUrl = this.SERVICE_URL + 'post/discounts/coupon/all';
|
|
1565
|
+
this.generateRequestParams(user);
|
|
1566
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1567
|
+
}
|
|
1568
|
+
createDiscount(params) {
|
|
1569
|
+
let serviceUrl = this.SERVICE_URL + 'post/discount/coupon/create';
|
|
1570
|
+
this.generateRequestParams(params);
|
|
1571
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1572
|
+
}
|
|
1573
|
+
updateDiscount(params) {
|
|
1574
|
+
let serviceUrl = this.SERVICE_URL + 'post/discount/coupon/update';
|
|
1575
|
+
this.generateRequestParams(params);
|
|
1576
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1577
|
+
}
|
|
1578
|
+
//Construye los headers y paramns
|
|
1579
|
+
generateRequestParams(param) {
|
|
1580
|
+
this.httpOptions = {
|
|
1581
|
+
header: new HttpHeaders(),
|
|
1582
|
+
params: param,
|
|
1583
|
+
};
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
BudgetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BudgetService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1587
|
+
BudgetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BudgetService, providedIn: 'root' });
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BudgetService, decorators: [{
|
|
1589
|
+
type: Injectable,
|
|
1590
|
+
args: [{
|
|
1591
|
+
providedIn: 'root'
|
|
1592
|
+
}]
|
|
1593
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
1594
|
+
|
|
1332
1595
|
class CoreModule {
|
|
1333
1596
|
}
|
|
1334
1597
|
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1340,7 +1603,10 @@ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13
|
|
|
1340
1603
|
UserService,
|
|
1341
1604
|
SwitchService,
|
|
1342
1605
|
RedirectGuard,
|
|
1343
|
-
BaseService
|
|
1606
|
+
BaseService,
|
|
1607
|
+
TestService,
|
|
1608
|
+
MarketingService,
|
|
1609
|
+
BudgetService
|
|
1344
1610
|
] });
|
|
1345
1611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, decorators: [{
|
|
1346
1612
|
type: NgModule,
|
|
@@ -1352,7 +1618,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
1352
1618
|
UserService,
|
|
1353
1619
|
SwitchService,
|
|
1354
1620
|
RedirectGuard,
|
|
1355
|
-
BaseService
|
|
1621
|
+
BaseService,
|
|
1622
|
+
TestService,
|
|
1623
|
+
MarketingService,
|
|
1624
|
+
BudgetService
|
|
1356
1625
|
]
|
|
1357
1626
|
}]
|
|
1358
1627
|
}] });
|
|
@@ -1398,5 +1667,5 @@ class UserLoginRs {
|
|
|
1398
1667
|
* Generated bundle index. Do not edit.
|
|
1399
1668
|
*/
|
|
1400
1669
|
|
|
1401
|
-
export { AsideButtonComponent, BaseService, ButtonComponent, CheckboxComponent, ComponentsModule, CoreModule, CourseService, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoginFormComponent, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, SwitchService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
1670
|
+
export { AsideButtonComponent, BaseService, BudgetService, ButtonComponent, CheckboxComponent, ComponentsModule, CoreModule, CourseService, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoginFormComponent, MarketingService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
1402
1671
|
//# sourceMappingURL=iptdevs-design-system.mjs.map
|