@openmrs/esm-patient-vitals-app 9.2.3-pre.7173 → 9.2.3-pre.7182
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/.turbo/turbo-build.log +2 -2
- package/dist/4716.js +1 -1
- package/dist/4716.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-vitals-app.js.buildmanifest.json +6 -6
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/biometrics/biometrics-chart.scss +11 -0
- package/src/biometrics/biometrics-overview.test.tsx +0 -16
- package/src/vitals/vitals-chart.scss +11 -0
- package/src/vitals/vitals-overview.test.tsx +0 -16
|
@@ -591,9 +591,9 @@
|
|
|
591
591
|
"initial": false,
|
|
592
592
|
"entry": false,
|
|
593
593
|
"recorded": false,
|
|
594
|
-
"size":
|
|
594
|
+
"size": 397935,
|
|
595
595
|
"sizes": {
|
|
596
|
-
"javascript":
|
|
596
|
+
"javascript": 397851,
|
|
597
597
|
"consume-shared": 84
|
|
598
598
|
},
|
|
599
599
|
"names": [],
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
"auxiliaryFiles": [
|
|
608
608
|
"4716.js.map"
|
|
609
609
|
],
|
|
610
|
-
"hash": "
|
|
610
|
+
"hash": "1a42536b63a5d0b1",
|
|
611
611
|
"childrenByOrder": {}
|
|
612
612
|
},
|
|
613
613
|
{
|
|
@@ -954,10 +954,10 @@
|
|
|
954
954
|
"initial": true,
|
|
955
955
|
"entry": true,
|
|
956
956
|
"recorded": false,
|
|
957
|
-
"size":
|
|
957
|
+
"size": 3351815,
|
|
958
958
|
"sizes": {
|
|
959
959
|
"consume-shared": 294,
|
|
960
|
-
"javascript":
|
|
960
|
+
"javascript": 3328959,
|
|
961
961
|
"share-init": 378,
|
|
962
962
|
"runtime": 22184
|
|
963
963
|
},
|
|
@@ -974,7 +974,7 @@
|
|
|
974
974
|
"auxiliaryFiles": [
|
|
975
975
|
"main.js.map"
|
|
976
976
|
],
|
|
977
|
-
"hash": "
|
|
977
|
+
"hash": "c90e46ab83fc0124",
|
|
978
978
|
"childrenByOrder": {}
|
|
979
979
|
},
|
|
980
980
|
{
|
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":"vitals-overview-widget","component":"vitalsSummary","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":1},{"name":"vitals-details-widget","component":"vitalsMain","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"title":"Vitals","view":"vitals","fullWidth":true},"order":1},{"name":"patient-vitals-info","component":"vitalsHeader","slot":"patient-info-slot"},{"name":"biometrics-overview-widget","component":"biometricsOverview","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":2},{"name":"biometrics-details-widget","component":"biometricsDetailedSummary","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"view":"biometrics","title":"Biometrics","fullWidth":true}},{"name":"results-summary-dashboard","component":"vitalsAndBiometricsDashboardLink","slot":"patient-chart-dashboard-slot","order":2,"meta":{"slot":"patient-chart-vitals-biometrics-dashboard-slot","path":"Vitals & Biometrics"}},{"name":"weight-tile","component":"weightTile","slot":"visit-form-header-slot","order":2}],"pages":[],"workspaces":[{"name":"patient-vitals-biometrics-form-workspace","title":"recordVitalsAndBiometrics","component":"vitalsBiometricsFormWorkspace"}],"version":"9.2.3-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.2.0"},"extensions":[{"name":"vitals-overview-widget","component":"vitalsSummary","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":1},{"name":"vitals-details-widget","component":"vitalsMain","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"title":"Vitals","view":"vitals","fullWidth":true},"order":1},{"name":"patient-vitals-info","component":"vitalsHeader","slot":"patient-info-slot"},{"name":"biometrics-overview-widget","component":"biometricsOverview","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":false},"order":2},{"name":"biometrics-details-widget","component":"biometricsDetailedSummary","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"view":"biometrics","title":"Biometrics","fullWidth":true}},{"name":"results-summary-dashboard","component":"vitalsAndBiometricsDashboardLink","slot":"patient-chart-dashboard-slot","order":2,"meta":{"slot":"patient-chart-vitals-biometrics-dashboard-slot","path":"Vitals & Biometrics"}},{"name":"weight-tile","component":"weightTile","slot":"visit-form-header-slot","order":2}],"pages":[],"workspaces":[{"name":"patient-vitals-biometrics-form-workspace","title":"recordVitalsAndBiometrics","component":"vitalsBiometricsFormWorkspace"}],"version":"9.2.3-pre.7182"}
|
package/package.json
CHANGED
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
flex-grow: 1;
|
|
22
22
|
margin: layout.$spacing-03 0;
|
|
23
23
|
padding-right: layout.$spacing-05;
|
|
24
|
+
|
|
25
|
+
// This is a hack to override the max-width of the overflow menu button
|
|
26
|
+
:global(
|
|
27
|
+
.cds--chart-holder
|
|
28
|
+
.cds--cc--toolbar
|
|
29
|
+
.cds--overflow-menu-options
|
|
30
|
+
.cds--overflow-menu-options__option
|
|
31
|
+
.cds--overflow-menu-options__btn
|
|
32
|
+
) {
|
|
33
|
+
max-width: none !important;
|
|
34
|
+
}
|
|
24
35
|
}
|
|
25
36
|
|
|
26
37
|
.biometricLabel {
|
|
@@ -17,22 +17,6 @@ const testProps = {
|
|
|
17
17
|
const mockUseConfig = jest.mocked(useConfig<ConfigObject>);
|
|
18
18
|
const mockUseVitalsAndBiometrics = jest.mocked(useVitalsAndBiometrics);
|
|
19
19
|
|
|
20
|
-
jest.mock('@carbon/charts-react', () => ({
|
|
21
|
-
LineChart: () => <div data-testid="line-chart">Line Chart</div>,
|
|
22
|
-
ScaleTypes: {
|
|
23
|
-
TIME: 'time',
|
|
24
|
-
LINEAR: 'linear',
|
|
25
|
-
LOG: 'log',
|
|
26
|
-
LABELS: 'labels',
|
|
27
|
-
LABELS_RATIO: 'labels-ratio',
|
|
28
|
-
},
|
|
29
|
-
TickRotations: {
|
|
30
|
-
ALWAYS: 'always',
|
|
31
|
-
AUTO: 'auto',
|
|
32
|
-
NEVER: 'never',
|
|
33
|
-
},
|
|
34
|
-
}));
|
|
35
|
-
|
|
36
20
|
jest.mock('../common', () => {
|
|
37
21
|
const originalModule = jest.requireActual('../common');
|
|
38
22
|
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
flex-grow: 1;
|
|
22
22
|
margin: layout.$spacing-03 0;
|
|
23
23
|
padding-right: layout.$spacing-05;
|
|
24
|
+
|
|
25
|
+
// This is a hack to override the max-width of the overflow menu button
|
|
26
|
+
:global(
|
|
27
|
+
.cds--chart-holder
|
|
28
|
+
.cds--cc--toolbar
|
|
29
|
+
.cds--overflow-menu-options
|
|
30
|
+
.cds--overflow-menu-options__option
|
|
31
|
+
.cds--overflow-menu-options__btn
|
|
32
|
+
) {
|
|
33
|
+
max-width: none !important;
|
|
34
|
+
}
|
|
24
35
|
}
|
|
25
36
|
|
|
26
37
|
.vitalsSignLabel {
|
|
@@ -25,22 +25,6 @@ global.ResizeObserver = jest.fn().mockImplementation(() => ({
|
|
|
25
25
|
disconnect: jest.fn(),
|
|
26
26
|
}));
|
|
27
27
|
|
|
28
|
-
jest.mock('@carbon/charts-react', () => ({
|
|
29
|
-
LineChart: () => <div data-testid="line-chart">Line Chart</div>,
|
|
30
|
-
ScaleTypes: {
|
|
31
|
-
TIME: 'time',
|
|
32
|
-
LINEAR: 'linear',
|
|
33
|
-
LOG: 'log',
|
|
34
|
-
LABELS: 'labels',
|
|
35
|
-
LABELS_RATIO: 'labels-ratio',
|
|
36
|
-
},
|
|
37
|
-
TickRotations: {
|
|
38
|
-
ALWAYS: 'always',
|
|
39
|
-
AUTO: 'auto',
|
|
40
|
-
NEVER: 'never',
|
|
41
|
-
},
|
|
42
|
-
}));
|
|
43
|
-
|
|
44
28
|
jest.mock('@openmrs/esm-patient-common-lib', () => {
|
|
45
29
|
const originalModule = jest.requireActual('@openmrs/esm-patient-common-lib');
|
|
46
30
|
|