Skip to content

Commit 91819f9

Browse files
init commit
0 parents  commit 91819f9

File tree

2,498 files changed

+509312
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,498 files changed

+509312
-0
lines changed

.gitignore

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
debug
5+
bin
6+
obj
7+
*.user
8+
.vs
9+
*.js.map
10+
*~
11+
*.sw[mnpcod]
12+
*.log
13+
*.tmp
14+
*.tmp.*
15+
log.txt
16+
*.sublime-project
17+
*.sublime-workspace
18+
.vscode/
19+
npm-debug.log*
20+
21+
.idea/
22+
.sourcemaps/
23+
.sass-cache/
24+
.tmp/
25+
.versions/
26+
coverage/
27+
dist/
28+
node_modules/
29+
tmp/
30+
temp/
31+
hooks/
32+
platforms/
33+
plugins/
34+
plugins/android.json
35+
plugins/ios.json
36+
$RECYCLE.BIN/
37+
38+
.DS_Store
39+
Thumbs.db
40+
UserInterfaceState.xcuserstate
41+
.firebase/
42+
43+
api/Medico.Api/DB/Scripts
44+
medico/Infrastructure/Data/Medico.Data/SqlScripts

PatientPortal/.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

PatientPortal/.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "medico-patient-portal"
4+
}
5+
}

PatientPortal/.gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events.json
15+
speed-measure-plugin.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

