@sunbird-cb/utils-v2 0.0.1

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 (296) hide show
  1. package/README.md +24 -0
  2. package/bundles/sunbird-cb-utils-v2.umd.js +6940 -0
  3. package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -0
  4. package/bundles/sunbird-cb-utils-v2.umd.min.js +16 -0
  5. package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -0
  6. package/esm2015/lib/components/image-crop/image-crop.component.js +195 -0
  7. package/esm2015/lib/components/image-crop/image-crop.module.js +27 -0
  8. package/esm2015/lib/constants/features.enum.js +555 -0
  9. package/esm2015/lib/constants/instances.enum.js +5 -0
  10. package/esm2015/lib/constants/misc.constants.js +1 -0
  11. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +87 -0
  12. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +15 -0
  13. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +38 -0
  14. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +15 -0
  15. package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +92 -0
  16. package/esm2015/lib/directives/image-responsive/image-responsive.module.js +15 -0
  17. package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +68 -0
  18. package/esm2015/lib/directives/in-view-port/in-view-port.module.js +15 -0
  19. package/esm2015/lib/directives/navigation/navigation.directive.js +39 -0
  20. package/esm2015/lib/directives/navigation/navigation.module.js +15 -0
  21. package/esm2015/lib/directives/permission/permission.directive.js +11 -0
  22. package/esm2015/lib/directives/permission/permission.module.js +15 -0
  23. package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +9 -0
  24. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +99 -0
  25. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +19 -0
  26. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +172 -0
  27. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +19 -0
  28. package/esm2015/lib/helpers/logout/logout.component.js +90 -0
  29. package/esm2015/lib/helpers/logout/logout.module.js +20 -0
  30. package/esm2015/lib/models/profile-v3.models.js +104 -0
  31. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +15 -0
  32. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +94 -0
  33. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +13 -0
  34. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +59 -0
  35. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +15 -0
  36. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +33 -0
  37. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +15 -0
  38. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +43 -0
  39. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +15 -0
  40. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +79 -0
  41. package/esm2015/lib/pipes/pipe-email/pipe-email.module.js +15 -0
  42. package/esm2015/lib/pipes/pipe-email/pipe-email.pipe.js +12 -0
  43. package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +15 -0
  44. package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +16 -0
  45. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +15 -0
  46. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +38 -0
  47. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +15 -0
  48. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +21 -0
  49. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +15 -0
  50. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +23 -0
  51. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +15 -0
  52. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +12 -0
  53. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +15 -0
  54. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +25 -0
  55. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +15 -0
  56. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +17 -0
  57. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +15 -0
  58. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +27 -0
  59. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +15 -0
  60. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +16 -0
  61. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +15 -0
  62. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +18 -0
  63. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +15 -0
  64. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +23 -0
  65. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +15 -0
  66. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +16 -0
  67. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +15 -0
  68. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +35 -0
  69. package/esm2015/lib/resolvers/explore-detail.resolver.js +89 -0
  70. package/esm2015/lib/resolvers/marketing-offering.resolve.js +40 -0
  71. package/esm2015/lib/resolvers/module-name.resolver.js +38 -0
  72. package/esm2015/lib/resolvers/page-name.resolver.js +32 -0
  73. package/esm2015/lib/resolvers/page.constant.js +4 -0
  74. package/esm2015/lib/resolvers/page.model.js +48 -0
  75. package/esm2015/lib/resolvers/page.resolver.js +90 -0
  76. package/esm2015/lib/resolvers/resolver.model.js +6 -0
  77. package/esm2015/lib/services/auth-keycloak.service.js +266 -0
  78. package/esm2015/lib/services/auth-microsoft.service.js +196 -0
  79. package/esm2015/lib/services/card-content.model.js +31 -0
  80. package/esm2015/lib/services/configurations.model.js +548 -0
  81. package/esm2015/lib/services/configurations.service.js +140 -0
  82. package/esm2015/lib/services/content-strip-multiple.model.js +75 -0
  83. package/esm2015/lib/services/event.model.js +242 -0
  84. package/esm2015/lib/services/event.service.js +211 -0
  85. package/esm2015/lib/services/logger.service.js +55 -0
  86. package/esm2015/lib/services/ms-office.model.js +8 -0
  87. package/esm2015/lib/services/multilingual-translations.service.js +136 -0
  88. package/esm2015/lib/services/nps-grid.service.js +45 -0
  89. package/esm2015/lib/services/subapplication-respond.service.js +214 -0
  90. package/esm2015/lib/services/telemetry.service.js +621 -0
  91. package/esm2015/lib/services/user-preference.model.js +38 -0
  92. package/esm2015/lib/services/user-preference.service.js +90 -0
  93. package/esm2015/lib/services/utility.service.js +145 -0
  94. package/esm2015/lib/services/value.service.js +31 -0
  95. package/esm2015/lib/services/widget-content.model.js +373 -0
  96. package/esm2015/lib/services/widget-content.service.js +192 -0
  97. package/esm2015/lib/services/widget-resolver.model.js +57 -0
  98. package/esm2015/lib/services/widget-search.model.js +126 -0
  99. package/esm2015/public-api.js +80 -0
  100. package/esm2015/sunbird-cb-utils-v2.js +11 -0
  101. package/esm5/lib/components/image-crop/image-crop.component.js +200 -0
  102. package/esm5/lib/components/image-crop/image-crop.module.js +31 -0
  103. package/esm5/lib/constants/features.enum.js +555 -0
  104. package/esm5/lib/constants/instances.enum.js +5 -0
  105. package/esm5/lib/constants/misc.constants.js +1 -0
  106. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +105 -0
  107. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +19 -0
  108. package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +40 -0
  109. package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +19 -0
  110. package/esm5/lib/directives/image-responsive/image-responsive.directive.js +95 -0
  111. package/esm5/lib/directives/image-responsive/image-responsive.module.js +19 -0
  112. package/esm5/lib/directives/in-view-port/in-view-port.directive.js +73 -0
  113. package/esm5/lib/directives/in-view-port/in-view-port.module.js +19 -0
  114. package/esm5/lib/directives/navigation/navigation.directive.js +41 -0
  115. package/esm5/lib/directives/navigation/navigation.module.js +19 -0
  116. package/esm5/lib/directives/permission/permission.directive.js +14 -0
  117. package/esm5/lib/directives/permission/permission.module.js +19 -0
  118. package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +9 -0
  119. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +103 -0
  120. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +23 -0
  121. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +177 -0
  122. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -0
  123. package/esm5/lib/helpers/logout/logout.component.js +96 -0
  124. package/esm5/lib/helpers/logout/logout.module.js +24 -0
  125. package/esm5/lib/models/profile-v3.models.js +104 -0
  126. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +19 -0
  127. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +96 -0
  128. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +17 -0
  129. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +63 -0
  130. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +19 -0
  131. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +37 -0
  132. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +19 -0
  133. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +45 -0
  134. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +19 -0
  135. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +83 -0
  136. package/esm5/lib/pipes/pipe-email/pipe-email.module.js +19 -0
  137. package/esm5/lib/pipes/pipe-email/pipe-email.pipe.js +16 -0
  138. package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +19 -0
  139. package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +20 -0
  140. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +19 -0
  141. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +46 -0
  142. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +19 -0
  143. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +25 -0
  144. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +19 -0
  145. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +31 -0
  146. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +19 -0
  147. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +16 -0
  148. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +19 -0
  149. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +30 -0
  150. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +19 -0
  151. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +21 -0
  152. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +19 -0
  153. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +31 -0
  154. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +19 -0
  155. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +18 -0
  156. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +19 -0
  157. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +34 -0
  158. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +19 -0
  159. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +25 -0
  160. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +19 -0
  161. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +20 -0
  162. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +19 -0
  163. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +38 -0
  164. package/esm5/lib/resolvers/explore-detail.resolver.js +93 -0
  165. package/esm5/lib/resolvers/marketing-offering.resolve.js +43 -0
  166. package/esm5/lib/resolvers/module-name.resolver.js +40 -0
  167. package/esm5/lib/resolvers/page-name.resolver.js +35 -0
  168. package/esm5/lib/resolvers/page.constant.js +4 -0
  169. package/esm5/lib/resolvers/page.model.js +48 -0
  170. package/esm5/lib/resolvers/page.resolver.js +98 -0
  171. package/esm5/lib/resolvers/resolver.model.js +6 -0
  172. package/esm5/lib/services/auth-keycloak.service.js +347 -0
  173. package/esm5/lib/services/auth-microsoft.service.js +251 -0
  174. package/esm5/lib/services/card-content.model.js +31 -0
  175. package/esm5/lib/services/configurations.model.js +548 -0
  176. package/esm5/lib/services/configurations.service.js +142 -0
  177. package/esm5/lib/services/content-strip-multiple.model.js +75 -0
  178. package/esm5/lib/services/event.model.js +242 -0
  179. package/esm5/lib/services/event.service.js +215 -0
  180. package/esm5/lib/services/logger.service.js +73 -0
  181. package/esm5/lib/services/ms-office.model.js +8 -0
  182. package/esm5/lib/services/multilingual-translations.service.js +138 -0
  183. package/esm5/lib/services/nps-grid.service.js +47 -0
  184. package/esm5/lib/services/subapplication-respond.service.js +219 -0
  185. package/esm5/lib/services/telemetry.service.js +670 -0
  186. package/esm5/lib/services/user-preference.model.js +38 -0
  187. package/esm5/lib/services/user-preference.service.js +109 -0
  188. package/esm5/lib/services/utility.service.js +178 -0
  189. package/esm5/lib/services/value.service.js +33 -0
  190. package/esm5/lib/services/widget-content.model.js +373 -0
  191. package/esm5/lib/services/widget-content.service.js +214 -0
  192. package/esm5/lib/services/widget-resolver.model.js +57 -0
  193. package/esm5/lib/services/widget-search.model.js +126 -0
  194. package/esm5/public-api.js +80 -0
  195. package/esm5/sunbird-cb-utils-v2.js +11 -0
  196. package/fesm2015/sunbird-cb-utils-v2.js +6160 -0
  197. package/fesm2015/sunbird-cb-utils-v2.js.map +1 -0
  198. package/fesm5/sunbird-cb-utils-v2.js +6649 -0
  199. package/fesm5/sunbird-cb-utils-v2.js.map +1 -0
  200. package/lib/components/image-crop/image-crop.component.d.ts +56 -0
  201. package/lib/components/image-crop/image-crop.module.d.ts +2 -0
  202. package/lib/constants/features.enum.d.ts +553 -0
  203. package/lib/constants/instances.enum.d.ts +3 -0
  204. package/lib/constants/misc.constants.d.ts +2 -0
  205. package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -0
  206. package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -0
  207. package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -0
  208. package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -0
  209. package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -0
  210. package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -0
  211. package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -0
  212. package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -0
  213. package/lib/directives/navigation/navigation.directive.d.ts +9 -0
  214. package/lib/directives/navigation/navigation.module.d.ts +2 -0
  215. package/lib/directives/permission/permission.directive.d.ts +3 -0
  216. package/lib/directives/permission/permission.module.d.ts +2 -0
  217. package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -0
  218. package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -0
  219. package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -0
  220. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +31 -0
  221. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -0
  222. package/lib/helpers/logout/logout.component.d.ts +20 -0
  223. package/lib/helpers/logout/logout.module.d.ts +2 -0
  224. package/lib/models/profile-v3.models.d.ts +91 -0
  225. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.d.ts +2 -0
  226. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.d.ts +6 -0
  227. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -0
  228. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -0
  229. package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -0
  230. package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -0
  231. package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -0
  232. package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -0
  233. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -0
  234. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -0
  235. package/lib/pipes/pipe-email/pipe-email.module.d.ts +2 -0
  236. package/lib/pipes/pipe-email/pipe-email.pipe.d.ts +4 -0
  237. package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -0
  238. package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -0
  239. package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -0
  240. package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -0
  241. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.d.ts +2 -0
  242. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.d.ts +4 -0
  243. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.d.ts +2 -0
  244. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.d.ts +4 -0
  245. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -0
  246. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -0
  247. package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -0
  248. package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -0
  249. package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -0
  250. package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -0
  251. package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -0
  252. package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +9 -0
  253. package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -0
  254. package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -0
  255. package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -0
  256. package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -0
  257. package/lib/pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -0
  258. package/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -0
  259. package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -0
  260. package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -0
  261. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -0
  262. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -0
  263. package/lib/resolvers/explore-detail.resolver.d.ts +16 -0
  264. package/lib/resolvers/marketing-offering.resolve.d.ts +10 -0
  265. package/lib/resolvers/module-name.resolver.d.ts +6 -0
  266. package/lib/resolvers/page-name.resolver.d.ts +5 -0
  267. package/lib/resolvers/page.constant.d.ts +1 -0
  268. package/lib/resolvers/page.model.d.ts +41 -0
  269. package/lib/resolvers/page.resolver.d.ts +17 -0
  270. package/lib/resolvers/resolver.model.d.ts +4 -0
  271. package/lib/services/auth-keycloak.service.d.ts +31 -0
  272. package/lib/services/auth-microsoft.service.d.ts +30 -0
  273. package/lib/services/card-content.model.d.ts +29 -0
  274. package/lib/services/configurations.model.d.ts +521 -0
  275. package/lib/services/configurations.service.d.ts +73 -0
  276. package/lib/services/content-strip-multiple.model.d.ts +79 -0
  277. package/lib/services/event.model.d.ts +205 -0
  278. package/lib/services/event.service.d.ts +30 -0
  279. package/lib/services/logger.service.d.ts +15 -0
  280. package/lib/services/ms-office.model.d.ts +6 -0
  281. package/lib/services/multilingual-translations.service.d.ts +20 -0
  282. package/lib/services/nps-grid.service.d.ts +12 -0
  283. package/lib/services/subapplication-respond.service.d.ts +23 -0
  284. package/lib/services/telemetry.service.d.ts +56 -0
  285. package/lib/services/user-preference.model.d.ts +34 -0
  286. package/lib/services/user-preference.service.d.ts +11 -0
  287. package/lib/services/utility.service.d.ts +31 -0
  288. package/lib/services/value.service.d.ts +8 -0
  289. package/lib/services/widget-content.model.d.ts +344 -0
  290. package/lib/services/widget-content.service.d.ts +47 -0
  291. package/lib/services/widget-resolver.model.d.ts +48 -0
  292. package/lib/services/widget-search.model.d.ts +114 -0
  293. package/package.json +35 -0
  294. package/public-api.d.ts +79 -0
  295. package/sunbird-cb-utils-v2.d.ts +10 -0
  296. package/sunbird-cb-utils-v2.metadata.json +1 -0
