├── src ├── app │ ├── component │ │ ├── invalid-user │ │ │ ├── invalid-user.component.scss │ │ │ ├── invalid-user.component.html │ │ │ ├── invalid-user.component.spec.ts │ │ │ └── invalid-user.component.ts │ │ ├── login-root │ │ │ ├── login-root.component.scss │ │ │ ├── login-root.component.html │ │ │ ├── login-root.directive.spec.ts │ │ │ ├── login-root.directive.ts │ │ │ ├── login-root.service.ts │ │ │ ├── login-root.service.spec.ts │ │ │ └── login-root.component.spec.ts │ │ ├── dialog-confirm │ │ │ ├── dialog-confirm.component.scss │ │ │ ├── dialog-confirm.component.html │ │ │ ├── dialog-confirm.component.ts │ │ │ └── dialog-confirm.component.spec.ts │ │ ├── app-footer │ │ │ ├── app-footer.component.scss │ │ │ ├── app-footer.component.html │ │ │ ├── app-footer.component.spec.ts │ │ │ └── app-footer.component.ts │ │ ├── root │ │ │ ├── root.service.ts │ │ │ ├── root.service.spec.ts │ │ │ └── root.component.spec.ts │ │ ├── app-public-nav-bar │ │ │ ├── app-public-nav-bar.component.scss │ │ │ ├── app-public-nav-bar.component.spec.ts │ │ │ └── app-public-nav-bar.component.html │ │ ├── tnc-renderer │ │ │ ├── tnc-renderer.component.scss │ │ │ └── tnc-renderer.component.spec.ts │ │ ├── login │ │ │ └── login.component.spec.ts │ │ └── app-nav-bar │ │ │ └── app-nav-bar.component.spec.ts │ ├── routes │ │ ├── tnc │ │ │ ├── tnc.component.scss │ │ │ └── tnc.component.spec.ts │ │ ├── signup │ │ │ ├── signup.component.scss │ │ │ ├── signup.service.spec.ts │ │ │ ├── signup-routing.module.ts │ │ │ ├── signup.service.ts │ │ │ ├── signup.component.spec.ts │ │ │ └── signup.module.ts │ │ ├── route-app-setup.module.ts │ │ ├── route-info-app.module.ts │ │ ├── route-app-event.module.ts │ │ ├── route-frac.module.ts │ │ ├── route-home.module.ts │ │ ├── route-notification-app.module.ts │ │ ├── route-my-dashboard.module.ts │ │ ├── route-search-app.module.ts │ │ ├── route-roles-access-module.ts │ │ ├── signup-auto │ │ │ ├── signup-auto.service.spec.ts │ │ │ ├── signup-auto-routing.module.ts │ │ │ ├── signup-auto.component.scss │ │ │ ├── signup-auto.module.ts │ │ │ ├── signup-auto.component.spec.ts │ │ │ ├── signup-auto.component.html │ │ │ └── signup-auto.service.ts │ │ ├── public │ │ │ ├── mobile-app │ │ │ │ ├── components │ │ │ │ │ ├── mobile-app-home.component.scss │ │ │ │ │ └── mobile-app-home.component.spec.ts │ │ │ │ └── mobile-app.module.ts │ │ │ ├── public-faq │ │ │ │ ├── public-faq.component.scss │ │ │ │ ├── public-faq.component.spec.ts │ │ │ │ └── public-faq.module.ts │ │ │ ├── public-about │ │ │ │ └── public-about.component.spec.ts │ │ │ └── public-contact │ │ │ │ ├── public-contact.component.spec.ts │ │ │ │ ├── public-contact.component.scss │ │ │ │ └── public-contact.module.ts │ │ └── features │ │ │ └── features.component.spec.ts │ ├── constants │ │ └── topBar.constants.ts │ ├── services │ │ ├── init.service.spec.ts │ │ ├── mobile-apps.service.spec.ts │ │ ├── app-interceptor.service.spec.ts │ │ ├── tnc-app-resolver.service.spec.ts │ │ ├── tnc-public-resolver.service.spec.ts │ │ ├── navigation-external.service.spec.ts │ │ ├── global-error-handling.service.spec.ts │ │ ├── global-error-handling.service.ts │ │ └── navigation-external.service.ts │ ├── guards │ │ ├── login.guard.spec.ts │ │ ├── general.guard.spec.ts │ │ ├── empty-route.guard.spec.ts │ │ ├── external-url-resolver.service.spec.ts │ │ └── external-url-resolver.service.ts │ └── models │ │ ├── tnc.model.ts │ │ └── mobile-events.model.ts ├── favicon.png ├── tailwind-build.scss ├── spv-assets │ ├── icons │ │ ├── goi.png │ │ ├── emblem-light.png │ │ ├── 431861-spider-workers-siemens-corpora_original@2x.png │ │ ├── pin.svg │ │ └── hubs.svg │ └── fonts │ │ ├── lato │ │ ├── Lato-Black.woff │ │ ├── Lato-Bold.woff │ │ ├── Lato-Bold.woff2 │ │ ├── Lato-Light.woff │ │ ├── Lato-Black.woff2 │ │ ├── Lato-Hairline.woff │ │ ├── Lato-Italic.woff │ │ ├── Lato-Italic.woff2 │ │ ├── Lato-Light.woff2 │ │ ├── Lato-Regular.woff │ │ ├── Lato-Regular.woff2 │ │ ├── Lato-BoldItalic.woff │ │ ├── Lato-Hairline.woff2 │ │ ├── Lato-BlackItalic.woff │ │ ├── Lato-BlackItalic.woff2 │ │ ├── Lato-BoldItalic.woff2 │ │ ├── Lato-LightItalic.woff │ │ ├── Lato-LightItalic.woff2 │ │ ├── Lato-HairlineItalic.woff │ │ └── Lato-HairlineItalic.woff2 │ │ ├── poppins │ │ ├── Poppins-Bold.woff │ │ ├── Poppins-Thin.woff │ │ ├── Poppins-Black.woff │ │ ├── Poppins-Black.woff2 │ │ ├── Poppins-Bold.woff2 │ │ ├── Poppins-Italic.woff │ │ ├── Poppins-Italic.woff2 │ │ ├── Poppins-Light.woff │ │ ├── Poppins-Light.woff2 │ │ ├── Poppins-Medium.woff │ │ ├── Poppins-Medium.woff2 │ │ ├── Poppins-Regular.woff │ │ ├── Poppins-Thin.woff2 │ │ ├── Poppins-ExtraBold.woff │ │ ├── Poppins-Regular.woff2 │ │ ├── Poppins-SemiBold.woff │ │ ├── Poppins-SemiBold.woff2 │ │ ├── Poppins-BlackItalic.woff │ │ ├── Poppins-BlackItalic.woff2 │ │ ├── Poppins-BoldItalic.woff │ │ ├── Poppins-BoldItalic.woff2 │ │ ├── Poppins-ExtraBold.woff2 │ │ ├── Poppins-ExtraLight.woff │ │ ├── Poppins-ExtraLight.woff2 │ │ ├── Poppins-LightItalic.woff │ │ ├── Poppins-LightItalic.woff2 │ │ ├── Poppins-MediumItalic.woff │ │ ├── Poppins-ThinItalic.woff │ │ ├── Poppins-ThinItalic.woff2 │ │ ├── Poppins-MediumItalic.woff2 │ │ ├── Poppins-SemiBoldItalic.woff │ │ ├── Poppins-ExtraBoldItalic.woff │ │ ├── Poppins-ExtraBoldItalic.woff2 │ │ ├── Poppins-ExtraLightItalic.woff │ │ ├── Poppins-ExtraLightItalic.woff2 │ │ └── Poppins-SemiBoldItalic.woff2 │ │ └── montserrat │ │ ├── Montserrat-Black.woff │ │ ├── Montserrat-Black.woff2 │ │ ├── Montserrat-Bold.woff │ │ ├── Montserrat-Bold.woff2 │ │ ├── Montserrat-Italic.woff │ │ ├── Montserrat-Light.woff │ │ ├── Montserrat-Light.woff2 │ │ ├── Montserrat-Medium.woff │ │ ├── Montserrat-Thin.woff │ │ ├── Montserrat-Thin.woff2 │ │ ├── Montserrat-Italic.woff2 │ │ ├── Montserrat-Medium.woff2 │ │ ├── Montserrat-Regular.woff │ │ ├── Montserrat-Regular.woff2 │ │ ├── Montserrat-SemiBold.woff │ │ ├── Montserrat-BlackItalic.woff │ │ ├── Montserrat-BoldItalic.woff │ │ ├── Montserrat-BoldItalic.woff2 │ │ ├── Montserrat-ExtraBold.woff │ │ ├── Montserrat-ExtraBold.woff2 │ │ ├── Montserrat-ExtraLight.woff │ │ ├── Montserrat-ExtraLight.woff2 │ │ ├── Montserrat-LightItalic.woff │ │ ├── Montserrat-SemiBold.woff2 │ │ ├── Montserrat-ThinItalic.woff │ │ ├── Montserrat-ThinItalic.woff2 │ │ ├── Montserrat-BlackItalic.woff2 │ │ ├── Montserrat-LightItalic.woff2 │ │ ├── Montserrat-MediumItalic.woff │ │ ├── Montserrat-MediumItalic.woff2 │ │ ├── Montserrat-ExtraBoldItalic.woff │ │ ├── Montserrat-ExtraBoldItalic.woff2 │ │ ├── Montserrat-ExtraLightItalic.woff │ │ ├── Montserrat-SemiBoldItalic.woff │ │ ├── Montserrat-SemiBoldItalic.woff2 │ │ └── Montserrat-ExtraLightItalic.woff2 ├── styles │ ├── libraries.scss │ └── _ws-common.scss ├── environments │ ├── environment.dev.ts │ ├── environment.preprod.ts │ └── environment.prod.ts └── test.ts ├── project └── ws │ └── app │ ├── src │ ├── lib │ │ ├── head │ │ │ ├── app-button │ │ │ │ ├── app-button.component.scss │ │ │ │ ├── app-button.module.ts │ │ │ │ └── app-button.component.ts │ │ │ ├── btn-channel-analytics │ │ │ │ ├── btn-channel-analytics.component.scss │ │ │ │ ├── btn-channel-analytics.component.html │ │ │ │ ├── btn-channel-analytics.module.ts │ │ │ │ └── btn-channel-analytics.component.spec.ts │ │ │ ├── btn-content-feedback-v2 │ │ │ │ ├── components │ │ │ │ │ ├── feedback-snackbar │ │ │ │ │ │ ├── feedback-snackbar.component.scss │ │ │ │ │ │ ├── feedback-snackbar.component.ts │ │ │ │ │ │ └── feedback-snackbar.component.spec.ts │ │ │ │ │ ├── btn-content-feedback-v2 │ │ │ │ │ │ ├── btn-content-feedback-v2.component.scss │ │ │ │ │ │ ├── btn-content-feedback-v2.component.html │ │ │ │ │ │ └── btn-content-feedback-v2.component.spec.ts │ │ │ │ │ └── btn-content-feedback-dialog-v2 │ │ │ │ │ │ └── btn-content-feedback-dialog-v2.component.scss │ │ │ │ ├── models │ │ │ │ │ └── btn-content-feedback-v2.model.ts │ │ │ │ └── services │ │ │ │ │ └── feedback.service.spec.ts │ │ │ ├── _services │ │ │ │ ├── widget-user.model.ts │ │ │ │ ├── search-api.service.spec.ts │ │ │ │ ├── search-serv.service.spec.ts │ │ │ │ ├── widget-user.service.spec.ts │ │ │ │ ├── widget-content.service.spec.ts │ │ │ │ └── widget-content-share.service.spec.ts │ │ │ └── ui-admin-table │ │ │ │ ├── user-list │ │ │ │ └── list-pipe.pipe.ts │ │ │ │ ├── user-list-popup │ │ │ │ ├── list-pipe.pipe.ts │ │ │ │ └── ui-user-table-pop-up.services.ts │ │ │ │ ├── directory-list │ │ │ │ └── directory-table.pipe.ts │ │ │ │ ├── interface │ │ │ │ └── interfaces.ts │ │ │ │ └── user-popup │ │ │ │ └── user-popup.html │ │ └── routes │ │ │ ├── info │ │ │ ├── quick-tour │ │ │ │ ├── quick-tour.component.scss │ │ │ │ ├── quick-tour.component.html │ │ │ │ ├── quick-tour.module.ts │ │ │ │ └── quick-tour.component.spec.ts │ │ │ ├── faq │ │ │ │ ├── faq.model.ts │ │ │ │ └── components │ │ │ │ │ ├── faq-home.component.spec.ts │ │ │ │ │ └── faq-home.component.scss │ │ │ ├── contact │ │ │ │ ├── components │ │ │ │ │ ├── contact-home.component.scss │ │ │ │ │ ├── contact-home.component.ts │ │ │ │ │ └── contact-home.component.spec.ts │ │ │ │ └── contact.module.ts │ │ │ ├── info.module.ts │ │ │ ├── about-video │ │ │ │ ├── about-video.component.scss │ │ │ │ ├── about-video.component.spec.ts │ │ │ │ └── about-video.module.ts │ │ │ └── about │ │ │ │ └── components │ │ │ │ └── about-home.component.spec.ts │ │ │ ├── frac │ │ │ ├── components │ │ │ │ └── frac │ │ │ │ │ ├── frac.component.scss │ │ │ │ │ ├── frac.component.html │ │ │ │ │ └── frac.component.spec.ts │ │ │ ├── interfaces │ │ │ │ └── frac.model.ts │ │ │ ├── services │ │ │ │ ├── frac.service.spec.ts │ │ │ │ └── frac.service.ts │ │ │ ├── frac-routing.module.ts │ │ │ └── frac.module.ts │ │ │ ├── access │ │ │ ├── routes │ │ │ │ └── roles-access │ │ │ │ │ ├── roles-access.component.scss │ │ │ │ │ └── roles-access.component.html │ │ │ ├── access.model.ts │ │ │ ├── services │ │ │ │ └── users.service.ts │ │ │ └── access.module.ts │ │ │ ├── app-event │ │ │ ├── components │ │ │ │ ├── app-event │ │ │ │ │ ├── app-event.component.scss │ │ │ │ │ ├── app-event.component.html │ │ │ │ │ └── app-event.component.spec.ts │ │ │ │ ├── app-gallery │ │ │ │ │ └── app-gallery.component.spec.ts │ │ │ │ ├── event-overview │ │ │ │ │ ├── event-overview.component.scss │ │ │ │ │ ├── event-overview.component.html │ │ │ │ │ └── event-overview.component.spec.ts │ │ │ │ ├── event-sessions │ │ │ │ │ ├── event-sessions.component.scss │ │ │ │ │ └── event-sessions.component.spec.ts │ │ │ │ ├── iframe-loader │ │ │ │ │ ├── iframe-loader.component.scss │ │ │ │ │ ├── iframe-loader.component.html │ │ │ │ │ └── iframe-loader.component.spec.ts │ │ │ │ ├── meetup │ │ │ │ │ ├── meetup.component.scss │ │ │ │ │ ├── meetup.component.spec.ts │ │ │ │ │ └── meetup.component.html │ │ │ │ ├── profile-detail │ │ │ │ │ ├── view-users │ │ │ │ │ │ ├── view-users.component.scss │ │ │ │ │ │ └── view-users.component.spec.ts │ │ │ │ │ └── profile-detail.component.spec.ts │ │ │ │ ├── card-details │ │ │ │ │ ├── card-details.module.ts │ │ │ │ │ └── card-details.component.spec.ts │ │ │ │ └── event-banner │ │ │ │ │ └── event-banner.component.spec.ts │ │ │ ├── interfaces │ │ │ │ ├── user-details.model.ts │ │ │ │ └── event-details.model.ts │ │ │ └── services │ │ │ │ ├── event.service.spec.ts │ │ │ │ ├── event-resolver.service.spec.ts │ │ │ │ ├── event.service.ts │ │ │ │ └── event-resolver.service.ts │ │ │ ├── search │ │ │ ├── components │ │ │ │ ├── blogs-card │ │ │ │ │ ├── blogs-card.component.scss │ │ │ │ │ ├── blogs-card.component.ts │ │ │ │ │ ├── blogs-card.component.spec.ts │ │ │ │ │ └── blogs-card.component.html │ │ │ │ ├── filter-display │ │ │ │ │ ├── filter-display.component.scss │ │ │ │ │ └── filter-display.component.spec.ts │ │ │ │ ├── qanda-card │ │ │ │ │ ├── qanda-card.component.ts │ │ │ │ │ └── qanda-card.component.spec.ts │ │ │ │ ├── item-tile │ │ │ │ │ ├── item-tile.component.spec.ts │ │ │ │ │ └── item-tile.component.ts │ │ │ │ ├── search-input │ │ │ │ │ └── search-input.component.spec.ts │ │ │ │ ├── learning-card │ │ │ │ │ └── learning-card.component.spec.ts │ │ │ │ └── search-input-home │ │ │ │ │ └── search-input-home.component.spec.ts │ │ │ ├── routes │ │ │ │ ├── people │ │ │ │ │ ├── people.component.scss │ │ │ │ │ ├── people.component.html │ │ │ │ │ ├── people.component.ts │ │ │ │ │ └── people.component.spec.ts │ │ │ │ ├── search-root │ │ │ │ │ ├── search-root.component.scss │ │ │ │ │ └── search-root.component.spec.ts │ │ │ │ ├── home │ │ │ │ │ └── home.component.spec.ts │ │ │ │ ├── social │ │ │ │ │ └── social.component.spec.ts │ │ │ │ ├── learning │ │ │ │ │ └── learning.component.spec.ts │ │ │ │ └── knowledge │ │ │ │ │ └── knowledge.component.spec.ts │ │ │ ├── apis │ │ │ │ └── search-api.service.spec.ts │ │ │ └── services │ │ │ │ └── search-serv.service.spec.ts │ │ │ ├── home │ │ │ ├── routes │ │ │ │ ├── users │ │ │ │ │ ├── create-userV2 │ │ │ │ │ │ ├── create-userV2.component.scss │ │ │ │ │ │ └── create-userV2.component.spec.ts │ │ │ │ │ ├── components │ │ │ │ │ │ ├── edit-department-dialog │ │ │ │ │ │ │ ├── edit-department-dialog.component.scss │ │ │ │ │ │ │ └── edit-department-dialog.component.spec.ts │ │ │ │ │ │ └── open-roles-dialog │ │ │ │ │ │ │ ├── open-roles-dialog.component.scss │ │ │ │ │ │ │ ├── system-roles-management.model.ts │ │ │ │ │ │ │ └── open-roles-dialog.component.spec.ts │ │ │ │ │ ├── create-user │ │ │ │ │ │ ├── create-user.service.spec.ts │ │ │ │ │ │ ├── create-user.service.ts │ │ │ │ │ │ └── create-user.component.spec.ts │ │ │ │ │ ├── users.model.ts │ │ │ │ │ └── users.component.spec.ts │ │ │ │ ├── create-mdo │ │ │ │ │ ├── create-mdo.model.ts │ │ │ │ │ └── upload.ts │ │ │ │ ├── roles-access │ │ │ │ │ ├── roles-access.component.scss │ │ │ │ │ └── roles-access.component.html │ │ │ │ ├── about │ │ │ │ │ ├── about.component.html │ │ │ │ │ └── about.component.ts │ │ │ │ ├── user-popup │ │ │ │ │ └── user-popup.html │ │ │ │ └── home │ │ │ │ │ └── home.component.html │ │ │ ├── services │ │ │ │ ├── userRegistration.model.ts │ │ │ │ ├── system-roles-management.model.ts │ │ │ │ ├── loader.service.ts │ │ │ │ ├── roles-access.service.ts │ │ │ │ ├── roles.service.ts │ │ │ │ └── user-view.services.ts │ │ │ ├── interface │ │ │ │ ├── conditions-v2.ts │ │ │ │ ├── auth-stepper.ts │ │ │ │ ├── collection-editor.ts │ │ │ │ ├── create-entity.ts │ │ │ │ ├── collection-child-config.ts │ │ │ │ └── authored.ts │ │ │ └── resolvers │ │ │ │ └── config-resolver.service.ts │ │ │ ├── notification-v2 │ │ │ ├── components │ │ │ │ ├── notification-event │ │ │ │ │ ├── notification-event.component.scss │ │ │ │ │ ├── notification-event.component.ts │ │ │ │ │ └── notification-event.component.spec.ts │ │ │ │ └── home │ │ │ │ │ ├── home.component.scss │ │ │ │ │ └── home.component.spec.ts │ │ │ ├── services │ │ │ │ ├── notification.service.spec.ts │ │ │ │ └── notification-api.service.spec.ts │ │ │ └── notification-v2-routing.module.ts │ │ │ ├── app-setup │ │ │ ├── globals.ts │ │ │ ├── components │ │ │ │ ├── lang-select │ │ │ │ │ ├── lang-select.component.scss │ │ │ │ │ ├── lang-select.component.html │ │ │ │ │ └── lang-select.component.spec.ts │ │ │ │ ├── setup-done │ │ │ │ │ ├── setup-done.component.scss │ │ │ │ │ └── setup-done.component.spec.ts │ │ │ │ ├── tnc │ │ │ │ │ ├── tnc.component.scss │ │ │ │ │ └── tnc.component.spec.ts │ │ │ │ ├── home │ │ │ │ │ ├── home.component.spec.ts │ │ │ │ │ └── home.component.html │ │ │ │ └── tnc-renderer │ │ │ │ │ └── tnc-renderer.component.spec.ts │ │ │ ├── app-setup-home.component.scss │ │ │ ├── module │ │ │ │ └── interest │ │ │ │ │ └── interest │ │ │ │ │ └── interest.component.spec.ts │ │ │ └── app-setup-home.component.spec.ts │ │ │ ├── create-mdo │ │ │ ├── create-mdo.model.ts │ │ │ └── routes │ │ │ │ ├── users │ │ │ │ ├── users.component.scss │ │ │ │ └── users.component.html │ │ │ │ └── home │ │ │ │ └── home.component.html │ │ │ └── my-dashboard │ │ │ ├── components │ │ │ └── my-dashboard-home │ │ │ │ ├── my-dashboard-home.component.scss │ │ │ │ ├── my-dashboard-home.component.html │ │ │ │ ├── my-dashboard-home.component.ts │ │ │ │ └── my-dashboard-home.component.spec.ts │ │ │ ├── my-dashboard-routing.module.ts │ │ │ └── my-dashboard.module.ts │ ├── test.ts │ └── public-api.ts │ ├── ng-package.json │ ├── tsconfig.spec.json │ ├── tslint.json │ ├── package.json │ └── tsconfig.lib.json ├── .huskyrc.json ├── Dockerfile.build ├── docker-build.sh ├── Dockerfile.main ├── sonar-project.properties ├── e2e ├── tsconfig.json └── src │ ├── app.po.ts │ └── app.e2e-spec.ts ├── .editorconfig ├── tsconfig.app.json ├── tsconfig.spec.json ├── Dockerfile.dev ├── Dockerfile.preprod ├── browserslist ├── dist └── package.json ├── Dockerfile ├── .vscode └── launch.json ├── README.md ├── ngsw-config-append-dummy.json └── libgen.sh /src/app/component/invalid-user/invalid-user.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/component/dialog-confirm/dialog-confirm.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/app-button/app-button.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/quick-tour/quick-tour.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/components/frac/frac.component.scss: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-channel-analytics/btn-channel-analytics.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/access/routes/roles-access/roles-access.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/app-event/app-event.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/blogs-card/blogs-card.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/app-gallery/app-gallery.component.spec.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/create-userV2/create-userV2.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/favicon.png -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/feedback-snackbar/feedback-snackbar.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/tailwind-build.scss: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | 3 | 4 | @tailwind utilities; 5 | 6 | 7 | @tailwind components; -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/components/edit-department-dialog/edit-department-dialog.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/spv-assets/icons/goi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/icons/goi.png -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/btn-content-feedback-v2/btn-content-feedback-v2.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/btn-content-feedback-dialog-v2/btn-content-feedback-dialog-v2.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/quick-tour/quick-tour.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/routes/tnc/tnc.component.scss: -------------------------------------------------------------------------------- 1 | .tnc-bottom-navbar { 2 | margin: 24px 0; 3 | text-align: center; 4 | position: relative; 5 | } 6 | -------------------------------------------------------------------------------- /src/spv-assets/icons/emblem-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/icons/emblem-light.png -------------------------------------------------------------------------------- /src/app/component/invalid-user/invalid-user.component.html: -------------------------------------------------------------------------------- 1 |

