@tekdi/sunbird-collection-editor 6.1.0-beta.0
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/README.md +24 -0
- package/esm2022/lib/collection-editor-cursor.service.mjs +3 -0
- package/esm2022/lib/collection-editor-library.component.mjs +16 -0
- package/esm2022/lib/collection-editor-library.module.mjs +161 -0
- package/esm2022/lib/components/answer/answer.component.mjs +46 -0
- package/esm2022/lib/components/app-loader/app-loader.component.mjs +30 -0
- package/esm2022/lib/components/asset-browser/asset-browser.component.mjs +343 -0
- package/esm2022/lib/components/asset-browser/asset-browser.data.mjs +53 -0
- package/esm2022/lib/components/assign-page-number/assign-page-number.component.mjs +191 -0
- package/esm2022/lib/components/bulk-upload/bulk-upload.component.mjs +447 -0
- package/esm2022/lib/components/ckeditor-tool/ckeditor-tool.component.mjs +913 -0
- package/esm2022/lib/components/collection-icon/collection-icon.component.mjs +43 -0
- package/esm2022/lib/components/contentplayer-page/contentplayer-page.component.mjs +140 -0
- package/esm2022/lib/components/csv-upload/csv-upload.component.mjs +178 -0
- package/esm2022/lib/components/dialcode/dialcode.component.mjs +182 -0
- package/esm2022/lib/components/editor/editor.component.mjs +1201 -0
- package/esm2022/lib/components/fancy-tree/fancy-tree.component.mjs +611 -0
- package/esm2022/lib/components/header/header.component.mjs +141 -0
- package/esm2022/lib/components/library/library.component.mjs +241 -0
- package/esm2022/lib/components/library-filter/library-filter.component.mjs +153 -0
- package/esm2022/lib/components/library-list/library-list.component.mjs +66 -0
- package/esm2022/lib/components/library-player/library-player.component.mjs +36 -0
- package/esm2022/lib/components/manage-collaborator/manage-collaborator.component.mjs +256 -0
- package/esm2022/lib/components/meta-form/meta-form.component.mjs +338 -0
- package/esm2022/lib/components/options/options.component.mjs +157 -0
- package/esm2022/lib/components/plain-tree/plain-tree.component.mjs +125 -0
- package/esm2022/lib/components/progress-status/progress-status.component.mjs +46 -0
- package/esm2022/lib/components/publish-checklist/publish-checklist.component.mjs +70 -0
- package/esm2022/lib/components/quality-params-modal/quality-params-modal.component.mjs +52 -0
- package/esm2022/lib/components/question/question.component.mjs +1468 -0
- package/esm2022/lib/components/question-option-sub-menu/question-option-sub-menu.component.mjs +36 -0
- package/esm2022/lib/components/quml-player/quml-player.component.mjs +73 -0
- package/esm2022/lib/components/qumlplayer-page/qumlplayer-page.component.mjs +84 -0
- package/esm2022/lib/components/relational-metadata/relational-metadata.component.mjs +80 -0
- package/esm2022/lib/components/resource-reorder/resource-reorder.component.mjs +143 -0
- package/esm2022/lib/components/skeleton-loader/skeleton-loader.component.mjs +26 -0
- package/esm2022/lib/components/slider/slider.component.mjs +46 -0
- package/esm2022/lib/components/template/template.component.mjs +42 -0
- package/esm2022/lib/components/term-and-condition/term-and-condition.component.mjs +68 -0
- package/esm2022/lib/components/translations/translations.component.mjs +132 -0
- package/esm2022/lib/directives/date-format/date-format.pipe.mjs +34 -0
- package/esm2022/lib/directives/telemetry-interact/telemetry-interact.directive.mjs +33 -0
- package/esm2022/lib/interfaces/CreationContext.mjs +2 -0
- package/esm2022/lib/interfaces/McqForm.mjs +29 -0
- package/esm2022/lib/interfaces/editor.mjs +2 -0
- package/esm2022/lib/interfaces/framework.mjs +2 -0
- package/esm2022/lib/interfaces/httpOptions.mjs +2 -0
- package/esm2022/lib/interfaces/loader.mjs +2 -0
- package/esm2022/lib/interfaces/requestParam.mjs +2 -0
- package/esm2022/lib/interfaces/serverResponse.mjs +2 -0
- package/esm2022/lib/pipes/interpolate.pipe.mjs +17 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +18 -0
- package/esm2022/lib/services/bulk-job/bulk-job.service.mjs +67 -0
- package/esm2022/lib/services/config/category.config.json +9 -0
- package/esm2022/lib/services/config/config.service.mjs +27 -0
- package/esm2022/lib/services/config/editor.config.json +58 -0
- package/esm2022/lib/services/config/label.config.json +327 -0
- package/esm2022/lib/services/config/player.config.json +99 -0
- package/esm2022/lib/services/config/url.config.json +85 -0
- package/esm2022/lib/services/data/data.service.mjs +192 -0
- package/esm2022/lib/services/dialcode/dialcode.service.mjs +304 -0
- package/esm2022/lib/services/editor/editor.service.mjs +720 -0
- package/esm2022/lib/services/framework/framework.service.mjs +103 -0
- package/esm2022/lib/services/helper/helper.service.mjs +160 -0
- package/esm2022/lib/services/player/player.service.mjs +99 -0
- package/esm2022/lib/services/public-data/public-data.service.mjs +21 -0
- package/esm2022/lib/services/question/question.service.mjs +159 -0
- package/esm2022/lib/services/telemetry/telemetry.service.mjs +120 -0
- package/esm2022/lib/services/toaster/toaster.service.mjs +105 -0
- package/esm2022/lib/services/tree/tree.service.mjs +299 -0
- package/esm2022/public-api.mjs +4 -0
- package/esm2022/tekdi-sunbird-collection-editor.mjs +5 -0
- package/fesm2022/tekdi-sunbird-collection-editor.mjs +11139 -0
- package/fesm2022/tekdi-sunbird-collection-editor.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/assets/.gitkeep +0 -0
- package/lib/assets/images/MCQ.png +0 -0
- package/lib/assets/images/Spin.gif +0 -0
- package/lib/assets/images/bulkuploadfile.png +0 -0
- package/lib/assets/images/cancel-sign copy.png +0 -0
- package/lib/assets/images/cancel-sign.png +0 -0
- package/lib/assets/images/emptyResult.svg +1 -0
- package/lib/assets/images/icons-rtl.gif +0 -0
- package/lib/assets/images/icons.gif +0 -0
- package/lib/assets/images/imageicon.svg +16 -0
- package/lib/assets/images/imageicon_blue.svg +16 -0
- package/lib/assets/images/layoutoneicon.svg +16 -0
- package/lib/assets/images/layoutoneicon_blue.svg +16 -0
- package/lib/assets/images/layoutthreeicon.svg +18 -0
- package/lib/assets/images/layoutthreeicon_blue.svg +18 -0
- package/lib/assets/images/layouttwoicon.svg +18 -0
- package/lib/assets/images/layouttwoicon_blue.svg +18 -0
- package/lib/assets/images/leftalignicon.svg +17 -0
- package/lib/assets/images/leftalignicon_blue.svg +17 -0
- package/lib/assets/images/loader.gif +0 -0
- package/lib/assets/images/loader.svg +1 -0
- package/lib/assets/images/loading.gif +0 -0
- package/lib/assets/images/middlealignicon.svg +17 -0
- package/lib/assets/images/middlealignicon_blue.svg +17 -0
- package/lib/assets/images/question_collection.svg +18 -0
- package/lib/assets/images/rightalignicon.svg +17 -0
- package/lib/assets/images/rightalignicon_blue.svg +17 -0
- package/lib/assets/images/vline-rtl.gif +0 -0
- package/lib/assets/images/vline.gif +0 -0
- package/lib/assets/images/writing.png +0 -0
- package/lib/collection-editor-cursor.service.d.ts +4 -0
- package/lib/collection-editor-library.component.d.ts +8 -0
- package/lib/collection-editor-library.module.d.ts +57 -0
- package/lib/components/answer/answer.component.d.ts +24 -0
- package/lib/components/app-loader/app-loader.component.d.ts +17 -0
- package/lib/components/asset-browser/asset-browser.component.d.ts +80 -0
- package/lib/components/asset-browser/asset-browser.data.d.ts +51 -0
- package/lib/components/assign-page-number/assign-page-number.component.d.ts +37 -0
- package/lib/components/bulk-upload/bulk-upload.component.d.ts +70 -0
- package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts +160 -0
- package/lib/components/collection-icon/collection-icon.component.d.ts +17 -0
- package/lib/components/contentplayer-page/contentplayer-page.component.d.ts +36 -0
- package/lib/components/csv-upload/csv-upload.component.d.ts +41 -0
- package/lib/components/dialcode/dialcode.component.d.ts +47 -0
- package/lib/components/editor/editor.component.d.ts +149 -0
- package/lib/components/fancy-tree/fancy-tree.component.d.ts +84 -0
- package/lib/components/header/header.component.d.ts +49 -0
- package/lib/components/library/library.component.d.ts +68 -0
- package/lib/components/library-filter/library-filter.component.d.ts +46 -0
- package/lib/components/library-list/library-list.component.d.ts +25 -0
- package/lib/components/library-player/library-player.component.d.ts +17 -0
- package/lib/components/manage-collaborator/manage-collaborator.component.d.ts +74 -0
- package/lib/components/meta-form/meta-form.component.d.ts +49 -0
- package/lib/components/options/options.component.d.ts +60 -0
- package/lib/components/plain-tree/plain-tree.component.d.ts +19 -0
- package/lib/components/progress-status/progress-status.component.d.ts +24 -0
- package/lib/components/publish-checklist/publish-checklist.component.d.ts +23 -0
- package/lib/components/quality-params-modal/quality-params-modal.component.d.ts +23 -0
- package/lib/components/question/question.component.d.ts +207 -0
- package/lib/components/question-option-sub-menu/question-option-sub-menu.component.d.ts +26 -0
- package/lib/components/quml-player/quml-player.component.d.ts +25 -0
- package/lib/components/qumlplayer-page/qumlplayer-page.component.d.ts +30 -0
- package/lib/components/relational-metadata/relational-metadata.component.d.ts +24 -0
- package/lib/components/resource-reorder/resource-reorder.component.d.ts +44 -0
- package/lib/components/skeleton-loader/skeleton-loader.component.d.ts +12 -0
- package/lib/components/slider/slider.component.d.ts +24 -0
- package/lib/components/template/template.component.d.ts +20 -0
- package/lib/components/term-and-condition/term-and-condition.component.d.ts +25 -0
- package/lib/components/translations/translations.component.d.ts +69 -0
- package/lib/directives/date-format/date-format.pipe.d.ts +19 -0
- package/lib/directives/telemetry-interact/telemetry-interact.directive.d.ts +26 -0
- package/lib/interfaces/CreationContext.d.ts +10 -0
- package/lib/interfaces/McqForm.d.ts +31 -0
- package/lib/interfaces/editor.d.ts +83 -0
- package/lib/interfaces/framework.d.ts +45 -0
- package/lib/interfaces/httpOptions.d.ts +34 -0
- package/lib/interfaces/loader.d.ts +10 -0
- package/lib/interfaces/requestParam.d.ts +23 -0
- package/lib/interfaces/serverResponse.d.ts +37 -0
- package/lib/pipes/interpolate.pipe.d.ts +7 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +10 -0
- package/lib/services/bulk-job/bulk-job.service.d.ts +16 -0
- package/lib/services/config/config.service.d.ts +12 -0
- package/lib/services/data/data.service.d.ts +84 -0
- package/lib/services/dialcode/dialcode.service.d.ts +34 -0
- package/lib/services/editor/editor.service.d.ts +152 -0
- package/lib/services/framework/framework.service.d.ts +32 -0
- package/lib/services/helper/helper.service.d.ts +40 -0
- package/lib/services/player/player.service.d.ts +32 -0
- package/lib/services/public-data/public-data.service.d.ts +14 -0
- package/lib/services/question/question.service.d.ts +29 -0
- package/lib/services/telemetry/telemetry.service.d.ts +44 -0
- package/lib/services/toaster/toaster.service.d.ts +49 -0
- package/lib/services/tree/tree.service.d.ts +52 -0
- package/package.json +29 -0
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
3
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
4
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
5
|
+
import { NgForm } from '@angular/forms';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class HeaderComponent implements OnDestroy, OnInit {
|
|
9
|
+
private editorService;
|
|
10
|
+
telemetryService: EditorTelemetryService;
|
|
11
|
+
configService: ConfigService;
|
|
12
|
+
pageId: any;
|
|
13
|
+
labelConfigData: any;
|
|
14
|
+
buttonLoaders: any;
|
|
15
|
+
showComment: any;
|
|
16
|
+
publishchecklist: any;
|
|
17
|
+
set requestChange(action: string);
|
|
18
|
+
toolbarEmitter: EventEmitter<any>;
|
|
19
|
+
bulkUploadEmitter: EventEmitter<any>;
|
|
20
|
+
FormControl: NgForm;
|
|
21
|
+
modal: any;
|
|
22
|
+
qualityParamEmitter: EventEmitter<any>;
|
|
23
|
+
visibility: any;
|
|
24
|
+
showReviewModal: boolean;
|
|
25
|
+
showPublishCollectionPopup: boolean;
|
|
26
|
+
showRequestChangesPopup: boolean;
|
|
27
|
+
rejectComment: string;
|
|
28
|
+
actionType: string;
|
|
29
|
+
objectType: string;
|
|
30
|
+
sourcingStatusText: string;
|
|
31
|
+
sourcingStatusClass: string;
|
|
32
|
+
originPreviewUrl: string;
|
|
33
|
+
correctionComments: string;
|
|
34
|
+
unsubscribe$: Subject<void>;
|
|
35
|
+
bulkUploadStatus: boolean;
|
|
36
|
+
constructor(editorService: EditorService, telemetryService: EditorTelemetryService, configService: ConfigService);
|
|
37
|
+
ngOnInit(): Promise<void>;
|
|
38
|
+
handleActionButtons(): Promise<void>;
|
|
39
|
+
getSourcingData(): void;
|
|
40
|
+
openRequestChangePopup(action: string): void;
|
|
41
|
+
buttonEmitter(action: any): void;
|
|
42
|
+
openPublishCheckListPopup(action: any): void;
|
|
43
|
+
firstLevelPublish(): void;
|
|
44
|
+
publishEmitter(event: any): void;
|
|
45
|
+
bulkUploadListener(event: any): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "pageId": { "alias": "pageId"; "required": false; }; "labelConfigData": { "alias": "labelConfigData"; "required": false; }; "buttonLoaders": { "alias": "buttonLoaders"; "required": false; }; "showComment": { "alias": "showComment"; "required": false; }; "publishchecklist": { "alias": "publishchecklist"; "required": false; }; "requestChange": { "alias": "requestChange"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; "bulkUploadEmitter": "bulkUploadEmitter"; "qualityParamEmitter": "qualityParamEmitter"; }, never, never, false, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
3
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
4
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
5
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
6
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
7
|
+
import { Router } from '@angular/router';
|
|
8
|
+
import { HelperService } from '../../services/helper/helper.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class LibraryComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
11
|
+
telemetryService: EditorTelemetryService;
|
|
12
|
+
private editorService;
|
|
13
|
+
private router;
|
|
14
|
+
private treeService;
|
|
15
|
+
private toasterService;
|
|
16
|
+
configService: ConfigService;
|
|
17
|
+
private helperService;
|
|
18
|
+
libraryInput: any;
|
|
19
|
+
libraryEmitter: EventEmitter<any>;
|
|
20
|
+
searchFormConfig: any;
|
|
21
|
+
pageId: string;
|
|
22
|
+
contentList: any;
|
|
23
|
+
selectedContent: any;
|
|
24
|
+
childNodes: any;
|
|
25
|
+
showSelectResourceModal: boolean;
|
|
26
|
+
collectionUnits: any;
|
|
27
|
+
collectionHierarchy: any[];
|
|
28
|
+
collectionId: string;
|
|
29
|
+
showAddedContent: boolean;
|
|
30
|
+
showLoader: boolean;
|
|
31
|
+
isFilterOpen: boolean;
|
|
32
|
+
collectionhierarcyData: any;
|
|
33
|
+
defaultFilters: any;
|
|
34
|
+
pageStartTime: any;
|
|
35
|
+
selectedUnit: string;
|
|
36
|
+
frameworkId: any;
|
|
37
|
+
constructor(telemetryService: EditorTelemetryService, editorService: EditorService, router: Router, treeService: TreeService, toasterService: ToasterService, configService: ConfigService, helperService: HelperService);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
back(): void;
|
|
41
|
+
onFilterChange(event: any): void;
|
|
42
|
+
setDefaultFilters(): void;
|
|
43
|
+
fetchContentList(filters?: any, query?: any): void;
|
|
44
|
+
getUnitWithChildren(data: any, collectionId: any, level?: any): any;
|
|
45
|
+
generateNodeMeta(node: any): {
|
|
46
|
+
identifier: any;
|
|
47
|
+
name: any;
|
|
48
|
+
contentType: any;
|
|
49
|
+
topic: any;
|
|
50
|
+
status: any;
|
|
51
|
+
creator: any;
|
|
52
|
+
createdBy: any;
|
|
53
|
+
parentId: any;
|
|
54
|
+
organisationId: any;
|
|
55
|
+
prevStatus: any;
|
|
56
|
+
visibility: any;
|
|
57
|
+
mimeType: any;
|
|
58
|
+
};
|
|
59
|
+
onContentChangeEvent(event: any): void;
|
|
60
|
+
showResourceTemplate(event: any): void;
|
|
61
|
+
getHierarchyData(): void;
|
|
62
|
+
sortContentList(status: any): void;
|
|
63
|
+
openFilter(): void;
|
|
64
|
+
filterContentList(isContentAdded?: any): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryComponent, "lib-content-library", never, { "libraryInput": { "alias": "libraryInput"; "required": false; }; }, { "libraryEmitter": "libraryEmitter"; }, never, never, false, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
3
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
4
|
+
import { FrameworkService } from '../../services/framework/framework.service';
|
|
5
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
6
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
7
|
+
import { HelperService } from '../../services/helper/helper.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class LibraryFilterComponent implements OnInit, OnChanges {
|
|
10
|
+
private frameworkService;
|
|
11
|
+
editorService: EditorService;
|
|
12
|
+
telemetryService: EditorTelemetryService;
|
|
13
|
+
treeService: TreeService;
|
|
14
|
+
configService: ConfigService;
|
|
15
|
+
private helperService;
|
|
16
|
+
sessionContext: any;
|
|
17
|
+
filterValues: any;
|
|
18
|
+
filterOpenStatus: boolean;
|
|
19
|
+
searchFormConfig: any;
|
|
20
|
+
frameworkId: any;
|
|
21
|
+
filterChangeEvent: EventEmitter<any>;
|
|
22
|
+
filterConfig: any;
|
|
23
|
+
isFilterShow: boolean;
|
|
24
|
+
filterFields: any;
|
|
25
|
+
telemetryPageId: string;
|
|
26
|
+
private onComponentDestroy$;
|
|
27
|
+
frameworkDetails: any;
|
|
28
|
+
currentFilters: any;
|
|
29
|
+
searchQuery: string;
|
|
30
|
+
constructor(frameworkService: FrameworkService, editorService: EditorService, telemetryService: EditorTelemetryService, treeService: TreeService, configService: ConfigService, helperService: HelperService);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
setFilterDefaultValues(): void;
|
|
33
|
+
ngOnChanges(): void;
|
|
34
|
+
fetchFrameWorkDetails(): void;
|
|
35
|
+
populateFilters(): void;
|
|
36
|
+
onQueryEnter(event: any): boolean;
|
|
37
|
+
showfilter(): void;
|
|
38
|
+
resetFilter(): void;
|
|
39
|
+
applyFilter(): void;
|
|
40
|
+
emitApplyFilter(): void;
|
|
41
|
+
outputData($event: any): void;
|
|
42
|
+
onStatusChanges($event: any): void;
|
|
43
|
+
valueChanges($event: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryFilterComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryFilterComponent, "lib-library-filter", never, { "sessionContext": { "alias": "sessionContext"; "required": false; }; "filterValues": { "alias": "filterValues"; "required": false; }; "filterOpenStatus": { "alias": "filterOpenStatus"; "required": false; }; "searchFormConfig": { "alias": "searchFormConfig"; "required": false; }; "frameworkId": { "alias": "frameworkId"; "required": false; }; }, { "filterChangeEvent": "filterChangeEvent"; }, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
3
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
4
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LibraryListComponent implements OnInit {
|
|
7
|
+
editorService: EditorService;
|
|
8
|
+
telemetryService: EditorTelemetryService;
|
|
9
|
+
configService: ConfigService;
|
|
10
|
+
contentList: any;
|
|
11
|
+
showAddedContent: any;
|
|
12
|
+
contentChangeEvent: EventEmitter<any>;
|
|
13
|
+
moveEvent: EventEmitter<any>;
|
|
14
|
+
selectedContent: any;
|
|
15
|
+
sortContent: boolean;
|
|
16
|
+
constructor(editorService: EditorService, telemetryService: EditorTelemetryService, configService: ConfigService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
onContentChange(selectedContent: any): void;
|
|
19
|
+
changeFilter(): void;
|
|
20
|
+
onShowAddedContentChange(): void;
|
|
21
|
+
sortContentList(): void;
|
|
22
|
+
addToLibrary(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryListComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryListComponent, "lib-library-list", never, { "contentList": { "alias": "contentList"; "required": false; }; "showAddedContent": { "alias": "showAddedContent"; "required": false; }; "selectedContent": { "alias": "selectedContent"; "required": false; }; }, { "contentChangeEvent": "contentChangeEvent"; "moveEvent": "moveEvent"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
3
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
4
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LibraryPlayerComponent implements OnInit {
|
|
7
|
+
telemetryService: EditorTelemetryService;
|
|
8
|
+
editorService: EditorService;
|
|
9
|
+
configService: ConfigService;
|
|
10
|
+
contentListDetails: any;
|
|
11
|
+
moveEvent: EventEmitter<any>;
|
|
12
|
+
constructor(telemetryService: EditorTelemetryService, editorService: EditorService, configService: ConfigService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
addToLibrary(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryPlayerComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryPlayerComponent, "lib-library-player", never, { "contentListDetails": { "alias": "contentListDetails"; "required": false; }; }, { "moveEvent": "moveEvent"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
3
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
4
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
5
|
+
import { HelperService } from '../../services/helper/helper.service';
|
|
6
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ManageCollaboratorComponent implements OnInit {
|
|
9
|
+
helperService: HelperService;
|
|
10
|
+
toasterService: ToasterService;
|
|
11
|
+
configService: ConfigService;
|
|
12
|
+
editorService: EditorService;
|
|
13
|
+
telemetryService: EditorTelemetryService;
|
|
14
|
+
modalDismissEmitter: EventEmitter<any>;
|
|
15
|
+
private modal;
|
|
16
|
+
addCollaborator: any;
|
|
17
|
+
collectionId: any;
|
|
18
|
+
showCollaborationPopup: boolean;
|
|
19
|
+
contentCollaborators: any;
|
|
20
|
+
contentOwner: any;
|
|
21
|
+
creatorAndCollaboratorsIds: any;
|
|
22
|
+
selectedUsers: any[];
|
|
23
|
+
selectedcollaborators: any[];
|
|
24
|
+
users: any[];
|
|
25
|
+
collaborators: any[];
|
|
26
|
+
manageCollaboratorTabVisit: number;
|
|
27
|
+
updatedCollaborators: any[];
|
|
28
|
+
isAddCollaboratorTab: boolean;
|
|
29
|
+
searchKeyword: string;
|
|
30
|
+
searchRes: {
|
|
31
|
+
count: number;
|
|
32
|
+
content: any[];
|
|
33
|
+
isEmptyResponse: boolean;
|
|
34
|
+
errorMessage: string;
|
|
35
|
+
searchStatus: string;
|
|
36
|
+
};
|
|
37
|
+
userSearchBody: {
|
|
38
|
+
request: {
|
|
39
|
+
query: string;
|
|
40
|
+
filters: {
|
|
41
|
+
'organisations.roles': string;
|
|
42
|
+
rootOrgId: string;
|
|
43
|
+
};
|
|
44
|
+
fields: string[];
|
|
45
|
+
offset: number;
|
|
46
|
+
limit: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isContentOwner: boolean;
|
|
50
|
+
isRootOrgAdmin: boolean;
|
|
51
|
+
currentUser: any;
|
|
52
|
+
allUsersCount: number;
|
|
53
|
+
constructor(helperService: HelperService, toasterService: ToasterService, configService: ConfigService, editorService: EditorService, telemetryService: EditorTelemetryService);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
setCreatorAndCollaborators(): void;
|
|
56
|
+
checkUserRole(): void;
|
|
57
|
+
dismissCollaborationPopup(): void;
|
|
58
|
+
getAllUserList(): void;
|
|
59
|
+
excludeCreatorAndCollaborators(allUsers: any): any;
|
|
60
|
+
toggleSelectionUser(userIdentifier: any): void;
|
|
61
|
+
toggleSelectionCollaborator(userIdentifier: any): void;
|
|
62
|
+
addRemoveCollaboratorToCourse(modal: any): void;
|
|
63
|
+
getAllusers(): void;
|
|
64
|
+
getCollaborators(): void;
|
|
65
|
+
sortUsersList(value: any): void;
|
|
66
|
+
searchByKeyword(): void;
|
|
67
|
+
resetSearch(): void;
|
|
68
|
+
refreshSearch(): void;
|
|
69
|
+
validateEmail(email: any): boolean;
|
|
70
|
+
selectUser(user: any): void;
|
|
71
|
+
viewAllResults(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageCollaboratorComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageCollaboratorComponent, "lib-manage-collaborator", never, { "addCollaborator": { "alias": "addCollaborator"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; }, { "modalDismissEmitter": "modalDismissEmitter"; }, never, never, false, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
4
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
5
|
+
import { FrameworkService } from '../../services/framework/framework.service';
|
|
6
|
+
import { HelperService } from '../../services/helper/helper.service';
|
|
7
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
8
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
9
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MetaFormComponent implements OnChanges, OnDestroy {
|
|
12
|
+
private editorService;
|
|
13
|
+
treeService: TreeService;
|
|
14
|
+
frameworkService: FrameworkService;
|
|
15
|
+
private helperService;
|
|
16
|
+
private configService;
|
|
17
|
+
private toasterService;
|
|
18
|
+
rootFormConfig: any;
|
|
19
|
+
unitFormConfig: any;
|
|
20
|
+
nodeMetadata: any;
|
|
21
|
+
toolbarEmitter: EventEmitter<any>;
|
|
22
|
+
private onComponentDestroy$;
|
|
23
|
+
frameworkDetails: any;
|
|
24
|
+
formFieldProperties: any;
|
|
25
|
+
showAppIcon: boolean;
|
|
26
|
+
appIconConfig: any;
|
|
27
|
+
appIcon: any;
|
|
28
|
+
previousShuffleValue: boolean;
|
|
29
|
+
subscription: Subscription;
|
|
30
|
+
constructor(editorService: EditorService, treeService: TreeService, frameworkService: FrameworkService, helperService: HelperService, configService: ConfigService, toasterService: ToasterService);
|
|
31
|
+
ngOnChanges(): void;
|
|
32
|
+
setAppIconData(): void;
|
|
33
|
+
setShuffleValue(value: any): void;
|
|
34
|
+
showShuffleMessage(event: any): void;
|
|
35
|
+
fetchFrameWorkDetails(): void;
|
|
36
|
+
attachDefaultValues(): void;
|
|
37
|
+
isReviewMode(): any;
|
|
38
|
+
ifFieldIsEditable(fieldCode: any, primaryCategoryEditableConfig?: any): boolean;
|
|
39
|
+
outputData(eventData: any): void;
|
|
40
|
+
onStatusChanges(event: any): void;
|
|
41
|
+
appIconDataHandler(event: any): void;
|
|
42
|
+
showTimer(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): import("rxjs").Observable<boolean>;
|
|
43
|
+
getFramework(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): any;
|
|
44
|
+
valueChanges(event: any): void;
|
|
45
|
+
createLeavels(levels: any): {};
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormComponent, "lib-meta-form", never, { "rootFormConfig": { "alias": "rootFormConfig"; "required": false; }; "unitFormConfig": { "alias": "unitFormConfig"; "required": false; }; "nodeMetadata": { "alias": "nodeMetadata"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; }, never, never, false, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
3
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
4
|
+
import { SubMenu } from '../question-option-sub-menu/question-option-sub-menu.component';
|
|
5
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
6
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class OptionsComponent implements OnInit {
|
|
9
|
+
telemetryService: EditorTelemetryService;
|
|
10
|
+
configService: ConfigService;
|
|
11
|
+
treeService: TreeService;
|
|
12
|
+
private editorService;
|
|
13
|
+
editorState: any;
|
|
14
|
+
showFormError: any;
|
|
15
|
+
sourcingSettings: any;
|
|
16
|
+
questionPrimaryCategory: any;
|
|
17
|
+
mapping: any[];
|
|
18
|
+
isReadOnlyMode: any;
|
|
19
|
+
editorDataOutput: EventEmitter<any>;
|
|
20
|
+
setCharacterLimit: number;
|
|
21
|
+
setImageLimit: number;
|
|
22
|
+
templateType: string;
|
|
23
|
+
subMenus: SubMenu[][];
|
|
24
|
+
hints: any[];
|
|
25
|
+
showSubMenu: boolean;
|
|
26
|
+
parentMeta: any;
|
|
27
|
+
constructor(telemetryService: EditorTelemetryService, configService: ConfigService, treeService: TreeService, editorService: EditorService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
editorDataHandler(event?: any): void;
|
|
30
|
+
prepareMcqBody(editorState: any): any;
|
|
31
|
+
getResponseDeclaration(editorState: any): {
|
|
32
|
+
response1: {
|
|
33
|
+
maxScore: number;
|
|
34
|
+
cardinality: string;
|
|
35
|
+
type: string;
|
|
36
|
+
correctResponse: {
|
|
37
|
+
value: any;
|
|
38
|
+
outcomes: {
|
|
39
|
+
SCORE: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
mapping: any[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
getInteractions(options: any): {
|
|
46
|
+
response1: {
|
|
47
|
+
type: string;
|
|
48
|
+
options: any;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
setTemplete(template: any): void;
|
|
52
|
+
subMenuChange({ index, value }: {
|
|
53
|
+
index: any;
|
|
54
|
+
value: any;
|
|
55
|
+
}, optionIndex: any): void;
|
|
56
|
+
subMenuConfig(options: any): void;
|
|
57
|
+
setScore(value: any, scoreIndex: any): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionsComponent, "lib-options", never, { "editorState": { "alias": "editorState"; "required": false; }; "showFormError": { "alias": "showFormError"; "required": false; }; "sourcingSettings": { "alias": "sourcingSettings"; "required": false; }; "questionPrimaryCategory": { "alias": "questionPrimaryCategory"; "required": false; }; "mapping": { "alias": "mapping"; "required": false; }; "isReadOnlyMode": { "alias": "isReadOnlyMode"; "required": false; }; }, { "editorDataOutput": "editorDataOutput"; }, never, never, false, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import 'jquery.fancytree';
|
|
3
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PlainTreeComponent implements OnInit, AfterViewInit {
|
|
6
|
+
private editorService;
|
|
7
|
+
tree: ElementRef;
|
|
8
|
+
treeData: any;
|
|
9
|
+
treeEmitter: EventEmitter<any>;
|
|
10
|
+
constructor(editorService: EditorService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
renderTree(options: any): void;
|
|
14
|
+
buildTreeData(data: any): any[];
|
|
15
|
+
getQuestionsList(data: any): void;
|
|
16
|
+
getTreeConfig(): any;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlainTreeComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlainTreeComponent, "lib-plain-tree", never, { "treeData": { "alias": "treeData"; "required": false; }; }, { "treeEmitter": "treeEmitter"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProgressStatusComponent implements OnInit {
|
|
5
|
+
private editorService;
|
|
6
|
+
toolbarConfig: any;
|
|
7
|
+
pageId: string;
|
|
8
|
+
data: {
|
|
9
|
+
criteria: string;
|
|
10
|
+
maxScore: number;
|
|
11
|
+
minScore: number;
|
|
12
|
+
questionsCreated: number;
|
|
13
|
+
isExpanded: boolean;
|
|
14
|
+
}[];
|
|
15
|
+
expandedElement: string;
|
|
16
|
+
assignPageEmitter: EventEmitter<any>;
|
|
17
|
+
constructor(editorService: EditorService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
toolbarEventListener(event: any): void;
|
|
20
|
+
redirectToQuestionSet(): void;
|
|
21
|
+
expand(event: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressStatusComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressStatusComponent, "lib-progress-status", never, {}, { "assignPageEmitter": "assignPageEmitter"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
3
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PublishChecklistComponent implements OnInit {
|
|
6
|
+
telemetryService: EditorTelemetryService;
|
|
7
|
+
configService: ConfigService;
|
|
8
|
+
publishchecklist: any;
|
|
9
|
+
actionType: any;
|
|
10
|
+
objectType: string;
|
|
11
|
+
publishEmitter: EventEmitter<any>;
|
|
12
|
+
isButtonEnable: boolean;
|
|
13
|
+
fieldsAvailable: any;
|
|
14
|
+
isClosable: boolean;
|
|
15
|
+
constructor(telemetryService: EditorTelemetryService, configService: ConfigService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
handlePopUpEvents(type: any, modal: any): void;
|
|
18
|
+
outputData(eventData: any): void;
|
|
19
|
+
onStatusChanges(event: any): void;
|
|
20
|
+
valueChanges(event: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublishChecklistComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PublishChecklistComponent, "lib-publish-checklist", never, { "publishchecklist": { "alias": "publishchecklist"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "objectType": { "alias": "objectType"; "required": false; }; }, { "publishEmitter": "publishEmitter"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class QualityParamsModalComponent implements OnInit {
|
|
5
|
+
configService: ConfigService;
|
|
6
|
+
qualityFormConfig: any;
|
|
7
|
+
showQualityParameterPopup: boolean;
|
|
8
|
+
qualityParamChanged: EventEmitter<any>;
|
|
9
|
+
labelConfigData: any;
|
|
10
|
+
formData: any;
|
|
11
|
+
isApprovalBtnEnable: boolean;
|
|
12
|
+
isRequestChangeBtnEnable: boolean;
|
|
13
|
+
totalScoreValue: number;
|
|
14
|
+
constructor(configService: ConfigService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onStatusChanges(event: any): void;
|
|
17
|
+
valueChanges(event: any): void;
|
|
18
|
+
submitApproval(): void;
|
|
19
|
+
requestChanges(): void;
|
|
20
|
+
onModalClose(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QualityParamsModalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QualityParamsModalComponent, "lib-quality-params-modal", never, { "qualityFormConfig": { "alias": "qualityFormConfig"; "required": false; }; "showQualityParameterPopup": { "alias": "showQualityParameterPopup"; "required": false; }; "labelConfigData": { "alias": "labelConfigData"; "required": false; }; }, { "qualityParamChanged": "qualityParamChanged"; }, never, never, false, never>;
|
|
23
|
+
}
|