@@ -0,0 +1,344 @@
1
+ export declare namespace NsContent {
2
+ interface IContinueLearningData extends IContent {
3
+ continueData: any;
4
+ }
5
+ interface IContent {
6
+ platform?: any;
7
+ addedOn: string;
8
+ appIcon: string;
9
+ artifactUrl: string;
10
+ averageRating?: any;
11
+ body?: string;
12
+ certificationList?: IRelatedContentMeta[];
13
+ certificationStatus?: TCertificationStatus;
14
+ certificationSubmissionDate?: string;
15
+ certificationUrl: string;
16
+ children: IContent[];
17
+ childrenClassifiers?: string[];
18
+ clients?: IClient[];
19
+ collections?: IContent[];
20
+ complexityLevel: string;
21
+ contentId: string;
22
+ contentType: EContentTypes;
23
+ difficultyLevel: string;
24
+ primaryCategory: EPrimaryCategory;
25
+ contentUrlAtSource: string;
26
+ creatorContacts: ICreator[];
27
+ creatorDetails: ICreator[];
28
+ creatorLogo: string;
29
+ creatorPosterImage: string;
30
+ creatorThumbnail: string;
31
+ curatedTags: string[];
32
+ description: string;
33
+ displayContentType: EDisplayContentTypes;
34
+ downloadUrl?: string;
35
+ duration: number;
36
+ exclusiveContent?: boolean;
37
+ expiryDate?: string;
38
+ equivalentCertifications?: IRelatedContentMeta[];
39
+ hasAccess: boolean;
40
+ hasAssessment?: string;
41
+ idealScreenSize?: string;
42
+ identifier: string;
43
+ introductoryVideo?: string;
44
+ introductoryVideoIcon?: string;
45
+ learningTrack?: string;
46
+ isExternal: boolean;
47
+ isIframeSupported: 'Yes' | 'No' | 'Maybe';
48
+ isInIntranet?: boolean;
49
+ keywords?: string[];
50
+ kArtifacts?: IRelatedContentMeta[];
51
+ lastUpdatedOn: string;
52
+ learningMode?: TLearningMode;
53
+ learningObjective: string;
54
+ labels?: string[];
55
+ locale?: string;
56
+ hasTranslations?: {
57
+ identifier: string;
58
+ locale: string;
59
+ }[];
60
+ isTranslationOf?: {
61
+ identifier: string;
62
+ locale: string;
63
+ }[];
64
+ me_totalSessionsCount: number;
65
+ mediaType: string;
66
+ mimeType: EMimeTypes;
67
+ miniGOTVersion?: string;
68
+ msArtifactDetails?: IMSArtifactDetails;
69
+ mode?: ETagType;
70
+ name: string;
71
+ nextCertificationAttemptDate?: string;
72
+ playgroundInstructions?: string;
73
+ playgroundResources?: IResourcePlayground[];
74
+ postContents?: IPrePostContent[];
75
+ posterImage?: string;
76
+ preContents?: IPrePostContent[];
77
+ preRequisites: string;
78
+ price?: {
79
+ currency: string;
80
+ value: number;
81
+ };
82
+ proctorUrl?: string;
83
+ progress?: IMarkAsCompleteProgress;
84
+ programDuration?: any;
85
+ publishedOn: string;
86
+ recentCertificationAttemptScore?: number;
87
+ recommendationReasons?: string[];
88
+ region?: string[];
89
+ registrationUrl?: string;
90
+ registrationInstructions?: string;
91
+ resourceCategory?: string[];
92
+ resourceType: string;
93
+ size?: number;
94
+ skills: ISkill[];
95
+ softwareRequirements?: IResourceDetail[];
96
+ sourceName: string;
97
+ sourceShortName: string;
98
+ sourceIconUrl?: string;
99
+ sourceUrl?: string;
100
+ ssoEnabled?: boolean;
101
+ status: 'Draft' | 'InReview' | 'QualityReview' | 'Reviewed' | 'Processing' | 'Live' | 'Deleted' | 'MarkedForDeletion' | 'Expired';
102
+ subTitle?: string;
103
+ subTitles?: ISubtitle[];
104
+ studyMaterials?: IRelatedContentMeta[];
105
+ systemRequirements?: string[];
106
+ tags: ITag[];
107
+ topics: IContentTopic[];
108
+ totalLikes?: {
109
+ [key: string]: number;
110
+ };
111
+ totalRating?: number;
112
+ track: ITrack[];
113
+ uniqueLearners?: number;
114
+ viewCount?: {
115
+ [key: string]: number;
116
+ };
117
+ reason?: string;
118
+ trainingLHubCount?: number;
119
+ verifiers?: {
120
+ name: string;
121
+ email: string;
122
+ id: string;
123
+ }[];
124
+ references?: {
125
+ url: string;
126
+ title: string;
127
+ }[];
128
+ resumePage?: number;
129
+ [key: string]: any;
130
+ optionalReading: boolean;
131
+ additionalTags?: string[];
132
+ }
133
+ enum EPrimaryCategory {
134
+ PROGRAM = "Program",
135
+ COURSE = "Course",
136
+ MODULE = "Course Unit",
137
+ RESOURCE = "Learning Resource",
138
+ GOALS = "GOALS",
139
+ PRACTICE_RESOURCE = "Practice Question Set",
140
+ FINAL_ASSESSMENT = "Course Assessment",
141
+ COMP_ASSESSMENT = "Competency Assessment",
142
+ FTB_QUESTION = "FTB Question",
143
+ MTF_QUESTION = "MTF Question",
144
+ MULTIPLE_CHOICE_QUESTION = "Multiple Choice Question",
145
+ SINGLE_CHOICE_QUESTION = "Single Choice Question",
146
+ MANDATORY_COURSE_GOAL = "Mandatory Course Goal",
147
+ BLENDED_PROGRAM = "Blended Program",
148
+ OFFLINE_SESSION = "Offline Session",
149
+ KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
150
+ KNOWLEDGE_BOARD = "Knowledge Board",
151
+ LEARNING_JOURNEY = "Learning Journeys",
152
+ CHANNEL = "Channel"
153
+ }
154
+ interface IContentMinimal {
155
+ appIcon: string;
156
+ artifactUrl: string;
157
+ complexityLevel: string;
158
+ contentType: EContentTypes;
159
+ primaryCategory: EPrimaryCategory;
160
+ description: string;
161
+ displayContentType?: EDisplayContentTypes;
162
+ duration: number;
163
+ identifier: string;
164
+ hasAccess?: boolean;
165
+ isInIntranet?: boolean;
166
+ learningMode?: TLearningMode;
167
+ mimeType: EMimeTypes;
168
+ name: string;
169
+ creatorDetails: ICreator[];
170
+ creatorContacts: ICreator[];
171
+ PosterImage?: string;
172
+ resourceType?: string;
173
+ totalRating?: number;
174
+ }
175
+ interface ICollectionHierarchyResponse {
176
+ data: IContent;
177
+ hasMore: boolean;
178
+ totalContents: number;
179
+ }
180
+ interface IRelatedContentMeta {
181
+ identifier: string;
182
+ name: string;
183
+ }
184
+ type TCertificationStatus = 'ongoing' | 'passed' | 'canAttempt' | 'cannotAttempt';
185
+ type TLearningMode = 'Self-Paced' | 'Instructor-Led' | 'Open' | 'Closed';
186
+ interface IMarkAsCompleteProgress {
187
+ progressStatus: 'open' | 'started' | 'completed';
188
+ showMarkAsComplete: boolean;
189
+ markAsCompleteReason: string;
190
+ progressSupported: boolean;
191
+ progress: number | null;
192
+ }
193
+ interface ITag {
194
+ id: string;
195
+ type: string;
196
+ value: string;
197
+ }
198
+ interface IMSArtifactDetails {
199
+ channelId: string;
200
+ videoId: string;
201
+ }
202
+ interface IClient {
203
+ displayName: string;
204
+ id: string;
205
+ name: string;
206
+ }
207
+ interface ISubtitle {
208
+ srclang: string;
209
+ label: string;
210
+ url: string;
211
+ }
212
+ interface IPrePostContent {
213
+ identifier: string;
214
+ name: string;
215
+ }
216
+ interface IResourceDetail {
217
+ title?: string;
218
+ url?: string;
219
+ }
220
+ interface IResourcePlayground {
221
+ appIcon: string;
222
+ artifactUrl: string;
223
+ identifier: string;
224
+ name: string;
225
+ }
226
+ interface ITrack {
227
+ id: string;
228
+ name: string;
229
+ status: string;
230
+ visibility: string;
231
+ }
232
+ interface ISkill {
233
+ id: string;
234
+ category: string;
235
+ skill: string;
236
+ name: string;
237
+ }
238
+ interface ICreator {
239
+ id: string;
240
+ name: string;
241
+ email: string;
242
+ }
243
+ interface IContentTopic {
244
+ identifier: string;
245
+ name: string;
246
+ }
247
+ interface IContact {
248
+ id: string;
249
+ name: string;
250
+ email: string;
251
+ }
252
+ interface IViewerContinueLearningRequest {
253
+ resourceId: string;
254
+ contextPathId: string;
255
+ data: string;
256
+ dateAccessed: number;
257
+ contextType?: string;
258
+ }
259
+ enum EContentTypes {
260
+ PROGRAM = "Learning Path",
261
+ CHANNEL = "Channel",
262
+ COURSE = "Course",
263
+ KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
264
+ KNOWLEDGE_BOARD = "Knowledge Board",
265
+ LEARNING_JOURNEY = "Learning Journeys",
266
+ MODULE = "Collection",
267
+ RESOURCE = "Resource"
268
+ }
269
+ enum EMiscPlayerSupportedCollectionTypes {
270
+ PLAYLIST = "Playlist"
271
+ }
272
+ const PLAYER_SUPPORTED_COLLECTION_TYPES: string[];
273
+ const KB_SUPPORTED_CONTENT_TYPES: EContentTypes[];
274
+ const PLAYLIST_SUPPORTED_CONTENT_TYPES: EContentTypes[];
275
+ enum EMimeTypes {
276
+ COLLECTION = "application/vnd.ekstep.content-collection",
277
+ HTML = "application/html",
278
+ ILP_FP = "application/ilpfp",
279
+ IAP = "application/iap-assessment",
280
+ M4A = "audio/m4a",
281
+ MP3 = "audio/mpeg",
282
+ MP4 = "video/mp4",
283
+ M3U8 = "application/x-mpegURL",
284
+ INTERACTION = "video/interactive",
285
+ PDF = "application/pdf",
286
+ QUIZ = "application/quiz",
287
+ DRAG_DROP = "application/drag-drop",
288
+ HTML_PICKER = "application/htmlpicker",
289
+ WEB_MODULE = "application/web-module",
290
+ WEB_MODULE_EXERCISE = "application/web-module-exercise",
291
+ YOUTUBE = "video/x-youtube",
292
+ HANDS_ON = "application/integrated-hands-on",
293
+ RDBMS_HANDS_ON = "application/rdbms",
294
+ CLASS_DIAGRAM = "application/class-diagram",
295
+ CHANNEL = "application/channel",
296
+ COLLECTION_RESOURCE = "resource/collection",
297
+ CERTIFICATION = "application/certification",
298
+ PLAYLIST = "application/playlist",
299
+ QUESTION_SET = "application/vnd.sunbird.questionset",
300
+ QUESTION = "application/vnd.sunbird.question",
301
+ UNKNOWN = "application/unknown",
302
+ OFFLINE_SESSION = "application/offline"
303
+ }
304
+ enum EDisplayContentTypes {
305
+ ASSESSMENT = "ASSESSMENT",
306
+ AUDIO = "AUDIO",
307
+ CERTIFICATION = "CERTIFICATION",
308
+ CHANNEL = "Channel",
309
+ CLASS_DIAGRAM = "CLASS_DIAGRAM",
310
+ COURSE = "COURSE",
311
+ DEFAULT = "DEFAULT",
312
+ DRAG_DROP = "DRAG_DROP",
313
+ EXTERNAL_CERTIFICATION = "EXTERNAL_CERTIFICATION",
314
+ EXTERNAL_COURSE = "EXTERNAL_COURSE",
315
+ GOALS = "GOALS",
316
+ HANDS_ON = "HANDS_ON",
317
+ IAP = "IAP",
318
+ INSTRUCTOR_LED = "INSTRUCTOR_LED",
319
+ INTERACTIVE_VIDEO = "INTERACTIVE_VIDEO",
320
+ KNOWLEDGE_ARTIFACT = "KNOWLEDGE_ARTIFACT",
321
+ MODULE = "MODULE",
322
+ PDF = "PDF",
323
+ PLAYLIST = "PLAYLIST",
324
+ PROGRAM = "PROGRAM",
325
+ QUIZ = "QUIZ",
326
+ RESOURCE = "RESOURCE",
327
+ RDBMS_HANDS_ON = "RDBMS_HANDS_ON",
328
+ VIDEO = "VIDEO",
329
+ WEB_MODULE = "WEB_MODULE",
330
+ WEB_PAGE = "WEB_PAGE",
331
+ YOUTUBE = "YOUTUBE",
332
+ KNOWLEDGE_BOARD = "Knowledge Board",
333
+ LEARNING_JOURNEY = "Learning Journeys"
334
+ }
335
+ enum EFilterCategory {
336
+ ALL = "ALL",
337
+ LEARN = "LEARN",
338
+ PRACTICE = "PRACTICE",
339
+ ASSESS = "ASSESS"
340
+ }
341
+ enum ETagType {
342
+ NEWLY_ADDED = "NEWLY ADDED"
343
+ }
344
+ }
@@ -0,0 +1,47 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ConfigurationsService } from './configurations.service';
4
+ import { NsContentStripMultiple } from './content-strip-multiple.model';
5
+ import { NsContent } from './widget-content.model';
6
+ import { NSSearch } from './widget-search.model';
7
+ export declare class WidgetContentService {
8
+ private http;
9
+ private configSvc;
10
+ constructor(http: HttpClient, configSvc: ConfigurationsService);
11
+ fetchMarkAsCompleteMeta(identifier: string): Promise<any>;
12
+ fetchContent(contentId: string, hierarchyType?: 'all' | 'minimal' | 'detail', additionalFields?: string[]): Observable<NsContent.IContent>;
13
+ fetchAuthoringContent(contentId: string): Observable<NsContent.IContent>;
14
+ fetchMultipleContent(ids: string[]): Observable<NsContent.IContent[]>;
15
+ fetchCollectionHierarchy(type: string, id: string, pageNumber?: number, pageSize?: number): Observable<NsContent.ICollectionHierarchyResponse>;
16
+ fetchContentLikes(contentIds: {
17
+ content_id: string[];
18
+ }): Promise<{
19
+ [identifier: string]: number;
20
+ }>;
21
+ fetchContentRatings(contentIds: {
22
+ contentIds: string[];
23
+ }): Promise<unknown>;
24
+ fetchContentHistory(contentId: string): Observable<NsContent.IContinueLearningData>;
25
+ continueLearning(id: string, collectionId?: string, collectionType?: string): Promise<any>;
26
+ saveContinueLearning(content: NsContent.IViewerContinueLearningRequest): Observable<any>;
27
+ setS3Cookie(_contentId: string): Observable<any>;
28
+ setS3ImageCookie(): Observable<any>;
29
+ fetchManifest(url: string): Observable<any>;
30
+ fetchWebModuleContent(url: string): Observable<any>;
31
+ search(req: NSSearch.ISearchRequest): Observable<NSSearch.ISearchApiResult>;
32
+ searchRegionRecommendation(req: NSSearch.ISearchOrgRegionRecommendationRequest): Observable<NsContentStripMultiple.IContentStripResponseApi>;
33
+ searchV6(req: NSSearch.ISearchV6Request): Observable<NSSearch.ISearchV6ApiResult>;
34
+ fetchContentRating(contentId: string): Observable<{
35
+ rating: number;
36
+ }>;
37
+ deleteContentRating(contentId: string): Observable<any>;
38
+ addContentRating(contentId: string, data: {
39
+ rating: number;
40
+ }): Observable<any>;
41
+ getFirstChildInHierarchy(content: NsContent.IContent): NsContent.IContent;
42
+ getRegistrationStatus(source: string): Promise<{
43
+ hasAccess: boolean;
44
+ registrationUrl?: string;
45
+ }>;
46
+ fetchConfig(url: string): Observable<any>;
47
+ }
@@ -0,0 +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 {};
@@ -0,0 +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
+ }
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@sunbird-cb/utils-v2",
3
+ "version": "0.0.1",
4
+ "main": "bundles/sunbird-cb-utils-v2.umd.js",
5
+ "dependencies": {
6
+ "tslib": "^1.9.0"
7
+ },
8
+ "peerDependencies": {
9
+ "@angular/animations": "~8.2.1",
10
+ "@angular/cdk": "~8.1.2",
11
+ "@angular/common": "~8.2.1",
12
+ "@angular/compiler": "~8.2.1",
13
+ "@angular/core": "~8.2.1",
14
+ "@angular/forms": "~8.2.1",
15
+ "@angular/material": "^8.1.2",
16
+ "@angular/platform-browser": "~8.2.1",
17
+ "@angular/platform-browser-dynamic": "~8.2.1",
18
+ "@angular/router": "~8.2.1",
19
+ "ngx-image-cropper": "^3.3.4",
20
+ "keycloak-angular": "^6.1.0",
21
+ "@types/lodash": "^4.14.168",
22
+ "moment": "^2.29.1",
23
+ "rxjs": "~6.5.2"
24
+ },
25
+ "devDependencies": {},
26
+ "module": "fesm5/sunbird-cb-utils-v2.js",
27
+ "es2015": "fesm2015/sunbird-cb-utils-v2.js",
28
+ "esm5": "esm5/sunbird-cb-utils-v2.js",
29
+ "esm2015": "esm2015/sunbird-cb-utils-v2.js",
30
+ "fesm5": "fesm5/sunbird-cb-utils-v2.js",
31
+ "fesm2015": "fesm2015/sunbird-cb-utils-v2.js",
32
+ "typings": "sunbird-cb-utils-v2.d.ts",
33
+ "metadata": "sunbird-cb-utils-v2.metadata.json",
34
+ "sideEffects": false
35
+ }
@@ -0,0 +1,79 @@
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/horizontal-scroller-v2/horizontal-scroller-v2.module';
15
+ export * from './lib/helpers/logout/logout.component';
16
+ export * from './lib/helpers/logout/logout.module';
17
+ export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module';
18
+ export * from './lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe';
19
+ export * from './lib/pipes/pipe-count-transform/pipe-count-transform.module';
20
+ export * from './lib/pipes/pipe-count-transform/pipe-count-transform.pipe';
21
+ export * from './lib/pipes/pipe-date-concat/pipe-date-concat.module';
22
+ export * from './lib/pipes/pipe-date-concat/pipe-date-concat.pipe';
23
+ export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.module';
24
+ export * from './lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe';
25
+ export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module';
26
+ export * from './lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe';
27
+ export * from './lib/pipes/pipe-filter/pipe-filter.module';
28
+ export * from './lib/pipes/pipe-filter/pipe-filter.pipe';
29
+ export * from './lib/pipes/pipe-email/pipe-email.module';
30
+ export * from './lib/pipes/pipe-email/pipe-email.pipe';
31
+ export * from './lib/pipes/pipe-filter-v2/pipe-filter-v2.module';
32
+ export * from './lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe';
33
+ export * from './lib/pipes/pipe-filter-v3/pipe-filter-v3.module';
34
+ export * from './lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe';
35
+ export * from './lib/pipes/pipe-filter-search/pipe-filter-search.module';
36
+ export * from './lib/pipes/pipe-filter-search/pipe-filter-search.pipe';
37
+ export * from './lib/pipes/pipe-list-filter/pipe-list-filter.module';
38
+ export * from './lib/pipes/pipe-list-filter/pipe-list-filter.pipe';
39
+ export * from './lib/pipes/pipe-relative-time/pipe-relative-time.module';
40
+ export * from './lib/pipes/pipe-relative-time/pipe-relative-time.pipe';
41
+ export * from './lib/pipes/pipe-order-by/pipe-order-by.module';
42
+ export * from './lib/pipes/pipe-order-by/pipe-order-by.pipe';
43
+ export * from './lib/pipes/pipe-limit-to/pipe-limit-to.module';
44
+ export * from './lib/pipes/pipe-limit-to/pipe-limit-to.pipe';
45
+ export * from './lib/pipes/pipe-name-transform/pipe-name-transform.module';
46
+ export * from './lib/pipes/pipe-name-transform/pipe-name-transform.pipe';
47
+ export * from './lib/pipes/pipe-partial-content/pipe-partial-content.module';
48
+ export * from './lib/pipes/pipe-partial-content/pipe-partial-content.pipe';
49
+ export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module';
50
+ export * from './lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe';
51
+ export * from './lib/pipes/pipe-public-URL/pipe-public-URL.module';
52
+ export * from './lib/pipes/pipe-public-URL/pipe-public-URL.pipe';
53
+ export * from './lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module';
54
+ export * from './lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe';
55
+ export * from './lib/resolvers/explore-detail.resolver';
56
+ export * from './lib/resolvers/marketing-offering.resolve';
57
+ export * from './lib/resolvers/page.model';
58
+ export * from './lib/resolvers/page.resolver';
59
+ export * from './lib/resolvers/page-name.resolver';
60
+ export * from './lib/resolvers/module-name.resolver';
61
+ export * from './lib/resolvers/resolver.model';
62
+ export * from './lib/services/auth-keycloak.service';
63
+ export * from './lib/services/auth-microsoft.service';
64
+ export * from './lib/services/configurations.model';
65
+ export * from './lib/services/configurations.service';
66
+ export * from './lib/services/event.model';
67
+ export * from './lib/services/event.service';
68
+ export * from './lib/services/logger.service';
69
+ export * from './lib/services/ms-office.model';
70
+ export * from './lib/services/subapplication-respond.service';
71
+ export * from './lib/services/telemetry.service';
72
+ export * from './lib/services/user-preference.model';
73
+ export * from './lib/services/user-preference.service';
74
+ export * from './lib/services/utility.service';
75
+ export * from './lib/services/value.service';
76
+ export * from './lib/services/multilingual-translations.service';
77
+ export * from './lib/services/widget-content.service';
78
+ export * from './lib/services/subapplication-respond.service';
79
+ export * from './lib/services/widget-content.model';
@@ -0,0 +1,10 @@
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 { HorizontalScrollerV2Component as ɵh } from './lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component';
9
+ export { HorizontalScrollerComponent as ɵg } from './lib/helpers/horizontal-scroller/horizontal-scroller.component';
10
+ export { NPSGridService as ɵi } from './lib/services/nps-grid.service';