@sunbird-cb/utils-v2 0.0.11 → 0.0.13

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 (311) hide show
  1. package/bundles/sunbird-cb-utils-v2.umd.js +6701 -6677
  2. package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -1
  4. package/bundles/sunbird-cb-utils-v2.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/horizontal-scroller-v2/horizontal-scroller-v2.component.js +194 -194
  25. package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +19 -19
  26. package/esm2015/lib/helpers/logout/logout.component.js +89 -89
  27. package/esm2015/lib/helpers/logout/logout.module.js +19 -19
  28. package/esm2015/lib/models/profile-v3.models.js +104 -104
  29. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +15 -15
  30. package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +116 -94
  31. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +12 -12
  32. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +58 -58
  33. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +14 -14
  34. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +32 -32
  35. package/esm2015/lib/pipes/pipe-coursename/PipeCourseNameModule.js +15 -15
  36. package/esm2015/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +13 -13
  37. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +14 -14
  38. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +42 -42
  39. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +14 -14
  40. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +81 -81
  41. package/esm2015/lib/pipes/pipe-email/pipe-email.module.js +15 -15
  42. package/esm2015/lib/pipes/pipe-email/pipe-email.pipe.js +12 -12
  43. package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +14 -14
  44. package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +15 -15
  45. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +14 -14
  46. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +37 -37
  47. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +14 -14
  48. package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +20 -20
  49. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +15 -15
  50. package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +23 -23
  51. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +14 -14
  52. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +11 -11
  53. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +14 -14
  54. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +24 -24
  55. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +14 -14
  56. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +16 -16
  57. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +14 -14
  58. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +26 -26
  59. package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +15 -15
  60. package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +39 -39
  61. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +14 -14
  62. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +15 -15
  63. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +15 -15
  64. package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +17 -17
  65. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +14 -14
  66. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +17 -17
  67. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +15 -15
  68. package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +26 -26
  69. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +14 -14
  70. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +15 -15
  71. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +14 -14
  72. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +34 -34
  73. package/esm2015/lib/resolvers/explore-detail.resolver.js +88 -88
  74. package/esm2015/lib/resolvers/marketing-offering.resolve.js +39 -39
  75. package/esm2015/lib/resolvers/module-name.resolver.js +38 -38
  76. package/esm2015/lib/resolvers/page-name.resolver.js +32 -32
  77. package/esm2015/lib/resolvers/page.constant.js +3 -3
  78. package/esm2015/lib/resolvers/page.model.js +47 -47
  79. package/esm2015/lib/resolvers/page.resolver.js +89 -89
  80. package/esm2015/lib/resolvers/resolver.model.js +5 -5
  81. package/esm2015/lib/services/auth-keycloak.service.js +267 -267
  82. package/esm2015/lib/services/auth-microsoft.service.js +195 -195
  83. package/esm2015/lib/services/card-content.model.js +30 -30
  84. package/esm2015/lib/services/configurations.model.js +550 -550
  85. package/esm2015/lib/services/configurations.service.js +142 -140
  86. package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
  87. package/esm2015/lib/services/event.model.js +257 -257
  88. package/esm2015/lib/services/event.service.js +210 -210
  89. package/esm2015/lib/services/logger.service.js +54 -54
  90. package/esm2015/lib/services/ms-office.model.js +7 -7
  91. package/esm2015/lib/services/multilingual-translations.service.js +136 -136
  92. package/esm2015/lib/services/nps-grid.service.js +45 -45
  93. package/esm2015/lib/services/subapplication-respond.service.js +213 -213
  94. package/esm2015/lib/services/telemetry.service.js +620 -620
  95. package/esm2015/lib/services/user-preference.model.js +37 -37
  96. package/esm2015/lib/services/user-preference.service.js +89 -89
  97. package/esm2015/lib/services/utility.service.js +144 -144
  98. package/esm2015/lib/services/value.service.js +30 -30
  99. package/esm2015/lib/services/widget-content.model.js +372 -372
  100. package/esm2015/lib/services/widget-content.service.js +203 -203
  101. package/esm2015/lib/services/widget-resolver.model.js +56 -56
  102. package/esm2015/lib/services/widget-search.model.js +125 -125
  103. package/esm2015/public-api.js +87 -87
  104. package/esm2015/sunbird-cb-utils-v2.js +9 -9
  105. package/esm5/lib/components/image-crop/image-crop.component.js +199 -199
  106. package/esm5/lib/components/image-crop/image-crop.module.js +30 -30
  107. package/esm5/lib/constants/features.enum.js +554 -554
  108. package/esm5/lib/constants/instances.enum.js +4 -4
  109. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +104 -104
  110. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +18 -18
  111. package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +39 -39
  112. package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +18 -18
  113. package/esm5/lib/directives/image-responsive/image-responsive.directive.js +94 -94
  114. package/esm5/lib/directives/image-responsive/image-responsive.module.js +18 -18
  115. package/esm5/lib/directives/in-view-port/in-view-port.directive.js +72 -72
  116. package/esm5/lib/directives/in-view-port/in-view-port.module.js +18 -18
  117. package/esm5/lib/directives/navigation/navigation.directive.js +40 -40
  118. package/esm5/lib/directives/navigation/navigation.module.js +18 -18
  119. package/esm5/lib/directives/permission/permission.directive.js +13 -13
  120. package/esm5/lib/directives/permission/permission.module.js +18 -18
  121. package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  122. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +102 -102
  123. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +22 -22
  124. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +199 -199
  125. package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
  126. package/esm5/lib/helpers/logout/logout.component.js +95 -95
  127. package/esm5/lib/helpers/logout/logout.module.js +23 -23
  128. package/esm5/lib/models/profile-v3.models.js +104 -104
  129. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +19 -19
  130. package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +118 -96
  131. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +16 -16
  132. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +62 -62
  133. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +18 -18
  134. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +36 -36
  135. package/esm5/lib/pipes/pipe-coursename/PipeCourseNameModule.js +19 -19
  136. package/esm5/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +17 -17
  137. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +18 -18
  138. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +44 -44
  139. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
  140. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +85 -85
  141. package/esm5/lib/pipes/pipe-email/pipe-email.module.js +19 -19
  142. package/esm5/lib/pipes/pipe-email/pipe-email.pipe.js +16 -16
  143. package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +18 -18
  144. package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +19 -19
  145. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +18 -18
  146. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +45 -45
  147. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +18 -18
  148. package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +24 -24
  149. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +19 -19
  150. package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +31 -31
  151. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +18 -18
  152. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +15 -15
  153. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +18 -18
  154. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +29 -29
  155. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +18 -18
  156. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +20 -20
  157. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +18 -18
  158. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +30 -30
  159. package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +19 -19
  160. package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +41 -41
  161. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +18 -18
  162. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +17 -17
  163. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +19 -19
  164. package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +21 -21
  165. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +18 -18
  166. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +33 -33
  167. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
  168. package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +28 -28
  169. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +18 -18
  170. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +19 -19
  171. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +18 -18
  172. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +37 -37
  173. package/esm5/lib/resolvers/explore-detail.resolver.js +92 -92
  174. package/esm5/lib/resolvers/marketing-offering.resolve.js +42 -42
  175. package/esm5/lib/resolvers/module-name.resolver.js +40 -40
  176. package/esm5/lib/resolvers/page-name.resolver.js +35 -35
  177. package/esm5/lib/resolvers/page.constant.js +3 -3
  178. package/esm5/lib/resolvers/page.model.js +47 -47
  179. package/esm5/lib/resolvers/page.resolver.js +97 -97
  180. package/esm5/lib/resolvers/resolver.model.js +5 -5
  181. package/esm5/lib/services/auth-keycloak.service.js +352 -352
  182. package/esm5/lib/services/auth-microsoft.service.js +250 -250
  183. package/esm5/lib/services/card-content.model.js +30 -30
  184. package/esm5/lib/services/configurations.model.js +550 -550
  185. package/esm5/lib/services/configurations.service.js +144 -142
  186. package/esm5/lib/services/content-strip-multiple.model.js +74 -74
  187. package/esm5/lib/services/event.model.js +257 -257
  188. package/esm5/lib/services/event.service.js +214 -214
  189. package/esm5/lib/services/logger.service.js +72 -72
  190. package/esm5/lib/services/ms-office.model.js +7 -7
  191. package/esm5/lib/services/multilingual-translations.service.js +138 -138
  192. package/esm5/lib/services/nps-grid.service.js +47 -47
  193. package/esm5/lib/services/subapplication-respond.service.js +218 -218
  194. package/esm5/lib/services/telemetry.service.js +669 -669
  195. package/esm5/lib/services/user-preference.model.js +37 -37
  196. package/esm5/lib/services/user-preference.service.js +108 -108
  197. package/esm5/lib/services/utility.service.js +177 -177
  198. package/esm5/lib/services/value.service.js +32 -32
  199. package/esm5/lib/services/widget-content.model.js +372 -372
  200. package/esm5/lib/services/widget-content.service.js +225 -225
  201. package/esm5/lib/services/widget-resolver.model.js +56 -56
  202. package/esm5/lib/services/widget-search.model.js +125 -125
  203. package/esm5/public-api.js +87 -87
  204. package/esm5/sunbird-cb-utils-v2.js +9 -9
  205. package/fesm2015/sunbird-cb-utils-v2.js +6192 -6168
  206. package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
  207. package/fesm5/sunbird-cb-utils-v2.js +6701 -6677
  208. package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
  209. package/lib/components/image-crop/image-crop.component.d.ts +56 -56
  210. package/lib/components/image-crop/image-crop.module.d.ts +2 -2
  211. package/lib/constants/features.enum.d.ts +553 -553
  212. package/lib/constants/instances.enum.d.ts +3 -3
  213. package/lib/constants/misc.constants.d.ts +2 -2
  214. package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -18
  215. package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -2
  216. package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
  217. package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
  218. package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -17
  219. package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -2
  220. package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -11
  221. package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -2
  222. package/lib/directives/navigation/navigation.directive.d.ts +9 -9
  223. package/lib/directives/navigation/navigation.module.d.ts +2 -2
  224. package/lib/directives/permission/permission.directive.d.ts +3 -3
  225. package/lib/directives/permission/permission.module.d.ts +2 -2
  226. package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -3
  227. package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -18
  228. package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -2
  229. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +36 -36
  230. package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
  231. package/lib/helpers/logout/logout.component.d.ts +20 -20
  232. package/lib/helpers/logout/logout.module.d.ts +2 -2
  233. package/lib/models/profile-v3.models.d.ts +91 -91
  234. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.d.ts +2 -2
  235. package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.d.ts +6 -6
  236. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -2
  237. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -10
  238. package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -2
  239. package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -4
  240. package/lib/pipes/pipe-coursename/PipeCourseNameModule.d.ts +2 -2
  241. package/lib/pipes/pipe-coursename/pipe-coursename.pipe.d.ts +4 -4
  242. package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -2
  243. package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -13
  244. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
  245. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
  246. package/lib/pipes/pipe-email/pipe-email.module.d.ts +2 -2
  247. package/lib/pipes/pipe-email/pipe-email.pipe.d.ts +4 -4
  248. package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -2
  249. package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -4
  250. package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -2
  251. package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -4
  252. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.d.ts +2 -2
  253. package/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.d.ts +4 -4
  254. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.d.ts +2 -2
  255. package/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.d.ts +4 -4
  256. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -2
  257. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -4
  258. package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -2
  259. package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -4
  260. package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -2
  261. package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -4
  262. package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -2
  263. package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +9 -9
  264. package/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.d.ts +2 -2
  265. package/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.d.ts +7 -7
  266. package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -2
  267. package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -9
  268. package/lib/pipes/pipe-ordinal/pipe-ordinal.module.d.ts +2 -2
  269. package/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.d.ts +4 -4
  270. package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -2
  271. package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -4
  272. package/lib/pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
  273. package/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
  274. package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -2
  275. package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -4
  276. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -2
  277. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -7
  278. package/lib/resolvers/explore-detail.resolver.d.ts +16 -16
  279. package/lib/resolvers/marketing-offering.resolve.d.ts +10 -10
  280. package/lib/resolvers/module-name.resolver.d.ts +6 -6
  281. package/lib/resolvers/page-name.resolver.d.ts +5 -5
  282. package/lib/resolvers/page.constant.d.ts +1 -1
  283. package/lib/resolvers/page.model.d.ts +41 -41
  284. package/lib/resolvers/page.resolver.d.ts +17 -17
  285. package/lib/resolvers/resolver.model.d.ts +4 -4
  286. package/lib/services/auth-keycloak.service.d.ts +31 -31
  287. package/lib/services/auth-microsoft.service.d.ts +30 -30
  288. package/lib/services/card-content.model.d.ts +29 -29
  289. package/lib/services/configurations.model.d.ts +523 -523
  290. package/lib/services/configurations.service.d.ts +74 -73
  291. package/lib/services/content-strip-multiple.model.d.ts +79 -79
  292. package/lib/services/event.model.d.ts +221 -221
  293. package/lib/services/event.service.d.ts +30 -30
  294. package/lib/services/logger.service.d.ts +15 -15
  295. package/lib/services/ms-office.model.d.ts +6 -6
  296. package/lib/services/multilingual-translations.service.d.ts +20 -20
  297. package/lib/services/nps-grid.service.d.ts +12 -12
  298. package/lib/services/subapplication-respond.service.d.ts +23 -23
  299. package/lib/services/telemetry.service.d.ts +56 -56
  300. package/lib/services/user-preference.model.d.ts +34 -34
  301. package/lib/services/user-preference.service.d.ts +11 -11
  302. package/lib/services/utility.service.d.ts +31 -31
  303. package/lib/services/value.service.d.ts +8 -8
  304. package/lib/services/widget-content.model.d.ts +344 -344
  305. package/lib/services/widget-content.service.d.ts +50 -50
  306. package/lib/services/widget-resolver.model.d.ts +48 -48
  307. package/lib/services/widget-search.model.d.ts +114 -114
  308. package/package.json +1 -1
  309. package/public-api.d.ts +87 -87
  310. package/sunbird-cb-utils-v2.d.ts +9 -9
  311. package/sunbird-cb-utils-v2.metadata.json +1 -1
