@sunbird-cb/utils 1.0.3 → 1.0.4

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 (245) hide show
  1. package/bundles/sunbird-cb-utils.umd.js +5078 -4904
  2. package/bundles/sunbird-cb-utils.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils.umd.min.js +1 -1
  4. package/bundles/sunbird-cb-utils.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/image-crop/image-crop.component.js +194 -194
  6. package/esm2015/lib/components/image-crop/image-crop.module.js +26 -26
  7. package/esm2015/lib/constants/features.enum.js +554 -554
  8. package/esm2015/lib/constants/instances.enum.js +4 -4
  9. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +86 -86
  10. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +14 -14
  11. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +37 -37
  12. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +14 -14
  13. package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +91 -91
  14. package/esm2015/lib/directives/image-responsive/image-responsive.module.js +14 -14
  15. package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +67 -67
  16. package/esm2015/lib/directives/in-view-port/in-view-port.module.js +14 -14
  17. package/esm2015/lib/directives/navigation/navigation.directive.js +38 -38
  18. package/esm2015/lib/directives/navigation/navigation.module.js +14 -14
  19. package/esm2015/lib/directives/permission/permission.directive.js +10 -10
  20. package/esm2015/lib/directives/permission/permission.module.js +14 -14
  21. package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  22. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +98 -98
  23. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +18 -18
  24. package/esm2015/lib/helpers/logout/logout.component.js +55 -55
  25. package/esm2015/lib/helpers/logout/logout.module.js +17 -17
  26. package/esm2015/lib/models/contentRating.model.js +12 -12
  27. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +12 -12
  28. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +58 -58
  29. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +14 -14
  30. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +32 -32
  31. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +14 -14
  32. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +42 -42
  33. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +14 -14
  34. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +59 -59
  35. package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +14 -14
  36. package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +15 -15
  37. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +14 -14
  38. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +29 -29
  39. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +14 -14
  40. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +11 -11
  41. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +14 -14
  42. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +24 -24
  43. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +14 -14
  44. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +16 -16
  45. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +14 -14
  46. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +30 -30
  47. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +14 -14
  48. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +15 -15
  49. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +14 -14
  50. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +17 -17
  51. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +14 -14
  52. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +15 -15
  53. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +14 -14
  54. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +34 -34
  55. package/esm2015/lib/resolvers/explore-detail.resolver.js +88 -88
  56. package/esm2015/lib/resolvers/marketing-offering.resolve.js +39 -39
  57. package/esm2015/lib/resolvers/page.constant.js +3 -3
  58. package/esm2015/lib/resolvers/page.model.js +46 -46
  59. package/esm2015/lib/resolvers/page.resolver.js +89 -89
  60. package/esm2015/lib/resolvers/resolver.model.js +5 -5
  61. package/esm2015/lib/services/auth-keycloak.service.js +225 -225
  62. package/esm2015/lib/services/auth-microsoft.service.js +195 -195
  63. package/esm2015/lib/services/card-content.model.js +30 -30
  64. package/esm2015/lib/services/configurations.model.js +508 -490
  65. package/esm2015/lib/services/configurations.service.js +103 -103
  66. package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
  67. package/esm2015/lib/services/event.model.js +163 -154
  68. package/esm2015/lib/services/event.service.js +53 -39
  69. package/esm2015/lib/services/logger.service.js +54 -54
  70. package/esm2015/lib/services/ms-office.model.js +7 -7
  71. package/esm2015/lib/services/subapplication-respond.service.js +224 -224
  72. package/esm2015/lib/services/telemetry.service.js +400 -278
  73. package/esm2015/lib/services/user-preference.model.js +28 -28
  74. package/esm2015/lib/services/user-preference.service.js +89 -89
  75. package/esm2015/lib/services/utility.service.js +99 -99
  76. package/esm2015/lib/services/value.service.js +30 -30
  77. package/esm2015/lib/services/widget-content.model.js +341 -341
  78. package/esm2015/lib/services/widget-content.service.js +191 -191
  79. package/esm2015/lib/services/widget-resolver.model.js +56 -56
  80. package/esm2015/lib/services/widget-search.model.js +125 -125
  81. package/esm2015/public-api.js +66 -66
  82. package/esm2015/sunbird-cb-utils.js +8 -8
  83. package/esm5/lib/components/image-crop/image-crop.component.js +199 -199
  84. package/esm5/lib/components/image-crop/image-crop.module.js +30 -30
  85. package/esm5/lib/constants/features.enum.js +554 -554
  86. package/esm5/lib/constants/instances.enum.js +4 -4
  87. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +104 -104
  88. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +18 -18
  89. package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +39 -39
  90. package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +18 -18
  91. package/esm5/lib/directives/image-responsive/image-responsive.directive.js +94 -94
  92. package/esm5/lib/directives/image-responsive/image-responsive.module.js +18 -18
  93. package/esm5/lib/directives/in-view-port/in-view-port.directive.js +72 -72
  94. package/esm5/lib/directives/in-view-port/in-view-port.module.js +18 -18
  95. package/esm5/lib/directives/navigation/navigation.directive.js +40 -40
  96. package/esm5/lib/directives/navigation/navigation.module.js +18 -18
  97. package/esm5/lib/directives/permission/permission.directive.js +13 -13
  98. package/esm5/lib/directives/permission/permission.module.js +18 -18
  99. package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  100. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +102 -102
  101. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +22 -22
  102. package/esm5/lib/helpers/logout/logout.component.js +61 -61
  103. package/esm5/lib/helpers/logout/logout.module.js +21 -21
  104. package/esm5/lib/models/contentRating.model.js +12 -12
  105. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +16 -16
  106. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +62 -62
  107. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +18 -18
  108. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +36 -36
  109. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +18 -18
  110. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +44 -44
  111. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
  112. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +63 -63
  113. package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +18 -18
  114. package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +19 -19
  115. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +18 -18
  116. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +37 -37
  117. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +18 -18
  118. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +15 -15
  119. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +18 -18
  120. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +29 -29
  121. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +18 -18
  122. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +20 -20
  123. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +18 -18
  124. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +34 -34
  125. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +18 -18
  126. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +17 -17
  127. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +18 -18
  128. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +33 -33
  129. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +18 -18
  130. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +19 -19
  131. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +18 -18
  132. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +37 -37
  133. package/esm5/lib/resolvers/explore-detail.resolver.js +92 -92
  134. package/esm5/lib/resolvers/marketing-offering.resolve.js +42 -42
  135. package/esm5/lib/resolvers/page.constant.js +3 -3
  136. package/esm5/lib/resolvers/page.model.js +46 -46
  137. package/esm5/lib/resolvers/page.resolver.js +97 -97
  138. package/esm5/lib/resolvers/resolver.model.js +5 -5
  139. package/esm5/lib/services/auth-keycloak.service.js +293 -293
  140. package/esm5/lib/services/auth-microsoft.service.js +250 -250
  141. package/esm5/lib/services/card-content.model.js +30 -30
  142. package/esm5/lib/services/configurations.model.js +508 -490
  143. package/esm5/lib/services/configurations.service.js +105 -105
  144. package/esm5/lib/services/content-strip-multiple.model.js +74 -74
  145. package/esm5/lib/services/event.model.js +163 -154
  146. package/esm5/lib/services/event.service.js +55 -41
  147. package/esm5/lib/services/logger.service.js +72 -72
  148. package/esm5/lib/services/ms-office.model.js +7 -7
  149. package/esm5/lib/services/subapplication-respond.service.js +229 -229
  150. package/esm5/lib/services/telemetry.service.js +429 -296
  151. package/esm5/lib/services/user-preference.model.js +28 -28
  152. package/esm5/lib/services/user-preference.service.js +108 -108
  153. package/esm5/lib/services/utility.service.js +127 -127
  154. package/esm5/lib/services/value.service.js +32 -32
  155. package/esm5/lib/services/widget-content.model.js +341 -341
  156. package/esm5/lib/services/widget-content.service.js +213 -213
  157. package/esm5/lib/services/widget-resolver.model.js +56 -56
  158. package/esm5/lib/services/widget-search.model.js +125 -125
  159. package/esm5/public-api.js +66 -66
  160. package/esm5/sunbird-cb-utils.js +8 -8
  161. package/fesm2015/sunbird-cb-utils.js +4665 -4502
  162. package/fesm2015/sunbird-cb-utils.js.map +1 -1
  163. package/fesm5/sunbird-cb-utils.js +5073 -4899
  164. package/fesm5/sunbird-cb-utils.js.map +1 -1
  165. package/lib/components/image-crop/image-crop.component.d.ts +56 -56
  166. package/lib/components/image-crop/image-crop.module.d.ts +2 -2
  167. package/lib/constants/features.enum.d.ts +553 -553
  168. package/lib/constants/instances.enum.d.ts +3 -3
  169. package/lib/constants/misc.constants.d.ts +2 -2
  170. package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -18
  171. package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -2
  172. package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
  173. package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
  174. package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -17
  175. package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -2
  176. package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -11
  177. package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -2
  178. package/lib/directives/navigation/navigation.directive.d.ts +9 -9
  179. package/lib/directives/navigation/navigation.module.d.ts +2 -2
  180. package/lib/directives/permission/permission.directive.d.ts +3 -3
  181. package/lib/directives/permission/permission.module.d.ts +2 -2
  182. package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -3
  183. package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -18
  184. package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -2
  185. package/lib/helpers/logout/logout.component.d.ts +18 -18
  186. package/lib/helpers/logout/logout.module.d.ts +2 -2
  187. package/lib/models/contentRating.model.d.ts +9 -9
  188. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -2
  189. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -10
  190. package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -2
  191. package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -4
  192. package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -2
  193. package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -13
  194. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
  195. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +5 -5
  196. package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -2
  197. package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -4
  198. package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -2
  199. package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -4
  200. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -2
  201. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -4
  202. package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -2
  203. package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -4
  204. package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -2
  205. package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -4
  206. package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -2
  207. package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +10 -10
  208. package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -2
  209. package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -9
  210. package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -2
  211. package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -4
  212. package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -2
  213. package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -4
  214. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -2
  215. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -7
  216. package/lib/resolvers/explore-detail.resolver.d.ts +16 -16
  217. package/lib/resolvers/marketing-offering.resolve.d.ts +10 -10
  218. package/lib/resolvers/page.constant.d.ts +1 -1
  219. package/lib/resolvers/page.model.d.ts +40 -40
  220. package/lib/resolvers/page.resolver.d.ts +17 -17
  221. package/lib/resolvers/resolver.model.d.ts +4 -4
  222. package/lib/services/auth-keycloak.service.d.ts +27 -27
  223. package/lib/services/auth-microsoft.service.d.ts +30 -30
  224. package/lib/services/card-content.model.d.ts +29 -29
  225. package/lib/services/configurations.model.d.ts +487 -473
  226. package/lib/services/configurations.service.d.ts +49 -49
  227. package/lib/services/content-strip-multiple.model.d.ts +79 -79
  228. package/lib/services/event.model.d.ts +137 -129
  229. package/lib/services/event.service.d.ts +9 -8
  230. package/lib/services/logger.service.d.ts +15 -15
  231. package/lib/services/ms-office.model.d.ts +6 -6
  232. package/lib/services/subapplication-respond.service.d.ts +25 -25
  233. package/lib/services/telemetry.service.d.ts +39 -33
  234. package/lib/services/user-preference.model.d.ts +26 -26
  235. package/lib/services/user-preference.service.d.ts +11 -11
  236. package/lib/services/utility.service.d.ts +23 -23
  237. package/lib/services/value.service.d.ts +8 -8
  238. package/lib/services/widget-content.model.d.ts +314 -314
  239. package/lib/services/widget-content.service.d.ts +49 -49
  240. package/lib/services/widget-resolver.model.d.ts +48 -48
  241. package/lib/services/widget-search.model.d.ts +114 -114
  242. package/package.json +1 -1
  243. package/public-api.d.ts +66 -66
  244. package/sunbird-cb-utils.d.ts +8 -8
  245. package/sunbird-cb-utils.metadata.json +1 -1
