@kenyaemr/esm-bed-management-app 1.0.1-pre.4 → 8.0.2
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 +36 -0
- package/README.md +6 -38
- package/dist/130.js +2 -0
- package/dist/{800.js.LICENSE.txt → 130.js.LICENSE.txt} +2 -0
- package/dist/130.js.map +1 -0
- package/dist/148.js +1 -0
- package/dist/148.js.map +1 -0
- package/dist/169.js +1 -0
- package/dist/169.js.map +1 -0
- package/dist/271.js +1 -0
- package/dist/319.js +1 -0
- package/dist/325.js +1 -0
- package/dist/325.js.map +1 -0
- package/dist/339.js +1 -0
- package/dist/339.js.map +1 -0
- package/dist/455.js +1 -1
- package/dist/455.js.LICENSE.txt +6 -0
- package/dist/455.js.map +1 -1
- package/dist/460.js +1 -0
- package/dist/501.js +1 -0
- package/dist/501.js.map +1 -0
- package/dist/542.js +1 -0
- package/dist/542.js.map +1 -0
- package/dist/574.js +1 -1
- package/dist/591.js +2 -0
- package/dist/{26.js.LICENSE.txt → 591.js.LICENSE.txt} +3 -3
- package/dist/591.js.map +1 -0
- package/dist/644.js +1 -0
- package/dist/757.js +1 -0
- package/dist/766.js +2 -0
- package/dist/{330.js.LICENSE.txt → 766.js.LICENSE.txt} +0 -9
- package/dist/766.js.map +1 -0
- package/dist/{294.js → 784.js} +2 -2
- package/dist/{294.js.map → 784.js.map} +1 -1
- package/dist/788.js +1 -0
- package/dist/807.js +1 -0
- package/dist/833.js +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-bed-management-app.js +1 -0
- package/dist/{esm-kenyaemr-bed-management-app.js.buildmanifest.json → openmrs-esm-bed-management-app.js.buildmanifest.json} +202 -155
- package/dist/openmrs-esm-bed-management-app.js.map +1 -0
- package/dist/routes.json +1 -1
- package/jest.config.js +3 -0
- package/package-lock.json +5893 -0
- package/package.json +25 -83
- package/src/__mocks__/react-i18next.js +18 -14
- package/src/admin-card-link.component.tsx +7 -10
- package/src/bed-administration/bed-administration-form.component.tsx +65 -99
- package/src/bed-administration/bed-administration-table.component.tsx +68 -127
- package/src/bed-administration/bed-administration-table.scss +12 -16
- package/src/bed-administration/bed-administration-types.ts +8 -0
- package/src/bed-administration/bed-administration.resource.ts +16 -18
- package/src/bed-administration/edit-bed-form.component.tsx +20 -31
- package/src/bed-administration/new-bed-form.component.tsx +28 -44
- package/src/bed-tag/bed-tag-administration-table.component.tsx +192 -0
- package/src/bed-tag/bed-tags-admin-form.component.tsx +127 -0
- package/src/bed-tag/edit-tag-form.component.tsx +72 -0
- package/src/bed-tag/new-tag-form.component.tsx +76 -0
- package/src/bed-type/bed-type-admin-form.component.tsx +166 -0
- package/src/bed-type/bed-type-administration-table.component.tsx +198 -0
- package/src/bed-type/edit-bed-type.component.tsx +72 -0
- package/src/bed-type/new-bed-type-form.component.tsx +80 -0
- package/src/card-header/card-header.component.tsx +20 -0
- package/src/card-header/card-header.scss +45 -0
- package/src/config-schema.ts +9 -17
- package/src/declarations.d.ts +5 -5
- package/src/empty-state/empty-state.component.tsx +6 -21
- package/src/empty-state/empty-state.scss +10 -10
- package/src/header/header.component.tsx +14 -23
- package/src/header/header.scss +11 -11
- package/src/header/illustration.component.tsx +3 -3
- package/src/home.component.tsx +4 -4
- package/src/index.ts +26 -40
- package/src/left-panel/left-panel.component.tsx +7 -17
- package/src/left-panel/left-panel.scss +8 -7
- package/src/left-panel-link.component.tsx +14 -24
- package/src/root.component.tsx +14 -10
- package/src/root.scss +2 -2
- package/src/routes.json +12 -2
- package/src/setup-tests.ts +1 -1
- package/src/summary/summary.component.tsx +16 -30
- package/src/summary/summary.resource.ts +169 -60
- package/src/summary/summary.scss +31 -29
- package/src/types.ts +50 -29
- package/src/ward-card/ward-card.component.tsx +5 -12
- package/src/ward-card/ward-card.scss +2 -2
- package/src/ward-with-beds/ward-with-beds.component.tsx +28 -47
- package/src/ward-with-beds/ward-with-beds.scss +5 -5
- package/translations/am.json +51 -0
- package/translations/ar.json +51 -0
- package/translations/en.json +48 -4
- package/translations/es.json +51 -0
- package/translations/fr.json +51 -0
- package/translations/he.json +51 -0
- package/translations/km.json +51 -0
- package/translations/zh.json +51 -0
- package/translations/zh_CN.json +51 -0
- package/tsconfig.json +3 -21
- package/webpack.config.js +1 -1
- package/.editorconfig +0 -12
- package/.eslintignore +0 -2
- package/.eslintrc +0 -37
- package/.husky/pre-commit +0 -4
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.prettierignore +0 -14
- package/.turbo.json +0 -18
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-version.cjs +0 -550
- package/.yarn/versions/6816f0d4.yml +0 -0
- package/LICENSE +0 -373
- package/dist/187.js +0 -1
- package/dist/187.js.map +0 -1
- package/dist/207.js +0 -1
- package/dist/207.js.map +0 -1
- package/dist/26.js +0 -2
- package/dist/26.js.map +0 -1
- package/dist/283.js +0 -1
- package/dist/283.js.map +0 -1
- package/dist/330.js +0 -2
- package/dist/330.js.map +0 -1
- package/dist/352.js +0 -1
- package/dist/352.js.map +0 -1
- package/dist/404.js +0 -1
- package/dist/404.js.map +0 -1
- package/dist/558.js +0 -2
- package/dist/558.js.LICENSE.txt +0 -14
- package/dist/558.js.map +0 -1
- package/dist/629.js +0 -1
- package/dist/629.js.map +0 -1
- package/dist/707.js +0 -1
- package/dist/707.js.map +0 -1
- package/dist/800.js +0 -2
- package/dist/800.js.map +0 -1
- package/dist/884.js +0 -1
- package/dist/884.js.map +0 -1
- package/dist/933.js +0 -1
- package/dist/933.js.map +0 -1
- package/dist/959.js +0 -1
- package/dist/959.js.map +0 -1
- package/dist/esm-kenyaemr-bed-management-app.js +0 -1
- package/dist/esm-kenyaemr-bed-management-app.js.map +0 -1
- package/i18next-parser.config.js +0 -89
- package/src/assets/landing-page.png +0 -0
- package/src/assets/logo.svg +0 -1
- package/src/bed-admission/active-patients/active-patients-table.component.tsx +0 -299
- package/src/bed-admission/active-patients/active-visits.resource.ts +0 -171
- package/src/bed-admission/active-patients/admission-action-button-styles.scss +0 -0
- package/src/bed-admission/active-patients/admission-action-button.component.tsx +0 -26
- package/src/bed-admission/active-patients/index.tsx +0 -15
- package/src/bed-admission/active-patients/patient-queues.resource.ts +0 -136
- package/src/bed-admission/active-patients/styles.scss +0 -284
- package/src/bed-admission/active-patients/view-action-menu.component.tsx +0 -33
- package/src/bed-admission/admitted-patients/active-admissions.resource.ts +0 -121
- package/src/bed-admission/admitted-patients/admitted-patients-table.component.tsx +0 -280
- package/src/bed-admission/admitted-patients/admitted-patients.component.tsx +0 -22
- package/src/bed-admission/admitted-patients/location-combo-box.component.tsx +0 -55
- package/src/bed-admission/admitted-patients/styles.scss +0 -284
- package/src/bed-admission/bed-admission-tabs-styles.scss +0 -30
- package/src/bed-admission/bed-admission-tabs.component.tsx +0 -69
- package/src/bed-admission/bed-admission.component.tsx +0 -15
- package/src/bed-admission/bed-admission.resource.ts +0 -35
- package/src/bed-admission/bed-layout/bed-layout-list.component.tsx +0 -101
- package/src/bed-admission/bed-layout/bed-layout.component.tsx +0 -64
- package/src/bed-admission/bed-layout/bed-layout.scss +0 -118
- package/src/bed-admission/bed-layout/min-bed-layout.component.tsx +0 -26
- package/src/bed-admission/createDashboardLink.tsx +0 -47
- package/src/bed-admission/discharged-patients/discharged-patients.componet.tsx +0 -19
- package/src/bed-admission/helpers/functions.ts +0 -102
- package/src/bed-admission/types.ts +0 -133
- package/src/workspace/allocate-bed-workspace.component.tsx +0 -141
- package/src/workspace/allocate-bed.scss +0 -117
- package/src/workspace/overlay.component.tsx +0 -55
- package/src/workspace/overlay.scss +0 -96
- /package/dist/{294.js.LICENSE.txt → 784.js.LICENSE.txt} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
@use '@carbon/layout';
|
|
2
2
|
|
|
3
3
|
.container {
|
|
4
|
-
margin:
|
|
4
|
+
margin: layout.$spacing-05;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.backButton {
|
|
8
8
|
align-items: center;
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: flex-start;
|
|
11
|
-
margin-left:
|
|
12
|
-
|
|
11
|
+
margin-left: layout.$spacing-05;
|
|
12
|
+
|
|
13
13
|
button {
|
|
14
14
|
display: flex;
|
|
15
15
|
padding-left: 0 !important;
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
svg {
|
|
18
18
|
order: 1;
|
|
19
19
|
margin-right: layout.$spacing-03;
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
order: 2;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
package/translations/en.json
CHANGED
|
@@ -1,7 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
2
11
|
"bedManagement": "Bed Management",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
7
51
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Acciones",
|
|
3
|
+
"addBed": "Añadir cama",
|
|
4
|
+
"addBedTag": "Crear Etiqueta de Cama",
|
|
5
|
+
"addBedtype": "Añadir Tipo de Cama",
|
|
6
|
+
"addBedType": "Crear Tipo de Cama",
|
|
7
|
+
"allocationStatus": "Asignado",
|
|
8
|
+
"bedId": "ID de la Cama",
|
|
9
|
+
"bedIdPlaceholder": "p. ej. BMW-201",
|
|
10
|
+
"bedLocation": "Ubicación",
|
|
11
|
+
"bedManagement": "Administración de Camas",
|
|
12
|
+
"bedName": "Nombre de la Cama",
|
|
13
|
+
"beds": "Camas",
|
|
14
|
+
"bedTag": "Nombre de la Etiqueta de la Cama",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Añadir Tipo de Cama",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Compruebe los filtros anteriores",
|
|
19
|
+
"chooseBedtype": "Elija un tipo de cama",
|
|
20
|
+
"chooseOccupiedStatus": "Elija el estado ocupado",
|
|
21
|
+
"createNewBed": "Crear una nueva cama",
|
|
22
|
+
"description": "Descripción",
|
|
23
|
+
"displayName": "Mostrar Nombre",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Editar etiqueta",
|
|
26
|
+
"editBedTag": "Editar Etiqueta de la Cama",
|
|
27
|
+
"editBedType": "Editar Tipo de Cama",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error al crear cama",
|
|
30
|
+
"errorFetchingbedInformation": "Error al obtener información de la cama",
|
|
31
|
+
"filterByOccupancyStatus": "Filtrar por estado de ocupación",
|
|
32
|
+
"formCreated": "Añadir Tipo de Cama",
|
|
33
|
+
"formSaved": "Tipo de Cama",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Ubicaciones",
|
|
37
|
+
"manageBeds": "Administrar Camas",
|
|
38
|
+
"name": "Nombre",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No hay datos para mostrar",
|
|
41
|
+
"occupancyStatus": "Ocupada",
|
|
42
|
+
"or": "o",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Obligatorio",
|
|
45
|
+
"save": "Guardar",
|
|
46
|
+
"saveSuccessMessage": "fue guardado exitosamente.",
|
|
47
|
+
"selectBedLocation": "Seleccione una ubicación para la cama",
|
|
48
|
+
"viewBeds": "Ver camas",
|
|
49
|
+
"wardAllocation": "Asignación de sala",
|
|
50
|
+
"yes": "Sí"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Ajouter un lit",
|
|
4
|
+
"addBedTag": "Créer une étiquette de lit",
|
|
5
|
+
"addBedtype": "Ajouter type de lit",
|
|
6
|
+
"addBedType": "Créer Type de lit",
|
|
7
|
+
"allocationStatus": "Attribué",
|
|
8
|
+
"bedId": "Identifiant du Lit",
|
|
9
|
+
"bedIdPlaceholder": "exemple : BMW-201",
|
|
10
|
+
"bedLocation": "Emplacement",
|
|
11
|
+
"bedManagement": "Gestion du lit",
|
|
12
|
+
"bedName": "Nom du lit",
|
|
13
|
+
"beds": "Lits",
|
|
14
|
+
"bedTag": "Nom de l'étiquette du lit",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Ajouter un type de lit",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Vérifiez les filtres ci-dessus",
|
|
19
|
+
"chooseBedtype": "Choisir un type de lit",
|
|
20
|
+
"chooseOccupiedStatus": " Choisissez le statut occupé",
|
|
21
|
+
"createNewBed": "Créer un nouveau lit",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Afficher un tag",
|
|
26
|
+
"editBedTag": "Afficher un Tag de lit",
|
|
27
|
+
"editBedType": "Afficher un type de lit",
|
|
28
|
+
"error": "Erreur",
|
|
29
|
+
"errorCreatingForm": "Erreur lors de la création du lit",
|
|
30
|
+
"errorFetchingbedInformation": " Erreur lors de la récupération des informations sur le lit",
|
|
31
|
+
"filterByOccupancyStatus": "Filtrer par statut d'occupation",
|
|
32
|
+
"formCreated": "Ajouter un type de lit",
|
|
33
|
+
"formSaved": "Type de lit",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Identifiant",
|
|
36
|
+
"location": "Emplacements",
|
|
37
|
+
"manageBeds": "Gestion des lits",
|
|
38
|
+
"name": "Nom",
|
|
39
|
+
"no": "Non",
|
|
40
|
+
"No data": "Pas de données à afficher",
|
|
41
|
+
"occupancyStatus": "Occupé",
|
|
42
|
+
"or": "ou",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Requis",
|
|
45
|
+
"save": "Enregistrer",
|
|
46
|
+
"saveSuccessMessage": "a été enregistré avec succès.",
|
|
47
|
+
"selectBedLocation": "Sélectionner un emplacement de lit",
|
|
48
|
+
"viewBeds": "Voir lits",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Oui"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBed": "Add bed",
|
|
4
|
+
"addBedTag": "Create Bed Tag",
|
|
5
|
+
"addBedtype": "Add Bed Type",
|
|
6
|
+
"addBedType": "Create Bed type",
|
|
7
|
+
"allocationStatus": "Allocated",
|
|
8
|
+
"bedId": "Bed ID",
|
|
9
|
+
"bedIdPlaceholder": "e.g. BMW-201",
|
|
10
|
+
"bedLocation": "Location",
|
|
11
|
+
"bedManagement": "Bed Management",
|
|
12
|
+
"bedName": "Bed Name",
|
|
13
|
+
"beds": "Beds",
|
|
14
|
+
"bedTag": "Bed Tag Name",
|
|
15
|
+
"bedTagPlaceholder": "",
|
|
16
|
+
"bedType": "Add Bed Type",
|
|
17
|
+
"bedTypePlaceholder": "",
|
|
18
|
+
"checkFilters": "Check the filters above",
|
|
19
|
+
"chooseBedtype": "Choose a bed type",
|
|
20
|
+
"chooseOccupiedStatus": "Choose occupied status",
|
|
21
|
+
"createNewBed": "Create a new bed",
|
|
22
|
+
"description": "Description",
|
|
23
|
+
"displayName": "Display Name",
|
|
24
|
+
"displayNamePlaceholder": "",
|
|
25
|
+
"editBed": "Edit Tag",
|
|
26
|
+
"editBedTag": "Edit Bed Tag",
|
|
27
|
+
"editBedType": "Edit Bed Type",
|
|
28
|
+
"error": "Error",
|
|
29
|
+
"errorCreatingForm": "Error creating bed",
|
|
30
|
+
"errorFetchingbedInformation": "Error fetching bed information",
|
|
31
|
+
"filterByOccupancyStatus": "Filter by occupancy status",
|
|
32
|
+
"formCreated": "Add bed Type",
|
|
33
|
+
"formSaved": "Bed Type",
|
|
34
|
+
"headerTitle": "",
|
|
35
|
+
"ids": "Id",
|
|
36
|
+
"location": "Locations",
|
|
37
|
+
"manageBeds": "Manage Beds",
|
|
38
|
+
"name": "Name",
|
|
39
|
+
"no": "No",
|
|
40
|
+
"No data": "No data to display",
|
|
41
|
+
"occupancyStatus": "Occupied",
|
|
42
|
+
"or": "or",
|
|
43
|
+
"pleaseFillField": "",
|
|
44
|
+
"required": "Required",
|
|
45
|
+
"save": "Save",
|
|
46
|
+
"saveSuccessMessage": "was saved successfully.",
|
|
47
|
+
"selectBedLocation": "Select a bed location",
|
|
48
|
+
"viewBeds": "View beds",
|
|
49
|
+
"wardAllocation": "Ward Allocation",
|
|
50
|
+
"yes": "Yes"
|
|
51
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"allowSyntheticDefaultImports": true,
|
|
6
|
-
"jsx": "react",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
"moduleResolution": "node",
|
|
9
|
-
"lib": [
|
|
10
|
-
"dom",
|
|
11
|
-
"es5",
|
|
12
|
-
"scripthost",
|
|
13
|
-
"es2015",
|
|
14
|
-
"es2015.promise",
|
|
15
|
-
"es2016.array.include",
|
|
16
|
-
"es2018",
|
|
17
|
-
"es2020"
|
|
18
|
-
],
|
|
19
|
-
"resolveJsonModule": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"target": "esnext"
|
|
22
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"include": ["src/**/*"],
|
|
4
|
+
"exclude": ["src/**/*.test.tsx"]
|
|
23
5
|
}
|
package/webpack.config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require(
|
|
1
|
+
module.exports = require('openmrs/default-webpack-config');
|
package/.editorconfig
DELETED
package/.eslintignore
DELETED
package/.eslintrc
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parser": "@typescript-eslint/parser",
|
|
3
|
-
"plugins": ["@typescript-eslint"],
|
|
4
|
-
"extends": ["ts-react-important-stuff", "plugin:prettier/recommended"],
|
|
5
|
-
"rules": {
|
|
6
|
-
"curly": ["error", "all"],
|
|
7
|
-
"no-restricted-imports": [
|
|
8
|
-
"error",
|
|
9
|
-
{
|
|
10
|
-
"paths": [
|
|
11
|
-
{
|
|
12
|
-
"name": "lodash",
|
|
13
|
-
"message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "lodash-es",
|
|
17
|
-
"message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"patterns": [
|
|
21
|
-
{
|
|
22
|
-
"group": ["carbon-components-react"],
|
|
23
|
-
"message": "Import from `@carbon/react` directly. e.g. `import { Toggle } from '@carbon/react'`"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"group": ["@carbon/icons-react"],
|
|
27
|
-
"message": "Import from `@carbon/react/icons`. e.g. `import { ChevronUp } from '@carbon/react/icons'`"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"group": ["@import '~carbon-components/src/globals/scss/vars'"],
|
|
31
|
-
"message": "Import from `@carbon/styles/scss`. e.g. `@use '@carbon/styles/scss/type'`"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
package/.husky/pre-commit
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/esm-ugandaemr-bed-management-app.iml" filepath="$PROJECT_DIR$/.idea/esm-ugandaemr-bed-management-app.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/vcs.xml
DELETED
package/.prettierignore
DELETED
package/.turbo.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://turbo.build/schema.json",
|
|
3
|
-
"pipeline": {
|
|
4
|
-
"build": {
|
|
5
|
-
"outputs": [".next/**", "!.next/cache/**"]
|
|
6
|
-
},
|
|
7
|
-
"lint": {},
|
|
8
|
-
"extract-translations": {
|
|
9
|
-
"outputs": ["./translations/*"]
|
|
10
|
-
},
|
|
11
|
-
"test": {},
|
|
12
|
-
"coverage": {
|
|
13
|
-
"outputs": ["coverage/**"]
|
|
14
|
-
},
|
|
15
|
-
"typescript": {},
|
|
16
|
-
"verify": {}
|
|
17
|
-
}
|
|
18
|
-
}
|