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