@@ -1,49 +1,49 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { IContentRating } from '../models/contentRating.model';
4
- import { ConfigurationsService } from './configurations.service';
5
- import { NsContentStripMultiple } from './content-strip-multiple.model';
6
- import { NsContent } from './widget-content.model';
7
- import { NSSearch } from './widget-search.model';
8
- export declare class WidgetContentService {
9
- private http;
10
- private configSvc;
11
- constructor(http: HttpClient, configSvc: ConfigurationsService);
12
- fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
13
- fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', additionalFields?: string[]): Observable<NsContent.IContent>;
14
- fetchAuthoringContent(contentId: string): Observable<NsContent.IContent>;
15
- fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
16
- fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
17
- fetchContentLikes(contentIds: {
18
- content_id: string[];
19
- }): Promise<{
20
- [identifier: string]: number;
21
- }>;
22
- fetchContentRatings(contentIds: {
23
- contentIds: string[];
24
- }): Promise<Object>;
25
- fetchContentRatingsV2(contentId: string): Observable<IContentRating>;
26
- fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
27
- continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
28
- saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
29
- setS3Cookie(contentId: string): Observable<any>;
30
- setS3ImageCookie(): Observable<any>;
31
- fetchManifest(url: string): Observable<any>;
32
- fetchWebModuleContent(url: string): Observable<any>;
33
- search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
34
- searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
35
- searchV6(req: NSSearch.ISearchV6Request): Observable<NSSearch.ISearchV6ApiResult>;
36
- fetchContentRating(contentId: string): Observable<{
37
- rating: number;
38
- }>;
39
- deleteContentRating(contentId: string): Observable<any>;
40
- addContentRating(contentId: string, data: {
41
- rating: number;
42
- }): Observable<any>;
43
- getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
44
- getRegistrationStatus(source: string): Promise<{
45
- hasAccess: boolean;
46
- registrationUrl?: string;
47
- }>;
48
- fetchConfig(url: string): Observable<any>;
49
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { IContentRating } from '../models/contentRating.model';
4
+ import { ConfigurationsService } from './configurations.service';
5
+ import { NsContentStripMultiple } from './content-strip-multiple.model';
6
+ import { NsContent } from './widget-content.model';
7
+ import { NSSearch } from './widget-search.model';
8
+ export declare class WidgetContentService {
9
+ private http;
10
+ private configSvc;
11
+ constructor(http: HttpClient, configSvc: ConfigurationsService);
12
+ fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
13
+ fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', additionalFields?: string[]): Observable<NsContent.IContent>;
14
+ fetchAuthoringContent(contentId: string): Observable<NsContent.IContent>;
15
+ fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
16
+ fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
17
+ fetchContentLikes(contentIds: {
18
+ content_id: string[];
19
+ }): Promise<{
20
+ [identifier: string]: number;
21
+ }>;
22
+ fetchContentRatings(contentIds: {
23
+ contentIds: string[];
24
+ }): Promise<Object>;
25
+ fetchContentRatingsV2(contentId: string): Observable<IContentRating>;
26
+ fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
27
+ continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
28
+ saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
29
+ setS3Cookie(contentId: string): Observable<any>;
30
+ setS3ImageCookie(): Observable<any>;
31
+ fetchManifest(url: string): Observable<any>;
32
+ fetchWebModuleContent(url: string): Observable<any>;
33
+ search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
34
+ searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
35
+ searchV6(req: NSSearch.ISearchV6Request): Observable<NSSearch.ISearchV6ApiResult>;
36
+ fetchContentRating(contentId: string): Observable<{
37
+ rating: number;
38
+ }>;
39
+ deleteContentRating(contentId: string): Observable<any>;
40
+ addContentRating(contentId: string, data: {
41
+ rating: number;
42
+ }): Observable<any>;
43
+ getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
44
+ getRegistrationStatus(source: string): Promise<{
45
+ hasAccess: boolean;
46
+ registrationUrl?: string;
47
+ }>;
48
+ fetchConfig(url: string): Observable<any>;
49
+ }
@@ -1,48 +1,48 @@
1
- import { Type } from '@angular/core';
2
- import { SafeStyle } from '@angular/platform-browser';
3
- declare type TUrl = undefined | 'none' | 'back' | string;
4
- export declare namespace NsWidgetResolver {
5
- type UnitPermissionPrimitive = undefined | null | string;
6
- interface IUnitPermissionObject {
7
- all: UnitPermissionPrimitive | string[];
8
- none: UnitPermissionPrimitive | string[];
9
- some: UnitPermissionPrimitive | string[];
10
- }
11
- type UnitPermission = UnitPermissionPrimitive | string[] | IUnitPermissionObject | Pick<IUnitPermissionObject, 'all'> | Pick<IUnitPermissionObject, 'none'> | Pick<IUnitPermissionObject, 'some'> | Exclude<IUnitPermissionObject, 'all'> | Exclude<IUnitPermissionObject, 'none'> | Exclude<IUnitPermissionObject, 'some'>;
12
- interface IPermissions {
13
- enabled: boolean;
14
- available: boolean;
15
- roles?: UnitPermission;
16
- features?: UnitPermission;
17
- groups?: UnitPermission;
18
- }
19
- interface IBaseConfig {
20
- widgetType: string;
21
- widgetSubType: string;
22
- }
23
- interface IRegistrationConfig extends IBaseConfig {
24
- component: Type<IWidgetData<any>>;
25
- }
26
- interface IRegistrationsPermissionConfig extends IBaseConfig {
27
- widgetPermission?: IPermissions;
28
- }
29
- interface IRenderConfigWithTypedData<T> extends IRegistrationsPermissionConfig {
30
- widgetData: T;
31
- widgetInstanceId?: string;
32
- widgetHostClass?: string;
33
- widgetHostStyle?: {
34
- [key: string]: string;
35
- };
36
- }
37
- type IRenderConfigWithAnyData = IRenderConfigWithTypedData<any>;
38
- interface IWidgetData<T> extends Omit<IRenderConfigWithTypedData<T>, 'widgetPermission' | 'widgetHostStyle'> {
39
- widgetSafeStyle?: SafeStyle;
40
- updateBaseComponent: (widgetType: string, widgetSubType: string, widgetInstanceId?: string, widgetHostClass?: string, widgetSafeStyle?: SafeStyle) => void;
41
- }
42
- interface ITitle {
43
- title: string;
44
- url: TUrl;
45
- icon?: string;
46
- }
47
- }
48
- export {};
1
+ import { Type } from '@angular/core';
2
+ import { SafeStyle } from '@angular/platform-browser';
3
+ declare type TUrl = undefined | 'none' | 'back' | string;
4
+ export declare namespace NsWidgetResolver {
5
+ type UnitPermissionPrimitive = undefined | null | string;
6
+ interface IUnitPermissionObject {
7
+ all: UnitPermissionPrimitive | string[];
8
+ none: UnitPermissionPrimitive | string[];
9
+ some: UnitPermissionPrimitive | string[];
10
+ }
11
+ type UnitPermission = UnitPermissionPrimitive | string[] | IUnitPermissionObject | Pick<IUnitPermissionObject, 'all'> | Pick<IUnitPermissionObject, 'none'> | Pick<IUnitPermissionObject, 'some'> | Exclude<IUnitPermissionObject, 'all'> | Exclude<IUnitPermissionObject, 'none'> | Exclude<IUnitPermissionObject, 'some'>;
12
+ interface IPermissions {
13
+ enabled: boolean;
14
+ available: boolean;
15
+ roles?: UnitPermission;
16
+ features?: UnitPermission;
17
+ groups?: UnitPermission;
18
+ }
19
+ interface IBaseConfig {
20
+ widgetType: string;
21
+ widgetSubType: string;
22
+ }
23
+ interface IRegistrationConfig extends IBaseConfig {
24
+ component: Type<IWidgetData<any>>;
25
+ }
26
+ interface IRegistrationsPermissionConfig extends IBaseConfig {
27
+ widgetPermission?: IPermissions;
28
+ }
29
+ interface IRenderConfigWithTypedData<T> extends IRegistrationsPermissionConfig {
30
+ widgetData: T;
31
+ widgetInstanceId?: string;
32
+ widgetHostClass?: string;
33
+ widgetHostStyle?: {
34
+ [key: string]: string;
35
+ };
36
+ }
37
+ type IRenderConfigWithAnyData = IRenderConfigWithTypedData<any>;
38
+ interface IWidgetData<T> extends Omit<IRenderConfigWithTypedData<T>, 'widgetPermission' | 'widgetHostStyle'> {
39
+ widgetSafeStyle?: SafeStyle;
40
+ updateBaseComponent: (widgetType: string, widgetSubType: string, widgetInstanceId?: string, widgetHostClass?: string, widgetSafeStyle?: SafeStyle) => void;
41
+ }
42
+ interface ITitle {
43
+ title: string;
44
+ url: TUrl;
45
+ icon?: string;
46
+ }
47
+ }
48
+ export {};
@@ -1,114 +1,114 @@
1
- import { NsContent } from './widget-content.model';
2
- export declare namespace NSSearch {
3
- interface IFeatureSearchConfig {
4
- tabs: IConfigContentStrip[];
5
- }
6
- interface IFilterSearchRequest {
7
- contentType?: NsContent.EContentTypes[];
8
- creatorContacts?: string[];
9
- labels?: string[];
10
- resourceCategory?: string[];
11
- catalogPaths?: string[];
12
- }
13
- interface ISearchRequest {
14
- filters?: IFilterSearchRequest;
15
- query?: string;
16
- isStandAlone?: boolean;
17
- instanceCatalog?: boolean;
18
- locale?: string[];
19
- pageNo?: number;
20
- pageSize?: number;
21
- uuid?: string;
22
- rootOrg?: string;
23
- sort?: {
24
- [key: string]: string;
25
- }[];
26
- }
27
- interface ISearchOrgRegionRecommendationRequest extends ISearchRequest {
28
- defaultLabel?: string;
29
- preLabelValue?: string;
30
- }
31
- interface ISearchV6Request {
32
- visibleFilters?: ISearchV6VisibleFilters;
33
- excludeSourceFields?: string[];
34
- includeSourceFields?: string[];
35
- sort?: ISearchSort[];
36
- query: string;
37
- sourceFields?: string[];
38
- locale?: string[];
39
- pageNo?: number;
40
- pageSize?: number;
41
- filters?: ISearchV6Filters[];
42
- isStandAlone?: boolean;
43
- didYouMean?: boolean;
44
- }
45
- interface ISearchSort {
46
- [key: string]: 'asc' | 'desc';
47
- }
48
- interface ISearchV6VisibleFilters {
49
- [key: string]: {
50
- displayName: string;
51
- order?: {
52
- [key: string]: 'asc' | 'desc';
53
- }[];
54
- };
55
- }
56
- interface ISearchV6Filters {
57
- andFilters?: {
58
- [key: string]: string[];
59
- }[];
60
- notFilters?: {
61
- [key: string]: string[];
62
- }[];
63
- }
64
- interface ISearchRedirection {
65
- f?: {
66
- [index: string]: string[];
67
- };
68
- q?: string;
69
- tab?: string;
70
- }
71
- interface IConfigContentStrip {
72
- titleKey?: string;
73
- title?: string;
74
- reqRoles?: string[];
75
- reqFeatures?: string[];
76
- searchRedirection?: ISearchRedirection;
77
- searchQuery?: ISearchRequest;
78
- contentIds?: string[];
79
- }
80
- interface ISearchApiResult {
81
- totalHits: number;
82
- result: NsContent.IContent[];
83
- filters: IFilterUnitResponse[];
84
- notToBeShownFilters?: IFilterUnitResponse[];
85
- filtersUsed: string[];
86
- }
87
- interface ISearchV6ApiResult {
88
- totalHits: number;
89
- result: NsContent.IContent[];
90
- filtersUsed: string[];
91
- notVisibleFilters: string[];
92
- filters: IFilterUnitResponse[];
93
- queryUsed?: string;
94
- doYouMean?: string;
95
- }
96
- interface IFilterUnitResponse {
97
- id?: string;
98
- type: string;
99
- displayName: string;
100
- content: IFilterUnitContent[];
101
- }
102
- interface IFilterUnitContent {
103
- type?: string;
104
- id?: string;
105
- displayName: string;
106
- count: number;
107
- children?: IFilterUnitContent[];
108
- }
109
- interface ITypeUnitResponse {
110
- displayName: string;
111
- type: string;
112
- count: string;
113
- }
114
- }
1
+ import { NsContent } from './widget-content.model';
2
+ export declare namespace NSSearch {
3
+ interface IFeatureSearchConfig {
4
+ tabs: IConfigContentStrip[];
5
+ }
6
+ interface IFilterSearchRequest {
7
+ contentType?: NsContent.EContentTypes[];
8
+ creatorContacts?: string[];
9
+ labels?: string[];
10
+ resourceCategory?: string[];
11
+ catalogPaths?: string[];
12
+ }
13
+ interface ISearchRequest {
14
+ filters?: IFilterSearchRequest;
15
+ query?: string;
16
+ isStandAlone?: boolean;
17
+ instanceCatalog?: boolean;
18
+ locale?: string[];
19
+ pageNo?: number;
20
+ pageSize?: number;
21
+ uuid?: string;
22
+ rootOrg?: string;
23
+ sort?: {
24
+ [key: string]: string;
25
+ }[];
26
+ }
27
+ interface ISearchOrgRegionRecommendationRequest extends ISearchRequest {
28
+ defaultLabel?: string;
29
+ preLabelValue?: string;
30
+ }
31
+ interface ISearchV6Request {
32
+ visibleFilters?: ISearchV6VisibleFilters;
33
+ excludeSourceFields?: string[];
34
+ includeSourceFields?: string[];
35
+ sort?: ISearchSort[];
36
+ query: string;
37
+ sourceFields?: string[];
38
+ locale?: string[];
39
+ pageNo?: number;
40
+ pageSize?: number;
41
+ filters?: ISearchV6Filters[];
42
+ isStandAlone?: boolean;
43
+ didYouMean?: boolean;
44
+ }
45
+ interface ISearchSort {
46
+ [key: string]: 'asc' | 'desc';
47
+ }
48
+ interface ISearchV6VisibleFilters {
49
+ [key: string]: {
50
+ displayName: string;
51
+ order?: {
52
+ [key: string]: 'asc' | 'desc';
53
+ }[];
54
+ };
55
+ }
56
+ interface ISearchV6Filters {
57
+ andFilters?: {
58
+ [key: string]: string[];
59
+ }[];
60
+ notFilters?: {
61
+ [key: string]: string[];
62
+ }[];
63
+ }
64
+ interface ISearchRedirection {
65
+ f?: {
66
+ [index: string]: string[];
67
+ };
68
+ q?: string;
69
+ tab?: string;
70
+ }
71
+ interface IConfigContentStrip {
72
+ titleKey?: string;
73
+ title?: string;
74
+ reqRoles?: string[];
75
+ reqFeatures?: string[];
76
+ searchRedirection?: ISearchRedirection;
77
+ searchQuery?: ISearchRequest;
78
+ contentIds?: string[];
79
+ }
80
+ interface ISearchApiResult {
81
+ totalHits: number;
82
+ result: NsContent.IContent[];
83
+ filters: IFilterUnitResponse[];
84
+ notToBeShownFilters?: IFilterUnitResponse[];
85
+ filtersUsed: string[];
86
+ }
87
+ interface ISearchV6ApiResult {
88
+ totalHits: number;
89
+ result: NsContent.IContent[];
90
+ filtersUsed: string[];
91
+ notVisibleFilters: string[];
92
+ filters: IFilterUnitResponse[];
93
+ queryUsed?: string;
94
+ doYouMean?: string;
95
+ }
96
+ interface IFilterUnitResponse {
97
+ id?: string;
98
+ type: string;
99
+ displayName: string;
100
+ content: IFilterUnitContent[];
101
+ }
102
+ interface IFilterUnitContent {
103
+ type?: string;
104
+ id?: string;
105
+ displayName: string;
106
+ count: number;
107
+ children?: IFilterUnitContent[];
108
+ }
109
+ interface ITypeUnitResponse {
110
+ displayName: string;
111
+ type: string;
112
+ count: string;
113
+ }
114
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunbird-cb/utils",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "bundles/sunbird-cb-utils.umd.js",
5
5
  "dependencies": {
6
6
  "tslib": "^1.9.0"
package/public-api.d.ts CHANGED
@@ -1,66 +1,66 @@
1
- export * from './lib/components/image-crop/image-crop.component';
2
- export * from './lib/components/image-crop/image-crop.module';
3
- export * from './lib/constants/features.enum';
4
- export * from './lib/constants/instances.enum';
5
- export * from './lib/constants/misc.constants';
6
- export * from './lib/directives/class-change-on-scroll/class-change-on-scroll.module';
7
- export * from './lib/directives/default-thumbnail/default-thumbnail.module';
8
- export * from './lib/directives/image-responsive/image-responsive.module';
9
- export * from './lib/directives/in-view-port/in-view-port.module';
10
- export * from './lib/directives/navigation/navigation.module';
11
- export * from './lib/directives/permission/permission.module';
12
- export * from './lib/helpers/functions/getStringifiedQueryParams';
13
- export * from './lib/helpers/horizontal-scroller/horizontal-scroller.module';
14
- export * from './lib/helpers/logout/logout.component';
15
- export * from './lib/helpers/logout/logout.module';
16
- export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module';
17
- export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe';
18
- export * from './lib/pipes/pipe-count-transform/pipe-count-transform.module';
19
- export * from './lib/pipes/pipe-count-transform/pipe-count-transform.pipe';
20
- export * from './lib/pipes/pipe-date-concat/pipe-date-concat.module';
21
- export * from './lib/pipes/pipe-date-concat/pipe-date-concat.pipe';
22
- export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.module';
23
- export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe';
24
- export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module';
25
- export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe';
26
- export * from './lib/pipes/pipe-filter/pipe-filter.module';
27
- export * from './lib/pipes/pipe-filter/pipe-filter.pipe';
28
- export * from './lib/pipes/pipe-filter-search/pipe-filter-search.module';
29
- export * from './lib/pipes/pipe-filter-search/pipe-filter-search.pipe';
30
- export * from './lib/pipes/pipe-list-filter/pipe-list-filter.module';
31
- export * from './lib/pipes/pipe-list-filter/pipe-list-filter.pipe';
32
- export * from './lib/pipes/pipe-relative-time/pipe-relative-time.module';
33
- export * from './lib/pipes/pipe-relative-time/pipe-relative-time.pipe';
34
- export * from './lib/pipes/pipe-order-by/pipe-order-by.module';
35
- export * from './lib/pipes/pipe-order-by/pipe-order-by.pipe';
36
- export * from './lib/pipes/pipe-limit-to/pipe-limit-to.module';
37
- export * from './lib/pipes/pipe-limit-to/pipe-limit-to.pipe';
38
- export * from './lib/pipes/pipe-name-transform/pipe-name-transform.module';
39
- export * from './lib/pipes/pipe-name-transform/pipe-name-transform.pipe';
40
- export * from './lib/pipes/pipe-partial-content/pipe-partial-content.module';
41
- export * from './lib/pipes/pipe-partial-content/pipe-partial-content.pipe';
42
- export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module';
43
- export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe';
44
- export * from './lib/resolvers/explore-detail.resolver';
45
- export * from './lib/resolvers/marketing-offering.resolve';
46
- export * from './lib/resolvers/page.model';
47
- export * from './lib/resolvers/page.resolver';
48
- export * from './lib/resolvers/resolver.model';
49
- export * from './lib/services/auth-keycloak.service';
50
- export * from './lib/services/auth-microsoft.service';
51
- export * from './lib/services/configurations.model';
52
- export * from './lib/services/configurations.service';
53
- export * from './lib/services/event.model';
54
- export * from './lib/services/event.service';
55
- export * from './lib/services/logger.service';
56
- export * from './lib/services/ms-office.model';
57
- export * from './lib/services/subapplication-respond.service';
58
- export * from './lib/services/telemetry.service';
59
- export * from './lib/services/user-preference.model';
60
- export * from './lib/services/user-preference.service';
61
- export * from './lib/services/utility.service';
62
- export * from './lib/services/value.service';
63
- export * from './lib/services/widget-content.service';
64
- export * from './lib/services/subapplication-respond.service';
65
- export * from './lib/services/widget-content.model';
66
- export * from './lib/models/contentRating.model';
1
+ export * from './lib/components/image-crop/image-crop.component';
2
+ export * from './lib/components/image-crop/image-crop.module';
3
+ export * from './lib/constants/features.enum';
4
+ export * from './lib/constants/instances.enum';
5
+ export * from './lib/constants/misc.constants';
6
+ export * from './lib/directives/class-change-on-scroll/class-change-on-scroll.module';
7
+ export * from './lib/directives/default-thumbnail/default-thumbnail.module';
8
+ export * from './lib/directives/image-responsive/image-responsive.module';
9
+ export * from './lib/directives/in-view-port/in-view-port.module';
10
+ export * from './lib/directives/navigation/navigation.module';
11
+ export * from './lib/directives/permission/permission.module';
12
+ export * from './lib/helpers/functions/getStringifiedQueryParams';
13
+ export * from './lib/helpers/horizontal-scroller/horizontal-scroller.module';
14
+ export * from './lib/helpers/logout/logout.component';
15
+ export * from './lib/helpers/logout/logout.module';
16
+ export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module';
17
+ export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe';
18
+ export * from './lib/pipes/pipe-count-transform/pipe-count-transform.module';
19
+ export * from './lib/pipes/pipe-count-transform/pipe-count-transform.pipe';
20
+ export * from './lib/pipes/pipe-date-concat/pipe-date-concat.module';
21
+ export * from './lib/pipes/pipe-date-concat/pipe-date-concat.pipe';
22
+ export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.module';
23
+ export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe';
24
+ export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module';
25
+ export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe';
26
+ export * from './lib/pipes/pipe-filter/pipe-filter.module';
27
+ export * from './lib/pipes/pipe-filter/pipe-filter.pipe';
28
+ export * from './lib/pipes/pipe-filter-search/pipe-filter-search.module';
29
+ export * from './lib/pipes/pipe-filter-search/pipe-filter-search.pipe';
30
+ export * from './lib/pipes/pipe-list-filter/pipe-list-filter.module';
31
+ export * from './lib/pipes/pipe-list-filter/pipe-list-filter.pipe';
32
+ export * from './lib/pipes/pipe-relative-time/pipe-relative-time.module';
33
+ export * from './lib/pipes/pipe-relative-time/pipe-relative-time.pipe';
34
+ export * from './lib/pipes/pipe-order-by/pipe-order-by.module';
35
+ export * from './lib/pipes/pipe-order-by/pipe-order-by.pipe';
36
+ export * from './lib/pipes/pipe-limit-to/pipe-limit-to.module';
37
+ export * from './lib/pipes/pipe-limit-to/pipe-limit-to.pipe';
38
+ export * from './lib/pipes/pipe-name-transform/pipe-name-transform.module';
39
+ export * from './lib/pipes/pipe-name-transform/pipe-name-transform.pipe';
40
+ export * from './lib/pipes/pipe-partial-content/pipe-partial-content.module';
41
+ export * from './lib/pipes/pipe-partial-content/pipe-partial-content.pipe';
42
+ export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module';
43
+ export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe';
44
+ export * from './lib/resolvers/explore-detail.resolver';
45
+ export * from './lib/resolvers/marketing-offering.resolve';
46
+ export * from './lib/resolvers/page.model';
47
+ export * from './lib/resolvers/page.resolver';
48
+ export * from './lib/resolvers/resolver.model';
49
+ export * from './lib/services/auth-keycloak.service';
50
+ export * from './lib/services/auth-microsoft.service';
51
+ export * from './lib/services/configurations.model';
52
+ export * from './lib/services/configurations.service';
53
+ export * from './lib/services/event.model';
54
+ export * from './lib/services/event.service';
55
+ export * from './lib/services/logger.service';
56
+ export * from './lib/services/ms-office.model';
57
+ export * from './lib/services/subapplication-respond.service';
58
+ export * from './lib/services/telemetry.service';
59
+ export * from './lib/services/user-preference.model';
60
+ export * from './lib/services/user-preference.service';
61
+ export * from './lib/services/utility.service';
62
+ export * from './lib/services/value.service';
63
+ export * from './lib/services/widget-content.service';
64
+ export * from './lib/services/subapplication-respond.service';
65
+ export * from './lib/services/widget-content.model';
66
+ export * from './lib/models/contentRating.model';
@@ -1,8 +1,8 @@
1
- export * from './public-api';
2
- export { ClassChangeOnScrollDirective as ɵa } from './lib/directives/class-change-on-scroll/class-change-on-scroll.directive';
3
- export { DefaultThumbnailDirective as ɵb } from './lib/directives/default-thumbnail/default-thumbnail.directive';
4
- export { ImageResponsiveDirective as ɵc } from './lib/directives/image-responsive/image-responsive.directive';
5
- export { InViewPortDirective as ɵd } from './lib/directives/in-view-port/in-view-port.directive';
6
- export { NavigationDirective as ɵe } from './lib/directives/navigation/navigation.directive';
7
- export { PermissionDirective as ɵf } from './lib/directives/permission/permission.directive';
8
- export { HorizontalScrollerComponent as ɵg } from './lib/helpers/horizontal-scroller/horizontal-scroller.component';
1
+ export * from './public-api';
2
+ export { ClassChangeOnScrollDirective as ɵa } from './lib/directives/class-change-on-scroll/class-change-on-scroll.directive';
3
+ export { DefaultThumbnailDirective as ɵb } from './lib/directives/default-thumbnail/default-thumbnail.directive';
4
+ export { ImageResponsiveDirective as ɵc } from './lib/directives/image-responsive/image-responsive.directive';
5
+ export { InViewPortDirective as ɵd } from './lib/directives/in-view-port/in-view-port.directive';
6
+ export { NavigationDirective as ɵe } from './lib/directives/navigation/navigation.directive';
7
+ export { PermissionDirective as ɵf } from './lib/directives/permission/permission.directive';
8
+ export { HorizontalScrollerComponent as ɵg } from './lib/helpers/horizontal-scroller/horizontal-scroller.component';