@ampath/esm-reports-app 1.0.0-next.13 → 1.0.0-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/925.js +1 -1
- package/dist/925.js.map +1 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +3 -3
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/common/report-filters/report-filters.component.tsx +1 -1
- package/src/reports/moh-740/moh-740.component.scss +105 -6
- package/src/reports/moh-740/moh-740.component.tsx +386 -262
- package/src/reports/moh-740/types/index.ts +7 -0
|
@@ -510,9 +510,9 @@
|
|
|
510
510
|
"initial": false,
|
|
511
511
|
"entry": false,
|
|
512
512
|
"recorded": false,
|
|
513
|
-
"size":
|
|
513
|
+
"size": 596801,
|
|
514
514
|
"sizes": {
|
|
515
|
-
"javascript":
|
|
515
|
+
"javascript": 596801
|
|
516
516
|
},
|
|
517
517
|
"names": [],
|
|
518
518
|
"idHints": [],
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
"auxiliaryFiles": [
|
|
527
527
|
"925.js.map"
|
|
528
528
|
],
|
|
529
|
-
"hash": "
|
|
529
|
+
"hash": "faa27b89dac650c2",
|
|
530
530
|
"childrenByOrder": {}
|
|
531
531
|
},
|
|
532
532
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"extensions":[{"name":"ampath-reports-dashboard-link","component":"reportsDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"reports","slot":"ampath-reports-dashboard-slot","title":"Reports"},"online":true,"offline":true},{"component":"root","name":"ampath-reports-dashboard-root","slot":"ampath-reports-dashboard-slot"}],"pages":[],"version":"1.0.0-next.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"extensions":[{"name":"ampath-reports-dashboard-link","component":"reportsDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"reports","slot":"ampath-reports-dashboard-slot","title":"Reports"},"online":true,"offline":true},{"component":"root","name":"ampath-reports-dashboard-root","slot":"ampath-reports-dashboard-slot"}],"pages":[],"version":"1.0.0-next.15"}
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ const ReportFiltersComponent: React.FC<ReportFiltersComponentProps> = ({
|
|
|
58
58
|
return (
|
|
59
59
|
<>
|
|
60
60
|
<div className={styles.titleContainer}>
|
|
61
|
-
<ArrowLeft className={styles.backIcon} onClick={() => navigate(
|
|
61
|
+
<ArrowLeft className={styles.backIcon} onClick={() => navigate('/')} />
|
|
62
62
|
<h2 className={styles.title}>{reportName}</h2>
|
|
63
63
|
</div>
|
|
64
64
|
<div className={styles.filtersContainer}>
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
.reportLayout{
|
|
1
|
+
.reportLayout {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
5
|
row-gap: 10px;
|
|
6
6
|
padding: 15px 15px;
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
.reportHeader {
|
|
8
9
|
display: flex;
|
|
9
10
|
flex-direction: column;
|
|
10
11
|
width: 100%;
|
|
11
12
|
row-gap: 15px;
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
.reportTitle {
|
|
13
15
|
display: flex;
|
|
14
16
|
flex-direction: column;
|
|
15
17
|
width: 100%;
|
|
16
18
|
}
|
|
17
|
-
|
|
19
|
+
|
|
20
|
+
.reportFilters {
|
|
18
21
|
display: flex;
|
|
19
22
|
flex-direction: column;
|
|
20
23
|
width: 100%;
|
|
@@ -22,9 +25,105 @@
|
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
|
-
|
|
28
|
+
|
|
29
|
+
.reportContent {
|
|
26
30
|
display: flex;
|
|
27
31
|
flex-direction: column;
|
|
28
32
|
width: 100%;
|
|
29
|
-
padding:
|
|
33
|
+
padding: 30px 30px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
.sectionHeader {
|
|
38
|
+
background-color: #f2f2f2;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
text-align: center;
|
|
41
|
+
text-transform: uppercase;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.headerContainer {
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: space-between;
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
margin-bottom: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.mainTitleBox {
|
|
52
|
+
border: 2px solid #000;
|
|
53
|
+
padding: 10px;
|
|
54
|
+
text-align: center;
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.formCodeBox {
|
|
59
|
+
text-align: right;
|
|
60
|
+
font-size: 9px;
|
|
61
|
+
width: 25%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
table {
|
|
65
|
+
width: 100%;
|
|
66
|
+
border-collapse: collapse;
|
|
67
|
+
margin-bottom: 10px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
th,
|
|
71
|
+
td {
|
|
72
|
+
border: 1px solid #000;
|
|
73
|
+
padding: 4px;
|
|
74
|
+
text-align: left;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bgGrey {
|
|
78
|
+
background-color: #e0e0e0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sectionHeader {
|
|
82
|
+
background-color: #f2f2f2;
|
|
83
|
+
font-weight: bold;
|
|
84
|
+
text-align: center;
|
|
85
|
+
text-transform: uppercase;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.subHeader {
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
input[type="text"],
|
|
93
|
+
input[type="number"] {
|
|
94
|
+
width: 95%;
|
|
95
|
+
border: none;
|
|
96
|
+
outline: none;
|
|
97
|
+
background: transparent;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.topMeta td {
|
|
101
|
+
border: none;
|
|
102
|
+
padding: 2px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.signOff {
|
|
106
|
+
margin-top: 20px;
|
|
107
|
+
width: 100%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.indent {
|
|
111
|
+
padding-left: 20px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.mainTitle {
|
|
115
|
+
margin: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.subTitle {
|
|
119
|
+
margin: 5px 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.dataElement {
|
|
123
|
+
width: 40%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.otherElement {
|
|
127
|
+
width: 20%;
|
|
128
|
+
text-align: center;
|
|
30
129
|
}
|