@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.
Files changed (204) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/collection-editor-cursor.service.mjs +3 -0
  3. package/esm2022/lib/collection-editor-library.component.mjs +16 -0
  4. package/esm2022/lib/collection-editor-library.module.mjs +137 -0
  5. package/esm2022/lib/components/answer/answer.component.mjs +43 -0
  6. package/esm2022/lib/components/asset-browser/asset-browser.component.mjs +325 -0
  7. package/esm2022/lib/components/asset-browser/asset-browser.data.mjs +53 -0
  8. package/esm2022/lib/components/assign-page-number/assign-page-number.component.mjs +191 -0
  9. package/esm2022/lib/components/ckeditor-tool/ckeditor-tool.component.mjs +895 -0
  10. package/esm2022/lib/components/collection-icon/collection-icon.component.mjs +43 -0
  11. package/esm2022/lib/components/contentplayer-page/contentplayer-page.component.mjs +351 -0
  12. package/esm2022/lib/components/csv-upload/csv-upload.component.mjs +178 -0
  13. package/esm2022/lib/components/dialcode/dialcode.component.mjs +182 -0
  14. package/esm2022/lib/components/editor/editor.component.mjs +1125 -0
  15. package/esm2022/lib/components/fancy-tree/fancy-tree.component.mjs +529 -0
  16. package/esm2022/lib/components/header/header.component.mjs +123 -0
  17. package/esm2022/lib/components/library/library.component.mjs +242 -0
  18. package/esm2022/lib/components/library-filter/library-filter.component.mjs +149 -0
  19. package/esm2022/lib/components/library-list/library-list.component.mjs +92 -0
  20. package/esm2022/lib/components/library-player/library-player.component.mjs +62 -0
  21. package/esm2022/lib/components/manage-collaborator/manage-collaborator.component.mjs +256 -0
  22. package/esm2022/lib/components/meta-form/meta-form.component.mjs +377 -0
  23. package/esm2022/lib/components/options/options.component.mjs +144 -0
  24. package/esm2022/lib/components/plain-tree/plain-tree.component.mjs +125 -0
  25. package/esm2022/lib/components/progress-status/progress-status.component.mjs +46 -0
  26. package/esm2022/lib/components/publish-checklist/publish-checklist.component.mjs +67 -0
  27. package/esm2022/lib/components/quality-params-modal/quality-params-modal.component.mjs +52 -0
  28. package/esm2022/lib/components/question/question.component.mjs +1360 -0
  29. package/esm2022/lib/components/quml-player/quml-player.component.mjs +73 -0
  30. package/esm2022/lib/components/qumlplayer-page/qumlplayer-page.component.mjs +84 -0
  31. package/esm2022/lib/components/resource-reorder/resource-reorder.component.mjs +143 -0
  32. package/esm2022/lib/components/skeleton-loader/skeleton-loader.component.mjs +26 -0
  33. package/esm2022/lib/components/template/template.component.mjs +42 -0
  34. package/esm2022/lib/components/term-and-condition/term-and-condition.component.mjs +68 -0
  35. package/esm2022/lib/directives/telemetry-interact/telemetry-interact.directive.mjs +33 -0
  36. package/esm2022/lib/interfaces/McqForm.mjs +29 -0
  37. package/esm2022/lib/interfaces/editor.mjs +2 -0
  38. package/esm2022/lib/interfaces/framework.mjs +2 -0
  39. package/esm2022/lib/interfaces/httpOptions.mjs +2 -0
  40. package/esm2022/lib/interfaces/requestParam.mjs +2 -0
  41. package/esm2022/lib/interfaces/serverResponse.mjs +2 -0
  42. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
  43. package/esm2022/lib/services/config/category.config.json +8 -0
  44. package/esm2022/lib/services/config/config.service.mjs +27 -0
  45. package/esm2022/lib/services/config/editor.config.json +31 -0
  46. package/esm2022/lib/services/config/label.config.json +314 -0
  47. package/esm2022/lib/services/config/player.config.json +96 -0
  48. package/esm2022/lib/services/config/url.config.json +69 -0
  49. package/esm2022/lib/services/data/data.service.mjs +192 -0
  50. package/esm2022/lib/services/dialcode/dialcode.service.mjs +309 -0
  51. package/esm2022/lib/services/editor/editor.service.mjs +682 -0
  52. package/esm2022/lib/services/framework/framework.service.mjs +106 -0
  53. package/esm2022/lib/services/helper/helper.service.mjs +160 -0
  54. package/esm2022/lib/services/player/player.service.mjs +99 -0
  55. package/esm2022/lib/services/public-data/public-data.service.mjs +21 -0
  56. package/esm2022/lib/services/question/question.service.mjs +167 -0
  57. package/esm2022/lib/services/telemetry/telemetry.service.mjs +120 -0
  58. package/esm2022/lib/services/toaster/toaster.service.mjs +105 -0
  59. package/esm2022/lib/services/tree/tree.service.mjs +284 -0
  60. package/esm2022/project-sunbird-sunbird-collection-editor.mjs +5 -0
  61. package/esm2022/public-api.mjs +4 -0
  62. package/fesm2022/project-sunbird-sunbird-collection-editor.mjs +10138 -0
  63. package/fesm2022/project-sunbird-sunbird-collection-editor.mjs.map +1 -0
  64. package/index.d.ts +6 -0
  65. package/lib/assets/.gitkeep +0 -0
  66. package/lib/assets/images/MCQ.png +0 -0
  67. package/lib/assets/images/Spin.gif +0 -0
  68. package/lib/assets/images/bulkuploadfile.png +0 -0
  69. package/lib/assets/images/cancel-sign copy.png +0 -0
  70. package/lib/assets/images/cancel-sign.png +0 -0
  71. package/lib/assets/images/emptyResult.svg +1 -0
  72. package/lib/assets/images/icons-rtl.gif +0 -0
  73. package/lib/assets/images/icons.gif +0 -0
  74. package/lib/assets/images/imageicon.svg +16 -0
  75. package/lib/assets/images/imageicon_blue.svg +16 -0
  76. package/lib/assets/images/layoutoneicon.svg +16 -0
  77. package/lib/assets/images/layoutoneicon_blue.svg +16 -0
  78. package/lib/assets/images/layoutthreeicon.svg +18 -0
  79. package/lib/assets/images/layoutthreeicon_blue.svg +18 -0
  80. package/lib/assets/images/layouttwoicon.svg +18 -0
  81. package/lib/assets/images/layouttwoicon_blue.svg +18 -0
  82. package/lib/assets/images/leftalignicon.svg +17 -0
  83. package/lib/assets/images/leftalignicon_blue.svg +17 -0
  84. package/lib/assets/images/loader.gif +0 -0
  85. package/lib/assets/images/loader.svg +1 -0
  86. package/lib/assets/images/loading.gif +0 -0
  87. package/lib/assets/images/middlealignicon.svg +17 -0
  88. package/lib/assets/images/middlealignicon_blue.svg +17 -0
  89. package/lib/assets/images/question_collection.svg +18 -0
  90. package/lib/assets/images/rightalignicon.svg +17 -0
  91. package/lib/assets/images/rightalignicon_blue.svg +17 -0
  92. package/lib/assets/images/vline-rtl.gif +0 -0
  93. package/lib/assets/images/vline.gif +0 -0
  94. package/lib/assets/images/writing.png +0 -0
  95. package/lib/collection-editor-cursor.service.d.ts +5 -0
  96. package/lib/collection-editor-cursor.service.d.ts.map +1 -0
  97. package/lib/collection-editor-library.component.d.ts +9 -0
  98. package/lib/collection-editor-library.component.d.ts.map +1 -0
  99. package/lib/collection-editor-library.module.d.ts +50 -0
  100. package/lib/collection-editor-library.module.d.ts.map +1 -0
  101. package/lib/components/answer/answer.component.d.ts +24 -0
  102. package/lib/components/answer/answer.component.d.ts.map +1 -0
  103. package/lib/components/asset-browser/asset-browser.component.d.ts +81 -0
  104. package/lib/components/asset-browser/asset-browser.component.d.ts.map +1 -0
  105. package/lib/components/asset-browser/asset-browser.data.d.ts +52 -0
  106. package/lib/components/asset-browser/asset-browser.data.d.ts.map +1 -0
  107. package/lib/components/assign-page-number/assign-page-number.component.d.ts +38 -0
  108. package/lib/components/assign-page-number/assign-page-number.component.d.ts.map +1 -0
  109. package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts +161 -0
  110. package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts.map +1 -0
  111. package/lib/components/collection-icon/collection-icon.component.d.ts +18 -0
  112. package/lib/components/collection-icon/collection-icon.component.d.ts.map +1 -0
  113. package/lib/components/contentplayer-page/contentplayer-page.component.d.ts +54 -0
  114. package/lib/components/contentplayer-page/contentplayer-page.component.d.ts.map +1 -0
  115. package/lib/components/csv-upload/csv-upload.component.d.ts +42 -0
  116. package/lib/components/csv-upload/csv-upload.component.d.ts.map +1 -0
  117. package/lib/components/dialcode/dialcode.component.d.ts +48 -0
  118. package/lib/components/dialcode/dialcode.component.d.ts.map +1 -0
  119. package/lib/components/editor/editor.component.d.ts +146 -0
  120. package/lib/components/editor/editor.component.d.ts.map +1 -0
  121. package/lib/components/fancy-tree/fancy-tree.component.d.ts +77 -0
  122. package/lib/components/fancy-tree/fancy-tree.component.d.ts.map +1 -0
  123. package/lib/components/header/header.component.d.ts +46 -0
  124. package/lib/components/header/header.component.d.ts.map +1 -0
  125. package/lib/components/library/library.component.d.ts +69 -0
  126. package/lib/components/library/library.component.d.ts.map +1 -0
  127. package/lib/components/library-filter/library-filter.component.d.ts +47 -0
  128. package/lib/components/library-filter/library-filter.component.d.ts.map +1 -0
  129. package/lib/components/library-list/library-list.component.d.ts +32 -0
  130. package/lib/components/library-list/library-list.component.d.ts.map +1 -0
  131. package/lib/components/library-player/library-player.component.d.ts +24 -0
  132. package/lib/components/library-player/library-player.component.d.ts.map +1 -0
  133. package/lib/components/manage-collaborator/manage-collaborator.component.d.ts +75 -0
  134. package/lib/components/manage-collaborator/manage-collaborator.component.d.ts.map +1 -0
  135. package/lib/components/meta-form/meta-form.component.d.ts +51 -0
  136. package/lib/components/meta-form/meta-form.component.d.ts.map +1 -0
  137. package/lib/components/options/options.component.d.ts +53 -0
  138. package/lib/components/options/options.component.d.ts.map +1 -0
  139. package/lib/components/plain-tree/plain-tree.component.d.ts +20 -0
  140. package/lib/components/plain-tree/plain-tree.component.d.ts.map +1 -0
  141. package/lib/components/progress-status/progress-status.component.d.ts +25 -0
  142. package/lib/components/progress-status/progress-status.component.d.ts.map +1 -0
  143. package/lib/components/publish-checklist/publish-checklist.component.d.ts +23 -0
  144. package/lib/components/publish-checklist/publish-checklist.component.d.ts.map +1 -0
  145. package/lib/components/quality-params-modal/quality-params-modal.component.d.ts +24 -0
  146. package/lib/components/quality-params-modal/quality-params-modal.component.d.ts.map +1 -0
  147. package/lib/components/question/question.component.d.ts +215 -0
  148. package/lib/components/question/question.component.d.ts.map +1 -0
  149. package/lib/components/quml-player/quml-player.component.d.ts +26 -0
  150. package/lib/components/quml-player/quml-player.component.d.ts.map +1 -0
  151. package/lib/components/qumlplayer-page/qumlplayer-page.component.d.ts +31 -0
  152. package/lib/components/qumlplayer-page/qumlplayer-page.component.d.ts.map +1 -0
  153. package/lib/components/resource-reorder/resource-reorder.component.d.ts +45 -0
  154. package/lib/components/resource-reorder/resource-reorder.component.d.ts.map +1 -0
  155. package/lib/components/skeleton-loader/skeleton-loader.component.d.ts +13 -0
  156. package/lib/components/skeleton-loader/skeleton-loader.component.d.ts.map +1 -0
  157. package/lib/components/template/template.component.d.ts +21 -0
  158. package/lib/components/template/template.component.d.ts.map +1 -0
  159. package/lib/components/term-and-condition/term-and-condition.component.d.ts +26 -0
  160. package/lib/components/term-and-condition/term-and-condition.component.d.ts.map +1 -0
  161. package/lib/directives/telemetry-interact/telemetry-interact.directive.d.ts +27 -0
  162. package/lib/directives/telemetry-interact/telemetry-interact.directive.d.ts.map +1 -0
  163. package/lib/interfaces/McqForm.d.ts +32 -0
  164. package/lib/interfaces/McqForm.d.ts.map +1 -0
  165. package/lib/interfaces/editor.d.ts +78 -0
  166. package/lib/interfaces/editor.d.ts.map +1 -0
  167. package/lib/interfaces/framework.d.ts +46 -0
  168. package/lib/interfaces/framework.d.ts.map +1 -0
  169. package/lib/interfaces/httpOptions.d.ts +35 -0
  170. package/lib/interfaces/httpOptions.d.ts.map +1 -0
  171. package/lib/interfaces/requestParam.d.ts +24 -0
  172. package/lib/interfaces/requestParam.d.ts.map +1 -0
  173. package/lib/interfaces/serverResponse.d.ts +38 -0
  174. package/lib/interfaces/serverResponse.d.ts.map +1 -0
  175. package/lib/pipes/sanitize-html.pipe.d.ts +11 -0
  176. package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -0
  177. package/lib/services/config/config.service.d.ts +13 -0
  178. package/lib/services/config/config.service.d.ts.map +1 -0
  179. package/lib/services/data/data.service.d.ts +85 -0
  180. package/lib/services/data/data.service.d.ts.map +1 -0
  181. package/lib/services/dialcode/dialcode.service.d.ts +36 -0
  182. package/lib/services/dialcode/dialcode.service.d.ts.map +1 -0
  183. package/lib/services/editor/editor.service.d.ts +150 -0
  184. package/lib/services/editor/editor.service.d.ts.map +1 -0
  185. package/lib/services/framework/framework.service.d.ts +35 -0
  186. package/lib/services/framework/framework.service.d.ts.map +1 -0
  187. package/lib/services/helper/helper.service.d.ts +41 -0
  188. package/lib/services/helper/helper.service.d.ts.map +1 -0
  189. package/lib/services/player/player.service.d.ts +33 -0
  190. package/lib/services/player/player.service.d.ts.map +1 -0
  191. package/lib/services/public-data/public-data.service.d.ts +15 -0
  192. package/lib/services/public-data/public-data.service.d.ts.map +1 -0
  193. package/lib/services/question/question.service.d.ts +30 -0
  194. package/lib/services/question/question.service.d.ts.map +1 -0
  195. package/lib/services/telemetry/telemetry.service.d.ts +45 -0
  196. package/lib/services/telemetry/telemetry.service.d.ts.map +1 -0
  197. package/lib/services/toaster/toaster.service.d.ts +50 -0
  198. package/lib/services/toaster/toaster.service.d.ts.map +1 -0
  199. package/lib/services/tree/tree.service.d.ts +51 -0
  200. package/lib/services/tree/tree.service.d.ts.map +1 -0
  201. package/package.json +32 -0
  202. package/project-sunbird-sunbird-collection-editor.d.ts.map +1 -0
  203. package/public-api.d.ts +4 -0
  204. package/public-api.d.ts.map +1 -0
