iptdevs-design-system 2.7.11 → 2.7.13
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 +4 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +24 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs +23 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +23 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/commercial-service/comercial.service.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -2162,11 +2162,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
2162
2162
|
}]
|
|
2163
2163
|
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2164
2164
|
|
|
2165
|
+
class CommercialService extends IPTGeneralService {
|
|
2166
|
+
constructor(http) {
|
|
2167
|
+
super();
|
|
2168
|
+
this.http = http;
|
|
2169
|
+
this.SERVICE_URL = 'commercial/api/';
|
|
2170
|
+
this.SERVICE_URL = this.baseUrl() + this.SERVICE_URL;
|
|
2171
|
+
}
|
|
2172
|
+
getStudentCodHistory(token, student_id_card) {
|
|
2173
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/cod/history/by/student';
|
|
2174
|
+
this.generateRequestParams({ token, student_id_card });
|
|
2175
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2179
|
+
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CommercialService, providedIn: 'root' });
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CommercialService, decorators: [{
|
|
2181
|
+
type: Injectable,
|
|
2182
|
+
args: [{ providedIn: 'root' }]
|
|
2183
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }]; } });
|
|
2184
|
+
|
|
2165
2185
|
class CoreModule {
|
|
2166
2186
|
}
|
|
2167
2187
|
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2168
2188
|
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule });
|
|
2169
2189
|
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CoreModule, providers: [
|
|
2190
|
+
CommercialService,
|
|
2170
2191
|
ParameterService,
|
|
2171
2192
|
CourseService,
|
|
2172
2193
|
StorageService,
|
|
@@ -2184,6 +2205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
2184
2205
|
type: NgModule,
|
|
2185
2206
|
args: [{
|
|
2186
2207
|
providers: [
|
|
2208
|
+
CommercialService,
|
|
2187
2209
|
ParameterService,
|
|
2188
2210
|
CourseService,
|
|
2189
2211
|
StorageService,
|
|
@@ -2371,5 +2393,5 @@ class UserLoginRs {
|
|
|
2371
2393
|
* Generated bundle index. Do not edit.
|
|
2372
2394
|
*/
|
|
2373
2395
|
|
|
2374
|
-
export { ActivityService, AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, ClassroomService, ComponentsModule, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LoginFormComponent, MarketingService, NotesService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
2396
|
+
export { ActivityService, AsideButtonComponent, AttendanceService, BaseService, BudgetService, ButtonComponent, CalendarService, CheckboxComponent, ClassroomService, CommercialService, ComponentsModule, CoreModule, CourseService, CreateUserFormComponent, DatalistComponent, DesignSystemModule, InputComponent, LevelButtonComponent, LevelTextComponent, LoaderComponent, LoginFormComponent, MarketingService, NotesService, ParameterService, RadioComponent, RedirectGuard, SelectComponent, Session, SidenavComponent, StorageService, StudentService, SwitchService, TestService, TextLinkComponent, UserLoginRs, UserRs, UserService };
|
|
2375
2397
|
//# sourceMappingURL=iptdevs-design-system.mjs.map
|