-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
54 additions
and
69 deletions.
There are no files selected for viewing
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,19 +1,17 @@ | ||
import { Tile } from "@carbon/react"; | ||
import React from "react"; | ||
import { useTranslation } from "react-i18next"; | ||
// import { | ||
// EmptyStateComingSoon, | ||
// EncounterListProps, | ||
// PatientChartProps, | ||
// } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
|
||
const TabOne: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
const { t } = useTranslation(); | ||
|
||
const headerTitle = t("tabOne", "Tab One"); | ||
const title = t("tabOne", "Tab One"); | ||
|
||
// return <EmptyStateComingSoon headerTitle={"Tab One"} />; | ||
return <Tile> Tab One </Tile>; | ||
return ( | ||
<> | ||
<EmptyStateComingSoon displayText={title} headerTitle={title} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default TabOne; |
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,20 +1,17 @@ | ||
import { Tile } from "@carbon/react"; | ||
import React from "react"; | ||
import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
import { useTranslation } from "react-i18next"; | ||
// import { | ||
// EmptyStateComingSoon, | ||
// PatientChartProps, | ||
// } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
|
||
const TabThree: React.FC<{ | ||
patientUuid: string; | ||
}> = ({ patientUuid }) => { | ||
const TabThree: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
const { t } = useTranslation(); | ||
|
||
const headerTitle = t("tabThree", "Tab Three"); | ||
const title = t("tabThree", "Tab Three"); | ||
|
||
// return <EmptyStateComingSoon headerTitle={"Tab Three"} />; | ||
return <Tile> Tab Three </Tile>; | ||
return ( | ||
<> | ||
<EmptyStateComingSoon displayText={title} headerTitle={title} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default TabThree; |
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,18 +1,17 @@ | ||
import { Tile } from "@carbon/react"; | ||
import React from "react"; | ||
import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
import { useTranslation } from "react-i18next"; | ||
// import { | ||
// EmptyStateComingSoon, | ||
// PatientChartProps, | ||
// } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
|
||
const TabTwo: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
const { t } = useTranslation(); | ||
|
||
const headerTitle = t("tabTwo", "Tab Two"); | ||
const title = t("tabTwo", "Tab Two"); | ||
|
||
// return <EmptyStateComingSoon headerTitle={"Tab One"} />; | ||
return <Tile> Tab Two </Tile>; | ||
return ( | ||
<> | ||
<EmptyStateComingSoon displayText={title} headerTitle={title} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default TabTwo; |
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 +1,19 @@ | ||
module.exports = require("openmrs/default-webpack-config"); | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const path = require("path"); | ||
const config = (module.exports = require("openmrs/default-webpack-config")); | ||
config.scriptRuleConfig.exclude = | ||
path.sep == "/" | ||
? /(node_modules[^/@openmrs/esm\-patient\-common\-lib, ^/@ohri/openmrs\-esm\-ohri\-commons\-lib])/ | ||
: /(node_modules[^\\@openmrs/esm\-patient\-common\-lib, ^\\@ohri/openmrs\-esm\-ohri\-commons\-lib])/; | ||
config.overrides.resolve = { | ||
extensions: [".tsx", ".ts", ".jsx", ".js", ".scss"], | ||
alias: { | ||
"@openmrs/esm-framework": "@openmrs/esm-framework/src/internal", | ||
"@openmrs/openmrs-form-engine-lib": | ||
"@openmrs/openmrs-form-engine-lib/src/index", | ||
"@ohri/openmrs-esm-ohri-commons-lib": | ||
"@ohri/openmrs-esm-ohri-commons-lib/src/index", | ||
}, | ||
}; | ||
|
||
module.exports = config; |
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