Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding data entry statistics to facility metrics #9

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 109 additions & 109 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,110 +1,110 @@
{
"name": "@ugandaemr/esm-ugandaemr-exchange-app",
"version": "1.0.0",
"license": "MPL-2.0",
"description": "A frontend module for Health Information Exchange in UgandaEMR",
"browser": "dist/esm-ugandaemr-exchange-app.js",
"main": "src/index.ts",
"source": true,
"scripts": {
"start": "openmrs develop --backend http://194.163.171.253:8282",
"serve": "webpack serve --mode=development",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
"lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"typescript": "tsc",
"test": "jest --config jest.config.js --passWithNoTests",
"verify": "turbo lint typescript coverage",
"coverage": "yarn test --coverage",
"prepare": "husky install",
"extract-translations": "i18next 'src/**/*.component.tsx' --config ./i18next-parser.config.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn verify"
}
},
"browserslist": [
"extends browserslist-config-openmrs"
],
"keywords": [
"openmrs",
"microfrontends"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mets-programme/esm-ugandaemr-template-app.git"
},
"homepage": "https://github.com/mets-programme/esm-ugandaemr-template-app#readme",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/mets-programme/esm-ugandaemr-template-app/issues"
},
"dependencies": {
"@carbon/charts-react": "^1.13.6",
"@carbon/react": "^1.33.1",
"d3": "^7.6.1",
"dayjs": "^1.11.10",
"lodash-es": "^4.17.21",
"react-image-annotate": "^1.8.0"
},
"peerDependencies": {
"@openmrs/esm-framework": "*",
"react": "18.x",
"react-i18next": "11.x",
"react-router-dom": "6.x",
"rxjs": "6.x"
},
"devDependencies": {
"@carbon/charts-react": "^1.13.6",
"@openmrs/esm-framework": "next",
"@openmrs/esm-styleguide": "next",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
"@testing-library/dom": "^8.20.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/file-saver": "2.0.5",
"@types/jest": "^28.1.8",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"css-loader": "^6.8.1",
"d3": "^7.6.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"file-saver": "^2.0.5",
"husky": "^8.0.0",
"i18next": "^23.2.8",
"i18next-parser": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-cli": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"openmrs": "next",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.18.6",
"react-router-dom": "^6.14.1",
"rxjs": "^6.6.7",
"swc-loader": "^0.2.3",
"turbo": "^1.10.7",
"typescript": "^4.9.5",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
},
"packageManager": "[email protected]"
}
"name": "@ugandaemr/esm-ugandaemr-exchange-app",
"version": "1.0.0",
"license": "MPL-2.0",
"description": "A frontend module for Health Information Exchange in UgandaEMR",
"browser": "dist/esm-ugandaemr-exchange-app.js",
"main": "src/index.ts",
"source": true,
"scripts": {
"start": "openmrs develop --backend http://194.163.171.253:8282",
"serve": "webpack serve --mode=development",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
"lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"typescript": "tsc",
"test": "jest --config jest.config.js --passWithNoTests",
"verify": "turbo lint typescript coverage",
"coverage": "yarn test --coverage",
"prepare": "husky install",
"extract-translations": "i18next 'src/**/*.component.tsx' --config ./i18next-parser.config.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn verify"
}
},
"browserslist": [
"extends browserslist-config-openmrs"
],
"keywords": [
"openmrs",
"microfrontends"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mets-programme/esm-ugandaemr-template-app.git"
},
"homepage": "https://github.com/mets-programme/esm-ugandaemr-template-app#readme",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/mets-programme/esm-ugandaemr-template-app/issues"
},
"dependencies": {
"@carbon/charts-react": "^1.13.6",
"@carbon/react": "^1.33.1",
"d3": "^7.6.1",
"dayjs": "^1.11.10",
"lodash-es": "^4.17.21",
"react-image-annotate": "^1.8.0"
},
"peerDependencies": {
"@openmrs/esm-framework": "*",
"react": "18.x",
"react-i18next": "11.x",
"react-router-dom": "6.x",
"rxjs": "6.x"
},
"devDependencies": {
"@carbon/charts-react": "^1.13.6",
"@openmrs/esm-framework": "next",
"@openmrs/esm-styleguide": "next",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.68",
"@swc/jest": "^0.2.26",
"@testing-library/dom": "^8.20.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/file-saver": "2.0.5",
"@types/jest": "^28.1.8",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"css-loader": "^6.8.1",
"d3": "^7.6.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"file-saver": "^2.0.5",
"husky": "^8.0.0",
"i18next": "^23.2.8",
"i18next-parser": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-cli": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"openmrs": "next",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.18.6",
"react-router-dom": "^6.14.1",
"rxjs": "^6.6.7",
"swc-loader": "^0.2.3",
"turbo": "^1.10.7",
"typescript": "^4.9.5",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
},
"packageManager": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
@use '@carbon/styles/scss/spacing';
@use '@carbon/styles/scss/colors';
@use '@carbon/styles/scss/type';
@import "../../root.scss";
* {
box-sizing: border-box;
}

.tile {
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-flow: row wrap;
height: 10rem;
padding: spacing.$spacing-05;
border-radius: 0.2rem;
margin: 1rem 0;
// max-width: 100%;
.tileDiv {
margin: 0.5rem;
height: 3.5rem;
}
:global(.cds--label) {
font-size: 1rem;
}
:global(.cds--date-picker-container) {
width: 10rem;
margin-right: 3rem;
}
.actionButton {
height: 3rem;
}
}

.dataTableContainer {
background-color: colors.$gray-10;
}

.tableContainer {
background-color: colors.$gray-10;
margin: 0 spacing.$spacing-05;
padding: 0;
:global(.cds--table-sort__description) {
display: none;
}
}

.layerTable {
display: flex;
justify-content: center;
align-items: center;
padding: spacing.$spacing-05;
margin: 2rem 0;
text-align: center;
border: 1px solid colors.$gray-20;
}

.tileTable {
margin: auto;
}

.contentTable {
@include type.type-style("heading-compact-02");
color: colors.$gray-70;
margin-top: spacing.$spacing-05;
margin-bottom: spacing.$spacing-03;
}

.explainerTable {
@include type.type-style('body-compact-01');
color: colors.$gray-70;
}
Loading
Loading