@dataclouder/ngx-lessons 0.1.25 → 0.1.26
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,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { PipeTransform, InjectionToken, Type, Provider, OnInit, ComponentRef, EventEmitter, ViewContainerRef, Renderer2, ElementRef
|
|
3
|
-
import {
|
|
2
|
+
import { PipeTransform, InjectionToken, Type, Provider, OnInit, ComponentRef, EventEmitter, ViewContainerRef, Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { IAIModel, EntityCommunicationService, FiltersConfig, IFilterQueryResponse, IExtensionable, ILearnable, IAuditable, IManageable, IReactable, EntityBaseListV2Component, ICustomFilter, PColumn, OnActionEvent, EntityBaseFormComponent, UiStateService, MobileService, EntityBaseDetailComponent } from '@dataclouder/ngx-core';
|
|
4
4
|
import { MenuItem } from 'primeng/api';
|
|
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
5
|
import * as _angular_forms from '@angular/forms';
|
|
7
6
|
import { FormBuilder, FormControl, FormArray, UntypedFormControl, FormGroup, UntypedFormArray } from '@angular/forms';
|
|
8
7
|
import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
9
8
|
import { TTSGenerated } from '@dataclouder/ngx-ai-services';
|
|
10
9
|
import { IAssetable, StorageImageSettings, AspectType, ResolutionType } from '@dataclouder/ngx-cloud-storage';
|
|
11
10
|
import { UserService } from '@dataclouder/ngx-users';
|
|
11
|
+
import { IConversationSettings, IConversationFlow, SimpleAgentTask, WordData, ChatEvent } from '@dataclouder/ngx-agent-cards';
|
|
12
12
|
import * as _angular_router from '@angular/router';
|
|
13
13
|
|
|
14
14
|
declare const LangCodeDescription: {
|
|
@@ -74,6 +74,10 @@ declare enum NotionExportType {
|
|
|
74
74
|
SIMPLE_BLOCKS = "simple_blocks"
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
interface ISimpleAgent {
|
|
78
|
+
systemPrompt: string;
|
|
79
|
+
model: IAIModel;
|
|
80
|
+
}
|
|
77
81
|
declare const getLanguageSimpleAgent: (langBase: string, langTarget: string) => ISimpleAgent;
|
|
78
82
|
|
|
79
83
|
type LessonCompSettingsForm = {
|
|
@@ -690,27 +694,16 @@ declare class CourseFormComponent extends EntityBaseFormComponent<ICourse> imple
|
|
|
690
694
|
static ɵcmp: i0.ɵɵComponentDeclaration<CourseFormComponent, "app-source-form", never, {}, { "onSave": "onSave"; }, never, never, true, never>;
|
|
691
695
|
}
|
|
692
696
|
|
|
693
|
-
declare class CourseListComponent extends
|
|
694
|
-
|
|
695
|
-
private courseService;
|
|
697
|
+
declare class CourseListComponent extends EntityBaseListV2Component<ICourse> implements OnInit {
|
|
698
|
+
protected entityCommunicationService: CourseService;
|
|
696
699
|
userService: UserService<any>;
|
|
697
|
-
private cdr;
|
|
698
|
-
viewType: 'table' | 'card';
|
|
699
700
|
readonly onlyView: i0.InputSignal<boolean>;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
columns: any[];
|
|
703
|
-
filterBarOptions: ListFilterBarOptions;
|
|
704
|
-
getCustomButtons(item: any): MenuItem[];
|
|
701
|
+
columns: string[];
|
|
702
|
+
getCustomButtons(item: ICourse): MenuItem[];
|
|
705
703
|
ngOnInit(): Promise<void>;
|
|
706
|
-
protected loadData(): Promise<void>;
|
|
707
|
-
onNew(): void;
|
|
708
|
-
toggleView(): void;
|
|
709
|
-
selectItem(course: ICourse): void;
|
|
710
|
-
doAction(actionEvent: OnActionEvent): Promise<void>;
|
|
711
704
|
static ɵfac: i0.ɵɵFactoryDeclaration<CourseListComponent, never>;
|
|
712
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CourseListComponent, "app-course-list", never, { "
|
|
705
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CourseListComponent, "app-course-list", never, { "onlyView": { "alias": "onlyView"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
713
706
|
}
|
|
714
707
|
|
|
715
708
|
export { ComponentBuilder, ComponentWithForm, CourseDetailComponent, CourseFormComponent, CourseListComponent, CourseService, CoursesAdminComponent, CoursesComponent, CoursesService, DCLessonEditorComponent, DCLessonFormComponent, DCLessonListComponent, DCLessonRendererComponent, DcLessonCardComponent, DefaultDynamicComponentBuilders, DefaultDynamicComponents, DefaultLessonsService, DynamicComponentsRegisterService, FlagLanguagePipe, LESSONS_TOKEN, LangCodeDescription, LangCodeDescriptionEs, LessonComponentBuilders, LessonComponentEnum, LessonComponents, LessonConversationService, LessonDynamicComponent, LessonRendererService, LessonsV2Component, NOTION_SERVICE_TOKEN, NotionAbstractService, NotionExportType, SelectorBuilderComponent, SelectorComponent, TextWriterBuiderComponent, TextWriterComponent, TranslationSwitcherBuilderComponent, TranslationSwitcherComponent, getLanguageSimpleAgent, getLessonComponentClass, provideLessonsService, provideNotionService };
|
|
716
|
-
export type { AudioStorage, ComponentBuildData, ContentMetadata, DynamicComponentData, DynamicComponentMap, IDynamicContentComponent, ILesson, ILessonExtra, ILessonTaken, ILessonWithTaken, ILessonsSettings, ImgStorageData, InputCompoennt, LessonCompSettings, LessonCompSettingsForm, LessonComponentConfiguration, LessonComponentInterface, LessonComponentsType, LessonImage, LessonPrompts, Media, NotionDBResponse, NotionPageResponse, SpeakerCompConfiguration, StorageFile, TextContent };
|
|
709
|
+
export type { AudioStorage, ComponentBuildData, ContentMetadata, DynamicComponentData, DynamicComponentMap, IDynamicContentComponent, ILesson, ILessonExtra, ILessonTaken, ILessonWithTaken, ILessonsSettings, ISimpleAgent, ImgStorageData, InputCompoennt, LessonCompSettings, LessonCompSettingsForm, LessonComponentConfiguration, LessonComponentInterface, LessonComponentsType, LessonImage, LessonPrompts, Media, NotionDBResponse, NotionPageResponse, SpeakerCompConfiguration, StorageFile, TextContent };
|