PatientPortal/README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Medico
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.4.
4+
5+
## Development server
6+
7+
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.
8+
9+
## Code scaffolding
10+
11+
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`.
12+
13+
## Build
14+
15+
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.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24+
25+
## Further help
26+
27+
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).

PatientPortal/angular.json

+159
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"medico-patient-portal": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "sass"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "tsconfig.app.json",
25+
"aot": false,
26+
"assets": [
27+
"src/favicon.ico",
28+
"src/assets"
29+
],
30+
"styles": [
31+
"node_modules/devextreme/dist/css/dx.common.css",
32+
"node_modules/devextreme/dist/css/dx.light.css",
33+
"node_modules/bootstrap/dist/css/bootstrap.min.css",
34+
"node_modules/tui-color-picker/dist/tui-color-picker.min.css",
35+
"src/styles.sass",
36+
"node_modules/ngx-toastr/toastr.css"
37+
],
38+
"scripts": [
39+
"node_modules/tiff.js/tiff.min.js",
40+
"node_modules/jquery/dist/jquery.min.js",
41+
"node_modules/dwt/dist/dynamsoft.webtwain.min.js"
42+
]
43+
},
44+
"configurations": {
45+
"production": {
46+
"fileReplacements": [
47+
{
48+
"replace": "src/environments/environment.ts",
49+
"with": "src/environments/environment.prod.ts"
50+
}
51+
],
52+
"optimization": true,
53+
"outputHashing": "bundles",
54+
"sourceMap": false,
55+
"extractCss": true,
56+
"namedChunks": false,
57+
"aot": false,
58+
"extractLicenses": true,
59+
"vendorChunk": false,
60+
"buildOptimizer": false,
61+
"budgets": [
62+
{
63+
"type": "initial",
64+
"maximumWarning": "2mb",
65+
"maximumError": "15mb"
66+
}
67+
]
68+
},
69+
"staging": {
70+
"fileReplacements": [
71+
{
72+
"replace": "src/environments/environment.ts",
73+
"with": "src/environments/environment.staging.ts"
74+
}
75+
],
76+
"optimization": true,
77+
"outputHashing": "bundles",
78+
"sourceMap": false,
79+
"extractCss": true,
80+
"namedChunks": false,
81+
"aot": false,
82+
"extractLicenses": true,
83+
"vendorChunk": false,
84+
"buildOptimizer": false,
85+
"budgets": [
86+
{
87+
"type": "initial",
88+
"maximumWarning": "2mb",
89+
"maximumError": "15mb"
90+
}
91+
]
92+
}
93+
}
94+
},
95+
"serve": {
96+
"builder": "@angular-devkit/build-angular:dev-server",
97+
"options": {
98+
"browserTarget": "medico-patient-portal:build",
99+
"port": 4201
100+
},
101+
"configurations": {
102+
"production": {
103+
"browserTarget": "medico:build:production"
104+
}
105+
}
106+
},
107+
"extract-i18n": {
108+
"builder": "@angular-devkit/build-angular:extract-i18n",
109+
"options": {
110+
"browserTarget": "medico-patient-portal:build"
111+
}
112+
},
113+
"test": {
114+
"builder": "@angular-devkit/build-angular:karma",
115+
"options": {
116+
"main": "src/test.ts",
117+
"polyfills": "src/polyfills.ts",
118+
"tsConfig": "tsconfig.spec.json",
119+
"karmaConfig": "karma.conf.js",
120+
"assets": [
121+
"src/favicon.ico",
122+
"src/assets"
123+
],
124+
"styles": [
125+
"src/styles.sass"
126+
],
127+
"scripts": []
128+
}
129+
},
130+
"lint": {
131+
"builder": "@angular-devkit/build-angular:tslint",
132+
"options": {
133+
"tsConfig": [
134+
"tsconfig.app.json",
135+
"tsconfig.spec.json",
136+
"e2e/tsconfig.json"
137+
],
138+
"exclude": [
139+
"**/node_modules/**"
140+
]
141+
}
142+
},
143+
"e2e": {
144+
"builder": "@angular-devkit/build-angular:protractor",
145+
"options": {
146+
"protractorConfig": "e2e/protractor.conf.js",
147+
"devServerTarget": "medico-patient-portal:serve"
148+
},
149+
"configurations": {
150+
"production": {
151+
"devServerTarget": "medico-patient-portal:serve:production"
152+
}
153+
}
154+
}
155+
}
156+
}
157+
},
158+
"defaultProject": "medico-patient-portal"
159+
}

PatientPortal/browserslist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

PatientPortal/e2e/protractor.conf.js

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// @ts-check
2+
// Protractor configuration file, see link for more information
3+
// https://github.com/angular/protractor/blob/master/lib/config.ts
4+
5+
const { SpecReporter } = require('jasmine-spec-reporter');
6+
7+
/**
8+
* @type { import("protractor").Config }
9+
*/
10+
exports.config = {
11+
allScriptsTimeout: 11000,
12+
specs: [
13+
'./src/**/*.e2e-spec.ts'
14+
],
15+
capabilities: {
16+
'browserName': 'chrome'
17+
},
18+
directConnect: true,
19+
baseUrl: 'http://localhost:4200/',
20+
framework: 'jasmine',
21+
jasmineNodeOpts: {
22+
showColors: true,
23+
defaultTimeoutInterval: 30000,
24+
print: function() {}
25+
},
26+
onPrepare() {
27+
require('ts-node').register({
28+
project: require('path').join(__dirname, './tsconfig.json')
29+
});
30+
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31+
}
32+
};

PatientPortal/e2e/src/app.e2e-spec.ts

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { AppPage } from './app.po';
2+
import { browser, logging } from 'protractor';
3+
4+
describe('workspace-project App', () => {
5+
let page: AppPage;
6+
7+
beforeEach(() => {
8+
page = new AppPage();
9+
});
10+
11+
it('should display welcome message', () => {
12+
page.navigateTo();
13+
expect(page.getTitleText()).toEqual('Welcome to medico!');
14+
});
15+
16+
afterEach(async () => {
17+
// Assert that there are no errors emitted from the browser
18+
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19+
expect(logs).not.toContain(jasmine.objectContaining({
20+
level: logging.Level.SEVERE,
21+
} as logging.Entry));
22+
});
23+
});

PatientPortal/e2e/src/app.po.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo() {
5+
return browser.get(browser.baseUrl) as Promise<any>;
6+
}
7+
8+
getTitleText() {
9+
return element(by.css('app-root h1')).getText() as Promise<string>;
10+
}
11+
}

PatientPortal/e2e/tsconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/e2e",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"types": [
8+
"jasmine",
9+
"jasminewd2",
10+
"node"
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)