@@ -0,0 +1,46 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { EditorService } from '../../services/editor/editor.service';
3
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
4
+ import { ConfigService } from '../../services/config/config.service';
5
+ import { NgForm } from '@angular/forms';
6
+ import * as i0 from "@angular/core";
7
+ export declare class HeaderComponent implements OnDestroy, OnInit {
8
+ private editorService;
9
+ telemetryService: EditorTelemetryService;
10
+ configService: ConfigService;
11
+ pageId: any;
12
+ labelConfigData: any;
13
+ buttonLoaders: any;
14
+ showComment: any;
15
+ publishchecklist: any;
16
+ set requestChange(action: string);
17
+ toolbarEmitter: EventEmitter<any>;
18
+ FormControl: NgForm;
19
+ modal: any;
20
+ qualityParamEmitter: EventEmitter<any>;
21
+ visibility: any;
22
+ showReviewModal: boolean;
23
+ showPublishCollectionPopup: boolean;
24
+ showRequestChangesPopup: boolean;
25
+ rejectComment: string;
26
+ actionType: string;
27
+ sourcingStatusText: string;
28
+ sourcingStatusClass: string;
29
+ originPreviewUrl: string;
30
+ correctionComments: string;
31
+ bulkUploadStatus: any;
32
+ constructor(editorService: EditorService, telemetryService: EditorTelemetryService, configService: ConfigService);
33
+ ngOnInit(): Promise<void>;
34
+ handleActionButtons(): Promise<void>;
35
+ getSourcingData(): void;
36
+ openRequestChangePopup(action: string): void;
37
+ buttonEmitter(action: any): void;
38
+ openPublishCheckListPopup(action: any): void;
39
+ firstLevelPublish(): void;
40
+ publishEmitter(event: any): void;
41
+ bulkUploadListener(event: any): void;
42
+ ngOnDestroy(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "pageId": { "alias": "pageId"; "required": false; }; "labelConfigData": { "alias": "labelConfigData"; "required": false; }; "buttonLoaders": { "alias": "buttonLoaders"; "required": false; }; "showComment": { "alias": "showComment"; "required": false; }; "publishchecklist": { "alias": "publishchecklist"; "required": false; }; "requestChange": { "alias": "requestChange"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; "qualityParamEmitter": "qualityParamEmitter"; }, never, never, false, never>;
45
+ }
46
+ //# sourceMappingURL=header.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/header/header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAwC,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AAExC,qBAMa,eAAgB,YAAW,SAAS,EAAE,MAAM;IA2B3C,OAAO,CAAC,aAAa;IACxB,gBAAgB,EAAE,sBAAsB;IACxC,aAAa,EAAE,aAAa;IA5B5B,MAAM,EAAE,GAAG,CAAC;IACZ,eAAe,EAAE,GAAG,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC;IACnB,WAAW,EAAE,GAAG,CAAC;IACjB,gBAAgB,EAAE,GAAG,CAAC;IAC/B,IAAa,aAAa,CAAC,MAAM,EAAE,MAAM,EAIxC;IACS,cAAc,oBAA2B;IACzB,WAAW,EAAE,MAAM,CAAC;IACnB,KAAK,MAAC;IACvB,mBAAmB,oBAA2B;IACjD,UAAU,EAAE,GAAG,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,0BAA0B,EAAE,OAAO,CAAC;IACpC,uBAAuB,EAAE,OAAO,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,GAAG,CAAC;gBAET,aAAa,EAAE,aAAa,EACvC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,aAAa;IAE/B,QAAQ;IAQR,mBAAmB;IAuBzB,eAAe;IAOf,sBAAsB,CAAC,MAAM,EAAE,MAAM;IAKrC,aAAa,CAAC,MAAM,KAAA;IAIpB,yBAAyB,CAAC,MAAM,KAAA;IAKhC,iBAAiB;IAQjB,cAAc,CAAC,KAAK,KAAA;IAOpB,kBAAkB,CAAC,KAAK,KAAA;IAIxB,WAAW;yCAtGA,eAAe;2CAAf,eAAe;CA2G3B"}
@@ -0,0 +1,69 @@
1
+ import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { TreeService } from '../../services/tree/tree.service';
3
+ import { EditorService } from '../../services/editor/editor.service';
4
+ import { ToasterService } from '../../services/toaster/toaster.service';
5
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
6
+ import { ConfigService } from '../../services/config/config.service';
7
+ import { Router } from '@angular/router';
8
+ import { HelperService } from '../../services/helper/helper.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class LibraryComponent implements OnInit, AfterViewInit, OnDestroy {
11
+ telemetryService: EditorTelemetryService;
12
+ private editorService;
13
+ private router;
14
+ private treeService;
15
+ private toasterService;
16
+ configService: ConfigService;
17
+ private helperService;
18
+ libraryInput: any;
19
+ libraryEmitter: EventEmitter<any>;
20
+ searchFormConfig: any;
21
+ pageId: string;
22
+ contentList: any;
23
+ selectedContent: any;
24
+ childNodes: any;
25
+ showSelectResourceModal: boolean;
26
+ collectionUnits: any;
27
+ collectionHierarchy: any[];
28
+ collectionId: string;
29
+ showAddedContent: boolean;
30
+ showLoader: boolean;
31
+ isFilterOpen: boolean;
32
+ collectionhierarcyData: any;
33
+ defaultFilters: any;
34
+ pageStartTime: any;
35
+ selectedUnit: string;
36
+ frameworkId: any;
37
+ constructor(telemetryService: EditorTelemetryService, editorService: EditorService, router: Router, treeService: TreeService, toasterService: ToasterService, configService: ConfigService, helperService: HelperService);
38
+ ngOnInit(): void;
39
+ ngAfterViewInit(): void;
40
+ back(): void;
41
+ onFilterChange(event: any): void;
42
+ setDefaultFilters(): void;
43
+ fetchContentList(filters?: any, query?: any): void;
44
+ getUnitWithChildren(data: any, collectionId: any, level?: any): any;
45
+ generateNodeMeta(node: any): {
46
+ identifier: any;
47
+ name: any;
48
+ contentType: any;
49
+ topic: any;
50
+ status: any;
51
+ creator: any;
52
+ createdBy: any;
53
+ parentId: any;
54
+ organisationId: any;
55
+ prevStatus: any;
56
+ visibility: any;
57
+ mimeType: any;
58
+ };
59
+ onContentChangeEvent(event: any): void;
60
+ showResourceTemplate(event: any): void;
61
+ getHierarchyData(): void;
62
+ sortContentList(status: any): void;
63
+ openFilter(): void;
64
+ filterContentList(isContentAdded?: any): void;
65
+ ngOnDestroy(): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibraryComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibraryComponent, "lib-library", never, { "libraryInput": { "alias": "libraryInput"; "required": false; }; }, { "libraryEmitter": "libraryEmitter"; }, never, never, false, never>;
68
+ }
69
+ //# sourceMappingURL=library.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/library/library.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,aAAa,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5H,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,qBAMa,gBAAiB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IAoBpD,gBAAgB,EAAE,sBAAsB;IAC/C,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,cAAc;IACf,aAAa,EAAE,aAAa;IACnC,OAAO,CAAC,aAAa;IAzBxB,YAAY,EAAE,GAAG,CAAC;IACjB,cAAc,oBAA2B;IAC5C,gBAAgB,EAAE,GAAG,CAAC;IACtB,MAAM,SAAsB;IAC5B,WAAW,EAAE,GAAG,CAAC;IACjB,eAAe,EAAE,GAAG,CAAC;IACrB,UAAU,EAAE,GAAG,CAAC;IACvB,uBAAuB,UAAS;IAChC,eAAe,EAAE,GAAG,CAAC;IACrB,mBAAmB,QAAM;IACzB,YAAY,EAAE,MAAM,CAAC;IACd,gBAAgB,UAAS;IACzB,UAAU,UAAQ;IAClB,YAAY,UAAS;IAC5B,sBAAsB,EAAE,GAAG,CAAC;IACrB,cAAc,EAAE,GAAG,CAAC;IAC3B,aAAa,EAAE,GAAG,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,GAAG,CAAC;gBACL,gBAAgB,EAAE,sBAAsB,EACvC,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC/B,aAAa,EAAE,aAAa,EAC3B,aAAa,EAAE,aAAa;IAIhD,QAAQ;IAsBR,eAAe;IAOf,IAAI;IAKJ,cAAc,CAAC,KAAK,EAAE,GAAG;IAWzB,iBAAiB;IAoBjB,gBAAgB,CAAC,OAAO,CAAC,KAAA,EAAE,KAAK,CAAC,KAAA;IA0BjC,mBAAmB,CAAC,IAAI,KAAA,EAAE,YAAY,KAAA,EAAE,KAAK,CAAC,KAAA;IAmB9C,gBAAgB,CAAC,IAAI,KAAA;;;;;;;;;;;;;;IAmBrB,oBAAoB,CAAC,KAAK,EAAE,GAAG;IAI/B,oBAAoB,CAAC,KAAK,KAAA;IA4B1B,gBAAgB;IAOlB,eAAe,CAAC,MAAM,KAAA;IAQpB,UAAU,IAAI,IAAI;IAQlB,iBAAiB,CAAC,cAAc,CAAC,KAAA;IAgBjC,WAAW;yCAtOA,gBAAgB;2CAAhB,gBAAgB;CAyO5B"}
@@ -0,0 +1,47 @@
1
+ import { OnInit, EventEmitter, OnChanges } from '@angular/core';
2
+ import { TreeService } from '../../services/tree/tree.service';
3
+ import { EditorService } from '../../services/editor/editor.service';
4
+ import { FrameworkService } from '../../services/framework/framework.service';
5
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
6
+ import { ConfigService } from '../../services/config/config.service';
7
+ import { HelperService } from '../../services/helper/helper.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class LibraryFilterComponent implements OnInit, OnChanges {
10
+ private frameworkService;
11
+ editorService: EditorService;
12
+ telemetryService: EditorTelemetryService;
13
+ treeService: TreeService;
14
+ configService: ConfigService;
15
+ private helperService;
16
+ sessionContext: any;
17
+ filterValues: any;
18
+ filterOpenStatus: boolean;
19
+ searchFormConfig: any;
20
+ frameworkId: any;
21
+ filterChangeEvent: EventEmitter<any>;
22
+ filterConfig: any;
23
+ isFilterShow: boolean;
24
+ filterFields: any;
25
+ telemetryPageId: string;
26
+ private onComponentDestroy$;
27
+ frameworkDetails: any;
28
+ currentFilters: any;
29
+ searchQuery: string;
30
+ constructor(frameworkService: FrameworkService, editorService: EditorService, telemetryService: EditorTelemetryService, treeService: TreeService, configService: ConfigService, helperService: HelperService);
31
+ ngOnInit(): void;
32
+ setFilterDefaultValues(): void;
33
+ ngOnChanges(): void;
34
+ fetchFrameWorkDetails(): void;
35
+ populateFilters(): void;
36
+ onQueryEnter(event: any): boolean;
37
+ showfilter(): void;
38
+ resetFilter(): void;
39
+ applyFilter(): void;
40
+ emitApplyFilter(): void;
41
+ outputData($event: any): void;
42
+ onStatusChanges($event: any): void;
43
+ valueChanges($event: any): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibraryFilterComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibraryFilterComponent, "lib-library-filter", never, { "sessionContext": { "alias": "sessionContext"; "required": false; }; "filterValues": { "alias": "filterValues"; "required": false; }; "filterOpenStatus": { "alias": "filterOpenStatus"; "required": false; }; "searchFormConfig": { "alias": "searchFormConfig"; "required": false; }; "frameworkId": { "alias": "frameworkId"; "required": false; }; }, { "filterChangeEvent": "filterChangeEvent"; }, never, never, false, never>;
46
+ }
47
+ //# sourceMappingURL=library-filter.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-filter.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/library-filter/library-filter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAE,SAAS,EAAqB,MAAM,eAAe,CAAC;AAI7G,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,qBAMa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAgBlD,OAAO,CAAC,gBAAgB;IACjB,aAAa,EAAE,aAAa;IAC5B,gBAAgB,EAAE,sBAAsB;IACxC,WAAW,EAAE,WAAW;IACxB,aAAa,EAAE,aAAa;IACnC,OAAO,CAAC,aAAa;IApBxB,cAAc,EAAE,GAAG,CAAC;IACpB,YAAY,EAAE,GAAG,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,GAAG,CAAC;IACtB,WAAW,EAAE,GAAG,CAAC;IAChB,iBAAiB,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAC7D,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,UAAS;IACrB,YAAY,EAAE,GAAG,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,mBAAmB,CAAsB;IAC1C,gBAAgB,EAAE,GAAG,CAAM;IAC3B,cAAc,EAAE,GAAG,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;gBAEP,gBAAgB,EAAE,gBAAgB,EACnC,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,sBAAsB,EACxC,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC3B,aAAa,EAAE,aAAa;IAEhD,QAAQ;IAmBR,sBAAsB;IAQtB,WAAW;IAIX,qBAAqB;IAoBrB,eAAe;IAqBf,YAAY,CAAC,KAAK,KAAA;IAKlB,UAAU;IAQV,WAAW;IAkBX,WAAW;IAIX,eAAe;IAOf,UAAU,CAAC,MAAM,KAAA;IAEjB,eAAe,CAAC,MAAM,KAAA;IAEtB,YAAY,CAAC,MAAM,KAAA;yCA7IR,sBAAsB;2CAAtB,sBAAsB;CAgJlC"}
@@ -0,0 +1,32 @@
1
+ import { OnInit, EventEmitter, OnDestroy } 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 { FrameworkService } from '../../services/framework/framework.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LibraryListComponent implements OnInit, OnDestroy {
8
+ editorService: EditorService;
9
+ telemetryService: EditorTelemetryService;
10
+ configService: ConfigService;
11
+ private frameworkService;
12
+ contentList: any;
13
+ showAddedContent: any;
14
+ contentChangeEvent: EventEmitter<any>;
15
+ moveEvent: EventEmitter<any>;
16
+ selectedContent: any;
17
+ sortContent: boolean;
18
+ categoryCode: string;
19
+ private destroy$;
20
+ constructor(editorService: EditorService, telemetryService: EditorTelemetryService, configService: ConfigService, frameworkService: FrameworkService);
21
+ ngOnInit(): void;
22
+ ngOnDestroy(): void;
23
+ getFrameworkCategories(): void;
24
+ onContentChange(selectedContent: any): void;
25
+ changeFilter(): void;
26
+ onShowAddedContentChange(): void;
27
+ sortContentList(): void;
28
+ addToLibrary(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibraryListComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibraryListComponent, "lib-library-list", never, { "contentList": { "alias": "contentList"; "required": false; }; "showAddedContent": { "alias": "showAddedContent"; "required": false; }; "selectedContent": { "alias": "selectedContent"; "required": false; }; }, { "contentChangeEvent": "contentChangeEvent"; "moveEvent": "moveEvent"; }, never, never, false, never>;
31
+ }
32
+ //# sourceMappingURL=library-list.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/library-list/library-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AAG7G,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,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;;AAG9E,qBAMa,oBAAqB,YAAW,MAAM,EAAE,SAAS;IASzC,aAAa,EAAE,aAAa;IAAS,gBAAgB,EAAE,sBAAsB;IAC7E,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,gBAAgB;IATlE,WAAW,MAAC;IACZ,gBAAgB,EAAE,GAAG,CAAC;IACrB,kBAAkB,oBAA2B;IAC7C,SAAS,oBAA2B;IACrC,eAAe,EAAE,GAAG,CAAC;IACvB,WAAW,UAAS;IACpB,YAAY,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAuB;gBAClB,aAAa,EAAE,aAAa,EAAS,gBAAgB,EAAE,sBAAsB,EAC7E,aAAa,EAAE,aAAa,EAAU,gBAAgB,EAAE,gBAAgB;IAE3F,QAAQ;IAIR,WAAW;IAKX,sBAAsB;IAmBtB,eAAe,CAAC,eAAe,EAAE,GAAG;IAIpC,YAAY;IAMZ,wBAAwB;IAMxB,eAAe;IAOf,YAAY;yCA/DD,oBAAoB;2CAApB,oBAAoB;CAuEhC"}
@@ -0,0 +1,24 @@
1
+ import { OnInit, EventEmitter, OnDestroy } 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 { FrameworkService } from '../../services/framework/framework.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LibraryPlayerComponent implements OnInit, OnDestroy {
8
+ telemetryService: EditorTelemetryService;
9
+ editorService: EditorService;
10
+ configService: ConfigService;
11
+ private frameworkService;
12
+ contentListDetails: any;
13
+ moveEvent: EventEmitter<any>;
14
+ categoryCode: string;
15
+ private destroy$;
16
+ constructor(telemetryService: EditorTelemetryService, editorService: EditorService, configService: ConfigService, frameworkService: FrameworkService);
17
+ ngOnInit(): void;
18
+ ngOnDestroy(): void;
19
+ getFrameworkCategories(): void;
20
+ addToLibrary(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibraryPlayerComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibraryPlayerComponent, "lib-library-player", never, { "contentListDetails": { "alias": "contentListDetails"; "required": false; }; }, { "moveEvent": "moveEvent"; }, never, never, false, never>;
23
+ }
24
+ //# sourceMappingURL=library-player.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-player.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/library-player/library-player.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1F,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,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;;AAE9E,qBAKa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAK3C,gBAAgB,EAAE,sBAAsB;IAAS,aAAa,EAAE,aAAa;IAC7E,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,gBAAgB;IALlE,kBAAkB,MAAC;IAClB,SAAS,oBAA2B;IACvC,YAAY,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAuB;gBAClB,gBAAgB,EAAE,sBAAsB,EAAS,aAAa,EAAE,aAAa,EAC7E,aAAa,EAAE,aAAa,EAAU,gBAAgB,EAAE,gBAAgB;IAE3F,QAAQ;IAIR,WAAW;IAKX,sBAAsB;IAkBtB,YAAY;yCAnCD,sBAAsB;2CAAtB,sBAAsB;CA2ClC"}
@@ -0,0 +1,75 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
3
+ import { ToasterService } from '../../services/toaster/toaster.service';
4
+ import { EditorService } from '../../services/editor/editor.service';
5
+ import { HelperService } from '../../services/helper/helper.service';
6
+ import { ConfigService } from '../../services/config/config.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ManageCollaboratorComponent implements OnInit {
9
+ helperService: HelperService;
10
+ toasterService: ToasterService;
11
+ configService: ConfigService;
12
+ editorService: EditorService;
13
+ telemetryService: EditorTelemetryService;
14
+ modalDismissEmitter: EventEmitter<any>;
15
+ private modal;
16
+ addCollaborator: any;
17
+ collectionId: any;
18
+ showCollaborationPopup: boolean;
19
+ contentCollaborators: any;
20
+ contentOwner: any;
21
+ creatorAndCollaboratorsIds: any;
22
+ selectedUsers: any[];
23
+ selectedcollaborators: any[];
24
+ users: any[];
25
+ collaborators: any[];
26
+ manageCollaboratorTabVisit: number;
27
+ updatedCollaborators: any[];
28
+ isAddCollaboratorTab: boolean;
29
+ searchKeyword: string;
30
+ searchRes: {
31
+ count: number;
32
+ content: any[];
33
+ isEmptyResponse: boolean;
34
+ errorMessage: string;
35
+ searchStatus: string;
36
+ };
37
+ userSearchBody: {
38
+ request: {
39
+ query: string;
40
+ filters: {
41
+ 'organisations.roles': string;
42
+ rootOrgId: string;
43
+ };
44
+ fields: string[];
45
+ offset: number;
46
+ limit: number;
47
+ };
48
+ };
49
+ isContentOwner: boolean;
50
+ isRootOrgAdmin: boolean;
51
+ currentUser: any;
52
+ allUsersCount: number;
53
+ constructor(helperService: HelperService, toasterService: ToasterService, configService: ConfigService, editorService: EditorService, telemetryService: EditorTelemetryService);
54
+ ngOnInit(): void;
55
+ setCreatorAndCollaborators(): void;
56
+ checkUserRole(): void;
57
+ dismissCollaborationPopup(): void;
58
+ getAllUserList(): void;
59
+ excludeCreatorAndCollaborators(allUsers: any): any;
60
+ toggleSelectionUser(userIdentifier: any): void;
61
+ toggleSelectionCollaborator(userIdentifier: any): void;
62
+ addRemoveCollaboratorToCourse(modal: any): void;
63
+ getAllusers(): void;
64
+ getCollaborators(): void;
65
+ sortUsersList(value: any): void;
66
+ searchByKeyword(): void;
67
+ resetSearch(): void;
68
+ refreshSearch(): void;
69
+ validateEmail(email: any): boolean;
70
+ selectUser(user: any): void;
71
+ viewAllResults(): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<ManageCollaboratorComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<ManageCollaboratorComponent, "lib-manage-collaborator", never, { "addCollaborator": { "alias": "addCollaborator"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; }, { "modalDismissEmitter": "modalDismissEmitter"; }, never, never, false, never>;
74
+ }
75
+ //# sourceMappingURL=manage-collaborator.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manage-collaborator.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/manage-collaborator/manage-collaborator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAGrE,qBAKa,2BAA4B,YAAW,MAAM;IAoC/C,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,cAAc;IAC9B,aAAa,EAAE,aAAa;IAC5B,aAAa,EAAE,aAAa;IAC5B,gBAAgB,EAAE,sBAAsB;IAvCvC,mBAAmB,oBAA2B;IACpC,OAAO,CAAC,KAAK,CAAC;IACzB,eAAe,MAAC;IAChB,YAAY,MAAC;IACf,sBAAsB,EAAE,OAAO,CAAC;IAChC,oBAAoB,EAAE,GAAG,CAAC;IAC1B,YAAY,MAAC;IACb,0BAA0B,MAAC;IAC3B,aAAa,QAAM;IACnB,qBAAqB,QAAM;IAC3B,KAAK,QAAM;IACX,aAAa,QAAM;IACnB,0BAA0B,SAAK;IAC/B,oBAAoB,QAAM;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,SAAM;IACnB,SAAS;;;;;;MAA8F;IACvG,cAAc;;;;;;;;;;;MAWnB;IACK,cAAc,UAAS;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,SAAK;gBAGhB,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,sBAAsB;IAGjD,QAAQ;IASR,0BAA0B;IAS1B,aAAa;IAab,yBAAyB;IAKzB,cAAc;IAed,8BAA8B,CAAC,QAAQ,KAAA;IAMvC,mBAAmB,CAAC,cAAc,KAAA;IAiBlC,2BAA2B,CAAC,cAAc,KAAA;IAiB1C,6BAA6B,CAAC,KAAK,KAAA;IAmBnC,WAAW;IAKX,gBAAgB;IAsBhB,aAAa,CAAC,KAAK,KAAA;IAQnB,eAAe;IAiCf,WAAW;IAKX,aAAa;IAKb,aAAa,CAAC,KAAK,KAAA;IAMnB,UAAU,CAAC,IAAI,KAAA;IAaf,cAAc;yCA1PH,2BAA2B;2CAA3B,2BAA2B;CA6PvC"}
@@ -0,0 +1,51 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { TreeService } from '../../services/tree/tree.service';
4
+ import { EditorService } from '../../services/editor/editor.service';
5
+ import { FrameworkService } from '../../services/framework/framework.service';
6
+ import { HelperService } from '../../services/helper/helper.service';
7
+ import { FormControl, FormGroup } from '@angular/forms';
8
+ import { ConfigService } from '../../services/config/config.service';
9
+ import { ToasterService } from '../../services/toaster/toaster.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare class MetaFormComponent implements OnInit, OnChanges, OnDestroy {
12
+ private editorService;
13
+ treeService: TreeService;
14
+ frameworkService: FrameworkService;
15
+ private helperService;
16
+ private configService;
17
+ private toasterService;
18
+ rootFormConfig: any;
19
+ unitFormConfig: any;
20
+ nodeMetadata: any;
21
+ toolbarEmitter: EventEmitter<any>;
22
+ private onComponentDestroy$;
23
+ frameworkDetails: any;
24
+ formFieldProperties: any;
25
+ showAppIcon: boolean;
26
+ appIconConfig: any;
27
+ appIcon: any;
28
+ previousShuffleValue: boolean;
29
+ subscription: Subscription;
30
+ constructor(editorService: EditorService, treeService: TreeService, frameworkService: FrameworkService, helperService: HelperService, configService: ConfigService, toasterService: ToasterService);
31
+ ngOnInit(): void;
32
+ ngOnChanges(): void;
33
+ setAppIconData(): void;
34
+ setShuffleValue(value: any): void;
35
+ showShuffleMessage(event: any): void;
36
+ fetchFrameWorkDetails(): void;
37
+ attachDefaultValues(): void;
38
+ isReviewMode(): any;
39
+ ifFieldIsEditable(fieldCode: any): boolean;
40
+ outputData(eventData: any): void;
41
+ onStatusChanges(event: any): void;
42
+ appIconDataHandler(event: any): void;
43
+ showTimer(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): import("rxjs").Observable<boolean>;
44
+ getFramework(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): any;
45
+ valueChanges(event: any): void;
46
+ createLeavels(levels: any): {};
47
+ ngOnDestroy(): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormComponent, "lib-meta-form", never, { "rootFormConfig": { "alias": "rootFormConfig"; "required": false; }; "unitFormConfig": { "alias": "unitFormConfig"; "required": false; }; "nodeMetadata": { "alias": "nodeMetadata"; "required": false; }; }, { "toolbarEmitter": "toolbarEmitter"; }, never, never, false, never>;
50
+ }
51
+ //# sourceMappingURL=meta-form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-form.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/meta-form/meta-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,SAAS,EAAE,MAAM,EAA6B,MAAM,eAAe,CAAC;AACxH,OAAO,EAAsB,YAAY,EAAE,MAAM,MAAM,CAAC;AAGxD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;;AAIxE,qBAMa,iBAAkB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAaxD,OAAO,CAAC,aAAa;IAAwB,WAAW,EAAE,WAAW;IAC9D,gBAAgB,EAAE,gBAAgB;IAAE,OAAO,CAAC,aAAa;IAChE,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,cAAc;IAd/D,cAAc,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,GAAG,CAAC;IACpB,YAAY,EAAE,GAAG,CAAC;IACjB,cAAc,oBAA2B;IACnD,OAAO,CAAC,mBAAmB,CAAsB;IAC1C,gBAAgB,EAAE,GAAG,CAAM;IAC3B,mBAAmB,EAAE,GAAG,CAAC;IACzB,WAAW,UAAS;IACpB,aAAa,EAAE,GAAG,CAAC;IACnB,OAAO,EAAE,GAAG,CAAC;IACb,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,YAAY,CAAC;gBACd,aAAa,EAAE,aAAa,EAAS,WAAW,EAAE,WAAW,EAC9D,gBAAgB,EAAE,gBAAgB,EAAU,aAAa,EAAE,aAAa,EACvE,aAAa,EAAE,aAAa,EAAU,cAAc,EAAE,cAAc;IAIxF,QAAQ;IAIR,WAAW;IAQX,cAAc;IAoBd,eAAe,CAAC,KAAK,KAAA;IAMrB,kBAAkB,CAAC,KAAK,KAAA;IAQxB,qBAAqB;IAwCrB,mBAAmB;IAyKnB,YAAY;IAGZ,iBAAiB,CAAC,SAAS,KAAA;IAW3B,UAAU,CAAC,SAAS,EAAE,GAAG;IAEzB,eAAe,CAAC,KAAK,KAAA;IAIrB,kBAAkB,CAAC,KAAK,KAAA;IAKxB,SAAS,CAAC,OAAO,KAAA,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,KAAA,EAAE,MAAM,KAAA;IAsBhF,YAAY,CAAC,OAAO,KAAA,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,KAAA,EAAE,MAAM,KAAA;IAiBnF,YAAY,CAAC,KAAK,EAAE,GAAG;IA4BvB,aAAa,CAAC,MAAM,KAAA;IAWpB,WAAW;yCAzXA,iBAAiB;2CAAjB,iBAAiB;CAgY7B"}
@@ -0,0 +1,53 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
3
+ import { ConfigService } from '../../services/config/config.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class OptionsComponent implements OnInit {
6
+ telemetryService: EditorTelemetryService;
7
+ configService: ConfigService;
8
+ editorState: any;
9
+ showFormError: any;
10
+ sourcingSettings: any;
11
+ isReadOnlyMode: boolean;
12
+ showSubMenu: boolean;
13
+ parentMeta: any;
14
+ editorDataOutput: EventEmitter<any>;
15
+ setCharacterLimit: number;
16
+ setImageLimit: number;
17
+ templateType: string;
18
+ subMenus: any[];
19
+ mapping: any;
20
+ constructor(telemetryService: EditorTelemetryService, configService: ConfigService);
21
+ ngOnInit(): void;
22
+ editorDataHandler(event?: any): void;
23
+ prepareMcqBody(editorState: any): any;
24
+ getResponseDeclaration(editorState: any): {
25
+ response1: {
26
+ maxScore: number;
27
+ cardinality: string;
28
+ type: string;
29
+ correctResponse: {
30
+ value: any;
31
+ outcomes: {
32
+ SCORE: number;
33
+ };
34
+ };
35
+ };
36
+ };
37
+ getInteractions(options: any): {
38
+ response1: {
39
+ type: string;
40
+ options: any;
41
+ };
42
+ };
43
+ setTemplete(template: any): void;
44
+ subMenuChange({ index, value }: {
45
+ index: any;
46
+ value: any;
47
+ }, optionIndex: any): void;
48
+ subMenuConfig(options: any): void;
49
+ setScore(value: any, scoreIndex: any): void;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionsComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionsComponent, "lib-options", never, { "editorState": { "alias": "editorState"; "required": false; }; "showFormError": { "alias": "showFormError"; "required": false; }; "sourcingSettings": { "alias": "sourcingSettings"; "required": false; }; "isReadOnlyMode": { "alias": "isReadOnlyMode"; "required": false; }; "showSubMenu": { "alias": "showSubMenu"; "required": false; }; "parentMeta": { "alias": "parentMeta"; "required": false; }; }, { "editorDataOutput": "editorDataOutput"; }, never, never, false, never>;
52
+ }
53
+ //# sourceMappingURL=options.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/options/options.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,YAAY,EAA6B,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AACrE,qBAKa,gBAAiB,YAAW,MAAM;IAa1B,gBAAgB,EAAE,sBAAsB;IAAS,aAAa,EAAE,aAAa;IAZvF,WAAW,EAAE,GAAG,CAAC;IACjB,aAAa,MAAC;IACd,gBAAgB,EAAE,GAAG,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,CAAS;IAC7B,UAAU,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;IACjE,iBAAiB,SAAO;IACxB,aAAa,SAAK;IAClB,YAAY,SAAkB;IAC9B,QAAQ,EAAE,GAAG,EAAE,CAAM;IACrB,OAAO,EAAE,GAAG,CAAM;gBACN,gBAAgB,EAAE,sBAAsB,EAAS,aAAa,EAAE,aAAa;IAEhG,QAAQ;IAOR,iBAAiB,CAAC,KAAK,CAAC,KAAA;IAKxB,cAAc,CAAC,WAAW,KAAA;IA2B1B,sBAAsB,CAAC,WAAW,KAAA;;;;;;;;;;;;;IAelC,eAAe,CAAC,OAAO,KAAA;;;;;;IAevB,WAAW,CAAC,QAAQ,KAAA;IAKpB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE;;;KAAA,EAAE,WAAW,KAAA;IAI3C,aAAa,CAAC,OAAO,KAAA;IAkBrB,QAAQ,CAAC,KAAK,KAAA,EAAE,UAAU,KAAA;yCA/Gf,gBAAgB;2CAAhB,gBAAgB;CAyH5B"}
@@ -0,0 +1,20 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import 'jquery.fancytree';
3
+ import { EditorService } from '../../services/editor/editor.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PlainTreeComponent implements OnInit, AfterViewInit {
6
+ private editorService;
7
+ tree: ElementRef;
8
+ treeData: any;
9
+ treeEmitter: EventEmitter<any>;
10
+ constructor(editorService: EditorService);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ renderTree(options: any): void;
14
+ buildTreeData(data: any): any[];
15
+ getQuestionsList(data: any): void;
16
+ getTreeConfig(): any;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlainTreeComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlainTreeComponent, "lib-plain-tree", never, { "treeData": { "alias": "treeData"; "required": false; }; }, { "treeEmitter": "treeEmitter"; }, never, never, false, never>;
19
+ }
20
+ //# sourceMappingURL=plain-tree.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plain-tree.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/plain-tree/plain-tree.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAIrE,qBAKa,kBAAmB,YAAW,MAAM,EAAE,aAAa;IAKlD,OAAO,CAAC,aAAa;IAJF,IAAI,EAAE,UAAU,CAAC;IACvC,QAAQ,MAAC;IACR,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,CAA2B;gBAE/C,aAAa,EAAE,aAAa;IAEhD,QAAQ,IAAI,IAAI;IAEhB,eAAe;IAIf,UAAU,CAAC,OAAO,KAAA;IAIlB,aAAa,CAAC,IAAI,KAAA;IA8BlB,gBAAgB,CAAC,IAAI,KAAA;IAOrB,aAAa;yCAtDF,kBAAkB;2CAAlB,kBAAkB;CAwH9B"}
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { EditorService } from '../../services/editor/editor.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ProgressStatusComponent implements OnInit {
5
+ private editorService;
6
+ toolbarConfig: any;
7
+ pageId: string;
8
+ data: {
9
+ criteria: string;
10
+ maxScore: number;
11
+ minScore: number;
12
+ questionsCreated: number;
13
+ isExpanded: boolean;
14
+ }[];
15
+ expandedElement: string;
16
+ assignPageEmitter: EventEmitter<any>;
17
+ constructor(editorService: EditorService);
18
+ ngOnInit(): void;
19
+ toolbarEventListener(event: any): void;
20
+ redirectToQuestionSet(): void;
21
+ expand(event: any): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressStatusComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressStatusComponent, "lib-progress-status", never, {}, { "assignPageEmitter": "assignPageEmitter"; }, never, never, false, never>;
24
+ }
25
+ //# sourceMappingURL=progress-status.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-status.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/progress-status/progress-status.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,qBAKa,uBAAwB,YAAW,MAAM;IAUxC,OAAO,CAAC,aAAa;IATjC,aAAa,EAAE,GAAG,CAAM;IACxB,MAAM,SAAoB;IAC1B,IAAI;;;;;;QAGkG;IACtG,eAAe,SAAI;IACT,iBAAiB,oBAA2B;gBAElC,aAAa,EAAE,aAAa;IAEhD,QAAQ,IAAI,IAAI;IAKhB,oBAAoB,CAAC,KAAK,KAAA;IAU1B,qBAAqB;IAIrB,MAAM,CAAC,KAAK,KAAA;yCA/BD,uBAAuB;2CAAvB,uBAAuB;CAmCnC"}
@@ -0,0 +1,23 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { EditorTelemetryService } from '../../services/telemetry/telemetry.service';
3
+ import { ConfigService } from '../../services/config/config.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PublishChecklistComponent implements OnInit {
6
+ telemetryService: EditorTelemetryService;
7
+ configService: ConfigService;
8
+ publishchecklist: any;
9
+ actionType: any;
10
+ publishEmitter: EventEmitter<any>;
11
+ isButtonEnable: boolean;
12
+ fieldsAvailable: any;
13
+ isClosable: boolean;
14
+ constructor(telemetryService: EditorTelemetryService, configService: ConfigService);
15
+ ngOnInit(): void;
16
+ handlePopUpEvents(type: any, modal: any): void;
17
+ outputData(eventData: any): void;
18
+ onStatusChanges(event: any): void;
19
+ valueChanges(event: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PublishChecklistComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PublishChecklistComponent, "lib-publish-checklist", never, { "publishchecklist": { "alias": "publishchecklist"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; }, { "publishEmitter": "publishEmitter"; }, never, never, false, never>;
22
+ }
23
+ //# sourceMappingURL=publish-checklist.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publish-checklist.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/publish-checklist/publish-checklist.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAiB,YAAY,EAAqB,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;;AAErE,qBAMa,yBAA0B,YAAW,MAAM;IAQ7C,gBAAgB,EAAE,sBAAsB;IACxC,aAAa,EAAE,aAAa;IAR5B,gBAAgB,EAAE,GAAG,CAAC;IACtB,UAAU,EAAE,GAAG,CAAC;IACf,cAAc,oBAA2B;IAC5C,cAAc,UAAS;IACvB,eAAe,EAAE,GAAG,CAAC;IACrB,UAAU,UAAS;gBAEjB,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,aAAa;IAErC,QAAQ,IAAI,IAAI;IAIhB,iBAAiB,CAAC,IAAI,KAAA,EAAE,KAAK,KAAA;IAuB7B,UAAU,CAAC,SAAS,EAAE,GAAG;IAEzB,eAAe,CAAC,KAAK,KAAA;IAIrB,YAAY,CAAC,KAAK,EAAE,GAAG;yCA5CZ,yBAAyB;2CAAzB,yBAAyB;CA+CrC"}
@@ -0,0 +1,24 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ConfigService } from '../../services/config/config.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class QualityParamsModalComponent implements OnInit {
5
+ configService: ConfigService;
6
+ qualityFormConfig: any;
7
+ showQualityParameterPopup: boolean;
8
+ qualityParamChanged: EventEmitter<any>;
9
+ labelConfigData: any;
10
+ formData: any;
11
+ isApprovalBtnEnable: boolean;
12
+ isRequestChangeBtnEnable: boolean;
13
+ totalScoreValue: number;
14
+ constructor(configService: ConfigService);
15
+ ngOnInit(): void;
16
+ onStatusChanges(event: any): void;
17
+ valueChanges(event: any): void;
18
+ submitApproval(): void;
19
+ requestChanges(): void;
20
+ onModalClose(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<QualityParamsModalComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<QualityParamsModalComponent, "lib-quality-params-modal", never, { "qualityFormConfig": { "alias": "qualityFormConfig"; "required": false; }; "showQualityParameterPopup": { "alias": "showQualityParameterPopup"; "required": false; }; "labelConfigData": { "alias": "labelConfigData"; "required": false; }; }, { "qualityParamChanged": "qualityParamChanged"; }, never, never, false, never>;
23
+ }
24
+ //# sourceMappingURL=quality-params-modal.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quality-params-modal.component.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/components/quality-params-modal/quality-params-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;;AAEnE,qBAKa,2BAA4B,YAAW,MAAM;IAUnC,aAAa,EAAE,aAAa;IATtC,iBAAiB,EAAE,GAAG,CAAC;IACvB,yBAAyB,EAAE,OAAO,CAAC;IAClC,mBAAmB,oBAA2B;IAC/C,eAAe,EAAE,GAAG,CAAC;IAC9B,QAAQ,EAAE,GAAG,CAAC;IACd,mBAAmB,EAAE,OAAO,CAAC;IAC7B,wBAAwB,EAAE,OAAO,CAAC;IAClC,eAAe,SAAK;gBAED,aAAa,EAAE,aAAa;IAG/C,QAAQ,IAAI,IAAI;IAGhB,eAAe,CAAC,KAAK,KAAA;IAKrB,YAAY,CAAC,KAAK,KAAA;IAUlB,cAAc;IAId,cAAc;IAId,YAAY;yCAvCH,2BAA2B;2CAA3B,2BAA2B;CA0CvC"}