@deeksha2309/sunbird-collection-editor 8.0.7 → 8.0.8
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/deeksha2309-sunbird-collection-editor.d.ts.map +1 -0
- package/esm2022/deeksha2309-sunbird-collection-editor.mjs +5 -0
- package/esm2022/lib/collection-editor-library.module.mjs +30 -6
- package/esm2022/lib/components/answer/answer.component.mjs +6 -3
- package/esm2022/lib/components/app-loader/app-loader.component.mjs +30 -0
- package/esm2022/lib/components/asset-browser/asset-browser.component.mjs +30 -12
- package/esm2022/lib/components/assign-page-number/assign-page-number.component.mjs +1 -1
- package/esm2022/lib/components/bulk-upload/bulk-upload.component.mjs +447 -0
- package/esm2022/lib/components/ckeditor-tool/ckeditor-tool.component.mjs +30 -12
- package/esm2022/lib/components/collection-icon/collection-icon.component.mjs +3 -3
- package/esm2022/lib/components/csv-upload/csv-upload.component.mjs +2 -2
- package/esm2022/lib/components/editor/editor.component.mjs +143 -64
- package/esm2022/lib/components/fancy-tree/fancy-tree.component.mjs +91 -9
- package/esm2022/lib/components/header/header.component.mjs +27 -9
- package/esm2022/lib/components/library/library.component.mjs +4 -4
- package/esm2022/lib/components/library-list/library-list.component.mjs +4 -4
- package/esm2022/lib/components/library-player/library-player.component.mjs +4 -4
- package/esm2022/lib/components/meta-form/meta-form.component.mjs +10 -18
- package/esm2022/lib/components/options/options.component.mjs +40 -27
- package/esm2022/lib/components/progress-status/progress-status.component.mjs +1 -1
- package/esm2022/lib/components/publish-checklist/publish-checklist.component.mjs +6 -3
- package/esm2022/lib/components/question/question.component.mjs +185 -77
- package/esm2022/lib/components/question-option-sub-menu/question-option-sub-menu.component.mjs +36 -0
- package/esm2022/lib/components/quml-player/quml-player.component.mjs +2 -2
- package/esm2022/lib/components/qumlplayer-page/qumlplayer-page.component.mjs +3 -3
- package/esm2022/lib/components/relational-metadata/relational-metadata.component.mjs +80 -0
- package/esm2022/lib/components/resource-reorder/resource-reorder.component.mjs +3 -3
- package/esm2022/lib/components/slider/slider.component.mjs +46 -0
- package/esm2022/lib/components/template/template.component.mjs +3 -3
- package/esm2022/lib/components/translations/translations.component.mjs +132 -0
- package/esm2022/lib/directives/date-format/date-format.pipe.mjs +34 -0
- package/esm2022/lib/interfaces/CreationContext.mjs +2 -0
- package/esm2022/lib/interfaces/editor.mjs +1 -1
- package/esm2022/lib/interfaces/loader.mjs +2 -0
- package/esm2022/lib/pipes/interpolate.pipe.mjs +17 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +6 -8
- package/esm2022/lib/services/bulk-job/bulk-job.service.mjs +67 -0
- package/esm2022/lib/services/config/category.config.json +1 -0
- package/esm2022/lib/services/config/editor.config.json +29 -2
- package/esm2022/lib/services/config/label.config.json +16 -3
- package/esm2022/lib/services/config/player.config.json +3 -0
- package/esm2022/lib/services/config/url.config.json +17 -1
- package/esm2022/lib/services/editor/editor.service.mjs +64 -26
- package/esm2022/lib/services/question/question.service.mjs +27 -35
- package/esm2022/lib/services/tree/tree.service.mjs +20 -5
- package/fesm2022/{project-sunbird-sunbird-collection-editor.mjs → deeksha2309-sunbird-collection-editor.mjs} +1779 -483
- package/fesm2022/deeksha2309-sunbird-collection-editor.mjs.map +1 -0
- package/index.d.ts +2 -2
- package/lib/collection-editor-library.module.d.ts +51 -43
- package/lib/collection-editor-library.module.d.ts.map +1 -1
- package/lib/components/answer/answer.component.d.ts +2 -1
- package/lib/components/answer/answer.component.d.ts.map +1 -1
- package/lib/components/app-loader/app-loader.component.d.ts +18 -0
- package/lib/components/app-loader/app-loader.component.d.ts.map +1 -0
- package/lib/components/asset-browser/asset-browser.component.d.ts.map +1 -1
- package/lib/components/bulk-upload/bulk-upload.component.d.ts +71 -0
- package/lib/components/bulk-upload/bulk-upload.component.d.ts.map +1 -0
- package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts +1 -1
- package/lib/components/ckeditor-tool/ckeditor-tool.component.d.ts.map +1 -1
- package/lib/components/editor/editor.component.d.ts +11 -7
- package/lib/components/editor/editor.component.d.ts.map +1 -1
- package/lib/components/fancy-tree/fancy-tree.component.d.ts +11 -3
- package/lib/components/fancy-tree/fancy-tree.component.d.ts.map +1 -1
- package/lib/components/header/header.component.d.ts +6 -2
- package/lib/components/header/header.component.d.ts.map +1 -1
- package/lib/components/library/library.component.d.ts +1 -1
- package/lib/components/library/library.component.d.ts.map +1 -1
- package/lib/components/meta-form/meta-form.component.d.ts +3 -4
- package/lib/components/meta-form/meta-form.component.d.ts.map +1 -1
- package/lib/components/options/options.component.d.ts +15 -7
- package/lib/components/options/options.component.d.ts.map +1 -1
- package/lib/components/publish-checklist/publish-checklist.component.d.ts +2 -1
- package/lib/components/publish-checklist/publish-checklist.component.d.ts.map +1 -1
- package/lib/components/question/question.component.d.ts +21 -28
- package/lib/components/question/question.component.d.ts.map +1 -1
- package/lib/components/question-option-sub-menu/question-option-sub-menu.component.d.ts +27 -0
- package/lib/components/question-option-sub-menu/question-option-sub-menu.component.d.ts.map +1 -0
- package/lib/components/relational-metadata/relational-metadata.component.d.ts +25 -0
- package/lib/components/relational-metadata/relational-metadata.component.d.ts.map +1 -0
- package/lib/components/slider/slider.component.d.ts +25 -0
- package/lib/components/slider/slider.component.d.ts.map +1 -0
- package/lib/components/translations/translations.component.d.ts +70 -0
- package/lib/components/translations/translations.component.d.ts.map +1 -0
- package/lib/directives/date-format/date-format.pipe.d.ts +20 -0
- package/lib/directives/date-format/date-format.pipe.d.ts.map +1 -0
- package/lib/interfaces/CreationContext.d.ts +11 -0
- package/lib/interfaces/CreationContext.d.ts.map +1 -0
- package/lib/interfaces/editor.d.ts +10 -5
- package/lib/interfaces/editor.d.ts.map +1 -1
- package/lib/interfaces/loader.d.ts +11 -0
- package/lib/interfaces/loader.d.ts.map +1 -0
- package/lib/pipes/interpolate.pipe.d.ts +8 -0
- package/lib/pipes/interpolate.pipe.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +4 -4
- package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -1
- package/lib/services/bulk-job/bulk-job.service.d.ts +17 -0
- package/lib/services/bulk-job/bulk-job.service.d.ts.map +1 -0
- package/lib/services/editor/editor.service.d.ts +7 -4
- package/lib/services/editor/editor.service.d.ts.map +1 -1
- package/lib/services/question/question.service.d.ts +2 -2
- package/lib/services/question/question.service.d.ts.map +1 -1
- package/lib/services/tree/tree.service.d.ts +3 -1
- package/lib/services/tree/tree.service.d.ts.map +1 -1
- package/package.json +5 -5
- package/esm2022/project-sunbird-sunbird-collection-editor.mjs +0 -5
- package/fesm2022/project-sunbird-sunbird-collection-editor.mjs.map +0 -1
- package/project-sunbird-sunbird-collection-editor.d.ts.map +0 -1
|
@@ -10,6 +10,7 @@ import { DataService } from '../data/data.service';
|
|
|
10
10
|
import { HttpClient } from '@angular/common/http';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
interface SelectedChildren {
|
|
13
|
+
label?: string;
|
|
13
14
|
primaryCategory?: string;
|
|
14
15
|
mimeType?: string;
|
|
15
16
|
interactionType?: string;
|
|
@@ -58,15 +59,18 @@ export declare class EditorService {
|
|
|
58
59
|
setIsReviewModificationAllowed(value: boolean): boolean;
|
|
59
60
|
get contentPolicyUrl(): any;
|
|
60
61
|
getToolbarConfig(): any;
|
|
62
|
+
nextBulkUploadStatus(status: any): void;
|
|
61
63
|
emitshowLibraryPageEvent(page: any): void;
|
|
62
64
|
getshowLibraryPageEmitter(): EventEmitter<any>;
|
|
65
|
+
emitshowQuestionLibraryPageEvent(page: any): void;
|
|
66
|
+
getshowQuestionLibraryPageEmitter(): EventEmitter<any>;
|
|
63
67
|
getQuestionList(questionIds: string[]): Observable<any>;
|
|
64
68
|
fetchCollectionHierarchy(collectionId: any): Observable<any>;
|
|
65
69
|
readQuestionSet(questionSetId: any, option?: any): Observable<any>;
|
|
66
70
|
fetchContentDetails(contentId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
67
71
|
updateHierarchy(): Observable<any>;
|
|
68
72
|
getFieldsToUpdate(collectionId: any): {};
|
|
69
|
-
updateCollection(collectionId: any,
|
|
73
|
+
updateCollection(collectionId: any, event?: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
70
74
|
reviewContent(contentId: any): Observable<any>;
|
|
71
75
|
submitRequestChanges(contentId: any, comment: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
72
76
|
publishContent(contentId: any, event: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
@@ -81,8 +85,7 @@ export declare class EditorService {
|
|
|
81
85
|
nodesModified: {};
|
|
82
86
|
hierarchy: any;
|
|
83
87
|
};
|
|
84
|
-
|
|
85
|
-
getHierarchyObj(data: any, questionId?: any, selectUnitId?: any, parentIdentifier?: any): any;
|
|
88
|
+
getHierarchyObj(data: any, questionId?: any, selectUnitId?: any, parentId?: any): any;
|
|
86
89
|
_toFlatObjFromHierarchy(data: any): any;
|
|
87
90
|
getRelationalMetadataObj(data: any): {};
|
|
88
91
|
getCategoryDefinition(categoryName: any, channel: any, objectType?: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
@@ -92,7 +95,7 @@ export declare class EditorService {
|
|
|
92
95
|
apiErrorHandling(err: any, errorInfo: any): void;
|
|
93
96
|
getContentChildrens(activeNode?: any): any[];
|
|
94
97
|
contentsCountAddedInLibraryPage(setToZero?: any): void;
|
|
95
|
-
checkIfContentsCanbeAdded(): boolean;
|
|
98
|
+
checkIfContentsCanbeAdded(buttonAction: any): boolean;
|
|
96
99
|
getHierarchyFolder(): any[];
|
|
97
100
|
validateCSVFile(formData: any, collectionnId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
98
101
|
downloadHierarchyCsv(collectionId: any): Observable<import("../../interfaces/serverResponse").ServerResponse>;
|
|
@@ -1 +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;;
|
|
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;;AAElD,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC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AA;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;yCAruBrB,aAAa;6CAAb,aAAa;CA8uBzB"}
|
|
@@ -14,6 +14,8 @@ export declare class QuestionService {
|
|
|
14
14
|
http: HttpClient;
|
|
15
15
|
constructor(dataService: DataService, http: HttpClient, configService: ConfigService, publicDataService: PublicDataService, editorService: EditorService);
|
|
16
16
|
readQuestion(questionId: any, leafFormConfigfields?: any): Observable<ServerResponse>;
|
|
17
|
+
upsertQuestion(questionId: any, questionBody: any): Observable<ServerResponse>;
|
|
18
|
+
updateQuestion(questionId: any, requestObj: any): Observable<ServerResponse>;
|
|
17
19
|
updateHierarchyQuestionCreate(hierarchyBody: any): Observable<ServerResponse>;
|
|
18
20
|
updateHierarchyQuestionUpdate(hierarchyBody: any): Observable<ServerResponse>;
|
|
19
21
|
getAssetMedia(req?: object): Observable<ServerResponse>;
|
|
@@ -22,8 +24,6 @@ export declare class QuestionService {
|
|
|
22
24
|
generatePreSignedUrl(req: any, contentId: any): Observable<ServerResponse>;
|
|
23
25
|
getVideo(videoId: any): Observable<ServerResponse>;
|
|
24
26
|
getQuestionList(req: any, field?: any): Observable<ServerResponse>;
|
|
25
|
-
updateQuestion(questionId: any, requestBody: any): Observable<ServerResponse>;
|
|
26
|
-
upsertQuestion(questionId: any, requestBody: any): Observable<ServerResponse>;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionService, never>;
|
|
28
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<QuestionService>;
|
|
29
29
|
}
|
|
@@ -1 +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,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
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,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;;AACzD,qBAGa,eAAe;IAEP,WAAW,EAAE,WAAW;IAAoB,OAAO,CAAC,aAAa;IACxE,OAAO,CAAC,iBAAiB;IAAqB,OAAO,CAAC,aAAa;IAFxE,IAAI,EAAE,UAAU,CAAC;gBACL,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAU,aAAa,EAAE,aAAa,EAC/E,iBAAiB,EAAE,iBAAiB,EAAU,aAAa,EAAE,aAAa;IAI9F,YAAY,CAAC,UAAU,KAAA,EAAE,oBAAoB,CAAC,KAAA;IAa9C,cAAc,CAAC,UAAU,KAAA,EAAE,YAAY,KAAA;IAYvC,cAAc,CAAC,UAAU,KAAA,EAAE,UAAU,KAAA;IAWrC,6BAA6B,CAAC,aAAa,KAAA,GAAG,UAAU,CAAC,cAAc,CAAC;IAaxE,6BAA6B,CAAC,aAAa,KAAA,GAAG,UAAU,CAAC,cAAc,CAAC;IAaxE,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM;IAqB1B,gBAAgB,CAAC,GAAG,CAAC,EAAE,MAAM;IAiB7B,WAAW,CAAC,GAAG,KAAA,EAAE,OAAO,EAAE,GAAG;IAS7B,oBAAoB,CAAC,GAAG,KAAA,EAAE,SAAS,EAAE,GAAG;IAUxC,QAAQ,CAAC,OAAO,KAAA;IAOhB,eAAe,CAAC,GAAG,KAAA,EAAE,KAAK,CAAC,EAAE,GAAG;yCArIrB,eAAe;6CAAf,eAAe;CAsJ3B"}
|
|
@@ -18,6 +18,7 @@ export declare class TreeService {
|
|
|
18
18
|
omitFalseyProps: any;
|
|
19
19
|
private _treeStatus$;
|
|
20
20
|
readonly treeStatus$: Observable<any>;
|
|
21
|
+
previousNode: any;
|
|
21
22
|
constructor(toasterService: ToasterService, helperService: HelperService, configService: ConfigService);
|
|
22
23
|
initialize(editorConfig: IEditorConfig): void;
|
|
23
24
|
nextTreeStatus(status: any): void;
|
|
@@ -30,14 +31,15 @@ export declare class TreeService {
|
|
|
30
31
|
removeNode(): void;
|
|
31
32
|
getTreeObject(): any;
|
|
32
33
|
getActiveNode(): any;
|
|
33
|
-
getParent(): any;
|
|
34
34
|
setActiveNode(node?: any): void;
|
|
35
|
+
getParent(): any;
|
|
35
36
|
getFirstChild(): any;
|
|
36
37
|
findNode(nodeId: any): any;
|
|
37
38
|
expandNode(nodeId: any): void;
|
|
38
39
|
replaceNodeId(identifiers: any): void;
|
|
39
40
|
getNodeById(id: any): any;
|
|
40
41
|
getChildren(): any[];
|
|
42
|
+
getLeafNodes(): any[];
|
|
41
43
|
highlightNode(nodeId: string, action: string): void;
|
|
42
44
|
setTreeCache(nodeId: any, metadata: any, activeNode?: any): void;
|
|
43
45
|
clearTreeCache(node?: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/tree/tree.service.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,CAAC;AAI1B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;;AACzD,qBAGa,WAAW;
|
|
1
|
+
{"version":3,"file":"tree.service.d.ts","sourceRoot":"","sources":["../../../../../projects/collection-editor-library/src/lib/services/tree/tree.service.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,CAAC;AAI1B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;;AACzD,qBAGa,WAAW;IAcV,OAAO,CAAC,cAAc;IAAkB,OAAO,CAAC,aAAa;IAAwB,aAAa,EAAE,aAAa;IAbtH,MAAM,EAAE,GAAG,CAAC;IACnB,SAAS;;;MAGP;IACF,iBAAiB,EAAE,GAAG,CAAC;IACvB,eAAe,EAAE,GAAG,CAAC;IAErB,OAAO,CAAC,YAAY,CAAuC;IAC3D,SAAgB,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,CACuC;IACnF,YAAY,EAAE,GAAG,CAAC;gBAEE,cAAc,EAAE,cAAc,EAAU,aAAa,EAAE,aAAa,EAAS,a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|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@project-sunbird/sunbird-epub-player-web-component": "^1.0.1",
|
|
16
16
|
"@project-sunbird/sunbird-video-player-web-component": "^1.0.1"
|
|
17
17
|
},
|
|
18
|
-
"module": "fesm2022/
|
|
18
|
+
"module": "fesm2022/deeksha2309-sunbird-collection-editor.mjs",
|
|
19
19
|
"typings": "index.d.ts",
|
|
20
20
|
"exports": {
|
|
21
21
|
"./package.json": {
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
".": {
|
|
25
25
|
"types": "./index.d.ts",
|
|
26
|
-
"esm2022": "./esm2022/
|
|
27
|
-
"esm": "./esm2022/
|
|
28
|
-
"default": "./fesm2022/
|
|
26
|
+
"esm2022": "./esm2022/deeksha2309-sunbird-collection-editor.mjs",
|
|
27
|
+
"esm": "./esm2022/deeksha2309-sunbird-collection-editor.mjs",
|
|
28
|
+
"default": "./fesm2022/deeksha2309-sunbird-collection-editor.mjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"sideEffects": false
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdC1zdW5iaXJkLXN1bmJpcmQtY29sbGVjdGlvbi1lZGl0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb2xsZWN0aW9uLWVkaXRvci1saWJyYXJ5L3NyYy9wcm9qZWN0LXN1bmJpcmQtc3VuYmlyZC1jb2xsZWN0aW9uLWVkaXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|