@dataclouder/ngx-lessons 0.1.22 → 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataclouder/ngx-lessons",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"module": "fesm2022/dataclouder-ngx-lessons.mjs",
|
|
28
|
-
"typings": "
|
|
28
|
+
"typings": "types/dataclouder-ngx-lessons.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
"./package.json": {
|
|
31
31
|
"default": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
".": {
|
|
34
|
-
"types": "./
|
|
34
|
+
"types": "./types/dataclouder-ngx-lessons.d.ts",
|
|
35
35
|
"default": "./fesm2022/dataclouder-ngx-lessons.mjs"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -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
|
}
|
|
@@ -550,6 +549,7 @@ declare class DCLessonRendererComponent implements OnInit {
|
|
|
550
549
|
constructor();
|
|
551
550
|
ngOnInit(): void;
|
|
552
551
|
evaluateForms(): Promise<void>;
|
|
552
|
+
private conversationSettings;
|
|
553
553
|
startAI(): Promise<void>;
|
|
554
554
|
onVisibleChange(isVisible: boolean): void;
|
|
555
555
|
handleGoalCompleted(event?: any): Promise<void>;
|
|
@@ -650,18 +650,13 @@ declare class CourseService extends EntityCommunicationService<ICourse> {
|
|
|
650
650
|
static ɵprov: i0.ɵɵInjectableDeclaration<CourseService>;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
declare class CourseDetailComponent
|
|
653
|
+
declare class CourseDetailComponent extends EntityBaseDetailComponent<ICourse> {
|
|
654
654
|
protected entityCommunicationService: CourseService;
|
|
655
|
-
private activatedRoute;
|
|
656
655
|
private messageService;
|
|
657
|
-
courseId: string;
|
|
658
|
-
course: i0.WritableSignal<ICourse>;
|
|
659
656
|
generatingLessons: i0.WritableSignal<boolean>;
|
|
660
657
|
generatingLesson: i0.WritableSignal<string>;
|
|
661
|
-
ngOnInit(): void;
|
|
662
658
|
generatePendingLessons(): Promise<void>;
|
|
663
659
|
generateLesson(lessonId: string): Promise<void>;
|
|
664
|
-
private loadCourse;
|
|
665
660
|
static ɵfac: i0.ɵɵFactoryDeclaration<CourseDetailComponent, never>;
|
|
666
661
|
static ɵcmp: i0.ɵɵComponentDeclaration<CourseDetailComponent, "app-course-detail", never, {}, {}, never, never, true, never>;
|
|
667
662
|
}
|