@dataclouder/ngx-lessons 0.1.15 → 0.1.16
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/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { PipeTransform, InjectionToken, Type, Provider, OnInit,
|
|
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
|
-
import { NgComponentOutlet } from '@angular/common';
|
|
5
4
|
import { MenuItem } from 'primeng/api';
|
|
6
|
-
import { EntityCommunicationService, FiltersConfig, IFilterQueryResponse, IExtensionable, ILearnable, IAuditable, IManageable, IReactable,
|
|
5
|
+
import { EntityCommunicationService, FiltersConfig, IFilterQueryResponse, IExtensionable, ILearnable, IAuditable, IManageable, IReactable, EntityBaseListComponent, ICustomFilter, PColumn, OnActionEvent, EntityBaseFormComponent, UiStateService, MobileService, PaginationBase, ListFilterBarOptions } from '@dataclouder/ngx-core';
|
|
7
6
|
import * as _angular_forms from '@angular/forms';
|
|
8
7
|
import { FormBuilder, FormControl, FormArray, UntypedFormControl, UntypedFormArray, FormGroup } from '@angular/forms';
|
|
9
8
|
import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
@@ -346,49 +345,18 @@ interface LessonPrompts {
|
|
|
346
345
|
}
|
|
347
346
|
declare function provideLessonsService(serviceImplementation: Type<DefaultLessonsService>): Provider[];
|
|
348
347
|
|
|
349
|
-
declare
|
|
350
|
-
Edit = "edit",
|
|
351
|
-
Delete = "delete",
|
|
352
|
-
Select = "select",
|
|
353
|
-
Qr = "qr",
|
|
354
|
-
Clone = "clone"
|
|
355
|
-
}
|
|
356
|
-
declare class DcLessonCardComponent implements OnInit {
|
|
348
|
+
declare class DCLessonListComponent extends EntityBaseListComponent<ILesson> {
|
|
357
349
|
userService: UserService;
|
|
358
|
-
lesson: ILessonWithTaken | ILesson | any;
|
|
359
|
-
showOptions: boolean;
|
|
360
|
-
cardHeight: string;
|
|
361
|
-
onAction: EventEmitter<OnActionEvent>;
|
|
362
|
-
coverUrl: string;
|
|
363
|
-
eventType: typeof EventCard;
|
|
364
|
-
items: MenuItem[];
|
|
365
|
-
ngOnInit(): void;
|
|
366
|
-
eventCard(eventType: EventCard): void;
|
|
367
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DcLessonCardComponent, never>;
|
|
368
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DcLessonCardComponent, "dc-lesson-card", never, { "lesson": { "alias": "lesson"; "required": false; }; "showOptions": { "alias": "showOptions"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
declare class DCLessonListComponent extends EntityBaseListComponent<ILesson> implements OnDestroy, AfterViewInit {
|
|
372
|
-
userService: UserService;
|
|
373
|
-
customCardComponent?: Type<DcLessonCardComponent>;
|
|
374
350
|
customFilters: ICustomFilter[];
|
|
375
351
|
protected entityCommunicationService: DefaultLessonsService;
|
|
376
|
-
outlets: QueryList<NgComponentOutlet>;
|
|
377
|
-
cardComponent: Type<DcLessonCardComponent>;
|
|
378
352
|
columns: PColumn[];
|
|
379
|
-
private cardEventSubs;
|
|
380
353
|
constructor();
|
|
381
|
-
ngOnInit(): Promise<void>;
|
|
382
|
-
ngAfterViewInit(): void;
|
|
383
|
-
ngOnDestroy(): void;
|
|
384
354
|
getCustomButtons(item: ILesson): MenuItem[];
|
|
385
355
|
handleAction(actionEvent: OnActionEvent): void;
|
|
386
356
|
applyFilterBarEvent(filterEvent: OnActionEvent): void;
|
|
387
|
-
private subscribeToCardEvents;
|
|
388
|
-
private clearCardEventSubs;
|
|
389
357
|
protected loadData(): Promise<void>;
|
|
390
358
|
static ɵfac: i0.ɵɵFactoryDeclaration<DCLessonListComponent, never>;
|
|
391
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DCLessonListComponent, "dc-lesson-list", never, { "
|
|
359
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DCLessonListComponent, "dc-lesson-list", never, { "customFilters": { "alias": "customFilters"; "required": false; }; }, {}, never, never, true, never>;
|
|
392
360
|
}
|
|
393
361
|
|
|
394
362
|
declare class DCLessonFormComponent {
|
|
@@ -466,6 +434,28 @@ declare class DCLessonEditorComponent extends EntityBaseFormComponent<ILesson> {
|
|
|
466
434
|
static ɵcmp: i0.ɵɵComponentDeclaration<DCLessonEditorComponent, "dc-lesson-editor", never, {}, {}, never, never, true, never>;
|
|
467
435
|
}
|
|
468
436
|
|
|
437
|
+
declare enum EventCard {
|
|
438
|
+
Edit = "edit",
|
|
439
|
+
Delete = "delete",
|
|
440
|
+
Select = "select",
|
|
441
|
+
Qr = "qr",
|
|
442
|
+
Clone = "clone"
|
|
443
|
+
}
|
|
444
|
+
declare class DcLessonCardComponent implements OnInit {
|
|
445
|
+
userService: UserService;
|
|
446
|
+
lesson: ILessonWithTaken | ILesson | any;
|
|
447
|
+
showOptions: boolean;
|
|
448
|
+
cardHeight: string;
|
|
449
|
+
onAction: EventEmitter<OnActionEvent>;
|
|
450
|
+
coverUrl: string;
|
|
451
|
+
eventType: typeof EventCard;
|
|
452
|
+
items: MenuItem[];
|
|
453
|
+
ngOnInit(): void;
|
|
454
|
+
eventCard(eventType: EventCard): void;
|
|
455
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DcLessonCardComponent, never>;
|
|
456
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DcLessonCardComponent, "dc-lesson-card", never, { "lesson": { "alias": "lesson"; "required": false; }; "showOptions": { "alias": "showOptions"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
457
|
+
}
|
|
458
|
+
|
|
469
459
|
declare class LessonsV2Component {
|
|
470
460
|
static ɵfac: i0.ɵɵFactoryDeclaration<LessonsV2Component, never>;
|
|
471
461
|
static ɵcmp: i0.ɵɵComponentDeclaration<LessonsV2Component, "app-lessonsv2", never, {}, {}, never, never, true, never>;
|