-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/openmrs/openmrs-esm-patient…
…-chart into feature/vitals-biometrics-crud-actions
- Loading branch information
Showing
64 changed files
with
1,213 additions
and
1,342 deletions.
There are no files selected for viewing
593 changes: 297 additions & 296 deletions
593
.yarn/releases/yarn-4.1.1.cjs → .yarn/releases/yarn-4.2.2.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@openmrs/esm-patient-chart", | ||
"private": true, | ||
"version": "7.1.0", | ||
"version": "8.0.1", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
|
@@ -15,21 +15,28 @@ | |
"postinstall": "husky install", | ||
"test-e2e": "playwright test" | ||
}, | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.3.1", | ||
"classnames": "^2.3.2", | ||
"react-hook-form": "^7.46.2", | ||
"react-to-print": "^2.14.13", | ||
"zod": "^3.22.2" | ||
}, | ||
"devDependencies": { | ||
"@openmrs/esm-framework": "next", | ||
"@playwright/test": "1.44.0", | ||
"@swc/cli": "^0.1.62", | ||
"@swc/core": "^1.3.89", | ||
"@swc/jest": "^0.2.29", | ||
"@testing-library/dom": "^9.3.3", | ||
"@testing-library/jest-dom": "^6.1.5", | ||
"@testing-library/react": "^14.1.2", | ||
"@testing-library/user-event": "^14.5.1", | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/jest-dom": "^6.4.5", | ||
"@testing-library/react": "^15.0.7", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@types/fhir": "^0.0.31", | ||
"@types/jest": "^29.5.11", | ||
"@types/lodash-es": "^4.17.9", | ||
"@types/react": "^18.2.22", | ||
"@types/react-dom": "^18.2.7", | ||
"@types/react": "^18.3.2", | ||
"@types/react-dom": "^18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"babel-preset-minify": "^0.5.2", | ||
|
@@ -53,8 +60,8 @@ | |
"lodash": "^4.17.21", | ||
"openmrs": "next", | ||
"prettier": "^3.0.3", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-i18next": "^11.18.6", | ||
"react-router-dom": "^6.16.0", | ||
"rxjs": "^7.8.0", | ||
|
@@ -73,12 +80,5 @@ | |
"resolutions": { | ||
"sass": "^1.54.3" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.3.1", | ||
"classnames": "^2.3.2", | ||
"react-hook-form": "^7.46.2", | ||
"react-to-print": "^2.14.13", | ||
"zod": "^3.22.2" | ||
} | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
packages/esm-form-engine-app/src/form-renderer/repeat/delete-question-modal.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react'; | ||
|
||
interface DeleteModalProps { | ||
onConfirm: () => void; | ||
onCancel: () => void; | ||
} | ||
|
||
const DeleteModal: React.FC<DeleteModalProps> = ({ onConfirm, onCancel }) => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<React.Fragment> | ||
<ModalHeader | ||
closeModal={onCancel} | ||
title={t('deleteQuestionConfirmation', 'Are you sure you want to delete this question?')} | ||
/> | ||
<ModalBody> | ||
<p>{t('deleteQuestionExplainerText', 'This action cannot be undone.')}</p> | ||
</ModalBody> | ||
<ModalFooter> | ||
<Button kind="secondary" onClick={onCancel}> | ||
{t('cancel', 'Cancel')} | ||
</Button> | ||
<Button kind="danger" onClick={onConfirm}> | ||
{t('deleteQuestion', 'Delete question')} | ||
</Button> | ||
</ModalFooter> | ||
</React.Fragment> | ||
); | ||
}; | ||
|
||
export default DeleteModal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
packages/esm-patient-attachments-app/src/attachments/use-allowed-extensions.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.