@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,35 @@
|
|
|
1
|
+
import { HttpParams, HttpHeaders } from '@angular/common/http';
|
|
2
|
+
/**
|
|
3
|
+
* http method options
|
|
4
|
+
*/
|
|
5
|
+
export interface HttpOptions {
|
|
6
|
+
/**
|
|
7
|
+
* http header
|
|
8
|
+
*/
|
|
9
|
+
headers?: HttpHeaders | {
|
|
10
|
+
[header: string]: string | any;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* http params
|
|
14
|
+
*/
|
|
15
|
+
params?: HttpParams | {
|
|
16
|
+
[param: string]: string | string[];
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* report Progress
|
|
20
|
+
*/
|
|
21
|
+
reportProgress?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* response Type
|
|
24
|
+
*/
|
|
25
|
+
responseType?: 'json';
|
|
26
|
+
/**
|
|
27
|
+
* body for delete
|
|
28
|
+
*/
|
|
29
|
+
body?: any;
|
|
30
|
+
/**
|
|
31
|
+
* if value is response , headers will be returned in api response
|
|
32
|
+
*/
|
|
33
|
+
observe?: any;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=httpOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpOptions.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/httpOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC/D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC5B;;OAEG;IACD,OAAO,CAAC,EAAE,WAAW,GAAG;QAAC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAC3D;;OAEG;IACD,MAAM,CAAC,EAAE,UAAU,GAAG;QAClB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;KACtC,CAAC;IACJ;;OAEG;IACD,cAAc,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACD,IAAI,CAAC,EAAE,GAAG,CAAC;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,GAAG,CAAC;CAEf"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameters for api calls
|
|
3
|
+
*/
|
|
4
|
+
export interface RequestParam {
|
|
5
|
+
/**
|
|
6
|
+
* http data
|
|
7
|
+
*/
|
|
8
|
+
url: string;
|
|
9
|
+
/**
|
|
10
|
+
* http params
|
|
11
|
+
*/
|
|
12
|
+
param?: any;
|
|
13
|
+
/**
|
|
14
|
+
* http header
|
|
15
|
+
*/
|
|
16
|
+
header?: {
|
|
17
|
+
[key: string]: string | string[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* http data
|
|
21
|
+
*/
|
|
22
|
+
data?: any;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=requestParam.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestParam.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/requestParam.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACL,GAAG,EAAE,MAAM,CAAC;IACV;;OAEG;IACL,KAAK,CAAC,EAAE,GAAG,CAAC;IACV;;OAEG;IACL,MAAM,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAC,CAAC;IAC1C;;OAEG;IACL,IAAI,CAAC,EAAE,GAAG,CAAC;CACV"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* server response
|
|
3
|
+
*/
|
|
4
|
+
export interface ServerResponse {
|
|
5
|
+
/**
|
|
6
|
+
* api data
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* response param
|
|
11
|
+
*/
|
|
12
|
+
params: Params;
|
|
13
|
+
/**
|
|
14
|
+
* response code
|
|
15
|
+
*/
|
|
16
|
+
responseCode: string;
|
|
17
|
+
/**
|
|
18
|
+
* server result
|
|
19
|
+
*/
|
|
20
|
+
result: any;
|
|
21
|
+
/**
|
|
22
|
+
* time stamp
|
|
23
|
+
*/
|
|
24
|
+
ts: string;
|
|
25
|
+
/**
|
|
26
|
+
* api version
|
|
27
|
+
*/
|
|
28
|
+
ver: string;
|
|
29
|
+
headers?: any;
|
|
30
|
+
}
|
|
31
|
+
export interface Params {
|
|
32
|
+
resmsgid: string;
|
|
33
|
+
msgid?: any;
|
|
34
|
+
err?: any;
|
|
35
|
+
status: string;
|
|
36
|
+
errmsg?: any;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=serverResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverResponse.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/interfaces/serverResponse.ts"],"names":[],"mappings":"AAAE;;GAEG;AACL,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACL,EAAE,EAAE,MAAM,CAAC;IACT;;OAEG;IACL,MAAM,EAAE,MAAM,CAAC;IACb;;OAEG;IACL,YAAY,EAAE,MAAM,CAAC;IACnB;;OAEG;IACL,MAAM,EAAE,GAAG,CAAC;IACV;;OAEG;IACL,EAAE,EAAE,MAAM,CAAC;IACT;;OAEG;IACL,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,GAAG,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SanitizeHtmlPipe implements PipeTransform {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
constructor(sanitizer: DomSanitizer);
|
|
7
|
+
transform(value: string): SafeHtml;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlPipe, "sanitizeHtml", false>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=sanitize-html.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitize-html.pipe.d.ts","sourceRoot":"","sources":["../../../../projects/collection-editor-library/src/lib/pipes/sanitize-html.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;;AAEnE,qBAGa,gBAAiB,YAAW,aAAa;IACtC,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,YAAY;IAE3C,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ;yCAHzB,gBAAgB;uCAAhB,gBAAgB;CAM5B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ConfigService {
|
|
3
|
+
urlConFig: any;
|
|
4
|
+
categoryConfig: any;
|
|
5
|
+
labelConfig: any;
|
|
6
|
+
playerConfig: any;
|
|
7
|
+
editorConfig: any;
|
|
8
|
+
sessionContext: Array<string>;
|
|
9
|
+
constructor();
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=config.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/config/config.service.ts"],"names":[],"mappings":";AAMA,qBAGa,aAAa;IAExB,SAAS,MAAsB;IAC/B,cAAc,MAA2B;IACzC,WAAW,MAAwB;IACnC,YAAY,MAAyB;IACrC,YAAY,MAAyB;IAC9B,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CACkE;;yCAR3F,aAAa;6CAAb,aAAa;CAUzB"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { ServerResponse } from '../../interfaces/serverResponse';
|
|
4
|
+
import { RequestParam } from '../../interfaces/requestParam';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Service to provide base CRUD methods to make api request.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare class DataService {
|
|
11
|
+
/**
|
|
12
|
+
* Contains rootOrg Id
|
|
13
|
+
*/
|
|
14
|
+
rootOrgId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Contains channel Id
|
|
17
|
+
*/
|
|
18
|
+
channelId: string;
|
|
19
|
+
/**
|
|
20
|
+
* Contains appId
|
|
21
|
+
*/
|
|
22
|
+
appId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Contains devoce Id
|
|
25
|
+
*/
|
|
26
|
+
deviceId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Contains base Url for api end points
|
|
29
|
+
*/
|
|
30
|
+
baseUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* angular HttpClient
|
|
33
|
+
*/
|
|
34
|
+
http: HttpClient;
|
|
35
|
+
_document: Document;
|
|
36
|
+
/**
|
|
37
|
+
* Constructor
|
|
38
|
+
* @param HttpClient http HttpClient reference
|
|
39
|
+
*/
|
|
40
|
+
constructor(http: HttpClient);
|
|
41
|
+
/**
|
|
42
|
+
* for making get api calls which needs headers in response
|
|
43
|
+
* headers are fetched to get server time using Date attribute in header
|
|
44
|
+
* @param requestParam interface
|
|
45
|
+
*/
|
|
46
|
+
getWithHeaders(requestParam: RequestParam): Observable<ServerResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* for making get api calls
|
|
49
|
+
*
|
|
50
|
+
* @param requestParam interface
|
|
51
|
+
*/
|
|
52
|
+
get(requestParam: RequestParam): Observable<ServerResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* for making post api calls with headers in response object
|
|
55
|
+
*
|
|
56
|
+
* @param RequestParam requestParam interface
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
postWithHeaders(requestParam: RequestParam): Observable<any>;
|
|
60
|
+
/**
|
|
61
|
+
* for making post api calls
|
|
62
|
+
* @param RequestParam requestParam interface
|
|
63
|
+
*/
|
|
64
|
+
post(requestParam: RequestParam): Observable<ServerResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* for making patch api calls
|
|
67
|
+
*
|
|
68
|
+
* @param RequestParam requestParam interface
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
patch(requestParam: RequestParam): Observable<ServerResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* for making delete api calls
|
|
74
|
+
* @param RequestParam requestParam interface
|
|
75
|
+
*/
|
|
76
|
+
delete(requestParam: RequestParam): Observable<ServerResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* for preparing headers
|
|
79
|
+
*/
|
|
80
|
+
private getHeader;
|
|
81
|
+
private getDateDiff;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
83
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=data.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/data/data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAA0D,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1F,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKlD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAI7D;;;GAGG;AACH,qBAGa,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IACjB;;OAEG;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,SAAU;IACjB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB,SAAS,EAAE,QAAQ,CAAA;IACnB;;;OAGG;gBACS,IAAI,EAAE,UAAU;IAO5B;;;;OAIG;IACH,cAAc,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,cAAc,CAAC;IAkBtE;;;;OAIG;IACH,GAAG,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,cAAc,CAAC;IAgB3D;;;;;OAKG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC;IAkB5D;;;OAGG;IACH,IAAI,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,cAAc,CAAC;IAe5D;;;;;OAKG;IACH,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,cAAc,CAAC;IAe7D;;;OAGG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,cAAc,CAAC;IAe9D;;OAEG;IACH,OAAO,CAAC,SAAS;IAmCjB,OAAO,CAAC,WAAW;yCA3MR,WAAW;6CAAX,WAAW;CAoNvB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { DialcodeCursor } from '@project-sunbird/common-form-elements-full';
|
|
3
|
+
import { ConfigService } from '../config/config.service';
|
|
4
|
+
import { PublicDataService } from '../public-data/public-data.service';
|
|
5
|
+
import { TreeService } from '../../services/tree/tree.service';
|
|
6
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DialcodeService implements DialcodeCursor {
|
|
9
|
+
configService: ConfigService;
|
|
10
|
+
private publicDataService;
|
|
11
|
+
private treeService;
|
|
12
|
+
private toasterService;
|
|
13
|
+
invaliddialCodeMap: {};
|
|
14
|
+
dialCodeMap: {};
|
|
15
|
+
dialcodeList: any[];
|
|
16
|
+
private maxChar;
|
|
17
|
+
constructor(configService: ConfigService, publicDataService: PublicDataService, treeService: TreeService, toasterService: ToasterService);
|
|
18
|
+
reserveDialCode(indetifier: any, requestCount: any): Observable<any>;
|
|
19
|
+
linkDialcode(indetifier: any, dialcodes: any): Observable<any>;
|
|
20
|
+
downloadQRCode(processId: any): Observable<any>;
|
|
21
|
+
searchDialCode(dialcode: any): Observable<any>;
|
|
22
|
+
updateDialCode(dialcode: any): Observable<any>;
|
|
23
|
+
clearDialCode(): void;
|
|
24
|
+
changeDialCode(dialcode: any): void;
|
|
25
|
+
validateDialCode(dialcode: any): Observable<any>;
|
|
26
|
+
checkDuplicateDialCode(activeQRCode: any): boolean;
|
|
27
|
+
validateUnitsDialcodes(): boolean;
|
|
28
|
+
highlightNodeForInvalidDialCode(res: any, nodesModified: any, indetifier: any): void;
|
|
29
|
+
storeDialCodes(nodeId: any, dialCode: any): void;
|
|
30
|
+
dialcodeLink(dialcodeMap: any, indetifier: any): void;
|
|
31
|
+
clearDialCodeMaps(): void;
|
|
32
|
+
readExistingQrCode(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialcodeService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialcodeService>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=dialcode.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialcode.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/dialcode/dialcode.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;;AAGxE,qBAGa,eAAgB,YAAW,cAAc;IAMjC,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,iBAAiB;IAC9D,OAAO,CAAC,WAAW;IAAe,OAAO,CAAC,cAAc;IAL7D,kBAAkB,KAAM;IACxB,WAAW,KAAM;IACjB,YAAY,QAAM;IACzB,OAAO,CAAC,OAAO,CAAK;gBACD,aAAa,EAAE,aAAa,EAAU,iBAAiB,EAAE,iBAAiB,EACzE,WAAW,EAAE,WAAW,EAAU,cAAc,EAAE,cAAc;IAEpF,eAAe,CAAC,UAAU,KAAA,EAAE,YAAY,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAiB1D,YAAY,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAYpD,cAAc,CAAC,SAAS,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAO1C,cAAc,CAAC,QAAQ,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAczC,cAAc,CAAC,QAAQ,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAqBzC,aAAa;IAcb,cAAc,CAAC,QAAQ,KAAA;IAgBvB,gBAAgB,CAAC,QAAQ,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAqC3C,sBAAsB,CAAC,YAAY,KAAA;IAanC,sBAAsB;IA4BtB,+BAA+B,CAAC,GAAG,KAAA,EAAE,aAAa,KAAA,EAAE,UAAU,KAAA;IA4C9D,cAAc,CAAC,MAAM,KAAA,EAAE,QAAQ,KAAA;IAO/B,YAAY,CAAC,WAAW,KAAA,EAAE,UAAU,KAAA;IAqBpC,iBAAiB;IAKjB,kBAAkB;yCAzQP,eAAe;6CAAf,eAAe;CAmR3B"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
3
|
+
import { TreeService } from '../tree/tree.service';
|
|
4
|
+
import { PublicDataService } from '../public-data/public-data.service';
|
|
5
|
+
import { IEditorConfig } from '../../interfaces/editor';
|
|
6
|
+
import { ConfigService } from '../config/config.service';
|
|
7
|
+
import { ToasterService } from '../../services/toaster/toaster.service';
|
|
8
|
+
import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
|
|
9
|
+
import { DataService } from '../data/data.service';
|
|
10
|
+
import { HttpClient } from '@angular/common/http';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
interface SelectedChildren {
|
|
13
|
+
primaryCategory?: string;
|
|
14
|
+
mimeType?: string;
|
|
15
|
+
interactionType?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class EditorService {
|
|
18
|
+
treeService: TreeService;
|
|
19
|
+
private toasterService;
|
|
20
|
+
configService: ConfigService;
|
|
21
|
+
private telemetryService;
|
|
22
|
+
private publicDataService;
|
|
23
|
+
private dataService;
|
|
24
|
+
httpClient: HttpClient;
|
|
25
|
+
data: any;
|
|
26
|
+
private _selectedChildren;
|
|
27
|
+
questionStream$: Subject<any>;
|
|
28
|
+
private _editorConfig;
|
|
29
|
+
private _editorMode;
|
|
30
|
+
private _isReviewerEditEnable;
|
|
31
|
+
private _isReviewModificationAllowed;
|
|
32
|
+
showLibraryPage: EventEmitter<any>;
|
|
33
|
+
showQuestionLibraryPage: EventEmitter<any>;
|
|
34
|
+
private _bulkUploadStatus$;
|
|
35
|
+
readonly bulkUploadStatus$: Observable<any>;
|
|
36
|
+
contentsCount: number;
|
|
37
|
+
templateList: any[];
|
|
38
|
+
parentIdentifier: any;
|
|
39
|
+
branchingLogic: {};
|
|
40
|
+
selectedSection: any;
|
|
41
|
+
optionsLength: any;
|
|
42
|
+
selectedPrimaryCategory: any;
|
|
43
|
+
leafParentIdentifier: any;
|
|
44
|
+
questionIds: any[];
|
|
45
|
+
outcomeDeclaration: any;
|
|
46
|
+
treeData: any;
|
|
47
|
+
private _qualityFormConfig;
|
|
48
|
+
private _isReviewerQualityCheckEnabled;
|
|
49
|
+
constructor(treeService: TreeService, toasterService: ToasterService, configService: ConfigService, telemetryService: EditorTelemetryService, publicDataService: PublicDataService, dataService: DataService, httpClient: HttpClient);
|
|
50
|
+
initialize(config: IEditorConfig): void;
|
|
51
|
+
set selectedChildren(value: SelectedChildren);
|
|
52
|
+
get selectedChildren(): SelectedChildren;
|
|
53
|
+
get editorConfig(): IEditorConfig;
|
|
54
|
+
get editorMode(): string;
|
|
55
|
+
get isReviewerEditEnable(): boolean;
|
|
56
|
+
private setIsReviewerEditEnable;
|
|
57
|
+
get isReviewModificationAllowed(): boolean;
|
|
58
|
+
setIsReviewModificationAllowed(value: boolean): boolean;
|
|
59
|
+
get contentPolicyUrl(): any;
|
|
60
|
+
getToolbarConfig(): any;
|
|
61
|
+
emitshowLibraryPageEvent(page: any): void;
|
|
62
|
+
getshowLibraryPageEmitter(): EventEmitter<any>;
|
|
63
|
+
getQuestionList(questionIds: string[]): Observable<any>;
|
|
64
|
+
fetchCollectionHierarchy(collectionId: any): Observable<any>;
|
|
65
|
+
readQuestionSet(questionSetId: any, option?: any): Observable<any>;
|
|
66
|
+
fetchContentDetails(contentId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
67
|
+
updateHierarchy(): Observable<any>;
|
|
68
|
+
getFieldsToUpdate(collectionId: any): {};
|
|
69
|
+
updateCollection(collectionId: any, data?: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
70
|
+
reviewContent(contentId: any): Observable<any>;
|
|
71
|
+
submitRequestChanges(contentId: any, comment: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
72
|
+
publishContent(contentId: any, event: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
73
|
+
addResourceToHierarchy(collection: any, unitIdentifier: any, contentId: any): Observable<any>;
|
|
74
|
+
addResourceToQuestionset(collection: any, unitIdentifier: any, contentId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
75
|
+
getQuestionStream$(): Subject<any>;
|
|
76
|
+
publish(value: any): void;
|
|
77
|
+
setQuestionIds(childrens: any): void;
|
|
78
|
+
getMaxScore(): Promise<number>;
|
|
79
|
+
calculateMaxScore(questions: Array<any>): any;
|
|
80
|
+
getCollectionHierarchy(): {
|
|
81
|
+
nodesModified: {};
|
|
82
|
+
hierarchy: any;
|
|
83
|
+
};
|
|
84
|
+
_toFlatObj(data: any, questionId?: any, selectUnitId?: any): any;
|
|
85
|
+
getHierarchyObj(data: any, questionId?: any, selectUnitId?: any, parentIdentifier?: any): any;
|
|
86
|
+
_toFlatObjFromHierarchy(data: any): any;
|
|
87
|
+
getRelationalMetadataObj(data: any): {};
|
|
88
|
+
getCategoryDefinition(categoryName: any, channel: any, objectType?: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
89
|
+
fetchContentListDetails(req: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
90
|
+
sort(a: any, b: any, column: any): any;
|
|
91
|
+
isNotEmpty(obj: any, key: any): boolean;
|
|
92
|
+
apiErrorHandling(err: any, errorInfo: any): void;
|
|
93
|
+
getContentChildrens(activeNode?: any): any[];
|
|
94
|
+
contentsCountAddedInLibraryPage(setToZero?: any): void;
|
|
95
|
+
checkIfContentsCanbeAdded(): boolean;
|
|
96
|
+
getHierarchyFolder(): any[];
|
|
97
|
+
validateCSVFile(formData: any, collectionnId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
98
|
+
downloadHierarchyCsv(collectionId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
99
|
+
generatePreSignedUrl(req: any, contentId: any, type: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
100
|
+
downloadBlobUrlFile(config: any): void;
|
|
101
|
+
generateCSV(config: any): void;
|
|
102
|
+
getBranchingLogicByFolder(identifier: any): any;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
* @param identifier identifier of the node
|
|
107
|
+
* @returns { source: [], target: [], sourceTarget?: [] }
|
|
108
|
+
* @memberof EditorService
|
|
109
|
+
*/
|
|
110
|
+
getDependentNodes(identifier: any): {
|
|
111
|
+
source: any;
|
|
112
|
+
target: any;
|
|
113
|
+
sourceTarget: any;
|
|
114
|
+
} | {
|
|
115
|
+
source?: undefined;
|
|
116
|
+
target?: undefined;
|
|
117
|
+
sourceTarget?: undefined;
|
|
118
|
+
} | {
|
|
119
|
+
source: any;
|
|
120
|
+
target: any;
|
|
121
|
+
sourceTarget?: undefined;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @public
|
|
126
|
+
* @param identifier identifier of the node
|
|
127
|
+
* @returns {"do_id": { "target": [ "do_id123", "do_id456" ], "preCondition": {}, "source": [] }}
|
|
128
|
+
* @memberof EditorService
|
|
129
|
+
*/
|
|
130
|
+
getBranchingLogicByNodeId(identifier: any): any;
|
|
131
|
+
getBranchingLogicEntry(parentBranchingLogic: any, identifier: any): any;
|
|
132
|
+
getFlattenedBranchingLogic(data: any): any;
|
|
133
|
+
getParentDependentMap(data: any): {};
|
|
134
|
+
getPrimaryCategoryName(sectionId: any): any;
|
|
135
|
+
/**
|
|
136
|
+
* fetch Outcome Declaration levels using the questionsetId
|
|
137
|
+
* only for Observation with Rubrics
|
|
138
|
+
* @param identifier questionset identifier
|
|
139
|
+
*/
|
|
140
|
+
fetchOutComeDeclaration(questionSetId: any, option?: any): Observable<any>;
|
|
141
|
+
get qualityFormConfig(): any;
|
|
142
|
+
private setQualityFormConfig;
|
|
143
|
+
get isReviewerQualityCheckEnabled(): boolean;
|
|
144
|
+
private setIsReviewerQualityCheckEnabled;
|
|
145
|
+
appendCloudStorageHeaders(config: any): any;
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
|
|
147
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
|
|
148
|
+
}
|
|
149
|
+
export {};
|
|
150
|
+
//# sourceMappingURL=editor.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/editor/editor.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAmB,MAAM,MAAM,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAC,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC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A0B,CAAC,IAAI,KAAA;IAQ/B,qBAAqB,CAAC,IAAI,KAAA;IAS1B,sBAAsB,CAAC,SAAS,KAAA;IAKhC;;;;OAIG;IACF,uBAAuB,CAAC,aAAa,KAAA,EAAE,MAAM,GAAE,GAAoB,GAAG,UAAU,CAAC,GAAG,CAAC;IAatF,IAAI,iBAAiB,QAEpB;IAED,OAAO,CAAC,oBAAoB;IAI5B,IAAI,6BAA6B,YAE9B;IAED,OAAO,CAAC,gCAAgC;IAI1C,yBAAyB,CAAC,MAAM,KAAA;yCA5rBrB,aAAa;6CAAb,aAAa;CAqsBzB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ServerResponse } from '../../interfaces/serverResponse';
|
|
3
|
+
import { Framework } from '../../interfaces/framework';
|
|
4
|
+
import { FrameworkData } from '../../interfaces/framework';
|
|
5
|
+
import { DataService } from '../data/data.service';
|
|
6
|
+
import { ConfigService } from '../config/config.service';
|
|
7
|
+
import { PublicDataService } from '../public-data/public-data.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FrameworkService {
|
|
10
|
+
private dataService;
|
|
11
|
+
private configService;
|
|
12
|
+
private publicDataService;
|
|
13
|
+
private _organisationFramework;
|
|
14
|
+
private _selectedOrganisationFramework;
|
|
15
|
+
private _targetFrameworkIds;
|
|
16
|
+
private _frameworkData;
|
|
17
|
+
private _frameworkData$;
|
|
18
|
+
frameworkValues: any;
|
|
19
|
+
readonly frameworkData$: Observable<Framework>;
|
|
20
|
+
constructor(dataService: DataService, configService: ConfigService, publicDataService: PublicDataService);
|
|
21
|
+
initialize(framework: string): void;
|
|
22
|
+
getFrameworkCategories(framework: string): Observable<ServerResponse>;
|
|
23
|
+
getTargetFrameworkCategories(frameworkIds: Array<string>): void;
|
|
24
|
+
get targetFrameworkIds(): any;
|
|
25
|
+
set targetFrameworkIds(id: any);
|
|
26
|
+
get organisationFramework(): string;
|
|
27
|
+
set organisationFramework(framework: string);
|
|
28
|
+
get selectedOrganisationFramework(): string;
|
|
29
|
+
set selectedOrganisationFramework(framework: string);
|
|
30
|
+
get frameworkData(): FrameworkData;
|
|
31
|
+
getFrameworkData(channel?: any, type?: any, identifier?: any, systemDefault?: any): Observable<ServerResponse>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FrameworkService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FrameworkService>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=framework.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framework.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/framework/framework.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAuB,MAAM,MAAM,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;;AAEvE,qBAGa,gBAAgB;IAUb,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAXvC,OAAO,CAAC,sBAAsB,CAAS;IACvC,OAAO,CAAC,8BAA8B,CAAS;IAC/C,OAAO,CAAC,mBAAmB,CAAmB;IAC9C,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,eAAe,CAA6C;IAC7D,eAAe,EAAE,GAAG,CAAC;IAC5B,SAAgB,cAAc,EAAE,UAAU,CAAC,SAAS,CAAC,CAC0B;gBAEzD,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB;IAEnD,UAAU,CAAC,SAAS,EAAE,MAAM;IAiB5B,sBAAsB,CAAC,SAAS,EAAE,MAAM;IAOxC,4BAA4B,CAAC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC;IAmB/D,IAAW,kBAAkB,IAAI,GAAG,CAEnC;IAED,IAAW,kBAAkB,CAAC,EAAE,EAAE,GAAG,EAEpC;IAED,IAAW,qBAAqB,IAAI,MAAM,CAEzC;IAED,IAAW,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAEjD;IAED,IAAW,6BAA6B,IAAI,MAAM,CAEjD;IAGD,IAAW,6BAA6B,CAAC,SAAS,EAAE,MAAM,EAEzD;IAED,IAAW,aAAa,IAAI,aAAa,CAExC;IAGD,gBAAgB,CAAC,OAAO,CAAC,KAAA,EAAE,IAAI,CAAC,KAAA,EAAE,UAAU,CAAC,KAAA,EAAE,aAAa,CAAC,KAAA;yCAvFlD,gBAAgB;6CAAhB,gBAAgB;CAyG5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PublicDataService } from '../public-data/public-data.service';
|
|
3
|
+
import { DataService } from '../data/data.service';
|
|
4
|
+
import { ConfigService } from '../config/config.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HelperService {
|
|
7
|
+
private publicDataService;
|
|
8
|
+
private configService;
|
|
9
|
+
private dataService;
|
|
10
|
+
private _availableLicenses;
|
|
11
|
+
private _channelData;
|
|
12
|
+
private _channelPrimaryCategories;
|
|
13
|
+
private _channelData$;
|
|
14
|
+
treeDepth: number;
|
|
15
|
+
readonly channelData$: Observable<any>;
|
|
16
|
+
private shuffle;
|
|
17
|
+
shuffleValue: Observable<any>;
|
|
18
|
+
constructor(publicDataService: PublicDataService, configService: ConfigService, dataService: DataService);
|
|
19
|
+
initialize(channelId: any): void;
|
|
20
|
+
setShuffleValue(value: any): void;
|
|
21
|
+
get channelInfo(): any;
|
|
22
|
+
get channelPrimaryCategories(): any;
|
|
23
|
+
get contentPrimaryCategories(): any;
|
|
24
|
+
get questionPrimaryCategories(): any;
|
|
25
|
+
get collectionPrimaryCategories(): any;
|
|
26
|
+
get questionsetPrimaryCategories(): any;
|
|
27
|
+
getLicenses(): Observable<any>;
|
|
28
|
+
getAvailableLicenses(): any[];
|
|
29
|
+
getChannelData(channelId: any): Observable<any>;
|
|
30
|
+
get channelData(): {
|
|
31
|
+
contentPrimaryCategories: any;
|
|
32
|
+
};
|
|
33
|
+
hmsToSeconds(str: any): any;
|
|
34
|
+
getTimerFormat(field: any): any;
|
|
35
|
+
getAllUser(userSearchBody: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
36
|
+
updateCollaborator(contentId: any, collaboratorList: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
37
|
+
addDepthToHierarchy(arr: any, depth?: number, index?: number): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HelperService, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HelperService>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=helper.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/helper/helper.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAkB,MAAM,MAAM,CAAC;AAGnE,OAAO,EAAE,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;;AACzD,qBAIa,aAAa;IAiBZ,OAAO,CAAC,iBAAiB;IAAqB,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,WAAW;IAfnH,OAAO,CAAC,kBAAkB,CAAa;IAEvC,OAAO,CAAC,YAAY,CAAM;IAE1B,OAAO,CAAC,yBAAyB,CAAM;IAEvC,OAAO,CAAC,aAAa,CAAuC;IAErD,SAAS,SAAK;IAErB,SAAgB,YAAY,EAAE,UAAU,CAAC,GAAG,CAAC,CACgC;IAC7E,OAAO,CAAC,OAAO,CAAuC;IACtD,YAAY,kBAA+B;gBAEvB,iBAAiB,EAAE,iBAAiB,EAAU,aAAa,EAAE,aAAa,EAAU,WAAW,EAAE,WAAW;IAEhI,UAAU,CAAC,SAAS,KAAA;IASpB,eAAe,CAAC,KAAK,KAAA;IAIrB,IAAW,WAAW,IAAI,GAAG,CAE5B;IAED,IAAW,wBAAwB,IAAI,GAAG,CAEzC;IAED,IAAW,wBAAwB,IAAK,GAAG,CAG1C;IAED,IAAW,yBAAyB,IAAK,GAAG,CAG3C;IAED,IAAW,2BAA2B,IAAK,GAAG,CAG7C;IAED,IAAW,4BAA4B,IAAK,GAAG,CAG9C;IAED,WAAW,IAAI,UAAU,CAAC,GAAG,CAAC;IAoB9B,oBAAoB;IAIpB,cAAc,CAAC,SAAS,KAAA,GAAG,UAAU,CAAC,GAAG,CAAC;IAY1C,IAAI,WAAW;;MAId;IAED,YAAY,CAAC,GAAG,KAAA;IAWhB,cAAc,CAAC,KAAK,KAAA;IASpB,UAAU,CAAC,cAAc,KAAA;IAYzB,kBAAkB,CAAC,SAAS,KAAA,EAAE,gBAAgB,KAAA;IAc9C,mBAAmB,CAAC,GAAG,KAAA,EAAE,KAAK,SAAI,EAAE,KAAK,SAAI;yCApJlC,aAAa;6CAAb,aAAa;CAmKzB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ConfigService } from '../../services/config/config.service';
|
|
2
|
+
import { EditorService } from '../../services/editor/editor.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface PlayerConfig {
|
|
5
|
+
config: any;
|
|
6
|
+
context: any;
|
|
7
|
+
data: any;
|
|
8
|
+
metadata: any;
|
|
9
|
+
}
|
|
10
|
+
export declare class PlayerService {
|
|
11
|
+
private editorService;
|
|
12
|
+
private configService;
|
|
13
|
+
qumlPlayerSideMenuConfig: {
|
|
14
|
+
enable: boolean;
|
|
15
|
+
showShare: boolean;
|
|
16
|
+
showDownload: boolean;
|
|
17
|
+
showReplay: boolean;
|
|
18
|
+
showExit: boolean;
|
|
19
|
+
};
|
|
20
|
+
constructor(editorService: EditorService, configService: ConfigService);
|
|
21
|
+
/**
|
|
22
|
+
* returns QUML player config details.
|
|
23
|
+
*/
|
|
24
|
+
getQumlPlayerConfig(): any;
|
|
25
|
+
/**
|
|
26
|
+
* returns player config details.
|
|
27
|
+
*/
|
|
28
|
+
getPlayerConfig(contentDetails: any): PlayerConfig;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlayerService>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=player.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/player/player.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,UAAU,YAAY;IACpB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,GAAG,CAAC;IACV,QAAQ,EAAE,GAAG,CAAC;CACf;AAED,qBAGa,aAAa;IAQZ,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,aAAa;IAPvE,wBAAwB;;;;;;MAMtB;gBACkB,aAAa,EAAE,aAAa,EAAU,aAAa,EAAE,aAAa;IAEtF;;OAEG;IACH,mBAAmB;IAUnB;;OAEG;IACF,eAAe,CAAC,cAAc,KAAA,GAAG,YAAY;yCA1BnC,aAAa;6CAAb,aAAa;CAmFzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DataService } from './../data/data.service';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PublicDataService extends DataService {
|
|
5
|
+
/**
|
|
6
|
+
* base Url for public api
|
|
7
|
+
*/
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
_document: Document;
|
|
10
|
+
http: HttpClient;
|
|
11
|
+
constructor(http: HttpClient);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublicDataService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublicDataService>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=public-data.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-data.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/public-data/public-data.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;;AAElD,qBAGa,iBAAkB,SAAQ,WAAW;IAEhD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,QAAQ,CAAC;IAEb,IAAI,EAAE,UAAU,CAAC;gBACZ,IAAI,EAAE,UAAU;yCATjB,iBAAiB;6CAAjB,iBAAiB;CAe7B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { DataService } from '../../services/data/data.service';
|
|
3
|
+
import { PublicDataService } from '../../services/public-data/public-data.service';
|
|
4
|
+
import { ServerResponse } from '../../interfaces/serverResponse';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { ConfigService } from '../config/config.service';
|
|
7
|
+
import { EditorService } from '../editor/editor.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class QuestionService {
|
|
10
|
+
dataService: DataService;
|
|
11
|
+
private configService;
|
|
12
|
+
private publicDataService;
|
|
13
|
+
private editorService;
|
|
14
|
+
http: HttpClient;
|
|
15
|
+
constructor(dataService: DataService, http: HttpClient, configService: ConfigService, publicDataService: PublicDataService, editorService: EditorService);
|
|
16
|
+
readQuestion(questionId: any, leafFormConfigfields?: any): Observable<ServerResponse>;
|
|
17
|
+
updateHierarchyQuestionCreate(hierarchyBody: any): Observable<ServerResponse>;
|
|
18
|
+
updateHierarchyQuestionUpdate(hierarchyBody: any): Observable<ServerResponse>;
|
|
19
|
+
getAssetMedia(req?: object): Observable<ServerResponse>;
|
|
20
|
+
createMediaAsset(req?: object): Observable<ServerResponse>;
|
|
21
|
+
uploadMedia(req: any, assetId: any): Observable<ServerResponse>;
|
|
22
|
+
generatePreSignedUrl(req: any, contentId: any): Observable<ServerResponse>;
|
|
23
|
+
getVideo(videoId: any): Observable<ServerResponse>;
|
|
24
|
+
getQuestionList(req: any, field?: any): Observable<ServerResponse>;
|
|
25
|
+
updateQuestion(questionId: any, requestBody: any): Observable<ServerResponse>;
|
|
26
|
+
upsertQuestion(questionId: any, requestBody: any): Observable<ServerResponse>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QuestionService>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=question.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/question/question.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,cAAc,EA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