@sunbird-cb/consumption 0.0.64 → 0.0.65

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 (344) hide show
  1. package/README.md +24 -24
  2. package/bundles/sunbird-cb-consumption.umd.js +17470 -17348
  3. package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
  4. package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
  5. package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
  6. package/esm2015/lib/_common/announcements/announcements.component.js +150 -150
  7. package/esm2015/lib/_common/announcements/announcements.module.js +23 -23
  8. package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -158
  9. package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -29
  10. package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -90
  11. package/esm2015/lib/_common/calender/calender.component.js +299 -299
  12. package/esm2015/lib/_common/calender/calender.module.js +31 -31
  13. package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +170 -170
  14. package/esm2015/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +178 -178
  15. package/esm2015/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +166 -166
  16. package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +202 -202
  17. package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +154 -154
  18. package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +154 -154
  19. package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +167 -167
  20. package/esm2015/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +170 -170
  21. package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +261 -261
  22. package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -34
  23. package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -141
  24. package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -166
  25. package/esm2015/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +171 -171
  26. package/esm2015/lib/_common/cards/cards.component.js +167 -167
  27. package/esm2015/lib/_common/cards/cards.module.js +100 -100
  28. package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +81 -81
  29. package/esm2015/lib/_common/cbp-plan/cbp-plan.component.js +166 -166
  30. package/esm2015/lib/_common/cbp-plan/cbp-plan.module.js +27 -27
  31. package/esm2015/lib/_common/common-strip/common-strip.component.js +646 -646
  32. package/esm2015/lib/_common/common-strip/common-strip.model.js +216 -216
  33. package/esm2015/lib/_common/common-strip/common-strip.module.js +62 -62
  34. package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +384 -384
  35. package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -27
  36. package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -52
  37. package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +332 -332
  38. package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +27 -27
  39. package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +52 -52
  40. package/esm2015/lib/_common/content-progress/content-progress.component.js +89 -89
  41. package/esm2015/lib/_common/content-progress/content-progress.module.js +22 -22
  42. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2559 -2443
  43. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
  44. package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -69
  45. package/esm2015/lib/_common/data-points/data-points.component.js +148 -148
  46. package/esm2015/lib/_common/data-points/data-points.module.js +23 -23
  47. package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +225 -225
  48. package/esm2015/lib/_common/dialog-components/dialog-components.module.js +43 -43
  49. package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +60 -60
  50. package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -18
  51. package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +362 -362
  52. package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
  53. package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +23 -23
  54. package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +255 -255
  55. package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel.module.js +52 -52
  56. package/esm2015/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +269 -269
  57. package/esm2015/lib/_common/microsites/providers/providers.module.js +51 -51
  58. package/esm2015/lib/_common/pills/pills.component.js +61 -61
  59. package/esm2015/lib/_common/pills/pills.module.js +24 -24
  60. package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -40
  61. package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -28
  62. package/esm2015/lib/_common/sliders/sliders.component.js +187 -187
  63. package/esm2015/lib/_common/sliders/sliders.model.js +67 -67
  64. package/esm2015/lib/_common/sliders/sliders.module.js +50 -50
  65. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -206
  66. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
  67. package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -50
  68. package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1613 -1613
  69. package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
  70. package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -69
  71. package/esm2015/lib/_common/top-learners/top-learners.component.js +155 -155
  72. package/esm2015/lib/_common/top-learners/top-learners.module.js +23 -23
  73. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +145 -145
  74. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -38
  75. package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -45
  76. package/esm2015/lib/_constants/misc.constants.js +4 -4
  77. package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +51 -51
  78. package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +18 -18
  79. package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +126 -126
  80. package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +18 -18
  81. package/esm2015/lib/_directives/navigation/navigation.directive.js +53 -53
  82. package/esm2015/lib/_directives/navigation/navigation.module.js +18 -18
  83. package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -42
  84. package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -19
  85. package/esm2015/lib/_models/card-content-v2.model.js +78 -78
  86. package/esm2015/lib/_models/card-content.model.js +69 -69
  87. package/esm2015/lib/_models/card-users.model.js +103 -103
  88. package/esm2015/lib/_models/content-strip-multiple.model.js +195 -195
  89. package/esm2015/lib/_models/event.js +45 -45
  90. package/esm2015/lib/_models/profile-v3.models.js +196 -196
  91. package/esm2015/lib/_models/rating.model.js +44 -44
  92. package/esm2015/lib/_models/widget-content.model.js +876 -876
  93. package/esm2015/lib/_models/widget-search.model.js +471 -471
  94. package/esm2015/lib/_models/widget-user.model.js +17 -17
  95. package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.js +28 -28
  96. package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.module.js +19 -19
  97. package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
  98. package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +119 -119
  99. package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
  100. package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -38
  101. package/esm2015/lib/_services/certificate.service.js +63 -63
  102. package/esm2015/lib/_services/common-methods.service.js +84 -84
  103. package/esm2015/lib/_services/configurations.service.js +243 -243
  104. package/esm2015/lib/_services/insite-data.service.js +68 -68
  105. package/esm2015/lib/_services/multilingual-translations.service.js +231 -231
  106. package/esm2015/lib/_services/rating.service.js +171 -171
  107. package/esm2015/lib/_services/viewer-route-util.js +125 -125
  108. package/esm2015/lib/_services/widget-content.service.js +852 -852
  109. package/esm2015/lib/_services/widget-user.service.js +475 -475
  110. package/esm2015/lib/consumption.component.js +26 -26
  111. package/esm2015/lib/consumption.config.js +12 -12
  112. package/esm2015/lib/consumption.module.js +36 -36
  113. package/esm2015/lib/consumption.service.js +18 -18
  114. package/esm2015/lib/registration-lib.config.js +21 -21
  115. package/esm2015/public-api.js +31 -31
  116. package/esm2015/sunbird-cb-consumption.js +77 -77
  117. package/esm5/lib/_common/announcements/announcements.component.js +166 -166
  118. package/esm5/lib/_common/announcements/announcements.module.js +27 -27
  119. package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -175
  120. package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -33
  121. package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -101
  122. package/esm5/lib/_common/calender/calender.component.js +334 -334
  123. package/esm5/lib/_common/calender/calender.module.js +35 -35
  124. package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +186 -186
  125. package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +187 -187
  126. package/esm5/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +176 -176
  127. package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +216 -216
  128. package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +164 -164
  129. package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +164 -164
  130. package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +173 -173
  131. package/esm5/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +176 -176
  132. package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +278 -278
  133. package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -41
  134. package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -147
  135. package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -172
  136. package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +181 -181
  137. package/esm5/lib/_common/cards/cards.component.js +199 -199
  138. package/esm5/lib/_common/cards/cards.module.js +104 -104
  139. package/esm5/lib/_common/cards/provider-card/provider-card.component.js +90 -90
  140. package/esm5/lib/_common/cbp-plan/cbp-plan.component.js +185 -185
  141. package/esm5/lib/_common/cbp-plan/cbp-plan.module.js +31 -31
  142. package/esm5/lib/_common/common-strip/common-strip.component.js +760 -760
  143. package/esm5/lib/_common/common-strip/common-strip.model.js +216 -216
  144. package/esm5/lib/_common/common-strip/common-strip.module.js +66 -66
  145. package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +454 -454
  146. package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -31
  147. package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -59
  148. package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +383 -383
  149. package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +31 -31
  150. package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +59 -59
  151. package/esm5/lib/_common/content-progress/content-progress.component.js +94 -94
  152. package/esm5/lib/_common/content-progress/content-progress.module.js +26 -26
  153. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2970 -2848
  154. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -214
  155. package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -73
  156. package/esm5/lib/_common/data-points/data-points.component.js +163 -163
  157. package/esm5/lib/_common/data-points/data-points.module.js +27 -27
  158. package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +248 -248
  159. package/esm5/lib/_common/dialog-components/dialog-components.module.js +47 -47
  160. package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +67 -67
  161. package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -22
  162. package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +391 -391
  163. package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -27
  164. package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +29 -29
  165. package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +292 -292
  166. package/esm5/lib/_common/microsites/mdo-channels/mdo-channel.module.js +56 -56
  167. package/esm5/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +312 -312
  168. package/esm5/lib/_common/microsites/providers/providers.module.js +55 -55
  169. package/esm5/lib/_common/pills/pills.component.js +70 -70
  170. package/esm5/lib/_common/pills/pills.module.js +28 -28
  171. package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -45
  172. package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -32
  173. package/esm5/lib/_common/sliders/sliders.component.js +214 -214
  174. package/esm5/lib/_common/sliders/sliders.model.js +67 -67
  175. package/esm5/lib/_common/sliders/sliders.module.js +67 -67
  176. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -233
  177. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
  178. package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -67
  179. package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1892 -1892
  180. package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
  181. package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -73
  182. package/esm5/lib/_common/top-learners/top-learners.component.js +172 -172
  183. package/esm5/lib/_common/top-learners/top-learners.module.js +27 -27
  184. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +168 -168
  185. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -42
  186. package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -48
  187. package/esm5/lib/_constants/misc.constants.js +4 -4
  188. package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +59 -59
  189. package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +22 -22
  190. package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +136 -136
  191. package/esm5/lib/_directives/image-responsive/image-responsive.module.js +22 -22
  192. package/esm5/lib/_directives/navigation/navigation.directive.js +62 -62
  193. package/esm5/lib/_directives/navigation/navigation.module.js +22 -22
  194. package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -45
  195. package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -23
  196. package/esm5/lib/_models/card-content-v2.model.js +78 -78
  197. package/esm5/lib/_models/card-content.model.js +69 -69
  198. package/esm5/lib/_models/card-users.model.js +103 -103
  199. package/esm5/lib/_models/content-strip-multiple.model.js +195 -195
  200. package/esm5/lib/_models/event.js +45 -45
  201. package/esm5/lib/_models/profile-v3.models.js +196 -196
  202. package/esm5/lib/_models/rating.model.js +44 -44
  203. package/esm5/lib/_models/widget-content.model.js +876 -876
  204. package/esm5/lib/_models/widget-search.model.js +471 -471
  205. package/esm5/lib/_models/widget-user.model.js +17 -17
  206. package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.js +57 -57
  207. package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.module.js +23 -23
  208. package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +22 -22
  209. package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +142 -142
  210. package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -23
  211. package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -41
  212. package/esm5/lib/_services/certificate.service.js +70 -70
  213. package/esm5/lib/_services/common-methods.service.js +102 -102
  214. package/esm5/lib/_services/configurations.service.js +257 -257
  215. package/esm5/lib/_services/insite-data.service.js +82 -82
  216. package/esm5/lib/_services/multilingual-translations.service.js +259 -259
  217. package/esm5/lib/_services/rating.service.js +214 -214
  218. package/esm5/lib/_services/viewer-route-util.js +127 -127
  219. package/esm5/lib/_services/widget-content.service.js +1109 -1109
  220. package/esm5/lib/_services/widget-user.service.js +542 -542
  221. package/esm5/lib/consumption.component.js +28 -28
  222. package/esm5/lib/consumption.config.js +12 -12
  223. package/esm5/lib/consumption.module.js +40 -40
  224. package/esm5/lib/consumption.service.js +21 -21
  225. package/esm5/lib/registration-lib.config.js +21 -21
  226. package/esm5/public-api.js +31 -31
  227. package/esm5/sunbird-cb-consumption.js +77 -77
  228. package/fesm2015/sunbird-cb-consumption.js +15407 -15291
  229. package/fesm2015/sunbird-cb-consumption.js.map +1 -1
  230. package/fesm5/sunbird-cb-consumption.js +17476 -17354
  231. package/fesm5/sunbird-cb-consumption.js.map +1 -1
  232. package/lib/_common/announcements/announcements.component.d.ts +21 -21
  233. package/lib/_common/announcements/announcements.module.d.ts +2 -2
  234. package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -20
  235. package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -2
  236. package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -18
  237. package/lib/_common/calender/calender.component.d.ts +34 -34
  238. package/lib/_common/calender/calender.module.d.ts +2 -2
  239. package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +31 -31
  240. package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +28 -28
  241. package/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.d.ts +26 -26
  242. package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +36 -36
  243. package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +27 -27
  244. package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +27 -27
  245. package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +33 -33
  246. package/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.d.ts +33 -33
  247. package/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.d.ts +41 -41
  248. package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -8
  249. package/lib/_common/cards/card-user/card-user.component.d.ts +24 -24
  250. package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -30
  251. package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +34 -34
  252. package/lib/_common/cards/cards.component.d.ts +26 -26
  253. package/lib/_common/cards/cards.module.d.ts +2 -2
  254. package/lib/_common/cards/provider-card/provider-card.component.d.ts +14 -14
  255. package/lib/_common/cbp-plan/cbp-plan.component.d.ts +25 -25
  256. package/lib/_common/cbp-plan/cbp-plan.module.d.ts +2 -2
  257. package/lib/_common/common-strip/common-strip.component.d.ts +104 -104
  258. package/lib/_common/common-strip/common-strip.model.d.ts +141 -141
  259. package/lib/_common/common-strip/common-strip.module.d.ts +2 -2
  260. package/lib/_common/competency-passbook/competency-passbook.component.d.ts +42 -42
  261. package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -2
  262. package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -8
  263. package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +43 -43
  264. package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.d.ts +2 -2
  265. package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +8 -8
  266. package/lib/_common/content-progress/content-progress.component.d.ts +13 -13
  267. package/lib/_common/content-progress/content-progress.module.d.ts +2 -2
  268. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +203 -201
  269. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -147
  270. package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -5
  271. package/lib/_common/data-points/data-points.component.d.ts +17 -17
  272. package/lib/_common/data-points/data-points.module.d.ts +2 -2
  273. package/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.d.ts +22 -22
  274. package/lib/_common/dialog-components/dialog-components.module.d.ts +2 -2
  275. package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +12 -12
  276. package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -2
  277. package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +33 -33
  278. package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
  279. package/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.d.ts +5 -5
  280. package/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.d.ts +39 -39
  281. package/lib/_common/microsites/mdo-channels/mdo-channel.module.d.ts +2 -2
  282. package/lib/_common/microsites/providers/providers-v2/providers-v2.component.d.ts +36 -36
  283. package/lib/_common/microsites/providers/providers.module.d.ts +2 -2
  284. package/lib/_common/pills/pills.component.d.ts +13 -13
  285. package/lib/_common/pills/pills.module.d.ts +2 -2
  286. package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -8
  287. package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -2
  288. package/lib/_common/sliders/sliders.component.d.ts +27 -27
  289. package/lib/_common/sliders/sliders.model.d.ts +40 -40
  290. package/lib/_common/sliders/sliders.module.d.ts +6 -6
  291. package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -29
  292. package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -34
  293. package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -6
  294. package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +161 -161
  295. package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -149
  296. package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -5
  297. package/lib/_common/top-learners/top-learners.component.d.ts +18 -18
  298. package/lib/_common/top-learners/top-learners.module.d.ts +2 -2
  299. package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -22
  300. package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -2
  301. package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -7
  302. package/lib/_constants/misc.constants.d.ts +2 -2
  303. package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
  304. package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
  305. package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -17
  306. package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -2
  307. package/lib/_directives/navigation/navigation.directive.d.ts +9 -9
  308. package/lib/_directives/navigation/navigation.module.d.ts +2 -2
  309. package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -7
  310. package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -2
  311. package/lib/_models/card-content-v2.model.d.ts +44 -44
  312. package/lib/_models/card-content.model.d.ts +41 -41
  313. package/lib/_models/card-users.model.d.ts +50 -50
  314. package/lib/_models/content-strip-multiple.model.d.ts +128 -128
  315. package/lib/_models/event.d.ts +18 -18
  316. package/lib/_models/profile-v3.models.d.ts +91 -91
  317. package/lib/_models/rating.model.d.ts +17 -17
  318. package/lib/_models/widget-content.model.d.ts +497 -497
  319. package/lib/_models/widget-search.model.d.ts +252 -252
  320. package/lib/_models/widget-user.model.d.ts +5 -5
  321. package/lib/_pipes/object-to-array/object-to-array.pipe.d.ts +4 -4
  322. package/lib/_pipes/object-to-array/object-to-array.pipe.module.d.ts +2 -2
  323. package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
  324. package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
  325. package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
  326. package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
  327. package/lib/_services/certificate.service.d.ts +8 -8
  328. package/lib/_services/common-methods.service.d.ts +39 -39
  329. package/lib/_services/configurations.service.d.ts +71 -71
  330. package/lib/_services/insite-data.service.d.ts +10 -10
  331. package/lib/_services/multilingual-translations.service.d.ts +20 -20
  332. package/lib/_services/rating.service.d.ts +15 -15
  333. package/lib/_services/viewer-route-util.d.ts +8 -8
  334. package/lib/_services/widget-content.service.d.ts +87 -87
  335. package/lib/_services/widget-user.service.d.ts +33 -33
  336. package/lib/consumption.component.d.ts +5 -5
  337. package/lib/consumption.config.d.ts +6 -6
  338. package/lib/consumption.module.d.ts +2 -2
  339. package/lib/consumption.service.d.ts +3 -3
  340. package/lib/registration-lib.config.d.ts +4 -4
  341. package/package.json +1 -1
  342. package/public-api.d.ts +23 -23
  343. package/sunbird-cb-consumption.d.ts +73 -73
  344. package/sunbird-cb-consumption.metadata.json +1 -1
