-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from openimis/feature/OMT-25
Feature/omt 25
- Loading branch information
Showing
13 changed files
with
249 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"plugins":[ | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
} |
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,45 +1,65 @@ | ||
{ | ||
"locales": [{"intl": "en-GB", "languages":["en"]}], | ||
"locales": [ | ||
{ | ||
"languages": [ | ||
"en", "en-GB" | ||
], | ||
"intl": "en-GB", | ||
"fileNames": "en" | ||
} | ||
], | ||
"modules": [ | ||
{ | ||
"name": "CoreModule", | ||
"npm": "@openimis/fe-core@0.0.12" | ||
"npm": "@openimis/fe-core@0.0.27" | ||
}, | ||
{ | ||
"name": "HomeModule", | ||
"npm": "@openimis/fe-home@0.0.5" | ||
}, | ||
"npm": "@openimis/fe-home@0.0.11" | ||
}, | ||
{ | ||
"name": "LocationModule", | ||
"npm": "@openimis/fe-location@0.0.3" | ||
}, | ||
"npm": "@openimis/fe-location@0.0.11" | ||
}, | ||
{ | ||
"name": "InsureeModule", | ||
"npm": "@openimis/fe-insuree@0.0.8" | ||
"npm": "@openimis/fe-insuree@0.0.17" | ||
}, | ||
{ | ||
"name": "MedicalModule", | ||
"npm": "@openimis/fe-medical@0.0.3" | ||
}, | ||
"npm": "@openimis/fe-medical@0.0.10" | ||
}, | ||
{ | ||
"name": "MedicalPriceListModule", | ||
"npm": "@openimis/fe-medical_pricelist@0.0.3" | ||
}, | ||
{ | ||
"name": "ProductModule", | ||
"npm": "@openimis/fe-product@0.0.5" | ||
}, | ||
{ | ||
"name": "PolicyModule", | ||
"npm": "@openimis/fe-policy@0.0.6" | ||
}, | ||
"npm": "@openimis/fe-policy@0.0.13" | ||
}, | ||
{ | ||
"name": "ClaimModule", | ||
"npm": "@openimis/fe-claim@0.0.8" | ||
"npm": "@openimis/fe-claim@0.0.22" | ||
}, | ||
{ | ||
"name": "ClaimBatchModule", | ||
"npm": "@openimis/fe-claim_batch@0.0.6" | ||
}, | ||
{ | ||
"name": "AdminModule", | ||
"npm": "@openimis/fe-admin@0.0.9" | ||
"npm": "@openimis/fe-admin@0.0.16" | ||
}, | ||
{ | ||
"name": "ToolsModule", | ||
"npm": "@openimis/fe-tools@0.0.7" | ||
"npm": "@openimis/fe-tools@0.0.13" | ||
}, | ||
{ | ||
"name": "ProfileModule", | ||
"npm": "@openimis/fe-profile@0.0.7" | ||
} | ||
"npm": "@openimis/fe-profile@0.0.12" | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Component, Children } from "react"; | ||
import PropTypes from "prop-types"; | ||
|
||
class HistoryProvider extends Component { | ||
static propTypes = { | ||
history: PropTypes.object.isRequired, | ||
} | ||
static childContextTypes = { | ||
history: PropTypes.object.isRequired, | ||
} | ||
getChildContext() { | ||
const { history } = this.props | ||
return { history } | ||
} | ||
render() { | ||
return Children.only(this.props.children) | ||
} | ||
} | ||
export default HistoryProvider |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { createBrowserHistory } from "history"; | ||
export default createBrowserHistory(); |
Oops, something went wrong.