@@ -1,523 +1,523 @@
1
- import { NsPage } from '../resolvers/page.model';
2
- import { NsWidgetResolver } from './widget-resolver.model';
3
- export declare namespace NsInstanceConfig {
4
- interface IConfig {
5
- authoring: {
6
- doUniqueCheck: boolean;
7
- isMultiStepFlow: boolean;
8
- allowExpiry: boolean;
9
- allowRestore: boolean;
10
- allowReview: boolean;
11
- allowPublish: boolean;
12
- allowRedo: boolean;
13
- newDesign: boolean;
14
- allowedContentType: string[];
15
- urlPatternMatching: {
16
- allowReplace: boolean;
17
- source: string;
18
- pattern: string;
19
- allowIframe: boolean;
20
- }[];
21
- };
22
- appSetup: boolean;
23
- chatBotUrl: string;
24
- defaultFontsize: string;
25
- defaultThemeClass: string;
26
- defaultLocale: string;
27
- disablePidCheck?: boolean;
28
- isMultilingualEnabled?: boolean;
29
- fontSizes: IFontSize[];
30
- isContentDownloadAvailable: boolean;
31
- indexHtmlMeta: IIndexHtmlMeta;
32
- keycloak: IKeycloak;
33
- locals: ILocalsConfig[];
34
- microsoft: IMicrosoft;
35
- telemetryConfig: ITelemetryConfig;
36
- themes: ITheme[];
37
- logos: ILogos;
38
- sources?: ISourceLogo[];
39
- mailIds: IMailIds;
40
- details: IDetails;
41
- validMailIdExtensionsForMailMe: string[];
42
- overrideThemeChanges: IOverrideThemeChanges;
43
- defaultFeatureConfigs: {
44
- error: string;
45
- };
46
- backgrounds: {
47
- primaryNavBar: NsPage.INavBackground;
48
- pageNavBar: NsPage.INavBackground;
49
- };
50
- featuredApps: string[];
51
- primaryNavBarConfig: IPrimaryNavbarConfig;
52
- org: string[];
53
- rootOrg: string;
54
- intranetIframeUrls?: string[];
55
- showNavBarInSetup?: boolean;
56
- intranetUrlToCheck?: string;
57
- introVideo: IPath;
58
- tourVideo: IPath;
59
- isDownloadableSource?: IPath;
60
- isDownloadableIosResource?: IPath;
61
- isDownloadableAndroidResource?: IPath;
62
- sourceFieldsUserAutocomplete?: string[];
63
- forgotPasswordConfig?: IForgotPassword;
64
- hubs: IHubs[];
65
- courseContentPath?: string;
66
- portalUrls: IPortalUrls | undefined;
67
- positions: any;
68
- websitelanguages: any[];
69
- profileTimelyNudges: any;
70
- npsCategory?: string;
71
- }
72
- interface IPortalUrls {
73
- igot: string;
74
- spv: string;
75
- mdo: string;
76
- cbc: string;
77
- cbp: string;
78
- frac: string;
79
- }
80
- interface IForgotPassword {
81
- local?: string;
82
- enterprise?: string;
83
- social?: string;
84
- }
85
- interface ISourceLogo {
86
- sourceName?: string;
87
- sourceId?: string;
88
- logo?: string;
89
- }
90
- interface IPath {
91
- [key: string]: string;
92
- }
93
- interface IHubs {
94
- active: boolean;
95
- desc: string;
96
- hubname: string;
97
- icon: string;
98
- path: string;
99
- order: number;
100
- }
101
- interface IIndexHtmlMeta {
102
- description?: string;
103
- openSearchUrl?: string;
104
- webmanifest: string;
105
- xIcon?: string;
106
- pngIcon?: string;
107
- }
108
- interface IFontSize {
109
- baseFontSize: string;
110
- fontClass: string;
111
- scale: number;
112
- }
113
- interface IKeycloak {
114
- defaultidpHint: 'E' | 'N' | 'S';
115
- isLoginHidden: boolean;
116
- bearerExcludedUrls: string[];
117
- clientId: string;
118
- key: string;
119
- realm: string;
120
- url: string;
121
- changePasswordUrl?: string;
122
- onLoad?: 'check-sso' | 'login-required';
123
- }
124
- interface ILocalsConfig {
125
- isAvailable: boolean;
126
- isEnabled: boolean;
127
- locals: string[];
128
- path: string;
129
- isRTL: boolean;
130
- }
131
- interface IMicrosoft {
132
- clientId: string;
133
- defaultEmailId: string;
134
- tenant: string;
135
- validEmailExtensions: string[];
136
- isConfigured: boolean;
137
- }
138
- interface ITheme {
139
- color: IThemeColor;
140
- themeFile: string;
141
- themeClass: string;
142
- themeName: string;
143
- }
144
- interface IThemeColor {
145
- accent: string;
146
- primary: string;
147
- warn: string;
148
- }
149
- interface IOverrideThemeChanges {
150
- isEnabled: boolean;
151
- desktop: IDesktop;
152
- mWeb: IMWeb;
153
- }
154
- interface IDesktop {
155
- animationDuration: number;
156
- logoUrl: string;
157
- logoText: string;
158
- logoDisplayTime: number;
159
- backgroundTheme: string;
160
- }
161
- interface IMWeb {
162
- logoUrl: string;
163
- logoText: string;
164
- }
165
- interface ILogos {
166
- app: string;
167
- appTransparent: string;
168
- appSecondary: string;
169
- aboutFooter: string;
170
- aboutHeader: string;
171
- appBottomNav?: string;
172
- company: string;
173
- developedBy: string;
174
- poweredBy: string;
175
- defaultContent?: string;
176
- defaultSourceLogo?: string;
177
- landingLogo: string;
178
- navbarLogo?: string;
179
- playListLogo?: string;
180
- thumpsUp?: string;
181
- }
182
- interface IMailIds {
183
- contactUs: string;
184
- default: string;
185
- support: string;
186
- }
187
- interface IDetails {
188
- appName: string;
189
- }
190
- interface IPrimaryNavbarConfig {
191
- mediumScreen: IPrimaryNavBarScreen;
192
- smallScreen: IPrimaryNavBarScreen;
193
- }
194
- interface IPrimaryNavBarScreen {
195
- left: IPrimaryNavBarSide[];
196
- right: IPrimaryNavBarSide[];
197
- }
198
- interface IPrimaryNavBarSide {
199
- type: 'widgetButton' | 'featureButton';
200
- config: NsWidgetResolver.IRenderConfigWithAnyData | NsPage.INavLink;
201
- }
202
- interface ITelemetryConfig {
203
- pdata: {
204
- id: string;
205
- ver: string;
206
- pid: string;
207
- };
208
- object: {
209
- ver: string;
210
- id: string | undefined;
211
- };
212
- uid: string | null;
213
- authtoken?: string;
214
- env: string;
215
- channel: string;
216
- batchsize: number;
217
- host: string;
218
- endpoint: string;
219
- apislug: string;
220
- sid: string;
221
- publicEndpoint: string;
222
- protectedEndpoint: string;
223
- }
224
- }
225
- export declare namespace NsAppsConfig {
226
- type TIconType = 'mat-icon' | 'url';
227
- interface IAppsConfig {
228
- groups: IGroup[];
229
- features: {
230
- [id: string]: IFeature;
231
- };
232
- tourGuide?: string[][];
233
- }
234
- interface IGroup {
235
- id: string;
236
- iconType: string;
237
- icon: string;
238
- keywords: string[];
239
- name: string;
240
- toolTip: string;
241
- featureIds: string[];
242
- stripBackground?: string;
243
- hasRole: string[];
244
- }
245
- interface IFeature {
246
- name: string;
247
- id: string;
248
- url: string;
249
- permission: string | string[] | {
250
- all: string[];
251
- some: string[];
252
- none: string[];
253
- };
254
- iconType: TIconType;
255
- icon: string;
256
- keywords: string[];
257
- toolTip: string;
258
- accessKey: string;
259
- status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
260
- shortName: string;
261
- description?: string;
262
- badgeEndpoint?: string;
263
- mobileAppFunction?: string;
264
- color?: string;
265
- target?: string;
266
- }
267
- }
268
- export declare namespace NsUser {
269
- interface IUserProfile {
270
- userId: string;
271
- email?: string;
272
- departmentName?: string;
273
- userName?: string;
274
- firstName?: string;
275
- surName?: string;
276
- middleName?: string;
277
- lastName?: string;
278
- rootOrgId?: string;
279
- rootOrgName?: string;
280
- profileImage?: string;
281
- givenName?: string;
282
- country?: null | string;
283
- unit?: string | null;
284
- source_profile_picture?: null | string;
285
- dealerCode?: null | string;
286
- isManager?: boolean;
287
- competencies?: any;
288
- systemTopics?: any;
289
- desiredTopics?: any;
290
- desiredCompetencies?: any;
291
- userRoles?: any;
292
- profileUpdateCompletion?: number;
293
- profileImageUrl?: string;
294
- professionalDetails?: any;
295
- webPortalLang?: any;
296
- departmentImg?: any;
297
- }
298
- interface INodebbUserProfile {
299
- username: string;
300
- email: string;
301
- }
302
- interface IUserPidProfile {
303
- kid_updated: boolean;
304
- user: IUser;
305
- }
306
- interface IUserPidProfileV2 {
307
- kid_updated: boolean;
308
- result: {
309
- response: IUserV2;
310
- };
311
- }
312
- interface IUserPidProfileVer2 {
313
- result: {
314
- UserProfile: IUserVer2;
315
- };
316
- }
317
- interface ISourceData {
318
- GID: string;
319
- SNAMPRE: string;
320
- SNAMADD: string;
321
- LASTNAME: string;
322
- SN: string;
323
- GIVENNAME: string;
324
- NICKNAME: string;
325
- PREFERREDSN: string;
326
- PERSONALTITLE: string;
327
- MOBILE: string;
328
- MAIL: string;
329
- DEPARTMENTTEXT: string;
330
- COSTLOCATIONUNIT: string;
331
- COSTLOCATION: string;
332
- ORGID: string;
333
- MGMTRESP: string;
334
- UTC: string;
335
- CNAMEENG: string;
336
- LNAMEINT: string;
337
- USERTYPE: string;
338
- STATUS: string;
339
- CONTRACTSTATUS: string;
340
- }
341
- interface IUser {
342
- wid: string;
343
- root_org: string;
344
- org: string;
345
- is_active?: any;
346
- account_expiry_date?: any;
347
- kid: string;
348
- imported_source_name: string;
349
- source_id: string;
350
- username?: any;
351
- first_name: string;
352
- last_name: string;
353
- middle_name?: any;
354
- known_as: string;
355
- salutation?: any;
356
- email: string;
357
- gender?: any;
358
- dob?: any;
359
- languages_known?: any;
360
- preferred_language?: any;
361
- source_profile_picture?: any;
362
- residence_country: string;
363
- residence_state?: any;
364
- residence_city: string;
365
- contact_phone_number_office?: any;
366
- contact_phone_number_home?: any;
367
- contact_phone_number_personal: string;
368
- employement_status?: any;
369
- contract_type?: any;
370
- job_title?: any;
371
- job_role?: any;
372
- department_name: string;
373
- unit_name?: any;
374
- organization_location_country?: any;
375
- organization_location_state?: any;
376
- organization_location_city?: any;
377
- time_inserted: Date;
378
- time_updated: Date;
379
- json_unmapped_fields?: any;
380
- source_data: ISourceData;
381
- }
382
- interface IRootOrg {
383
- dateTime: string;
384
- preferredLanguage: string;
385
- keys: {};
386
- channel: string;
387
- approvedBy: string;
388
- description: string;
389
- updatedDate: string;
390
- addressId: string;
391
- orgType: string;
392
- provider: string;
393
- orgCode: string;
394
- locationId: string;
395
- theme: string;
396
- id: string;
397
- isApproved: boolean;
398
- communityId: string;
399
- slug: string;
400
- email: string;
401
- isSSOEnabled: boolean;
402
- thumbnail: string;
403
- updatedBy: string;
404
- orgName: string;
405
- locationIds: [];
406
- externalId: string;
407
- isRootOrg: boolean;
408
- rootOrgId: string;
409
- imgUrl: string;
410
- approvedDate: string;
411
- orgTypeId: string;
412
- homeUrl: string;
413
- isDefault: boolean;
414
- createdDate: string;
415
- contactDetail: string;
416
- parentOrgId: string;
417
- createdBy: string;
418
- hashTagId: string;
419
- noOfMembers: string;
420
- status: number;
421
- }
422
- interface IOrg {
423
- updatedBy: string;
424
- organisationId: string;
425
- orgName: string;
426
- addedByName: string;
427
- addedBy: string;
428
- roles: string[];
429
- approvedBy: string;
430
- updatedDate: string;
431
- userId: string;
432
- approvaldate: string;
433
- isDeleted: boolean;
434
- parentOrgId: string;
435
- hashTagId: string;
436
- isRejected: boolean;
437
- position: string;
438
- id: string;
439
- orgjoindate: string;
440
- isApproved: boolean;
441
- orgLeftDate: string;
442
- }
443
- interface IUserV2 {
444
- surName: any;
445
- maskedPhone: string;
446
- rootOrgName: string;
447
- subject: [];
448
- channel: string;
449
- language: [];
450
- updatedDate: string;
451
- managedBy: string;
452
- flagsValue: number;
453
- id: string;
454
- recoveryEmail: string;
455
- identifier: string;
456
- thumbnail: string;
457
- profileVisibility: [];
458
- updatedBy: string;
459
- accesscode: string;
460
- locationIds: [];
461
- externalIds: [];
462
- registryId: string;
463
- rootOrgId: string;
464
- prevUsedEmail: string;
465
- firstName: string;
466
- tncAcceptedOn: string;
467
- phone: string;
468
- dob: string;
469
- grade: [];
470
- currentLoginTime: string;
471
- userType: string;
472
- status: number;
473
- lastName: string;
474
- gender: string;
475
- roles: string[];
476
- prevUsedPhone: string;
477
- stateValidated: boolean;
478
- isDeleted: boolean;
479
- organisations: IOrg[];
480
- countryCode: string;
481
- maskedEmail: string;
482
- tempPassword: string;
483
- email: string;
484
- rootOrg: IRootOrg;
485
- profileSummary: string;
486
- phoneVerified: boolean;
487
- recoveryPhone: string;
488
- userName: string;
489
- userId: string;
490
- lastLoginTime: string;
491
- emailVerified: true;
492
- framework: {};
493
- createdDate: string;
494
- createdBy: string;
495
- location: string;
496
- tncAcceptedVersion: string;
497
- }
498
- interface IUserVer2 {
499
- 'firstname': string;
500
- 'motherTongue': string;
501
- 'secondaryEmail': string;
502
- 'gender': string;
503
- '@type': string;
504
- 'mobile': number;
505
- 'middlename': string;
506
- 'telephone': number;
507
- 'osid': string;
508
- 'primaryEmailType': string;
509
- 'knownLanguages': ILanguages[];
510
- 'wid': string;
511
- 'nationality': string;
512
- 'surname': string;
513
- 'dob': string;
514
- 'category': string;
515
- 'primaryEmail': string;
516
- 'maritalStatus': string;
517
- 'residenceAddress': string;
518
- 'result': any;
519
- }
520
- interface ILanguages {
521
- name: string;
522
- }
523
- }
1
+ import { NsPage } from '../resolvers/page.model';
2
+ import { NsWidgetResolver } from './widget-resolver.model';
3
+ export declare namespace NsInstanceConfig {
4
+ interface IConfig {
5
+ authoring: {
6
+ doUniqueCheck: boolean;
7
+ isMultiStepFlow: boolean;
8
+ allowExpiry: boolean;
9
+ allowRestore: boolean;
10
+ allowReview: boolean;
11
+ allowPublish: boolean;
12
+ allowRedo: boolean;
13
+ newDesign: boolean;
14
+ allowedContentType: string[];
15
+ urlPatternMatching: {
16
+ allowReplace: boolean;
17
+ source: string;
18
+ pattern: string;
19
+ allowIframe: boolean;
20
+ }[];
21
+ };
22
+ appSetup: boolean;
23
+ chatBotUrl: string;
24
+ defaultFontsize: string;
25
+ defaultThemeClass: string;
26
+ defaultLocale: string;
27
+ disablePidCheck?: boolean;
28
+ isMultilingualEnabled?: boolean;
29
+ fontSizes: IFontSize[];
30
+ isContentDownloadAvailable: boolean;
31
+ indexHtmlMeta: IIndexHtmlMeta;
32
+ keycloak: IKeycloak;
33
+ locals: ILocalsConfig[];
34
+ microsoft: IMicrosoft;
35
+ telemetryConfig: ITelemetryConfig;
36
+ themes: ITheme[];
37
+ logos: ILogos;
38
+ sources?: ISourceLogo[];
39
+ mailIds: IMailIds;
40
+ details: IDetails;
41
+ validMailIdExtensionsForMailMe: string[];
42
+ overrideThemeChanges: IOverrideThemeChanges;
43
+ defaultFeatureConfigs: {
44
+ error: string;
45
+ };
46
+ backgrounds: {
47
+ primaryNavBar: NsPage.INavBackground;
48
+ pageNavBar: NsPage.INavBackground;
49
+ };
50
+ featuredApps: string[];
51
+ primaryNavBarConfig: IPrimaryNavbarConfig;
52
+ org: string[];
53
+ rootOrg: string;
54
+ intranetIframeUrls?: string[];
55
+ showNavBarInSetup?: boolean;
56
+ intranetUrlToCheck?: string;
57
+ introVideo: IPath;
58
+ tourVideo: IPath;
59
+ isDownloadableSource?: IPath;
60
+ isDownloadableIosResource?: IPath;
61
+ isDownloadableAndroidResource?: IPath;
62
+ sourceFieldsUserAutocomplete?: string[];
63
+ forgotPasswordConfig?: IForgotPassword;
64
+ hubs: IHubs[];
65
+ courseContentPath?: string;
66
+ portalUrls: IPortalUrls | undefined;
67
+ positions: any;
68
+ websitelanguages: any[];
69
+ profileTimelyNudges: any;
70
+ npsCategory?: string;
71
+ }
72
+ interface IPortalUrls {
73
+ igot: string;
74
+ spv: string;
75
+ mdo: string;
76
+ cbc: string;
77
+ cbp: string;
78
+ frac: string;
79
+ }
80
+ interface IForgotPassword {
81
+ local?: string;
82
+ enterprise?: string;
83
+ social?: string;
84
+ }
85
+ interface ISourceLogo {
86
+ sourceName?: string;
87
+ sourceId?: string;
88
+ logo?: string;
89
+ }
90
+ interface IPath {
91
+ [key: string]: string;
92
+ }
93
+ interface IHubs {
94
+ active: boolean;
95
+ desc: string;
96
+ hubname: string;
97
+ icon: string;
98
+ path: string;
99
+ order: number;
100
+ }
101
+ interface IIndexHtmlMeta {
102
+ description?: string;
103
+ openSearchUrl?: string;
104
+ webmanifest: string;
105
+ xIcon?: string;
106
+ pngIcon?: string;
107
+ }
108
+ interface IFontSize {
109
+ baseFontSize: string;
110
+ fontClass: string;
111
+ scale: number;
112
+ }
113
+ interface IKeycloak {
114
+ defaultidpHint: 'E' | 'N' | 'S';
115
+ isLoginHidden: boolean;
116
+ bearerExcludedUrls: string[];
117
+ clientId: string;
118
+ key: string;
119
+ realm: string;
120
+ url: string;
121
+ changePasswordUrl?: string;
122
+ onLoad?: 'check-sso' | 'login-required';
123
+ }
124
+ interface ILocalsConfig {
125
+ isAvailable: boolean;
126
+ isEnabled: boolean;
127
+ locals: string[];
128
+ path: string;
129
+ isRTL: boolean;
130
+ }
131
+ interface IMicrosoft {
132
+ clientId: string;
133
+ defaultEmailId: string;
134
+ tenant: string;
135
+ validEmailExtensions: string[];
136
+ isConfigured: boolean;
137
+ }
138
+ interface ITheme {
139
+ color: IThemeColor;
140
+ themeFile: string;
141
+ themeClass: string;
142
+ themeName: string;
143
+ }
144
+ interface IThemeColor {
145
+ accent: string;
146
+ primary: string;
147
+ warn: string;
148
+ }
149
+ interface IOverrideThemeChanges {
150
+ isEnabled: boolean;
151
+ desktop: IDesktop;
152
+ mWeb: IMWeb;
153
+ }
154
+ interface IDesktop {
155
+ animationDuration: number;
156
+ logoUrl: string;
157
+ logoText: string;
158
+ logoDisplayTime: number;
159
+ backgroundTheme: string;
160
+ }
161
+ interface IMWeb {
162
+ logoUrl: string;
163
+ logoText: string;
164
+ }
165
+ interface ILogos {
166
+ app: string;
167
+ appTransparent: string;
168
+ appSecondary: string;
169
+ aboutFooter: string;
170
+ aboutHeader: string;
171
+ appBottomNav?: string;
172
+ company: string;
173
+ developedBy: string;
174
+ poweredBy: string;
175
+ defaultContent?: string;
176
+ defaultSourceLogo?: string;
177
+ landingLogo: string;
178
+ navbarLogo?: string;
179
+ playListLogo?: string;
180
+ thumpsUp?: string;
181
+ }
182
+ interface IMailIds {
183
+ contactUs: string;
184
+ default: string;
185
+ support: string;
186
+ }
187
+ interface IDetails {
188
+ appName: string;
189
+ }
190
+ interface IPrimaryNavbarConfig {
191
+ mediumScreen: IPrimaryNavBarScreen;
192
+ smallScreen: IPrimaryNavBarScreen;
193
+ }
194
+ interface IPrimaryNavBarScreen {
195
+ left: IPrimaryNavBarSide[];
196
+ right: IPrimaryNavBarSide[];
197
+ }
198
+ interface IPrimaryNavBarSide {
199
+ type: 'widgetButton' | 'featureButton';
200
+ config: NsWidgetResolver.IRenderConfigWithAnyData | NsPage.INavLink;
201
+ }
202
+ interface ITelemetryConfig {
203
+ pdata: {
204
+ id: string;
205
+ ver: string;
206
+ pid: string;
207
+ };
208
+ object: {
209
+ ver: string;
210
+ id: string | undefined;
211
+ };
212
+ uid: string | null;
213
+ authtoken?: string;
214
+ env: string;
215
+ channel: string;
216
+ batchsize: number;
217
+ host: string;
218
+ endpoint: string;
219
+ apislug: string;
220
+ sid: string;
221
+ publicEndpoint: string;
222
+ protectedEndpoint: string;
223
+ }
224
+ }
225
+ export declare namespace NsAppsConfig {
226
+ type TIconType = 'mat-icon' | 'url';
227
+ interface IAppsConfig {
228
+ groups: IGroup[];
229
+ features: {
230
+ [id: string]: IFeature;
231
+ };
232
+ tourGuide?: string[][];
233
+ }
234
+ interface IGroup {
235
+ id: string;
236
+ iconType: string;
237
+ icon: string;
238
+ keywords: string[];
239
+ name: string;
240
+ toolTip: string;
241
+ featureIds: string[];
242
+ stripBackground?: string;
243
+ hasRole: string[];
244
+ }
245
+ interface IFeature {
246
+ name: string;
247
+ id: string;
248
+ url: string;
249
+ permission: string | string[] | {
250
+ all: string[];
251
+ some: string[];
252
+ none: string[];
253
+ };
254
+ iconType: TIconType;
255
+ icon: string;
256
+ keywords: string[];
257
+ toolTip: string;
258
+ accessKey: string;
259
+ status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
260
+ shortName: string;
261
+ description?: string;
262
+ badgeEndpoint?: string;
263
+ mobileAppFunction?: string;
264
+ color?: string;
265
+ target?: string;
266
+ }
267
+ }
268
+ export declare namespace NsUser {
269
+ interface IUserProfile {
270
+ userId: string;
271
+ email?: string;
272
+ departmentName?: string;
273
+ userName?: string;
274
+ firstName?: string;
275
+ surName?: string;
276
+ middleName?: string;
277
+ lastName?: string;
278
+ rootOrgId?: string;
279
+ rootOrgName?: string;
280
+ profileImage?: string;
281
+ givenName?: string;
282
+ country?: null | string;
283
+ unit?: string | null;
284
+ source_profile_picture?: null | string;
285
+ dealerCode?: null | string;
286
+ isManager?: boolean;
287
+ competencies?: any;
288
+ systemTopics?: any;
289
+ desiredTopics?: any;
290
+ desiredCompetencies?: any;
291
+ userRoles?: any;
292
+ profileUpdateCompletion?: number;
293
+ profileImageUrl?: string;
294
+ professionalDetails?: any;
295
+ webPortalLang?: any;
296
+ departmentImg?: any;
297
+ }
298
+ interface INodebbUserProfile {
299
+ username: string;
300
+ email: string;
301
+ }
302
+ interface IUserPidProfile {
303
+ kid_updated: boolean;
304
+ user: IUser;
305
+ }
306
+ interface IUserPidProfileV2 {
307
+ kid_updated: boolean;
308
+ result: {
309
+ response: IUserV2;
310
+ };
311
+ }
312
+ interface IUserPidProfileVer2 {
313
+ result: {
314
+ UserProfile: IUserVer2;
315
+ };
316
+ }
317
+ interface ISourceData {
318
+ GID: string;
319
+ SNAMPRE: string;
320
+ SNAMADD: string;
321
+ LASTNAME: string;
322
+ SN: string;
323
+ GIVENNAME: string;
324
+ NICKNAME: string;
325
+ PREFERREDSN: string;
326
+ PERSONALTITLE: string;
327
+ MOBILE: string;
328
+ MAIL: string;
329
+ DEPARTMENTTEXT: string;
330
+ COSTLOCATIONUNIT: string;
331
+ COSTLOCATION: string;
332
+ ORGID: string;
333
+ MGMTRESP: string;
334
+ UTC: string;
335
+ CNAMEENG: string;
336
+ LNAMEINT: string;
337
+ USERTYPE: string;
338
+ STATUS: string;
339
+ CONTRACTSTATUS: string;
340
+ }
341
+ interface IUser {
342
+ wid: string;
343
+ root_org: string;
344
+ org: string;
345
+ is_active?: any;
346
+ account_expiry_date?: any;
347
+ kid: string;
348
+ imported_source_name: string;
349
+ source_id: string;
350
+ username?: any;
351
+ first_name: string;
352
+ last_name: string;
353
+ middle_name?: any;
354
+ known_as: string;
355
+ salutation?: any;
356
+ email: string;
357
+ gender?: any;
358
+ dob?: any;
359
+ languages_known?: any;
360
+ preferred_language?: any;
361
+ source_profile_picture?: any;
362
+ residence_country: string;
363
+ residence_state?: any;
364
+ residence_city: string;
365
+ contact_phone_number_office?: any;
366
+ contact_phone_number_home?: any;
367
+ contact_phone_number_personal: string;
368
+ employement_status?: any;
369
+ contract_type?: any;
370
+ job_title?: any;
371
+ job_role?: any;
372
+ department_name: string;
373
+ unit_name?: any;
374
+ organization_location_country?: any;
375
+ organization_location_state?: any;
376
+ organization_location_city?: any;
377
+ time_inserted: Date;
378
+ time_updated: Date;
379
+ json_unmapped_fields?: any;
380
+ source_data: ISourceData;
381
+ }
382
+ interface IRootOrg {
383
+ dateTime: string;
384
+ preferredLanguage: string;
385
+ keys: {};
386
+ channel: string;
387
+ approvedBy: string;
388
+ description: string;
389
+ updatedDate: string;
390
+ addressId: string;
391
+ orgType: string;
392
+ provider: string;
393
+ orgCode: string;
394
+ locationId: string;
395
+ theme: string;
396
+ id: string;
397
+ isApproved: boolean;
398
+ communityId: string;
399
+ slug: string;
400
+ email: string;
401
+ isSSOEnabled: boolean;
402
+ thumbnail: string;
403
+ updatedBy: string;
404
+ orgName: string;
405
+ locationIds: [];
406
+ externalId: string;
407
+ isRootOrg: boolean;
408
+ rootOrgId: string;
409
+ imgUrl: string;
410
+ approvedDate: string;
411
+ orgTypeId: string;
412
+ homeUrl: string;
413
+ isDefault: boolean;
414
+ createdDate: string;
415
+ contactDetail: string;
416
+ parentOrgId: string;
417
+ createdBy: string;
418
+ hashTagId: string;
419
+ noOfMembers: string;
420
+ status: number;
421
+ }
422
+ interface IOrg {
423
+ updatedBy: string;
424
+ organisationId: string;
425
+ orgName: string;
426
+ addedByName: string;
427
+ addedBy: string;
428
+ roles: string[];
429
+ approvedBy: string;
430
+ updatedDate: string;
431
+ userId: string;
432
+ approvaldate: string;
433
+ isDeleted: boolean;
434
+ parentOrgId: string;
435
+ hashTagId: string;
436
+ isRejected: boolean;
437
+ position: string;
438
+ id: string;
439
+ orgjoindate: string;
440
+ isApproved: boolean;
441
+ orgLeftDate: string;
442
+ }
443
+ interface IUserV2 {
444
+ surName: any;
445
+ maskedPhone: string;
446
+ rootOrgName: string;
447
+ subject: [];
448
+ channel: string;
449
+ language: [];
450
+ updatedDate: string;
451
+ managedBy: string;
452
+ flagsValue: number;
453
+ id: string;
454
+ recoveryEmail: string;
455
+ identifier: string;
456
+ thumbnail: string;
457
+ profileVisibility: [];
458
+ updatedBy: string;
459
+ accesscode: string;
460
+ locationIds: [];
461
+ externalIds: [];
462
+ registryId: string;
463
+ rootOrgId: string;
464
+ prevUsedEmail: string;
465
+ firstName: string;
466
+ tncAcceptedOn: string;
467
+ phone: string;
468
+ dob: string;
469
+ grade: [];
470
+ currentLoginTime: string;
471
+ userType: string;
472
+ status: number;
473
+ lastName: string;
474
+ gender: string;
475
+ roles: string[];
476
+ prevUsedPhone: string;
477
+ stateValidated: boolean;
478
+ isDeleted: boolean;
479
+ organisations: IOrg[];
480
+ countryCode: string;
481
+ maskedEmail: string;
482
+ tempPassword: string;
483
+ email: string;
484
+ rootOrg: IRootOrg;
485
+ profileSummary: string;
486
+ phoneVerified: boolean;
487
+ recoveryPhone: string;
488
+ userName: string;
489
+ userId: string;
490
+ lastLoginTime: string;
491
+ emailVerified: true;
492
+ framework: {};
493
+ createdDate: string;
494
+ createdBy: string;
495
+ location: string;
496
+ tncAcceptedVersion: string;
497
+ }
498
+ interface IUserVer2 {
499
+ 'firstname': string;
500
+ 'motherTongue': string;
501
+ 'secondaryEmail': string;
502
+ 'gender': string;
503
+ '@type': string;
504
+ 'mobile': number;
505
+ 'middlename': string;
506
+ 'telephone': number;
507
+ 'osid': string;
508
+ 'primaryEmailType': string;
509
+ 'knownLanguages': ILanguages[];
510
+ 'wid': string;
511
+ 'nationality': string;
512
+ 'surname': string;
513
+ 'dob': string;
514
+ 'category': string;
515
+ 'primaryEmail': string;
516
+ 'maritalStatus': string;
517
+ 'residenceAddress': string;
518
+ 'result': any;
519
+ }
520
+ interface ILanguages {
521
+ name: string;
522
+ }
523
+ }