@@ -1,252 +1,252 @@
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
- request?: ISearchV6Request;
45
- }
46
- interface ISearchV6RequestV2 {
47
- request: {
48
- filters: {
49
- primaryCategory: any;
50
- };
51
- query: string;
52
- sort_by: {
53
- lastUpdatedOn: string;
54
- };
55
- fields: string[];
56
- facets: string[];
57
- fuzzy?: false;
58
- };
59
- }
60
- interface ISearchV6RequestV3 {
61
- request: {
62
- secureSettings?: boolean;
63
- filters: {
64
- primaryCategory?: string[];
65
- courseCategory?: string[];
66
- contentType?: string[];
67
- status: string[];
68
- organisation?: any;
69
- 'secureSettings.isVerifiedKarmayogi'?: string;
70
- 'secureSettings.organisation'?: string;
71
- };
72
- query: string;
73
- sort_by: {
74
- lastUpdatedOn: string;
75
- };
76
- facets: string[];
77
- limit: number;
78
- };
79
- }
80
- interface ISearchSort {
81
- [key: string]: 'asc' | 'desc';
82
- }
83
- interface ISearchV6VisibleFilters {
84
- [key: string]: {
85
- displayName: string;
86
- order?: {
87
- [key: string]: 'asc' | 'desc';
88
- }[];
89
- };
90
- }
91
- interface ISearchV6Filters {
92
- andFilters?: {
93
- [key: string]: string[];
94
- }[];
95
- notFilters?: {
96
- [key: string]: string[];
97
- }[];
98
- }
99
- interface ISearchRedirection {
100
- f?: {
101
- [index: string]: string[];
102
- };
103
- q?: string;
104
- tab?: string;
105
- }
106
- interface IConfigContentStrip {
107
- titleKey?: string;
108
- title?: string;
109
- reqRoles?: string[];
110
- reqFeatures?: string[];
111
- searchRedirection?: ISearchRedirection;
112
- searchQuery?: ISearchRequest;
113
- contentIds?: string[];
114
- }
115
- interface ISearchApiResult {
116
- totalHits: number;
117
- result: NsContent.IContent[];
118
- filters: IFilterUnitResponse[];
119
- notToBeShownFilters?: IFilterUnitResponse[];
120
- filtersUsed: string[];
121
- }
122
- interface ISearchV6ApiResult {
123
- totalHits: number;
124
- result: NsContent.IContent[];
125
- filtersUsed: string[];
126
- notVisibleFilters: string[];
127
- filters: IFilterUnitResponse[];
128
- queryUsed?: string;
129
- doYouMean?: string;
130
- }
131
- interface IFilterUnitResponse {
132
- id?: string;
133
- type: string;
134
- displayName: string;
135
- content: IFilterUnitContent[];
136
- }
137
- interface IFilterUnitContent {
138
- type?: string;
139
- id?: string;
140
- displayName: string;
141
- count: number;
142
- children?: IFilterUnitContent[];
143
- }
144
- interface ITypeUnitResponse {
145
- displayName: string;
146
- type: string;
147
- count: string;
148
- }
149
- interface ISearchV6ApiResultV2 {
150
- totalHits: number;
151
- id: string;
152
- ver: string;
153
- ts: string;
154
- params: IParamsContent;
155
- responseCode: string;
156
- result: ISearchData;
157
- filters: IFilterUnitResponse[];
158
- api: string;
159
- }
160
- interface IFacet {
161
- displayName: string;
162
- type: string;
163
- content: IContentFilter[];
164
- }
165
- interface IContentFilter {
166
- displayName: string;
167
- type: string;
168
- count: number;
169
- id: string;
170
- }
171
- interface ISearchData {
172
- count: number;
173
- content: NsContent.IContent[];
174
- facets: IFacetsData[];
175
- }
176
- interface IFacetsData {
177
- values: IFacetsValues[];
178
- name: string;
179
- }
180
- interface IFacetsValues {
181
- name: string;
182
- count: number;
183
- }
184
- interface ISearchContentData {
185
- ownershipType: string[];
186
- parent: string;
187
- code: string;
188
- credentials: {
189
- enabled: string;
190
- };
191
- channel: string;
192
- downloadUrl: string;
193
- language: string[];
194
- mimeType: string;
195
- variants: IVariantsData;
196
- idealScreenSize: string;
197
- leafNodes: string[];
198
- createdOn: string;
199
- objectType: string;
200
- primaryCategory: string;
201
- children: string[];
202
- contentDisposition: string;
203
- lastUpdatedOn: string;
204
- contentEncoding: string;
205
- contentType: string;
206
- dialcodeRequired: string;
207
- trackable: {
208
- enabled: string;
209
- autoBatch: string;
210
- };
211
- identifier: string;
212
- lastStatusChangedOn: string;
213
- audience: string[];
214
- os: string[];
215
- visibility: string;
216
- index: number;
217
- mediaType: string;
218
- osId: string;
219
- languageCode: string[];
220
- graph_id: string;
221
- nodeType: string;
222
- version: number;
223
- pkgVersion: number;
224
- versionKey: string;
225
- license: string;
226
- idealScreenDensity: string;
227
- depth: number;
228
- lastPublishedOn: string;
229
- compatibilityLevel: number;
230
- leafNodesCount: number;
231
- name: string;
232
- status: string;
233
- node_id: number;
234
- }
235
- interface IVariantsData {
236
- online: {
237
- ecarUrl: string;
238
- size: number;
239
- };
240
- spine: {
241
- ecarUrl: string;
242
- size: number;
243
- };
244
- }
245
- interface IParamsContent {
246
- resmsgid: string;
247
- msgid: string;
248
- status: string;
249
- err: string;
250
- errmsg: string;
251
- }
252
- }
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
+ request?: ISearchV6Request;
45
+ }
46
+ interface ISearchV6RequestV2 {
47
+ request: {
48
+ filters: {
49
+ primaryCategory: any;
50
+ };
51
+ query: string;
52
+ sort_by: {
53
+ lastUpdatedOn: string;
54
+ };
55
+ fields: string[];
56
+ facets: string[];
57
+ fuzzy?: false;
58
+ };
59
+ }
60
+ interface ISearchV6RequestV3 {
61
+ request: {
62
+ secureSettings?: boolean;
63
+ filters: {
64
+ primaryCategory?: string[];
65
+ courseCategory?: string[];
66
+ contentType?: string[];
67
+ status: string[];
68
+ organisation?: any;
69
+ 'secureSettings.isVerifiedKarmayogi'?: string;
70
+ 'secureSettings.organisation'?: string;
71
+ };
72
+ query: string;
73
+ sort_by: {
74
+ lastUpdatedOn: string;
75
+ };
76
+ facets: string[];
77
+ limit: number;
78
+ };
79
+ }
80
+ interface ISearchSort {
81
+ [key: string]: 'asc' | 'desc';
82
+ }
83
+ interface ISearchV6VisibleFilters {
84
+ [key: string]: {
85
+ displayName: string;
86
+ order?: {
87
+ [key: string]: 'asc' | 'desc';
88
+ }[];
89
+ };
90
+ }
91
+ interface ISearchV6Filters {
92
+ andFilters?: {
93
+ [key: string]: string[];
94
+ }[];
95
+ notFilters?: {
96
+ [key: string]: string[];
97
+ }[];
98
+ }
99
+ interface ISearchRedirection {
100
+ f?: {
101
+ [index: string]: string[];
102
+ };
103
+ q?: string;
104
+ tab?: string;
105
+ }
106
+ interface IConfigContentStrip {
107
+ titleKey?: string;
108
+ title?: string;
109
+ reqRoles?: string[];
110
+ reqFeatures?: string[];
111
+ searchRedirection?: ISearchRedirection;
112
+ searchQuery?: ISearchRequest;
113
+ contentIds?: string[];
114
+ }
115
+ interface ISearchApiResult {
116
+ totalHits: number;
117
+ result: NsContent.IContent[];
118
+ filters: IFilterUnitResponse[];
119
+ notToBeShownFilters?: IFilterUnitResponse[];
120
+ filtersUsed: string[];
121
+ }
122
+ interface ISearchV6ApiResult {
123
+ totalHits: number;
124
+ result: NsContent.IContent[];
125
+ filtersUsed: string[];
126
+ notVisibleFilters: string[];
127
+ filters: IFilterUnitResponse[];
128
+ queryUsed?: string;
129
+ doYouMean?: string;
130
+ }
131
+ interface IFilterUnitResponse {
132
+ id?: string;
133
+ type: string;
134
+ displayName: string;
135
+ content: IFilterUnitContent[];
136
+ }
137
+ interface IFilterUnitContent {
138
+ type?: string;
139
+ id?: string;
140
+ displayName: string;
141
+ count: number;
142
+ children?: IFilterUnitContent[];
143
+ }
144
+ interface ITypeUnitResponse {
145
+ displayName: string;
146
+ type: string;
147
+ count: string;
148
+ }
149
+ interface ISearchV6ApiResultV2 {
150
+ totalHits: number;
151
+ id: string;
152
+ ver: string;
153
+ ts: string;
154
+ params: IParamsContent;
155
+ responseCode: string;
156
+ result: ISearchData;
157
+ filters: IFilterUnitResponse[];
158
+ api: string;
159
+ }
160
+ interface IFacet {
161
+ displayName: string;
162
+ type: string;
163
+ content: IContentFilter[];
164
+ }
165
+ interface IContentFilter {
166
+ displayName: string;
167
+ type: string;
168
+ count: number;
169
+ id: string;
170
+ }
171
+ interface ISearchData {
172
+ count: number;
173
+ content: NsContent.IContent[];
174
+ facets: IFacetsData[];
175
+ }
176
+ interface IFacetsData {
177
+ values: IFacetsValues[];
178
+ name: string;
179
+ }
180
+ interface IFacetsValues {
181
+ name: string;
182
+ count: number;
183
+ }
184
+ interface ISearchContentData {
185
+ ownershipType: string[];
186
+ parent: string;
187
+ code: string;
188
+ credentials: {
189
+ enabled: string;
190
+ };
191
+ channel: string;
192
+ downloadUrl: string;
193
+ language: string[];
194
+ mimeType: string;
195
+ variants: IVariantsData;
196
+ idealScreenSize: string;
197
+ leafNodes: string[];
198
+ createdOn: string;
199
+ objectType: string;
200
+ primaryCategory: string;
201
+ children: string[];
202
+ contentDisposition: string;
203
+ lastUpdatedOn: string;
204
+ contentEncoding: string;
205
+ contentType: string;
206
+ dialcodeRequired: string;
207
+ trackable: {
208
+ enabled: string;
209
+ autoBatch: string;
210
+ };
211
+ identifier: string;
212
+ lastStatusChangedOn: string;
213
+ audience: string[];
214
+ os: string[];
215
+ visibility: string;
216
+ index: number;
217
+ mediaType: string;
218
+ osId: string;
219
+ languageCode: string[];
220
+ graph_id: string;
221
+ nodeType: string;
222
+ version: number;
223
+ pkgVersion: number;
224
+ versionKey: string;
225
+ license: string;
226
+ idealScreenDensity: string;
227
+ depth: number;
228
+ lastPublishedOn: string;
229
+ compatibilityLevel: number;
230
+ leafNodesCount: number;
231
+ name: string;
232
+ status: string;
233
+ node_id: number;
234
+ }
235
+ interface IVariantsData {
236
+ online: {
237
+ ecarUrl: string;
238
+ size: number;
239
+ };
240
+ spine: {
241
+ ecarUrl: string;
242
+ size: number;
243
+ };
244
+ }
245
+ interface IParamsContent {
246
+ resmsgid: string;
247
+ msgid: string;
248
+ status: string;
249
+ err: string;
250
+ errmsg: string;
251
+ }
252
+ }
@@ -1,5 +1,5 @@
1
- export interface IUserGroupDetails {
2
- group_id: number;
3
- friendly_name: string;
4
- description: string;
5
- }
1
+ export interface IUserGroupDetails {
2
+ group_id: number;
3
+ friendly_name: string;
4
+ description: string;
5
+ }
@@ -1,4 +1,4 @@
1
- import { PipeTransform } from '@angular/core';
2
- export declare class ObjectToArrayPipe implements PipeTransform {
3
- transform(...args: any[]): any[];
4
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class ObjectToArrayPipe implements PipeTransform {
3
+ transform(...args: any[]): any[];
4
+ }
@@ -1,2 +1,2 @@
1
- export declare class ObjectToArrayPipeModule {
2
- }
1
+ export declare class ObjectToArrayPipeModule {
2
+ }
@@ -1,2 +1,2 @@
1
- export declare class PipeDurationTransformModule {
2
- }
1
+ export declare class PipeDurationTransformModule {
2
+ }
@@ -1,6 +1,6 @@
1
- import { PipeTransform } from '@angular/core';
2
- export declare class PipeDurationTransformPipe implements PipeTransform {
3
- transform(data: number, type: 'time24' | 'hms' | 'hour' | 'hms2H' | 'hms2M' | 'day'): any;
4
- defaultDuration(h: number, m: number, s: number): string;
5
- hmsCalculation(h: number, m: number, s: number, dur: string, type: string): string;
6
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class PipeDurationTransformPipe implements PipeTransform {
3
+ transform(data: number, type: 'time24' | 'hms' | 'hour' | 'hms2H' | 'hms2M' | 'day'): any;
4
+ defaultDuration(h: number, m: number, s: number): string;
5
+ hmsCalculation(h: number, m: number, s: number, dur: string, type: string): string;
6
+ }
@@ -1,2 +1,2 @@
1
- export declare class PipePublicURLModule {
2
- }
1
+ export declare class PipePublicURLModule {
2
+ }
@@ -1,6 +1,6 @@
1
- import { PipeTransform } from '@angular/core';
2
- export declare class PipePublicURL implements PipeTransform {
3
- environment: any;
4
- constructor(environment: any);
5
- transform(value: string): any;
6
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class PipePublicURL implements PipeTransform {
3
+ environment: any;
4
+ constructor(environment: any);
5
+ transform(value: string): any;
6
+ }
@@ -1,8 +1,8 @@
1
- import { Observable } from 'rxjs';
2
- import { HttpClient } from '@angular/common/http';
3
- export declare class CertificateService {
4
- private http;
5
- constructor(http: HttpClient);
6
- downloadCertificate(id: string): Observable<any>;
7
- downloadCertificate_v2(id: string): Observable<any>;
8
- }
1
+ import { Observable } from 'rxjs';
2
+ import { HttpClient } from '@angular/common/http';
3
+ export declare class CertificateService {
4
+ private http;
5
+ constructor(http: HttpClient);
6
+ downloadCertificate(id: string): Observable<any>;
7
+ downloadCertificate_v2(id: string): Observable<any>;
8
+ }
@@ -1,39 +1,39 @@
1
- import { NsContent } from '../_models/widget-content.model';
2
- import { NsContentStripWithTabs } from '../_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model';
3
- import { NsCommonStrip } from '../_common/common-strip/common-strip.model';
4
- export declare class CommonMethodsService {
5
- constructor();
6
- transformContentsToWidgets(contents: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit | NsCommonStrip.ICommonStripUnit): ({
7
- widgetType: string;
8
- widgetSubType: string;
9
- widgetHostClass: string;
10
- widgetData: {
11
- cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
12
- cardCustomeClass: string;
13
- context: {
14
- pageSection: string;
15
- position: number;
16
- };
17
- intranetMode: "" | "hide" | "greyOut";
18
- deletedMode: "" | "hide" | "greyOut";
19
- contentTags: NsContentStripWithTabs.IContentTags | NsCommonStrip.IContentTags;
20
- batch: any;
21
- content: NsContent.IContent;
22
- };
23
- } | {
24
- widgetType: string;
25
- widgetSubType: string;
26
- widgetHostClass: string;
27
- widgetData: {};
28
- })[];
29
- transformSkeletonToWidgets(strip: any): {
30
- widgetType: string;
31
- widgetSubType: string;
32
- widgetHostClass: string;
33
- widgetData: {
34
- cardSubType: any;
35
- cardCustomeClass: any;
36
- };
37
- }[];
38
- handleCapitalize(str: string, type?: string): string;
39
- }
1
+ import { NsContent } from '../_models/widget-content.model';
2
+ import { NsContentStripWithTabs } from '../_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model';
3
+ import { NsCommonStrip } from '../_common/common-strip/common-strip.model';
4
+ export declare class CommonMethodsService {
5
+ constructor();
6
+ transformContentsToWidgets(contents: NsContent.IContent[], strip: NsContentStripWithTabs.IContentStripUnit | NsCommonStrip.ICommonStripUnit): ({
7
+ widgetType: string;
8
+ widgetSubType: string;
9
+ widgetHostClass: string;
10
+ widgetData: {
11
+ cardSubType: "" | "standard" | "minimal" | "space-saving" | "card-user-details" | "basic-info" | "basic-details" | "card-description-back" | "network-card" | "user-card";
12
+ cardCustomeClass: string;
13
+ context: {
14
+ pageSection: string;
15
+ position: number;
16
+ };
17
+ intranetMode: "" | "hide" | "greyOut";
18
+ deletedMode: "" | "hide" | "greyOut";
19
+ contentTags: NsContentStripWithTabs.IContentTags | NsCommonStrip.IContentTags;
20
+ batch: any;
21
+ content: NsContent.IContent;
22
+ };
23
+ } | {
24
+ widgetType: string;
25
+ widgetSubType: string;
26
+ widgetHostClass: string;
27
+ widgetData: {};
28
+ })[];
29
+ transformSkeletonToWidgets(strip: any): {
30
+ widgetType: string;
31
+ widgetSubType: string;
32
+ widgetHostClass: string;
33
+ widgetData: {
34
+ cardSubType: any;
35
+ cardCustomeClass: any;
36
+ };
37
+ }[];
38
+ handleCapitalize(str: string, type?: string): string;
39
+ }