@rolatech/angular-course 19.0.0-beta.9 → 19.1.0-beta.3
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/fesm2022/{rolatech-angular-course-course-category-index.component-D5HIrVD-.mjs → rolatech-angular-course-course-category-index.component-DnDVtQf2.mjs} +4 -4
- package/fesm2022/rolatech-angular-course-course-category-index.component-DnDVtQf2.mjs.map +1 -0
- package/fesm2022/{rolatech-angular-course-course-index.component-Ds-a9GF7.mjs → rolatech-angular-course-course-index.component-VJOHMAD9.mjs} +4 -4
- package/fesm2022/rolatech-angular-course-course-index.component-VJOHMAD9.mjs.map +1 -0
- package/fesm2022/rolatech-angular-course.mjs +311 -216
- package/fesm2022/rolatech-angular-course.mjs.map +1 -1
- package/index.d.ts +628 -8
- package/package.json +7 -7
- package/themes/_default.scss +1 -1
- package/fesm2022/rolatech-angular-course-course-category-index.component-D5HIrVD-.mjs.map +0 -1
- package/fesm2022/rolatech-angular-course-course-index.component-Ds-a9GF7.mjs.map +0 -1
- package/lib/components/course-action/course-action.component.d.ts +0 -14
- package/lib/components/course-details/course-details.component.d.ts +0 -20
- package/lib/components/course-details-dialog/course-details-dialog.component.d.ts +0 -23
- package/lib/components/course-edit-dialog/course-edit-dialog.component.d.ts +0 -51
- package/lib/components/course-info/course-info.component.d.ts +0 -10
- package/lib/components/course-media/course-media.component.d.ts +0 -12
- package/lib/components/course-media-owner-renderer/course-media-owner-renderer.component.d.ts +0 -8
- package/lib/components/course-preview/course-preview.component.d.ts +0 -5
- package/lib/components/course-pricing/course-pricing.component.d.ts +0 -7
- package/lib/components/course-pricing-add-dialog/course-pricing-add-dialog.component.d.ts +0 -10
- package/lib/components/course-pricing-dialog/course-pricing-dialog.component.d.ts +0 -19
- package/lib/components/course-schedule/course-schedule.component.d.ts +0 -10
- package/lib/components/course-schedule-add-dialog/course-schedule-add-dialog.component.d.ts +0 -10
- package/lib/components/course-schedule-dialog/course-schedule-dialog.component.d.ts +0 -14
- package/lib/components/course-section-item/course-section-item.component.d.ts +0 -24
- package/lib/components/course-section-lecture-item/course-section-lecture-item.component.d.ts +0 -40
- package/lib/components/course-section-lecture-video-dialog/course-section-lecture-video-dialog.component.d.ts +0 -29
- package/lib/components/course-section-lecture-video-item/course-section-lecture-video-item.component.d.ts +0 -5
- package/lib/components/course-sections/course-sections.component.d.ts +0 -18
- package/lib/components/detail-item/detail-item.component.d.ts +0 -31
- package/lib/components/index.d.ts +0 -22
- package/lib/components/pricing-item/pricing-item.component.d.ts +0 -16
- package/lib/components/schedule-item/schedule-item.component.d.ts +0 -33
- package/lib/interfaces/category.d.ts +0 -17
- package/lib/interfaces/course.d.ts +0 -143
- package/lib/interfaces/index.d.ts +0 -3
- package/lib/interfaces/media.d.ts +0 -9
- package/lib/pages/course/course-category/course-category.component.d.ts +0 -27
- package/lib/pages/course/course-category-index/course-category-index.component.d.ts +0 -22
- package/lib/pages/course/course-category-layout/course-category-layout.component.d.ts +0 -17
- package/lib/pages/course/course-category.routes.d.ts +0 -2
- package/lib/pages/course/course-detail/course-detail.component.d.ts +0 -43
- package/lib/pages/course/course-index/course-index.component.d.ts +0 -18
- package/lib/pages/course/course-layout/course-layout.component.d.ts +0 -17
- package/lib/pages/course/course-section-content/course-section-content.component.d.ts +0 -41
- package/lib/pages/course/course.routes.d.ts +0 -2
- package/lib/pages/course-manage/course-manage-application/course-manage-application.component.d.ts +0 -32
- package/lib/pages/course-manage/course-manage-application-detail/course-manage-application-detail.component.d.ts +0 -5
- package/lib/pages/course-manage/course-manage-content/course-manage-content.component.d.ts +0 -5
- package/lib/pages/course-manage/course-manage-create/course-manage-create.component.d.ts +0 -37
- package/lib/pages/course-manage/course-manage-details/course-manage-details.component.d.ts +0 -29
- package/lib/pages/course-manage/course-manage-index/course-manage-index.component.d.ts +0 -43
- package/lib/pages/course-manage/course-manage-info/course-manage-info.component.d.ts +0 -42
- package/lib/pages/course-manage/course-manage-layout/course-manage-layout.component.d.ts +0 -19
- package/lib/pages/course-manage/course-manage-media/course-manage-media.component.d.ts +0 -29
- package/lib/pages/course-manage/course-manage-pricing/course-manage-pricing.component.d.ts +0 -20
- package/lib/pages/course-manage/course-manage-schedule/course-manage-schedule.component.d.ts +0 -20
- package/lib/pages/course-manage/course-manage-section/course-manage-section.component.d.ts +0 -37
- package/lib/pages/course-manage/course-manage.routes.d.ts +0 -2
- package/lib/services/booking.service.d.ts +0 -9
- package/lib/services/category.service.d.ts +0 -12
- package/lib/services/course-section.service.d.ts +0 -10
- package/lib/services/course.service.d.ts +0 -65
- package/lib/services/index.d.ts +0 -5
- package/lib/services/instructor.service.d.ts +0 -25
- package/provider.d.ts +0 -2
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { CourseCategory } from './category';
|
|
2
|
-
import { Media } from './media';
|
|
3
|
-
export interface Course {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string;
|
|
7
|
-
categories: CourseCategory[];
|
|
8
|
-
createdAt: string;
|
|
9
|
-
updatedAt: string;
|
|
10
|
-
status: CourseStatus | string;
|
|
11
|
-
media: Media[];
|
|
12
|
-
type: CourseType;
|
|
13
|
-
instructorId: string;
|
|
14
|
-
classroom: CourseClassroom;
|
|
15
|
-
details: CourseDetail[];
|
|
16
|
-
pricing: CoursePricing[];
|
|
17
|
-
schedule: CourseSchedule[];
|
|
18
|
-
}
|
|
19
|
-
export interface CoursePricing {
|
|
20
|
-
id: string;
|
|
21
|
-
min: number;
|
|
22
|
-
max: number;
|
|
23
|
-
total: number;
|
|
24
|
-
}
|
|
25
|
-
export interface CourseSchedule {
|
|
26
|
-
id: string;
|
|
27
|
-
title: string;
|
|
28
|
-
content: string;
|
|
29
|
-
startDate: string;
|
|
30
|
-
startTime: string;
|
|
31
|
-
startAt: string;
|
|
32
|
-
endDate: string;
|
|
33
|
-
endTime: string;
|
|
34
|
-
endAt: string;
|
|
35
|
-
}
|
|
36
|
-
export interface CourseClassroom {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
contact: string;
|
|
40
|
-
phone: string;
|
|
41
|
-
province: string;
|
|
42
|
-
city: string;
|
|
43
|
-
county: string;
|
|
44
|
-
town: string;
|
|
45
|
-
address: string;
|
|
46
|
-
detail: string;
|
|
47
|
-
latitude: string;
|
|
48
|
-
longitude: string;
|
|
49
|
-
media: Media[];
|
|
50
|
-
isUploading?: boolean;
|
|
51
|
-
room?: string;
|
|
52
|
-
}
|
|
53
|
-
export declare enum CourseStatus {
|
|
54
|
-
ACTIVE,
|
|
55
|
-
ACCEPTED,
|
|
56
|
-
AWAITING,
|
|
57
|
-
PENDING,
|
|
58
|
-
STARTED,
|
|
59
|
-
ENDED,
|
|
60
|
-
DELETED,
|
|
61
|
-
DRAFT
|
|
62
|
-
}
|
|
63
|
-
export declare enum CourseRequestStatus {
|
|
64
|
-
AWAITING = "\u5BA1\u6838\u4E2D",
|
|
65
|
-
ACTIVE = "\u5DF2\u901A\u8FC7",
|
|
66
|
-
REJECTED = "\u5DF2\u62D2\u7EDD"
|
|
67
|
-
}
|
|
68
|
-
export interface CourseReviewRecord {
|
|
69
|
-
content: string;
|
|
70
|
-
status: CourseReviewStatus;
|
|
71
|
-
course: Course;
|
|
72
|
-
createdAt: string;
|
|
73
|
-
updatedAt: string;
|
|
74
|
-
}
|
|
75
|
-
export declare enum CourseReviewStatus {
|
|
76
|
-
ACCEPTED = "\u5DF2\u901A\u8FC7",
|
|
77
|
-
REJECTED = "\u672A\u901A\u8FC7"
|
|
78
|
-
}
|
|
79
|
-
export interface CourseDetail {
|
|
80
|
-
id: string;
|
|
81
|
-
title: string;
|
|
82
|
-
description: string;
|
|
83
|
-
content: string;
|
|
84
|
-
media: Media[];
|
|
85
|
-
isUploading?: boolean;
|
|
86
|
-
}
|
|
87
|
-
export interface CourseSection {
|
|
88
|
-
id?: string;
|
|
89
|
-
title: string;
|
|
90
|
-
description: string;
|
|
91
|
-
lectures: CourseSectionLecture[];
|
|
92
|
-
}
|
|
93
|
-
export interface CourseSectionLecture {
|
|
94
|
-
id?: string;
|
|
95
|
-
title: string;
|
|
96
|
-
description: string;
|
|
97
|
-
type: CourseSectionLectureContentType | string;
|
|
98
|
-
item: CourseSectionLectureVideo;
|
|
99
|
-
isUploading?: boolean;
|
|
100
|
-
progress?: number | 0;
|
|
101
|
-
}
|
|
102
|
-
export interface CourseSectionLectureItem {
|
|
103
|
-
id: string;
|
|
104
|
-
}
|
|
105
|
-
export declare enum CourseSectionLectureContentType {
|
|
106
|
-
VIDEO,
|
|
107
|
-
ARTICLE
|
|
108
|
-
}
|
|
109
|
-
export interface CourseSectionLectureVideo {
|
|
110
|
-
id?: string;
|
|
111
|
-
url: string;
|
|
112
|
-
thumbnail: string;
|
|
113
|
-
duration: number;
|
|
114
|
-
isUploading?: boolean;
|
|
115
|
-
progress: number | 0;
|
|
116
|
-
canBePreviewed: boolean;
|
|
117
|
-
}
|
|
118
|
-
export interface CourseSectionLectureVideoMetadata {
|
|
119
|
-
duration: string;
|
|
120
|
-
}
|
|
121
|
-
export interface Schedule {
|
|
122
|
-
id?: string;
|
|
123
|
-
title: string;
|
|
124
|
-
content: string;
|
|
125
|
-
startDate?: string;
|
|
126
|
-
startTime?: string;
|
|
127
|
-
startAt: string;
|
|
128
|
-
endDate?: string;
|
|
129
|
-
endTime?: string;
|
|
130
|
-
endAt: string;
|
|
131
|
-
}
|
|
132
|
-
export interface Pricing {
|
|
133
|
-
id?: string;
|
|
134
|
-
min: number;
|
|
135
|
-
max: number;
|
|
136
|
-
total: number;
|
|
137
|
-
}
|
|
138
|
-
export declare enum CourseType {
|
|
139
|
-
ONLINE,
|
|
140
|
-
OFFLINE,
|
|
141
|
-
MIXED
|
|
142
|
-
}
|
|
143
|
-
export declare const ScheduleDate: string[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { Media } from './media';
|
|
2
|
-
export { Course, CourseStatus, CourseRequestStatus, CourseDetail, Schedule, CourseSchedule, CoursePricing, ScheduleDate, Pricing, CourseType, CourseReviewRecord, CourseReviewStatus, CourseClassroom, CourseSection, CourseSectionLecture, CourseSectionLectureVideo, CourseSectionLectureContentType, CourseSectionLectureVideoMetadata, } from './course';
|
|
3
|
-
export { CourseCategory, CourseCategoryMedia } from './category';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { CourseCategory, Course } from '../../../interfaces';
|
|
3
|
-
import { CategoryService, CourseService } from '../../../services';
|
|
4
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseCategoryComponent extends BaseComponent implements OnInit {
|
|
7
|
-
categoryService: CategoryService;
|
|
8
|
-
courseService: CourseService;
|
|
9
|
-
cdr: ChangeDetectorRef;
|
|
10
|
-
category: CourseCategory;
|
|
11
|
-
courses: Course[];
|
|
12
|
-
categories: CourseCategory[];
|
|
13
|
-
loading: boolean;
|
|
14
|
-
c: {
|
|
15
|
-
name: string;
|
|
16
|
-
path: string;
|
|
17
|
-
}[];
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
findAllCategories(): void;
|
|
20
|
-
findCategoryById(id: string, child: string): void;
|
|
21
|
-
toChildCategory(item: CourseCategory): void;
|
|
22
|
-
findAllCourses(): void;
|
|
23
|
-
findCoursesByCategoryId(id: string): void;
|
|
24
|
-
loadCoursesByCategory(item: any): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseCategoryComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseCategoryComponent, "rolatech-course-category", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
3
|
-
import { Course, CourseCategory } from '../../../interfaces';
|
|
4
|
-
import { CourseService, CategoryService } from '../../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseCategoryIndexComponent extends BaseComponent implements OnInit {
|
|
7
|
-
courses: Course[];
|
|
8
|
-
categories: CourseCategory[];
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
categoryService: CategoryService;
|
|
11
|
-
meta: any;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
c: {
|
|
14
|
-
name: string;
|
|
15
|
-
path: string;
|
|
16
|
-
}[];
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
findCourses(): void;
|
|
19
|
-
findCategories(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseCategoryIndexComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseCategoryIndexComponent, "rolatech-course-category-index", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
3
|
-
import { CourseCategory } from '../../../interfaces';
|
|
4
|
-
import { CategoryService, CourseService } from '../../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseCategoryLayoutComponent extends BaseComponent implements OnInit {
|
|
7
|
-
categories: CourseCategory[];
|
|
8
|
-
categoryService: CategoryService;
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
selectIndex: number;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
findCategories(): void;
|
|
13
|
-
loadCourseByCategoryIndex(index: number): void;
|
|
14
|
-
nextCategory(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseCategoryLayoutComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseCategoryLayoutComponent, "rolatech-course-category-layout", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Course, CourseSection, CourseSectionLectureContentType } from '../../../interfaces';
|
|
3
|
-
import { CourseSectionService, CourseService } from '../../../services';
|
|
4
|
-
import { AuthService, AuthUserService } from '@rolatech/angular-auth';
|
|
5
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
6
|
-
import { ViewportScroller } from '@angular/common';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseDetailComponent extends BaseComponent implements OnInit {
|
|
9
|
-
course: Course;
|
|
10
|
-
status: any;
|
|
11
|
-
authService: AuthService;
|
|
12
|
-
authUserService: AuthUserService;
|
|
13
|
-
courseService: CourseService;
|
|
14
|
-
viewportScroller: ViewportScroller;
|
|
15
|
-
courseSectionService: CourseSectionService;
|
|
16
|
-
authenticated: import("@angular/core").Signal<boolean | null>;
|
|
17
|
-
instructorName: string;
|
|
18
|
-
username: string;
|
|
19
|
-
inWishList: boolean;
|
|
20
|
-
purchased: boolean;
|
|
21
|
-
sections: CourseSection[];
|
|
22
|
-
type: typeof CourseSectionLectureContentType;
|
|
23
|
-
c: {
|
|
24
|
-
name: string;
|
|
25
|
-
path: string;
|
|
26
|
-
}[];
|
|
27
|
-
constructor();
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
scrollToAnchor(anchorId: string): void;
|
|
30
|
-
findOne(): void;
|
|
31
|
-
findSections(): void;
|
|
32
|
-
findUserBaseInfo(userId: string): void;
|
|
33
|
-
onWish(e: any): void;
|
|
34
|
-
checkout(e: any): void;
|
|
35
|
-
private removeFromWishlist;
|
|
36
|
-
private addToWishlist;
|
|
37
|
-
onSection(event: any): void;
|
|
38
|
-
private findWishlistBy;
|
|
39
|
-
findPurchasedByCourseId(): void;
|
|
40
|
-
private formatCategory;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseDetailComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseDetailComponent, "rolatech-course-detail", never, {}, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { CourseCategory, Course } from '../../../interfaces';
|
|
3
|
-
import { CategoryService, CourseService } from '../../../services';
|
|
4
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseIndexComponent extends BaseComponent implements OnInit {
|
|
7
|
-
courses: Course[];
|
|
8
|
-
categories: CourseCategory[];
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
categoryService: CategoryService;
|
|
11
|
-
meta: any;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
findCourses(): void;
|
|
15
|
-
findCategories(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseIndexComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseIndexComponent, "rolatech-course-index", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { CourseCategory } from '../../../interfaces';
|
|
3
|
-
import { CategoryService, CourseService } from '../../../services';
|
|
4
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseLayoutComponent extends BaseComponent implements OnInit {
|
|
7
|
-
categories: CourseCategory[];
|
|
8
|
-
categoryService: CategoryService;
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
selectIndex: number;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
findCategories(): void;
|
|
13
|
-
loadCourseByCategoryIndex(index: number): void;
|
|
14
|
-
nextCategory(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseLayoutComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseLayoutComponent, "rolatech-course-layout", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { CourseSection } from '../../../interfaces';
|
|
4
|
-
import { CourseSectionService, CourseService } from '../../../services';
|
|
5
|
-
import { AuthService, AuthUserService } from '@rolatech/angular-auth';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CourseSectionContentComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
|
-
route: ActivatedRoute;
|
|
9
|
-
router: Router;
|
|
10
|
-
courseSectionService: CourseSectionService;
|
|
11
|
-
courseService: CourseService;
|
|
12
|
-
authService: AuthService;
|
|
13
|
-
authUserService: AuthUserService;
|
|
14
|
-
el: ElementRef<any>;
|
|
15
|
-
platformId: Object;
|
|
16
|
-
authenticated: import("@angular/core").Signal<boolean | null>;
|
|
17
|
-
player: any;
|
|
18
|
-
sections: CourseSection[];
|
|
19
|
-
courseId: string;
|
|
20
|
-
sectionId: string;
|
|
21
|
-
lectureId: string;
|
|
22
|
-
videoUrl: any;
|
|
23
|
-
instructorName: string;
|
|
24
|
-
instructorAvatar: string;
|
|
25
|
-
instructorUsername: string;
|
|
26
|
-
course: any;
|
|
27
|
-
purchased: boolean;
|
|
28
|
-
constructor();
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
|
-
initPlayer(url: string, thumbnail?: string): void;
|
|
33
|
-
findSections(courseId: any): void;
|
|
34
|
-
findCourse(courseId: string): void;
|
|
35
|
-
findUserBaseInfo(userId: string): void;
|
|
36
|
-
findPurchasedByCourseId(): void;
|
|
37
|
-
onSection(event: any): void;
|
|
38
|
-
checkout(e: any): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseSectionContentComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseSectionContentComponent, "rolatech-course-section-content", never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
package/lib/pages/course-manage/course-manage-application/course-manage-application.component.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { PageEvent, MatPaginator } from '@angular/material/paginator';
|
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
5
|
-
import { Course } from '../../../interfaces';
|
|
6
|
-
import { CourseService } from '../../../services';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseManageApplicationComponent extends BaseComponent implements OnInit {
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
isSearch: boolean;
|
|
12
|
-
pageEvent: PageEvent;
|
|
13
|
-
length: number;
|
|
14
|
-
pageSize: number;
|
|
15
|
-
pageSizeOptions: number[];
|
|
16
|
-
dataSource: MatTableDataSource<any, MatPaginator>;
|
|
17
|
-
courses: Course[];
|
|
18
|
-
displayedColumns: string[];
|
|
19
|
-
paginator: import("@angular/core").Signal<MatPaginator | undefined>;
|
|
20
|
-
orderOptions: {
|
|
21
|
-
key: string;
|
|
22
|
-
value: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
sort: string;
|
|
25
|
-
}[];
|
|
26
|
-
status: any;
|
|
27
|
-
orderString: string;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
find(event?: PageEvent | null): any;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageApplicationComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageApplicationComponent, "rolatech-course-manage-application", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CourseManageApplicationDetailComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageApplicationDetailComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageApplicationDetailComponent, "rolatech-course-manage-application-detail", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CourseManageContentComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageContentComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageContentComponent, "rolatech-course-manage-content", never, {}, {}, never, ["rolatech-toolbar", "*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Media } from '@rolatech/angular-common';
|
|
3
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
4
|
-
import { CourseService, CategoryService } from '../../../services';
|
|
5
|
-
import { InstructorService } from '../../../services/instructor.service';
|
|
6
|
-
import { CourseCategory } from '../../../interfaces';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseManageCreateComponent extends BaseComponent implements OnInit {
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
categoryService: CategoryService;
|
|
11
|
-
instructorService: InstructorService;
|
|
12
|
-
isUploading: boolean;
|
|
13
|
-
media: Media[];
|
|
14
|
-
selectedCategoyIds: string[];
|
|
15
|
-
categories: CourseCategory[];
|
|
16
|
-
classrooms: any;
|
|
17
|
-
selectedClassroom: any;
|
|
18
|
-
parentCategory: CourseCategory;
|
|
19
|
-
childrenCategories: CourseCategory[];
|
|
20
|
-
selectedChildrenCategories: CourseCategory[];
|
|
21
|
-
courseType: {
|
|
22
|
-
key: string;
|
|
23
|
-
value: string;
|
|
24
|
-
}[];
|
|
25
|
-
course: any;
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
findClassrooms(): void;
|
|
28
|
-
onMediaDelete(event: any): void;
|
|
29
|
-
create(): void;
|
|
30
|
-
onParentCategoryChange(event: any): void;
|
|
31
|
-
onChildCategoryChange(event: any): void;
|
|
32
|
-
onClassroomSelected(event: any): void;
|
|
33
|
-
onImageClick(i: any): void;
|
|
34
|
-
onUpload(event: any): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageCreateComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageCreateComponent, "rolatech-course-manage-create", never, {}, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import { CourseDetail, CourseStatus } from '../../../interfaces';
|
|
6
|
-
import { CourseService } from '../../../services';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseManageDetailsComponent implements OnInit {
|
|
9
|
-
route: ActivatedRoute;
|
|
10
|
-
courseService: CourseService;
|
|
11
|
-
dialog: MatDialog;
|
|
12
|
-
snackBar: MatSnackBar;
|
|
13
|
-
id: string;
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
isUploading: boolean;
|
|
16
|
-
details: CourseDetail[];
|
|
17
|
-
status: typeof CourseStatus;
|
|
18
|
-
courseType: any;
|
|
19
|
-
constructor();
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
find(): void;
|
|
22
|
-
addDetail(): void;
|
|
23
|
-
onDetailMediaUpload(event: any): void;
|
|
24
|
-
onDetailMediaDelete(event: any): void;
|
|
25
|
-
onDetailSave(detail: CourseDetail): void;
|
|
26
|
-
onDetailDelete(detail: CourseDetail): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageDetailsComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageDetailsComponent, "rolatech-course-manage-details", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
4
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
5
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
-
import { Course } from '../../../interfaces';
|
|
7
|
-
import { CourseService } from '../../../services';
|
|
8
|
-
import { InstructorService } from '../../../services/instructor.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class CourseManageIndexComponent implements OnInit {
|
|
11
|
-
paginator: import("@angular/core").Signal<MatPaginator | undefined>;
|
|
12
|
-
instructorService: InstructorService;
|
|
13
|
-
dialog: MatDialog;
|
|
14
|
-
snackBar: MatSnackBar;
|
|
15
|
-
courseService: CourseService;
|
|
16
|
-
isLoading: boolean;
|
|
17
|
-
isSearch: boolean;
|
|
18
|
-
pageEvent: PageEvent;
|
|
19
|
-
length: number;
|
|
20
|
-
pageSize: number;
|
|
21
|
-
pageSizeOptions: number[];
|
|
22
|
-
dataSource: MatTableDataSource<any, MatPaginator>;
|
|
23
|
-
courses: Course[];
|
|
24
|
-
displayedColumns: string[];
|
|
25
|
-
orderOptions: {
|
|
26
|
-
key: string;
|
|
27
|
-
value: string;
|
|
28
|
-
icon: string;
|
|
29
|
-
sort: string;
|
|
30
|
-
}[];
|
|
31
|
-
status: any;
|
|
32
|
-
orderString: string;
|
|
33
|
-
classrooms: any;
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
find(event?: PageEvent | null): any;
|
|
36
|
-
findClassrooms(): void;
|
|
37
|
-
start(course: any): void;
|
|
38
|
-
stop(course: any): void;
|
|
39
|
-
edit(item: any): void;
|
|
40
|
-
delete(course: Course): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageIndexComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageIndexComponent, "rolatech-course-manage-index", never, {}, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
3
|
-
import { Course, CourseCategory, CourseStatus } from '../../../interfaces';
|
|
4
|
-
import { CategoryService, CourseService } from '../../../services';
|
|
5
|
-
import { BookingService } from '../../../services/booking.service';
|
|
6
|
-
import { InstructorService } from '../../../services/instructor.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseManageInfoComponent extends BaseComponent implements OnInit {
|
|
9
|
-
courseService: CourseService;
|
|
10
|
-
categoryService: CategoryService;
|
|
11
|
-
instructorService: InstructorService;
|
|
12
|
-
bookingService: BookingService;
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
course: Course;
|
|
15
|
-
status: typeof CourseStatus;
|
|
16
|
-
selectedCategoyIds: string[];
|
|
17
|
-
selectedClassroom: any;
|
|
18
|
-
categories: CourseCategory[];
|
|
19
|
-
parentCategory: CourseCategory;
|
|
20
|
-
childrenCategories: CourseCategory[];
|
|
21
|
-
selectedChildrenCategories: CourseCategory[];
|
|
22
|
-
classrooms: any;
|
|
23
|
-
bookedClassrooms: any;
|
|
24
|
-
courseType: {
|
|
25
|
-
key: string;
|
|
26
|
-
value: string;
|
|
27
|
-
}[];
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
findBookedClassrooms(): void;
|
|
30
|
-
findClassrooms(): void;
|
|
31
|
-
find(): void;
|
|
32
|
-
findChildrenCategoryByParentId(parentId: string): void;
|
|
33
|
-
compareParentFn(o1: CourseCategory, o2: CourseCategory): boolean;
|
|
34
|
-
compareChildrenFn(o1: CourseCategory, o2: CourseCategory): boolean;
|
|
35
|
-
compareClassroom(o1: any, o2: any): boolean;
|
|
36
|
-
onParentCategoryChange(event: any): void;
|
|
37
|
-
onChildCategoryChange(event: any): void;
|
|
38
|
-
onClassroomSelected(event: any): void;
|
|
39
|
-
update(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageInfoComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageInfoComponent, "rolatech-course-manage-info", never, {}, {}, never, never, true, never>;
|
|
42
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { CourseService } from '../../../services';
|
|
3
|
-
import { Course } from '../../../interfaces';
|
|
4
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseManageLayoutComponent extends BaseComponent implements OnInit {
|
|
7
|
-
course: Course;
|
|
8
|
-
submitted: boolean;
|
|
9
|
-
accepted: boolean;
|
|
10
|
-
isDraft: boolean;
|
|
11
|
-
courseService: CourseService;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
get(): void;
|
|
14
|
-
updateStatus(): void;
|
|
15
|
-
submitForReview(): void;
|
|
16
|
-
publish(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageLayoutComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageLayoutComponent, "rolatech-course-manage-layout", never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import { CourseService } from '../../../services';
|
|
6
|
-
import { Media, CourseStatus } from '../../../interfaces';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CourseManageMediaComponent implements OnInit {
|
|
9
|
-
route: ActivatedRoute;
|
|
10
|
-
courseService: CourseService;
|
|
11
|
-
dialog: MatDialog;
|
|
12
|
-
snackBar: MatSnackBar;
|
|
13
|
-
id: string;
|
|
14
|
-
isUploading: boolean;
|
|
15
|
-
isLoading: boolean;
|
|
16
|
-
media: Media[];
|
|
17
|
-
status: typeof CourseStatus;
|
|
18
|
-
courseType: any;
|
|
19
|
-
constructor();
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
find(): void;
|
|
22
|
-
onImageClick(i: any): void;
|
|
23
|
-
private createFileChunk;
|
|
24
|
-
onUploadMedia2(event: any): void;
|
|
25
|
-
onUploadMedia(event: any): void;
|
|
26
|
-
onMediaDelete(item: any): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageMediaComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageMediaComponent, "rolatech-course-manage-media", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
3
|
-
import { Pricing, CourseStatus } from '../../../interfaces';
|
|
4
|
-
import { CourseService } from '../../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseManagePricingComponent extends BaseComponent implements OnInit {
|
|
7
|
-
courseService: CourseService;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
pricing: Pricing[];
|
|
10
|
-
status: typeof CourseStatus;
|
|
11
|
-
courseType: any;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
find(): void;
|
|
14
|
-
editPricing(): void;
|
|
15
|
-
addPricing(): void;
|
|
16
|
-
onPricingSave(pricing: Pricing | any): void;
|
|
17
|
-
onPricingDelete(pricing: Pricing | any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManagePricingComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManagePricingComponent, "rolatech-course-manage-pricing", never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|
package/lib/pages/course-manage/course-manage-schedule/course-manage-schedule.component.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '@rolatech/angular-components';
|
|
3
|
-
import { Schedule, CourseStatus } from '../../../interfaces';
|
|
4
|
-
import { CourseService } from '../../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CourseManageScheduleComponent extends BaseComponent implements OnInit {
|
|
7
|
-
courseService: CourseService;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
schedule: Schedule[];
|
|
10
|
-
status: typeof CourseStatus;
|
|
11
|
-
courseType: any;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
find(): void;
|
|
14
|
-
addSchedule(): void;
|
|
15
|
-
editSchedule(): void;
|
|
16
|
-
onScheduleSave(schedule: Schedule | any): void;
|
|
17
|
-
onScheduleDelete(schedule: Schedule | any): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CourseManageScheduleComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseManageScheduleComponent, "rolatech-course-manage-schedule", never, {}, {}, never, never, true, never>;
|
|
20
|
-
}
|