@rolatech/angular-course 17.2.1 → 17.2.2
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/esm2022/index.mjs +2 -1
- package/esm2022/lib/components/course-details-dialog/course-details-dialog.component.mjs +92 -0
- package/esm2022/lib/components/course-edit-dialog/course-edit-dialog.component.mjs +233 -0
- package/esm2022/lib/components/course-preview/course-preview.component.mjs +11 -0
- package/esm2022/lib/components/course-pricing-add-dialog/course-pricing-add-dialog.component.mjs +33 -0
- package/esm2022/lib/components/course-pricing-dialog/course-pricing-dialog.component.mjs +59 -0
- package/esm2022/lib/components/course-schedule-add-dialog/course-schedule-add-dialog.component.mjs +34 -0
- package/esm2022/lib/components/course-schedule-dialog/course-schedule-dialog.component.mjs +63 -0
- package/esm2022/lib/components/course-section-item/course-section-item.component.mjs +52 -0
- package/esm2022/lib/components/course-section-lecture-item/course-section-lecture-item.component.mjs +113 -0
- package/esm2022/lib/components/course-section-lecture-video-dialog/course-section-lecture-video-dialog.component.mjs +112 -0
- package/esm2022/lib/components/course-section-lecture-video-item/course-section-lecture-video-item.component.mjs +11 -0
- package/esm2022/lib/components/detail-item/detail-item.component.mjs +73 -0
- package/esm2022/lib/components/index.mjs +24 -0
- package/esm2022/lib/components/pricing-item/pricing-item.component.mjs +45 -0
- package/esm2022/lib/components/schedule-item/schedule-item.component.mjs +124 -0
- package/fesm2022/rolatech-angular-course.mjs +1027 -153
- package/fesm2022/rolatech-angular-course.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/course-details-dialog/course-details-dialog.component.d.ts +23 -0
- package/lib/components/course-edit-dialog/course-edit-dialog.component.d.ts +51 -0
- package/lib/components/course-preview/course-preview.component.d.ts +5 -0
- package/lib/components/course-pricing-add-dialog/course-pricing-add-dialog.component.d.ts +12 -0
- package/lib/components/course-pricing-dialog/course-pricing-dialog.component.d.ts +19 -0
- package/lib/components/course-schedule-add-dialog/course-schedule-add-dialog.component.d.ts +12 -0
- package/lib/components/course-schedule-dialog/course-schedule-dialog.component.d.ts +19 -0
- package/lib/components/course-section-item/course-section-item.component.d.ts +24 -0
- package/lib/components/course-section-lecture-item/course-section-lecture-item.component.d.ts +40 -0
- package/lib/components/course-section-lecture-video-dialog/course-section-lecture-video-dialog.component.d.ts +29 -0
- package/lib/components/course-section-lecture-video-item/course-section-lecture-video-item.component.d.ts +5 -0
- package/lib/components/detail-item/detail-item.component.d.ts +32 -0
- package/lib/components/index.d.ts +23 -0
- package/lib/components/pricing-item/pricing-item.component.d.ts +17 -0
- package/lib/components/schedule-item/schedule-item.component.d.ts +34 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { CourseDetail } from '../../interfaces';
|
|
4
|
+
import { CourseService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CourseDetailsDialogComponent {
|
|
7
|
+
private dialogRef;
|
|
8
|
+
data: any;
|
|
9
|
+
private courseService;
|
|
10
|
+
private snackBar;
|
|
11
|
+
private dialog;
|
|
12
|
+
courseId: string;
|
|
13
|
+
details: CourseDetail[];
|
|
14
|
+
constructor(dialogRef: MatDialogRef<CourseDetailsDialogComponent>, data: any, courseService: CourseService, snackBar: MatSnackBar, dialog: MatDialog);
|
|
15
|
+
close(): void;
|
|
16
|
+
addDetail(): void;
|
|
17
|
+
onDetailMediaUpload(event: any): void;
|
|
18
|
+
onDetailMediaDelete(event: any): void;
|
|
19
|
+
onDetailSave(event: any): void;
|
|
20
|
+
onDetailDelete(detail: CourseDetail): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseDetailsDialogComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseDetailsDialogComponent, "rolatech-course-details-dialog", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CategoryService, CourseService } from '../../services';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { CourseCategory, CourseDetail } from '../../interfaces';
|
|
5
|
+
import { MatStepper } from '@angular/material/stepper';
|
|
6
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CourseEditDialogComponent implements OnInit {
|
|
9
|
+
private dialogRef;
|
|
10
|
+
data: any;
|
|
11
|
+
private categoryService;
|
|
12
|
+
private courseService;
|
|
13
|
+
private snackBar;
|
|
14
|
+
private dialog;
|
|
15
|
+
course: any;
|
|
16
|
+
isUploading: boolean;
|
|
17
|
+
details: any;
|
|
18
|
+
pricing: any;
|
|
19
|
+
schedule: any;
|
|
20
|
+
courseType: {
|
|
21
|
+
key: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
24
|
+
selectedCategoyIds: string[];
|
|
25
|
+
categories: CourseCategory[];
|
|
26
|
+
selectedCategory: CourseCategory;
|
|
27
|
+
classrooms: any;
|
|
28
|
+
date: string[];
|
|
29
|
+
lastStepper: boolean;
|
|
30
|
+
firstStepper: boolean;
|
|
31
|
+
stepper: import("@angular/core").Signal<MatStepper>;
|
|
32
|
+
constructor(dialogRef: MatDialogRef<CourseEditDialogComponent>, data: any, categoryService: CategoryService, courseService: CourseService, snackBar: MatSnackBar, dialog: MatDialog);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
close(): void;
|
|
35
|
+
compareFn(o1: any, o2: any): boolean;
|
|
36
|
+
addDetail(): void;
|
|
37
|
+
addSchedule(): void;
|
|
38
|
+
addPricing(): void;
|
|
39
|
+
onSelectionChange(event: any): void;
|
|
40
|
+
onStepperChange(event: any): void;
|
|
41
|
+
previous(): void;
|
|
42
|
+
next(): void;
|
|
43
|
+
onDetailMediaUpload(event: any): void;
|
|
44
|
+
onDetailMediaDelete(event: any): void;
|
|
45
|
+
onDetailSave(event: any): void;
|
|
46
|
+
onDetailDelete(detail: CourseDetail): void;
|
|
47
|
+
onImageClick(i: any): void;
|
|
48
|
+
onUpload(event: any): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseEditDialogComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseEditDialogComponent, "rolatech-course-edit-dialog", never, {}, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CoursePreviewComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoursePreviewComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoursePreviewComponent, "rolatech-course-preview", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { Pricing } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CoursePricingAddDialogComponent {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
data: any;
|
|
7
|
+
pricing: Pricing;
|
|
8
|
+
constructor(dialogRef: MatDialogRef<CoursePricingAddDialogComponent>, data: any);
|
|
9
|
+
close(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoursePricingAddDialogComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoursePricingAddDialogComponent, "rolatech-course-pricing-add-dialog", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { Pricing } from '../../interfaces';
|
|
4
|
+
import { CourseService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CoursePricingDialogComponent {
|
|
7
|
+
private dialogRef;
|
|
8
|
+
data: any;
|
|
9
|
+
private courseService;
|
|
10
|
+
private snackBar;
|
|
11
|
+
private dialog;
|
|
12
|
+
courseId: string;
|
|
13
|
+
pricing: Pricing[];
|
|
14
|
+
constructor(dialogRef: MatDialogRef<CoursePricingDialogComponent>, data: any, courseService: CourseService, snackBar: MatSnackBar, dialog: MatDialog);
|
|
15
|
+
close(): void;
|
|
16
|
+
addPricing(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoursePricingDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoursePricingDialogComponent, "rolatech-course-pricing-dialog", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Schedule } from '../../interfaces';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CourseScheduleAddDialogComponent {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
data: any;
|
|
7
|
+
schedule: Schedule;
|
|
8
|
+
constructor(dialogRef: MatDialogRef<CourseScheduleAddDialogComponent>, data: any);
|
|
9
|
+
close(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseScheduleAddDialogComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseScheduleAddDialogComponent, "rolatech-course-schedule-add-dialog", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MatDialogRef, MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { Schedule } from '../../interfaces';
|
|
4
|
+
import { CourseService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CourseScheduleDialogComponent {
|
|
7
|
+
private dialogRef;
|
|
8
|
+
data: any;
|
|
9
|
+
private courseService;
|
|
10
|
+
private snackBar;
|
|
11
|
+
private dialog;
|
|
12
|
+
courseId: string;
|
|
13
|
+
schedule: Schedule[];
|
|
14
|
+
constructor(dialogRef: MatDialogRef<CourseScheduleDialogComponent>, data: any, courseService: CourseService, snackBar: MatSnackBar, dialog: MatDialog);
|
|
15
|
+
close(): void;
|
|
16
|
+
addSchedule(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseScheduleDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseScheduleDialogComponent, "rolatech-course-schedule-dialog", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CourseSection } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CourseSectionItemComponent implements OnInit {
|
|
5
|
+
section: import("@angular/core").ModelSignal<CourseSection>;
|
|
6
|
+
actions: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
7
|
+
hasUnsaved: import("@angular/core").ModelSignal<boolean[] | undefined>;
|
|
8
|
+
editId: import("@angular/core").ModelSignal<any>;
|
|
9
|
+
save: import("@angular/core").OutputEmitterRef<CourseSection>;
|
|
10
|
+
cancel: import("@angular/core").OutputEmitterRef<CourseSection>;
|
|
11
|
+
delete: import("@angular/core").OutputEmitterRef<CourseSection>;
|
|
12
|
+
edit: import("@angular/core").OutputEmitterRef<CourseSection>;
|
|
13
|
+
addLecture: import("@angular/core").OutputEmitterRef<CourseSection>;
|
|
14
|
+
editing: boolean;
|
|
15
|
+
isExpand: boolean;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onSave(section: CourseSection): void;
|
|
18
|
+
onCancel(section: CourseSection): void;
|
|
19
|
+
onDelete(section: CourseSection): void;
|
|
20
|
+
onEdit(section: CourseSection): void;
|
|
21
|
+
onAddLecture(section: CourseSection): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseSectionItemComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseSectionItemComponent, "rolatech-course-section-item", never, { "section": { "alias": "section"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "hasUnsaved": { "alias": "hasUnsaved"; "required": false; "isSignal": true; }; "editId": { "alias": "editId"; "required": false; "isSignal": true; }; }, { "section": "sectionChange"; "actions": "actionsChange"; "hasUnsaved": "hasUnsavedChange"; "editId": "editIdChange"; "save": "save"; "cancel": "cancel"; "delete": "delete"; "edit": "edit"; "addLecture": "addLecture"; }, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { CourseSectionLecture, CourseSectionLectureVideo } from '../../interfaces';
|
|
3
|
+
import { DialogService } from '@rolatech/angular-services';
|
|
4
|
+
import { CourseSectionLectureItem } from '../../interfaces/course';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CourseSectionLectureItemComponent implements OnInit {
|
|
7
|
+
platformId: Object;
|
|
8
|
+
el: ElementRef<any>;
|
|
9
|
+
dialogService: DialogService;
|
|
10
|
+
myVideo: import("@angular/core").Signal<unknown>;
|
|
11
|
+
progress: import("@angular/core").InputSignal<number>;
|
|
12
|
+
lecture: import("@angular/core").InputSignal<CourseSectionLecture>;
|
|
13
|
+
actions: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
hasUnsaved: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
editId: import("@angular/core").ModelSignal<any>;
|
|
16
|
+
save: import("@angular/core").OutputEmitterRef<CourseSectionLecture>;
|
|
17
|
+
cancel: import("@angular/core").OutputEmitterRef<CourseSectionLecture>;
|
|
18
|
+
delete: import("@angular/core").OutputEmitterRef<CourseSectionLecture>;
|
|
19
|
+
edit: import("@angular/core").OutputEmitterRef<CourseSectionLecture>;
|
|
20
|
+
mediaEdit: import("@angular/core").OutputEmitterRef<CourseSectionLectureVideo>;
|
|
21
|
+
thumbnailUpload: import("@angular/core").OutputEmitterRef<CourseSectionLectureVideo>;
|
|
22
|
+
upload: import("@angular/core").OutputEmitterRef<{
|
|
23
|
+
id: any;
|
|
24
|
+
data: FormData | null;
|
|
25
|
+
}>;
|
|
26
|
+
deleteMedia: import("@angular/core").OutputEmitterRef<CourseSectionLectureItem>;
|
|
27
|
+
editing: boolean;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
onSave(lecture: CourseSectionLecture): void;
|
|
30
|
+
onCancel(lecture: CourseSectionLecture): void;
|
|
31
|
+
onDelete(lecture: CourseSectionLecture): void;
|
|
32
|
+
onEdit(lecture: CourseSectionLecture): void;
|
|
33
|
+
onMediaEdit(lecture: CourseSectionLectureVideo): void;
|
|
34
|
+
onVideoThumbnailUpload(video: CourseSectionLectureVideo): void;
|
|
35
|
+
onUpload(id: any, data: any): void;
|
|
36
|
+
onDeleteMedia(data: any): void;
|
|
37
|
+
onLoadedMetadata(event: Event): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseSectionLectureItemComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseSectionLectureItemComponent, "rolatech-course-section-lecture-item", never, { "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "lecture": { "alias": "lecture"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "hasUnsaved": { "alias": "hasUnsaved"; "required": false; "isSignal": true; }; "editId": { "alias": "editId"; "required": false; "isSignal": true; }; }, { "editId": "editIdChange"; "save": "save"; "cancel": "cancel"; "delete": "delete"; "edit": "edit"; "mediaEdit": "mediaEdit"; "thumbnailUpload": "thumbnailUpload"; "upload": "upload"; "deleteMedia": "deleteMedia"; }, never, ["*"], true, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { CourseSectionLecture } from '../../interfaces';
|
|
4
|
+
import { CourseSectionService, CourseService } from '../../services';
|
|
5
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CourseSectionLectureVideoDialogComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
|
+
private dialogRef;
|
|
9
|
+
data: any;
|
|
10
|
+
lecture: CourseSectionLecture;
|
|
11
|
+
thumbnailUpload: import("@angular/core").OutputEmitterRef<any>;
|
|
12
|
+
courseService: CourseService;
|
|
13
|
+
courseSectionService: CourseSectionService;
|
|
14
|
+
snackBar: MatSnackBar;
|
|
15
|
+
platformId: Object;
|
|
16
|
+
el: ElementRef<any>;
|
|
17
|
+
mediaSrc: any;
|
|
18
|
+
player: any;
|
|
19
|
+
constructor(dialogRef: MatDialogRef<CourseSectionLectureVideoDialogComponent>, data: any);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
close(): void;
|
|
22
|
+
initPlayer(url: string, thumbnail?: string): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
onThumbnailUpload(event: any): void;
|
|
26
|
+
onPreviewChange(event: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseSectionLectureVideoDialogComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseSectionLectureVideoDialogComponent, "rolatech-course-section-lecture-video-dialog", never, {}, { "thumbnailUpload": "thumbnailUpload"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CourseSectionLectureVideoItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CourseSectionLectureVideoItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseSectionLectureVideoItemComponent, "rolatech-course-section-lecture-video-item", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CourseDetail, Media } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DetailItemComponent implements OnInit {
|
|
5
|
+
isUploading: import("@angular/core").InputSignal<boolean | undefined>;
|
|
6
|
+
detail: import("@angular/core").InputSignal<CourseDetail>;
|
|
7
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
actions: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
selectMedia: import("@angular/core").InputSignal<any>;
|
|
10
|
+
upload: import("@angular/core").OutputEmitterRef<{
|
|
11
|
+
id: string;
|
|
12
|
+
data: FormData | null;
|
|
13
|
+
}>;
|
|
14
|
+
delete: import("@angular/core").OutputEmitterRef<CourseDetail>;
|
|
15
|
+
save: import("@angular/core").OutputEmitterRef<CourseDetail>;
|
|
16
|
+
deleteMedia: import("@angular/core").OutputEmitterRef<{
|
|
17
|
+
id: string;
|
|
18
|
+
media: Media;
|
|
19
|
+
}>;
|
|
20
|
+
selectedImg: Media | any;
|
|
21
|
+
constructor();
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
onUpload(id: string, data: any): void;
|
|
24
|
+
onMediaItemClick(image: Media): void;
|
|
25
|
+
select(item: any): void;
|
|
26
|
+
deleteImage(): void;
|
|
27
|
+
onSave(detail: CourseDetail): void;
|
|
28
|
+
onDelete(detail: CourseDetail): void;
|
|
29
|
+
onDeleteMedia(id: string, media: Media): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DetailItemComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DetailItemComponent, "rolatech-detail-item", never, { "isUploading": { "alias": "isUploading"; "required": false; "isSignal": true; }; "detail": { "alias": "detail"; "required": true; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "selectMedia": { "alias": "selectMedia"; "required": false; "isSignal": true; }; }, { "upload": "upload"; "delete": "delete"; "save": "save"; "deleteMedia": "deleteMedia"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { CoursePreviewComponent } from './course-preview/course-preview.component';
|
|
2
|
+
export { CourseInfoComponent } from './course-info/course-info.component';
|
|
3
|
+
export { CourseMediaComponent } from './course-media/course-media.component';
|
|
4
|
+
export { CoursePricingComponent } from './course-pricing/course-pricing.component';
|
|
5
|
+
export { CourseActionComponent } from './course-action/course-action.component';
|
|
6
|
+
export { CourseScheduleComponent } from './course-schedule/course-schedule.component';
|
|
7
|
+
export { CourseSectionsComponent } from './course-sections/course-sections.component';
|
|
8
|
+
export { CourseSectionItemComponent } from './course-section-item/course-section-item.component';
|
|
9
|
+
export { CourseSectionLectureItemComponent } from './course-section-lecture-item/course-section-lecture-item.component';
|
|
10
|
+
export { CourseSectionLectureVideoItemComponent } from './course-section-lecture-video-item/course-section-lecture-video-item.component';
|
|
11
|
+
export { CourseItemComponent } from './course-item/course-item.component';
|
|
12
|
+
export { CoursePricingAddDialogComponent } from './course-pricing-add-dialog/course-pricing-add-dialog.component';
|
|
13
|
+
export { CourseScheduleAddDialogComponent } from './course-schedule-add-dialog/course-schedule-add-dialog.component';
|
|
14
|
+
export { CoursePricingDialogComponent } from './course-pricing-dialog/course-pricing-dialog.component';
|
|
15
|
+
export { CourseScheduleDialogComponent } from './course-schedule-dialog/course-schedule-dialog.component';
|
|
16
|
+
export { CourseDetailsDialogComponent } from './course-details-dialog/course-details-dialog.component';
|
|
17
|
+
export { CourseEditDialogComponent } from './course-edit-dialog/course-edit-dialog.component';
|
|
18
|
+
export { CourseDetailsComponent } from './course-details/course-details.component';
|
|
19
|
+
export { CourseMediaOwnerRendererComponent } from './course-media-owner-renderer/course-media-owner-renderer.component';
|
|
20
|
+
export { CourseSectionLectureVideoDialogComponent } from './course-section-lecture-video-dialog/course-section-lecture-video-dialog.component';
|
|
21
|
+
export { ScheduleItemComponent } from './schedule-item/schedule-item.component';
|
|
22
|
+
export { PricingItemComponent } from './pricing-item/pricing-item.component';
|
|
23
|
+
export { DetailItemComponent } from './detail-item/detail-item.component';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Pricing } from '../..//interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PricingItemComponent implements OnInit {
|
|
5
|
+
actions: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
pricing: import("@angular/core").ModelSignal<Pricing>;
|
|
8
|
+
delete: import("@angular/core").OutputEmitterRef<Pricing>;
|
|
9
|
+
save: import("@angular/core").OutputEmitterRef<Pricing>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
onSave(pricing: Pricing): void;
|
|
13
|
+
onDelete(pricing: Pricing): void;
|
|
14
|
+
setTwoNumberDecimal(e: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PricingItemComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PricingItemComponent, "rolatech-pricing-item", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "pricing": { "alias": "pricing"; "required": true; "isSignal": true; }; }, { "pricing": "pricingChange"; "delete": "delete"; "save": "save"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Schedule } from '../..//interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const MY_FORMATS: {
|
|
5
|
+
parse: {
|
|
6
|
+
dateInput: string;
|
|
7
|
+
};
|
|
8
|
+
display: {
|
|
9
|
+
dateInput: string;
|
|
10
|
+
monthYearLabel: string;
|
|
11
|
+
dateA11yLabel: string;
|
|
12
|
+
monthYearA11yLabel: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare class ScheduleItemComponent implements OnInit, OnDestroy {
|
|
16
|
+
value: import("@angular/core").InputSignal<Schedule | undefined>;
|
|
17
|
+
actions: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
delete: import("@angular/core").OutputEmitterRef<Schedule>;
|
|
20
|
+
save: import("@angular/core").OutputEmitterRef<Schedule>;
|
|
21
|
+
date: string[];
|
|
22
|
+
schedule: any;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
startDateChanged(event: any): void;
|
|
26
|
+
startTimeChanged(event: any): void;
|
|
27
|
+
endDateChanged(event: any): void;
|
|
28
|
+
endTimeChanged(event: any): void;
|
|
29
|
+
onSave(schedule: Schedule): void;
|
|
30
|
+
onDelete(schedule: Schedule): void;
|
|
31
|
+
private format;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleItemComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleItemComponent, "rolatech-schedule-item", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, { "delete": "delete"; "save": "save"; }, never, never, true, never>;
|
|
34
|
+
}
|