├── .gitignore ├── HD_Logo.png ├── LICENSE ├── NOTICE.txt ├── README.md └── ui ├── .angular-cli.json ├── .gitignore ├── Jenkinsfile ├── NextDirectory_Black.png ├── NextDirectory_White.png ├── build.website ├── deployment-env.yml ├── e2e ├── app.e2e-spec.ts ├── app.po.ts └── tsconfig.e2e.json ├── gulpfile.js ├── header.txt ├── karma.conf.js ├── package-lock.json ├── package.json ├── protractor.conf.js ├── readme.md ├── src ├── app │ ├── animations │ │ └── animations.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── app.routes.ts │ ├── constants │ │ └── messages.ts │ ├── mock-data │ │ ├── environments.ts │ │ ├── groups.ts │ │ ├── in-memory-data.service.ts │ │ ├── requests.ts │ │ ├── response.ts │ │ └── user.ts │ ├── modals │ │ ├── add-member-modal │ │ │ ├── add-member-modal.component.html │ │ │ ├── add-member-modal.component.scss │ │ │ ├── add-member-modal.component.spec.ts │ │ │ └── add-member-modal.component.ts │ │ ├── confirm-modal │ │ │ ├── confirm-modal.component.html │ │ │ ├── confirm-modal.component.scss │ │ │ ├── confirm-modal.component.spec.ts │ │ │ └── confirm-modal.component.ts │ │ ├── create-account-modal │ │ │ ├── create-account-modal.component.html │ │ │ ├── create-account-modal.component.scss │ │ │ ├── create-account-modal.component.spec.ts │ │ │ └── create-account-modal.component.ts │ │ ├── create-group-modal │ │ │ ├── create-group-modal.component.html │ │ │ ├── create-group-modal.component.scss │ │ │ ├── create-group-modal.component.spec.ts │ │ │ └── create-group-modal.component.ts │ │ ├── forgot-password-modal │ │ │ ├── forgot-password-modal.component.html │ │ │ ├── forgot-password-modal.component.scss │ │ │ ├── forgot-password-modal.component.spec.ts │ │ │ └── forgot-password-modal.component.ts │ │ ├── login-modal │ │ │ ├── login-modal.component.html │ │ │ ├── login-modal.component.scss │ │ │ ├── login-modal.component.spec.ts │ │ │ ├── login-modal.component.ts │ │ │ └── reset.resolve.ts │ │ └── request-access-modal │ │ │ ├── request-access-modal.component.html │ │ │ ├── request-access-modal.component.scss │ │ │ ├── request-access-modal.component.spec.ts │ │ │ └── request-access-modal.component.ts │ ├── models │ │ ├── contextual-menu.model.ts │ │ ├── group.model.ts │ │ ├── popup-item.model.ts │ │ ├── request.model.ts │ │ ├── table-header.model.ts │ │ └── user.model.ts │ ├── pages │ │ ├── all-groups-section │ │ │ ├── all-groups-section.component.html │ │ │ ├── all-groups-section.component.scss │ │ │ ├── all-groups-section.component.spec.ts │ │ │ └── all-groups-section.component.ts │ │ ├── all-groups │ │ │ ├── all-groups.component.html │ │ │ ├── all-groups.component.scss │ │ │ ├── all-groups.component.spec.ts │ │ │ ├── all-groups.component.ts │ │ │ └── all-groups.resolve.ts │ │ ├── base │ │ │ ├── base.component.html │ │ │ ├── base.component.scss │ │ │ ├── base.component.spec.ts │ │ │ └── base.component.ts │ │ ├── home │ │ │ ├── context.resolve.ts │ │ │ ├── home.component.html │ │ │ ├── home.component.scss │ │ │ ├── home.component.spec.ts │ │ │ ├── home.component.ts │ │ │ └── home.resolve.ts │ │ ├── members │ │ │ ├── members.component.html │ │ │ ├── members.component.scss │ │ │ ├── members.component.spec.ts │ │ │ ├── members.component.ts │ │ │ └── members.resolve.ts │ │ ├── my-groups-section │ │ │ ├── my-groups-section.component.html │ │ │ ├── my-groups-section.component.scss │ │ │ ├── my-groups-section.component.spec.ts │ │ │ └── my-groups-section.component.ts │ │ ├── my-groups │ │ │ ├── my-groups.component.html │ │ │ ├── my-groups.component.scss │ │ │ ├── my-groups.component.spec.ts │ │ │ ├── my-groups.component.ts │ │ │ └── my-groups.resolve.ts │ │ ├── pending-approval │ │ │ ├── pending-approval.component.html │ │ │ ├── pending-approval.component.scss │ │ │ ├── pending-approval.component.spec.ts │ │ │ ├── pending-approval.component.ts │ │ │ └── pending-approval.resolve.ts │ │ ├── requests │ │ │ ├── requests.component.html │ │ │ ├── requests.component.scss │ │ │ ├── requests.component.spec.ts │ │ │ ├── requests.component.ts │ │ │ └── requests.resolve.ts │ │ ├── start │ │ │ ├── start.component.html │ │ │ ├── start.component.scss │ │ │ ├── start.component.spec.ts │ │ │ └── start.component.ts │ │ └── testing │ │ │ ├── testing.component.html │ │ │ ├── testing.component.scss │ │ │ ├── testing.component.spec.ts │ │ │ └── testing.component.ts │ ├── primary-components │ │ ├── button-icon │ │ │ ├── button-icon.component.css │ │ │ ├── button-icon.component.html │ │ │ ├── button-icon.component.spec.ts │ │ │ └── button-icon.component.ts │ │ ├── button │ │ │ ├── button.component.html │ │ │ ├── button.component.scss │ │ │ ├── button.component.spec.ts │ │ │ └── button.component.ts │ │ ├── data-table │ │ │ ├── data-table.component.html │ │ │ ├── data-table.component.scss │ │ │ ├── data-table.component.spec.ts │ │ │ └── data-table.component.ts │ │ ├── form-input │ │ │ ├── form-input.component.html │ │ │ ├── form-input.component.scss │ │ │ ├── form-input.component.spec.ts │ │ │ └── form-input.component.ts │ │ └── link │ │ │ ├── link.component.html │ │ │ ├── link.component.scss │ │ │ ├── link.component.spec.ts │ │ │ └── link.component.ts │ ├── secondary-components │ │ ├── centered │ │ │ ├── centered.component.html │ │ │ ├── centered.component.scss │ │ │ ├── centered.component.spec.ts │ │ │ └── centered.component.ts │ │ ├── contextual-menu │ │ │ ├── contextual-menu.component.html │ │ │ ├── contextual-menu.component.scss │ │ │ ├── contextual-menu.component.spec.ts │ │ │ └── contextual-menu.component.ts │ │ ├── dynamic-component-loader │ │ │ ├── dynamic-component-loader.component.html │ │ │ ├── dynamic-component-loader.component.scss │ │ │ ├── dynamic-component-loader.component.spec.ts │ │ │ └── dynamic-component-loader.component.ts │ │ ├── header │ │ │ ├── header.component.html │ │ │ ├── header.component.scss │ │ │ ├── header.component.spec.ts │ │ │ └── header.component.ts │ │ ├── loader │ │ │ ├── loader.component.html │ │ │ ├── loader.component.scss │ │ │ ├── loader.component.spec.ts │ │ │ └── loader.component.ts │ │ ├── members-actions │ │ │ ├── members-actions.component.html │ │ │ ├── members-actions.component.scss │ │ │ ├── members-actions.component.spec.ts │ │ │ └── members-actions.component.ts │ │ ├── modal-wrapper │ │ │ ├── modal-wrapper.component.html │ │ │ ├── modal-wrapper.component.scss │ │ │ └── modal-wrapper.component.ts │ │ ├── panel-footer │ │ │ ├── panel-footer.component.html │ │ │ ├── panel-footer.component.scss │ │ │ ├── panel-footer.component.spec.ts │ │ │ └── panel-footer.component.ts │ │ ├── panel-header │ │ │ ├── panel-header.component.html │ │ │ ├── panel-header.component.scss │ │ │ ├── panel-header.component.spec.ts │ │ │ └── panel-header.component.ts │ │ ├── pending-approval-actions │ │ │ ├── pending-approval-actions.component.html │ │ │ ├── pending-approval-actions.component.scss │ │ │ ├── pending-approval-actions.component.spec.ts │ │ │ └── pending-approval-actions.component.ts │ │ ├── popup │ │ │ ├── popup.component.html │ │ │ ├── popup.component.scss │ │ │ ├── popup.component.spec.ts │ │ │ └── popup.component.ts │ │ └── requests-actions │ │ │ ├── requests-actions.component.html │ │ │ ├── requests-actions.component.scss │ │ │ ├── requests-actions.component.spec.ts │ │ │ └── requests-actions.component.ts │ └── services │ │ ├── account.service.ts │ │ ├── constants.service.ts │ │ ├── context.service.spec.ts │ │ ├── context.service.ts │ │ ├── groups │ │ ├── group.service.ts │ │ └── groups-utils.service.ts │ │ ├── requests │ │ ├── requests-utils.service.ts │ │ └── requests.service.ts │ │ ├── responsive-navigation.service.ts │ │ ├── users │ │ ├── users-utils.service.ts │ │ └── users.service.ts │ │ └── utils.service.ts ├── assets │ ├── .gitkeep │ ├── fonts │ │ ├── ex2 │ │ │ ├── Ex2_ttf │ │ │ │ ├── Exo2-Black.ttf │ │ │ │ ├── Exo2-BlackItalic.ttf │ │ │ │ ├── Exo2-Bold.ttf │ │ │ │ ├── Exo2-BoldItalic.ttf │ │ │ │ ├── Exo2-ExtraBold.ttf │ │ │ │ ├── Exo2-ExtraBoldItalic.ttf │ │ │ │ ├── Exo2-ExtraLight.ttf │ │ │ │ ├── Exo2-ExtraLightItalic.ttf │ │ │ │ ├── Exo2-Italic.ttf │ │ │ │ ├── Exo2-Light.ttf │ │ │ │ ├── Exo2-LightItalic.ttf │ │ │ │ ├── Exo2-Medium.ttf │ │ │ │ ├── Exo2-MediumItalic.ttf │ │ │ │ ├── Exo2-Regular.ttf │ │ │ │ ├── Exo2-SemiBold.ttf │ │ │ │ ├── Exo2-SemiBoldItalic.ttf │ │ │ │ ├── Exo2-Thin.ttf │ │ │ │ └── Exo2-ThinItalic.ttf │ │ │ ├── Exo2_Woff │ │ │ │ ├── Exo2-Black.woff │ │ │ │ ├── Exo2-BlackItalic.woff │ │ │ │ ├── Exo2-Bold.woff │ │ │ │ ├── Exo2-BoldItalic.woff │ │ │ │ ├── Exo2-ExtraBold.woff │ │ │ │ ├── Exo2-ExtraBoldItalic.woff │ │ │ │ ├── Exo2-ExtraLight.woff │ │ │ │ ├── Exo2-ExtraLightItalic.woff │ │ │ │ ├── Exo2-Italic.woff │ │ │ │ ├── Exo2-Light.woff │ │ │ │ ├── Exo2-LightItalic.woff │ │ │ │ ├── Exo2-Medium.woff │ │ │ │ ├── Exo2-MediumItalic.woff │ │ │ │ ├── Exo2-Regular.woff │ │ │ │ ├── Exo2-SemiBold.woff │ │ │ │ ├── Exo2-SemiBoldItalic.woff │ │ │ │ ├── Exo2-Thin.woff │ │ │ │ └── Exo2-ThinItalic.woff │ │ │ ├── Exo2_eot │ │ │ │ ├── Exo2-Black.eot │ │ │ │ ├── Exo2-BlackItalic.eot │ │ │ │ ├── Exo2-Bold.eot │ │ │ │ ├── Exo2-BoldItalic.eot │ │ │ │ ├── Exo2-ExtraBold.eot │ │ │ │ ├── Exo2-ExtraBoldItalic.eot │ │ │ │ ├── Exo2-ExtraLight.eot │ │ │ │ ├── Exo2-ExtraLightItalic.eot │ │ │ │ ├── Exo2-Italic.eot │ │ │ │ ├── Exo2-Light.eot │ │ │ │ ├── Exo2-LightItalic.eot │ │ │ │ ├── Exo2-Medium.eot │ │ │ │ ├── Exo2-MediumItalic.eot │ │ │ │ ├── Exo2-Regular.eot │ │ │ │ ├── Exo2-SemiBold.eot │ │ │ │ ├── Exo2-SemiBoldItalic.eot │ │ │ │ ├── Exo2-Thin.eot │ │ │ │ └── Exo2-ThinItalic.eot │ │ │ └── Exo2_woff2 │ │ │ │ ├── Exo2-Black.woff2 │ │ │ │ ├── Exo2-Bold.woff2 │ │ │ │ ├── Exo2-BoldItalic.woff2 │ │ │ │ ├── Exo2-ExtraBold.woff2 │ │ │ │ ├── Exo2-ExtraBoldItalic.woff2 │ │ │ │ ├── Exo2-ExtraLight.woff2 │ │ │ │ ├── Exo2-ExtraLightItalic.woff2 │ │ │ │ ├── Exo2-Italic.woff2 │ │ │ │ ├── Exo2-Light.woff2 │ │ │ │ ├── Exo2-LightItalic.woff2 │ │ │ │ ├── Exo2-Medium.woff2 │ │ │ │ ├── Exo2-MediumItalic.woff2 │ │ │ │ ├── Exo2-Regular.woff2 │ │ │ │ ├── Exo2-SemiBold.woff2 │ │ │ │ ├── Exo2-SemiBoldItalic.woff2 │ │ │ │ ├── Exo2-Thin.woff2 │ │ │ │ └── Exo2-ThinItalic.woff2 │ │ ├── icomoon.eot │ │ ├── icomoon.svg │ │ ├── icomoon.ttf │ │ └── icomoon.woff │ ├── gif │ │ ├── hd-landing.gif │ │ ├── hd-loading.gif │ │ └── pacman_loader-2.gif │ ├── images │ │ ├── HD_Logo.png │ │ ├── HD_Logo2x.png │ │ ├── HD_Logo_Light.png │ │ ├── HD_title.png │ │ ├── HD_title_light.png │ │ └── bg │ │ │ ├── background.png │ │ │ ├── background@2x.png │ │ │ └── background@3x.png │ └── svg │ │ └── profile-picture.svg ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.png ├── index.html ├── main.ts ├── polyfills.ts ├── styles │ ├── _variables.scss │ ├── init │ │ ├── _mixins.scss │ │ ├── _test.scss │ │ ├── _utils.scss │ │ ├── custom-icons.scss │ │ ├── imports.scss │ │ └── reset.scss │ ├── layout │ │ └── _layout.scss │ ├── main.scss │ ├── modules │ │ ├── _actions.scss │ │ ├── _anchor.scss │ │ ├── _button.scss │ │ ├── _checkbox.scss │ │ ├── _form-input.scss │ │ ├── _h.scss │ │ ├── _loader.scss │ │ ├── _modal.scss │ │ ├── _overlay.scss │ │ ├── _panel.scss │ │ ├── _popup.scss │ │ ├── _table.scss │ │ └── _underline.scss │ └── responsive │ │ ├── _large.scss │ │ └── _small.scss ├── test.ts ├── tsconfig.app.json ├── tsconfig.spec.json └── typings.d.ts ├── todo.js ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | 8 | # dependencies 9 | /node_modules 10 | /**/*.orig 11 | # cached files 12 | .serverless 13 | .DS_Store 14 | *.pyc 15 | .cache 16 | __pycache__ 17 | 18 | 19 | # IDEs and editors 20 | /.idea 21 | .project 22 | .classpath 23 | .c9/ 24 | *.launch 25 | .settings/ 26 | *.sublime-workspace 27 | 28 | # IDE - VSCode 29 | .vscode/* 30 | !.vscode/settings.json 31 | !.vscode/tasks.json 32 | !.vscode/launch.json 33 | !.vscode/extensions.json 34 | 35 | # misc 36 | /.sass-cache 37 | /connect.lock 38 | /coverage 39 | /libpeerconnection.log 40 | npm-debug.log 41 | testem.log 42 | /typings 43 | 44 | # e2e 45 | /e2e/*.js 46 | /e2e/*.map 47 | 48 | # System Files 49 | .DS_Store 50 | Thumbs.db 51 | -------------------------------------------------------------------------------- /HD_Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/HD_Logo.png -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- 1 | This is the NOTICE.txt file for HyperDirectory, per the terms and conditions under the Apache License Version 2.0, dated January 2004. See the license at http://www.apache.org/licenses/ for more details. Attributions and additional notices pertaining to the source code are to be documented here. 2 | The original version of HyperDirectory (UI) was created by © T-Mobile USA, Inc., & released on 27th November 2017. 3 | HyperDirectory integration APIs for HyperLedger created by © Intel. 4 | -------------------------------------------------------------------------------- /ui/.angular-cli.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "project": { 4 | "name": "pacman-spa" 5 | }, 6 | "apps": [ 7 | { 8 | "root": "src", 9 | "outDir": "app", 10 | "assets": [ 11 | "assets", 12 | "favicon.png" 13 | ], 14 | "index": "index.html", 15 | "main": "main.ts", 16 | "polyfills": "polyfills.ts", 17 | "test": "test.ts", 18 | "tsconfig": "tsconfig.app.json", 19 | "testTsconfig": "tsconfig.spec.json", 20 | "prefix": "app", 21 | "styles": [ 22 | "styles/main.scss" 23 | ], 24 | "scripts": [], 25 | "environmentSource": "environments/environment.ts", 26 | "environments": { 27 | "dev": "environments/environment.ts", 28 | "prod": "environments/environment.prod.ts" 29 | } 30 | } 31 | ], 32 | "e2e": { 33 | "protractor": { 34 | "config": "./protractor.conf.js" 35 | } 36 | }, 37 | "lint": [ 38 | { 39 | "project": "src/tsconfig.app.json", 40 | "exclude": "**/node_modules/**" 41 | }, 42 | { 43 | "project": "src/tsconfig.spec.json", 44 | "exclude": "**/node_modules/**" 45 | }, 46 | { 47 | "project": "e2e/tsconfig.e2e.json", 48 | "exclude": "**/node_modules/**" 49 | } 50 | ], 51 | "test": { 52 | "karma": { 53 | "config": "./karma.conf.js" 54 | } 55 | }, 56 | "defaults": { 57 | "styleExt": "scss", 58 | "component": {} 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ui/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | 8 | # dependencies 9 | /node_modules 10 | /**/*.orig 11 | # cached files 12 | .serverless 13 | .DS_Store 14 | *.pyc 15 | .cache 16 | __pycache__ 17 | 18 | 19 | # IDEs and editors 20 | /.idea 21 | .project 22 | .classpath 23 | .c9/ 24 | *.launch 25 | .settings/ 26 | *.sublime-workspace 27 | 28 | # IDE - VSCode 29 | .vscode/* 30 | !.vscode/settings.json 31 | !.vscode/tasks.json 32 | !.vscode/launch.json 33 | !.vscode/extensions.json 34 | 35 | # misc 36 | /.sass-cache 37 | /connect.lock 38 | /coverage 39 | /libpeerconnection.log 40 | npm-debug.log 41 | testem.log 42 | /typings 43 | 44 | # e2e 45 | /e2e/*.js 46 | /e2e/*.map 47 | 48 | # System Files 49 | .DS_Store 50 | Thumbs.db 51 | -------------------------------------------------------------------------------- /ui/Jenkinsfile: -------------------------------------------------------------------------------- 1 | #!groovy 2 | import groovy.json.JsonOutput 3 | node { 4 | 5 | withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: env.JENKINS_CREDENTIAL_ID, passwordVariable: 'PWD', 6 | usernameVariable: 'UNAME']]){ 7 | 8 | echo "Build triggered via branch::${env.BRANCH_NAME}" 9 | echo "params : $params" 10 | 11 | def build_job = env.WEBSITE_BUILD_URI_DEV 12 | if ( env.BRANCH_NAME == 'master') { 13 | build_job = env.WEBSITE_BUILD_URI 14 | } 15 | def var_job_url = JenkinsLocationConfiguration.get().getUrl() + build_job 16 | 17 | sh "curl -X GET -k -v -u \"$UNAME:$PWD\" \"" + var_job_url + "&service_name=hyper-directory&domain=ccoe&scm_project=cas&scm_branch=${env.BRANCH_NAME}\"" 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /ui/NextDirectory_Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/NextDirectory_Black.png -------------------------------------------------------------------------------- /ui/NextDirectory_White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/NextDirectory_White.png -------------------------------------------------------------------------------- /ui/build.website: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/build.website -------------------------------------------------------------------------------- /ui/deployment-env.yml: -------------------------------------------------------------------------------- 1 | service : hyper-directory 2 | domain : ccoe 3 | 4 | owner: puneet@moonraft.com 5 | slack_channel: NA 6 | create_cloudfront_url: true -------------------------------------------------------------------------------- /ui/e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ui/e2e/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root h1')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ui/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "baseUrl": "./", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": [ 9 | "jasmine", 10 | "jasminewd2", 11 | "node" 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /ui/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var fs = require('fs'); 3 | var replace = require('gulp-replace'); 4 | var count = require('gulp-count'); 5 | 6 | gulp.task('test', [], function () { 7 | return console.log('test'); 8 | }); 9 | 10 | gulp.task('add-license', [], function () { 11 | var header = fs.readFileSync('header.txt', 'utf-8'); 12 | console.log(header); 13 | var htmlHeader = '' + 14 | ''; 15 | var jsHeader = '/*' + header + '*/'; 16 | 17 | var jsSrc = ['./src/**/*.ts', 18 | './src/**/*.js', 19 | './src/**/*.scss', 20 | './src/**/*.css' 21 | ]; 22 | 23 | var htmlSrc = ['./src/**/*.html']; 24 | 25 | gulp.src(jsSrc) 26 | .pipe(count('## files found')) 27 | .pipe(replace(/(\/\*([\s\S]*?)\*\/)|(\/\/(.*)$)/m, '')) 28 | .pipe(replace(/([^]*)/, jsHeader + '$1')) 29 | .pipe(gulp.dest('./src')); 30 | 31 | gulp.src(htmlSrc) 32 | .pipe(count('## files found')) 33 | .pipe(replace(//, '')) 34 | .pipe(replace(/([^]*)/, htmlHeader + '$1')) 35 | .pipe(gulp.dest('./src')); 36 | 37 | }); -------------------------------------------------------------------------------- /ui/header.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ========================================================================= -------------------------------------------------------------------------------- /ui/karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular/cli'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular/cli/plugins/karma') 14 | ], 15 | client:{ 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | reports: [ 'html', 'lcovonly' ], 20 | fixWebpackSourcePaths: true 21 | }, 22 | angularCli: { 23 | environment: 'dev' 24 | }, 25 | reporters: ['progress', 'kjhtml'], 26 | port: 9876, 27 | colors: true, 28 | logLevel: config.LOG_INFO, 29 | autoWatch: true, 30 | browsers: ['Chrome'], 31 | singleRun: false 32 | }); 33 | }; 34 | -------------------------------------------------------------------------------- /ui/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './e2e/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: 'e2e/tsconfig.e2e.json' 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /ui/readme.md: -------------------------------------------------------------------------------- 1 | # Hyper Directory 2 | 3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.4. 4 | 5 | ## Installation 6 | 7 | Run `npm install` to get all the latest packages. This project was build with Node v6.11.3 and npm v3.10.10. 8 | 9 | ## Development server 10 | 11 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. 12 | 13 | ## Code scaffolding 14 | 15 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. 16 | 17 | ## Build 18 | 19 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. 20 | 21 | ## Running unit tests 22 | 23 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). 24 | 25 | ## Running end-to-end tests 26 | 27 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). 28 | 29 | ## Further help 30 | 31 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). 32 | -------------------------------------------------------------------------------- /ui/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /ui/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-root', 19 | templateUrl: './app.component.html', 20 | styleUrls: ['./app.component.css'] 21 | }) 22 | export class AppComponent { 23 | title = 'app'; 24 | } 25 | -------------------------------------------------------------------------------- /ui/src/app/constants/messages.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | export const MESSAGES = { 16 | 'errorMessages':{ 17 | 'apiResponseError': { 18 | 'title':'Uh-oh!', 19 | 'description':'Something went wrong while we were fetching your data.' 20 | }, 21 | 'noDataAvailable': { 22 | 'title':'Oops, It\'s deserted here!', 23 | 'description':'Doesn\'t look like any data is available' 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /ui/src/app/mock-data/environments.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | export const DATA_ENVIRONMENTS = { 16 | 'data': [ 17 | { 18 | 'name': 'Development' 19 | }, 20 | { 21 | 'name': 'Production' 22 | }, 23 | { 24 | 'name': 'Staging' 25 | } 26 | ] 27 | }; -------------------------------------------------------------------------------- /ui/src/app/mock-data/response.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | let authKey = 'HHHHHHHHHH'; 16 | 17 | export const LOGIN_RESPONSE = { 18 | data: { 19 | authorization: authKey 20 | } 21 | }; 22 | 23 | export const CREATE_USER_REQUEST = 24 | [{ 25 | data: { 26 | authorization: authKey, 27 | user: { 28 | id: 1, 29 | name: 'Richard Nixon\'s Head', 30 | managers: [], 31 | subordinates: [], 32 | ownerOf: [], 33 | administratorOf: [], 34 | memberOf: [], 35 | proposals: [], 36 | metadata: '' 37 | } 38 | } 39 | }] 40 | ; -------------------------------------------------------------------------------- /ui/src/app/modals/add-member-modal/add-member-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/add-member-modal/add-member-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { AddMemberModalComponent } from './add-member-modal.component'; 18 | 19 | describe('AddMemberModalComponent', () => { 20 | let component: AddMemberModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ AddMemberModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(AddMemberModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/confirm-modal/confirm-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/confirm-modal/confirm-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { ConfirmModalComponent } from './confirm-modal.component'; 18 | 19 | describe('ConfirmModalComponent', () => { 20 | let component: ConfirmModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ ConfirmModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(ConfirmModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/create-account-modal/create-account-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/create-account-modal/create-account-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { CreateAccountModalComponent } from './create-account-modal.component'; 18 | 19 | describe('CreateAccountModalComponent', () => { 20 | let component: CreateAccountModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ CreateAccountModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(CreateAccountModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/create-group-modal/create-group-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/create-group-modal/create-group-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { CreateGroupModalComponent } from './create-group-modal.component'; 18 | 19 | describe('CreateGroupModalComponent', () => { 20 | let component: CreateGroupModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ CreateGroupModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(CreateGroupModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/forgot-password-modal/forgot-password-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/forgot-password-modal/forgot-password-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { ForgotPasswordModalComponent } from './forgot-password-modal.component'; 18 | 19 | describe('ForgotPasswordModalComponent', () => { 20 | let component: ForgotPasswordModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ ForgotPasswordModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(ForgotPasswordModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/login-modal/login-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/login-modal/login-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { LoginModalComponent } from './login-modal.component'; 18 | 19 | describe('LoginModalComponent', () => { 20 | let component: LoginModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ LoginModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(LoginModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/modals/login-modal/reset.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot, Router} from '@angular/router'; 17 | import {ContextService} from "../../services/context.service"; 18 | 19 | @Injectable() 20 | export class ResetResolve implements Resolve { 21 | 22 | constructor(private context: ContextService) { 23 | } 24 | 25 | resolve(route: ActivatedRouteSnapshot) { 26 | return this.context.purge(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ui/src/app/modals/request-access-modal/request-access-modal.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/modals/request-access-modal/request-access-modal.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { RequestAccessModalComponent } from './request-access-modal.component'; 18 | 19 | describe('RequestAccessModalComponent', () => { 20 | let component: RequestAccessModalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ RequestAccessModalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(RequestAccessModalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/models/contextual-menu.model.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | 16 | 17 | export class ContextualMenu { 18 | name: String; 19 | route: String; 20 | notifications: Number; 21 | 22 | constructor(name, route, notifications?) { 23 | this.name = name; 24 | this.route = route; 25 | this.notifications = notifications; 26 | } 27 | } 28 | 29 | 30 | -------------------------------------------------------------------------------- /ui/src/app/models/group.model.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | let i = 0; 16 | 17 | export class Group { 18 | name: String; 19 | owners: [String]; 20 | members: [String]; 21 | administrators: [String]; 22 | tasks: [String]; 23 | proposals: [String]; 24 | id: any; 25 | metadata: String; 26 | 27 | constructor(name, owners, members, proposals?, administrators?, tasks?, metadata?) { 28 | this.name = name; 29 | this.owners = owners; 30 | this.members = members; 31 | this.proposals = proposals; 32 | this.administrators = administrators; 33 | this.tasks = tasks; 34 | this.metadata = metadata; 35 | this.id = i; 36 | i += 1; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /ui/src/app/models/popup-item.model.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | export class PopupItem{ 16 | label: String; 17 | icon: String; 18 | action: Function; 19 | show: Function; 20 | 21 | constructor(label, icon, action, show?) { 22 | this.label = label; 23 | this.icon = icon; 24 | this.action = action; 25 | this.show = show || function () { 26 | return true; 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /ui/src/app/models/table-header.model.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | export class TableHeader { 16 | title: String; 17 | key: String; 18 | type: String; 19 | onDisplay: Function; 20 | 21 | constructor(title, key, type, onDisplay?) { 22 | this.title = title; 23 | this.key = key; 24 | this.type = type; 25 | this.onDisplay = onDisplay || null; 26 | } 27 | } -------------------------------------------------------------------------------- /ui/src/app/models/user.model.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | let i = 1; 16 | 17 | export class User { 18 | name: String; 19 | ownerOf: [String]; 20 | memberOf: [String]; 21 | administratorOf: [String]; 22 | managers: [String]; 23 | subordinates: [String]; 24 | proposals: [String]; 25 | metadata: String; 26 | id: any; 27 | 28 | constructor(name, ownerOf?, memberOf?, managers?, subordinates?, administratorOf?, proposals?, metadata?) { 29 | this.name = name; 30 | this.ownerOf = ownerOf || []; 31 | this.memberOf = memberOf || []; 32 | this.managers = managers || []; 33 | this.subordinates = subordinates || []; 34 | this.administratorOf = administratorOf || []; 35 | this.proposals = proposals || []; 36 | this.metadata = metadata || ''; 37 | this.id = i; 38 | i += 1; 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups-section/all-groups-section.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups-section/all-groups-section.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups-section/all-groups-section.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { AllGroupsSectionComponent } from './all-groups-section.component'; 18 | 19 | describe('AllGroupsSectionComponent', () => { 20 | let component: AllGroupsSectionComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ AllGroupsSectionComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(AllGroupsSectionComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups-section/all-groups-section.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-all-groups-section', 19 | templateUrl: './all-groups-section.component.html', 20 | styleUrls: ['./all-groups-section.component.scss'] 21 | }) 22 | export class AllGroupsSectionComponent implements OnInit { 23 | 24 | constructor() { } 25 | 26 | ngOnInit() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups/all-groups.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 | 21 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups/all-groups.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups/all-groups.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { AllGroupsComponent } from './all-groups.component'; 18 | 19 | describe('AllGroupsComponent', () => { 20 | let component: AllGroupsComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ AllGroupsComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(AllGroupsComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/all-groups/all-groups.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot} from '@angular/router'; 17 | import {GroupService} from "../../services/groups/group.service"; 18 | import {ContextService} from "../../services/context.service"; 19 | 20 | 21 | @Injectable() 22 | export class AllGroupsResolve implements Resolve { 23 | 24 | constructor(private context: ContextService) { 25 | } 26 | 27 | resolve(route: ActivatedRouteSnapshot) { 28 | return this.context.getAllGroups(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ui/src/app/pages/base/base.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /ui/src/app/pages/base/base.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @import "~styles/variables"; 16 | 17 | .hd-base { 18 | position: relative; 19 | width: 100%; 20 | height: 100vh; 21 | background: url('../../../assets/images/bg/background.png'); 22 | background-repeat: no-repeat; 23 | background-size: cover; 24 | color: $color-gray; 25 | .hd-base-header { 26 | position: relative; 27 | height: calc(14em/3); 28 | } 29 | .hd-base-content { 30 | position: relative; 31 | height: calc(100vh - 7.25em); 32 | padding: .8% .93%; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ui/src/app/pages/base/base.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { BaseComponent } from './base.component'; 18 | 19 | describe('BaseComponent', () => { 20 | let component: BaseComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ BaseComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(BaseComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/base/base.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Component, OnInit} from '@angular/core'; 16 | import {Router} from "@angular/router"; 17 | 18 | @Component({ 19 | selector: 'app-base', 20 | templateUrl: './base.component.html', 21 | styleUrls: ['./base.component.scss'] 22 | }) 23 | export class BaseComponent implements OnInit { 24 | 25 | constructor(private router: Router) { 26 | } 27 | 28 | ngOnInit() { 29 | } 30 | 31 | test() { 32 | 33 | // { 34 | // outlets: { 35 | // 'modal': 'request-access-modal', 36 | // 'main': 'home/all-groups' 37 | // } 38 | // }]); 39 | 40 | this.router.navigate(['/base/start/login']); 41 | } 42 | 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /ui/src/app/pages/home/home.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
18 | 20 |
21 |
24 |
25 | 26 | 27 | 28 |
29 | 30 | 31 |
32 | 33 | -------------------------------------------------------------------------------- /ui/src/app/pages/home/home.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @import "~styles/variables"; 16 | 17 | .home-loader { 18 | z-index: 5; 19 | position: absolute; 20 | top: 0; 21 | left: 0; 22 | width: 100%; 23 | height: 100%; 24 | background: rgba(255, 255,255,.7); 25 | } 26 | .hd-center-abs { 27 | margin-top: 25%; 28 | margin-left: auto; 29 | margin-right: auto; 30 | width: 40em; 31 | text-align: center; 32 | } 33 | -------------------------------------------------------------------------------- /ui/src/app/pages/home/home.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { HomeComponent } from './home.component'; 18 | 19 | describe('HomeComponent', () => { 20 | let component: HomeComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ HomeComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(HomeComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/home/home.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot} from '@angular/router'; 17 | import {AccountService} from "../../services/account.service"; 18 | 19 | @Injectable() 20 | export class HomeResolve implements Resolve { 21 | 22 | constructor(private accountService: AccountService) { 23 | } 24 | 25 | resolve(route: ActivatedRouteSnapshot) { 26 | return this.accountService.getNotifications(); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/members/members.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/members/members.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { MembersComponent } from './members.component'; 18 | 19 | describe('MembersComponent', () => { 20 | let component: MembersComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ MembersComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(MembersComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/members/members.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot} from '@angular/router'; 17 | import {GroupsUtilsService} from "../../services/groups/groups-utils.service"; 18 | 19 | @Injectable() 20 | export class MembersResolve implements Resolve { 21 | 22 | constructor(private groupUtils: GroupsUtilsService) { 23 | } 24 | 25 | resolve(route: ActivatedRouteSnapshot) { 26 | let group = this.groupUtils.getGroup(route.paramMap.get('id')); 27 | let members = this.groupUtils.getGroupMembers(group); 28 | 29 | return { 30 | group: group, 31 | members: members 32 | }; 33 | } 34 | } 35 | 36 | 37 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups-section/my-groups-section.component.html: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups-section/my-groups-section.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups-section/my-groups-section.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { MyGroupsSectionComponent } from './my-groups-section.component'; 18 | 19 | describe('MyGroupsSectionComponent', () => { 20 | let component: MyGroupsSectionComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ MyGroupsSectionComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(MyGroupsSectionComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups-section/my-groups-section.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-my-groups-section', 19 | templateUrl: './my-groups-section.component.html', 20 | styleUrls: ['./my-groups-section.component.scss'] 21 | }) 22 | export class MyGroupsSectionComponent implements OnInit { 23 | 24 | constructor() { } 25 | 26 | ngOnInit() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups/my-groups.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 18 | Create Group 19 | 20 | 21 | 25 | 26 | 29 | 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups/my-groups.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups/my-groups.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { MyGroupsComponent } from './my-groups.component'; 18 | 19 | describe('MyGroupsComponent', () => { 20 | let component: MyGroupsComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ MyGroupsComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(MyGroupsComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/my-groups/my-groups.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | 17 | import {GroupsUtilsService} from "../../services/groups/groups-utils.service"; 18 | import {Resolve} from "@angular/router"; 19 | 20 | 21 | @Injectable() 22 | export class MyGroupsResolve implements Resolve { 23 | 24 | constructor(private groupUtils: GroupsUtilsService) { 25 | } 26 | 27 | resolve() { 28 | return this.groupUtils.getMyGroups(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ui/src/app/pages/pending-approval/pending-approval.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 18 | 19 | -------------------------------------------------------------------------------- /ui/src/app/pages/pending-approval/pending-approval.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/pending-approval/pending-approval.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { PendingApprovalComponent } from './pending-approval.component'; 18 | 19 | describe('PendingApprovalComponent', () => { 20 | let component: PendingApprovalComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ PendingApprovalComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(PendingApprovalComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/pending-approval/pending-approval.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot} from '@angular/router'; 17 | import {RequestsService} from "../../services/requests/requests.service"; 18 | import {UsersUtilsService} from "../../services/users/users-utils.service"; 19 | 20 | @Injectable() 21 | export class PendingApprovalResolve implements Resolve { 22 | 23 | constructor(private requestsService: RequestsService, 24 | private userUtils: UsersUtilsService) { 25 | } 26 | 27 | resolve(route: ActivatedRouteSnapshot) { 28 | return this.userUtils.getRequestsPendingApproval(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ui/src/app/pages/requests/requests.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 18 | 19 | 25 | 26 | 29 | 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/requests/requests.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/requests/requests.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { RequestsComponent } from './requests.component'; 18 | 19 | describe('RequestsComponent', () => { 20 | let component: RequestsComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ RequestsComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(RequestsComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/requests/requests.resolve.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | import {Resolve, ActivatedRouteSnapshot} from '@angular/router'; 17 | import {RequestsService} from "../../services/requests/requests.service"; 18 | import {UsersService} from "../../services/users/users.service"; 19 | 20 | @Injectable() 21 | export class RequestsResolve implements Resolve { 22 | 23 | constructor( 24 | private userService: UsersService, 25 | private requestsService: RequestsService) { 26 | } 27 | 28 | resolve(route: ActivatedRouteSnapshot) { 29 | return this.userService.getUserRequests(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /ui/src/app/pages/start/start.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ui/src/app/pages/start/start.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/pages/start/start.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { StartComponent } from './start.component'; 18 | 19 | describe('StartComponent', () => { 20 | let component: StartComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ StartComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(StartComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/start/start.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-start', 19 | templateUrl: './start.component.html', 20 | styleUrls: ['./start.component.scss'] 21 | }) 22 | export class StartComponent implements OnInit { 23 | 24 | constructor() { } 25 | 26 | ngOnInit() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ui/src/app/pages/testing/testing.component.html: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 | 18 | 19 |
20 | 22 |
23 |
-------------------------------------------------------------------------------- /ui/src/app/pages/testing/testing.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .app-testing { 16 | background-color: grey; 17 | color: black; 18 | width: 400px; 19 | height: 200px; 20 | position: relative; 21 | } 22 | 23 | .center-line { 24 | border: 1px solid red; 25 | width: 1px; 26 | background-color: pink; 27 | position: absolute; 28 | height: 100%; 29 | left: 50%; 30 | } 31 | 32 | .margined { 33 | margin: 0 auto; 34 | background-color: red; 35 | width: 1px; 36 | height: 100%; 37 | } -------------------------------------------------------------------------------- /ui/src/app/pages/testing/testing.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { TestingComponent } from './testing.component'; 18 | 19 | describe('TestingComponent', () => { 20 | let component: TestingComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ TestingComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(TestingComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/pages/testing/testing.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-testing', 19 | templateUrl: './testing.component.html', 20 | styleUrls: ['./testing.component.scss'] 21 | }) 22 | export class TestingComponent implements OnInit { 23 | 24 | public showPopup = true; 25 | public popup = [ 26 | {label: 'Option 1', 27 | icon: 'fa fa-close'}, 28 | {label: 'Option 2', 29 | icon: 'fa fa-close'} 30 | ]; 31 | constructor() { } 32 | 33 | 34 | ngOnInit() { 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button-icon/button-icon.component.html: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button-icon/button-icon.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { ButtonIconComponent } from './button-icon.component'; 18 | 19 | describe('ButtonIconComponent', () => { 20 | let component: ButtonIconComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ ButtonIconComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(ButtonIconComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button-icon/button-icon.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit ,Input ,Output ,EventEmitter } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-button-icon', 19 | templateUrl: './button-icon.component.html', 20 | styleUrls: ['./button-icon.component.css'] 21 | }) 22 | export class ButtonIconComponent implements OnInit { 23 | 24 | constructor() { } 25 | @Input() iconSrc: String; 26 | @Input() disabled = false; 27 | @Output() onClickInner = new EventEmitter(); 28 | 29 | ngOnInit() { 30 | } 31 | 32 | onButtonClick() { 33 | if (!this.disabled) { 34 | this.onClickInner.emit(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button/button.component.html: -------------------------------------------------------------------------------- 1 | 15 | 20 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button/button.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @import "~styles/variables"; 16 | 17 | .app-button { 18 | box-shadow: none; 19 | border-radius: 100px; 20 | display: inline-block; 21 | cursor: pointer; 22 | min-height: 2.8rem; 23 | padding: 0 1rem; 24 | min-width: 6rem; 25 | 26 | text-align: center; 27 | transition: all .5s ease; 28 | &.disabled { 29 | background-color: #c0c0c0; 30 | &:hover { 31 | cursor: not-allowed; 32 | box-shadow: none; 33 | } 34 | &:active { 35 | box-shadow: none; 36 | } 37 | } 38 | } 39 | 40 | 41 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button/button.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { ButtonComponent } from './button.component'; 18 | 19 | describe('ButtonComponent', () => { 20 | let component: ButtonComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ ButtonComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(ButtonComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/button/button.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-button', 19 | templateUrl: './button.component.html', 20 | styleUrls: ['./button.component.scss'] 21 | }) 22 | export class ButtonComponent implements OnInit { 23 | disabled; 24 | 25 | constructor() { 26 | } 27 | 28 | 29 | @Output() onClickInner = new EventEmitter(); 30 | 31 | ngOnInit() { 32 | } 33 | 34 | onButtonClick() { 35 | if (!this.disabled) { 36 | this.onClickInner.emit(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/data-table/data-table.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/data-table/data-table.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { DataTableComponent } from './data-table.component'; 18 | 19 | describe('DataTableComponent', () => { 20 | let component: DataTableComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ DataTableComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(DataTableComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/form-input/form-input.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 | 18 | 19 | 25 | 26 |
28 |
32 |
33 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/form-input/form-input.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | 16 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/form-input/form-input.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { FormInputComponent } from './form-input.component'; 18 | 19 | describe('FormInputComponent', () => { 20 | let component: FormInputComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ FormInputComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(FormInputComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/link/link.component.html: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/link/link.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @import "~styles/variables"; 16 | 17 | .app-link { 18 | a:hover { 19 | cursor: pointer; 20 | color: #c6106e; 21 | text-shadow: 0 1px 2px rgba(0, 0, 0, .32); 22 | } 23 | a:active { 24 | color: #c6106e; 25 | text-shadow: 0 2px 6px rgba(0, 0, 0, .32); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/link/link.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { LinkComponent } from './link.component'; 18 | 19 | describe('LinkComponent', () => { 20 | let component: LinkComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ LinkComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(LinkComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/primary-components/link/link.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-link', 19 | templateUrl: './link.component.html', 20 | styleUrls: ['./link.component.scss'] 21 | }) 22 | export class LinkComponent { 23 | 24 | constructor() { 25 | } 26 | 27 | @Output() onClickInner = new EventEmitter(); 28 | 29 | linkClicked($event) { 30 | this.onClickInner.emit(); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/centered/centered.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 |
18 | 19 |
20 |
21 |
-------------------------------------------------------------------------------- /ui/src/app/secondary-components/centered/centered.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .app-centered { 16 | display: block; 17 | position: relative; 18 | height: 100%; 19 | width: 100%; 20 | } 21 | 22 | .centered-table { 23 | margin: 0 auto; 24 | display: table; 25 | height: 100%; 26 | } 27 | 28 | .centered-table-cell { 29 | display: table-cell; 30 | vertical-align: middle; 31 | } 32 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/centered/centered.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { CenteredComponent } from './centered.component'; 18 | 19 | describe('CenteredComponent', () => { 20 | let component: CenteredComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ CenteredComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(CenteredComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/centered/centered.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit } from '@angular/core'; 16 | 17 | @Component({ 18 | selector: 'app-centered', 19 | templateUrl: './centered.component.html', 20 | styleUrls: ['./centered.component.scss'] 21 | }) 22 | export class CenteredComponent implements OnInit { 23 | 24 | constructor() { } 25 | 26 | ngOnInit() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/contextual-menu/contextual-menu.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 | 18 |
{{pageTitle}}
19 |
20 |
    21 |
  • 25 | {{menu.name}} 26 |
    28 | {{menu.notifications}} 29 |
    30 |
  • 31 |
32 |
-------------------------------------------------------------------------------- /ui/src/app/secondary-components/contextual-menu/contextual-menu.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { ContextualMenuComponent } from './contextual-menu.component'; 18 | 19 | describe('ContextualMenuComponent', () => { 20 | let component: ContextualMenuComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ ContextualMenuComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(ContextualMenuComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/dynamic-component-loader/dynamic-component-loader.component.html: -------------------------------------------------------------------------------- 1 | 15 |
-------------------------------------------------------------------------------- /ui/src/app/secondary-components/dynamic-component-loader/dynamic-component-loader.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/header/header.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
18 |

19 |
20 | 22 |
23 |

{{context.user.name}}

24 |
26 | 27 | 28 | 30 |
31 |
32 |
33 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/header/header.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | 16 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/header/header.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { HeaderComponent } from './header.component'; 18 | 19 | describe('HeaderComponent', () => { 20 | let component: HeaderComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ HeaderComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(HeaderComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/loader/loader.component.html: -------------------------------------------------------------------------------- 1 | 15 |
17 | 18 | 19 | 20 | 21 |
22 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/loader/loader.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/loader/loader.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { LoaderComponent } from './loader.component'; 18 | 19 | describe('LoaderComponent', () => { 20 | let component: LoaderComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ LoaderComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(LoaderComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/loader/loader.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core'; 16 | import {stringDistance} from "codelyzer/util/utils"; 17 | 18 | @Component({ 19 | selector: 'app-loader', 20 | templateUrl: './loader.component.html', 21 | styleUrls: ['./loader.component.scss'] 22 | }) 23 | export class LoaderComponent implements OnInit { 24 | 25 | constructor() { 26 | } 27 | 28 | @Input() size = 'hd-full-overlay'; 29 | @Input() color = 'overlay-loader'; 30 | 31 | private _show; 32 | @Output() showChange = new EventEmitter(); 33 | 34 | @Input() 35 | set show(value) { 36 | this._show = value; 37 | this.showChange.emit(this._show); 38 | } 39 | 40 | get show() { 41 | return this._show; 42 | } 43 | 44 | ngOnInit() { 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/members-actions/members-actions.component.html: -------------------------------------------------------------------------------- 1 | 15 |
17 | 19 | 21 |
22 | 23 |
24 | 25 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/members-actions/members-actions.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/members-actions/members-actions.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { MembersActionsComponent } from './members-actions.component'; 18 | 19 | describe('MembersActionsComponent', () => { 20 | let component: MembersActionsComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ MembersActionsComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(MembersActionsComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/modal-wrapper/modal-wrapper.component.html: -------------------------------------------------------------------------------- 1 | 15 |
17 | 18 | 25 | 26 |
27 | 28 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/modal-wrapper/modal-wrapper.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-footer/panel-footer.component.html: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-footer/panel-footer.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-footer/panel-footer.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { PanelFooterComponent } from './panel-footer.component'; 18 | 19 | describe('PanelFooterComponent', () => { 20 | let component: PanelFooterComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ PanelFooterComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(PanelFooterComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-header/panel-header.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 | 20 |

{{header}}

21 |
22 |
23 | 24 |
25 |
26 | 27 |

{{header}}

-------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-header/panel-header.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-header/panel-header.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { PanelHeaderComponent } from './panel-header.component'; 18 | 19 | describe('PanelHeaderComponent', () => { 20 | let component: PanelHeaderComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ PanelHeaderComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(PanelHeaderComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/panel-header/panel-header.component.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { Component, OnInit, Input } from '@angular/core'; 16 | import {ActivatedRoute, Route, Router} from "@angular/router"; 17 | 18 | @Component({ 19 | selector: 'app-panel-header', 20 | templateUrl: './panel-header.component.html', 21 | styleUrls: ['./panel-header.component.scss'] 22 | }) 23 | export class PanelHeaderComponent implements OnInit { 24 | 25 | constructor(private router: Router, 26 | private route: ActivatedRoute) { } 27 | @Input() returnLink; 28 | @Input() header; 29 | 30 | ngOnInit() { 31 | } 32 | 33 | goBack() { 34 | this.router.navigate([this.returnLink], {relativeTo: this.route}); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/pending-approval-actions/pending-approval-actions.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 | 17 | 18 | 19 | 20 |
21 | 22 |
23 | 24 | 26 |
-------------------------------------------------------------------------------- /ui/src/app/secondary-components/pending-approval-actions/pending-approval-actions.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .pending-approval-actions { 16 | 17 | margin: auto 0; 18 | font-size: 1.5em; 19 | } 20 | .spacer { 21 | display: inline-block; 22 | width: 1em; 23 | } -------------------------------------------------------------------------------- /ui/src/app/secondary-components/popup/popup.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 |
17 |
18 |
    19 |
  • 21 |
    23 | 24 | 26 | {{listItem.label}} 27 | 28 |
    29 |
  • 30 |
31 |
32 |
33 |
-------------------------------------------------------------------------------- /ui/src/app/secondary-components/popup/popup.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/popup/popup.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { PopupComponent } from './popup.component'; 18 | 19 | describe('PopupComponent', () => { 20 | let component: PopupComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ PopupComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(PopupComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/requests-actions/requests-actions.component.html: -------------------------------------------------------------------------------- 1 | 15 |
16 | 17 | 18 |
19 | 20 |
21 | 23 | 25 |
26 | 27 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/requests-actions/requests-actions.component.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/app/secondary-components/requests-actions/requests-actions.component.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 16 | 17 | import { RequestsActionsComponent } from './requests-actions.component'; 18 | 19 | describe('RequestsActionsComponent', () => { 20 | let component: RequestsActionsComponent; 21 | let fixture: ComponentFixture; 22 | 23 | beforeEach(async(() => { 24 | TestBed.configureTestingModule({ 25 | declarations: [ RequestsActionsComponent ] 26 | }) 27 | .compileComponents(); 28 | })); 29 | 30 | beforeEach(() => { 31 | fixture = TestBed.createComponent(RequestsActionsComponent); 32 | component = fixture.componentInstance; 33 | fixture.detectChanges(); 34 | }); 35 | 36 | it('should create', () => { 37 | expect(component).toBeTruthy(); 38 | }); 39 | }); 40 | -------------------------------------------------------------------------------- /ui/src/app/services/constants.service.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | export const colors = { 16 | 'default-blue': '#6A8DA8', 17 | 'active-pink': '#F5006D', 18 | 'button-pink': '#E20074', 19 | 'greyish-brown': '#55555' 20 | }; 21 | -------------------------------------------------------------------------------- /ui/src/app/services/context.service.spec.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { TestBed, inject } from '@angular/core/testing'; 16 | 17 | import { ContextService } from './context.service'; 18 | 19 | describe('ContextService', () => { 20 | beforeEach(() => { 21 | TestBed.configureTestingModule({ 22 | providers: [ContextService] 23 | }); 24 | }); 25 | 26 | it('should be created', inject([ContextService], (service: ContextService) => { 27 | expect(service).toBeTruthy(); 28 | })); 29 | }); 30 | -------------------------------------------------------------------------------- /ui/src/app/services/responsive-navigation.service.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import {Injectable} from '@angular/core'; 16 | 17 | @Injectable() 18 | export class ResponsiveNavigationService { 19 | public showSidemenu = false; 20 | 21 | constructor() { 22 | } 23 | 24 | toggleSidemenu() { 25 | this.showSidemenu = !this.showSidemenu; 26 | } 27 | 28 | setSidemenu(value) { 29 | this.showSidemenu = value; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /ui/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/.gitkeep -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Black.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-BlackItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Bold.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-BoldItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraBold.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraLight.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraLightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ExtraLightItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Italic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Light.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-LightItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Medium.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-MediumItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Regular.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-SemiBold.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-Thin.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Ex2_ttf/Exo2-ThinItalic.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Black.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-BlackItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-BlackItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Bold.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-BoldItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraBold.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraBoldItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraLight.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraLightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ExtraLightItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Italic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Light.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-LightItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Medium.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-MediumItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Regular.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-SemiBold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-SemiBold.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-SemiBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-SemiBoldItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-Thin.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ThinItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_Woff/Exo2-ThinItalic.woff -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Black.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Black.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-BlackItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-BlackItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Bold.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-BoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-BoldItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraBold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraBold.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraBoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraBoldItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraLight.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraLight.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraLightItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ExtraLightItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Italic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Light.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-LightItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-LightItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Medium.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Medium.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-MediumItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-MediumItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Regular.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-SemiBold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-SemiBold.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-SemiBoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-SemiBoldItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Thin.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-Thin.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ThinItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_eot/Exo2-ThinItalic.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Black.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Bold.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-BoldItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraBold.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraBoldItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraLight.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraLight.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraLightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ExtraLightItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Italic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Light.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-LightItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-LightItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Medium.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-MediumItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-MediumItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Regular.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-SemiBold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-SemiBold.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-SemiBoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-SemiBoldItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-Thin.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ThinItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/ex2/Exo2_woff2/Exo2-ThinItalic.woff2 -------------------------------------------------------------------------------- /ui/src/assets/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/icomoon.eot -------------------------------------------------------------------------------- /ui/src/assets/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/icomoon.ttf -------------------------------------------------------------------------------- /ui/src/assets/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/fonts/icomoon.woff -------------------------------------------------------------------------------- /ui/src/assets/gif/hd-landing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/gif/hd-landing.gif -------------------------------------------------------------------------------- /ui/src/assets/gif/hd-loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/gif/hd-loading.gif -------------------------------------------------------------------------------- /ui/src/assets/gif/pacman_loader-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/gif/pacman_loader-2.gif -------------------------------------------------------------------------------- /ui/src/assets/images/HD_Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/HD_Logo.png -------------------------------------------------------------------------------- /ui/src/assets/images/HD_Logo2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/HD_Logo2x.png -------------------------------------------------------------------------------- /ui/src/assets/images/HD_Logo_Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/HD_Logo_Light.png -------------------------------------------------------------------------------- /ui/src/assets/images/HD_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/HD_title.png -------------------------------------------------------------------------------- /ui/src/assets/images/HD_title_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/HD_title_light.png -------------------------------------------------------------------------------- /ui/src/assets/images/bg/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/bg/background.png -------------------------------------------------------------------------------- /ui/src/assets/images/bg/background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/bg/background@2x.png -------------------------------------------------------------------------------- /ui/src/assets/images/bg/background@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/assets/images/bg/background@3x.png -------------------------------------------------------------------------------- /ui/src/assets/svg/profile-picture.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ic/account_circle/grey600 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ui/src/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmobile/hyperdirectory/297251c3413f806c05b8b5f45fa24fea05572a79/ui/src/favicon.png -------------------------------------------------------------------------------- /ui/src/index.html: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | Hyper Directory 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ui/src/main.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | import { enableProdMode } from '@angular/core'; 16 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 17 | 18 | import { AppModule } from './app/app.module'; 19 | import { environment } from './environments/environment'; 20 | 21 | if (environment.production) { 22 | enableProdMode(); 23 | } 24 | 25 | platformBrowserDynamic().bootstrapModule(AppModule) 26 | .catch(err => console.log(err)); 27 | -------------------------------------------------------------------------------- /ui/src/styles/init/_mixins.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @mixin border-radius($radius) { 16 | -webkit-border-radius: $radius; 17 | border-radius: $radius; 18 | background-clip: padding-box; 19 | } 20 | 21 | @mixin box-sizing($box-model) { 22 | -webkit-box-sizing: $box-model; // Safari <= 5 23 | -moz-box-sizing: $box-model; // Firefox <= 19 24 | box-sizing: $box-model; 25 | } 26 | 27 | @mixin gutter-horizontal($distance) { 28 | * + * { 29 | margin-left: $distance; 30 | } 31 | } 32 | 33 | @mixin gutter-vertical($distance) { 34 | * + * { 35 | margin-top: $distance; 36 | } 37 | } 38 | 39 | @mixin transition($prop, $time, $ease, $delay) { 40 | -webkit-transition: $prop $time $ease $delay; 41 | -moz-transition: $prop $time $ease $delay; 42 | -ms-transition: $prop $time $ease $delay; 43 | -o-transition: $prop $time $ease $delay; 44 | transition: $prop $time $ease $delay; 45 | } -------------------------------------------------------------------------------- /ui/src/styles/init/_test.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .test-border { 16 | border: 1px solid red; 17 | } 18 | 19 | .test-back { 20 | background-color: pink; 21 | } 22 | 23 | .font-12 { 24 | font-size: 12px; 25 | } 26 | .font-14 { 27 | font-size: 14px; 28 | } 29 | .font-16 { 30 | font-size: 16px; 31 | } 32 | .font-32 { 33 | font-size: 32px; 34 | } 35 | 36 | .font-2em { 37 | font-size: 2em; 38 | } 39 | .font-15em { 40 | font-size: 1.5em; 41 | } -------------------------------------------------------------------------------- /ui/src/styles/modules/_actions.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .hd-actions { 16 | display: flex; 17 | justify-content: space-between; 18 | align-items: center; 19 | @include gutter-horizontal(8px) 20 | } 21 | .hd-single-action { 22 | justify-content: space-around; 23 | } 24 | 25 | .hd-actions-icons { 26 | font-size: 2rem; 27 | } -------------------------------------------------------------------------------- /ui/src/styles/modules/_anchor.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .link-primary { 16 | color: $color-pink; 17 | a { 18 | font-size: 1.25em; 19 | 20 | } 21 | } 22 | 23 | .link-default { 24 | color: $color-faded-gray; 25 | a { 26 | font-size: 1em; 27 | } 28 | } 29 | 30 | .link-bold { 31 | color: $color-pink; 32 | a { 33 | font-family: ex2-bold; 34 | font-size: 1.25em; 35 | 36 | } 37 | } 38 | 39 | .link-icon { 40 | a { 41 | font-size: 1.5em; 42 | } 43 | } 44 | 45 | .link-bold-disabled { 46 | a { 47 | color: $color-gray-border !important; 48 | cursor: not-allowed !important; 49 | font-size: 1.25rem; 50 | font-family: ex2-bold; 51 | &:hover { 52 | text-shadow: none !important; 53 | box-shadow: none !important; 54 | } 55 | &:active{ 56 | text-shadow: none !important; 57 | box-shadow: none !important; 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ui/src/styles/modules/_form-input.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .hd-form-input { 16 | margin-top: 2rem; 17 | text-align: left; 18 | position: relative; 19 | z-index: 1; 20 | input { 21 | width: 100%; 22 | box-sizing: border-box; 23 | border: none; 24 | background: transparent; 25 | color: black; 26 | font-size: 1.2em; 27 | font-weight: 500; 28 | display: block; 29 | padding: 1px 0 5px 0; 30 | } 31 | label { 32 | margin-top: 1em; 33 | display: block; 34 | color: $color-text-subtle; 35 | font-size: 1.2em; 36 | line-height: 1.33; 37 | position: absolute; 38 | top: -1em; 39 | z-index: -1; 40 | } 41 | p { 42 | font-size: 1.2em; 43 | margin-top: 1em; 44 | display: block; 45 | line-height: 1.33; 46 | position: relative; 47 | top: -5px; 48 | z-index: -1; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /ui/src/styles/modules/_h.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | h1 { 16 | font-size: calc(25em/12); 17 | font-weight: 500; 18 | } 19 | 20 | h2 { 21 | font-size: 1.8em; 22 | } 23 | 24 | h3 { 25 | font-size: 1.6em; 26 | } 27 | 28 | h4 { 29 | font-size: 1.25em; 30 | font-weight: 500; 31 | font-family: ex2-medium; 32 | } 33 | 34 | h5 { 35 | font-size: 1.2em; 36 | } 37 | 38 | h6 { 39 | font-size: 1em; 40 | font-family: ex2-medium; 41 | letter-spacing: 0.1px; 42 | } 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /ui/src/styles/modules/_loader.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | -------------------------------------------------------------------------------- /ui/src/styles/modules/_overlay.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .hd-full-overlay { 16 | z-index: -10; 17 | position: fixed; 18 | top: 0; 19 | left: 0; 20 | width: 100%; 21 | height: 100%; 22 | background-color: rgba(0, 0, 0, 0); 23 | &.shown { 24 | background-color: rgba(0, 0, 0, .3); 25 | z-index: 1; 26 | } 27 | } 28 | 29 | .hd-overlay { 30 | z-index: -10; 31 | position: absolute; 32 | top: 0; 33 | left: 0; 34 | bottom: 0; 35 | right: 0; 36 | } 37 | 38 | .overlay-loader { 39 | background-color: rgba(255, 255, 255, 0); 40 | &.shown { 41 | background-color: rgba(255, 255, 255, .3); 42 | z-index: 1; 43 | } 44 | } 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /ui/src/styles/modules/_underline.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | .underline { 16 | width: 100%; 17 | border-bottom: 1px solid $color-gray; 18 | position: absolute; 19 | &.faded { 20 | border-bottom: 1px solid $color-gray-border; 21 | } 22 | } 23 | 24 | .underline-overlay { 25 | width: 0; 26 | border-bottom: 2px solid #555555; 27 | position: absolute; 28 | } -------------------------------------------------------------------------------- /ui/src/styles/responsive/_large.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @media #{$media-on-large} { 16 | .hd-on-mobile { 17 | display: none; 18 | } 19 | .hd-layout-content { 20 | padding: 1em 2%; 21 | } 22 | } -------------------------------------------------------------------------------- /ui/src/styles/responsive/_small.scss: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | @media #{$media-on-small} { 16 | .hd-on-desktop { 17 | display: none; 18 | } 19 | .hd-panel-menu { 20 | width: 30vw; 21 | position: fixed; 22 | top: 0; 23 | left: 0; 24 | height: 100vh; 25 | z-index: 2; 26 | @include transition(all, .5s, ease, 0s); 27 | &.hidden { 28 | transform: translateX(-30vw); 29 | } 30 | } 31 | .hd-panel-content { 32 | width: 100%; 33 | padding: 0 5px; 34 | } 35 | .hd-table { 36 | th,td { 37 | &:first-child { 38 | padding-left: 2px; 39 | } 40 | &:last-child { 41 | padding-right: 2px; 42 | } 43 | } 44 | .table-cell-options { 45 | width: 2em; 46 | } 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /ui/src/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "baseUrl": "./", 6 | "module": "es2015", 7 | "types": [] 8 | }, 9 | "exclude": [ 10 | "test.ts", 11 | "**/*.spec.ts" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /ui/src/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/spec", 5 | "baseUrl": "./", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": [ 9 | "jasmine", 10 | "node" 11 | ] 12 | }, 13 | "files": [ 14 | "test.ts" 15 | ], 16 | "include": [ 17 | "**/*.spec.ts", 18 | "**/*.d.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /ui/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | /*========================================================================= 2 | Copyright © 2017 T-Mobile USA, Inc. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | =========================================================================*/ 15 | 16 | declare var module: NodeModule; 17 | interface NodeModule { 18 | id: string; 19 | } 20 | -------------------------------------------------------------------------------- /ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "outDir": "./dist/out-tsc", 5 | "sourceMap": true, 6 | "declaration": false, 7 | "moduleResolution": "node", 8 | "emitDecoratorMetadata": true, 9 | "experimentalDecorators": true, 10 | "target": "es5", 11 | "typeRoots": [ 12 | "node_modules/@types" 13 | ], 14 | "lib": [ 15 | "es2017", 16 | "dom" 17 | ] 18 | } 19 | } 20 | --------------------------------------------------------------------------------