iptdevs-design-system 3.1.918 → 3.1.919
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/atoms/datalist/datalist.component.mjs +13 -3
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +17 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +17 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/course-service/course-service.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -249,7 +249,12 @@ DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
249
249
|
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
250
250
|
<input
|
|
251
251
|
type="text"
|
|
252
|
-
class="
|
|
252
|
+
class="
|
|
253
|
+
getCoursesByStateRefactor(params: GetCoursesFilterRq): Observable<any> {
|
|
254
|
+
let serviceUrl = this.SERVICE_URL + 'get/courses/by/state/refactor';
|
|
255
|
+
this.generateRequestParams(params);
|
|
256
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
257
|
+
}"
|
|
253
258
|
(click)="click($event)"
|
|
254
259
|
[attr.list]="uniqueDatalistId"
|
|
255
260
|
(change)="optionChanged($event)"
|
|
@@ -271,7 +276,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
271
276
|
<label [ngClass]="labelClass">{{ placeHolder }}</label>
|
|
272
277
|
<input
|
|
273
278
|
type="text"
|
|
274
|
-
class="
|
|
279
|
+
class="
|
|
280
|
+
getCoursesByStateRefactor(params: GetCoursesFilterRq): Observable<any> {
|
|
281
|
+
let serviceUrl = this.SERVICE_URL + 'get/courses/by/state/refactor';
|
|
282
|
+
this.generateRequestParams(params);
|
|
283
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
284
|
+
}"
|
|
275
285
|
(click)="click($event)"
|
|
276
286
|
[attr.list]="uniqueDatalistId"
|
|
277
287
|
(change)="optionChanged($event)"
|
|
@@ -3670,6 +3680,11 @@ class CourseService extends IPTGeneralService {
|
|
|
3670
3680
|
this.generateRequestParams(params);
|
|
3671
3681
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3672
3682
|
}
|
|
3683
|
+
postEnableCourseByRequestAndCode(params) {
|
|
3684
|
+
let serviceUrl = this.SERVICE_URL + 'post/enable/courses/for/enrollment/cod/by/course/for/academic';
|
|
3685
|
+
this.generateRequestParams(params);
|
|
3686
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3687
|
+
}
|
|
3673
3688
|
}
|
|
3674
3689
|
CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3675
3690
|
CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });
|