@sunbird-cb/utils 1.0.18-ang-9-12 → 1.0.19-ang-9-12
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/bundles/sunbird-cb-utils.umd.js +561 -779
- package/bundles/sunbird-cb-utils.umd.js.map +1 -1
- package/esm2015/lib/components/image-crop/image-crop.component.js +22 -28
- package/esm2015/lib/components/image-crop/image-crop.module.js +20 -45
- package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +14 -24
- package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +10 -17
- package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +12 -20
- package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +10 -17
- package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +14 -16
- package/esm2015/lib/directives/image-responsive/image-responsive.module.js +10 -17
- package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +13 -13
- package/esm2015/lib/directives/in-view-port/in-view-port.module.js +10 -17
- package/esm2015/lib/directives/navigation/navigation.directive.js +13 -22
- package/esm2015/lib/directives/navigation/navigation.module.js +10 -17
- package/esm2015/lib/directives/permission/permission.directive.js +7 -10
- package/esm2015/lib/directives/permission/permission.module.js +10 -17
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +15 -25
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +13 -26
- package/esm2015/lib/helpers/logout/logout.component.js +18 -18
- package/esm2015/lib/helpers/logout/logout.module.js +12 -23
- package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +8 -13
- package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +10 -17
- package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +10 -17
- package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +7 -10
- package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +10 -17
- package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +10 -17
- package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +10 -17
- package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +10 -17
- package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +10 -17
- package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +10 -17
- package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +10 -17
- package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +10 -17
- package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +10 -17
- package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +10 -17
- package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +6 -10
- package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +10 -17
- package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +10 -11
- package/esm2015/lib/resolvers/explore-detail.resolver.js +15 -9
- package/esm2015/lib/resolvers/marketing-offering.resolve.js +11 -9
- package/esm2015/lib/resolvers/page.resolver.js +14 -12
- package/esm2015/lib/services/auth-keycloak.service.js +15 -10
- package/esm2015/lib/services/auth-microsoft.service.js +13 -9
- package/esm2015/lib/services/configurations.model.js +1 -1
- package/esm2015/lib/services/configurations.service.js +8 -9
- package/esm2015/lib/services/event.service.js +12 -12
- package/esm2015/lib/services/logger.service.js +11 -9
- package/esm2015/lib/services/subapplication-respond.service.js +22 -9
- package/esm2015/lib/services/telemetry.service.js +16 -12
- package/esm2015/lib/services/user-preference.service.js +13 -9
- package/esm2015/lib/services/utility.service.js +16 -10
- package/esm2015/lib/services/value.service.js +11 -10
- package/esm2015/lib/services/widget-content.service.js +17 -11
- package/fesm2015/sunbird-cb-utils.js +568 -776
- package/fesm2015/sunbird-cb-utils.js.map +1 -1
- package/lib/components/image-crop/image-crop.component.d.ts +1 -3
- package/lib/components/image-crop/image-crop.component.d.ts.map +1 -0
- package/lib/components/image-crop/image-crop.component.ngfactory.d.ts.map +1 -0
- package/lib/components/image-crop/image-crop.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/image-crop/image-crop.module.d.ts +1 -14
- package/lib/components/image-crop/image-crop.module.d.ts.map +1 -0
- package/lib/components/image-crop/image-crop.module.ngfactory.d.ts.map +1 -0
- package/lib/constants/features.enum.d.ts +1 -0
- package/lib/constants/features.enum.d.ts.map +1 -0
- package/lib/constants/instances.enum.d.ts +1 -0
- package/lib/constants/instances.enum.d.ts.map +1 -0
- package/lib/constants/misc.constants.d.ts +1 -0
- package/lib/constants/misc.constants.d.ts.map +1 -0
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +1 -3
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts.map +1 -0
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +1 -6
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts.map +1 -0
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.ngfactory.d.ts.map +1 -0
- package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +1 -3
- package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts.map +1 -0
- package/lib/directives/default-thumbnail/default-thumbnail.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +1 -6
- package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts.map +1 -0
- package/lib/directives/default-thumbnail/default-thumbnail.module.ngfactory.d.ts.map +1 -0
- package/lib/directives/image-responsive/image-responsive.directive.d.ts +1 -3
- package/lib/directives/image-responsive/image-responsive.directive.d.ts.map +1 -0
- package/lib/directives/image-responsive/image-responsive.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/image-responsive/image-responsive.module.d.ts +1 -6
- package/lib/directives/image-responsive/image-responsive.module.d.ts.map +1 -0
- package/lib/directives/image-responsive/image-responsive.module.ngfactory.d.ts.map +1 -0
- package/lib/directives/in-view-port/in-view-port.directive.d.ts +1 -3
- package/lib/directives/in-view-port/in-view-port.directive.d.ts.map +1 -0
- package/lib/directives/in-view-port/in-view-port.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/in-view-port/in-view-port.module.d.ts +1 -6
- package/lib/directives/in-view-port/in-view-port.module.d.ts.map +1 -0
- package/lib/directives/in-view-port/in-view-port.module.ngfactory.d.ts.map +1 -0
- package/lib/directives/navigation/navigation.directive.d.ts +1 -3
- package/lib/directives/navigation/navigation.directive.d.ts.map +1 -0
- package/lib/directives/navigation/navigation.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/navigation/navigation.module.d.ts +1 -6
- package/lib/directives/navigation/navigation.module.d.ts.map +1 -0
- package/lib/directives/navigation/navigation.module.ngfactory.d.ts.map +1 -0
- package/lib/directives/permission/permission.directive.d.ts +1 -3
- package/lib/directives/permission/permission.directive.d.ts.map +1 -0
- package/lib/directives/permission/permission.directive.ngfactory.d.ts.map +1 -0
- package/lib/directives/permission/permission.module.d.ts +1 -6
- package/lib/directives/permission/permission.module.d.ts.map +1 -0
- package/lib/directives/permission/permission.module.ngfactory.d.ts.map +1 -0
- package/lib/helpers/functions/getStringifiedQueryParams.d.ts +1 -0
- package/lib/helpers/functions/getStringifiedQueryParams.d.ts.map +1 -0
- package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +1 -3
- package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts.map +1 -0
- package/lib/helpers/horizontal-scroller/horizontal-scroller.component.ngfactory.d.ts.map +1 -0
- package/lib/helpers/horizontal-scroller/horizontal-scroller.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +1 -9
- package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts.map +1 -0
- package/lib/helpers/horizontal-scroller/horizontal-scroller.module.ngfactory.d.ts.map +1 -0
- package/lib/helpers/logout/logout.component.d.ts +1 -3
- package/lib/helpers/logout/logout.component.d.ts.map +1 -0
- package/lib/helpers/logout/logout.component.ngfactory.d.ts.map +1 -0
- package/lib/helpers/logout/logout.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/helpers/logout/logout.module.d.ts +1 -8
- package/lib/helpers/logout/logout.module.d.ts.map +1 -0
- package/lib/helpers/logout/logout.module.ngfactory.d.ts.map +1 -0
- package/lib/models/contentRating.model.d.ts +1 -0
- package/lib/models/contentRating.model.d.ts.map +1 -0
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +1 -6
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts.map +1 -0
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +1 -3
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +1 -6
- package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts.map +1 -0
- package/lib/pipes/pipe-count-transform/pipe-count-transform.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +1 -3
- package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +1 -6
- package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts.map +1 -0
- package/lib/pipes/pipe-date-concat/pipe-date-concat.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +1 -3
- package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +1 -6
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts.map +1 -0
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +1 -3
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +1 -6
- package/lib/pipes/pipe-filter/pipe-filter.module.d.ts.map +1 -0
- package/lib/pipes/pipe-filter/pipe-filter.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +1 -3
- package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-filter/pipe-filter.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +1 -6
- package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts.map +1 -0
- package/lib/pipes/pipe-filter-search/pipe-filter-search.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +1 -3
- package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +1 -6
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts.map +1 -0
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +1 -3
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +1 -6
- package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts.map +1 -0
- package/lib/pipes/pipe-limit-to/pipe-limit-to.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +1 -3
- package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +1 -6
- package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts.map +1 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +1 -3
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +1 -6
- package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts.map +1 -0
- package/lib/pipes/pipe-name-transform/pipe-name-transform.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +1 -3
- package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +1 -6
- package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts.map +1 -0
- package/lib/pipes/pipe-order-by/pipe-order-by.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +1 -3
- package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-order-by/pipe-order-by.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +1 -6
- package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts.map +1 -0
- package/lib/pipes/pipe-partial-content/pipe-partial-content.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +1 -3
- package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +1 -6
- package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts.map +1 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +1 -3
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +1 -6
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts.map +1 -0
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.ngfactory.d.ts.map +1 -0
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +1 -3
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts.map +1 -0
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.ngfactory.d.ts.map +1 -0
- package/lib/resolvers/explore-detail.resolver.d.ts +1 -3
- package/lib/resolvers/explore-detail.resolver.d.ts.map +1 -0
- package/lib/resolvers/explore-detail.resolver.ngfactory.d.ts.map +1 -0
- package/lib/resolvers/marketing-offering.resolve.d.ts +1 -3
- package/lib/resolvers/marketing-offering.resolve.d.ts.map +1 -0
- package/lib/resolvers/marketing-offering.resolve.ngfactory.d.ts.map +1 -0
- package/lib/resolvers/page.constant.d.ts +1 -0
- package/lib/resolvers/page.constant.d.ts.map +1 -0
- package/lib/resolvers/page.model.d.ts +1 -0
- package/lib/resolvers/page.model.d.ts.map +1 -0
- package/lib/resolvers/page.resolver.d.ts +1 -3
- package/lib/resolvers/page.resolver.d.ts.map +1 -0
- package/lib/resolvers/page.resolver.ngfactory.d.ts.map +1 -0
- package/lib/resolvers/resolver.model.d.ts +1 -0
- package/lib/resolvers/resolver.model.d.ts.map +1 -0
- package/lib/services/auth-keycloak.service.d.ts +1 -3
- package/lib/services/auth-keycloak.service.d.ts.map +1 -0
- package/lib/services/auth-keycloak.service.ngfactory.d.ts.map +1 -0
- package/lib/services/auth-microsoft.service.d.ts +1 -3
- package/lib/services/auth-microsoft.service.d.ts.map +1 -0
- package/lib/services/auth-microsoft.service.ngfactory.d.ts.map +1 -0
- package/lib/services/card-content.model.d.ts +1 -0
- package/lib/services/card-content.model.d.ts.map +1 -0
- package/lib/services/configurations.model.d.ts +9 -0
- package/lib/services/configurations.model.d.ts.map +1 -0
- package/lib/services/configurations.service.d.ts +2 -3
- package/lib/services/configurations.service.d.ts.map +1 -0
- package/lib/services/configurations.service.ngfactory.d.ts.map +1 -0
- package/lib/services/content-strip-multiple.model.d.ts +1 -0
- package/lib/services/content-strip-multiple.model.d.ts.map +1 -0
- package/lib/services/event.model.d.ts +1 -0
- package/lib/services/event.model.d.ts.map +1 -0
- package/lib/services/event.service.d.ts +1 -3
- package/lib/services/event.service.d.ts.map +1 -0
- package/lib/services/event.service.ngfactory.d.ts.map +1 -0
- package/lib/services/logger.service.d.ts +1 -3
- package/lib/services/logger.service.d.ts.map +1 -0
- package/lib/services/logger.service.ngfactory.d.ts.map +1 -0
- package/lib/services/ms-office.model.d.ts +1 -0
- package/lib/services/ms-office.model.d.ts.map +1 -0
- package/lib/services/subapplication-respond.service.d.ts +1 -3
- package/lib/services/subapplication-respond.service.d.ts.map +1 -0
- package/lib/services/subapplication-respond.service.ngfactory.d.ts.map +1 -0
- package/lib/services/telemetry.service.d.ts +1 -3
- package/lib/services/telemetry.service.d.ts.map +1 -0
- package/lib/services/telemetry.service.ngfactory.d.ts.map +1 -0
- package/lib/services/user-preference.model.d.ts +1 -0
- package/lib/services/user-preference.model.d.ts.map +1 -0
- package/lib/services/user-preference.service.d.ts +1 -3
- package/lib/services/user-preference.service.d.ts.map +1 -0
- package/lib/services/user-preference.service.ngfactory.d.ts.map +1 -0
- package/lib/services/utility.service.d.ts +1 -3
- package/lib/services/utility.service.d.ts.map +1 -0
- package/lib/services/utility.service.ngfactory.d.ts.map +1 -0
- package/lib/services/value.service.d.ts +1 -3
- package/lib/services/value.service.d.ts.map +1 -0
- package/lib/services/value.service.ngfactory.d.ts.map +1 -0
- package/lib/services/widget-content.model.d.ts +1 -0
- package/lib/services/widget-content.model.d.ts.map +1 -0
- package/lib/services/widget-content.service.d.ts +1 -3
- package/lib/services/widget-content.service.d.ts.map +1 -0
- package/lib/services/widget-content.service.ngfactory.d.ts.map +1 -0
- package/lib/services/widget-resolver.model.d.ts +1 -0
- package/lib/services/widget-resolver.model.d.ts.map +1 -0
- package/lib/services/widget-search.model.d.ts +1 -0
- package/lib/services/widget-search.model.d.ts.map +1 -0
- package/package.json +2 -1
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -0
- package/sunbird-cb-utils.d.ts +1 -1
- package/sunbird-cb-utils.d.ts.map +1 -0
- package/sunbird-cb-utils.metadata.json +1 -0
|
@@ -1,39 +1,33 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter, Component, Inject, Output, NgModule, Directive, Input, HostBinding, HostListener, ViewChild, Pipe, LOCALE_ID } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import { Injectable, EventEmitter, Component, Inject, Output, NgModule, Directive, Input, HostBinding, HostListener, ElementRef, ViewChild, Pipe, LOCALE_ID } from '@angular/core';
|
|
3
|
+
import { MatDialogRef, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
4
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
5
5
|
import { BehaviorSubject, ReplaySubject, fromEvent, timer, of, forkJoin, Subject } from 'rxjs';
|
|
6
|
-
import * as i3 from '@angular/material/snack-bar';
|
|
7
6
|
import * as i1 from '@angular/cdk/layout';
|
|
8
|
-
import { Breakpoints } from '@angular/cdk/layout';
|
|
7
|
+
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
|
|
9
8
|
import { map, debounceTime, distinctUntilChanged, throttleTime, filter, catchError, mergeMap, retry } from 'rxjs/operators';
|
|
10
|
-
import
|
|
11
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as i6 from '@angular/material/button';
|
|
9
|
+
import { CommonModule } from '@angular/common';
|
|
13
10
|
import { MatButtonModule } from '@angular/material/button';
|
|
14
|
-
import * as i7 from 'ngx-image-cropper';
|
|
15
|
-
import { ImageCropperModule } from 'ngx-image-cropper';
|
|
16
|
-
import * as i8 from '@angular/material/slider';
|
|
17
|
-
import { MatSliderModule } from '@angular/material/slider';
|
|
18
|
-
import * as i9 from '@angular/material/card';
|
|
19
11
|
import { MatCardModule } from '@angular/material/card';
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
12
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
+
import { MatSliderModule } from '@angular/material/slider';
|
|
22
14
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
23
15
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
24
|
-
import
|
|
16
|
+
import { ImageCropperModule } from 'ngx-image-cropper';
|
|
25
17
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
26
18
|
import { __awaiter } from 'tslib';
|
|
27
19
|
import * as i2 from 'keycloak-angular';
|
|
28
|
-
import { KeycloakEventType } from 'keycloak-angular';
|
|
29
|
-
import * as i1$
|
|
30
|
-
import
|
|
31
|
-
import { NavigationEnd } from '@angular/router';
|
|
20
|
+
import { KeycloakEventType, KeycloakService } from 'keycloak-angular';
|
|
21
|
+
import * as i1$1 from '@angular/common/http';
|
|
22
|
+
import { HttpClient } from '@angular/common/http';
|
|
32
23
|
import * as i2$1 from '@angular/cdk/platform';
|
|
24
|
+
import { Platform } from '@angular/cdk/platform';
|
|
25
|
+
import * as i3 from '@angular/router';
|
|
26
|
+
import { NavigationEnd, Router, ActivatedRoute } from '@angular/router';
|
|
33
27
|
import * as _moment from 'moment';
|
|
34
28
|
import * as _ from 'lodash';
|
|
35
29
|
import { orderBy } from 'lodash';
|
|
36
|
-
import
|
|
30
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
37
31
|
|
|
38
32
|
class ConfigurationsService {
|
|
39
33
|
constructor() {
|
|
@@ -88,14 +82,13 @@ class ConfigurationsService {
|
|
|
88
82
|
this.updateOrgReadData.next(id);
|
|
89
83
|
}
|
|
90
84
|
}
|
|
91
|
-
ConfigurationsService.ɵ
|
|
92
|
-
ConfigurationsService
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}], ctorParameters: function () { return []; } });
|
|
85
|
+
ConfigurationsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigurationsService_Factory() { return new ConfigurationsService(); }, token: ConfigurationsService, providedIn: "root" });
|
|
86
|
+
ConfigurationsService.decorators = [
|
|
87
|
+
{ type: Injectable, args: [{
|
|
88
|
+
providedIn: 'root',
|
|
89
|
+
},] }
|
|
90
|
+
];
|
|
91
|
+
ConfigurationsService.ctorParameters = () => [];
|
|
99
92
|
|
|
100
93
|
class ValueService {
|
|
101
94
|
constructor(breakpointObserver) {
|
|
@@ -108,14 +101,15 @@ class ValueService {
|
|
|
108
101
|
.pipe(map((res) => res.matches));
|
|
109
102
|
}
|
|
110
103
|
}
|
|
111
|
-
ValueService.ɵ
|
|
112
|
-
ValueService
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
104
|
+
ValueService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ValueService_Factory() { return new ValueService(i0.ɵɵinject(i1.BreakpointObserver)); }, token: ValueService, providedIn: "root" });
|
|
105
|
+
ValueService.decorators = [
|
|
106
|
+
{ type: Injectable, args: [{
|
|
107
|
+
providedIn: 'root',
|
|
108
|
+
},] }
|
|
109
|
+
];
|
|
110
|
+
ValueService.ctorParameters = () => [
|
|
111
|
+
{ type: BreakpointObserver }
|
|
112
|
+
];
|
|
119
113
|
|
|
120
114
|
class ImageCropComponent {
|
|
121
115
|
constructor(dialogRef, configSvc, snackBar, valueSvc, data) {
|
|
@@ -254,67 +248,45 @@ class ImageCropComponent {
|
|
|
254
248
|
this.dialogRef.close();
|
|
255
249
|
}
|
|
256
250
|
}
|
|
257
|
-
ImageCropComponent
|
|
258
|
-
ImageCropComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ImageCropComponent, selector: "ws-utils-image-crop", outputs: { data: "data" }, ngImport: i0, template: "<ng-container *ngIf=\"isNotOfRequiredSize\">\r\n <mat-dialog-content>\r\n <div class=\"flex pl-4\">\r\n <mat-icon class=\"ws-mat-warn-text largeicon padding-remove-left\">warning</mat-icon>\r\n <h2 class=\"text-xl\" i18n>This image will appear stretched as it is not in proper dimension. Do you want to\r\n continue?</h2>\r\n </div>\r\n <div class=\"text-sm pl-4\">\r\n <div i18n class=\"pb-2\">Note:</div>\r\n <div i18n class=\"pb-2\">Required dimensions : 265 * 150</div>\r\n <div class=\"flex flex-wrap items-baseline\">\r\n <div>Current dimensions:</div>\r\n <div class=\"pl-1\">{{ width }} * {{ height }} px</div>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions class=\"flex flex-end\">\r\n <div class=\"flex flex-end\">\r\n <button mat-raised-button autofocus type=\"button\" (click)=\" close()\">\r\n <span i18n>No</span>\r\n </button>\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" continueToImageCrop()\">\r\n <span class=\"text-white\" i18n>Yes</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n<ng-container *ngIf=\"isRoundCrop\">\r\n <!-- For Profile image - start -->\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl font-weight-bold ws-mat-primary-text\" i18n>Profile Photo</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>close</mat-icon>\r\n\r\n </div>\r\n <mat-dialog-content class=\"p-0 overflow-hidden \" *ngIf=\"isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"profile-slides\">\r\n <image-cropper #imageCropper class=\"image-cropper-profile\" [imageFile]=\"imageFile\" [maintainAspectRatio]=\"true\"\r\n [aspectRatio]=\"250 / 250\" [resizeToWidth]=\"100\" [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"120\"\r\n [cropperMinWidth]=\"500\" [format]=\"'jpeg'\" [transform]=\"transform\" [canvasRotation]=\"canvasRotation\"\r\n (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n </div>\r\n </div>\r\n <ul class=\"toolbar cf\">\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n </li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button></li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button></li>\r\n <li><a href=\"#\"><i class=\"icon-cloud\"></i></a></li>\r\n </ul>\r\n </mat-dialog-content>\r\n</ng-container> <!-- For Profile image - end -->\r\n<ng-container>\r\n <ng-container *ngIf=\"!isNotOfRequiredSize && !isRoundCrop \">\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl title-margin font-weight-bold ws-mat-primary-text\" i18n>Edit Image</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>\r\n close</mat-icon>\r\n </div>\r\n <mat-dialog-content *ngIf=\"!isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"Slides\">\r\n <image-cropper #imageCropper class=\"image-cropper padding-remove\" [imageFile]=\"imageFile\"\r\n [maintainAspectRatio]=\"true\" [aspectRatio]=\"opWidth / opHeight\" [resizeToWidth]=\"opWidth\"\r\n [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"opHeight\" [cropperMinWidth]=\"opWidth\" [format]=\"'jpeg'\"\r\n [transform]=\"transform\" [canvasRotation]=\"canvasRotation\" (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n <div class=\"flex flex-between\">\r\n <span class=\"my-3\" i18n>Zoom</span>\r\n <mat-slider class=\"w-full mx-3\" color=\"primary\" (input)=\"zoom($event)\" min=\"1\" max=\"2.5\" step=\"0.1\">\r\n </mat-slider>\r\n </div>\r\n <div class=\"edit-feature-window \" *ngIf=\"!isXSmall\">\r\n <div class=\"flex flex-between\">\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <mat-card class=\"ws-mat-primary-border-top-bolder mat-elevation-z6 margin-bottom-l button-text\"\r\n *ngIf=\"isThumbnail\">\r\n <img [src]=\"imageFileBase64\" height=\"auto\" width=\"100%\" (error)=\"changeToDefaultImg($event)\" />\r\n <div class=\"flex flex-middle justify-center margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">image</mat-icon>\r\n <b class=\"mat-title margin-remove ws-mat-primary-text\" i18n>Preview</b>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div class=\"edit-feature-window heightwidth\">\r\n <!-- <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \" i18n>Cropped dimensions: {{ opWidth }} * {{ opHeight }} px</b>\r\n </div> -->\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Width: </span>\r\n <span>{{ croppedWidth }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_vert</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Height: </span>\r\n <span>{{ croppedHeight }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n </ng-container>\r\n <mat-dialog-actions align=\"end\" *ngIf=\"!isNotOfRequiredSize \">\r\n <div class=\"flex flex-end margin-bottom-s\">\r\n <!-- <button mat-raised-button type=\"button\" (click)=\" reset()\">\r\n <span i18n>Reset</span>\r\n </button> -->\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" croppingImage()\">\r\n <span class=\"text-white\" i18n>Apply</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n", styles: [".image-cropper{max-height:55vh}::ng-deep image-cropper .overlay{background-color:transparent!important}.Slides{display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto;padding:0 1.25em}@media only screen and (max-width: 1030px){.Slides{padding:0;width:100%}}.cursor{cursor:pointer}.edit-feature-window{background:transparent;justify-content:center}mat-toolbar{background-color:#fff!important;z-index:1!important}mat-dialog-content{padding:1.25em!important}@media only screen and (max-width: 1030px){mat-dialog-content{padding:.25em .5em!important}}.heightwidth{display:flex}@media only screen and (max-width: 1030px){.heightwidth{display:block}}@media only screen and (max-width: 1030px){.mat-button{min-width:auto;padding:0 14px}}.largeicon{font-size:2em;padding:.13em .5em}.tooltip{background:#b71c1c}.dimension-icon{position:relative;top:.35em;padding:0 0 0 .3em}@media only screen and (max-width: 1030px){.button-text{display:none}}.image-cropper-profile{max-height:55vh}.profile-slides{box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto}@media only screen and (max-width: 1030px){.profile-slides{padding:0;width:100%}}.toolbar{left:50%;margin:1em 0 0 -10em;position:absolute;width:auto;border-radius:4px}.cf:before,.cf:after{content:\"\";display:table}.cf:after{clear:both}.toolbar li{float:left;list-style:none}.toolbar a{border-left:0px solid rgba(79,123,170,.4);border-right:1px solid rgba(255,255,255,.3)}.toolbar li:first-child a{border-left:none;border-radius:4px 0 0 4px}.toolbar li:last-child a{border-right:none;border-radius:0 4px 4px 0}\n"], components: [{ type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i7.ImageCropperComponent, selector: "image-cropper", inputs: ["format", "transform", "maintainAspectRatio", "aspectRatio", "resizeToWidth", "resizeToHeight", "cropperMinWidth", "cropperMinHeight", "cropperMaxHeight", "cropperMaxWidth", "cropperStaticWidth", "cropperStaticHeight", "canvasRotation", "initialStepSize", "roundCropper", "onlyScaleDown", "imageQuality", "autoCrop", "backgroundColor", "containWithinAspectRatio", "hideResizeSquares", "cropper", "alignImage", "disabled", "imageChangedEvent", "imageURL", "imageBase64", "imageFile"], outputs: ["imageCropped", "startCropImage", "imageLoaded", "cropperReady", "loadImageFailed"] }, { type: i8.MatSlider, selector: "mat-slider", inputs: ["disabled", "color", "tabIndex", "invert", "max", "min", "step", "thumbLabel", "tickInterval", "value", "vertical", "displayWith", "valueText"], outputs: ["change", "input", "valueChange"], exportAs: ["matSlider"] }, { type: i9.MatCard, selector: "mat-card", exportAs: ["matCard"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }] });
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
251
|
+
ImageCropComponent.decorators = [
|
|
252
|
+
{ type: Component, args: [{
|
|
253
|
+
selector: 'ws-utils-image-crop',
|
|
254
|
+
template: "<ng-container *ngIf=\"isNotOfRequiredSize\">\r\n <mat-dialog-content>\r\n <div class=\"flex pl-4\">\r\n <mat-icon class=\"ws-mat-warn-text largeicon padding-remove-left\">warning</mat-icon>\r\n <h2 class=\"text-xl\" i18n>This image will appear stretched as it is not in proper dimension. Do you want to\r\n continue?</h2>\r\n </div>\r\n <div class=\"text-sm pl-4\">\r\n <div i18n class=\"pb-2\">Note:</div>\r\n <div i18n class=\"pb-2\">Required dimensions : 265 * 150</div>\r\n <div class=\"flex flex-wrap items-baseline\">\r\n <div>Current dimensions:</div>\r\n <div class=\"pl-1\">{{ width }} * {{ height }} px</div>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n <mat-dialog-actions class=\"flex flex-end\">\r\n <div class=\"flex flex-end\">\r\n <button mat-raised-button autofocus type=\"button\" (click)=\" close()\">\r\n <span i18n>No</span>\r\n </button>\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" continueToImageCrop()\">\r\n <span class=\"text-white\" i18n>Yes</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n<ng-container *ngIf=\"isRoundCrop\">\r\n <!-- For Profile image - start -->\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl font-weight-bold ws-mat-primary-text\" i18n>Profile Photo</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>close</mat-icon>\r\n\r\n </div>\r\n <mat-dialog-content class=\"p-0 overflow-hidden \" *ngIf=\"isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"profile-slides\">\r\n <image-cropper #imageCropper class=\"image-cropper-profile\" [imageFile]=\"imageFile\" [maintainAspectRatio]=\"true\"\r\n [aspectRatio]=\"250 / 250\" [resizeToWidth]=\"100\" [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"120\"\r\n [cropperMinWidth]=\"500\" [format]=\"'jpeg'\" [transform]=\"transform\" [canvasRotation]=\"canvasRotation\"\r\n (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n </div>\r\n </div>\r\n <ul class=\"toolbar cf\">\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n </li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button></li>\r\n <li><button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button></li>\r\n <li><a href=\"#\"><i class=\"icon-cloud\"></i></a></li>\r\n </ul>\r\n </mat-dialog-content>\r\n</ng-container> <!-- For Profile image - end -->\r\n<ng-container>\r\n <ng-container *ngIf=\"!isNotOfRequiredSize && !isRoundCrop \">\r\n <div class=\"flex flex-between\">\r\n <mat-icon class=\" ws-mat-primary-text margin-bottom-xxs\">crop</mat-icon>\r\n <p mat-dialog-title class=\"text-3xl title-margin font-weight-bold ws-mat-primary-text\" i18n>Edit Image</p>\r\n <mat-icon class=\"float-right flex-end cursor-pointer\" (click)=\"close()\" i18n>\r\n close</mat-icon>\r\n </div>\r\n <mat-dialog-content *ngIf=\"!isRoundCrop\">\r\n <div class=\"flex flex-between\">\r\n <div class=\"Slides\">\r\n <image-cropper #imageCropper class=\"image-cropper padding-remove\" [imageFile]=\"imageFile\"\r\n [maintainAspectRatio]=\"true\" [aspectRatio]=\"opWidth / opHeight\" [resizeToWidth]=\"opWidth\"\r\n [roundCropper]=\"isRoundCrop\" [resizeToHeight]=\"opHeight\" [cropperMinWidth]=\"opWidth\" [format]=\"'jpeg'\"\r\n [transform]=\"transform\" [canvasRotation]=\"canvasRotation\" (imageCropped)=\"imageCropped($event)\">\r\n </image-cropper>\r\n <div class=\"flex flex-between\">\r\n <span class=\"my-3\" i18n>Zoom</span>\r\n <mat-slider class=\"w-full mx-3\" color=\"primary\" (input)=\"zoom($event)\" min=\"1\" max=\"2.5\" step=\"0.1\">\r\n </mat-slider>\r\n </div>\r\n <div class=\"edit-feature-window \" *ngIf=\"!isXSmall\">\r\n <div class=\"flex flex-between\">\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateLeft()\">\r\n <mat-icon class=\"text-white large-icon ws-mat-primary-text\">rotate_left</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Left</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"rotateRight()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">rotate_right</mat-icon>\r\n <span class=\"button-text\" i18n>Rotate Right</span>\r\n </button>\r\n <button mat-raised-button class=\"mat-button\" (click)=\"flipHorizontal()\">\r\n <mat-icon class=\"text-white medium-icon ws-mat-primary-text\">flip</mat-icon>\r\n <span class=\"button-text\" i18n>Flip Horizontal</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <mat-card class=\"ws-mat-primary-border-top-bolder mat-elevation-z6 margin-bottom-l button-text\"\r\n *ngIf=\"isThumbnail\">\r\n <img [src]=\"imageFileBase64\" height=\"auto\" width=\"100%\" (error)=\"changeToDefaultImg($event)\" />\r\n <div class=\"flex flex-middle justify-center margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">image</mat-icon>\r\n <b class=\"mat-title margin-remove ws-mat-primary-text\" i18n>Preview</b>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div class=\"edit-feature-window heightwidth\">\r\n <!-- <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \" i18n>Cropped dimensions: {{ opWidth }} * {{ opHeight }} px</b>\r\n </div> -->\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_horiz</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Width: </span>\r\n <span>{{ croppedWidth }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n <div class=\"flex flex-middle margin-left-l margin-bottom-s padding-top-s\">\r\n <mat-icon class=\"ws-mat-primary-text padding-right-s\">swap_vert</mat-icon>\r\n <b class=\"mat-body margin-remove \">\r\n <span i18n>Cropped Height: </span>\r\n <span>{{ croppedHeight }}</span>\r\n <span i18n>px</span>\r\n </b>\r\n </div>\r\n </div>\r\n </mat-dialog-content>\r\n </ng-container>\r\n <mat-dialog-actions align=\"end\" *ngIf=\"!isNotOfRequiredSize \">\r\n <div class=\"flex flex-end margin-bottom-s\">\r\n <!-- <button mat-raised-button type=\"button\" (click)=\" reset()\">\r\n <span i18n>Reset</span>\r\n </button> -->\r\n <button mat-raised-button type=\"button\" class=\"text-white ws-mat-primary-background text-white\"\r\n (click)=\" croppingImage()\">\r\n <span class=\"text-white\" i18n>Apply</span>\r\n </button>\r\n </div>\r\n </mat-dialog-actions>\r\n</ng-container>\r\n",
|
|
255
|
+
styles: [".image-cropper{max-height:55vh}::ng-deep image-cropper .overlay{background-color:transparent!important}.Slides{display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto;padding:0 1.25em}@media only screen and (max-width: 1030px){.Slides{padding:0;width:100%}}.cursor{cursor:pointer}.edit-feature-window{background:transparent;justify-content:center}mat-toolbar{background-color:#fff!important;z-index:1!important}mat-dialog-content{padding:1.25em!important}@media only screen and (max-width: 1030px){mat-dialog-content{padding:.25em .5em!important}}.heightwidth{display:flex}@media only screen and (max-width: 1030px){.heightwidth{display:block}}@media only screen and (max-width: 1030px){.mat-button{min-width:auto;padding:0 14px}}.largeicon{font-size:2em;padding:.13em .5em}.tooltip{background:#b71c1c}.dimension-icon{position:relative;top:.35em;padding:0 0 0 .3em}@media only screen and (max-width: 1030px){.button-text{display:none}}.image-cropper-profile{max-height:55vh}.profile-slides{box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;display:block;height:auto;width:50%;position:relative;margin-left:auto;margin-right:auto}@media only screen and (max-width: 1030px){.profile-slides{padding:0;width:100%}}.toolbar{left:50%;margin:1em 0 0 -10em;position:absolute;width:auto;border-radius:4px}.cf:before,.cf:after{content:\"\";display:table}.cf:after{clear:both}.toolbar li{float:left;list-style:none}.toolbar a{border-left:0px solid rgba(79,123,170,.4);border-right:1px solid rgba(255,255,255,.3)}.toolbar li:first-child a{border-left:none;border-radius:4px 0 0 4px}.toolbar li:last-child a{border-right:none;border-radius:0 4px 4px 0}\n"]
|
|
256
|
+
},] }
|
|
257
|
+
];
|
|
258
|
+
ImageCropComponent.ctorParameters = () => [
|
|
259
|
+
{ type: MatDialogRef },
|
|
260
|
+
{ type: ConfigurationsService },
|
|
261
|
+
{ type: MatSnackBar },
|
|
262
|
+
{ type: ValueService },
|
|
263
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
264
|
+
];
|
|
265
|
+
ImageCropComponent.propDecorators = {
|
|
266
|
+
data: [{ type: Output }]
|
|
267
|
+
};
|
|
272
268
|
|
|
273
269
|
class ImageCropModule {
|
|
274
270
|
}
|
|
275
|
-
ImageCropModule
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
MatCardModule,
|
|
295
|
-
MatTooltipModule,
|
|
296
|
-
MatSliderModule,
|
|
297
|
-
]] });
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ImageCropModule, decorators: [{
|
|
299
|
-
type: NgModule,
|
|
300
|
-
args: [{
|
|
301
|
-
declarations: [ImageCropComponent],
|
|
302
|
-
imports: [
|
|
303
|
-
CommonModule,
|
|
304
|
-
ImageCropperModule,
|
|
305
|
-
MatIconModule,
|
|
306
|
-
MatButtonModule,
|
|
307
|
-
MatDialogModule,
|
|
308
|
-
MatToolbarModule,
|
|
309
|
-
MatDialogModule,
|
|
310
|
-
MatCardModule,
|
|
311
|
-
MatTooltipModule,
|
|
312
|
-
MatSliderModule,
|
|
313
|
-
],
|
|
314
|
-
exports: [ImageCropComponent],
|
|
315
|
-
entryComponents: [ImageCropComponent],
|
|
316
|
-
}]
|
|
317
|
-
}] });
|
|
271
|
+
ImageCropModule.decorators = [
|
|
272
|
+
{ type: NgModule, args: [{
|
|
273
|
+
declarations: [ImageCropComponent],
|
|
274
|
+
imports: [
|
|
275
|
+
CommonModule,
|
|
276
|
+
ImageCropperModule,
|
|
277
|
+
MatIconModule,
|
|
278
|
+
MatButtonModule,
|
|
279
|
+
MatDialogModule,
|
|
280
|
+
MatToolbarModule,
|
|
281
|
+
MatDialogModule,
|
|
282
|
+
MatCardModule,
|
|
283
|
+
MatTooltipModule,
|
|
284
|
+
MatSliderModule,
|
|
285
|
+
],
|
|
286
|
+
exports: [ImageCropComponent],
|
|
287
|
+
entryComponents: [ImageCropComponent],
|
|
288
|
+
},] }
|
|
289
|
+
];
|
|
318
290
|
|
|
319
291
|
var EFeatures;
|
|
320
292
|
(function (EFeatures) {
|
|
@@ -936,46 +908,31 @@ class ClassChangeOnScrollDirective {
|
|
|
936
908
|
}, this.wsClassOnScrollDirChange || 5000);
|
|
937
909
|
}
|
|
938
910
|
}
|
|
939
|
-
ClassChangeOnScrollDirective
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
type: HostBinding,
|
|
953
|
-
args: ['class.scrolling-up']
|
|
954
|
-
}], isNotScrolling: [{
|
|
955
|
-
type: HostBinding,
|
|
956
|
-
args: ['class.scrolling-no']
|
|
957
|
-
}], hasScrolledDown: [{
|
|
958
|
-
type: HostBinding,
|
|
959
|
-
args: ['class.scrolled-down']
|
|
960
|
-
}] } });
|
|
911
|
+
ClassChangeOnScrollDirective.decorators = [
|
|
912
|
+
{ type: Directive, args: [{
|
|
913
|
+
selector: '[wsUtilsClassChangeOnScroll]',
|
|
914
|
+
},] }
|
|
915
|
+
];
|
|
916
|
+
ClassChangeOnScrollDirective.ctorParameters = () => [];
|
|
917
|
+
ClassChangeOnScrollDirective.propDecorators = {
|
|
918
|
+
wsClassOnScrollDirChange: [{ type: Input }],
|
|
919
|
+
isScrollingDown: [{ type: HostBinding, args: ['class.scrolling-down',] }],
|
|
920
|
+
isScrollingUp: [{ type: HostBinding, args: ['class.scrolling-up',] }],
|
|
921
|
+
isNotScrolling: [{ type: HostBinding, args: ['class.scrolling-no',] }],
|
|
922
|
+
hasScrolledDown: [{ type: HostBinding, args: ['class.scrolled-down',] }]
|
|
923
|
+
};
|
|
961
924
|
|
|
962
925
|
class ClassChangeOnScrollModule {
|
|
963
926
|
}
|
|
964
|
-
ClassChangeOnScrollModule
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
imports: [
|
|
974
|
-
CommonModule,
|
|
975
|
-
],
|
|
976
|
-
exports: [ClassChangeOnScrollDirective],
|
|
977
|
-
}]
|
|
978
|
-
}] });
|
|
927
|
+
ClassChangeOnScrollModule.decorators = [
|
|
928
|
+
{ type: NgModule, args: [{
|
|
929
|
+
declarations: [ClassChangeOnScrollDirective],
|
|
930
|
+
imports: [
|
|
931
|
+
CommonModule,
|
|
932
|
+
],
|
|
933
|
+
exports: [ClassChangeOnScrollDirective],
|
|
934
|
+
},] }
|
|
935
|
+
];
|
|
979
936
|
|
|
980
937
|
class DefaultThumbnailDirective {
|
|
981
938
|
constructor() {
|
|
@@ -996,42 +953,29 @@ class DefaultThumbnailDirective {
|
|
|
996
953
|
}
|
|
997
954
|
}
|
|
998
955
|
}
|
|
999
|
-
DefaultThumbnailDirective
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
}], srcUrl: [{
|
|
1011
|
-
type: HostBinding,
|
|
1012
|
-
args: ['src']
|
|
1013
|
-
}], updateSrc: [{
|
|
1014
|
-
type: HostListener,
|
|
1015
|
-
args: ['error']
|
|
1016
|
-
}] } });
|
|
956
|
+
DefaultThumbnailDirective.decorators = [
|
|
957
|
+
{ type: Directive, args: [{
|
|
958
|
+
selector: '[wsUtilsDefaultThumbnail]',
|
|
959
|
+
},] }
|
|
960
|
+
];
|
|
961
|
+
DefaultThumbnailDirective.propDecorators = {
|
|
962
|
+
wsUtilsDefaultThumbnail: [{ type: Input }],
|
|
963
|
+
src: [{ type: Input }],
|
|
964
|
+
srcUrl: [{ type: HostBinding, args: ['src',] }],
|
|
965
|
+
updateSrc: [{ type: HostListener, args: ['error',] }]
|
|
966
|
+
};
|
|
1017
967
|
|
|
1018
968
|
class DefaultThumbnailModule {
|
|
1019
969
|
}
|
|
1020
|
-
DefaultThumbnailModule
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
imports: [
|
|
1030
|
-
CommonModule,
|
|
1031
|
-
],
|
|
1032
|
-
exports: [DefaultThumbnailDirective],
|
|
1033
|
-
}]
|
|
1034
|
-
}] });
|
|
970
|
+
DefaultThumbnailModule.decorators = [
|
|
971
|
+
{ type: NgModule, args: [{
|
|
972
|
+
declarations: [DefaultThumbnailDirective],
|
|
973
|
+
imports: [
|
|
974
|
+
CommonModule,
|
|
975
|
+
],
|
|
976
|
+
exports: [DefaultThumbnailDirective],
|
|
977
|
+
},] }
|
|
978
|
+
];
|
|
1035
979
|
|
|
1036
980
|
const customBreakPoints = {
|
|
1037
981
|
xs: '(max-width: 450px)',
|
|
@@ -1101,37 +1045,30 @@ class ImageResponsiveDirective {
|
|
|
1101
1045
|
}
|
|
1102
1046
|
}
|
|
1103
1047
|
}
|
|
1104
|
-
ImageResponsiveDirective
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
}] } });
|
|
1048
|
+
ImageResponsiveDirective.decorators = [
|
|
1049
|
+
{ type: Directive, args: [{
|
|
1050
|
+
selector: '[wsUtilsImageResponsive]',
|
|
1051
|
+
},] }
|
|
1052
|
+
];
|
|
1053
|
+
ImageResponsiveDirective.ctorParameters = () => [
|
|
1054
|
+
{ type: BreakpointObserver }
|
|
1055
|
+
];
|
|
1056
|
+
ImageResponsiveDirective.propDecorators = {
|
|
1057
|
+
src: [{ type: Input }],
|
|
1058
|
+
srcBindUrl: [{ type: HostBinding, args: ['src',] }]
|
|
1059
|
+
};
|
|
1117
1060
|
|
|
1118
1061
|
class ImageResponsiveModule {
|
|
1119
1062
|
}
|
|
1120
|
-
ImageResponsiveModule
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
imports: [
|
|
1130
|
-
CommonModule,
|
|
1131
|
-
],
|
|
1132
|
-
exports: [ImageResponsiveDirective],
|
|
1133
|
-
}]
|
|
1134
|
-
}] });
|
|
1063
|
+
ImageResponsiveModule.decorators = [
|
|
1064
|
+
{ type: NgModule, args: [{
|
|
1065
|
+
declarations: [ImageResponsiveDirective],
|
|
1066
|
+
imports: [
|
|
1067
|
+
CommonModule,
|
|
1068
|
+
],
|
|
1069
|
+
exports: [ImageResponsiveDirective],
|
|
1070
|
+
},] }
|
|
1071
|
+
];
|
|
1135
1072
|
|
|
1136
1073
|
class InViewPortDirective {
|
|
1137
1074
|
constructor(_el) {
|
|
@@ -1180,34 +1117,29 @@ class InViewPortDirective {
|
|
|
1180
1117
|
this.inViewport.emit(event);
|
|
1181
1118
|
}
|
|
1182
1119
|
}
|
|
1183
|
-
InViewPortDirective
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1120
|
+
InViewPortDirective.decorators = [
|
|
1121
|
+
{ type: Directive, args: [{
|
|
1122
|
+
selector: '[wsUtilsInViewPort]',
|
|
1123
|
+
},] }
|
|
1124
|
+
];
|
|
1125
|
+
InViewPortDirective.ctorParameters = () => [
|
|
1126
|
+
{ type: ElementRef }
|
|
1127
|
+
];
|
|
1128
|
+
InViewPortDirective.propDecorators = {
|
|
1129
|
+
inViewport: [{ type: Output }]
|
|
1130
|
+
};
|
|
1193
1131
|
|
|
1194
1132
|
class InViewPortModule {
|
|
1195
1133
|
}
|
|
1196
|
-
InViewPortModule
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
exports: [InViewPortDirective],
|
|
1206
|
-
imports: [
|
|
1207
|
-
CommonModule,
|
|
1208
|
-
],
|
|
1209
|
-
}]
|
|
1210
|
-
}] });
|
|
1134
|
+
InViewPortModule.decorators = [
|
|
1135
|
+
{ type: NgModule, args: [{
|
|
1136
|
+
declarations: [InViewPortDirective],
|
|
1137
|
+
exports: [InViewPortDirective],
|
|
1138
|
+
imports: [
|
|
1139
|
+
CommonModule,
|
|
1140
|
+
],
|
|
1141
|
+
},] }
|
|
1142
|
+
];
|
|
1211
1143
|
|
|
1212
1144
|
class NavigationDirective {
|
|
1213
1145
|
constructor() {
|
|
@@ -1229,74 +1161,52 @@ class NavigationDirective {
|
|
|
1229
1161
|
}
|
|
1230
1162
|
}
|
|
1231
1163
|
}
|
|
1232
|
-
NavigationDirective
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
type: Input
|
|
1245
|
-
}, {
|
|
1246
|
-
type: HostBinding,
|
|
1247
|
-
args: ['attr.routerLink']
|
|
1248
|
-
}], onMouseEnter: [{
|
|
1249
|
-
type: HostListener,
|
|
1250
|
-
args: ['mousedown', ['$event']]
|
|
1251
|
-
}] } });
|
|
1164
|
+
NavigationDirective.decorators = [
|
|
1165
|
+
{ type: Directive, args: [{
|
|
1166
|
+
selector: '[wsUtilsNavigation]',
|
|
1167
|
+
},] }
|
|
1168
|
+
];
|
|
1169
|
+
NavigationDirective.ctorParameters = () => [];
|
|
1170
|
+
NavigationDirective.propDecorators = {
|
|
1171
|
+
wsUtilsNavigation: [{ type: Input }],
|
|
1172
|
+
openInNewTab: [{ type: Input }],
|
|
1173
|
+
routeUrl: [{ type: Input }, { type: HostBinding, args: ['attr.routerLink',] }],
|
|
1174
|
+
onMouseEnter: [{ type: HostListener, args: ['mousedown', ['$event'],] }]
|
|
1175
|
+
};
|
|
1252
1176
|
|
|
1253
1177
|
class NavigationModule {
|
|
1254
1178
|
}
|
|
1255
|
-
NavigationModule
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
imports: [
|
|
1265
|
-
CommonModule,
|
|
1266
|
-
],
|
|
1267
|
-
exports: [NavigationDirective],
|
|
1268
|
-
}]
|
|
1269
|
-
}] });
|
|
1179
|
+
NavigationModule.decorators = [
|
|
1180
|
+
{ type: NgModule, args: [{
|
|
1181
|
+
declarations: [NavigationDirective],
|
|
1182
|
+
imports: [
|
|
1183
|
+
CommonModule,
|
|
1184
|
+
],
|
|
1185
|
+
exports: [NavigationDirective],
|
|
1186
|
+
},] }
|
|
1187
|
+
];
|
|
1270
1188
|
|
|
1271
1189
|
class PermissionDirective {
|
|
1272
1190
|
constructor() { }
|
|
1273
1191
|
}
|
|
1274
|
-
PermissionDirective
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
}]
|
|
1281
|
-
}], ctorParameters: function () { return []; } });
|
|
1192
|
+
PermissionDirective.decorators = [
|
|
1193
|
+
{ type: Directive, args: [{
|
|
1194
|
+
selector: '[wsUtilsPermission]',
|
|
1195
|
+
},] }
|
|
1196
|
+
];
|
|
1197
|
+
PermissionDirective.ctorParameters = () => [];
|
|
1282
1198
|
|
|
1283
1199
|
class PermissionModule {
|
|
1284
1200
|
}
|
|
1285
|
-
PermissionModule
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
imports: [
|
|
1295
|
-
CommonModule,
|
|
1296
|
-
],
|
|
1297
|
-
exports: [PermissionDirective],
|
|
1298
|
-
}]
|
|
1299
|
-
}] });
|
|
1201
|
+
PermissionModule.decorators = [
|
|
1202
|
+
{ type: NgModule, args: [{
|
|
1203
|
+
declarations: [PermissionDirective],
|
|
1204
|
+
imports: [
|
|
1205
|
+
CommonModule,
|
|
1206
|
+
],
|
|
1207
|
+
exports: [PermissionDirective],
|
|
1208
|
+
},] }
|
|
1209
|
+
];
|
|
1300
1210
|
|
|
1301
1211
|
function getStringifiedQueryParams(obj) {
|
|
1302
1212
|
return Object.entries(obj)
|
|
@@ -1379,52 +1289,35 @@ class HorizontalScrollerComponent {
|
|
|
1379
1289
|
}
|
|
1380
1290
|
}
|
|
1381
1291
|
}
|
|
1382
|
-
HorizontalScrollerComponent
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
type: Output
|
|
1397
|
-
}], horizontalScrollElem: [{
|
|
1398
|
-
type: ViewChild,
|
|
1399
|
-
args: ['horizontalScrollElem', { static: true }]
|
|
1400
|
-
}] } });
|
|
1292
|
+
HorizontalScrollerComponent.decorators = [
|
|
1293
|
+
{ type: Component, args: [{
|
|
1294
|
+
selector: 'ws-utils-horizontal-scroller',
|
|
1295
|
+
template: "<section class=\"horizontal-scroll-container h-full\">\r\n <button i18n-aria-label name=\"content-backward-button\" mat-mini-fab color=\"primary\" (click)=\"showPrev()\"\r\n class=\"prevBtn hidden-touch border-radius-xs\" [hidden]=\"!enablePrev\" [ngClass]=\"{'prevBtnHover': onHover}\">\r\n <mat-icon>navigate_before</mat-icon>\r\n </button>\r\n <div name=\"horizontal-scroll-content-strip\" class=\"horizontal-scroll-content\" #horizontalScrollElem>\r\n <ng-content></ng-content>\r\n </div>\r\n <button i18n-aria-label name=\"content-forward-button\" mat-mini-fab (click)=\"showNext()\" color=\"primary\"\r\n class=\"nextBtn hidden-touch border-radius-xs\" [ngClass]=\"{'nextBtnHover': onHover}\"\r\n [hidden]=\"!enableNext || loadStatus === 'fetching'\">\r\n <mat-icon>navigate_next</mat-icon>\r\n </button>\r\n <div class=\"nextLoading\" *ngIf=\"loadStatus === 'fetching'\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n</section>",
|
|
1296
|
+
styles: [".horizontal-scroll-container{position:relative;width:100%;min-height:100px}.nextLoading,.nextBtn,.prevBtn{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.border-radius-xs{border-radius:8px!important}.prevBtn{left:-16px}.nextBtn{right:-16px}.nextLoading{padding:0;right:-16px}.horizontal-scroll-content{overflow-x:auto;-webkit-overflow-scrolling:touch;height:100%;flex-wrap:nowrap;display:flex;align-items:stretch;-ms-overflow-style:none}.horizontal-scroll-content::-webkit-scrollbar{width:0px;height:0px}\n"]
|
|
1297
|
+
},] }
|
|
1298
|
+
];
|
|
1299
|
+
HorizontalScrollerComponent.ctorParameters = () => [];
|
|
1300
|
+
HorizontalScrollerComponent.propDecorators = {
|
|
1301
|
+
loadStatus: [{ type: Input }],
|
|
1302
|
+
onHover: [{ type: Input }],
|
|
1303
|
+
loadNext: [{ type: Output }],
|
|
1304
|
+
horizontalScrollElem: [{ type: ViewChild, args: ['horizontalScrollElem', { static: true },] }]
|
|
1305
|
+
};
|
|
1401
1306
|
|
|
1402
1307
|
class HorizontalScrollerModule {
|
|
1403
1308
|
}
|
|
1404
|
-
HorizontalScrollerModule
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
type: NgModule,
|
|
1417
|
-
args: [{
|
|
1418
|
-
declarations: [HorizontalScrollerComponent],
|
|
1419
|
-
imports: [
|
|
1420
|
-
CommonModule,
|
|
1421
|
-
MatButtonModule,
|
|
1422
|
-
MatIconModule,
|
|
1423
|
-
MatProgressSpinnerModule,
|
|
1424
|
-
],
|
|
1425
|
-
exports: [HorizontalScrollerComponent],
|
|
1426
|
-
}]
|
|
1427
|
-
}] });
|
|
1309
|
+
HorizontalScrollerModule.decorators = [
|
|
1310
|
+
{ type: NgModule, args: [{
|
|
1311
|
+
declarations: [HorizontalScrollerComponent],
|
|
1312
|
+
imports: [
|
|
1313
|
+
CommonModule,
|
|
1314
|
+
MatButtonModule,
|
|
1315
|
+
MatIconModule,
|
|
1316
|
+
MatProgressSpinnerModule,
|
|
1317
|
+
],
|
|
1318
|
+
exports: [HorizontalScrollerComponent],
|
|
1319
|
+
},] }
|
|
1320
|
+
];
|
|
1428
1321
|
|
|
1429
1322
|
class LoggerService {
|
|
1430
1323
|
constructor(configSvc) {
|
|
@@ -1459,14 +1352,15 @@ class LoggerService {
|
|
|
1459
1352
|
console.error = noConsoleWithError;
|
|
1460
1353
|
}
|
|
1461
1354
|
}
|
|
1462
|
-
LoggerService.ɵ
|
|
1463
|
-
LoggerService
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1355
|
+
LoggerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LoggerService_Factory() { return new LoggerService(i0.ɵɵinject(ConfigurationsService)); }, token: LoggerService, providedIn: "root" });
|
|
1356
|
+
LoggerService.decorators = [
|
|
1357
|
+
{ type: Injectable, args: [{
|
|
1358
|
+
providedIn: 'root',
|
|
1359
|
+
},] }
|
|
1360
|
+
];
|
|
1361
|
+
LoggerService.ctorParameters = () => [
|
|
1362
|
+
{ type: ConfigurationsService }
|
|
1363
|
+
];
|
|
1470
1364
|
|
|
1471
1365
|
const msTokenExpiryDuration = 600;
|
|
1472
1366
|
const storageKey$1 = 'msLoginRequested';
|
|
@@ -1638,14 +1532,16 @@ class AuthMicrosoftService {
|
|
|
1638
1532
|
};
|
|
1639
1533
|
}
|
|
1640
1534
|
}
|
|
1641
|
-
AuthMicrosoftService.ɵ
|
|
1642
|
-
AuthMicrosoftService
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1535
|
+
AuthMicrosoftService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthMicrosoftService_Factory() { return new AuthMicrosoftService(i0.ɵɵinject(LoggerService), i0.ɵɵinject(i1$1.HttpClient)); }, token: AuthMicrosoftService, providedIn: "root" });
|
|
1536
|
+
AuthMicrosoftService.decorators = [
|
|
1537
|
+
{ type: Injectable, args: [{
|
|
1538
|
+
providedIn: 'root',
|
|
1539
|
+
},] }
|
|
1540
|
+
];
|
|
1541
|
+
AuthMicrosoftService.ctorParameters = () => [
|
|
1542
|
+
{ type: LoggerService },
|
|
1543
|
+
{ type: HttpClient }
|
|
1544
|
+
];
|
|
1649
1545
|
|
|
1650
1546
|
const storage = localStorage;
|
|
1651
1547
|
const storageKey = 'kc';
|
|
@@ -1856,14 +1752,17 @@ class AuthKeycloakService {
|
|
|
1856
1752
|
}
|
|
1857
1753
|
}
|
|
1858
1754
|
}
|
|
1859
|
-
AuthKeycloakService.ɵ
|
|
1860
|
-
AuthKeycloakService
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1755
|
+
AuthKeycloakService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthKeycloakService_Factory() { return new AuthKeycloakService(i0.ɵɵinject(ConfigurationsService), i0.ɵɵinject(i2.KeycloakService), i0.ɵɵinject(AuthMicrosoftService)); }, token: AuthKeycloakService, providedIn: "root" });
|
|
1756
|
+
AuthKeycloakService.decorators = [
|
|
1757
|
+
{ type: Injectable, args: [{
|
|
1758
|
+
providedIn: 'root',
|
|
1759
|
+
},] }
|
|
1760
|
+
];
|
|
1761
|
+
AuthKeycloakService.ctorParameters = () => [
|
|
1762
|
+
{ type: ConfigurationsService },
|
|
1763
|
+
{ type: KeycloakService },
|
|
1764
|
+
{ type: AuthMicrosoftService }
|
|
1765
|
+
];
|
|
1867
1766
|
|
|
1868
1767
|
const RANDOM_ID_PER_USER = 0;
|
|
1869
1768
|
class UtilityService {
|
|
@@ -1972,14 +1871,18 @@ class UtilityService {
|
|
|
1972
1871
|
return data;
|
|
1973
1872
|
}
|
|
1974
1873
|
}
|
|
1975
|
-
UtilityService.ɵ
|
|
1976
|
-
UtilityService
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1874
|
+
UtilityService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UtilityService_Factory() { return new UtilityService(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(i2$1.Platform), i0.ɵɵinject(i3.Router), i0.ɵɵinject(i3.ActivatedRoute)); }, token: UtilityService, providedIn: "root" });
|
|
1875
|
+
UtilityService.decorators = [
|
|
1876
|
+
{ type: Injectable, args: [{
|
|
1877
|
+
providedIn: 'root',
|
|
1878
|
+
},] }
|
|
1879
|
+
];
|
|
1880
|
+
UtilityService.ctorParameters = () => [
|
|
1881
|
+
{ type: HttpClient },
|
|
1882
|
+
{ type: Platform },
|
|
1883
|
+
{ type: Router },
|
|
1884
|
+
{ type: ActivatedRoute }
|
|
1885
|
+
];
|
|
1983
1886
|
|
|
1984
1887
|
class LogoutComponent {
|
|
1985
1888
|
constructor(dialogRef, authSvc, configSvc, utilitySvc) {
|
|
@@ -2010,40 +1913,33 @@ class LogoutComponent {
|
|
|
2010
1913
|
return false;
|
|
2011
1914
|
}
|
|
2012
1915
|
}
|
|
2013
|
-
LogoutComponent
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
1916
|
+
LogoutComponent.decorators = [
|
|
1917
|
+
{ type: Component, args: [{
|
|
1918
|
+
selector: 'ws-utils-logout',
|
|
1919
|
+
template: "<h1 mat-dialog-title i18n>Logout Now</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n Note: On logging out all the downloaded content will be deleted.\r\n</div>\r\n<div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n Are you sure?\r\n</div>\r\n<div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n Yes\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" [mat-dialog-close] cdkFocusInitial i18n>No</button>\r\n</div>",
|
|
1920
|
+
styles: [".hide-overflow{overflow:hidden}\n"]
|
|
1921
|
+
},] }
|
|
1922
|
+
];
|
|
1923
|
+
LogoutComponent.ctorParameters = () => [
|
|
1924
|
+
{ type: MatDialogRef },
|
|
1925
|
+
{ type: AuthKeycloakService },
|
|
1926
|
+
{ type: ConfigurationsService },
|
|
1927
|
+
{ type: UtilityService }
|
|
1928
|
+
];
|
|
2023
1929
|
|
|
2024
1930
|
class LogoutModule {
|
|
2025
1931
|
}
|
|
2026
|
-
LogoutModule
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
args: [{
|
|
2038
|
-
declarations: [LogoutComponent],
|
|
2039
|
-
imports: [
|
|
2040
|
-
CommonModule,
|
|
2041
|
-
MatButtonModule,
|
|
2042
|
-
MatDialogModule,
|
|
2043
|
-
],
|
|
2044
|
-
entryComponents: [LogoutComponent],
|
|
2045
|
-
}]
|
|
2046
|
-
}] });
|
|
1932
|
+
LogoutModule.decorators = [
|
|
1933
|
+
{ type: NgModule, args: [{
|
|
1934
|
+
declarations: [LogoutComponent],
|
|
1935
|
+
imports: [
|
|
1936
|
+
CommonModule,
|
|
1937
|
+
MatButtonModule,
|
|
1938
|
+
MatDialogModule,
|
|
1939
|
+
],
|
|
1940
|
+
entryComponents: [LogoutComponent],
|
|
1941
|
+
},] }
|
|
1942
|
+
];
|
|
2047
1943
|
|
|
2048
1944
|
class PipeConciseDateRangePipe {
|
|
2049
1945
|
transform(dateRange) {
|
|
@@ -2091,28 +1987,21 @@ class PipeConciseDateRangePipe {
|
|
|
2091
1987
|
}
|
|
2092
1988
|
}
|
|
2093
1989
|
}
|
|
2094
|
-
PipeConciseDateRangePipe
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
name: 'pipeConciseDateRange',
|
|
2100
|
-
}]
|
|
2101
|
-
}] });
|
|
1990
|
+
PipeConciseDateRangePipe.decorators = [
|
|
1991
|
+
{ type: Pipe, args: [{
|
|
1992
|
+
name: 'pipeConciseDateRange',
|
|
1993
|
+
},] }
|
|
1994
|
+
];
|
|
2102
1995
|
|
|
2103
1996
|
class PipeConciseDateRangeModule {
|
|
2104
1997
|
}
|
|
2105
|
-
PipeConciseDateRangeModule
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
imports: [CommonModule],
|
|
2113
|
-
exports: [PipeConciseDateRangePipe],
|
|
2114
|
-
}]
|
|
2115
|
-
}] });
|
|
1998
|
+
PipeConciseDateRangeModule.decorators = [
|
|
1999
|
+
{ type: NgModule, args: [{
|
|
2000
|
+
declarations: [PipeConciseDateRangePipe],
|
|
2001
|
+
imports: [CommonModule],
|
|
2002
|
+
exports: [PipeConciseDateRangePipe],
|
|
2003
|
+
},] }
|
|
2004
|
+
];
|
|
2116
2005
|
|
|
2117
2006
|
class PipeCountTransformPipe {
|
|
2118
2007
|
transform(value) {
|
|
@@ -2140,32 +2029,23 @@ class PipeCountTransformPipe {
|
|
|
2140
2029
|
return '0';
|
|
2141
2030
|
}
|
|
2142
2031
|
}
|
|
2143
|
-
PipeCountTransformPipe
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
name: 'pipeCountTransform',
|
|
2149
|
-
}]
|
|
2150
|
-
}] });
|
|
2032
|
+
PipeCountTransformPipe.decorators = [
|
|
2033
|
+
{ type: Pipe, args: [{
|
|
2034
|
+
name: 'pipeCountTransform',
|
|
2035
|
+
},] }
|
|
2036
|
+
];
|
|
2151
2037
|
|
|
2152
2038
|
class PipeCountTransformModule {
|
|
2153
2039
|
}
|
|
2154
|
-
PipeCountTransformModule
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
imports: [
|
|
2164
|
-
CommonModule,
|
|
2165
|
-
],
|
|
2166
|
-
exports: [PipeCountTransformPipe],
|
|
2167
|
-
}]
|
|
2168
|
-
}] });
|
|
2040
|
+
PipeCountTransformModule.decorators = [
|
|
2041
|
+
{ type: NgModule, args: [{
|
|
2042
|
+
declarations: [PipeCountTransformPipe],
|
|
2043
|
+
imports: [
|
|
2044
|
+
CommonModule,
|
|
2045
|
+
],
|
|
2046
|
+
exports: [PipeCountTransformPipe],
|
|
2047
|
+
},] }
|
|
2048
|
+
];
|
|
2169
2049
|
|
|
2170
2050
|
class PipeDateConcatPipe {
|
|
2171
2051
|
constructor() {
|
|
@@ -2192,32 +2072,24 @@ class PipeDateConcatPipe {
|
|
|
2192
2072
|
return dateStr;
|
|
2193
2073
|
}
|
|
2194
2074
|
}
|
|
2195
|
-
PipeDateConcatPipe
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
}]
|
|
2202
|
-
}], ctorParameters: function () { return []; } });
|
|
2075
|
+
PipeDateConcatPipe.decorators = [
|
|
2076
|
+
{ type: Pipe, args: [{
|
|
2077
|
+
name: 'pipeDateConcat',
|
|
2078
|
+
},] }
|
|
2079
|
+
];
|
|
2080
|
+
PipeDateConcatPipe.ctorParameters = () => [];
|
|
2203
2081
|
|
|
2204
2082
|
class PipeDateConcatModule {
|
|
2205
2083
|
}
|
|
2206
|
-
PipeDateConcatModule
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
imports: [
|
|
2216
|
-
CommonModule,
|
|
2217
|
-
],
|
|
2218
|
-
exports: [PipeDateConcatPipe],
|
|
2219
|
-
}]
|
|
2220
|
-
}] });
|
|
2084
|
+
PipeDateConcatModule.decorators = [
|
|
2085
|
+
{ type: NgModule, args: [{
|
|
2086
|
+
declarations: [PipeDateConcatPipe],
|
|
2087
|
+
imports: [
|
|
2088
|
+
CommonModule,
|
|
2089
|
+
],
|
|
2090
|
+
exports: [PipeDateConcatPipe],
|
|
2091
|
+
},] }
|
|
2092
|
+
];
|
|
2221
2093
|
|
|
2222
2094
|
class PipeDurationTransformPipe {
|
|
2223
2095
|
transform(data, type) {
|
|
@@ -2272,64 +2144,46 @@ class PipeDurationTransformPipe {
|
|
|
2272
2144
|
return duration;
|
|
2273
2145
|
}
|
|
2274
2146
|
}
|
|
2275
|
-
PipeDurationTransformPipe
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
name: 'pipeDurationTransform',
|
|
2281
|
-
}]
|
|
2282
|
-
}] });
|
|
2147
|
+
PipeDurationTransformPipe.decorators = [
|
|
2148
|
+
{ type: Pipe, args: [{
|
|
2149
|
+
name: 'pipeDurationTransform',
|
|
2150
|
+
},] }
|
|
2151
|
+
];
|
|
2283
2152
|
|
|
2284
2153
|
class PipeDurationTransformModule {
|
|
2285
2154
|
}
|
|
2286
|
-
PipeDurationTransformModule
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
imports: [
|
|
2296
|
-
CommonModule,
|
|
2297
|
-
],
|
|
2298
|
-
exports: [PipeDurationTransformPipe],
|
|
2299
|
-
}]
|
|
2300
|
-
}] });
|
|
2155
|
+
PipeDurationTransformModule.decorators = [
|
|
2156
|
+
{ type: NgModule, args: [{
|
|
2157
|
+
declarations: [PipeDurationTransformPipe],
|
|
2158
|
+
imports: [
|
|
2159
|
+
CommonModule,
|
|
2160
|
+
],
|
|
2161
|
+
exports: [PipeDurationTransformPipe],
|
|
2162
|
+
},] }
|
|
2163
|
+
];
|
|
2301
2164
|
|
|
2302
2165
|
class PipeHtmlTagRemovalPipe {
|
|
2303
2166
|
transform(htmlString) {
|
|
2304
2167
|
return htmlString ? String(htmlString).replace(/<[^>]+>/gm, '') : '';
|
|
2305
2168
|
}
|
|
2306
2169
|
}
|
|
2307
|
-
PipeHtmlTagRemovalPipe
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
name: 'pipeHtmlTagRemoval',
|
|
2313
|
-
}]
|
|
2314
|
-
}] });
|
|
2170
|
+
PipeHtmlTagRemovalPipe.decorators = [
|
|
2171
|
+
{ type: Pipe, args: [{
|
|
2172
|
+
name: 'pipeHtmlTagRemoval',
|
|
2173
|
+
},] }
|
|
2174
|
+
];
|
|
2315
2175
|
|
|
2316
2176
|
class PipeHtmlTagRemovalModule {
|
|
2317
2177
|
}
|
|
2318
|
-
PipeHtmlTagRemovalModule
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
imports: [
|
|
2328
|
-
CommonModule,
|
|
2329
|
-
],
|
|
2330
|
-
exports: [PipeHtmlTagRemovalPipe],
|
|
2331
|
-
}]
|
|
2332
|
-
}] });
|
|
2178
|
+
PipeHtmlTagRemovalModule.decorators = [
|
|
2179
|
+
{ type: NgModule, args: [{
|
|
2180
|
+
declarations: [PipeHtmlTagRemovalPipe],
|
|
2181
|
+
imports: [
|
|
2182
|
+
CommonModule,
|
|
2183
|
+
],
|
|
2184
|
+
exports: [PipeHtmlTagRemovalPipe],
|
|
2185
|
+
},] }
|
|
2186
|
+
];
|
|
2333
2187
|
|
|
2334
2188
|
class PipeFilterPipe {
|
|
2335
2189
|
transform(value, keys, term) {
|
|
@@ -2340,32 +2194,23 @@ class PipeFilterPipe {
|
|
|
2340
2194
|
.some(key => item.hasOwnProperty(key) && new RegExp(`^${term}$`, 'gi').test(item[key])));
|
|
2341
2195
|
}
|
|
2342
2196
|
}
|
|
2343
|
-
PipeFilterPipe
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
name: 'pipeFilter',
|
|
2349
|
-
}]
|
|
2350
|
-
}] });
|
|
2197
|
+
PipeFilterPipe.decorators = [
|
|
2198
|
+
{ type: Pipe, args: [{
|
|
2199
|
+
name: 'pipeFilter',
|
|
2200
|
+
},] }
|
|
2201
|
+
];
|
|
2351
2202
|
|
|
2352
2203
|
class PipeFilterModule {
|
|
2353
2204
|
}
|
|
2354
|
-
PipeFilterModule
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
imports: [
|
|
2364
|
-
CommonModule,
|
|
2365
|
-
],
|
|
2366
|
-
exports: [PipeFilterPipe],
|
|
2367
|
-
}]
|
|
2368
|
-
}] });
|
|
2205
|
+
PipeFilterModule.decorators = [
|
|
2206
|
+
{ type: NgModule, args: [{
|
|
2207
|
+
declarations: [PipeFilterPipe],
|
|
2208
|
+
imports: [
|
|
2209
|
+
CommonModule,
|
|
2210
|
+
],
|
|
2211
|
+
exports: [PipeFilterPipe],
|
|
2212
|
+
},] }
|
|
2213
|
+
];
|
|
2369
2214
|
|
|
2370
2215
|
class PipeFilterSearchPipe {
|
|
2371
2216
|
transform(items, searchText, ...keys) {
|
|
@@ -2390,32 +2235,23 @@ class PipeFilterSearchPipe {
|
|
|
2390
2235
|
});
|
|
2391
2236
|
}
|
|
2392
2237
|
}
|
|
2393
|
-
PipeFilterSearchPipe
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
name: 'pipeFilterSearch',
|
|
2399
|
-
}]
|
|
2400
|
-
}] });
|
|
2238
|
+
PipeFilterSearchPipe.decorators = [
|
|
2239
|
+
{ type: Pipe, args: [{
|
|
2240
|
+
name: 'pipeFilterSearch',
|
|
2241
|
+
},] }
|
|
2242
|
+
];
|
|
2401
2243
|
|
|
2402
2244
|
class PipeFilterSearchModule {
|
|
2403
2245
|
}
|
|
2404
|
-
PipeFilterSearchModule
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
imports: [
|
|
2414
|
-
CommonModule,
|
|
2415
|
-
],
|
|
2416
|
-
exports: [PipeFilterSearchPipe],
|
|
2417
|
-
}]
|
|
2418
|
-
}] });
|
|
2246
|
+
PipeFilterSearchModule.decorators = [
|
|
2247
|
+
{ type: NgModule, args: [{
|
|
2248
|
+
declarations: [PipeFilterSearchPipe],
|
|
2249
|
+
imports: [
|
|
2250
|
+
CommonModule,
|
|
2251
|
+
],
|
|
2252
|
+
exports: [PipeFilterSearchPipe],
|
|
2253
|
+
},] }
|
|
2254
|
+
];
|
|
2419
2255
|
|
|
2420
2256
|
class PipeListFilterPipe {
|
|
2421
2257
|
transform(value, keys, term) {
|
|
@@ -2427,32 +2263,23 @@ class PipeListFilterPipe {
|
|
|
2427
2263
|
&& item[key] && (`${item[key]} `).toLocaleLowerCase().includes(term.toLocaleLowerCase())));
|
|
2428
2264
|
}
|
|
2429
2265
|
}
|
|
2430
|
-
PipeListFilterPipe
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
name: 'pipeListFilter',
|
|
2436
|
-
}]
|
|
2437
|
-
}] });
|
|
2266
|
+
PipeListFilterPipe.decorators = [
|
|
2267
|
+
{ type: Pipe, args: [{
|
|
2268
|
+
name: 'pipeListFilter',
|
|
2269
|
+
},] }
|
|
2270
|
+
];
|
|
2438
2271
|
|
|
2439
2272
|
class PipeListFilterModule {
|
|
2440
2273
|
}
|
|
2441
|
-
PipeListFilterModule
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
imports: [
|
|
2451
|
-
CommonModule,
|
|
2452
|
-
],
|
|
2453
|
-
exports: [PipeListFilterPipe],
|
|
2454
|
-
}]
|
|
2455
|
-
}] });
|
|
2274
|
+
PipeListFilterModule.decorators = [
|
|
2275
|
+
{ type: NgModule, args: [{
|
|
2276
|
+
declarations: [PipeListFilterPipe],
|
|
2277
|
+
imports: [
|
|
2278
|
+
CommonModule,
|
|
2279
|
+
],
|
|
2280
|
+
exports: [PipeListFilterPipe],
|
|
2281
|
+
},] }
|
|
2282
|
+
];
|
|
2456
2283
|
|
|
2457
2284
|
const moment$1 = _moment;
|
|
2458
2285
|
class PipeRelativeTimePipe {
|
|
@@ -2463,64 +2290,46 @@ class PipeRelativeTimePipe {
|
|
|
2463
2290
|
return moment$1().startOf('hour').fromNow();
|
|
2464
2291
|
}
|
|
2465
2292
|
}
|
|
2466
|
-
PipeRelativeTimePipe
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
name: 'pipeRelativeTime',
|
|
2472
|
-
}]
|
|
2473
|
-
}] });
|
|
2293
|
+
PipeRelativeTimePipe.decorators = [
|
|
2294
|
+
{ type: Pipe, args: [{
|
|
2295
|
+
name: 'pipeRelativeTime',
|
|
2296
|
+
},] }
|
|
2297
|
+
];
|
|
2474
2298
|
|
|
2475
2299
|
class PipeRelativeTimeModule {
|
|
2476
2300
|
}
|
|
2477
|
-
PipeRelativeTimeModule
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
imports: [
|
|
2487
|
-
CommonModule,
|
|
2488
|
-
],
|
|
2489
|
-
exports: [PipeRelativeTimePipe],
|
|
2490
|
-
}]
|
|
2491
|
-
}] });
|
|
2301
|
+
PipeRelativeTimeModule.decorators = [
|
|
2302
|
+
{ type: NgModule, args: [{
|
|
2303
|
+
declarations: [PipeRelativeTimePipe],
|
|
2304
|
+
imports: [
|
|
2305
|
+
CommonModule,
|
|
2306
|
+
],
|
|
2307
|
+
exports: [PipeRelativeTimePipe],
|
|
2308
|
+
},] }
|
|
2309
|
+
];
|
|
2492
2310
|
|
|
2493
2311
|
class OrderByPipe {
|
|
2494
2312
|
constructor() {
|
|
2495
2313
|
this.transform = orderBy;
|
|
2496
2314
|
}
|
|
2497
2315
|
}
|
|
2498
|
-
OrderByPipe
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
name: 'orderBy',
|
|
2504
|
-
}]
|
|
2505
|
-
}] });
|
|
2316
|
+
OrderByPipe.decorators = [
|
|
2317
|
+
{ type: Pipe, args: [{
|
|
2318
|
+
name: 'orderBy',
|
|
2319
|
+
},] }
|
|
2320
|
+
];
|
|
2506
2321
|
|
|
2507
2322
|
class PipeOrderByModule {
|
|
2508
2323
|
}
|
|
2509
|
-
PipeOrderByModule
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
imports: [
|
|
2519
|
-
CommonModule,
|
|
2520
|
-
],
|
|
2521
|
-
exports: [OrderByPipe],
|
|
2522
|
-
}]
|
|
2523
|
-
}] });
|
|
2324
|
+
PipeOrderByModule.decorators = [
|
|
2325
|
+
{ type: NgModule, args: [{
|
|
2326
|
+
declarations: [OrderByPipe],
|
|
2327
|
+
imports: [
|
|
2328
|
+
CommonModule,
|
|
2329
|
+
],
|
|
2330
|
+
exports: [OrderByPipe],
|
|
2331
|
+
},] }
|
|
2332
|
+
];
|
|
2524
2333
|
|
|
2525
2334
|
class PipeLimitToPipe {
|
|
2526
2335
|
transform(data, limit = 5) {
|
|
@@ -2540,32 +2349,23 @@ class PipeLimitToPipe {
|
|
|
2540
2349
|
return null;
|
|
2541
2350
|
}
|
|
2542
2351
|
}
|
|
2543
|
-
PipeLimitToPipe
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
name: 'pipeLimitTo',
|
|
2549
|
-
}]
|
|
2550
|
-
}] });
|
|
2352
|
+
PipeLimitToPipe.decorators = [
|
|
2353
|
+
{ type: Pipe, args: [{
|
|
2354
|
+
name: 'pipeLimitTo',
|
|
2355
|
+
},] }
|
|
2356
|
+
];
|
|
2551
2357
|
|
|
2552
2358
|
class PipeLimitToModule {
|
|
2553
2359
|
}
|
|
2554
|
-
PipeLimitToModule
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
imports: [
|
|
2564
|
-
CommonModule,
|
|
2565
|
-
],
|
|
2566
|
-
exports: [PipeLimitToPipe],
|
|
2567
|
-
}]
|
|
2568
|
-
}] });
|
|
2360
|
+
PipeLimitToModule.decorators = [
|
|
2361
|
+
{ type: NgModule, args: [{
|
|
2362
|
+
declarations: [PipeLimitToPipe],
|
|
2363
|
+
imports: [
|
|
2364
|
+
CommonModule,
|
|
2365
|
+
],
|
|
2366
|
+
exports: [PipeLimitToPipe],
|
|
2367
|
+
},] }
|
|
2368
|
+
];
|
|
2569
2369
|
|
|
2570
2370
|
class PipeNameTransformPipe {
|
|
2571
2371
|
transform(value) {
|
|
@@ -2585,32 +2385,23 @@ class PipeNameTransformPipe {
|
|
|
2585
2385
|
return 'Anonymous User';
|
|
2586
2386
|
}
|
|
2587
2387
|
}
|
|
2588
|
-
PipeNameTransformPipe
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
name: 'pipeNameTransform',
|
|
2594
|
-
}]
|
|
2595
|
-
}] });
|
|
2388
|
+
PipeNameTransformPipe.decorators = [
|
|
2389
|
+
{ type: Pipe, args: [{
|
|
2390
|
+
name: 'pipeNameTransform',
|
|
2391
|
+
},] }
|
|
2392
|
+
];
|
|
2596
2393
|
|
|
2597
2394
|
class PipeNameTransformModule {
|
|
2598
2395
|
}
|
|
2599
|
-
PipeNameTransformModule
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
imports: [
|
|
2609
|
-
CommonModule,
|
|
2610
|
-
],
|
|
2611
|
-
exports: [PipeNameTransformPipe],
|
|
2612
|
-
}]
|
|
2613
|
-
}] });
|
|
2396
|
+
PipeNameTransformModule.decorators = [
|
|
2397
|
+
{ type: NgModule, args: [{
|
|
2398
|
+
declarations: [PipeNameTransformPipe],
|
|
2399
|
+
imports: [
|
|
2400
|
+
CommonModule,
|
|
2401
|
+
],
|
|
2402
|
+
exports: [PipeNameTransformPipe],
|
|
2403
|
+
},] }
|
|
2404
|
+
];
|
|
2614
2405
|
|
|
2615
2406
|
class PipePartialContentPipe {
|
|
2616
2407
|
transform(value, keys) {
|
|
@@ -2623,32 +2414,23 @@ class PipePartialContentPipe {
|
|
|
2623
2414
|
return result;
|
|
2624
2415
|
}
|
|
2625
2416
|
}
|
|
2626
|
-
PipePartialContentPipe
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
name: 'pipePartialContent',
|
|
2632
|
-
}]
|
|
2633
|
-
}] });
|
|
2417
|
+
PipePartialContentPipe.decorators = [
|
|
2418
|
+
{ type: Pipe, args: [{
|
|
2419
|
+
name: 'pipePartialContent',
|
|
2420
|
+
},] }
|
|
2421
|
+
];
|
|
2634
2422
|
|
|
2635
2423
|
class PipePartialContentModule {
|
|
2636
2424
|
}
|
|
2637
|
-
PipePartialContentModule
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
imports: [
|
|
2647
|
-
CommonModule,
|
|
2648
|
-
],
|
|
2649
|
-
exports: [PipePartialContentPipe],
|
|
2650
|
-
}]
|
|
2651
|
-
}] });
|
|
2425
|
+
PipePartialContentModule.decorators = [
|
|
2426
|
+
{ type: NgModule, args: [{
|
|
2427
|
+
declarations: [PipePartialContentPipe],
|
|
2428
|
+
imports: [
|
|
2429
|
+
CommonModule,
|
|
2430
|
+
],
|
|
2431
|
+
exports: [PipePartialContentPipe],
|
|
2432
|
+
},] }
|
|
2433
|
+
];
|
|
2652
2434
|
|
|
2653
2435
|
class PipeSafeSanitizerPipe {
|
|
2654
2436
|
constructor(sanitizer) {
|
|
@@ -2671,32 +2453,26 @@ class PipeSafeSanitizerPipe {
|
|
|
2671
2453
|
}
|
|
2672
2454
|
}
|
|
2673
2455
|
}
|
|
2674
|
-
PipeSafeSanitizerPipe
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2456
|
+
PipeSafeSanitizerPipe.decorators = [
|
|
2457
|
+
{ type: Pipe, args: [{
|
|
2458
|
+
name: 'pipeSafeSanitizer',
|
|
2459
|
+
},] }
|
|
2460
|
+
];
|
|
2461
|
+
PipeSafeSanitizerPipe.ctorParameters = () => [
|
|
2462
|
+
{ type: DomSanitizer }
|
|
2463
|
+
];
|
|
2682
2464
|
|
|
2683
2465
|
class PipeSafeSanitizerModule {
|
|
2684
2466
|
}
|
|
2685
|
-
PipeSafeSanitizerModule
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
imports: [
|
|
2695
|
-
CommonModule,
|
|
2696
|
-
],
|
|
2697
|
-
exports: [PipeSafeSanitizerPipe],
|
|
2698
|
-
}]
|
|
2699
|
-
}] });
|
|
2467
|
+
PipeSafeSanitizerModule.decorators = [
|
|
2468
|
+
{ type: NgModule, args: [{
|
|
2469
|
+
declarations: [PipeSafeSanitizerPipe],
|
|
2470
|
+
imports: [
|
|
2471
|
+
CommonModule,
|
|
2472
|
+
],
|
|
2473
|
+
exports: [PipeSafeSanitizerPipe],
|
|
2474
|
+
},] }
|
|
2475
|
+
];
|
|
2700
2476
|
|
|
2701
2477
|
class ExploreDetailResolve {
|
|
2702
2478
|
constructor(http, configSvc, utilitySvc) {
|
|
@@ -2758,14 +2534,17 @@ class ExploreDetailResolve {
|
|
|
2758
2534
|
return pageData;
|
|
2759
2535
|
}
|
|
2760
2536
|
}
|
|
2761
|
-
ExploreDetailResolve.ɵ
|
|
2762
|
-
ExploreDetailResolve
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2537
|
+
ExploreDetailResolve.ɵprov = i0.ɵɵdefineInjectable({ factory: function ExploreDetailResolve_Factory() { return new ExploreDetailResolve(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(ConfigurationsService), i0.ɵɵinject(UtilityService)); }, token: ExploreDetailResolve, providedIn: "root" });
|
|
2538
|
+
ExploreDetailResolve.decorators = [
|
|
2539
|
+
{ type: Injectable, args: [{
|
|
2540
|
+
providedIn: 'root',
|
|
2541
|
+
},] }
|
|
2542
|
+
];
|
|
2543
|
+
ExploreDetailResolve.ctorParameters = () => [
|
|
2544
|
+
{ type: HttpClient },
|
|
2545
|
+
{ type: ConfigurationsService },
|
|
2546
|
+
{ type: UtilityService }
|
|
2547
|
+
];
|
|
2769
2548
|
|
|
2770
2549
|
class MarketingOfferingResolve {
|
|
2771
2550
|
constructor(http) {
|
|
@@ -2788,14 +2567,15 @@ class MarketingOfferingResolve {
|
|
|
2788
2567
|
return pageData;
|
|
2789
2568
|
}
|
|
2790
2569
|
}
|
|
2791
|
-
MarketingOfferingResolve.ɵ
|
|
2792
|
-
MarketingOfferingResolve
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2570
|
+
MarketingOfferingResolve.ɵprov = i0.ɵɵdefineInjectable({ factory: function MarketingOfferingResolve_Factory() { return new MarketingOfferingResolve(i0.ɵɵinject(i1$1.HttpClient)); }, token: MarketingOfferingResolve, providedIn: "root" });
|
|
2571
|
+
MarketingOfferingResolve.decorators = [
|
|
2572
|
+
{ type: Injectable, args: [{
|
|
2573
|
+
providedIn: 'root',
|
|
2574
|
+
},] }
|
|
2575
|
+
];
|
|
2576
|
+
MarketingOfferingResolve.ctorParameters = () => [
|
|
2577
|
+
{ type: HttpClient }
|
|
2578
|
+
];
|
|
2799
2579
|
|
|
2800
2580
|
const JSON_MAP = {
|
|
2801
2581
|
pagename: 'lexid',
|
|
@@ -2864,17 +2644,17 @@ class PageResolve {
|
|
|
2864
2644
|
}));
|
|
2865
2645
|
}
|
|
2866
2646
|
}
|
|
2867
|
-
PageResolve.ɵ
|
|
2868
|
-
PageResolve
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2647
|
+
PageResolve.ɵprov = i0.ɵɵdefineInjectable({ factory: function PageResolve_Factory() { return new PageResolve(i0.ɵɵinject(ConfigurationsService), i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(i0.LOCALE_ID)); }, token: PageResolve, providedIn: "root" });
|
|
2648
|
+
PageResolve.decorators = [
|
|
2649
|
+
{ type: Injectable, args: [{
|
|
2650
|
+
providedIn: 'root',
|
|
2651
|
+
},] }
|
|
2652
|
+
];
|
|
2653
|
+
PageResolve.ctorParameters = () => [
|
|
2654
|
+
{ type: ConfigurationsService },
|
|
2655
|
+
{ type: HttpClient },
|
|
2656
|
+
{ type: String, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
2657
|
+
];
|
|
2878
2658
|
|
|
2879
2659
|
var WsEvents;
|
|
2880
2660
|
(function (WsEvents) {
|
|
@@ -3177,19 +2957,19 @@ class EventService {
|
|
|
3177
2957
|
}
|
|
3178
2958
|
}
|
|
3179
2959
|
}
|
|
3180
|
-
EventService.ɵ
|
|
3181
|
-
EventService
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
}] }]; } });
|
|
2960
|
+
EventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EventService_Factory() { return new EventService(i0.ɵɵinject(UtilityService), i0.ɵɵinject("environment")); }, token: EventService, providedIn: "root" });
|
|
2961
|
+
EventService.decorators = [
|
|
2962
|
+
{ type: Injectable, args: [{
|
|
2963
|
+
providedIn: 'root',
|
|
2964
|
+
},] }
|
|
2965
|
+
];
|
|
2966
|
+
EventService.ctorParameters = () => [
|
|
2967
|
+
{ type: UtilityService },
|
|
2968
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] }
|
|
2969
|
+
];
|
|
3191
2970
|
|
|
3192
2971
|
const PROTECTED_SLAG_V8 = '/apis/protected/v8';
|
|
2972
|
+
const ɵ0 = (type, id) => `${PROTECTED_SLAG_V8}/content/collection/${type}/${id}`, ɵ1 = (contentId) => `${PROTECTED_SLAG_V8}/user/progress/${contentId}`;
|
|
3193
2973
|
const API_END_POINTS = {
|
|
3194
2974
|
CONTENT: `${PROTECTED_SLAG_V8}/content`,
|
|
3195
2975
|
AUTHORING_CONTENT: `/apis/authApi/hierarchy`,
|
|
@@ -3206,9 +2986,9 @@ const API_END_POINTS = {
|
|
|
3206
2986
|
USER_CONTINUE_LEARNING: `${PROTECTED_SLAG_V8}/user/history/continue`,
|
|
3207
2987
|
CONTENT_RATING: `${PROTECTED_SLAG_V8}/user/rating`,
|
|
3208
2988
|
CONTENT_RATING_V2: `${PROTECTED_SLAG_V8}/user/rating/content/average-ratingInfo`,
|
|
3209
|
-
COLLECTION_HIERARCHY:
|
|
2989
|
+
COLLECTION_HIERARCHY: ɵ0,
|
|
3210
2990
|
REGISTRATION_STATUS: `${PROTECTED_SLAG_V8}/admin/userRegistration/checkUserRegistrationContent`,
|
|
3211
|
-
MARK_AS_COMPLETE_META:
|
|
2991
|
+
MARK_AS_COMPLETE_META: ɵ1,
|
|
3212
2992
|
};
|
|
3213
2993
|
class WidgetContentService {
|
|
3214
2994
|
constructor(http, configSvc) {
|
|
@@ -3355,14 +3135,16 @@ class WidgetContentService {
|
|
|
3355
3135
|
return this.http.get(url);
|
|
3356
3136
|
}
|
|
3357
3137
|
}
|
|
3358
|
-
WidgetContentService.ɵ
|
|
3359
|
-
WidgetContentService
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3138
|
+
WidgetContentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function WidgetContentService_Factory() { return new WidgetContentService(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(ConfigurationsService)); }, token: WidgetContentService, providedIn: "root" });
|
|
3139
|
+
WidgetContentService.decorators = [
|
|
3140
|
+
{ type: Injectable, args: [{
|
|
3141
|
+
providedIn: 'root',
|
|
3142
|
+
},] }
|
|
3143
|
+
];
|
|
3144
|
+
WidgetContentService.ctorParameters = () => [
|
|
3145
|
+
{ type: HttpClient },
|
|
3146
|
+
{ type: ConfigurationsService }
|
|
3147
|
+
];
|
|
3366
3148
|
|
|
3367
3149
|
class TelemetryService {
|
|
3368
3150
|
constructor(environment, configSvc, eventsSvc, logger) {
|
|
@@ -3779,17 +3561,18 @@ class TelemetryService {
|
|
|
3779
3561
|
return null;
|
|
3780
3562
|
}
|
|
3781
3563
|
}
|
|
3782
|
-
TelemetryService.ɵ
|
|
3783
|
-
TelemetryService
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3564
|
+
TelemetryService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TelemetryService_Factory() { return new TelemetryService(i0.ɵɵinject("environment"), i0.ɵɵinject(ConfigurationsService), i0.ɵɵinject(EventService), i0.ɵɵinject(LoggerService)); }, token: TelemetryService, providedIn: "root" });
|
|
3565
|
+
TelemetryService.decorators = [
|
|
3566
|
+
{ type: Injectable, args: [{
|
|
3567
|
+
providedIn: 'root',
|
|
3568
|
+
},] }
|
|
3569
|
+
];
|
|
3570
|
+
TelemetryService.ctorParameters = () => [
|
|
3571
|
+
{ type: undefined, decorators: [{ type: Inject, args: ['environment',] }] },
|
|
3572
|
+
{ type: ConfigurationsService },
|
|
3573
|
+
{ type: EventService },
|
|
3574
|
+
{ type: LoggerService }
|
|
3575
|
+
];
|
|
3793
3576
|
|
|
3794
3577
|
class SubapplicationRespondService {
|
|
3795
3578
|
constructor(configSvc, contentSvc, keyCloakSvc, activatedRoute, router, eventSvc, teleSvc) {
|
|
@@ -3972,14 +3755,21 @@ class SubapplicationRespondService {
|
|
|
3972
3755
|
}
|
|
3973
3756
|
}
|
|
3974
3757
|
}
|
|
3975
|
-
SubapplicationRespondService.ɵ
|
|
3976
|
-
SubapplicationRespondService
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3758
|
+
SubapplicationRespondService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SubapplicationRespondService_Factory() { return new SubapplicationRespondService(i0.ɵɵinject(ConfigurationsService), i0.ɵɵinject(WidgetContentService), i0.ɵɵinject(AuthKeycloakService), i0.ɵɵinject(i3.ActivatedRoute), i0.ɵɵinject(i3.Router), i0.ɵɵinject(EventService), i0.ɵɵinject(TelemetryService)); }, token: SubapplicationRespondService, providedIn: "root" });
|
|
3759
|
+
SubapplicationRespondService.decorators = [
|
|
3760
|
+
{ type: Injectable, args: [{
|
|
3761
|
+
providedIn: 'root',
|
|
3762
|
+
},] }
|
|
3763
|
+
];
|
|
3764
|
+
SubapplicationRespondService.ctorParameters = () => [
|
|
3765
|
+
{ type: ConfigurationsService },
|
|
3766
|
+
{ type: WidgetContentService },
|
|
3767
|
+
{ type: AuthKeycloakService },
|
|
3768
|
+
{ type: ActivatedRoute },
|
|
3769
|
+
{ type: Router },
|
|
3770
|
+
{ type: EventService },
|
|
3771
|
+
{ type: TelemetryService }
|
|
3772
|
+
];
|
|
3983
3773
|
|
|
3984
3774
|
const endpoints = {
|
|
3985
3775
|
userPref: '/apis/protected/v8/user/preference',
|
|
@@ -4047,14 +3837,16 @@ class UserPreferenceService {
|
|
|
4047
3837
|
});
|
|
4048
3838
|
}
|
|
4049
3839
|
}
|
|
4050
|
-
UserPreferenceService.ɵ
|
|
4051
|
-
UserPreferenceService
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
3840
|
+
UserPreferenceService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserPreferenceService_Factory() { return new UserPreferenceService(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(ConfigurationsService)); }, token: UserPreferenceService, providedIn: "root" });
|
|
3841
|
+
UserPreferenceService.decorators = [
|
|
3842
|
+
{ type: Injectable, args: [{
|
|
3843
|
+
providedIn: 'root',
|
|
3844
|
+
},] }
|
|
3845
|
+
];
|
|
3846
|
+
UserPreferenceService.ctorParameters = () => [
|
|
3847
|
+
{ type: HttpClient },
|
|
3848
|
+
{ type: ConfigurationsService }
|
|
3849
|
+
];
|
|
4058
3850
|
|
|
4059
3851
|
var NsContent;
|
|
4060
3852
|
(function (NsContent) {
|
|
@@ -4163,5 +3955,5 @@ var NsContent;
|
|
|
4163
3955
|
})(ETagType = NsContent.ETagType || (NsContent.ETagType = {}));
|
|
4164
3956
|
})(NsContent || (NsContent = {}));
|
|
4165
3957
|
|
|
4166
|
-
export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollDirective, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailDirective, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerComponent, HorizontalScrollerModule, ImageCropComponent, ImageCropModule, ImageResponsiveDirective, ImageResponsiveModule, InViewPortDirective, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, NavigationDirective, NavigationModule, NsContent, OrderByPipe, PageResolve, PermissionDirective, PermissionModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeOrderByModule, PipePartialContentModule, PipePartialContentPipe, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams };
|
|
3958
|
+
export { AuthKeycloakService, AuthMicrosoftService, ClassChangeOnScrollDirective, ClassChangeOnScrollModule, ConfigurationsService, DefaultThumbnailDirective, DefaultThumbnailModule, EFeatures, EInstance, EventService, ExploreDetailResolve, HorizontalScrollerComponent, HorizontalScrollerModule, ImageCropComponent, ImageCropModule, ImageResponsiveDirective, ImageResponsiveModule, InViewPortDirective, InViewPortModule, LoggerService, LogoutComponent, LogoutModule, MarketingOfferingResolve, NavigationDirective, NavigationModule, NsContent, OrderByPipe, PageResolve, PermissionDirective, PermissionModule, PipeConciseDateRangeModule, PipeConciseDateRangePipe, PipeCountTransformModule, PipeCountTransformPipe, PipeDateConcatModule, PipeDateConcatPipe, PipeDurationTransformModule, PipeDurationTransformPipe, PipeFilterModule, PipeFilterPipe, PipeFilterSearchModule, PipeFilterSearchPipe, PipeHtmlTagRemovalModule, PipeHtmlTagRemovalPipe, PipeLimitToModule, PipeLimitToPipe, PipeListFilterModule, PipeListFilterPipe, PipeNameTransformModule, PipeNameTransformPipe, PipeOrderByModule, PipePartialContentModule, PipePartialContentPipe, PipeRelativeTimeModule, PipeRelativeTimePipe, PipeSafeSanitizerModule, PipeSafeSanitizerPipe, SubapplicationRespondService, TelemetryService, UserPreferenceService, UtilityService, ValueService, WidgetContentService, WsEvents, getStringifiedQueryParams, ɵ0, ɵ1 };
|
|
4167
3959
|
//# sourceMappingURL=sunbird-cb-utils.js.map
|