2 | -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Black.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Bold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Bold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Light.woff -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/people/people.component.scss: -------------------------------------------------------------------------------- 1 | ws-widget-user-autocomplete { 2 | width: 500px; 3 | max-width: 500px; 4 | } -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Black.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Hairline.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Hairline.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Italic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Italic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Light.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Regular.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Regular.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-BoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-Hairline.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-Hairline.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Bold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Thin.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-BlackItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-BlackItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-BlackItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-BlackItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-BoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-LightItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-LightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-LightItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Black.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Black.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Bold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Italic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Italic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Light.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Light.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Medium.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Medium.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Regular.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Thin.woff2 -------------------------------------------------------------------------------- /.huskyrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "hooks": { 3 | "pre-push": "npm run build:local", 4 | "pre-commit": "npm run lint:fix", 5 | "post-commit": "git status" 6 | } 7 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/components/notification-event/notification-event.component.scss: -------------------------------------------------------------------------------- 1 | mat-icon { 2 | vertical-align: text-bottom; 3 | } 4 | -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-HairlineItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-HairlineItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/lato/Lato-HairlineItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/lato/Lato-HairlineItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraBold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-Regular.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-SemiBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-SemiBold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-SemiBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-SemiBold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Black.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Black.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Bold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Bold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Italic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Light.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Light.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Medium.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Thin.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Thin.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-BlackItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-BlackItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-BlackItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-BlackItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-BoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-BoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraBold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraLight.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraLight.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraLight.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-LightItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-LightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-LightItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-MediumItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ThinItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ThinItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ThinItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ThinItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Italic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Medium.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Regular.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-Regular.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-SemiBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-SemiBold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-MediumItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-MediumItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-SemiBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-SemiBoldItalic.woff -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/widget-user.model.ts: -------------------------------------------------------------------------------- 1 | export interface IUserGroupDetails { 2 | group_id: number 3 | friendly_name: string 4 | description: string 5 | } 6 | -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-BlackItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-BlackItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-BoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-BoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraBold.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraBold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraLight.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraLight.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraLight.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-LightItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-SemiBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-SemiBold.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ThinItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ThinItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ThinItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ThinItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraBoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraBoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraLightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraLightItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-ExtraLightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-ExtraLightItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/poppins/Poppins-SemiBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/poppins/Poppins-SemiBoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-BlackItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-BlackItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-LightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-LightItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-MediumItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-MediumItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-MediumItalic.woff2 -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/globals.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | 3 | @Injectable() 4 | export class Globals { 5 | firstTimeSetupDone = false 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraBoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraBoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraLightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraLightItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-SemiBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-SemiBoldItalic.woff -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-SemiBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-SemiBoldItalic.woff2 -------------------------------------------------------------------------------- /src/spv-assets/fonts/montserrat/Montserrat-ExtraLightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/fonts/montserrat/Montserrat-ExtraLightItalic.woff2 -------------------------------------------------------------------------------- /Dockerfile.build: -------------------------------------------------------------------------------- 1 | FROM node:12 2 | 3 | WORKDIR /usr/src/app 4 | 5 | COPY . . 6 | RUN apt update && apt install -y zip 7 | RUN npm install && npm run build 8 | 9 | RUN zip -r dist.zip dist 10 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-overview/event-overview.component.scss: -------------------------------------------------------------------------------- 1 | .w-90{ 2 | width: 90%; 3 | margin: 30px auto; 4 | } 5 | .homeFooter p{ 6 | line-height: initial; 7 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-sessions/event-sessions.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-mixins'; 3 | 4 | .w-90{ 5 | width: 90%; 6 | margin: 3rem auto; 7 | } 8 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/access/access.model.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface IAccessLeftMenu { 3 | name: string 4 | key: string 5 | render: boolean 6 | enabled: boolean 7 | routerLink: string 8 | } 9 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/interfaces/user-details.model.ts: -------------------------------------------------------------------------------- 1 | export interface IUserDetails { 2 | UserName: string 3 | Location: string 4 | ImageUrl: string 5 | RegisteredDate: string 6 | } 7 | -------------------------------------------------------------------------------- /src/app/constants/topBar.constants.ts: -------------------------------------------------------------------------------- 1 | export enum ETopBar { 2 | NONE = 'NONE', 3 | APP = 'APP', 4 | AUTHOR = 'AUTHOR', 5 | ADMIN = 'ADMIN', 6 | ANALYTICS = 'ANALYTICS', 7 | PUBLIC = 'PUBLIC', 8 | } 9 | -------------------------------------------------------------------------------- /src/spv-assets/icons/431861-spider-workers-siemens-corpora_original@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphere/sunbird-cb-adminportal/main/src/spv-assets/icons/431861-spider-workers-siemens-corpora_original@2x.png -------------------------------------------------------------------------------- /project/ws/app/ng-package.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", 3 | "dest": "../../../dist/ws/app", 4 | "lib": { 5 | "entryFile": "src/public-api.ts" 6 | } 7 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/create-mdo/create-mdo.model.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface IAccessLeftMenu { 3 | name: string 4 | key: string 5 | render: boolean 6 | enabled: boolean 7 | routerLink: string 8 | } 9 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/people/people.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/models/btn-content-feedback-v2.model.ts: -------------------------------------------------------------------------------- 1 | export interface IWidgetBtnContentFeedbackV2 { 2 | identifier: string 3 | name: string 4 | isDisabled?: boolean 5 | } 6 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/interfaces/frac.model.ts: -------------------------------------------------------------------------------- 1 | export interface IFrac { 2 | iframeId: string 3 | title: string 4 | containerStyle: string 5 | containerClass: string 6 | iframeSrc: string 7 | } 8 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/create-mdo/create-mdo.model.ts: -------------------------------------------------------------------------------- 1 | export interface IAccessLeftMenu { 2 | name: string 3 | key: string 4 | render: boolean 5 | enabled: boolean 6 | routerLink: string 7 | } 8 | -------------------------------------------------------------------------------- /docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker build -t eagle-docker.tarento.com/ui-static:gold . 4 | 5 | echo "docker build is completed !!!! Starting docker push" 6 | 7 | docker push eagle-docker.tarento.com/ui-static:gold . 8 | 9 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/userRegistration.model.ts: -------------------------------------------------------------------------------- 1 | export interface IResponseAllSources { 2 | licenseExpiredOn: number, 3 | progressProvided: boolean, 4 | registrationUrl: string, 5 | source: string 6 | } 7 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/create-mdo/routes/users/users.component.scss: -------------------------------------------------------------------------------- 1 | .flex-display{ 2 | flex:auto; 3 | flex-direction: column; 4 | margin-top: 20px; 5 | } 6 | .min-wid{ 7 | margin-top: 30px; 8 | min-width: 300px; 9 | } 10 | -------------------------------------------------------------------------------- /Dockerfile.main: -------------------------------------------------------------------------------- 1 | FROM node:12 2 | 3 | WORKDIR /usr/src/app 4 | RUN mkdir -p /usr/src/app/user_upload 5 | 6 | COPY package*.json ./ 7 | RUN npm install --only=production 8 | COPY dist/ . 9 | 10 | EXPOSE 3004 11 | 12 | CMD [ "node", "index.js" ] 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/access/routes/roles-access/roles-access.component.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/conditions-v2.ts: -------------------------------------------------------------------------------- 1 | import { NSContent } from './content' 2 | 3 | export interface IConditionsV2 { 4 | fit?: { [key in keyof NSContent.IContentMeta]: any[] }[] 5 | notFit?: { [key in keyof NSContent.IContentMeta]: any[] }[] 6 | } 7 | -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- 1 | sonar.projectKey=spv 2 | sonar.projectName=spv 3 | sonar.projectVersion=1.0.0 4 | sonar.projectDescription=Static analysis for the mdo-fusion 5 | sonar.sources=src 6 | sonar.exclusions=**/node_modules/**,**/*.spec.ts,**/dist/**,**/docs/**,**/coverage/** 7 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-mixins'; 3 | .signup-container { 4 | box-sizing: border-box; 5 | padding: $size-m; 6 | @extend %page-center; 7 | @extend %height-mat-toolbar-sibling; 8 | box-sizing: border-box; 9 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/faq/faq.model.ts: -------------------------------------------------------------------------------- 1 | export interface IContent { 2 | heading: string 3 | value: string 4 | } 5 | 6 | export interface IFAQ { 7 | groupName: string 8 | groupShortName: string 9 | groupKey?: string 10 | contents: IContent[] 11 | } 12 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/roles-access/roles-access.component.scss: -------------------------------------------------------------------------------- 1 | .mat-card-title{ 2 | // margin-left: -31px !important; 3 | } 4 | 5 | ::ng-deep#rolescs { 6 | .mat-card-header-text { 7 | display: none !important; 8 | margin: 0 !important; 9 | } 10 | } -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/filter-display/filter-display.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | ul, 3 | li { 4 | list-style-type: none; 5 | padding-inline-start: 0px; 6 | padding-left:0px; 7 | } 8 | .nested-filters { 9 | padding-left: 2 * $size-xl; 10 | } 11 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/components/home/home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | 3 | .container-balanced { 4 | @extend %page-center; 5 | } 6 | 7 | .text-right{ 8 | float: right !important; 9 | } 10 | 11 | // mat-icon { 12 | // font-size: 40px; 13 | // } 14 | -------------------------------------------------------------------------------- /src/spv-assets/icons/pin.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/components/open-roles-dialog/open-roles-dialog.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-mixins'; 3 | 4 | .changeWidth { 5 | @include breakpoint-lt-m { 6 | width:100%; 7 | } 8 | } 9 | 10 | .roleList{ 11 | max-height: 26rem; 12 | } 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/iframe-loader/iframe-loader.component.scss: -------------------------------------------------------------------------------- 1 | .buttonz{ 2 | position: fixed; 3 | display: flex; 4 | bottom: 12%; 5 | right: 6%; 6 | z-index: 50; 7 | opacity: 0.2; 8 | } 9 | 10 | .buttonz:hover ,.buttonz:active { 11 | opacity: 0.9; 12 | } 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/interfaces/event-details.model.ts: -------------------------------------------------------------------------------- 1 | export interface IEventDetails { 2 | plannedName: string, 3 | plannedDetails: string, 4 | plannedImage: string, 5 | } 6 | 7 | export enum EiframeUrl { 8 | QUIZ = 'quiz', 9 | WEBEX = 'webex', 10 | VR = 'vr', 11 | } 12 | -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor' 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get(browser.baseUrl) as Promise 6 | } 7 | 8 | getTitleText() { 9 | return element(by.css('ws-root h1')).getText() as Promise 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.directive.spec.ts: -------------------------------------------------------------------------------- 1 | import { LoginRootDirective } from './login-root.directive' 2 | 3 | describe('LoginRootDirective', () => { 4 | it('should create an instance', () => { 5 | const directive = new LoginRootDirective() 6 | expect(directive).toBeTruthy() 7 | }) 8 | }) 9 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | insert_final_newline = true 7 | trim_trailing_whitespace = true 8 | quote_type = single 9 | semicolon = remove 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /src/app/component/app-footer/app-footer.component.scss: -------------------------------------------------------------------------------- 1 | 2 | @import 'ws-mixins'; 3 | 4 | .footer-container { 5 | display: flex; 6 | justify-content: space-between; 7 | @include breakpoint-xs { 8 | flex-direction: column; 9 | } 10 | } 11 | 12 | .font-12 { 13 | font-size: 12px !important; 14 | } 15 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.directive.ts: -------------------------------------------------------------------------------- 1 | import { Directive, ViewContainerRef } from '@angular/core' 2 | 3 | @Directive({ 4 | selector: '[wsLoginRoot]', 5 | }) 6 | export class LoginRootDirective { 7 | 8 | constructor( 9 | public viewContainerRef: ViewContainerRef, 10 | ) { } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/app/component/root/root.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { BehaviorSubject } from 'rxjs' 3 | 4 | @Injectable({ 5 | providedIn: 'root', 6 | }) 7 | export class RootService { 8 | 9 | showNavbarDisplay$ = new BehaviorSubject(true) 10 | constructor() { } 11 | } 12 | -------------------------------------------------------------------------------- /src/app/routes/route-app-setup.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { AppSetupModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [CommonModule, AppSetupModule], 8 | }) 9 | export class RouteAppSetupModule {} 10 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-channel-analytics/btn-channel-analytics.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/routes/route-info-app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { InfoModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [CommonModule, InfoModule], 8 | exports: [InfoModule], 9 | }) 10 | export class RouteInfoAppModule {} 11 | -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": ["node", "@types/zip.js"] 6 | }, 7 | "angularCompilerOptions": { 8 | "enableIvy": false 9 | }, 10 | "include": ["src/**/*.ts"], 11 | "exclude": ["src/test.ts", "src/**/*.spec.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-overview/event-overview.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |

{{ eventFooter?.EventFooterText }}

5 |
6 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/create-mdo/routes/home/home.component.html: -------------------------------------------------------------------------------- 1 |
2 | 4 | 5 |
6 | 7 | -------------------------------------------------------------------------------- /src/app/routes/route-app-event.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { AppEventModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [ 8 | CommonModule, 9 | AppEventModule, 10 | ], 11 | }) 12 | export class AppEventsModule { } 13 | -------------------------------------------------------------------------------- /src/styles/libraries.scss: -------------------------------------------------------------------------------- 1 | @import '~tailwindcss/dist/utilities.min.css'; 2 | @import '~quill/dist/quill.bubble.css'; 3 | @import '~quill/dist/quill.core.css'; 4 | @import '~quill/dist/quill.snow.css'; 5 | // @import '~video.js/dist/video-js.min.css'; 6 | // @import '~vis-network/dist/vis-network.min.css'; 7 | @import '~tailwindcss/dist/components.min.css'; 8 | -------------------------------------------------------------------------------- /project/ws/app/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts" 12 | ], 13 | "include": [ 14 | "**/*.spec.ts", 15 | "**/*.d.ts" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/environments/environment.dev.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | sitePath: (window as { [key: string]: any })['env']['sitePath'] || '', 4 | karmYogiPath: (window as { [key: string]: any })['env']['karmYogiPath'] || '', 5 | portalRoles: (((window as { [key: string]: any })['env']['portalRoles'] || '').split(',')) || [], 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/environments/environment.preprod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | sitePath: (window as { [key: string]: any })['env']['sitePath'] || '', 4 | karmYogiPath: (window as { [key: string]: any })['env']['karmYogiPath'] || '', 5 | portalRoles: (((window as { [key: string]: any })['env']['portalRoles'] || '').split(',')) || [], 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | sitePath: (window as { [key: string]: any })['env']['sitePath'] || '', 4 | karmYogiPath: (window as { [key: string]: any })['env']['karmYogiPath'] || '', 5 | portalRoles: (((window as { [key: string]: any })['env']['portalRoles'] || '').split(',')) || [], 6 | 7 | } 8 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/create-mdo/upload.ts: -------------------------------------------------------------------------------- 1 | export const IMAGE_SUPPORT_TYPES = ['.png', '.jpg', '.jpeg', '.jtif', '.tiff'] 2 | export const IMAGE_MAX_SIZE = (1 * 1024 * 1024) 3 | export const VIDEO_MAX_SIZE = (200 * 1024 * 1024) 4 | export const FILE_MAX_SIZE = (1000 * 1024 * 1024) 5 | 6 | export const FIXED_FILE_NAME = [ 7 | 'channel.json', 8 | ] 9 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable, Type } from '@angular/core' 2 | import { LoginComponent } from '../login/login.component' 3 | 4 | @Injectable({ 5 | providedIn: 'root', 6 | }) 7 | export class LoginRootService { 8 | constructor() { } 9 | 10 | getComponent(): Type { 11 | return LoginComponent 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/auth-stepper.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Interface created for Stepper component in Create and editor page 3 | * 4 | * @param { string } title - Display name for stepper 5 | * @param { boolean } disabled - Is it disabled or enabled 6 | * 7 | */ 8 | export interface IAuthSteps { 9 | title: string 10 | disabled: boolean 11 | } 12 | -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/app/routes/route-frac.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { FracModule } from '../../../project/ws/app/src/lib/routes/frac/frac.module' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [ 8 | CommonModule, 9 | FracModule, 10 | ], 11 | }) 12 | export class RouteFracModule { } 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/contact/components/contact-home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-common'; 3 | .page-title { 4 | margin-bottom: $size-xl; 5 | } 6 | .contact-container { 7 | padding: $size-m; 8 | @extend %page-center; 9 | } 10 | .contact-card { 11 | margin-bottom: $size-m; 12 | } 13 | .contact-card-actions { 14 | text-align: right; 15 | } 16 | -------------------------------------------------------------------------------- /src/app/routes/route-home.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { HomeModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [ 8 | CommonModule, 9 | HomeModule, 10 | ], 11 | exports: [ 12 | HomeModule, 13 | ], 14 | }) 15 | export class RouteHomeAppModule { } 16 | -------------------------------------------------------------------------------- /src/app/routes/route-notification-app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { NotificationV2Module } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [CommonModule, NotificationV2Module], 8 | exports: [NotificationV2Module], 9 | }) 10 | export class RouteNotificationAppModule {} 11 | -------------------------------------------------------------------------------- /src/app/routes/route-my-dashboard.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { MyDashboardModule } from '../../../project/ws/app/src/lib/routes/my-dashboard/my-dashboard.module' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [CommonModule, MyDashboardModule], 8 | }) 9 | export class RouteMyDashboardModule { } 10 | -------------------------------------------------------------------------------- /src/app/routes/route-search-app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { SearchModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [ 8 | CommonModule, 9 | SearchModule, 10 | ], 11 | exports: [ 12 | SearchModule, 13 | ], 14 | }) 15 | export class RouteSearchAppModule { } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/lang-select/lang-select.component.scss: -------------------------------------------------------------------------------- 1 | .lang-container{ 2 | position: relative; 3 | height: 100%; 4 | 5 | .next-button{ 6 | position: absolute; 7 | bottom: 0; 8 | right: 0; 9 | margin: 32px; 10 | } 11 | } 12 | 13 | .height-option{ 14 | height: 80px !important; 15 | } 16 | 17 | .padding-top{ 18 | padding-top: 88px; 19 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/search-root/search-root.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-vars'; 3 | @import 'ws-mixins'; 4 | 5 | .container-balanced { 6 | @extend %page-center; 7 | height: auto; 8 | // min-height: 400px; 9 | } 10 | 11 | .search-box { 12 | width: 100%; 13 | max-width: 500px; 14 | box-sizing: border-box; 15 | max-height: 50px; 16 | } 17 | -------------------------------------------------------------------------------- /src/app/services/init.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { InitService } from './init.service' 4 | 5 | describe('InitService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: InitService = TestBed.get(InitService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/component/root/root.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { RootService } from './root.service' 4 | 5 | describe('RootService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: RootService = TestBed.get(RootService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/routes/route-roles-access-module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { CreateMDOModule } from '@ws/app' 4 | 5 | @NgModule({ 6 | declarations: [], 7 | imports: [ 8 | CommonModule, 9 | CreateMDOModule, 10 | ], 11 | exports: [ 12 | CreateMDOModule, 13 | ], 14 | }) 15 | export class RouteAccessAppModule { } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/system-roles-management.model.ts: -------------------------------------------------------------------------------- 1 | export interface IUserRoleDetail { 2 | department_name: string 3 | email: string 4 | first_name: string 5 | last_name: string 6 | root_org: string 7 | wid: string 8 | hasRole: boolean 9 | } 10 | 11 | export interface IManageUser { 12 | users: string[] 13 | operation: 'add' | 'remove' 14 | roles: string[] 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tslint.json", 3 | "rules": { 4 | "directive-selector": [ 5 | true, 6 | "attribute", 7 | "lib", 8 | "camelCase", 9 | "ws-app", 10 | "wsApp" 11 | ], 12 | "component-selector": [ 13 | true, 14 | "element", 15 | "ws-app", 16 | "kebab-case", 17 | "lib" 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SignupService } from './signup.service' 4 | 5 | describe('SignupService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SignupService = TestBed.get(SignupService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/app-event/app-event.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

6 | Check your network connection and reload the page. 7 |

8 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/app-setup-home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | @import 'ws-vars'; 3 | 4 | .setup-container { 5 | max-width: 1100px; 6 | // margin-left: auto !important; 7 | // margin-right: auto !important; 8 | padding: 36px; 9 | @include breakpoint-xs { 10 | margin: 0 16px; 11 | padding: 0; 12 | } 13 | } 14 | 15 | .margin-bottom-zero { 16 | margin-bottom: 0px; 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/services/frac.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { FracService } from './frac.service' 4 | 5 | describe('FracService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: FracService = TestBed.get(FracService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/components/my-dashboard-home/my-dashboard-home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-vars'; 3 | 4 | .center { 5 | max-height: calc(100vh - 2 * #{$mat-toolbar-gt-xs} - 2 * 52px); 6 | padding: 0px; 7 | } 8 | 9 | .center3 { 10 | max-height: calc(100vh - 88px - 56px - 2 * 46px); 11 | padding: 0px; 12 | } 13 | .height { 14 | height: -webkit-fill-available; 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/iframe-loader/iframe-loader.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 8 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/services/event.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { EventService } from './event.service' 4 | 5 | describe('EventService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: EventService = TestBed.get(EventService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/component/dialog-confirm/dialog-confirm.component.html: -------------------------------------------------------------------------------- 1 |

{{ data.title }}

2 |
3 | {{ data.body }} 4 |
5 |
6 | 9 | 10 |
11 | -------------------------------------------------------------------------------- /src/app/guards/login.guard.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, inject } from '@angular/core/testing' 2 | 3 | import { LoginGuard } from './login.guard' 4 | 5 | describe('LoginGuard', () => { 6 | beforeEach(() => { 7 | TestBed.configureTestingModule({ 8 | providers: [LoginGuard], 9 | }) 10 | }) 11 | 12 | it('should ...', inject([LoginGuard], (guard: LoginGuard) => { 13 | expect(guard).toBeTruthy() 14 | })) 15 | }) 16 | -------------------------------------------------------------------------------- /src/app/services/mobile-apps.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { MobileAppsService } from './mobile-apps.service' 4 | 5 | describe('MobileAppsService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: MobileAppsService = TestBed.get(MobileAppsService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/components/open-roles-dialog/system-roles-management.model.ts: -------------------------------------------------------------------------------- 1 | export interface IUserRoleDetail { 2 | department_name: string 3 | email: string 4 | first_name: string 5 | last_name: string 6 | root_org: string 7 | wid: string 8 | hasRole: boolean 9 | } 10 | 11 | export interface IManageUser { 12 | users: string[] 13 | operation: 'add' | 'remove' 14 | roles: string[] 15 | } 16 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { LoginRootService } from './login-root.service' 4 | 5 | describe('LoginRootService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: LoginRootService = TestBed.get(LoginRootService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/guards/general.guard.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, inject } from '@angular/core/testing' 2 | 3 | import { GeneralGuard } from './general.guard' 4 | 5 | describe('GeneralGuard', () => { 6 | beforeEach(() => { 7 | TestBed.configureTestingModule({ 8 | providers: [GeneralGuard], 9 | }) 10 | }) 11 | 12 | it('should ...', inject([GeneralGuard], (guard: GeneralGuard) => { 13 | expect(guard).toBeTruthy() 14 | })) 15 | }) 16 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SignupAutoService } from './signup-auto.service' 4 | 5 | describe('SignupAutoService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SignupAutoService = TestBed.get(SignupAutoService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/search-api.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SearchApiService } from './search-api.service' 4 | 5 | describe('SearchApiService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SearchApiService = TestBed.get(SearchApiService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/search-serv.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SearchServService } from './search-serv.service' 4 | 5 | describe('SearchServService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SearchServService = TestBed.get(SearchServService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/widget-user.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { WidgetUserService } from './widget-user.service' 4 | 5 | describe('WidgetUserService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: WidgetUserService = TestBed.get(WidgetUserService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/btn-content-feedback-v2/btn-content-feedback-v2.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/apis/search-api.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SearchApiService } from './search-api.service' 4 | 5 | describe('SearchApiService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SearchApiService = TestBed.get(SearchApiService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/services/app-interceptor.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { AppInterceptorService } from './app-interceptor.service' 4 | 5 | describe('AppInterceptorService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: AppInterceptorService = TestBed.get(AppInterceptorService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/services/tnc-app-resolver.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { TncAppResolverService } from './tnc-app-resolver.service' 4 | 5 | describe('TncAppResolverService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: TncAppResolverService = TestBed.get(TncAppResolverService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/services/feedback.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { FeedbackService } from './feedback.service' 4 | 5 | describe('FeedbackService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: FeedbackService = TestBed.get(FeedbackService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/meetup/meetup.component.scss: -------------------------------------------------------------------------------- 1 | .toc-links { 2 | position: sticky; 3 | top: 0px; 4 | width: 100%; 5 | z-index: 1; 6 | .link-active { 7 | font-weight: bold; 8 | border-bottom: 2px solid; 9 | } 10 | ::ng-deep .mat-tab-links { 11 | display: flex; 12 | justify-content: center !important; 13 | } 14 | ::ng-deep .mat-tab-link { 15 | opacity:1; 16 | } 17 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/services/search-serv.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { SearchServService } from './search-serv.service' 4 | 5 | describe('SearchServService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: SearchServService = TestBed.get(SearchServService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/components/frac/frac.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/guards/empty-route.guard.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, inject } from '@angular/core/testing' 2 | 3 | import { EmptyRouteGuard } from './empty-route.guard' 4 | 5 | describe('EmptyRouteGuard', () => { 6 | beforeEach(() => { 7 | TestBed.configureTestingModule({ 8 | providers: [EmptyRouteGuard], 9 | }) 10 | }) 11 | 12 | it('should ...', inject([EmptyRouteGuard], (guard: EmptyRouteGuard) => { 13 | expect(guard).toBeTruthy() 14 | })) 15 | }) 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/widget-content.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { WidgetContentService } from './widget-content.service' 4 | 5 | describe('WidgetContentService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: WidgetContentService = TestBed.get(WidgetContentService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/loader.service.ts: -------------------------------------------------------------------------------- 1 | import { BehaviorSubject } from 'rxjs' 2 | import { Injectable } from '@angular/core' 3 | 4 | @Injectable() 5 | export class LoaderService { 6 | changeLoad = new BehaviorSubject(false) 7 | 8 | private doubleBack = new BehaviorSubject(false) 9 | currentState = this.doubleBack.asObservable() 10 | 11 | changeLoadState(state: boolean) { 12 | this.doubleBack.next(state) 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/create-user/create-user.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { CreateUserService } from './create-user.service' 4 | 5 | describe('CreateUserService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: CreateUserService = TestBed.get(CreateUserService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/services/tnc-public-resolver.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { TncPublicResolverService } from './tnc-public-resolver.service' 4 | 5 | describe('TncPublicResolverService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: TncPublicResolverService = TestBed.get(TncPublicResolverService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/user-list/list-pipe.pipe.ts: -------------------------------------------------------------------------------- 1 | import { Pipe, PipeTransform } from '@angular/core' 2 | import * as _ from 'lodash' 3 | 4 | @Pipe({ 5 | name: 'listPipe', 6 | }) 7 | export class ListPipePipe implements PipeTransform { 8 | 9 | transform(value: any, args?: any): any { 10 | // return (value || []).map(i => ' '+i[args]); older 11 | return _.chain(value).map(i => i[args]).orderBy('asc').join('
').value() 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/services/event-resolver.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { EventResolverService } from './event-resolver.service' 4 | 5 | describe('EventResolverService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: EventResolverService = TestBed.get(EventResolverService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/services/notification.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { NotificationService } from './notification.service' 4 | 5 | describe('NotificationService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: NotificationService = TestBed.get(NotificationService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { RouterModule, Routes } from '@angular/router' 3 | import { SignupComponent } from './signup.component' 4 | const routes: Routes = [ 5 | { 6 | path: '', 7 | component: SignupComponent, 8 | }, 9 | ] 10 | 11 | @NgModule({ 12 | imports: [ 13 | RouterModule.forChild(routes), 14 | ], 15 | exports: [RouterModule], 16 | }) 17 | 18 | export class SignupRoutingModule { } 19 | -------------------------------------------------------------------------------- /src/app/services/navigation-external.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { NavigationExternalService } from './navigation-external.service' 4 | 5 | describe('NavigationExternalService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: NavigationExternalService = TestBed.get(NavigationExternalService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/user-list-popup/list-pipe.pipe.ts: -------------------------------------------------------------------------------- 1 | import { Pipe, PipeTransform } from '@angular/core' 2 | import * as _ from 'lodash' 3 | 4 | @Pipe({ 5 | name: 'listPipe', 6 | }) 7 | export class ListPipePipe implements PipeTransform { 8 | 9 | transform(value: any, args?: any): any { 10 | // return (value || []).map(i => ' '+i[args]); older 11 | return _.chain(value).map(i => i[args]).orderBy('asc').join('
').value() 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/collection-editor.ts: -------------------------------------------------------------------------------- 1 | import { IActionButtonConfig } from './action-button' 2 | import { IAuthSteps } from './auth-stepper' 3 | import { ICollectionChildConfig } from './collection-child-config' 4 | 5 | export interface ICollectionEditorConfig { 6 | maxDepth: number 7 | actionButtons: IActionButtonConfig 8 | stepper: IAuthSteps[] 9 | languageBar: boolean 10 | childrenConfig: ICollectionChildConfig 11 | enabledRole: string[] 12 | } 13 | -------------------------------------------------------------------------------- /src/app/guards/external-url-resolver.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { ExternalUrlResolverService } from './external-url-resolver.service' 4 | 5 | describe('ExternalUrlResolverService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: ExternalUrlResolverService = TestBed.get(ExternalUrlResolverService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /src/app/services/global-error-handling.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { GlobalErrorHandlingService } from './global-error-handling.service' 4 | 5 | describe('GlobalErrorHandlingService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: GlobalErrorHandlingService = TestBed.get(GlobalErrorHandlingService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/directory-list/directory-table.pipe.ts: -------------------------------------------------------------------------------- 1 | import { Pipe, PipeTransform } from '@angular/core' 2 | import * as _ from 'lodash' 3 | 4 | @Pipe({ 5 | name: 'listPipe', 6 | }) 7 | export class ListPipePipe implements PipeTransform { 8 | 9 | transform(value: any, args?: any): any { 10 | // return (value || []).map(i => ' '+i[args]); older 11 | return _.chain(value).map(i => i[args]).orderBy('asc').join('
').value() 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/users.model.ts: -------------------------------------------------------------------------------- 1 | export interface IUserForm { 2 | org: string 3 | firstName: string 4 | middleName?: string 5 | lastName: string 6 | email: string 7 | username?: string 8 | enabled?: boolean 9 | emailVerified?: boolean 10 | password?: string 11 | noPasswordChange?: boolean 12 | groupIds?: any[] 13 | } 14 | 15 | export interface IUserRoleDetail { 16 | about: string 17 | hasRole: boolean 18 | isSelected: boolean 19 | } 20 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { Routes, RouterModule } from '@angular/router' 3 | import { SignupAutoComponent } from './signup-auto.component' 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: SignupAutoComponent, 9 | }, 10 | ] 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class SignupAutoRoutingModule { } 17 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/frac-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { RouterModule, Routes } from '@angular/router' 3 | import { FracComponent } from './components/frac/frac.component' 4 | 5 | const routes: Routes = [] 6 | 7 | @NgModule({ 8 | imports: [RouterModule.forChild([ 9 | { 10 | path: '', 11 | component: FracComponent, 12 | children: routes, 13 | }, 14 | ]), 15 | ], 16 | }) 17 | export class FracRoutingModule { } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/_services/widget-content-share.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { WidgetContentShareService } from './widget-content-share.service' 4 | 5 | describe('WidgetContentShareService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: WidgetContentShareService = TestBed.get(WidgetContentShareService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/create-entity.ts: -------------------------------------------------------------------------------- 1 | export interface ICreateEntity { 2 | id: string 3 | name: string 4 | description: string 5 | icon: string 6 | parent?: string 7 | children?: string[] 8 | contentType: string 9 | resourceType?: string 10 | mimeType: string 11 | hasRole: string[] 12 | available: boolean 13 | isExpanded: boolean 14 | enabled: boolean 15 | url?: string 16 | isCollection?: boolean 17 | additionalMeta?: { [key: string]: any } 18 | } 19 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/services/notification-api.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing' 2 | 3 | import { NotificationApiService } from './notification-api.service' 4 | 5 | describe('NotificationApiService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})) 7 | 8 | it('should be created', () => { 9 | const service: NotificationApiService = TestBed.get(NotificationApiService) 10 | expect(service).toBeTruthy() 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/quick-tour/quick-tour.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { WidgetResolverModule } from '@sunbird-cb/resolver' 4 | import { QuickTourComponent } from './quick-tour.component' 5 | 6 | @NgModule({ 7 | declarations: [QuickTourComponent], 8 | imports: [ 9 | CommonModule, 10 | WidgetResolverModule, 11 | ], 12 | exports: [QuickTourComponent], 13 | }) 14 | export class QuickTourModule { } 15 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/notification-v2-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { Routes, RouterModule } from '@angular/router' 3 | import { HomeComponent } from './components/home/home.component' 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: HomeComponent, 9 | }, 10 | ] 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class NotificationV2RoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/services/global-error-handling.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable, ErrorHandler } from '@angular/core' 2 | 3 | @Injectable({ 4 | providedIn: 'root', 5 | }) 6 | export class GlobalErrorHandlingService implements ErrorHandler { 7 | 8 | constructor() { } 9 | 10 | handleError(error: any): void { 11 | const chunkFailedMessage = /ChunkLoadError/ 12 | if (chunkFailedMessage.test(error.message)) { 13 | window.location.reload() 14 | } else { 15 | throw error 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- 1 | FROM node:10 2 | 3 | WORKDIR /app 4 | COPY . . 5 | 6 | #RUN npm i yarn 7 | #RUN yarn global add @angular/cli@latest 8 | 9 | RUN yarn && yarn add moment && yarn add vis-util && npm run build-dev --prod --build-optimizer 10 | #RUN ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --verbose=true 11 | RUN npm run compress:brotli 12 | #RUN npm run compress:gzip 13 | 14 | WORKDIR /app/dist 15 | RUN npm install --production 16 | EXPOSE 3004 17 | 18 | CMD [ "npm", "run", "serve:prod" ] 19 | -------------------------------------------------------------------------------- /Dockerfile.preprod: -------------------------------------------------------------------------------- 1 | FROM node:10 2 | 3 | WORKDIR /app 4 | COPY . . 5 | 6 | #RUN npm i yarn 7 | #RUN yarn global add @angular/cli@latest 8 | 9 | RUN yarn && yarn add moment && yarn add vis-util && npm run build-preprod --prod --build-optimizer 10 | #RUN ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --verbose=true 11 | RUN npm run compress:brotli 12 | #RUN npm run compress:gzip 13 | 14 | WORKDIR /app/dist 15 | RUN npm install --production 16 | EXPOSE 3004 17 | 18 | CMD [ "npm", "run", "serve:prod" ] 19 | -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | # > 0.5% 9 | # last 2 versions 10 | # Firefox ESR 11 | # not dead 12 | # not IE 9-11 # For IE 9-11 support, remove 'not'. 13 | 14 | last 2 Chrome versions 15 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/about/about.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 |
6 | 7 | No Information Available 8 | 9 |
10 |
11 |
12 |
13 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/profile-detail/view-users/view-users.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | 3 | .user-profile{ 4 | height: 3rem; 5 | width: 50px; 6 | height: 50px; 7 | border-radius: 50%; 8 | box-sizing: border-box; 9 | @media only screen and (min-width: 768px) and (max-width: 1024px) { 10 | width:9%; 11 | } 12 | @media only screen and (max-width: 767px){ 13 | width:17%; 14 | } 15 | } 16 | .searchTerm{ 17 | width: 60%; 18 | margin: auto; 19 | height: 45px; 20 | } 21 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/services/event.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable, BehaviorSubject } from 'rxjs' 4 | 5 | const apiEndPoint = '/apis/protected/v8/event-external/' 6 | @Injectable() 7 | export class EventService { 8 | bannerisEnabled = new BehaviorSubject(true) 9 | constructor(private http: HttpClient) { } 10 | 11 | getEventData(): Observable { 12 | return this.http.get(apiEndPoint) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/app/guards/external-url-resolver.service.ts: -------------------------------------------------------------------------------- 1 | import { Observable, of } from 'rxjs' 2 | import { Injectable } from '@angular/core' 3 | import { CanActivate, ActivatedRouteSnapshot } from '@angular/router' 4 | 5 | @Injectable({ 6 | providedIn: 'root', 7 | }) 8 | export class ExternalUrlResolverService implements CanActivate { 9 | canActivate(next: ActivatedRouteSnapshot): Observable { 10 | const externalUrl = next.paramMap.get('externalUrl') as string 11 | window.open(externalUrl, '_self') 12 | return of(false) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /dist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "spv-dist", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node index.js", 8 | "serve": "node server.js", 9 | "serve:prod": "node index.js" 10 | }, 11 | "keywords": [], 12 | "author": "", 13 | "license": "ISC", 14 | "dependencies": { 15 | "connect-timeout": "^1.9.0", 16 | "express": "^4.16.4", 17 | "express-static-gzip": "2.0.3", 18 | "helmet": "^3.15.0", 19 | "http-proxy": "^1.17.0", 20 | "morgan": "^1.9.1" 21 | } 22 | } -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/components/my-dashboard-home/my-dashboard-home.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Dashboard 4 | 5 | 6 |
7 |
Coming soon
8 |
9 | 10 |
-------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10 2 | 3 | WORKDIR /app 4 | COPY . . 5 | 6 | #RUN npm i yarn 7 | #RUN yarn global add @angular/cli@latest 8 | 9 | RUN yarn && yarn add moment && yarn add vis-util && npm run build --prod --build-optimizer 10 | #RUN ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --verbose=true 11 | RUN npm run compress:brotli 12 | #RUN npm run compress:gzip 13 | 14 | WORKDIR /app/dist 15 | COPY assets/SPV/client-assets/dist www/en/assets 16 | RUN npm install --production 17 | EXPOSE 3004 18 | 19 | CMD [ "npm", "run", "serve:prod" ] 20 | -------------------------------------------------------------------------------- /project/ws/app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@ws/app", 3 | "version": "0.0.1", 4 | "main": "./src/public-api.ts", 5 | "peerDependencies": { 6 | "@angular/animations": "~8.2.1", 7 | "@angular/cdk": "~8.1.2", 8 | "@angular/common": "~8.2.1", 9 | "@angular/compiler": "~8.2.1", 10 | "@angular/core": "~8.2.1", 11 | "@angular/forms": "~8.2.1", 12 | "@angular/material": "^8.1.2", 13 | "@angular/platform-browser": "~8.2.1", 14 | "@angular/platform-browser-dynamic": "~8.2.1", 15 | "@angular/router": "~8.2.1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/roles-access.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | 5 | const API_END_POINTS = { 6 | ROLES: '/apis/protected/v8/user/roles/rolesv2/usercount', 7 | } 8 | 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class RolesAccessService { 13 | constructor(private http: HttpClient) { } 14 | getRoles(): Observable { 15 | return this.http.get(`${API_END_POINTS.ROLES}`) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/access/services/users.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | 5 | const API_END_POINTS = { 6 | USERS: '/apis/protected/v8/user/roles/getUsersV2', 7 | } 8 | 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class UsersService { 13 | constructor(private http: HttpClient) { } 14 | getUsers(role: string): Observable { 15 | return this.http.get(`${API_END_POINTS.USERS}/${role}/`) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/roles.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | 5 | const API_END_POINTS = { 6 | GET_ALL_ROLES: '/apis/proxies/v8/data/v1/system/settings/get/orgTypeList', 7 | } 8 | 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class RolesService { 13 | constructor(private http: HttpClient) { } 14 | getAllRoles(): Observable { 15 | return this.http.get(API_END_POINTS.GET_ALL_ROLES) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/blogs-card/blogs-card.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Input } from '@angular/core' 2 | import { IWsSocialSearchResultData } from '../../models/search.model' 3 | 4 | @Component({ 5 | selector: 'ws-app-blogs-card', 6 | templateUrl: './blogs-card.component.html', 7 | styleUrls: ['./blogs-card.component.scss'], 8 | }) 9 | export class BlogsCardComponent implements OnInit { 10 | @Input() result: IWsSocialSearchResultData = {} as IWsSocialSearchResultData 11 | constructor() {} 12 | 13 | ngOnInit() {} 14 | } 15 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-mixins'; 3 | 4 | .signup-container { 5 | box-sizing: border-box; 6 | padding: $size-m; 7 | @extend %page-center; 8 | @extend %height-mat-toolbar-sibling; 9 | box-sizing: border-box; 10 | 11 | .msg { 12 | // font: 16px/28px Poppins-regular; 13 | color: #222222; 14 | border: 1px solid #ededed; 15 | padding: 15px; 16 | box-shadow: 0px 7px 14px -4px rgba(0, 0, 0, 0.3); 17 | background: #fff; 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "program": "${workspaceFolder}\\-o", 12 | "preLaunchTask": "tsc: build - tsconfig.json", 13 | "outFiles": ["${workspaceFolder}/dist/out-tsc/**/*.js"] 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/resolvers/config-resolver.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable, SkipSelf } from '@angular/core' 2 | import { Resolve } from '@angular/router' 3 | import { Observable, of } from 'rxjs' 4 | import { ConfigurationsService } from '@sunbird-cb/utils' 5 | @Injectable() 6 | export class ConfigResolveService 7 | implements 8 | Resolve> { 9 | constructor( 10 | @SkipSelf() private confService: ConfigurationsService, 11 | ) { } 12 | resolve( 13 | ): Observable { 14 | 15 | return of({ ...this.confService }) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/setup-done/setup-done.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | 3 | .button-class{ 4 | margin-top: 100px; 5 | } 6 | 7 | .small-height-toolbar{ 8 | @include breakpoint-xs { 9 | height: 32px; 10 | padding: 8px; 11 | } 12 | } 13 | 14 | .margin-tops-l{ 15 | margin-top: 80px; 16 | } 17 | 18 | .margin-tops-s{ 19 | margin-top: 24px; 20 | } 21 | 22 | .margin-tops-xl{ 23 | margin-top: 160px; 24 | } 25 | 26 | .btn-done{ 27 | position: absolute; 28 | right: 16px; 29 | bottom: 16px; 30 | } 31 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/services/user-view.services.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | 5 | const API_END_POINTS = { 6 | GET_ALL_SPV_USERS: '/apis/protected/v8/portal/spv/department/1?allUsers=true', 7 | } 8 | 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class UserViewService { 13 | constructor(private http: HttpClient) { } 14 | getAllDepartments(): Observable { 15 | return this.http.get(`${API_END_POINTS.GET_ALL_SPV_USERS}`) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/qanda-card/qanda-card.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Input } from '@angular/core' 2 | import { IWsSocialSearchResultData } from '../../models/search.model' 3 | 4 | @Component({ 5 | selector: 'ws-app-qanda-card', 6 | templateUrl: './qanda-card.component.html', 7 | styleUrls: ['./qanda-card.component.scss'], 8 | }) 9 | export class QandaCardComponent implements OnInit { 10 | @Input() userId = '' 11 | @Input() item: IWsSocialSearchResultData = {} as IWsSocialSearchResultData 12 | constructor() {} 13 | 14 | ngOnInit() {} 15 | } 16 | -------------------------------------------------------------------------------- /src/app/component/app-public-nav-bar/app-public-nav-bar.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | 3 | .app-logo { 4 | max-width: 100px; 5 | max-height: 30px; 6 | min-width: 32px; 7 | 8 | @include breakpoint-xs { 9 | max-width: 80px; 10 | } 11 | 12 | 13 | } 14 | .title-app{ 15 | @include breakpoint-xs { 16 | visibility: hidden; 17 | }} 18 | 19 | .small-font-size{ 20 | @include breakpoint-xs { 21 | font-size: smaller !important; 22 | } 23 | } 24 | 25 | .padding-remove-small{ 26 | @include breakpoint-xs { 27 | 28 | padding: 0 !important; 29 | } 30 | } -------------------------------------------------------------------------------- /src/app/component/tnc-renderer/tnc-renderer.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-mixins'; 3 | 4 | .tnc-container { 5 | padding: $size-l; 6 | margin: auto; 7 | @include breakpoint-xs { 8 | padding: 0; 9 | } 10 | @include breakpoint-gt-xs { 11 | max-width: 90%; 12 | } 13 | @include breakpoint-gt-s { 14 | max-width: 80%; 15 | } 16 | @include breakpoint-gt-m { 17 | max-width: 1024px; 18 | } 19 | } 20 | 21 | .accept-btn-icon { 22 | margin-right: $size-s; 23 | } 24 | 25 | .tnc-title { 26 | display: flex; 27 | align-items: center; 28 | margin: 0; 29 | } 30 | -------------------------------------------------------------------------------- /src/styles/_ws-common.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-mixins'; 3 | 4 | %background-image-center { 5 | background-repeat: no-repeat; 6 | background-size: cover; 7 | background-position: center; 8 | } 9 | 10 | %page-center { 11 | max-width: $page-center; 12 | // max-width: $max-screen; 13 | margin-left: 0 !important; 14 | margin-right: auto !important; 15 | } 16 | 17 | %height-mat-toolbar-sibling { 18 | height: calc(100% - #{$mat-toolbar-xs}); 19 | 20 | // padding: $size-m; 21 | @include breakpoint-gt-xs { 22 | height: calc(100% - #{$mat-toolbar-gt-xs}); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Admin Portal 2 | 3 | //Comment by Amit Sengar 4 | Initialization Code: 5 | 6 | If Authenticated: 7 | 8 | Get Roles, Get Groups, Get Features, Get WidgetConfigs 9 | Process Features by roles & Groups 10 | Process Widgets by features, roles and groups 11 | Initialize Widgets by widgetConfig => Reset the available Flow of static injection 12 | Process featuesList.json by using roles & groups 13 | 14 | Features => 15 | check if its available 16 | 17 | - No -> check if is denied or not available 18 | - Yes -> check for current page rendering 19 | -> Yes => render 20 | -> No => stop rendering 21 | -------------------------------------------------------------------------------- /src/app/routes/public/mobile-app/components/mobile-app-home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-common'; 3 | 4 | .mobile-app-container { 5 | @extend %page-center; 6 | padding-top: 0; 7 | padding-bottom: 8px; 8 | margin: 16px 0px; 9 | // min-height: 100%; 10 | min-height: calc(100vh - 144px); 11 | box-sizing: border-box; 12 | } 13 | 14 | .mobile-qr-image { 15 | width: 180px; 16 | height: 180px; 17 | @include breakpoint-xs { 18 | width: 150px; 19 | height: 150px; 20 | } 21 | } 22 | 23 | .app-unavailable { 24 | text-align: center; 25 | padding-top: $size-xl; 26 | } 27 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/my-dashboard-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { RouterModule, Routes } from '@angular/router' 3 | import { MyDashboardHomeComponent } from './components/my-dashboard-home/my-dashboard-home.component' 4 | 5 | const routes: Routes = [] 6 | 7 | @NgModule({ 8 | imports: [ 9 | RouterModule.forChild([ 10 | { 11 | path: '', 12 | component: MyDashboardHomeComponent, 13 | children: routes, 14 | }, 15 | ]), 16 | ], 17 | exports: [RouterModule], 18 | }) 19 | export class MyDashboardRoutingModule { } 20 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/collection-child-config.ts: -------------------------------------------------------------------------------- 1 | import { IConditionsV2 } from './conditions-v2' 2 | 3 | export interface IAllowedType { 4 | conditions: IConditionsV2 5 | position: '*' | 'n' | 'n-1' 6 | minimum: number 7 | maximum: number 8 | } 9 | 10 | export interface ICollectionChildConfig { 11 | [key: string]: { 12 | minChildren: number 13 | allowCreation: boolean 14 | maxChildren: number 15 | childTypes: IAllowedType[] 16 | allowedCreationType?: string[] 17 | searchFilter: { 18 | contentType: string[] 19 | status: string[] 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/contact/contact.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { ContactHomeComponent } from './components/contact-home.component' 4 | import { MatToolbarModule, MatCardModule, MatButtonModule } from '@angular/material' 5 | import { BtnPageBackModule } from '@sunbird-cb/collection' 6 | 7 | @NgModule({ 8 | declarations: [ContactHomeComponent], 9 | imports: [CommonModule, MatToolbarModule, MatCardModule, BtnPageBackModule, MatButtonModule], 10 | exports: [ContactHomeComponent], 11 | }) 12 | export class ContactModule { } 13 | -------------------------------------------------------------------------------- /ngsw-config-append-dummy.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/service-worker/config/schema.json", 3 | "index": "/index.html", 4 | "assetGroups": [ 5 | { 6 | "name": "app", 7 | "installMode": "prefetch", 8 | "resources": { 9 | "files": ["/favicon.ico", "/manifest.webmanifest", "/*.css", "/*.js"] 10 | } 11 | }, 12 | { 13 | "name": "assets", 14 | "installMode": "lazy", 15 | "updateMode": "prefetch", 16 | "resources": { 17 | "files": ["/assets/**", "/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"] 18 | } 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/lang-select/lang-select.component.html: -------------------------------------------------------------------------------- 1 |
2 |

Hi {{userName}}, good to see you! 3 |

4 |

What language do you prefer?

5 | 6 | 7 | 8 | 9 | 10 | Next  11 | 12 | 13 | 14 | 15 | 16 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/card-details/card-details.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { CardDetailsComponent } from './card-details.component' 4 | import { RouterModule } from '@angular/router' 5 | import { MatDividerModule } from '@angular/material/divider' 6 | 7 | @NgModule({ 8 | declarations: [CardDetailsComponent], 9 | imports: [ 10 | CommonModule, 11 | RouterModule, 12 | MatDividerModule, 13 | ], 14 | entryComponents: [], 15 | exports: [CardDetailsComponent], 16 | }) 17 | 18 | export class CardDetailsModule { } 19 | -------------------------------------------------------------------------------- /src/app/component/dialog-confirm/dialog-confirm.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Inject } from '@angular/core' 2 | import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material' 3 | 4 | @Component({ 5 | selector: 'ws-dialog-confirm', 6 | templateUrl: './dialog-confirm.component.html', 7 | styleUrls: ['./dialog-confirm.component.scss'], 8 | }) 9 | export class DialogConfirmComponent { 10 | 11 | constructor( 12 | @Inject(MAT_DIALOG_DATA) public data: { title: string, body: string }, 13 | private dialogRef: MatDialogRef, 14 | ) { } 15 | 16 | confirmed() { 17 | this.dialogRef.close(true) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/user-list-popup/ui-user-table-pop-up.services.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | 5 | const API_END_POINTS = { 6 | GET_ALL_USER_BY_DEPARTMENT: '/apis/proxies/v8/user/v1/autocomplete/', 7 | } 8 | 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class UserViewPopUpService { 13 | constructor(private http: HttpClient) { } 14 | getAllUsersByDepartments(searchString: string): Observable { 15 | return this.http.get(`${API_END_POINTS.GET_ALL_USER_BY_DEPARTMENT}${searchString}`) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/feedback-snackbar/feedback-snackbar.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Inject } from '@angular/core' 2 | import { MAT_SNACK_BAR_DATA } from '@angular/material' 3 | import { IFeedbackSnackbarData } from '../../models/feedback.model' 4 | 5 | @Component({ 6 | selector: 'ws-widget-feedback-snackbar', 7 | templateUrl: './feedback-snackbar.component.html', 8 | styleUrls: ['./feedback-snackbar.component.scss'], 9 | }) 10 | export class FeedbackSnackbarComponent implements OnInit { 11 | constructor(@Inject(MAT_SNACK_BAR_DATA) public snackbarData: IFeedbackSnackbarData) {} 12 | 13 | ngOnInit() {} 14 | } 15 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/services/frac.service.ts: -------------------------------------------------------------------------------- 1 | import { HttpClient } from '@angular/common/http' 2 | import { Injectable } from '@angular/core' 3 | import { ConfigurationsService } from '@sunbird-cb/utils' 4 | import { IFrac } from '../interfaces/frac.model' 5 | 6 | @Injectable({ 7 | providedIn: 'root', 8 | }) 9 | export class FracService { 10 | 11 | constructor( 12 | private configSvc: ConfigurationsService, 13 | private http: HttpClient) { } 14 | 15 | fetchFrac() { 16 | const frac: Promise = this.http 17 | .get(`${this.configSvc.baseUrl}/feature/frac.json`) 18 | .toPromise() 19 | return frac 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | 4 | import { SignupAutoRoutingModule } from './signup-auto-routing.module' 5 | import { SignupAutoComponent } from './signup-auto.component' 6 | import { MatProgressSpinnerModule } from '@angular/material' 7 | import { SignupAutoService } from './signup-auto.service' 8 | 9 | @NgModule({ 10 | declarations: [SignupAutoComponent], 11 | imports: [ 12 | CommonModule, 13 | SignupAutoRoutingModule, 14 | MatProgressSpinnerModule, 15 | ], 16 | providers: [SignupAutoService], 17 | }) 18 | export class SignupAutoModule { } 19 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | import { map } from 'rxjs/operators' 5 | 6 | const API_END_POINTS = { 7 | USER_SIGNUP: `/apis/public/v8/signup`, 8 | } 9 | 10 | @Injectable({ 11 | providedIn: 'root', 12 | }) 13 | export class SignupService { 14 | 15 | constructor(private http: HttpClient) { } 16 | 17 | signup(data: any): Observable { 18 | return this.http.post(API_END_POINTS.USER_SIGNUP, data).pipe( 19 | map(response => { 20 | return response.result 21 | }), 22 | ) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/interface/interfaces.ts: -------------------------------------------------------------------------------- 1 | export interface IColums { 2 | displayName: String, 3 | key: String, 4 | isList?: boolean, 5 | prop?: string 6 | } 7 | export interface IAction { 8 | name: String, 9 | icon: String, 10 | type: string, 11 | disabled?: boolean, 12 | label: string, 13 | condition?: string, 14 | optional?: boolean, 15 | optional_key?: string, 16 | optional_Value?: string, 17 | } 18 | export interface ITableData { 19 | columns: IColums[], 20 | actions: IAction[], 21 | needHash: boolean, 22 | needCheckBox: boolean, 23 | sortState?: string, 24 | sortColumn?: string 25 | needUserMenus: boolean 26 | } 27 | -------------------------------------------------------------------------------- /libgen.sh: -------------------------------------------------------------------------------- 1 | # widgets=("") 2 | # for widget in $widgets 3 | # do 4 | # ng g m $widget --project=@ws-widget/collection 5 | # ng g c $widget --project=@ws-widget/collection --entryComponent=true 6 | # done 7 | 8 | # directives=("") 9 | # for directive in $directives 10 | # do 11 | # ng g m directives/$directive --project=@ws-widget/utils 12 | # ng g d directives/$directive/$directive --project=@ws-widget/utils --export=true --flat --lintFix=true 13 | # done 14 | 15 | # pipes=("") 16 | # for pipe in $pipes 17 | # do 18 | # ng g m pipes/$pipe --project=@ws-widget/utils 19 | # ng g p pipes/$pipe/$pipe --project=@ws-widget/utils --export=true --flat --lintFix=true 20 | # done 21 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/app-button/app-button.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { MatButtonModule, MatCardModule, MatIconModule, MatTooltipModule } from '@angular/material' 4 | import { RouterModule } from '@angular/router' 5 | import { AppButtonComponent } from './app-button.component' 6 | 7 | @NgModule({ 8 | declarations: [AppButtonComponent], 9 | imports: [ 10 | CommonModule, 11 | MatCardModule, 12 | MatButtonModule, 13 | MatIconModule, 14 | MatTooltipModule, 15 | RouterModule, 16 | ], 17 | exports: [AppButtonComponent], 18 | }) 19 | export class AppButtonModule { } 20 | -------------------------------------------------------------------------------- /project/ws/app/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../../../out-tsc/lib", 5 | "target": "es2015", 6 | "declaration": true, 7 | "inlineSources": true, 8 | "types": [], 9 | "lib": [ 10 | "dom", 11 | "es2018" 12 | ] 13 | }, 14 | "angularCompilerOptions": { 15 | "annotateForClosureCompiler": true, 16 | "skipTemplateCodegen": true, 17 | "strictMetadataEmit": true, 18 | "fullTemplateTypeCheck": true, 19 | "strictInjectionParameters": true, 20 | "enableResourceInlining": true 21 | }, 22 | "exclude": [ 23 | "src/test.ts", 24 | "**/*.spec.ts" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /src/app/component/app-footer/app-footer.component.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/info.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { AboutModule } from './about/about.module' 4 | import { ContactModule } from './contact/contact.module' 5 | import { FaqModule } from './faq/faq.module' 6 | import { InfoRoutingModule } from './info-routing.module' 7 | import { QuickTourModule } from './quick-tour/quick-tour.module' 8 | import { AboutVideoModule } from './about-video/about-video.module' 9 | 10 | @NgModule({ 11 | declarations: [], 12 | imports: [CommonModule, InfoRoutingModule, AboutModule, ContactModule, FaqModule, QuickTourModule, AboutVideoModule], 13 | }) 14 | export class InfoModule { } 15 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/components/notification-event/notification-event.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Input } from '@angular/core' 2 | import { ENotificationEvent } from '../../models/notifications.model' 3 | 4 | @Component({ 5 | selector: 'ws-app-notification-event', 6 | templateUrl: './notification-event.component.html', 7 | styleUrls: ['./notification-event.component.scss'], 8 | }) 9 | export class NotificationEventComponent implements OnInit { 10 | @Input() notificationEvent!: ENotificationEvent 11 | notificationEvents: typeof ENotificationEvent 12 | 13 | constructor() { 14 | this.notificationEvents = ENotificationEvent 15 | } 16 | 17 | ngOnInit() {} 18 | } 19 | -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing' 4 | import { getTestBed } from '@angular/core/testing' 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting, 8 | } from '@angular/platform-browser-dynamic/testing' 9 | 10 | declare const require: any 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting(), 16 | ) 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/) 19 | // And load the modules. 20 | context.keys().map(context) 21 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/create-user/create-user.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient } from '@angular/common/http' 3 | import { IUserForm } from '../users.model' 4 | 5 | const END_POINT_BASE = '/apis/protected/v8/user' 6 | const API_END_POINTS = { 7 | createUser: (keycloak: boolean) => `${END_POINT_BASE}/users/createuser?keycloak=${keycloak}`, 8 | } 9 | @Injectable({ 10 | providedIn: 'root', 11 | }) 12 | export class CreateUserService { 13 | 14 | constructor( 15 | private http: HttpClient, 16 | ) { } 17 | 18 | createUser(data: IUserForm, keycloak: boolean) { 19 | return this.http.post(API_END_POINTS.createUser(keycloak), data) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/app/models/tnc.model.ts: -------------------------------------------------------------------------------- 1 | export namespace NsTnc { 2 | export interface ITnc { 3 | isAccepted: boolean 4 | isNewUser?: boolean 5 | termsAndConditions: ITncUnit[] 6 | } 7 | export interface ITncUnit { 8 | acceptedDate: Date 9 | acceptedLanguage: string 10 | acceptedVersion: string 11 | availableLanguages: string[] 12 | content: string 13 | isAccepted: boolean 14 | language: string 15 | name: 'Generic T&C' | 'Data Privacy' 16 | version: string 17 | } 18 | export interface ITncAcceptRequest { 19 | termsAccepted: ITermAccepted[] 20 | } 21 | export interface ITermAccepted { 22 | acceptedLanguage: string 23 | docName: string 24 | version: string 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/spv-assets/icons/hubs.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Icons/action/grid 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po' 2 | import { browser, logging } from 'protractor' 3 | 4 | describe('workspace-project App', () => { 5 | let page: AppPage 6 | 7 | beforeEach(() => { 8 | page = new AppPage() 9 | }) 10 | 11 | it('should display welcome message', () => { 12 | page.navigateTo() 13 | expect(page.getTitleText()).toEqual('Welcome to MDO!') 14 | }) 15 | 16 | afterEach(async () => { 17 | // Assert that there are no errors emitted from the browser 18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER) 19 | expect(logs).not.toContain(jasmine.objectContaining({ 20 | level: logging.Level.SEVERE, 21 | } as logging.Entry)) 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/tnc/tnc.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | .small-height-toolbar{ 3 | @include breakpoint-xs { 4 | height: 32px; 5 | } 6 | } 7 | .margin-right { 8 | margin-right: 10px !important; 9 | } 10 | .center-align{ 11 | position: relative; 12 | left: 50%; 13 | transform: translate(-50%,0); 14 | @include breakpoint-xs { 15 | transform: translate(0,0); 16 | left: inherit; 17 | } 18 | } 19 | .width-full-wrapped{ 20 | @include breakpoint-xs { 21 | width: 100%; 22 | } 23 | } 24 | 25 | .buttons-class{ 26 | margin: 0 24px; 27 | @include breakpoint-xs { 28 | margin: 0; 29 | } 30 | 31 | } 32 | 33 | .font-size-small{ 34 | font-size: x-small !important; 35 | } -------------------------------------------------------------------------------- /src/app/models/mobile-events.model.ts: -------------------------------------------------------------------------------- 1 | // Authentication Related 2 | export const TOKEN_OUTGOING = 'TOKEN_OUTGOING' 3 | export const SESSIONID_OUTGOING = 'SESSIONID_OUTGOING' 4 | export const ISAUTHENTICATED_OUTGOING = 'ISAUTHENTICATED_OUTGOING' 5 | 6 | // Navigation Related 7 | export const NAVIGATION_DATA_INCOMING = 'NAVIGATION_DATA_INCOMING' 8 | 9 | export const GO_OFFLINE = 'GO_OFFLINE' 10 | export const DISPLAY_SETTING = 'DISPLAY_SETTING' 11 | export const PORTAL_THEME = 'PORTAL_THEME' 12 | export const GET_PLAYERCONTENT_JSON = 'GET_PLAYERCONTENT_JSON' 13 | export const DOWNLOAD_REQUESTED = 'DOWNLOAD_REQUESTED' 14 | export const CHAT_BOT_VISIBILITY = 'CHAT_BOT_VISIBILITY' 15 | export const IOS_OPEN_IN_BROWSER = 'IOS_OPEN_IN_BROWSER' 16 | -------------------------------------------------------------------------------- /src/app/routes/tnc/tnc.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { TncComponent } from './tnc.component' 4 | 5 | describe('TncComponent', () => { 6 | let component: TncComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [TncComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(TncComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/ui-admin-table/user-popup/user-popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 13 | 14 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/user-popup/user-popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 13 | 14 | -------------------------------------------------------------------------------- /src/app/component/root/root.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { RootComponent } from './root.component' 4 | 5 | describe('RootComponent', () => { 6 | let component: RootComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [RootComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(RootComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/about-video/about-video.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-mixins'; 2 | 3 | .small-height-toolbar{ 4 | @include breakpoint-xs { 5 | height: 32px; 6 | } 7 | } 8 | 9 | .tnc-bottom-navbar { 10 | position: absolute; 11 | right: 5%; 12 | bottom: 3%; 13 | } 14 | 15 | .video-intro { 16 | height: calc(100vh - 394px); 17 | padding-top: 16px 18 | 19 | } 20 | 21 | .center-align{ 22 | position: relative; 23 | left: 50%; 24 | transform: translate(-50%,0); 25 | @include breakpoint-xs { 26 | transform: translate(0,0); 27 | left: inherit; 28 | } 29 | } 30 | 31 | .intro-video{ 32 | height: calc(100vh - 410px); 33 | @include breakpoint-xs { 34 | height: calc(100vh - 360px); 35 | 36 | } 37 | 38 | } -------------------------------------------------------------------------------- /src/app/component/login/login.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { LoginComponent } from './login.component' 4 | 5 | describe('LoginComponent', () => { 6 | let component: LoginComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [LoginComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(LoginComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SignupComponent } from './signup.component' 4 | 5 | describe('SignupComponent', () => { 6 | let component: SignupComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SignupComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(SignupComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/home/home.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 |
7 |
8 | 9 |
10 | 14 | 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/tnc/tnc.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { TncComponent } from './tnc.component' 4 | 5 | describe('TncComponent', () => { 6 | let component: TncComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [TncComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(TncComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/contact/components/contact-home.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core' 2 | import { ConfigurationsService, NsPage } from '@sunbird-cb/utils' 3 | 4 | @Component({ 5 | selector: 'ws-app-contact-home', 6 | templateUrl: './contact-home.component.html', 7 | styleUrls: ['./contact-home.component.scss'], 8 | }) 9 | export class ContactHomeComponent implements OnInit { 10 | contactUsMail = '' 11 | pageNavbar: Partial = this.configSvc.pageNavBar 12 | 13 | constructor(private configSvc: ConfigurationsService) { } 14 | 15 | ngOnInit() { 16 | if (this.configSvc.instanceConfig) { 17 | this.contactUsMail = this.configSvc.instanceConfig.mailIds.contactUs 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/home/home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { HomeComponent } from './home.component' 4 | 5 | describe('HomeComponent', () => { 6 | let component: HomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [HomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(HomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone' 4 | import 'zone.js/dist/zone-testing' 5 | import { getTestBed } from '@angular/core/testing' 6 | import { 7 | BrowserDynamicTestingModule, 8 | platformBrowserDynamicTesting, 9 | } from '@angular/platform-browser-dynamic/testing' 10 | 11 | declare const require: any 12 | 13 | // First, initialize the Angular testing environment. 14 | getTestBed().initTestEnvironment( 15 | BrowserDynamicTestingModule, 16 | platformBrowserDynamicTesting(), 17 | ) 18 | // Then we find all the tests. 19 | const context = require.context('./', true, /\.spec\.ts$/) 20 | // And load the modules. 21 | context.keys().map(context) 22 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/components/frac/frac.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { FracComponent } from './frac.component' 4 | 5 | describe('FracComponent', () => { 6 | let component: FracComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [FracComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(FracComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/frac/frac.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { MatButtonModule, MatCardModule, MatIconModule } from '@angular/material' 4 | import { RouterModule } from '@angular/router' 5 | import { HorizontalScrollerModule } from '@sunbird-cb/utils' 6 | import { FracComponent } from './components/frac/frac.component' 7 | import { FracRoutingModule } from './frac-routing.module' 8 | 9 | @NgModule({ 10 | declarations: [FracComponent], 11 | imports: [ 12 | CommonModule, 13 | FracRoutingModule, 14 | MatCardModule, 15 | MatButtonModule, 16 | MatIconModule, 17 | RouterModule, 18 | HorizontalScrollerModule, 19 | ], 20 | }) 21 | export class FracModule { } 22 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/home/home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { HomeComponent } from './home.component' 4 | 5 | describe('HomeComponent', () => { 6 | let component: HomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [HomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(HomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/users.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { UsersComponent } from './users.component' 4 | 5 | describe('UsersComponent', () => { 6 | let component: UsersComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [UsersComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(UsersComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/social/social.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SocialComponent } from './social.component' 4 | 5 | describe('SocialComponent', () => { 6 | let component: SocialComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SocialComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(SocialComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /src/app/routes/features/features.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { FeaturesComponent } from './features.component' 4 | 5 | describe('FeaturesComponent', () => { 6 | let component: FeaturesComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [FeaturesComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(FeaturesComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/public/public-faq/public-faq.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-vars'; 3 | 4 | .sidenav-container { 5 | @extend %height-mat-toolbar-sibling; 6 | } 7 | 8 | .text-center { 9 | text-align: center; 10 | } 11 | 12 | .faq-container { 13 | margin: $size-l; 14 | } 15 | 16 | .page-heading { 17 | margin-bottom: $size-xl; 18 | } 19 | 20 | .sidenav { 21 | width: 25%; 22 | min-width: 250px; 23 | background: inherit; 24 | padding: 0px 16px 0px 16px; 25 | } 26 | 27 | .faq-active-class { 28 | border-right-color: transparent; 29 | border-top-right-radius: 0; 30 | border-bottom-right-radius: 0; 31 | } 32 | 33 | .nav-container { 34 | padding: 36px; 35 | margin: 16px; 36 | @include breakpoint-xs { 37 | padding: 16px; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/components/home/home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { HomeComponent } from './home.component' 4 | 5 | describe('HomeComponent', () => { 6 | let component: HomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [HomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(HomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/people/people.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core' 2 | import { Router } from '@angular/router' 3 | import { NsAutoComplete } from '@sunbird-cb/collection' 4 | 5 | @Component({ 6 | selector: 'ws-app-people', 7 | templateUrl: './people.component.html', 8 | styleUrls: ['./people.component.scss'], 9 | }) 10 | export class PeopleComponent implements OnInit { 11 | 12 | constructor( 13 | private router: Router, 14 | ) { } 15 | 16 | selectedUser(user: NsAutoComplete.IUserAutoComplete) { 17 | this.router.navigate(['/app/person-profile', user.wid]) 18 | // this.router.navigate(['/app/person-profile'], { queryParams: { emailId: user.email } }) 19 | } 20 | 21 | ngOnInit() { 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-channel-analytics/btn-channel-analytics.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { BtnChannelAnalyticsComponent } from './btn-channel-analytics.component' 4 | import { RouterModule } from '@angular/router' 5 | import { 6 | MatIconModule, 7 | MatButtonModule, 8 | MatTooltipModule, 9 | } from '@angular/material' 10 | @NgModule({ 11 | declarations: [BtnChannelAnalyticsComponent], 12 | imports: [ 13 | CommonModule, 14 | RouterModule, 15 | MatIconModule, 16 | MatButtonModule, 17 | MatTooltipModule, 18 | ], 19 | exports: [BtnChannelAnalyticsComponent], 20 | entryComponents: [BtnChannelAnalyticsComponent], 21 | }) 22 | export class BtnChannelAnalyticsModule { } 23 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/people/people.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { PeopleComponent } from './people.component' 4 | 5 | describe('PeopleComponent', () => { 6 | let component: PeopleComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [PeopleComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(PeopleComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/meetup/meetup.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { MeetupComponent } from './meetup.component' 4 | 5 | describe('MeetupComponent', () => { 6 | let component: MeetupComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [MeetupComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(MeetupComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/learning/learning.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { LearningComponent } from './learning.component' 4 | 5 | describe('LearningComponent', () => { 6 | let component: LearningComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [LearningComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(LearningComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/public-api.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Public API Surface of app 3 | */ 4 | 5 | // module exports 6 | export * from './lib/routes/app-setup/app-setup.module' 7 | export * from './lib/routes/frac/frac.module' 8 | export * from './lib/routes/info/info.module' 9 | export * from './lib/routes/my-dashboard/my-dashboard.module' 10 | export * from './lib/routes/notification-v2/notification-v2.module' 11 | // export * from './lib/routes/profile/profile.module' 12 | export * from './lib/routes/search/search.module' 13 | // export * from './lib/routes/social/social.module' 14 | export * from './lib/routes/app-event/app-event.module' 15 | export * from './lib/routes/home/home.module' 16 | export * from './lib/routes/access/access.module' 17 | export * from './lib/routes/create-mdo/create-mdo.module' 18 | -------------------------------------------------------------------------------- /src/app/component/app-footer/app-footer.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AppFooterComponent } from './app-footer.component' 4 | 5 | describe('AppFooterComponent', () => { 6 | let component: AppFooterComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AppFooterComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AppFooterComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/component/app-nav-bar/app-nav-bar.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AppNavBarComponent } from './app-nav-bar.component' 4 | 5 | describe('AppNavBarComponent', () => { 6 | let component: AppNavBarComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AppNavBarComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AppNavBarComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/component/login-root/login-root.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { LoginRootComponent } from './login-root.component' 4 | 5 | describe('LoginRootComponent', () => { 6 | let component: LoginRootComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [LoginRootComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(LoginRootComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/public/public-faq/public-faq.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { PublicFaqComponent } from './public-faq.component' 4 | 5 | describe('PublicFaqComponent', () => { 6 | let component: PublicFaqComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [PublicFaqComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(PublicFaqComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/faq/components/faq-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { FaqHomeComponent } from './faq-home.component' 4 | 5 | describe('FaqHomeComponent', () => { 6 | let component: FaqHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [FaqHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(FaqHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/public/mobile-app/mobile-app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { MobileAppHomeComponent } from './components/mobile-app-home.component' 4 | import { 5 | MatCardModule, 6 | MatTabsModule, 7 | MatToolbarModule, 8 | MatIconModule, 9 | MatButtonModule, 10 | } from '@angular/material' 11 | import { BtnPageBackModule } from '@sunbird-cb/collection' 12 | 13 | @NgModule({ 14 | declarations: [MobileAppHomeComponent], 15 | imports: [ 16 | CommonModule, 17 | MatToolbarModule, 18 | MatCardModule, 19 | MatTabsModule, 20 | MatIconModule, 21 | MatButtonModule, 22 | BtnPageBackModule, 23 | ], 24 | exports: [MobileAppHomeComponent], 25 | }) 26 | export class MobileAppModule { } 27 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SignupAutoComponent } from './signup-auto.component' 4 | 5 | describe('SignupAutoComponent', () => { 6 | let component: SignupAutoComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SignupAutoComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(SignupAutoComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/item-tile/item-tile.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { ItemTileComponent } from './item-tile.component' 4 | 5 | describe('ItemTileComponent', () => { 6 | let component: ItemTileComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [ItemTileComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(ItemTileComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/knowledge/knowledge.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { KnowledgeComponent } from './knowledge.component' 4 | 5 | describe('KnowledgeComponent', () => { 6 | let component: KnowledgeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [KnowledgeComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(KnowledgeComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.component.html: -------------------------------------------------------------------------------- 1 | 11 | 12 | 20 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/quick-tour/quick-tour.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { QuickTourComponent } from './quick-tour.component' 4 | 5 | describe('QuickTourComponent', () => { 6 | let component: QuickTourComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [QuickTourComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(QuickTourComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/components/my-dashboard-home/my-dashboard-home.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core' 2 | import { Router } from '@angular/router' 3 | import { ConfigurationsService, NsPage } from '@sunbird-cb/utils' 4 | 5 | @Component({ 6 | selector: 'ws-app-my-dashboard-home', 7 | templateUrl: './my-dashboard-home.component.html', 8 | styleUrls: ['./my-dashboard-home.component.scss'], 9 | }) 10 | export class MyDashboardHomeComponent implements OnInit { 11 | 12 | constructor(private router: Router, private configSvc: ConfigurationsService) { } 13 | pageNavbar: Partial = this.configSvc.pageNavBar 14 | 15 | ngOnInit() { 16 | } 17 | 18 | backToHome() { 19 | this.router.navigate(['page', 'home']) 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/app/component/tnc-renderer/tnc-renderer.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { TncRendererComponent } from './tnc-renderer.component' 4 | 5 | describe('TncRendererComponent', () => { 6 | let component: TncRendererComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [TncRendererComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(TncRendererComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/app-event/app-event.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AppEventComponent } from './app-event.component' 4 | 5 | describe('AppEventComponent', () => { 6 | let component: AppEventComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AppEventComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AppEventComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/about/about.component.ts: -------------------------------------------------------------------------------- 1 | 2 | import { AfterViewInit, Component, OnDestroy, OnInit } from '@angular/core' 3 | @Component({ 4 | selector: 'ws-app-about', 5 | templateUrl: './about.component.html', 6 | styleUrls: ['./about.component.scss'], 7 | /* tslint:disable */ 8 | // host: { class: 'flex flex-1 margin-top-l' }, 9 | /* tslint:enable */ 10 | }) 11 | export class AboutComponent implements OnInit, AfterViewInit, OnDestroy { 12 | constructor() { 13 | } 14 | 15 | ngOnDestroy() { 16 | // if (this.tabs) { 17 | // this.tabs.unsubscribe() 18 | // } 19 | } 20 | ngOnInit() { 21 | // int left blank 22 | } 23 | ngAfterViewInit() { 24 | // this.elementPosition = this.menuElement.nativeElement.parentElement.offsetTop 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/about/components/about-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AboutHomeComponent } from './about-home.component' 4 | 5 | describe('AboutHomeComponent', () => { 6 | let component: AboutHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AboutHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AboutHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/blogs-card/blogs-card.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { BlogsCardComponent } from './blogs-card.component' 4 | 5 | describe('BlogsCardComponent', () => { 6 | let component: BlogsCardComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [BlogsCardComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(BlogsCardComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/qanda-card/qanda-card.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { QandaCardComponent } from './qanda-card.component' 4 | 5 | describe('QandaCardComponent', () => { 6 | let component: QandaCardComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [QandaCardComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(QandaCardComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /src/app/component/invalid-user/invalid-user.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { InvalidUserComponent } from './invalid-user.component' 4 | 5 | describe('InvalidUserComponent', () => { 6 | let component: InvalidUserComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [InvalidUserComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(InvalidUserComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/public/public-about/public-about.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { PublicAboutComponent } from './public-about.component' 4 | 5 | describe('PublicAboutComponent', () => { 6 | let component: PublicAboutComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [PublicAboutComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(PublicAboutComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/module/interest/interest/interest.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { InterestComponent } from './interest.component' 4 | 5 | describe('InterestComponent', () => { 6 | let component: InterestComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [InterestComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(InterestComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/about-video/about-video.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AboutVideoComponent } from './about-video.component' 4 | 5 | describe('AboutVideoComponent', () => { 6 | let component: AboutVideoComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AboutVideoComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AboutVideoComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/setup-done/setup-done.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SetupDoneComponent } from './setup-done.component' 4 | 5 | describe('SetupDoneComponent', () => { 6 | let component: SetupDoneComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SetupDoneComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(SetupDoneComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/app-button/app-button.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, EventEmitter, Input, Output } from '@angular/core' 2 | 3 | @Component({ 4 | selector: 'ws-widget-app-button', 5 | templateUrl: './app-button.component.html', 6 | styleUrls: ['./app-button.component.scss'], 7 | }) 8 | export class AppButtonComponent implements OnInit { 9 | @Input() id?: string 10 | @Input() label?: string 11 | @Input() disabled?: boolean 12 | @Input() icon?: string 13 | @Input() type?: string 14 | @Input() styles?: any = {} 15 | @Input() classes?: String = '' 16 | @Output() eonClick = new EventEmitter() 17 | 18 | constructor() { 19 | } 20 | onClickbutton(event: any) { 21 | if (!this.disabled) { 22 | this.eonClick.emit(event) 23 | } 24 | } 25 | ngOnInit() { 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/app-setup-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AppSetupHomeComponent } from './app-setup-home.component' 4 | 5 | describe('AppSetupHomeComponent', () => { 6 | let component: AppSetupHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AppSetupHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AppSetupHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/create-user/create-user.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { CreateUserComponent } from './create-user.component' 4 | 5 | describe('CreateUserComponent', () => { 6 | let component: CreateUserComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [CreateUserComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(CreateUserComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/search-input/search-input.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SearchInputComponent } from './search-input.component' 4 | 5 | describe('SearchInputComponent', () => { 6 | let component: SearchInputComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SearchInputComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(SearchInputComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/routes/search-root/search-root.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SearchRootComponent } from './search-root.component' 4 | 5 | describe('SearchRootComponent', () => { 6 | let component: SearchRootComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SearchRootComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(SearchRootComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/component/dialog-confirm/dialog-confirm.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { DialogConfirmComponent } from './dialog-confirm.component' 4 | 5 | describe('DialogConfirmComponent', () => { 6 | let component: DialogConfirmComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [DialogConfirmComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(DialogConfirmComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/lang-select/lang-select.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { LangSelectComponent } from './lang-select.component' 4 | 5 | describe('LangSelectComponent', () => { 6 | let component: LangSelectComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [LangSelectComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(LangSelectComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/contact/components/contact-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { ContactHomeComponent } from './contact-home.component' 4 | 5 | describe('ContactHomeComponent', () => { 6 | let component: ContactHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [ContactHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(ContactHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/faq/components/faq-home.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-common'; 2 | @import 'ws-vars'; 3 | 4 | // .sidenav-container { 5 | // min-height: calc(100vh - 2 * #{$mat-toolbar-gt-xs}); 6 | // } 7 | 8 | .text-center { 9 | text-align: center; 10 | } 11 | 12 | .faq-container { 13 | margin: $size-l; 14 | } 15 | 16 | .page-heading { 17 | margin-bottom: $size-xl; 18 | } 19 | 20 | .sidenav { 21 | width: 25%; 22 | min-width: 250px; 23 | padding-left: $size-m; 24 | padding-right: $size-m; 25 | background: inherit; 26 | } 27 | 28 | // .faq-active-class { 29 | // border-right-color: transparent; 30 | // border-top-right-radius: 0; 31 | // border-bottom-right-radius: 0; 32 | // } 33 | .active-tab { 34 | line-height: 1.3; 35 | padding: 4px 0; 36 | } 37 | 38 | img { 39 | width: 100%; 40 | } 41 | -------------------------------------------------------------------------------- /src/app/routes/public/public-contact/public-contact.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { PublicContactComponent } from './public-contact.component' 4 | 5 | describe('PublicContactComponent', () => { 6 | let component: PublicContactComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [PublicContactComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(PublicContactComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/signup/signup.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' 4 | import { MatFormFieldModule, MatChipsModule, MatInputModule, MatIconModule, MatButtonModule } from '@angular/material' 5 | import { SignupComponent } from './signup.component' 6 | import { SignupRoutingModule } from './signup-routing.module' 7 | 8 | @NgModule({ 9 | declarations: [SignupComponent], 10 | imports: [ 11 | SignupRoutingModule, 12 | CommonModule, 13 | ReactiveFormsModule, 14 | FormsModule, 15 | MatChipsModule, 16 | MatFormFieldModule, 17 | MatIconModule, 18 | MatInputModule, 19 | MatButtonModule, 20 | ], 21 | exports: [SignupComponent], 22 | }) 23 | export class SignupModule { } 24 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/profile-detail/view-users/view-users.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { ViewUsersComponent } from './view-users.component' 4 | 5 | describe('ViewUsersComponent', () => { 6 | let component: ViewUsersComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [ViewUsersComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(ViewUsersComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/create-userV2/create-userV2.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { CreateUserV2Component } from './create-userV2.component' 4 | 5 | describe('CreateUserComponentV2', () => { 6 | let component: CreateUserV2Component 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [CreateUserV2Component], 12 | }) 13 | .compileComponents() 14 | })) 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(CreateUserV2Component) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | it('should create', () => { 21 | expect(component).toBeTruthy() 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/learning-card/learning-card.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { LearningCardComponent } from './learning-card.component' 4 | 5 | describe('LearningCardComponent', () => { 6 | let component: LearningCardComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [LearningCardComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(LearningCardComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /src/app/routes/public/mobile-app/components/mobile-app-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { MobileAppHomeComponent } from './mobile-app-home.component' 4 | 5 | describe('MobileAppHomeComponent', () => { 6 | let component: MobileAppHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [MobileAppHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(MobileAppHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/signup-auto/signup-auto.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { HttpClient, HttpBackend } from '@angular/common/http' 3 | import { Observable } from 'rxjs' 4 | import { map } from 'rxjs/operators' 5 | 6 | const API_END_POINTS = { 7 | USER_SIGNUP: `/apis/public/v8/signup/create`, 8 | // USER_SIGNUP: `http://localhost:3003/public/v8/signup/create`, 9 | } 10 | 11 | @Injectable() 12 | export class SignupAutoService { 13 | private httpClient: HttpClient 14 | 15 | constructor(handler: HttpBackend) { 16 | this.httpClient = new HttpClient(handler) 17 | } 18 | 19 | signup(id: any): Observable { 20 | return this.httpClient.post(`${API_END_POINTS.USER_SIGNUP}/${id}`, {}).pipe( 21 | map(response => { 22 | return response 23 | }), 24 | ) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/card-details/card-details.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { CardDetailsComponent } from './card-details.component' 4 | 5 | describe('CardDetailsComponent', () => { 6 | let component: CardDetailsComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [CardDetailsComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(CardDetailsComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-banner/event-banner.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { EventBannerComponent } from './event-banner.component' 4 | 5 | describe('EventBannerComponent', () => { 6 | let component: EventBannerComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [EventBannerComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(EventBannerComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/tnc-renderer/tnc-renderer.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { TncRendererComponent } from './tnc-renderer.component' 4 | 5 | describe('TncRendererComponent', () => { 6 | let component: TncRendererComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [TncRendererComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(TncRendererComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/interface/authored.ts: -------------------------------------------------------------------------------- 1 | export interface IAuthoringPagination { 2 | offset: number, 3 | limit: number 4 | } 5 | 6 | export interface IMenuNode { 7 | name: string 8 | children?: IMenuNode[] 9 | icon?: string 10 | status?: string 11 | } 12 | 13 | export interface IMenuFlatNode { 14 | expandable: boolean 15 | name: string 16 | levels: number 17 | } 18 | 19 | export interface IFilterMenuNode { 20 | displayName: string 21 | content?: IFilterMenuNode[] 22 | type?: string 23 | checked?: boolean 24 | count?: number 25 | } 26 | 27 | export interface IFilterOptions { 28 | contentType: string[] 29 | resourceType: string[] 30 | } 31 | 32 | export interface IFilterObject { 33 | status: string[] 34 | contentType: string[] 35 | complexityLevel: string[] 36 | sourceName: string[] 37 | } 38 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-setup/components/home/home.component.html: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 10 | 11 | | {{appName}} 12 | 13 | 14 |
15 |
16 | 17 |
18 |
19 |
Step {{stepCount}}/4 20 |
21 | 22 | 23 | 24 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/filter-display/filter-display.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { FilterDisplayComponent } from './filter-display.component' 4 | 5 | describe('FilterDisplayComponent', () => { 6 | let component: FilterDisplayComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [FilterDisplayComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(FilterDisplayComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /src/app/component/app-footer/app-footer.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core' 2 | import { ConfigurationsService, ValueService } from '@sunbird-cb/utils' 3 | 4 | @Component({ 5 | selector: 'ws-app-footer', 6 | templateUrl: './app-footer.component.html', 7 | styleUrls: ['./app-footer.component.scss'], 8 | }) 9 | export class AppFooterComponent { 10 | 11 | isXSmall = false 12 | termsOfUser = true 13 | 14 | constructor( 15 | private configSvc: ConfigurationsService, 16 | private valueSvc: ValueService 17 | ) { 18 | if (this.configSvc.restrictedFeatures) { 19 | if (this.configSvc.restrictedFeatures.has('termsOfUser')) { 20 | this.termsOfUser = false 21 | } 22 | } 23 | this.valueSvc.isXSmall$.subscribe(isXSmall => { 24 | this.isXSmall = isXSmall 25 | }) 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/app/routes/public/public-contact/public-contact.component.scss: -------------------------------------------------------------------------------- 1 | @import 'ws-vars'; 2 | @import 'ws-common'; 3 | .page-title { 4 | margin-bottom: $size-xl; 5 | } 6 | 7 | .contact-card { 8 | margin-bottom: $size-m; 9 | } 10 | .contact-card-actions { 11 | text-align: right; 12 | } 13 | 14 | .contact-info { 15 | padding: 16px 64px; 16 | text-align: center; 17 | 18 | @include breakpoint-xs { 19 | padding: 8px 16px; 20 | } 21 | } 22 | 23 | .faq-img-section { 24 | padding: 16px 72px; 25 | 26 | @include breakpoint-xs { 27 | padding: 8px 16px; 28 | } 29 | 30 | .info-section { 31 | width: 47%; 32 | 33 | @include breakpoint-xs { 34 | width: 100%; 35 | } 36 | } 37 | 38 | .contact-section { 39 | width: 47%; 40 | 41 | @include breakpoint-xs { 42 | width: 100%; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/iframe-loader/iframe-loader.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { IframeLoaderComponent } from './iframe-loader.component' 4 | 5 | describe('IframeLoaderComponent', () => { 6 | let component: IframeLoaderComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [IframeLoaderComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(IframeLoaderComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/component/app-public-nav-bar/app-public-nav-bar.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { AppPublicNavBarComponent } from './app-public-nav-bar.component' 4 | 5 | describe('AppPublicNavBarComponent', () => { 6 | let component: AppPublicNavBarComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [AppPublicNavBarComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(AppPublicNavBarComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-overview/event-overview.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { EventOverviewComponent } from './event-overview.component' 4 | 5 | describe('EventOverviewComponent', () => { 6 | let component: EventOverviewComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [EventOverviewComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(EventOverviewComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/event-sessions/event-sessions.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { EventSessionsComponent } from './event-sessions.component' 4 | 5 | describe('EventSessionsComponent', () => { 6 | let component: EventSessionsComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [EventSessionsComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(EventSessionsComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/profile-detail/profile-detail.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { ProfileDetailComponent } from './profile-detail.component' 4 | 5 | describe('ProfileDetailComponent', () => { 6 | let component: ProfileDetailComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [ProfileDetailComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(ProfileDetailComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/components/meetup/meetup.component.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | {{ navBarTitle }} 5 |
6 |
7 | 19 |
20 |
21 | 22 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/my-dashboard.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common' 2 | import { NgModule } from '@angular/core' 3 | import { MatButtonModule, MatCardModule, MatIconModule, MatToolbarModule } from '@angular/material' 4 | import { BtnPageBackModule } from '@sunbird-cb/collection' 5 | import { MyDashboardHomeComponent } from './components/my-dashboard-home/my-dashboard-home.component' 6 | import { MyDashboardRoutingModule } from './my-dashboard-routing.module' 7 | 8 | @NgModule({ 9 | declarations: [MyDashboardHomeComponent], 10 | imports: [ 11 | CommonModule, 12 | MyDashboardRoutingModule, 13 | MatCardModule, 14 | MatButtonModule, 15 | MatIconModule, 16 | MatToolbarModule, 17 | BtnPageBackModule, 18 | ], exports: [MyDashboardHomeComponent], 19 | }) 20 | export class MyDashboardModule { } 21 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/search-input-home/search-input-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { SearchInputHomeComponent } from './search-input-home.component' 4 | 5 | describe('SearchInputComponent', () => { 6 | let component: SearchInputHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [SearchInputHomeComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(SearchInputHomeComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/create-mdo/routes/users/users.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 | 7 | 8 |
9 |
10 |
11 | 13 | 14 | 15 | 16 |
17 |
18 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/my-dashboard/components/my-dashboard-home/my-dashboard-home.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { MyDashboardHomeComponent } from './my-dashboard-home.component' 4 | 5 | describe('MyDashboardHomeComponent', () => { 6 | let component: MyDashboardHomeComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [MyDashboardHomeComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(MyDashboardHomeComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/feedback-snackbar/feedback-snackbar.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { FeedbackSnackbarComponent } from './feedback-snackbar.component' 4 | 5 | describe('FeedbackSnackbarComponent', () => { 6 | let component: FeedbackSnackbarComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [FeedbackSnackbarComponent], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(FeedbackSnackbarComponent) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/components/open-roles-dialog/open-roles-dialog.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { OpenRolesDialogComponent } from './open-roles-dialog.component' 4 | 5 | describe('OpenRolesDialogComponent', () => { 6 | let component: OpenRolesDialogComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [OpenRolesDialogComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(OpenRolesDialogComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/component/invalid-user/invalid-user.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, OnDestroy } from '@angular/core' 2 | import { Subscription } from 'rxjs' 3 | import { ActivatedRoute } from '@angular/router' 4 | 5 | @Component({ 6 | selector: 'ws-invalid-user', 7 | templateUrl: './invalid-user.component.html', 8 | styleUrls: ['./invalid-user.component.scss'], 9 | }) 10 | export class InvalidUserComponent implements OnInit, OnDestroy { 11 | private subscriptionData: Subscription | null = null 12 | invalidData = '' 13 | constructor(private route: ActivatedRoute) { } 14 | 15 | ngOnInit() { 16 | this.subscriptionData = this.route.data.subscribe(data => { 17 | this.invalidData = data.pageData.data.value 18 | }) 19 | } 20 | 21 | ngOnDestroy() { 22 | if (this.subscriptionData) { 23 | this.subscriptionData.unsubscribe() 24 | } 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-channel-analytics/btn-channel-analytics.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { BtnChannelAnalyticsComponent } from './btn-channel-analytics.component' 4 | 5 | describe('BtnChannelAnalyticsComponent', () => { 6 | let component: BtnChannelAnalyticsComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [BtnChannelAnalyticsComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(BtnChannelAnalyticsComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/info/about-video/about-video.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { AboutVideoComponent } from './about-video.component' 4 | import { MatRadioModule, MatButtonModule, MatToolbarModule } from '@angular/material' 5 | import { LocaleTranslatorModule, BtnPageBackModule } from '@sunbird-cb/collection' 6 | import { RouterModule } from '@angular/router' 7 | import { WidgetResolverModule } from '@sunbird-cb/resolver' 8 | 9 | @NgModule({ 10 | declarations: [AboutVideoComponent], 11 | imports: [ 12 | CommonModule, 13 | MatRadioModule, 14 | RouterModule, 15 | WidgetResolverModule, 16 | LocaleTranslatorModule, 17 | MatButtonModule, 18 | BtnPageBackModule, 19 | MatToolbarModule, 20 | ], 21 | exports: [AboutVideoComponent], 22 | }) 23 | export class AboutVideoModule { } 24 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/notification-v2/components/notification-event/notification-event.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { NotificationEventComponent } from './notification-event.component' 4 | 5 | describe('NotificationEventComponent', () => { 6 | let component: NotificationEventComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [NotificationEventComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(NotificationEventComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /src/app/routes/public/public-contact/public-contact.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { PublicContactComponent } from './public-contact.component' 4 | import { 5 | MatToolbarModule, 6 | MatCardModule, 7 | MatDividerModule, 8 | MatIconModule, 9 | MatExpansionModule, 10 | } from '@angular/material' 11 | import { BtnPageBackModule } from '@sunbird-cb/collection' 12 | import { PipeSafeSanitizerModule } from '@sunbird-cb/utils' 13 | 14 | @NgModule({ 15 | declarations: [PublicContactComponent], 16 | imports: [ 17 | CommonModule, 18 | MatToolbarModule, 19 | MatCardModule, 20 | BtnPageBackModule, 21 | MatDividerModule, 22 | MatIconModule, 23 | MatExpansionModule, 24 | PipeSafeSanitizerModule, 25 | ], 26 | exports: [PublicContactComponent], 27 | }) 28 | export class PublicContactModule { } 29 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/roles-access/roles-access.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
5 |
6 | 7 | Roles and access 8 | 9 |
10 |
11 |
12 | 13 | 14 | 16 | 17 | 18 | 19 |
20 |
21 | -------------------------------------------------------------------------------- /src/app/component/app-public-nav-bar/app-public-nav-bar.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | info 11 | About Us 12 | 13 | 16 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/app-event/services/event-resolver.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { EventService } from './event.service' 3 | import { catchError, map } from 'rxjs/operators' 4 | import { of, Observable } from 'rxjs' 5 | import { ActivatedRouteSnapshot } from '@angular/router' 6 | 7 | @Injectable() 8 | export class EventResolverService { 9 | 10 | constructor(private eventSvc: EventService) { } 11 | 12 | resolve(route: ActivatedRouteSnapshot): Observable { 13 | const id = Number(route.params['id']) || 1 14 | return this.eventSvc.getEventData().pipe( 15 | map((data: any) => { 16 | const requiredData = data.Events[Object.keys(data.Events)[id - 1]] 17 | return { data: requiredData, error: null } 18 | }), 19 | catchError((err: any) => { 20 | return of({ data: null, error: err }) 21 | }) 22 | ) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/item-tile/item-tile.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Input } from '@angular/core' 2 | import { ActivatedRoute, Router } from '@angular/router' 3 | 4 | @Component({ 5 | selector: 'ws-app-item-tile', 6 | templateUrl: './item-tile.component.html', 7 | styleUrls: ['./item-tile.component.scss'], 8 | }) 9 | export class ItemTileComponent implements OnInit { 10 | @Input() data: any 11 | ref = 'home' 12 | topics: string[] = [] 13 | constructor(private activated: ActivatedRoute, private route: Router) { } 14 | 15 | ngOnInit() { } 16 | isString(input: any) { 17 | return typeof input === 'string' 18 | } 19 | goToView() { 20 | try { 21 | this.route.navigate( 22 | [``], 23 | { 24 | relativeTo: this.activated.parent, 25 | }, 26 | ) 27 | } catch (e) { 28 | throw e 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/app/services/navigation-external.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core' 2 | import { Router } from '@angular/router' 3 | import { fromEvent } from 'rxjs' 4 | import { NAVIGATION_DATA_INCOMING } from '../models/mobile-events.model' 5 | 6 | @Injectable({ 7 | providedIn: 'root', 8 | }) 9 | export class NavigationExternalService { 10 | 11 | dummy = 1 12 | constructor(private router: Router) { 13 | fromEvent(document, NAVIGATION_DATA_INCOMING).subscribe((event: CustomEventInit) => { 14 | this.navigateTo(event.detail.url, event.detail.params) 15 | }) 16 | } 17 | init() { 18 | this.dummy += 1 19 | } 20 | navigateTo(url: string, params?: any) { 21 | const newParams = params || {} 22 | newParams.ref = encodeURIComponent(newParams.ref || this.router.url.replace(/ref=[^&]*&?/, '').replace(/\?$/, '')) 23 | this.router.navigate([url], { queryParams: newParams }) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/head/btn-content-feedback-v2/components/btn-content-feedback-v2/btn-content-feedback-v2.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { BtnContentFeedbackV2Component } from './btn-content-feedback-v2.component' 4 | 5 | describe('BtnContentFeedbackV2Component', () => { 6 | let component: BtnContentFeedbackV2Component 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [BtnContentFeedbackV2Component], 12 | }).compileComponents() 13 | })) 14 | 15 | beforeEach(() => { 16 | fixture = TestBed.createComponent(BtnContentFeedbackV2Component) 17 | component = fixture.componentInstance 18 | fixture.detectChanges() 19 | }) 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy() 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/home/routes/users/components/edit-department-dialog/edit-department-dialog.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing' 2 | 3 | import { EditDepartmentDialogComponent } from './edit-department-dialog.component' 4 | 5 | describe('EditDepartmentDialogComponent', () => { 6 | let component: EditDepartmentDialogComponent 7 | let fixture: ComponentFixture 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [EditDepartmentDialogComponent], 12 | }) 13 | .compileComponents() 14 | })) 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(EditDepartmentDialogComponent) 18 | component = fixture.componentInstance 19 | fixture.detectChanges() 20 | }) 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy() 24 | }) 25 | }) 26 | -------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/search/components/blogs-card/blogs-card.component.html: -------------------------------------------------------------------------------- 1 | 2 |

{{ result.title }}

3 |

{{ result.abstract }}

4 | 5 |
6 |
7 |
8 | 10 | 11 | {{ result.postCreator.name }} 12 | 13 | 14 |
15 | {{ result.dtLastModified | date }} 16 |
17 |
18 | 24 |
-------------------------------------------------------------------------------- /project/ws/app/src/lib/routes/access/access.module.ts: -------------------------------------------------------------------------------- 1 | 2 | import { NgModule } from '@angular/core' 3 | import { CommonModule } from '@angular/common' 4 | import { BtnPageBackModule, LeftMenuModule, GroupCheckboxModule, UIAdminTableModule } from '@sunbird-cb/collection' 5 | import { WidgetResolverModule } from '@sunbird-cb/resolver' 6 | import { HomeModule } from '../home/home.module' 7 | import { RouterModule } from '@angular/router' 8 | import { UsersService } from './services/users.service' 9 | import { 10 | MatSidenavModule, 11 | MatIconModule, 12 | } from '@angular/material' 13 | import { MatCardModule } from '@angular/material/card' 14 | 15 | @NgModule({ 16 | imports: [CommonModule, BtnPageBackModule, LeftMenuModule, WidgetResolverModule, 17 | MatSidenavModule, MatIconModule, GroupCheckboxModule, HomeModule, RouterModule, UIAdminTableModule, MatCardModule], 18 | providers: [UsersService], 19 | }) 20 | export class AccessModule { } 21 | -------------------------------------------------------------------------------- /src/app/routes/public/public-faq/public-faq.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core' 2 | import { CommonModule } from '@angular/common' 3 | import { PublicFaqComponent } from './public-faq.component' 4 | import { 5 | MatToolbarModule, 6 | MatSidenavModule, 7 | MatIconModule, 8 | MatCardModule, 9 | MatDividerModule, 10 | MatListModule, 11 | MatButtonModule, 12 | } from '@angular/material' 13 | import { RouterModule } from '@angular/router' 14 | import { BtnPageBackModule } from '@sunbird-cb/collection' 15 | 16 | @NgModule({ 17 | declarations: [PublicFaqComponent], 18 | imports: [ 19 | CommonModule, 20 | MatToolbarModule, 21 | MatSidenavModule, 22 | MatIconModule, 23 | MatCardModule, 24 | MatDividerModule, 25 | MatListModule, 26 | RouterModule, 27 | BtnPageBackModule, 28 | MatButtonModule, 29 | ], 30 | exports: [PublicFaqComponent], 31 | }) 32 | export class PublicFaqModule { } 33 | --------------------------------------------------------------------------------