@dataclouder/ngx-lessons 0.1.23 → 0.1.25
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { PipeTransform, InjectionToken, Type, Provider, OnInit, ComponentRef, EventEmitter, ViewContainerRef, Renderer2, ElementRef, WritableSignal } from '@angular/core';
|
|
3
3
|
import { ISimpleAgent, IConversationSettings, IConversationFlow, SimpleAgentTask, WordData, ChatEvent } from '@dataclouder/ngx-agent-cards';
|
|
4
4
|
import { MenuItem } from 'primeng/api';
|
|
5
|
-
import { EntityCommunicationService, FiltersConfig, IFilterQueryResponse, IExtensionable, ILearnable, IAuditable, IManageable, IReactable,
|
|
5
|
+
import { EntityCommunicationService, FiltersConfig, IFilterQueryResponse, IExtensionable, ILearnable, IAuditable, IManageable, IReactable, EntityBaseListV2Component, ICustomFilter, PColumn, OnActionEvent, EntityBaseFormComponent, UiStateService, MobileService, EntityBaseDetailComponent, PaginationBase, ListFilterBarOptions } from '@dataclouder/ngx-core';
|
|
6
6
|
import * as _angular_forms from '@angular/forms';
|
|
7
7
|
import { FormBuilder, FormControl, FormArray, UntypedFormControl, FormGroup, UntypedFormArray } from '@angular/forms';
|
|
8
8
|
import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
@@ -357,17 +357,16 @@ interface LessonPrompts {
|
|
|
357
357
|
}
|
|
358
358
|
declare function provideLessonsService(serviceImplementation: Type<DefaultLessonsService>): Provider[];
|
|
359
359
|
|
|
360
|
-
declare class DCLessonListComponent extends
|
|
360
|
+
declare class DCLessonListComponent extends EntityBaseListV2Component<ILesson> {
|
|
361
361
|
userService: UserService<any>;
|
|
362
362
|
customFilters: ICustomFilter[];
|
|
363
363
|
persistenceKey: string;
|
|
364
|
-
protected entityCommunicationService:
|
|
364
|
+
protected entityCommunicationService: any;
|
|
365
365
|
columns: PColumn[];
|
|
366
366
|
constructor();
|
|
367
|
+
ngOnInit(): Promise<void>;
|
|
367
368
|
getCustomButtons(item: ILesson): MenuItem[];
|
|
368
369
|
handleAction(actionEvent: OnActionEvent): void;
|
|
369
|
-
applyFilterBarEvent(filterEvent: OnActionEvent): void;
|
|
370
|
-
protected loadData(): Promise<void>;
|
|
371
370
|
static ɵfac: i0.ɵɵFactoryDeclaration<DCLessonListComponent, never>;
|
|
372
371
|
static ɵcmp: i0.ɵɵComponentDeclaration<DCLessonListComponent, "dc-lesson-list", never, { "customFilters": { "alias": "customFilters"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
373
372
|
}
|
|
@@ -651,18 +650,13 @@ declare class CourseService extends EntityCommunicationService<ICourse> {
|
|
|
651
650
|
static ɵprov: i0.ɵɵInjectableDeclaration<CourseService>;
|
|
652
651
|
}
|
|
653
652
|
|
|
654
|
-
declare class CourseDetailComponent
|
|
653
|
+
declare class CourseDetailComponent extends EntityBaseDetailComponent<ICourse> {
|
|
655
654
|
protected entityCommunicationService: CourseService;
|
|
656
|
-
private activatedRoute;
|
|
657
655
|
private messageService;
|
|
658
|
-
courseId: string;
|
|
659
|
-
course: i0.WritableSignal<ICourse>;
|
|
660
656
|
generatingLessons: i0.WritableSignal<boolean>;
|
|
661
657
|
generatingLesson: i0.WritableSignal<string>;
|
|
662
|
-
ngOnInit(): void;
|
|
663
658
|
generatePendingLessons(): Promise<void>;
|
|
664
659
|
generateLesson(lessonId: string): Promise<void>;
|
|
665
|
-
private loadCourse;
|
|
666
660
|
static ɵfac: i0.ɵɵFactoryDeclaration<CourseDetailComponent, never>;
|
|
667
661
|
static ɵcmp: i0.ɵɵComponentDeclaration<CourseDetailComponent, "app-course-detail", never, {}, {}, never, never, true, never>;
|
|
668
662
|
}
|