@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,31 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { KeycloakService } from 'keycloak-angular';
|
|
3
|
-
import { AuthMicrosoftService } from './auth-microsoft.service';
|
|
4
|
-
import { ConfigurationsService } from './configurations.service';
|
|
5
|
-
export declare class AuthKeycloakService {
|
|
6
|
-
private http;
|
|
7
|
-
private configSvc;
|
|
8
|
-
private keycloakSvc;
|
|
9
|
-
private msAuthSvc;
|
|
10
|
-
private loginChangeSubject;
|
|
11
|
-
constructor(http: HttpClient, configSvc: ConfigurationsService, keycloakSvc: KeycloakService, msAuthSvc: AuthMicrosoftService);
|
|
12
|
-
readonly isLoggedIn$: import("rxjs").Observable<boolean>;
|
|
13
|
-
readonly isLoggedIn: Promise<boolean>;
|
|
14
|
-
readonly isAuthenticated: boolean | undefined;
|
|
15
|
-
readonly token: string | undefined;
|
|
16
|
-
readonly sessionId: string | undefined;
|
|
17
|
-
readonly userId: string | undefined;
|
|
18
|
-
readonly userEmail: string | undefined;
|
|
19
|
-
readonly userName: string | undefined;
|
|
20
|
-
initAuth(): Promise<boolean>;
|
|
21
|
-
login(idpHint?: 'E' | 'N' | 'S', redirectUrl?: string): Promise<void>;
|
|
22
|
-
loginV2(_idpHint?: 'E' | 'N' | 'S', redirectUrl?: string): Promise<void>;
|
|
23
|
-
register(redirectUrl?: string): Promise<void>;
|
|
24
|
-
logout(redirectUrl?: string): Promise<void>;
|
|
25
|
-
force_logout(): Promise<void>;
|
|
26
|
-
private addKeycloakEventListener;
|
|
27
|
-
private setupGlobalAuthResponder;
|
|
28
|
-
private saveKeycloakConfig;
|
|
29
|
-
private getSavedKcConfig;
|
|
30
|
-
private readonly defaultRedirectUrl;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { LoggerService } from './logger.service';
|
|
2
|
-
import { NsInstanceConfig } from './configurations.model';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import { IWsMsTokenModelResponse } from './ms-office.model';
|
|
5
|
-
export declare class AuthMicrosoftService {
|
|
6
|
-
private loggerSvc;
|
|
7
|
-
private http;
|
|
8
|
-
private msConfig;
|
|
9
|
-
private emailUsed;
|
|
10
|
-
private code;
|
|
11
|
-
private msToken;
|
|
12
|
-
constructor(loggerSvc: LoggerService, http: HttpClient);
|
|
13
|
-
readonly isLogoutRequired: boolean;
|
|
14
|
-
readonly loginUrl: string | null;
|
|
15
|
-
logoutUrl(redirectUrl: string): string;
|
|
16
|
-
init(config: Pick<NsInstanceConfig.IConfig, 'microsoft'>): Promise<void>;
|
|
17
|
-
login(email: string): Promise<void>;
|
|
18
|
-
getToken(email: string): Promise<string>;
|
|
19
|
-
loginForSSOEnabledEmbed(email: string): void;
|
|
20
|
-
isValidEmail(email: string): boolean;
|
|
21
|
-
isValid(accessToken: string | undefined, expiresOn: string | undefined): boolean;
|
|
22
|
-
exchangeTokenForCode(code: string, redirectUrl: string): Promise<any>;
|
|
23
|
-
getTokenForEmail(email: string): Promise<any>;
|
|
24
|
-
getInstanceFromResponse(token: IWsMsTokenModelResponse): {
|
|
25
|
-
accessToken: string | undefined;
|
|
26
|
-
expiresOn: string | undefined;
|
|
27
|
-
resource: string | undefined;
|
|
28
|
-
tokenType: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NsContent } from '../services/widget-content.model';
|
|
2
|
-
export declare namespace NsCardContent {
|
|
3
|
-
interface ICard {
|
|
4
|
-
content: NsContent.IContent;
|
|
5
|
-
cardSubType: TCardSubType;
|
|
6
|
-
context: {
|
|
7
|
-
pageSection: string;
|
|
8
|
-
position?: number;
|
|
9
|
-
};
|
|
10
|
-
intranetMode?: 'greyOut' | 'hide';
|
|
11
|
-
deletedMode?: 'greyOut' | 'hide';
|
|
12
|
-
likes?: number;
|
|
13
|
-
contentTags?: IContentTags;
|
|
14
|
-
}
|
|
15
|
-
interface IContentTags {
|
|
16
|
-
daysSpan?: number;
|
|
17
|
-
excludeContentType?: NsContent.EContentTypes[];
|
|
18
|
-
excludeMimeType?: string[];
|
|
19
|
-
tag: string;
|
|
20
|
-
criteriaField?: string;
|
|
21
|
-
}
|
|
22
|
-
type TCardSubType = 'standard' | 'minimal' | 'space-saving' | 'card-user-details' | 'basic-info' | 'basic-details' | 'card-description-back' | 'network-card';
|
|
23
|
-
enum EContentStatus {
|
|
24
|
-
LIVE = "Live",
|
|
25
|
-
EXPIRED = "Expired",
|
|
26
|
-
DELETED = "Deleted",
|
|
27
|
-
MARK_FOR_DELETION = "MarkedForDeletion"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,521 +0,0 @@
|
|
|
1
|
-
import { NsPage } from '../resolvers/page.model';
|
|
2
|
-
import { NsWidgetResolver } from './widget-resolver.model';
|
|
3
|
-
export declare namespace NsInstanceConfig {
|
|
4
|
-
interface IConfig {
|
|
5
|
-
authoring: {
|
|
6
|
-
doUniqueCheck: boolean;
|
|
7
|
-
isMultiStepFlow: boolean;
|
|
8
|
-
allowExpiry: boolean;
|
|
9
|
-
allowRestore: boolean;
|
|
10
|
-
allowReview: boolean;
|
|
11
|
-
allowPublish: boolean;
|
|
12
|
-
allowRedo: boolean;
|
|
13
|
-
newDesign: boolean;
|
|
14
|
-
allowedContentType: string[];
|
|
15
|
-
urlPatternMatching: {
|
|
16
|
-
allowReplace: boolean;
|
|
17
|
-
source: string;
|
|
18
|
-
pattern: string;
|
|
19
|
-
allowIframe: boolean;
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
appSetup: boolean;
|
|
23
|
-
chatBotUrl: string;
|
|
24
|
-
defaultFontsize: string;
|
|
25
|
-
defaultThemeClass: string;
|
|
26
|
-
defaultLocale: string;
|
|
27
|
-
disablePidCheck?: boolean;
|
|
28
|
-
isMultilingualEnabled?: boolean;
|
|
29
|
-
fontSizes: IFontSize[];
|
|
30
|
-
isContentDownloadAvailable: boolean;
|
|
31
|
-
indexHtmlMeta: IIndexHtmlMeta;
|
|
32
|
-
keycloak: IKeycloak;
|
|
33
|
-
locals: ILocalsConfig[];
|
|
34
|
-
microsoft: IMicrosoft;
|
|
35
|
-
telemetryConfig: ITelemetryConfig;
|
|
36
|
-
themes: ITheme[];
|
|
37
|
-
logos: ILogos;
|
|
38
|
-
sources?: ISourceLogo[];
|
|
39
|
-
mailIds: IMailIds;
|
|
40
|
-
details: IDetails;
|
|
41
|
-
validMailIdExtensionsForMailMe: string[];
|
|
42
|
-
overrideThemeChanges: IOverrideThemeChanges;
|
|
43
|
-
defaultFeatureConfigs: {
|
|
44
|
-
error: string;
|
|
45
|
-
};
|
|
46
|
-
backgrounds: {
|
|
47
|
-
primaryNavBar: NsPage.INavBackground;
|
|
48
|
-
pageNavBar: NsPage.INavBackground;
|
|
49
|
-
};
|
|
50
|
-
featuredApps: string[];
|
|
51
|
-
primaryNavBarConfig: IPrimaryNavbarConfig;
|
|
52
|
-
org: string[];
|
|
53
|
-
rootOrg: string;
|
|
54
|
-
intranetIframeUrls?: string[];
|
|
55
|
-
showNavBarInSetup?: boolean;
|
|
56
|
-
intranetUrlToCheck?: string;
|
|
57
|
-
introVideo: IPath;
|
|
58
|
-
tourVideo: IPath;
|
|
59
|
-
isDownloadableSource?: IPath;
|
|
60
|
-
isDownloadableIosResource?: IPath;
|
|
61
|
-
isDownloadableAndroidResource?: IPath;
|
|
62
|
-
sourceFieldsUserAutocomplete?: string[];
|
|
63
|
-
forgotPasswordConfig?: IForgotPassword;
|
|
64
|
-
hubs: IHubs[];
|
|
65
|
-
courseContentPath?: string;
|
|
66
|
-
portalUrls: IPortalUrls | undefined;
|
|
67
|
-
positions: any;
|
|
68
|
-
websitelanguages: any[];
|
|
69
|
-
profileTimelyNudges: any;
|
|
70
|
-
}
|
|
71
|
-
interface IPortalUrls {
|
|
72
|
-
igot: string;
|
|
73
|
-
spv: string;
|
|
74
|
-
mdo: string;
|
|
75
|
-
cbc: string;
|
|
76
|
-
cbp: string;
|
|
77
|
-
frac: string;
|
|
78
|
-
}
|
|
79
|
-
interface IForgotPassword {
|
|
80
|
-
local?: string;
|
|
81
|
-
enterprise?: string;
|
|
82
|
-
social?: string;
|
|
83
|
-
}
|
|
84
|
-
interface ISourceLogo {
|
|
85
|
-
sourceName?: string;
|
|
86
|
-
sourceId?: string;
|
|
87
|
-
logo?: string;
|
|
88
|
-
}
|
|
89
|
-
interface IPath {
|
|
90
|
-
[key: string]: string;
|
|
91
|
-
}
|
|
92
|
-
interface IHubs {
|
|
93
|
-
active: boolean;
|
|
94
|
-
desc: string;
|
|
95
|
-
hubname: string;
|
|
96
|
-
icon: string;
|
|
97
|
-
path: string;
|
|
98
|
-
order: number;
|
|
99
|
-
}
|
|
100
|
-
interface IIndexHtmlMeta {
|
|
101
|
-
description?: string;
|
|
102
|
-
openSearchUrl?: string;
|
|
103
|
-
webmanifest: string;
|
|
104
|
-
xIcon?: string;
|
|
105
|
-
pngIcon?: string;
|
|
106
|
-
}
|
|
107
|
-
interface IFontSize {
|
|
108
|
-
baseFontSize: string;
|
|
109
|
-
fontClass: string;
|
|
110
|
-
scale: number;
|
|
111
|
-
}
|
|
112
|
-
interface IKeycloak {
|
|
113
|
-
defaultidpHint: 'E' | 'N' | 'S';
|
|
114
|
-
isLoginHidden: boolean;
|
|
115
|
-
bearerExcludedUrls: string[];
|
|
116
|
-
clientId: string;
|
|
117
|
-
key: string;
|
|
118
|
-
realm: string;
|
|
119
|
-
url: string;
|
|
120
|
-
changePasswordUrl?: string;
|
|
121
|
-
onLoad?: 'check-sso' | 'login-required';
|
|
122
|
-
}
|
|
123
|
-
interface ILocalsConfig {
|
|
124
|
-
isAvailable: boolean;
|
|
125
|
-
isEnabled: boolean;
|
|
126
|
-
locals: string[];
|
|
127
|
-
path: string;
|
|
128
|
-
isRTL: boolean;
|
|
129
|
-
}
|
|
130
|
-
interface IMicrosoft {
|
|
131
|
-
clientId: string;
|
|
132
|
-
defaultEmailId: string;
|
|
133
|
-
tenant: string;
|
|
134
|
-
validEmailExtensions: string[];
|
|
135
|
-
isConfigured: boolean;
|
|
136
|
-
}
|
|
137
|
-
interface ITheme {
|
|
138
|
-
color: IThemeColor;
|
|
139
|
-
themeFile: string;
|
|
140
|
-
themeClass: string;
|
|
141
|
-
themeName: string;
|
|
142
|
-
}
|
|
143
|
-
interface IThemeColor {
|
|
144
|
-
accent: string;
|
|
145
|
-
primary: string;
|
|
146
|
-
warn: string;
|
|
147
|
-
}
|
|
148
|
-
interface IOverrideThemeChanges {
|
|
149
|
-
isEnabled: boolean;
|
|
150
|
-
desktop: IDesktop;
|
|
151
|
-
mWeb: IMWeb;
|
|
152
|
-
}
|
|
153
|
-
interface IDesktop {
|
|
154
|
-
animationDuration: number;
|
|
155
|
-
logoUrl: string;
|
|
156
|
-
logoText: string;
|
|
157
|
-
logoDisplayTime: number;
|
|
158
|
-
backgroundTheme: string;
|
|
159
|
-
}
|
|
160
|
-
interface IMWeb {
|
|
161
|
-
logoUrl: string;
|
|
162
|
-
logoText: string;
|
|
163
|
-
}
|
|
164
|
-
interface ILogos {
|
|
165
|
-
app: string;
|
|
166
|
-
appTransparent: string;
|
|
167
|
-
appSecondary: string;
|
|
168
|
-
aboutFooter: string;
|
|
169
|
-
aboutHeader: string;
|
|
170
|
-
appBottomNav?: string;
|
|
171
|
-
company: string;
|
|
172
|
-
developedBy: string;
|
|
173
|
-
poweredBy: string;
|
|
174
|
-
defaultContent?: string;
|
|
175
|
-
defaultSourceLogo?: string;
|
|
176
|
-
landingLogo: string;
|
|
177
|
-
navbarLogo?: string;
|
|
178
|
-
playListLogo?: string;
|
|
179
|
-
thumpsUp?: string;
|
|
180
|
-
}
|
|
181
|
-
interface IMailIds {
|
|
182
|
-
contactUs: string;
|
|
183
|
-
default: string;
|
|
184
|
-
support: string;
|
|
185
|
-
}
|
|
186
|
-
interface IDetails {
|
|
187
|
-
appName: string;
|
|
188
|
-
}
|
|
189
|
-
interface IPrimaryNavbarConfig {
|
|
190
|
-
mediumScreen: IPrimaryNavBarScreen;
|
|
191
|
-
smallScreen: IPrimaryNavBarScreen;
|
|
192
|
-
}
|
|
193
|
-
interface IPrimaryNavBarScreen {
|
|
194
|
-
left: IPrimaryNavBarSide[];
|
|
195
|
-
right: IPrimaryNavBarSide[];
|
|
196
|
-
}
|
|
197
|
-
interface IPrimaryNavBarSide {
|
|
198
|
-
type: 'widgetButton' | 'featureButton';
|
|
199
|
-
config: NsWidgetResolver.IRenderConfigWithAnyData | NsPage.INavLink;
|
|
200
|
-
}
|
|
201
|
-
interface ITelemetryConfig {
|
|
202
|
-
pdata: {
|
|
203
|
-
id: string;
|
|
204
|
-
ver: string;
|
|
205
|
-
pid: string;
|
|
206
|
-
};
|
|
207
|
-
object: {
|
|
208
|
-
ver: string;
|
|
209
|
-
id: string | undefined;
|
|
210
|
-
};
|
|
211
|
-
uid: string | null;
|
|
212
|
-
authtoken?: string;
|
|
213
|
-
env: string;
|
|
214
|
-
channel: string;
|
|
215
|
-
batchsize: number;
|
|
216
|
-
host: string;
|
|
217
|
-
endpoint: string;
|
|
218
|
-
apislug: string;
|
|
219
|
-
sid: string;
|
|
220
|
-
publicEndpoint: string;
|
|
221
|
-
protectedEndpoint: string;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
export declare namespace NsAppsConfig {
|
|
225
|
-
type TIconType = 'mat-icon' | 'url';
|
|
226
|
-
interface IAppsConfig {
|
|
227
|
-
groups: IGroup[];
|
|
228
|
-
features: {
|
|
229
|
-
[id: string]: IFeature;
|
|
230
|
-
};
|
|
231
|
-
tourGuide?: string[][];
|
|
232
|
-
}
|
|
233
|
-
interface IGroup {
|
|
234
|
-
id: string;
|
|
235
|
-
iconType: string;
|
|
236
|
-
icon: string;
|
|
237
|
-
keywords: string[];
|
|
238
|
-
name: string;
|
|
239
|
-
toolTip: string;
|
|
240
|
-
featureIds: string[];
|
|
241
|
-
stripBackground?: string;
|
|
242
|
-
hasRole: string[];
|
|
243
|
-
}
|
|
244
|
-
interface IFeature {
|
|
245
|
-
name: string;
|
|
246
|
-
id: string;
|
|
247
|
-
url: string;
|
|
248
|
-
permission: string | string[] | {
|
|
249
|
-
all: string[];
|
|
250
|
-
some: string[];
|
|
251
|
-
none: string[];
|
|
252
|
-
};
|
|
253
|
-
iconType: TIconType;
|
|
254
|
-
icon: string;
|
|
255
|
-
keywords: string[];
|
|
256
|
-
toolTip: string;
|
|
257
|
-
accessKey: string;
|
|
258
|
-
status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
|
|
259
|
-
shortName: string;
|
|
260
|
-
description?: string;
|
|
261
|
-
badgeEndpoint?: string;
|
|
262
|
-
mobileAppFunction?: string;
|
|
263
|
-
color?: string;
|
|
264
|
-
target?: string;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
export declare namespace NsUser {
|
|
268
|
-
interface IUserProfile {
|
|
269
|
-
userId: string;
|
|
270
|
-
email?: string;
|
|
271
|
-
departmentName?: string;
|
|
272
|
-
userName?: string;
|
|
273
|
-
firstName?: string;
|
|
274
|
-
surName?: string;
|
|
275
|
-
middleName?: string;
|
|
276
|
-
lastName?: string;
|
|
277
|
-
rootOrgId?: string;
|
|
278
|
-
rootOrgName?: string;
|
|
279
|
-
profileImage?: string;
|
|
280
|
-
givenName?: string;
|
|
281
|
-
country?: null | string;
|
|
282
|
-
unit?: string | null;
|
|
283
|
-
source_profile_picture?: null | string;
|
|
284
|
-
dealerCode?: null | string;
|
|
285
|
-
isManager?: boolean;
|
|
286
|
-
competencies?: any;
|
|
287
|
-
systemTopics?: any;
|
|
288
|
-
desiredTopics?: any;
|
|
289
|
-
desiredCompetencies?: any;
|
|
290
|
-
userRoles?: any;
|
|
291
|
-
profileUpdateCompletion?: number;
|
|
292
|
-
profileImageUrl?: string;
|
|
293
|
-
professionalDetails?: any;
|
|
294
|
-
webPortalLang?: any;
|
|
295
|
-
}
|
|
296
|
-
interface INodebbUserProfile {
|
|
297
|
-
username: string;
|
|
298
|
-
email: string;
|
|
299
|
-
}
|
|
300
|
-
interface IUserPidProfile {
|
|
301
|
-
kid_updated: boolean;
|
|
302
|
-
user: IUser;
|
|
303
|
-
}
|
|
304
|
-
interface IUserPidProfileV2 {
|
|
305
|
-
kid_updated: boolean;
|
|
306
|
-
result: {
|
|
307
|
-
response: IUserV2;
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
interface IUserPidProfileVer2 {
|
|
311
|
-
result: {
|
|
312
|
-
UserProfile: IUserVer2;
|
|
313
|
-
};
|
|
314
|
-
}
|
|
315
|
-
interface ISourceData {
|
|
316
|
-
GID: string;
|
|
317
|
-
SNAMPRE: string;
|
|
318
|
-
SNAMADD: string;
|
|
319
|
-
LASTNAME: string;
|
|
320
|
-
SN: string;
|
|
321
|
-
GIVENNAME: string;
|
|
322
|
-
NICKNAME: string;
|
|
323
|
-
PREFERREDSN: string;
|
|
324
|
-
PERSONALTITLE: string;
|
|
325
|
-
MOBILE: string;
|
|
326
|
-
MAIL: string;
|
|
327
|
-
DEPARTMENTTEXT: string;
|
|
328
|
-
COSTLOCATIONUNIT: string;
|
|
329
|
-
COSTLOCATION: string;
|
|
330
|
-
ORGID: string;
|
|
331
|
-
MGMTRESP: string;
|
|
332
|
-
UTC: string;
|
|
333
|
-
CNAMEENG: string;
|
|
334
|
-
LNAMEINT: string;
|
|
335
|
-
USERTYPE: string;
|
|
336
|
-
STATUS: string;
|
|
337
|
-
CONTRACTSTATUS: string;
|
|
338
|
-
}
|
|
339
|
-
interface IUser {
|
|
340
|
-
wid: string;
|
|
341
|
-
root_org: string;
|
|
342
|
-
org: string;
|
|
343
|
-
is_active?: any;
|
|
344
|
-
account_expiry_date?: any;
|
|
345
|
-
kid: string;
|
|
346
|
-
imported_source_name: string;
|
|
347
|
-
source_id: string;
|
|
348
|
-
username?: any;
|
|
349
|
-
first_name: string;
|
|
350
|
-
last_name: string;
|
|
351
|
-
middle_name?: any;
|
|
352
|
-
known_as: string;
|
|
353
|
-
salutation?: any;
|
|
354
|
-
email: string;
|
|
355
|
-
gender?: any;
|
|
356
|
-
dob?: any;
|
|
357
|
-
languages_known?: any;
|
|
358
|
-
preferred_language?: any;
|
|
359
|
-
source_profile_picture?: any;
|
|
360
|
-
residence_country: string;
|
|
361
|
-
residence_state?: any;
|
|
362
|
-
residence_city: string;
|
|
363
|
-
contact_phone_number_office?: any;
|
|
364
|
-
contact_phone_number_home?: any;
|
|
365
|
-
contact_phone_number_personal: string;
|
|
366
|
-
employement_status?: any;
|
|
367
|
-
contract_type?: any;
|
|
368
|
-
job_title?: any;
|
|
369
|
-
job_role?: any;
|
|
370
|
-
department_name: string;
|
|
371
|
-
unit_name?: any;
|
|
372
|
-
organization_location_country?: any;
|
|
373
|
-
organization_location_state?: any;
|
|
374
|
-
organization_location_city?: any;
|
|
375
|
-
time_inserted: Date;
|
|
376
|
-
time_updated: Date;
|
|
377
|
-
json_unmapped_fields?: any;
|
|
378
|
-
source_data: ISourceData;
|
|
379
|
-
}
|
|
380
|
-
interface IRootOrg {
|
|
381
|
-
dateTime: string;
|
|
382
|
-
preferredLanguage: string;
|
|
383
|
-
keys: {};
|
|
384
|
-
channel: string;
|
|
385
|
-
approvedBy: string;
|
|
386
|
-
description: string;
|
|
387
|
-
updatedDate: string;
|
|
388
|
-
addressId: string;
|
|
389
|
-
orgType: string;
|
|
390
|
-
provider: string;
|
|
391
|
-
orgCode: string;
|
|
392
|
-
locationId: string;
|
|
393
|
-
theme: string;
|
|
394
|
-
id: string;
|
|
395
|
-
isApproved: boolean;
|
|
396
|
-
communityId: string;
|
|
397
|
-
slug: string;
|
|
398
|
-
email: string;
|
|
399
|
-
isSSOEnabled: boolean;
|
|
400
|
-
thumbnail: string;
|
|
401
|
-
updatedBy: string;
|
|
402
|
-
orgName: string;
|
|
403
|
-
locationIds: [];
|
|
404
|
-
externalId: string;
|
|
405
|
-
isRootOrg: boolean;
|
|
406
|
-
rootOrgId: string;
|
|
407
|
-
imgUrl: string;
|
|
408
|
-
approvedDate: string;
|
|
409
|
-
orgTypeId: string;
|
|
410
|
-
homeUrl: string;
|
|
411
|
-
isDefault: boolean;
|
|
412
|
-
createdDate: string;
|
|
413
|
-
contactDetail: string;
|
|
414
|
-
parentOrgId: string;
|
|
415
|
-
createdBy: string;
|
|
416
|
-
hashTagId: string;
|
|
417
|
-
noOfMembers: string;
|
|
418
|
-
status: number;
|
|
419
|
-
}
|
|
420
|
-
interface IOrg {
|
|
421
|
-
updatedBy: string;
|
|
422
|
-
organisationId: string;
|
|
423
|
-
orgName: string;
|
|
424
|
-
addedByName: string;
|
|
425
|
-
addedBy: string;
|
|
426
|
-
roles: string[];
|
|
427
|
-
approvedBy: string;
|
|
428
|
-
updatedDate: string;
|
|
429
|
-
userId: string;
|
|
430
|
-
approvaldate: string;
|
|
431
|
-
isDeleted: boolean;
|
|
432
|
-
parentOrgId: string;
|
|
433
|
-
hashTagId: string;
|
|
434
|
-
isRejected: boolean;
|
|
435
|
-
position: string;
|
|
436
|
-
id: string;
|
|
437
|
-
orgjoindate: string;
|
|
438
|
-
isApproved: boolean;
|
|
439
|
-
orgLeftDate: string;
|
|
440
|
-
}
|
|
441
|
-
interface IUserV2 {
|
|
442
|
-
surName: any;
|
|
443
|
-
maskedPhone: string;
|
|
444
|
-
rootOrgName: string;
|
|
445
|
-
subject: [];
|
|
446
|
-
channel: string;
|
|
447
|
-
language: [];
|
|
448
|
-
updatedDate: string;
|
|
449
|
-
managedBy: string;
|
|
450
|
-
flagsValue: number;
|
|
451
|
-
id: string;
|
|
452
|
-
recoveryEmail: string;
|
|
453
|
-
identifier: string;
|
|
454
|
-
thumbnail: string;
|
|
455
|
-
profileVisibility: [];
|
|
456
|
-
updatedBy: string;
|
|
457
|
-
accesscode: string;
|
|
458
|
-
locationIds: [];
|
|
459
|
-
externalIds: [];
|
|
460
|
-
registryId: string;
|
|
461
|
-
rootOrgId: string;
|
|
462
|
-
prevUsedEmail: string;
|
|
463
|
-
firstName: string;
|
|
464
|
-
tncAcceptedOn: string;
|
|
465
|
-
phone: string;
|
|
466
|
-
dob: string;
|
|
467
|
-
grade: [];
|
|
468
|
-
currentLoginTime: string;
|
|
469
|
-
userType: string;
|
|
470
|
-
status: number;
|
|
471
|
-
lastName: string;
|
|
472
|
-
gender: string;
|
|
473
|
-
roles: string[];
|
|
474
|
-
prevUsedPhone: string;
|
|
475
|
-
stateValidated: boolean;
|
|
476
|
-
isDeleted: boolean;
|
|
477
|
-
organisations: IOrg[];
|
|
478
|
-
countryCode: string;
|
|
479
|
-
maskedEmail: string;
|
|
480
|
-
tempPassword: string;
|
|
481
|
-
email: string;
|
|
482
|
-
rootOrg: IRootOrg;
|
|
483
|
-
profileSummary: string;
|
|
484
|
-
phoneVerified: boolean;
|
|
485
|
-
recoveryPhone: string;
|
|
486
|
-
userName: string;
|
|
487
|
-
userId: string;
|
|
488
|
-
lastLoginTime: string;
|
|
489
|
-
emailVerified: true;
|
|
490
|
-
framework: {};
|
|
491
|
-
createdDate: string;
|
|
492
|
-
createdBy: string;
|
|
493
|
-
location: string;
|
|
494
|
-
tncAcceptedVersion: string;
|
|
495
|
-
}
|
|
496
|
-
interface IUserVer2 {
|
|
497
|
-
'firstname': string;
|
|
498
|
-
'motherTongue': string;
|
|
499
|
-
'secondaryEmail': string;
|
|
500
|
-
'gender': string;
|
|
501
|
-
'@type': string;
|
|
502
|
-
'mobile': number;
|
|
503
|
-
'middlename': string;
|
|
504
|
-
'telephone': number;
|
|
505
|
-
'osid': string;
|
|
506
|
-
'primaryEmailType': string;
|
|
507
|
-
'knownLanguages': ILanguages[];
|
|
508
|
-
'wid': string;
|
|
509
|
-
'nationality': string;
|
|
510
|
-
'surname': string;
|
|
511
|
-
'dob': string;
|
|
512
|
-
'category': string;
|
|
513
|
-
'primaryEmail': string;
|
|
514
|
-
'maritalStatus': string;
|
|
515
|
-
'residenceAddress': string;
|
|
516
|
-
'result': any;
|
|
517
|
-
}
|
|
518
|
-
interface ILanguages {
|
|
519
|
-
name: string;
|
|
520
|
-
}
|
|
521
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { NSProfileDataV3 } from '../models/profile-v3.models';
|
|
2
|
-
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
|
3
|
-
import { NsPage } from '../resolvers/page.model';
|
|
4
|
-
import { NsAppsConfig, NsInstanceConfig, NsUser } from './configurations.model';
|
|
5
|
-
import { IPortalUrls, IUserPreference } from './user-preference.model';
|
|
6
|
-
export declare class ConfigurationsService {
|
|
7
|
-
constructor();
|
|
8
|
-
appSetup: boolean;
|
|
9
|
-
userUrl: string;
|
|
10
|
-
baseUrl: string;
|
|
11
|
-
sitePath: string;
|
|
12
|
-
hostPath: string;
|
|
13
|
-
userRoles: Set<string> | null;
|
|
14
|
-
userGroups: Set<string> | null;
|
|
15
|
-
restrictedFeatures: Set<string> | null;
|
|
16
|
-
restrictedWidgets: Set<string> | null;
|
|
17
|
-
instanceConfig: NsInstanceConfig.IConfig | null;
|
|
18
|
-
appsConfig: NsAppsConfig.IAppsConfig | null;
|
|
19
|
-
rootOrg: string | null;
|
|
20
|
-
courseContentPath?: string;
|
|
21
|
-
org: string[] | null;
|
|
22
|
-
activeOrg: string | null;
|
|
23
|
-
isProduction: boolean;
|
|
24
|
-
hasAcceptedTnc: boolean;
|
|
25
|
-
profileDetailsStatus: boolean;
|
|
26
|
-
isActive: boolean;
|
|
27
|
-
userPreference: IUserPreference | null;
|
|
28
|
-
userProfile: NsUser.IUserProfile | null;
|
|
29
|
-
userProfileV2: NsUser.IUserProfile | null;
|
|
30
|
-
nodebbUserProfile: NsUser.INodebbUserProfile | null;
|
|
31
|
-
unMappedUser: any;
|
|
32
|
-
isAuthenticated: boolean;
|
|
33
|
-
isNewUser: boolean;
|
|
34
|
-
portalUrls: IPortalUrls | undefined;
|
|
35
|
-
positions: any;
|
|
36
|
-
overrideThemeChanges: any;
|
|
37
|
-
profileTimelyNudges: any;
|
|
38
|
-
pinnedApps: BehaviorSubject<Set<string>>;
|
|
39
|
-
prefChangeNotifier: ReplaySubject<Partial<IUserPreference>>;
|
|
40
|
-
tourGuideNotifier: ReplaySubject<boolean>;
|
|
41
|
-
authChangeNotifier: ReplaySubject<boolean>;
|
|
42
|
-
private updateProfile;
|
|
43
|
-
updateProfileObservable: import("rxjs").Observable<boolean>;
|
|
44
|
-
updateTourGuide: BehaviorSubject<boolean>;
|
|
45
|
-
updateTourGuideObservable: import("rxjs").Observable<boolean>;
|
|
46
|
-
updatePlatformRating: BehaviorSubject<{
|
|
47
|
-
bottom: string;
|
|
48
|
-
}>;
|
|
49
|
-
updatePlatformRatingObservable$: import("rxjs").Observable<{
|
|
50
|
-
bottom: string;
|
|
51
|
-
}>;
|
|
52
|
-
languageTranslationFlag: Subject<unknown>;
|
|
53
|
-
activeThemeObject: NsInstanceConfig.ITheme | null;
|
|
54
|
-
activeFontObject: NsInstanceConfig.IFontSize | null;
|
|
55
|
-
isDarkMode: boolean;
|
|
56
|
-
isIntranetAllowed: boolean;
|
|
57
|
-
isRTL: boolean;
|
|
58
|
-
activeLocale: NsInstanceConfig.ILocalsConfig | null;
|
|
59
|
-
activeLocaleGroup: string;
|
|
60
|
-
completedActivity: string[] | null;
|
|
61
|
-
completedTour: boolean;
|
|
62
|
-
profileSettings: string[];
|
|
63
|
-
primaryNavBar: Partial<NsPage.INavBackground>;
|
|
64
|
-
pageNavBar: Partial<NsPage.INavBackground>;
|
|
65
|
-
primaryNavBarConfig: NsInstanceConfig.IPrimaryNavbarConfig | null;
|
|
66
|
-
welcomeTabs: NSProfileDataV3.IProfileTab | null;
|
|
67
|
-
cstoken: string;
|
|
68
|
-
changeNavBarFullView: Subject<unknown>;
|
|
69
|
-
openExploreMenuForMWeb: Subject<unknown>;
|
|
70
|
-
updateGlobalProfile(state: boolean): void;
|
|
71
|
-
updateTourGuideMethod(state: boolean): void;
|
|
72
|
-
updatePlatformRatingMethod(state: any): void;
|
|
73
|
-
}
|