@deeksha2309/sunbird-collection-editor 8.0.7
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 +137 -0
- package/esm2022/lib/components/answer/answer.component.mjs +43 -0
- package/esm2022/lib/components/asset-browser/asset-browser.component.mjs +325 -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/ckeditor-tool/ckeditor-tool.component.mjs +895 -0
- package/esm2022/lib/components/collection-icon/collection-icon.component.mjs +43 -0
- package/esm2022/lib/components/contentplayer-page/contentplayer-page.component.mjs +351 -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 +1125 -0
- package/esm2022/lib/components/fancy-tree/fancy-tree.component.mjs +529 -0
- package/esm2022/lib/components/header/header.component.mjs +123 -0
- package/esm2022/lib/components/library/library.component.mjs +242 -0
- package/esm2022/lib/components/library-filter/library-filter.component.mjs +149 -0
- package/esm2022/lib/components/library-list/library-list.component.mjs +92 -0
- package/esm2022/lib/components/library-player/library-player.component.mjs +62 -0
- package/esm2022/lib/components/manage-collaborator/manage-collaborator.component.mjs +256 -0
- package/esm2022/lib/components/meta-form/meta-form.component.mjs +377 -0
- package/esm2022/lib/components/options/options.component.mjs +144 -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 +67 -0
- package/esm2022/lib/components/quality-params-modal/quality-params-modal.component.mjs +52 -0
- package/esm2022/lib/components/question/question.component.mjs +1360 -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/resource-reorder/resource-reorder.component.mjs +143 -0
- package/esm2022/lib/components/skeleton-loader/skeleton-loader.component.mjs +26 -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/directives/telemetry-interact/telemetry-interact.directive.mjs +33 -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/requestParam.mjs +2 -0
- package/esm2022/lib/interfaces/serverResponse.mjs +2 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/services/config/category.config.json +8 -0
- package/esm2022/lib/services/config/config.service.mjs +27 -0
- package/esm2022/lib/services/config/editor.config.json +31 -0
- package/esm2022/lib/services/config/label.config.json +314 -0
- package/esm2022/lib/services/config/player.config.json +96 -0
- package/esm2022/lib/services/config/url.config.json +69 -0
- package/esm2022/lib/services/data/data.service.mjs +192 -0
- package/esm2022/lib/services/dialcode/dialcode.service.mjs +309 -0
- package/esm2022/lib/services/editor/editor.service.mjs +682 -0
- package/esm2022/lib/services/framework/framework.service.mjs +106 -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 +167 -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 +284 -0
- package/esm2022/project-sunbird-sunbird-collection-editor.mjs +5 -0
- package/esm2022/public-api.mjs +4 -0
- package/fesm2022/project-sunbird-sunbird-collection-editor.mjs +10138 -0
- package/fesm2022/project-sunbird-sunbird-collection-editor.mjs.map +1 -0
- package/index.d.ts +6 -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 +5 -0
- package/lib/collection-editor-cursor.service.d.ts.map +1 -0
- package/lib/collection-editor-library.component.d.ts +9 -0
- package/lib/collection-editor-library.component.d.ts.map +1 -0
- package/lib/collection-editor-library.module.d.ts +50 -0
- package/lib/collection-editor-library.module.d.ts.map +1 -0
- package/lib/components/answer/answer.component.d.ts +24 -0
- package/lib/components/answer/answer.component.d.ts.map +1 -0
- package/lib/components/asset-browser/asset-browser.component.d.ts +81 -0
- package/lib/components/asset-browser/asset-browser.component.d.ts.map +1 -0
- package/lib/components/asset-browser/asset-browser.data.d.ts +52 -0
- package/lib/components/asset-browser/asset-browser.data.d.ts.map +1 -0
- package/lib/components/assign-page-number/assign-page-number.component.d.ts +38 -0
- package/lib/components/assign-page-number/assign-page-number.component.d.ts.map +1 -0
- package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts +161 -0
- package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts.map +1 -0
- package/lib/components/collection-icon/collection-icon.component.d.ts +18 -0
- package/lib/components/collection-icon/collection-icon.component.d.ts.map +1 -0
- package/lib/components/contentplayer-page/contentplayer-page.component.d.ts +54 -0
- package/lib/components/contentplayer-page/contentplayer-page.component.d.ts.map +1 -0
- package/lib/components/csv-upload/csv-upload.component.d.ts +42 -0
- package/lib/components/csv-upload/csv-upload.component.d.ts.map +1 -0
- package/lib/components/dialcode/dialcode.component.d.ts +48 -0
- package/lib/components/dialcode/dialcode.component.d.ts.map +1 -0
- package/lib/components/editor/editor.component.d.ts +146 -0
- package/lib/components/editor/editor.component.d.ts.map +1 -0
- package/lib/components/fancy-tree/fancy-tree.component.d.ts +77 -0
- package/lib/components/fancy-tree/fancy-tree.component.d.ts.map +1 -0
- package/lib/components/header/header.component.d.ts +46 -0
- package/lib/components/header/header.component.d.ts.map +1 -0
- package/lib/components/library/library.component.d.ts +69 -0
- package/lib/components/library/library.component.d.ts.map +1 -0
- package/lib/components/library-filter/library-filter.component.d.ts +47 -0
- package/lib/components/library-filter/library-filter.component.d.ts.map +1 -0
- package/lib/components/library-list/library-list.component.d.ts +32 -0
- package/lib/components/library-list/library-list.component.d.ts.map +1 -0
- package/lib/components/library-player/library-player.component.d.ts +24 -0
- package/lib/components/library-player/library-player.component.d.ts.map +1 -0
- package/lib/components/manage-collaborator/manage-collaborator.component.d.ts +75 -0
- package/lib/components/manage-collaborator/manage-collaborator.component.d.ts.map +1 -0
- package/lib/components/meta-form/meta-form.component.d.ts +51 -0
- package/lib/components/meta-form/meta-form.component.d.ts.map +1 -0
- package/lib/components/options/options.component.d.ts +53 -0
- package/lib/components/options/options.component.d.ts.map +1 -0
- package/lib/components/plain-tree/plain-tree.component.d.ts +20 -0
- package/lib/components/plain-tree/plain-tree.component.d.ts.map +1 -0
- package/lib/components/progress-status/progress-status.component.d.ts +25 -0
- package/lib/components/progress-status/progress-status.component.d.ts.map +1 -0
- package/lib/components/publish-checklist/publish-checklist.component.d.ts +23 -0
- package/lib/components/publish-checklist/publish-checklist.component.d.ts.map +1 -0
- package/lib/components/quality-params-modal/quality-params-modal.component.d.ts +24 -0
- package/lib/components/quality-params-modal/quality-params-modal.component.d.ts.map +1 -0
- package/lib/components/question/question.component.d.ts +215 -0
- package/lib/components/question/question.component.d.ts.map +1 -0
- package/lib/components/quml-player/quml-player.component.d.ts +26 -0
- package/lib/components/quml-player/quml-player.component.d.ts.map +1 -0
- package/lib/components/qumlplayer-page/qumlplayer-page.component.d.ts +31 -0
- package/lib/components/qumlplayer-page/qumlplayer-page.component.d.ts.map +1 -0
- package/lib/components/resource-reorder/resource-reorder.component.d.ts +45 -0
- package/lib/components/resource-reorder/resource-reorder.component.d.ts.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.component.d.ts +13 -0
- package/lib/components/skeleton-loader/skeleton-loader.component.d.ts.map +1 -0
- package/lib/components/template/template.component.d.ts +21 -0
- package/lib/components/template/template.component.d.ts.map +1 -0
- package/lib/components/term-and-condition/term-and-condition.component.d.ts +26 -0
- package/lib/components/term-and-condition/term-and-condition.component.d.ts.map +1 -0
- package/lib/directives/telemetry-interact/telemetry-interact.directive.d.ts +27 -0
- package/lib/directives/telemetry-interact/telemetry-interact.directive.d.ts.map +1 -0
- package/lib/interfaces/McqForm.d.ts +32 -0
- package/lib/interfaces/McqForm.d.ts.map +1 -0
- package/lib/interfaces/editor.d.ts +78 -0
- package/lib/interfaces/editor.d.ts.map +1 -0
- package/lib/interfaces/framework.d.ts +46 -0
- package/lib/interfaces/framework.d.ts.map +1 -0
- package/lib/interfaces/httpOptions.d.ts +35 -0
- package/lib/interfaces/httpOptions.d.ts.map +1 -0
- package/lib/interfaces/requestParam.d.ts +24 -0
- package/lib/interfaces/requestParam.d.ts.map +1 -0
- package/lib/interfaces/serverResponse.d.ts +38 -0
- package/lib/interfaces/serverResponse.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +11 -0
- package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -0
- package/lib/services/config/config.service.d.ts +13 -0
- package/lib/services/config/config.service.d.ts.map +1 -0
- package/lib/services/data/data.service.d.ts +85 -0
- package/lib/services/data/data.service.d.ts.map +1 -0
- package/lib/services/dialcode/dialcode.service.d.ts +36 -0
- package/lib/services/dialcode/dialcode.service.d.ts.map +1 -0
- package/lib/services/editor/editor.service.d.ts +150 -0
- package/lib/services/editor/editor.service.d.ts.map +1 -0
- package/lib/services/framework/framework.service.d.ts +35 -0
- package/lib/services/framework/framework.service.d.ts.map +1 -0
- package/lib/services/helper/helper.service.d.ts +41 -0
- package/lib/services/helper/helper.service.d.ts.map +1 -0
- package/lib/services/player/player.service.d.ts +33 -0
- package/lib/services/player/player.service.d.ts.map +1 -0
- package/lib/services/public-data/public-data.service.d.ts +15 -0
- package/lib/services/public-data/public-data.service.d.ts.map +1 -0
- package/lib/services/question/question.service.d.ts +30 -0
- package/lib/services/question/question.service.d.ts.map +1 -0
- package/lib/services/telemetry/telemetry.service.d.ts +45 -0
- package/lib/services/telemetry/telemetry.service.d.ts.map +1 -0
- package/lib/services/toaster/toaster.service.d.ts +50 -0
- package/lib/services/toaster/toaster.service.d.ts.map +1 -0
- package/lib/services/tree/tree.service.d.ts +51 -0
- package/lib/services/tree/tree.service.d.ts.map +1 -0
- package/package.json +32 -0
- package/project-sunbird-sunbird-collection-editor.d.ts.map +1 -0
- package/public-api.d.ts +4 -0
- package/public-api.d.ts.map +1 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { QuestionService } from '../../services/question/question.service';
|
|
3
|
+
import { PlayerService } from '../../services/player/player.service';
|
|
4
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
5
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
6
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
7
|
+
import { Router } from '@angular/router';
|
|
8
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
9
|
+
import { FrameworkService } from '../../services/framework/framework.service';
|
|
10
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
11
|
+
import { EditorCursor } from '../../collection-editor-cursor.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export interface SubMenu {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
value: any;
|
|
17
|
+
label: string;
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
type: string;
|
|
20
|
+
show: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface ICreationContext {
|
|
23
|
+
objectType?: string;
|
|
24
|
+
collectionObjectType?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class QuestionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
27
|
+
private questionService;
|
|
28
|
+
editorService: EditorService;
|
|
29
|
+
telemetryService: EditorTelemetryService;
|
|
30
|
+
playerService: PlayerService;
|
|
31
|
+
private toasterService;
|
|
32
|
+
private treeService;
|
|
33
|
+
private frameworkService;
|
|
34
|
+
private router;
|
|
35
|
+
configService: ConfigService;
|
|
36
|
+
private editorCursor;
|
|
37
|
+
QumlPlayerConfig: any;
|
|
38
|
+
questionInput: any;
|
|
39
|
+
leafFormConfig: any;
|
|
40
|
+
initialLeafFormConfig: any;
|
|
41
|
+
childFormData: any;
|
|
42
|
+
questionEmitter: EventEmitter<any>;
|
|
43
|
+
private onComponentDestroy$;
|
|
44
|
+
toolbarConfig: any;
|
|
45
|
+
editorState: any;
|
|
46
|
+
showPreview: boolean;
|
|
47
|
+
mediaArr: any;
|
|
48
|
+
videoShow: boolean;
|
|
49
|
+
showFormError: boolean;
|
|
50
|
+
selectedSolutionType: string;
|
|
51
|
+
selectedSolutionTypeIndex: string;
|
|
52
|
+
showSolutionDropDown: boolean;
|
|
53
|
+
showSolution: boolean;
|
|
54
|
+
videoSolutionName: string;
|
|
55
|
+
videoSolutionData: any;
|
|
56
|
+
videoThumbnail: string;
|
|
57
|
+
solutionUUID: string;
|
|
58
|
+
solutionValue: string;
|
|
59
|
+
solutionTypes: any;
|
|
60
|
+
questionMetaData: any;
|
|
61
|
+
questionInteractionType: any;
|
|
62
|
+
questionId: any;
|
|
63
|
+
tempQuestionId: any;
|
|
64
|
+
questionSetId: any;
|
|
65
|
+
setCharacterLimit: number;
|
|
66
|
+
showLoader: boolean;
|
|
67
|
+
questionSetHierarchy: any;
|
|
68
|
+
showConfirmPopup: boolean;
|
|
69
|
+
validQuestionData: boolean;
|
|
70
|
+
questionPrimaryCategory: string;
|
|
71
|
+
pageId: string;
|
|
72
|
+
pageStartTime: any;
|
|
73
|
+
framework: any;
|
|
74
|
+
frameworkDetails: any;
|
|
75
|
+
questionMetadataFormStatus: boolean;
|
|
76
|
+
buttonLoaders: {
|
|
77
|
+
saveButtonLoader: boolean;
|
|
78
|
+
review: boolean;
|
|
79
|
+
};
|
|
80
|
+
showTranslation: boolean;
|
|
81
|
+
subMenus: SubMenu[];
|
|
82
|
+
showAddSecondaryQuestionCat: boolean;
|
|
83
|
+
sliderDatas: any;
|
|
84
|
+
sliderOptions: any;
|
|
85
|
+
hints: any;
|
|
86
|
+
categoryLabel: any;
|
|
87
|
+
scoreMapping: any;
|
|
88
|
+
condition: string;
|
|
89
|
+
targetOption: any;
|
|
90
|
+
responseVariable: string;
|
|
91
|
+
newQuestionID: any;
|
|
92
|
+
showOptions: boolean;
|
|
93
|
+
selectedOptions: any;
|
|
94
|
+
options: any[];
|
|
95
|
+
isChildQuestion: boolean;
|
|
96
|
+
branchingLogic: any;
|
|
97
|
+
selectedSectionId: any;
|
|
98
|
+
sectionPrimaryCategory: any;
|
|
99
|
+
maxScore: number;
|
|
100
|
+
questionFormConfig: any;
|
|
101
|
+
treeNodeData: any;
|
|
102
|
+
showQualityParameterPopup: boolean;
|
|
103
|
+
qualityFormConfig: any;
|
|
104
|
+
requestChangesPopupAction: string;
|
|
105
|
+
isReadOnlyMode: boolean;
|
|
106
|
+
showSubmitConfirmPopup: boolean;
|
|
107
|
+
showReviewModal: boolean;
|
|
108
|
+
contentComment: string;
|
|
109
|
+
creationMode: string;
|
|
110
|
+
actionType: string;
|
|
111
|
+
creationContext: ICreationContext;
|
|
112
|
+
sourcingSettings: any;
|
|
113
|
+
questionCategory: string;
|
|
114
|
+
constructor(questionService: QuestionService, editorService: EditorService, telemetryService: EditorTelemetryService, playerService: PlayerService, toasterService: ToasterService, treeService: TreeService, frameworkService: FrameworkService, router: Router, configService: ConfigService, editorCursor: EditorCursor);
|
|
115
|
+
ngOnInit(): void;
|
|
116
|
+
fetchFrameWorkDetails(): void;
|
|
117
|
+
populateFrameworkData(): void;
|
|
118
|
+
ngAfterViewInit(): void;
|
|
119
|
+
initialize(): void;
|
|
120
|
+
get contentPolicyUrl(): any;
|
|
121
|
+
toolbarEventListener(event: any): void;
|
|
122
|
+
handleRedirectToQuestionset(): void;
|
|
123
|
+
submitHandler(): void;
|
|
124
|
+
saveContent(): void;
|
|
125
|
+
onConsentSubmit(event: any): void;
|
|
126
|
+
sendForReview(): void;
|
|
127
|
+
requestForChanges(comment: any): void;
|
|
128
|
+
sendQuestionForPublish(event: any): void;
|
|
129
|
+
rejectQuestion(comment: any): boolean;
|
|
130
|
+
publishQuestion(event: any): boolean;
|
|
131
|
+
sourcingUpdate(event: any): boolean;
|
|
132
|
+
sendBackQuestion(event: any): void;
|
|
133
|
+
validateQuestionData(): void;
|
|
134
|
+
redirectToQuestionset(): void;
|
|
135
|
+
addResourceToQuestionset(publishCallback?: any): void;
|
|
136
|
+
redirectToChapterList(): void;
|
|
137
|
+
setQuestionId(questionId: string): void;
|
|
138
|
+
editorDataHandler(event: any, type?: any): void;
|
|
139
|
+
setMedia(media: any): void;
|
|
140
|
+
saveQuestion(): void;
|
|
141
|
+
videoDataOutput(event: any): void;
|
|
142
|
+
selectSolutionType(data: any): void;
|
|
143
|
+
deleteSolution(): void;
|
|
144
|
+
getSolutionObj(solutionUUID: any, selectedSolutionType: any, editorStateSolutions: any): any;
|
|
145
|
+
getQuestionMetadata(): any;
|
|
146
|
+
getResponseDeclaration(type: any): {
|
|
147
|
+
response1: {
|
|
148
|
+
type: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
getMcqQuestionHtmlBody(question: any, templateId: any): string;
|
|
152
|
+
getDefaultSessionContext(): any;
|
|
153
|
+
setQuestionTypeValues(metaData: any): void;
|
|
154
|
+
prepareRequestBody(): {
|
|
155
|
+
nodesModified: {
|
|
156
|
+
[x: number]: {
|
|
157
|
+
metadata: any;
|
|
158
|
+
objectType: string;
|
|
159
|
+
root: boolean;
|
|
160
|
+
isNew: boolean;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
hierarchy: any;
|
|
164
|
+
};
|
|
165
|
+
prepareQuestionBody(): {
|
|
166
|
+
question: any;
|
|
167
|
+
};
|
|
168
|
+
prepareSourcingUpdateBody(questionIds: any, comments?: any): {
|
|
169
|
+
request: {
|
|
170
|
+
[x: number]: {
|
|
171
|
+
[x: string]: any;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
upsertQuestion(callback: any): void;
|
|
176
|
+
createQuestion(): void;
|
|
177
|
+
updateQuestion(): void;
|
|
178
|
+
saveQuestions(requestBody: any, type: any): void;
|
|
179
|
+
showHideSpinnerLoader(status: boolean): void;
|
|
180
|
+
previewContent(): void;
|
|
181
|
+
setParentConfig(parentConfig: any): void;
|
|
182
|
+
setQumlPlayerData(questionId: string): void;
|
|
183
|
+
getPlayerEvents(event: any): void;
|
|
184
|
+
getTelemetryEvents(event: any): void;
|
|
185
|
+
setQuestionTitle(questionId?: any): void;
|
|
186
|
+
output(event: any): void;
|
|
187
|
+
onStatusChanges(event: any): void;
|
|
188
|
+
valueChanges(event: any): void;
|
|
189
|
+
validateFormFields(): boolean;
|
|
190
|
+
previewFormData(status: any): void;
|
|
191
|
+
populateFormData(): void;
|
|
192
|
+
subMenuChange({ index, value }: {
|
|
193
|
+
index: any;
|
|
194
|
+
value: any;
|
|
195
|
+
}): void;
|
|
196
|
+
get dependentQuestions(): any;
|
|
197
|
+
subMenuConfig(): void;
|
|
198
|
+
ngOnDestroy(): void;
|
|
199
|
+
sliderData($event: any): void;
|
|
200
|
+
optionHandler(e: any): void;
|
|
201
|
+
buildCondition(type: any): void;
|
|
202
|
+
updateTarget(questionId: any): any[];
|
|
203
|
+
getOptions(): void;
|
|
204
|
+
getParentQuestionOptions(questionId: any): void;
|
|
205
|
+
updateTreeCache(sectionName: any, branchingLogic: any, selectedSection: any): void;
|
|
206
|
+
setCondition(data: any): void;
|
|
207
|
+
getBranchingLogic(children: any): void;
|
|
208
|
+
onQualityFormSubmit(event: any): void;
|
|
209
|
+
saveQualityParameters(qualityParameters: any, callback: any): void;
|
|
210
|
+
openRequestChangesPopup(): void;
|
|
211
|
+
calculateMinMaxScore(metaData: any): void;
|
|
212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionComponent, never>;
|
|
213
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionComponent, "lib-question", never, { "questionInput": { "alias": "questionInput"; "required": false; }; "leafFormConfig": { "alias": "leafFormConfig"; "required": false; }; }, { "questionEmitter": "questionEmitter"; }, never, never, false, never>;
|
|
214
|
+
}
|
|
215
|
+
//# sourceMappingURL=question.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/question/question.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,aAAa,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AAK5H,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;;AAGtE,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAKD,qBAMa,iBAAkB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IAsFtE,OAAO,CAAC,eAAe;IAA0B,aAAa,EAAE,aAAa;IAAS,gBAAgB,EAAE,sBAAsB;IACvH,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,cA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B,iBAAiB,CAAC,UAAU,EAAE,MAAM;IAkBpC,eAAe,CAAC,KAAK,KAAA;IAIrB,kBAAkB,CAAC,KAAK,KAAA;IAIxB,gBAAgB,CAAC,UAAU,CAAC,KAAA;IAmB5B,MAAM,CAAC,KAAK,KAAA;IAEZ,eAAe,CAAC,KAAK,KAAA;IAOrB,YAAY,CAAC,KAAK,KAAA;IAQlB,kBAAkB;IAUlB,eAAe,CAAC,MAAM,KAAA;IAWtB,gBAAgB;IAkDhB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE;;;KAAA;IAY9B,IAAI,kBAAkB,QAMrB;IACD,aAAa;IAoCb,WAAW;IAMX,UAAU,CAAC,MAAM,KAAA;IAuBjB,aAAa,CAAC,CAAC,KAAA;IAKf,cAAc,CAAC,IAAI,KAAA;IAuDnB,YAAY,CAAC,UAAU,KAAA;IAUvB,UAAU;IASV,wBAAwB,CAAC,UAAU,KAAA;IAenC,eAAe,CAAC,WAAW,KAAA,EAAE,cAAc,KAAA,EAAE,eAAe,KAAA;IAU5D,YAAY,CAAC,IAAI,KAAA;IAOjB,iBAAiB,CAAC,QAAQ,KAAA;IAgB1B,mBAAmB,CAAC,KAAK,KAAA;IAczB,qBAAqB,CAAC,iBAAiB,KAAA,EAAE,QAAQ,KAAA;IAcjD,uBAAuB;IAIvB,oBAAoB,CAAC,QAAQ,KAAA;yCAr3ClB,iBAAiB;2CAAjB,iBAAiB;CAm4C7B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
3
|
+
import { PlayerService } from '../../services/player/player.service';
|
|
4
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class QumlPlayerComponent implements OnInit {
|
|
7
|
+
private configService;
|
|
8
|
+
private playerService;
|
|
9
|
+
editorService: EditorService;
|
|
10
|
+
qumlPlayerConfig: any;
|
|
11
|
+
questionSetHierarchy: any;
|
|
12
|
+
isSingleQuestionPreview: boolean;
|
|
13
|
+
showPreview: boolean;
|
|
14
|
+
showViewButton: boolean;
|
|
15
|
+
toolbarEmitter: EventEmitter<any>;
|
|
16
|
+
constructor(configService: ConfigService, playerService: PlayerService, editorService: EditorService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
initialize(): void;
|
|
19
|
+
setQumlPlayerData(): void;
|
|
20
|
+
getPlayerEvents(event: any): void;
|
|
21
|
+
getTelemetryEvents(event: any): void;
|
|
22
|
+
reviewQuestion(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QumlPlayerComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QumlPlayerComponent, "lib-quml-player", never, { "questionSetHierarchy": { "alias": "questionSetHierarchy"; "required": false; }; "isSingleQuestionPreview": { "alias": "isSingleQuestionPreview"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=quml-player.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quml-player.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/quml-player/quml-player.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAA6B,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AACrE,qBAMa,mBAAoB,YAAW,MAAM;IAOpC,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,aAAa;IAC9D,aAAa,EAAE,aAAa;IAPrC,gBAAgB,EAAE,GAAG,CAAC;IACb,oBAAoB,EAAE,GAAG,CAAC;IAC1B,uBAAuB,UAAS;IACzC,WAAW,UAAS;IACpB,cAAc,UAAS;IACN,cAAc,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;gBACpD,aAAa,EAAE,aAAa,EAAU,aAAa,EAAE,aAAa,EAC7E,aAAa,EAAE,aAAa;IAErC,QAAQ;IAOR,UAAU;IAKV,iBAAiB;IAuBjB,eAAe,CAAC,KAAK,KAAA;IAIrB,kBAAkB,CAAC,KAAK,KAAA;IAIxB,cAAc;yCArDH,mBAAmB;2CAAnB,mBAAmB;CAyD/B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
3
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
4
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
5
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class QumlplayerPageComponent implements OnChanges {
|
|
8
|
+
telemetryService: EditorTelemetryService;
|
|
9
|
+
configService: ConfigService;
|
|
10
|
+
editorService: EditorService;
|
|
11
|
+
private treeService;
|
|
12
|
+
qumlPlayerConfig: any;
|
|
13
|
+
questionMetaData: any;
|
|
14
|
+
questionSetHierarchy: any;
|
|
15
|
+
toolbarEmitter: EventEmitter<any>;
|
|
16
|
+
prevQuestionId: string;
|
|
17
|
+
showPlayerPreview: boolean;
|
|
18
|
+
showPotrait: boolean;
|
|
19
|
+
hierarchy: any;
|
|
20
|
+
constructor(telemetryService: EditorTelemetryService, configService: ConfigService, editorService: EditorService, treeService: TreeService);
|
|
21
|
+
ngOnChanges(): void;
|
|
22
|
+
initQumlPlayer(): void;
|
|
23
|
+
switchToPotraitMode(): void;
|
|
24
|
+
switchToLandscapeMode(): void;
|
|
25
|
+
removeQuestion(): void;
|
|
26
|
+
editQuestion(): void;
|
|
27
|
+
reviewQuestion(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QumlplayerPageComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QumlplayerPageComponent, "lib-qumlplayer-page", never, { "questionMetaData": { "alias": "questionMetaData"; "required": false; }; "questionSetHierarchy": { "alias": "questionSetHierarchy"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; }, never, never, false, never>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=qumlplayer-page.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qumlplayer-page.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/qumlplayer-page/qumlplayer-page.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAoC,MAAM,eAAe,CAAC;AAE5G,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;;AAC/D,qBAMa,uBAAwB,YAAW,SAAS;IAUpC,gBAAgB,EAAE,sBAAsB;IAAS,aAAa,EAAE,aAAa;IAAS,aAAa,EAAE,aAAa;IACzH,OAAO,CAAC,WAAW;IAV/B,gBAAgB,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,GAAG,CAAC;IACtB,oBAAoB,EAAE,GAAG,CAAC;IAClB,cAAc,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IACxE,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,UAAS;IAC1B,WAAW,UAAS;IACpB,SAAS,EAAE,GAAG,CAAC;gBAEI,gBAAgB,EAAE,sBAAsB,EAAS,aAAa,EAAE,aAAa,EAAS,aAAa,EAAE,aAAa,EACjH,WAAW,EAAE,WAAW;IAE5C,WAAW;IAIX,cAAc;IA+Bd,mBAAmB;IAGnB,qBAAqB;IAIrB,cAAc;IAId,YAAY;IAIZ,cAAc;yCA/DH,uBAAuB;2CAAvB,uBAAuB;CAmEnC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ToasterService } from '../../services/toaster/toaster.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ResourceReorderComponent implements OnInit {
|
|
8
|
+
private editorService;
|
|
9
|
+
configService: ConfigService;
|
|
10
|
+
telemetryService: EditorTelemetryService;
|
|
11
|
+
private toasterService;
|
|
12
|
+
unitSelected: string;
|
|
13
|
+
selectedContentDetails: any;
|
|
14
|
+
collectionId: any;
|
|
15
|
+
collectionUnits: any;
|
|
16
|
+
programContext: any;
|
|
17
|
+
prevUnitSelect: any;
|
|
18
|
+
collectionhierarcyData: any;
|
|
19
|
+
showMoveButton: boolean;
|
|
20
|
+
isContentAdded: boolean;
|
|
21
|
+
modal: any;
|
|
22
|
+
moveEvent: EventEmitter<any>;
|
|
23
|
+
collectionUnitsBreadcrumb: any;
|
|
24
|
+
constructor(editorService: EditorService, configService: ConfigService, telemetryService: EditorTelemetryService, toasterService: ToasterService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
addResource(): void;
|
|
27
|
+
closePopup(): void;
|
|
28
|
+
getParentsHelper(tree: any, id: string, parents: Array<any>): {
|
|
29
|
+
found: boolean;
|
|
30
|
+
} | {
|
|
31
|
+
found: boolean;
|
|
32
|
+
parents: any[];
|
|
33
|
+
};
|
|
34
|
+
getParents(data: Array<any>, id: string): {
|
|
35
|
+
found: boolean;
|
|
36
|
+
} | {
|
|
37
|
+
found: boolean;
|
|
38
|
+
parents: any[];
|
|
39
|
+
};
|
|
40
|
+
setCollectionUnitBreadcrumb(): void;
|
|
41
|
+
isContentAlreadyPresentInSelectedScetionLevel(children: any): boolean;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceReorderComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceReorderComponent, "lib-resource-reorder", never, { "selectedContentDetails": { "alias": "selectedContentDetails"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; "collectionUnits": { "alias": "collectionUnits"; "required": false; }; "programContext": { "alias": "programContext"; "required": false; }; "prevUnitSelect": { "alias": "prevUnitSelect"; "required": false; }; "collectionhierarcyData": { "alias": "collectionhierarcyData"; "required": false; }; }, { "moveEvent": "moveEvent"; }, never, never, false, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=resource-reorder.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-reorder.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/resource-reorder/resource-reorder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAgC,MAAM,eAAe,CAAC;AAE7G,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;;AAGxE,qBAMa,wBAAyB,YAAW,MAAM;IAazC,OAAO,CAAC,aAAa;IAAwB,aAAa,EAAE,aAAa;IAClE,gBAAgB,EAAE,sBAAsB;IAAE,OAAO,CAAC,cAAc;IAbnF,YAAY,EAAE,MAAM,CAAC;IACZ,sBAAsB,MAAC;IACvB,YAAY,MAAC;IACb,eAAe,MAAC;IAChB,cAAc,MAAC;IACf,cAAc,MAAC;IACf,sBAAsB,MAAC;IAChC,cAAc,UAAS;IACvB,cAAc,UAAS;IACa,KAAK,MAAC;IAChC,SAAS,oBAA2B;IAC9C,yBAAyB,EAAE,GAAG,CAAM;gBAChB,aAAa,EAAE,aAAa,EAAS,aAAa,EAAE,aAAa,EAClE,gBAAgB,EAAE,sBAAsB,EAAU,cAAc,EAAE,cAAc;IAGnG,QAAQ;IAIR,WAAW;IAcX,UAAU;IAUV,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC;;;;;;IA2B3D,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,MAAM;;;;;;IAOvC,2BAA2B,IAAI,IAAI;IAcnC,6CAA6C,CAAC,QAAQ,KAAA;yCA7F3C,wBAAwB;2CAAxB,wBAAwB;CAqHpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SkeletonLoaderComponent implements OnInit {
|
|
4
|
+
height: string;
|
|
5
|
+
width: string;
|
|
6
|
+
mTop: string;
|
|
7
|
+
skeletonStyles: object;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "lib-skeleton-loader", never, { "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "mTop": { "alias": "mTop"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=skeleton-loader.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton-loader.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/skeleton-loader/skeleton-loader.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;;AAEzD,qBAKa,uBAAwB,YAAW,MAAM;IAE3C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;;IAGvB,QAAQ;yCARG,uBAAuB;2CAAvB,uBAAuB;CAgBnC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, 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 TemplateComponent implements OnInit, OnDestroy {
|
|
6
|
+
telemetryService: EditorTelemetryService;
|
|
7
|
+
configService: ConfigService;
|
|
8
|
+
templateList: any;
|
|
9
|
+
private modal;
|
|
10
|
+
templateSelection: EventEmitter<any>;
|
|
11
|
+
showButton: boolean;
|
|
12
|
+
templateSelected: any;
|
|
13
|
+
constructor(telemetryService: EditorTelemetryService, configService: ConfigService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
next(): void;
|
|
16
|
+
onClosePopup(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "lib-template", never, { "templateList": { "alias": "templateList"; "required": false; }; }, { "templateSelection": "templateSelection"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=template.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/template/template.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAa,SAAS,EAAiB,YAAY,EAAE,MAAM,eAAe,CAAC;AAErG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,qBAKa,iBAAkB,YAAW,MAAM,EAAE,SAAS;IAQtC,gBAAgB,EAAE,sBAAsB;IAAU,aAAa,EAAE,aAAa;IANxF,YAAY,EAAE,GAAG,CAAC;IACP,OAAO,CAAC,KAAK,CAAC;IACxB,iBAAiB,oBAA2B;IAC/C,UAAU,UAAS;IACnB,gBAAgB,MAAC;gBAEL,gBAAgB,EAAE,sBAAsB,EAAU,aAAa,EAAE,aAAa;IAEjG,QAAQ;IAER,IAAI;IAIJ,YAAY;IAKZ,WAAW;yCArBA,iBAAiB;2CAAjB,iBAAiB;CA2B7B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } 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 TermAndConditionComponent implements OnInit {
|
|
7
|
+
editorService: EditorService;
|
|
8
|
+
configService: ConfigService;
|
|
9
|
+
telemetryService: EditorTelemetryService;
|
|
10
|
+
showEditingConsent: boolean;
|
|
11
|
+
showSubmitConfirmPopup: any;
|
|
12
|
+
sendForReviewOutput: EventEmitter<any>;
|
|
13
|
+
allConsent: boolean;
|
|
14
|
+
termsConsent: boolean;
|
|
15
|
+
editingConsent: boolean;
|
|
16
|
+
constructor(editorService: EditorService, configService: ConfigService, telemetryService: EditorTelemetryService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
get contentPolicyUrl(): any;
|
|
19
|
+
onConsentChange(event: any, consentType: any): void;
|
|
20
|
+
sendForReview(): void;
|
|
21
|
+
onModalClose(): void;
|
|
22
|
+
resetAll(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TermAndConditionComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TermAndConditionComponent, "lib-term-and-condition", never, { "showEditingConsent": { "alias": "showEditingConsent"; "required": false; }; "showSubmitConfirmPopup": { "alias": "showSubmitConfirmPopup"; "required": false; }; }, { "sendForReviewOutput": "sendForReviewOutput"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=term-and-condition.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"term-and-condition.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/term-and-condition/term-and-condition.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;;AAEnE,qBAKa,yBAA0B,YAAW,MAAM;IAQjC,aAAa,EAAE,aAAa;IAAS,aAAa,EAAE,aAAa;IACjE,gBAAgB,EAAE,sBAAsB;IARlD,kBAAkB,UAAQ;IAC1B,sBAAsB,MAAC;IACtB,mBAAmB,oBAAsB;IACnD,UAAU,UAAS;IACnB,YAAY,UAAS;IACrB,cAAc,UAAS;gBAEJ,aAAa,EAAE,aAAa,EAAS,aAAa,EAAE,aAAa,EACjE,gBAAgB,EAAE,sBAAsB;IAG3D,QAAQ;IAGR,IAAI,gBAAgB,QAEnB;IAED,eAAe,CAAC,KAAK,KAAA,EAAE,WAAW,KAAA;IAalC,aAAa;IAQb,YAAY;IAKZ,QAAQ;yCA7CC,yBAAyB;2CAAzB,yBAAyB;CAmDrC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface IInteractEventInput {
|
|
4
|
+
'edata': IInteractEventEdata;
|
|
5
|
+
}
|
|
6
|
+
export interface IInteractEventEdata {
|
|
7
|
+
'id': string;
|
|
8
|
+
'type': string;
|
|
9
|
+
'subtype'?: string;
|
|
10
|
+
'pageid'?: string;
|
|
11
|
+
'extra'?: {};
|
|
12
|
+
'target'?: string;
|
|
13
|
+
'plugin'?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* TelemetryInteract Directive
|
|
17
|
+
*/
|
|
18
|
+
export declare class TelemetryInteractDirective {
|
|
19
|
+
appTelemetryInteractData: IInteractEventInput;
|
|
20
|
+
telemetryService: EditorTelemetryService;
|
|
21
|
+
telemetryInteractEdata: any;
|
|
22
|
+
onClick(e: any): void;
|
|
23
|
+
constructor(telemetryService: EditorTelemetryService);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TelemetryInteractDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TelemetryInteractDirective, "[libTelemetryInteract]", never, { "telemetryInteractEdata": { "alias": "telemetryInteractEdata"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=telemetry-interact.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telemetry-interact.directive.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/directives/telemetry-interact/telemetry-interact.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;;AAEpF,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AACD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAGa,0BAA0B;IAErC,wBAAwB,EAAE,mBAAmB,CAAC;IACvC,gBAAgB,EAAE,sBAAsB,CAAC;IACvC,sBAAsB,EAAE,GAAG,CAAC;IAI9B,OAAO,CAAC,CAAC,KAAA;gBASJ,gBAAgB,EAAE,sBAAsB;yCAjBzC,0BAA0B;2CAA1B,0BAA0B;CAoBtC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare class McqOptions {
|
|
2
|
+
body: string;
|
|
3
|
+
constructor(body: string);
|
|
4
|
+
}
|
|
5
|
+
export interface McqData {
|
|
6
|
+
question: string;
|
|
7
|
+
options: Array<McqOptions>;
|
|
8
|
+
answer?: string;
|
|
9
|
+
learningOutcome?: string;
|
|
10
|
+
bloomsLevel?: string;
|
|
11
|
+
maxScore?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface McqConfig {
|
|
14
|
+
templateId?: string;
|
|
15
|
+
numberOfOptions?: number;
|
|
16
|
+
maximumOptions?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class McqForm {
|
|
19
|
+
question: string;
|
|
20
|
+
options: Array<McqOptions>;
|
|
21
|
+
templateId: string;
|
|
22
|
+
answer: string;
|
|
23
|
+
learningOutcome: any;
|
|
24
|
+
bloomsLevel: any;
|
|
25
|
+
maxScore: any;
|
|
26
|
+
numberOfOptions: any;
|
|
27
|
+
maximumOptions: any;
|
|
28
|
+
constructor({ question, options, answer, learningOutcome, bloomsLevel, maxScore }: McqData, { templateId, numberOfOptions, maximumOptions }: McqConfig);
|
|
29
|
+
addOptions(): void;
|
|
30
|
+
deleteOption(position: any): void;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=McqForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"McqForm.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/McqForm.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IACF,IAAI,EAAE,MAAM;gBAAZ,IAAI,EAAE,MAAM;CAEhC;AACD,MAAM,WAAW,OAAO;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAC,MAAM,CAAC;CACxB;AAED,qBAAa,OAAO;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,MAAC;IAChB,WAAW,MAAC;IACZ,QAAQ,MAAC;IACT,eAAe,MAAC;IAChB,cAAc,MAAC;gBACV,EAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAC,EAAE,OAAO,EAAE,EAAC,UAAU,EAAE,eAAe,EAAE,cAAc,EAAC,EAAE,SAAS;IAclJ,UAAU;IAGV,YAAY,CAAC,QAAQ,KAAA;CAItB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export interface ContextBase {
|
|
2
|
+
programId?: string;
|
|
3
|
+
contributionOrgId?: string;
|
|
4
|
+
user: User;
|
|
5
|
+
identifier: string;
|
|
6
|
+
mode: string;
|
|
7
|
+
authToken?: string;
|
|
8
|
+
sid: string;
|
|
9
|
+
did: string;
|
|
10
|
+
uid: string;
|
|
11
|
+
channel: string;
|
|
12
|
+
pdata: Pdata;
|
|
13
|
+
contextRollup: ContextRollup;
|
|
14
|
+
tags: string[];
|
|
15
|
+
cdata?: Cdata[];
|
|
16
|
+
timeDiff?: number;
|
|
17
|
+
objectRollup?: ObjectRollup;
|
|
18
|
+
host?: string;
|
|
19
|
+
endpoint?: string;
|
|
20
|
+
userData?: {
|
|
21
|
+
firstName: string;
|
|
22
|
+
lastName: string;
|
|
23
|
+
};
|
|
24
|
+
env: string;
|
|
25
|
+
defaultLicense?: any;
|
|
26
|
+
topic?: any;
|
|
27
|
+
framework: string;
|
|
28
|
+
cloudStorageUrls: string[];
|
|
29
|
+
additionalCategories: any[];
|
|
30
|
+
labels?: any;
|
|
31
|
+
actor?: any;
|
|
32
|
+
channelData?: any;
|
|
33
|
+
correctionComments?: any;
|
|
34
|
+
sourcingResourceStatus?: string;
|
|
35
|
+
sourcingResourceStatusClass?: string;
|
|
36
|
+
collectionIdentifier?: string;
|
|
37
|
+
unitIdentifier?: string;
|
|
38
|
+
collectionObjectType?: string;
|
|
39
|
+
collectionPrimaryCategory?: string;
|
|
40
|
+
targetFWIds?: string[];
|
|
41
|
+
cloudStorage?: any;
|
|
42
|
+
}
|
|
43
|
+
export interface Context extends ContextBase {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}
|
|
46
|
+
export interface User {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
orgIds: string[];
|
|
50
|
+
}
|
|
51
|
+
export interface Pdata {
|
|
52
|
+
id: string;
|
|
53
|
+
pid: string;
|
|
54
|
+
ver: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ContextRollup {
|
|
57
|
+
l1?: string;
|
|
58
|
+
l2?: string;
|
|
59
|
+
l3?: string;
|
|
60
|
+
l4?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface Cdata {
|
|
63
|
+
type: string;
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ObjectRollup {
|
|
67
|
+
l1?: string;
|
|
68
|
+
l2?: string;
|
|
69
|
+
l3?: string;
|
|
70
|
+
l4?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface IEditorConfig {
|
|
73
|
+
context: Context;
|
|
74
|
+
config: any;
|
|
75
|
+
metadata?: any;
|
|
76
|
+
data?: any;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/editor.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,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MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;CACd"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ServerResponse } from './serverResponse';
|
|
2
|
+
export interface Framework {
|
|
3
|
+
err: ServerResponse;
|
|
4
|
+
frameworkdata: FrameworkData;
|
|
5
|
+
}
|
|
6
|
+
export interface FrameworkData {
|
|
7
|
+
[keys: string]: FrameworkCategories | any;
|
|
8
|
+
}
|
|
9
|
+
export interface FrameworkCategories {
|
|
10
|
+
code: string;
|
|
11
|
+
description: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
name: string;
|
|
14
|
+
objectType: string;
|
|
15
|
+
type: string;
|
|
16
|
+
Categories: Array<CategoriesData>;
|
|
17
|
+
}
|
|
18
|
+
export interface CategoriesData {
|
|
19
|
+
code: string;
|
|
20
|
+
description: string;
|
|
21
|
+
identifier: string;
|
|
22
|
+
index: number;
|
|
23
|
+
name: string;
|
|
24
|
+
status: string;
|
|
25
|
+
terms: Array<TermsData>;
|
|
26
|
+
}
|
|
27
|
+
export interface TermsData {
|
|
28
|
+
associations: Array<AssociationsData>;
|
|
29
|
+
category: string;
|
|
30
|
+
code: string;
|
|
31
|
+
description: string;
|
|
32
|
+
identifier: string;
|
|
33
|
+
index: string;
|
|
34
|
+
name: string;
|
|
35
|
+
status: string;
|
|
36
|
+
}
|
|
37
|
+
export interface AssociationsData {
|
|
38
|
+
category: string;
|
|
39
|
+
code: string;
|
|
40
|
+
description: string;
|
|
41
|
+
identifier: string;
|
|
42
|
+
index: string;
|
|
43
|
+
name: string;
|
|
44
|
+
status: string;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=framework.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/framework.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,MAAM,WAAW,SAAS;IACtB,GAAG,EAAE,cAAc,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;CAChC;AACD,MAAM,WAAW,aAAa;IAC1B,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,GAAG,GAAG,CAAC;CAC7C;AACD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACrC;AACD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC3B;AACD,MAAM,WAAW,SAAS;IACtB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACj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