diff --git a/packages/esm-appointments-app/src/appointments.component.tsx b/packages/esm-appointments-app/src/appointments.component.tsx index 964efd942..e475d3193 100644 --- a/packages/esm-appointments-app/src/appointments.component.tsx +++ b/packages/esm-appointments-app/src/appointments.component.tsx @@ -4,7 +4,6 @@ import dayjs from 'dayjs'; import AppointmentTabs from './appointments/appointment-tabs.component'; import AppointmentsHeader from './header/appointments-header.component'; import AppointmentMetrics from './metrics/appointments-metrics.component'; -import { WorkspaceOverlay } from '@openmrs/esm-framework'; import { useParams } from 'react-router-dom'; import SelectedDateContext from './hooks/selectedDateContext'; import { omrsDateFormat } from './constants'; diff --git a/packages/esm-appointments-app/src/patient-appointments/patient-appointments-overview.component.tsx b/packages/esm-appointments-app/src/patient-appointments/patient-appointments-overview.component.tsx index 50755a402..5f8490aba 100644 --- a/packages/esm-appointments-app/src/patient-appointments/patient-appointments-overview.component.tsx +++ b/packages/esm-appointments-app/src/patient-appointments/patient-appointments-overview.component.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { usePatient, useLayoutType, isDesktop, WorkspaceOverlay } from '@openmrs/esm-framework'; +import { usePatient, useLayoutType, isDesktop, WorkspaceContainer } from '@openmrs/esm-framework'; import PatientAppointmentsBase from './patient-appointments-base.component'; import { useParams } from 'react-router-dom'; import PatientAppointmentContext, { PatientAppointmentContextTypes } from '../hooks/patientAppointmentContext'; @@ -26,7 +26,7 @@ const PatientAppointmentsOverview: React.FC = () => {
- +
); diff --git a/packages/esm-ward-app/src/index.ts b/packages/esm-ward-app/src/index.ts index 0a9a1d465..932466d99 100644 --- a/packages/esm-ward-app/src/index.ts +++ b/packages/esm-ward-app/src/index.ts @@ -8,6 +8,7 @@ import { import { configSchema } from './config-schema'; import rootComponent from './root.component'; import { moduleName } from './constant'; +import WardPatientActionButton from './ward-patient-workspace/ward-patient-action-button.extension'; export const importTranslation = require.context('../translations', false, /.json$/, 'lazy'); @@ -23,6 +24,10 @@ export const admissionRequestWorkspace = getAsyncLifecycle( options, ); +export const wardPatientWorkspace = getAsyncLifecycle(() => import('./ward-patient-workspace/ward-patient.workspace'), options); + +export const wardPatientActionButtonExtension = getSyncLifecycle(WardPatientActionButton, options); + export function startupApp() { registerBreadcrumbs([]); defineConfigSchema(moduleName, configSchema); diff --git a/packages/esm-ward-app/src/routes.json b/packages/esm-ward-app/src/routes.json index a33cc5405..2e9976cc8 100644 --- a/packages/esm-ward-app/src/routes.json +++ b/packages/esm-ward-app/src/routes.json @@ -14,18 +14,31 @@ } } }, - "workspaces": [ + "pages": [ + { + "component": "root", + "route": "ward" + } + ], + "extensions": [{ + "component": "wardPatientActionButtonExtension", + "name": "ward-patient-action-button", + "slot": "action-menu-ward-patient-items-slot" + }], + "workspaces": [ { "name":"admission-requests-workspace", "component": "admissionRequestWorkspace", "title":"admissionRequests", "type":"admission-requests" - } - ], - "pages": [ + }, { - "component": "root", - "route": "ward" - } - ] + "name": "ward-patient-workspace", + "component": "wardPatientWorkspace", + "type": "ward", + "title": "Ward Patient", + "width": "extra-wide", + "hasOwnSidebar": true, + "sidebarFamily": "ward-patient" + }] } diff --git a/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.scss b/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.scss index 5db8acdfa..ef931affb 100644 --- a/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.scss +++ b/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.scss @@ -13,11 +13,37 @@ gap: spacing.$spacing-02; background-color: $ui-02; + position: relative; // this allows positioning the button correctly + > .wardPatientCardRow:not(:first-child) { border-top: 1px colors.$gray-20 solid; } } +.wardPatientCardButton { + border: none; + padding: 0; + + &::before { + content: ''; + position: absolute; + inset: 0; + z-index: 1; + cursor: pointer; + border: 2px solid transparent; + transition: border-color 200ms; + } + + &:hover::before, + &:focus::before { + border-color: $interactive-01; + } + + &:focus { + outline: none; + } +} + .wardPatientCardRow { width: 100%; padding: spacing.$spacing-04; diff --git a/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.tsx b/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.tsx index 0ec4e85be..2ca4e2cb5 100644 --- a/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.tsx +++ b/packages/esm-ward-app/src/ward-patient-card/ward-patient-card.tsx @@ -3,6 +3,8 @@ import { useParams } from 'react-router-dom'; import { type WardPatientCardProps } from '../types'; import { usePatientCardRows } from './ward-patient-card-row.resources'; import styles from './ward-patient-card.scss'; +import { getPatientName, launchWorkspace } from '@openmrs/esm-framework'; +import { type WardPatientWorkspaceProps } from '../ward-patient-workspace/ward-patient.workspace'; const WardPatientCard: React.FC = (props) => { const { locationUuid } = useParams(); @@ -13,6 +15,14 @@ const WardPatientCard: React.FC = (props) => { {patientCardRows.map((WardPatientCardRow, i) => ( ))} + ); }; diff --git a/packages/esm-ward-app/src/ward-patient-workspace/ward-patient-action-button.extension.tsx b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient-action-button.extension.tsx new file mode 100644 index 000000000..060c0bb57 --- /dev/null +++ b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient-action-button.extension.tsx @@ -0,0 +1,18 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; +import { UserAvatarIcon } from '@openmrs/esm-framework'; +import { ActionMenuButton, launchWorkspace } from '@openmrs/esm-framework'; + +export default function WardPatientActionButton() { + const { t } = useTranslation(); + + return ( + } + label={t('Patient', 'patient')} + iconDescription={t('Patient', 'patient')} + handler={() => launchWorkspace('ward-patient-workspace')} + type={'ward'} + /> + ); +} diff --git a/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.style.scss b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.style.scss new file mode 100644 index 000000000..cff5179a4 --- /dev/null +++ b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.style.scss @@ -0,0 +1,11 @@ +@use '@carbon/styles/scss/spacing'; +@use '@carbon/styles/scss/type'; + +.workspaceContainer { + min-height: var(--desktop-workspace-window-height); +} + +.headerPatientDetail { + @include type.type-style('body-compact-02'); + margin: 0 spacing.$spacing-02; +} diff --git a/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.workspace.tsx b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.workspace.tsx new file mode 100644 index 000000000..ff9e6ff2f --- /dev/null +++ b/packages/esm-ward-app/src/ward-patient-workspace/ward-patient.workspace.tsx @@ -0,0 +1,79 @@ +import React, { useEffect, useMemo } from 'react'; +import { useTranslation } from 'react-i18next'; +import { InlineNotification } from '@carbon/react'; +import { InlineLoading } from '@carbon/react'; +import { + type DefaultWorkspaceProps, + ExtensionSlot, + attach, + getPatientName, + usePatient, + age, +} from '@openmrs/esm-framework'; +import styles from './ward-patient.style.scss'; + +attach('ward-patient-workspace-header-slot', 'patient-vitals-info'); + +export interface WardPatientWorkspaceProps extends DefaultWorkspaceProps { + patientUuid: string; +} + +export default function WardPatientWorkspace({ patientUuid, setTitle }: WardPatientWorkspaceProps) { + const { t } = useTranslation(); + const { patient, isLoading, error } = usePatient(patientUuid); + + useEffect(() => { + if (isLoading) { + setTitle(t('wardPatientWorkspaceTitle', 'Ward Patient'), ); + } else if (patient) { + setTitle(getPatientName(patient), ); + } else if (error) { + setTitle(t('wardPatientWorkspaceTitle', 'Ward Patient')); + } + }, [patient]); + + return ( +
+ {isLoading ? ( + + ) : patient ? ( + + ) : error ? ( + {error.message} + ) : ( + + {t('failedToLoadPatientWorkspace', 'Ward patient workspace has failed to load.')} + + )} +
+ ); +} + +interface WardPatientWorkspaceViewProps { + patient: fhir.Patient; +} + +function WardPatientWorkspaceView({ patient }: WardPatientWorkspaceViewProps) { + const extensionSlotState = useMemo(() => ({ patient, patientUuid: patient.id }), [patient]); + + return ( + <> +
+ +
+
+ +
+ + ); +} + +function PatientWorkspaceTitle({ patient }: { patient: fhir.Patient }) { + return ( + <> +
{getPatientName(patient)}  
+
·   {patient.gender}
+
·   {age(patient.birthDate)}
+ + ); +} diff --git a/packages/esm-ward-app/src/ward-view/ward-view.component.tsx b/packages/esm-ward-app/src/ward-view/ward-view.component.tsx index d207afbe5..df9f8c59c 100644 --- a/packages/esm-ward-app/src/ward-view/ward-view.component.tsx +++ b/packages/esm-ward-app/src/ward-view/ward-view.component.tsx @@ -1,7 +1,7 @@ -import { InlineNotification } from '@carbon/react'; -import { WorkspaceContainer, useFeatureFlag, useLocations, useSession, type Location } from '@openmrs/esm-framework'; import React, { useMemo } from 'react'; +import { InlineNotification } from '@carbon/react'; import { useTranslation } from 'react-i18next'; +import { WorkspaceContainer, useFeatureFlag } from '@openmrs/esm-framework'; import EmptyBedSkeleton from '../beds/empty-bed-skeleton'; import { useAdmissionLocation } from '../hooks/useAdmissionLocation'; import WardBed from './ward-bed.component'; @@ -34,7 +34,7 @@ const WardView = () => {
- + ); }; diff --git a/yarn.lock b/yarn.lock index e05588238..756add9fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2647,9 +2647,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-api@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-api@npm:5.6.1-pre.1966" +"@openmrs/esm-api@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-api@npm:5.6.1-pre.2029" dependencies: "@types/fhir": "npm:0.0.31" lodash-es: "npm:^4.17.21" @@ -2658,17 +2658,17 @@ __metadata: "@openmrs/esm-error-handling": 5.x "@openmrs/esm-navigation": 5.x "@openmrs/esm-offline": 5.x - checksum: 10/ff4e8692bd76f90a080448bb9651aa001c5ed84cf52f115bdb00cc39090a58a0919aa9a5456dd639886205b2010c9ec325053c3d4d56a119606e8ed065d471bd + checksum: 10/30fd11ba6e965529b9268b982c4fcf8f9dab4ccdf6d9f6bfecfd77ff2b7511487444f7b1f2d4c33d8d36c2aa3c3e1c8de0706babdca537a48329acaffa8f7d79 languageName: node linkType: hard -"@openmrs/esm-app-shell@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-app-shell@npm:5.6.1-pre.1966" +"@openmrs/esm-app-shell@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-app-shell@npm:5.6.1-pre.2029" dependencies: "@carbon/react": "npm:~1.37.0" - "@openmrs/esm-framework": "npm:5.6.1-pre.1966" - "@openmrs/esm-styleguide": "npm:5.6.1-pre.1966" + "@openmrs/esm-framework": "npm:5.6.1-pre.2029" + "@openmrs/esm-styleguide": "npm:5.6.1-pre.2029" dayjs: "npm:^1.10.4" dexie: "npm:^3.0.3" html-webpack-plugin: "npm:^5.5.0" @@ -2693,7 +2693,7 @@ __metadata: workbox-strategies: "npm:^6.1.5" workbox-webpack-plugin: "npm:^6.1.5" workbox-window: "npm:^6.1.5" - checksum: 10/0966ee0a1b1a2b84d98f2dd2c1a73651736e92af9c7c6bbb842989c3e3f903f63e307556c1e919edc6205fcd8d016d8ff8be51c23d49e29d9980a2ab605103f8 + checksum: 10/5e08556eba9cac0c0193decdb098be8b6c49b31a7b075147db98c6637ae0a45c532a61bcdcb4e36a451505f89ccdc0f9b7c24d6a4d02cc0c281f6653e6cfa392 languageName: node linkType: hard @@ -2716,53 +2716,53 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-config@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-config@npm:5.6.1-pre.1966" +"@openmrs/esm-config@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-config@npm:5.6.1-pre.2029" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: 10/a2a7a7a4a86ade3585e501ebb748fc7cca67b4f9338bda7c2c12ebe2c5bcfb9698bc4a8205aad9056da019c51c74b90849cb4a3c2c1c4f62a36caf5c38f2163a + checksum: 10/c4b21eecf45c71fbf1368912068cee41415bd39b30c1861647fb4e037fb771df5ffd24119a98c0e2babac91f2eee8a7aab808833aee17466d0cc4d1764e1d32b languageName: node linkType: hard -"@openmrs/esm-context@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-context@npm:5.6.1-pre.1966" +"@openmrs/esm-context@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-context@npm:5.6.1-pre.2029" dependencies: immer: "npm:^10.0.4" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x - checksum: 10/24b0796c8711cb5eaeeb15f3d4d1ace491eb1402f2a492f49d30fade5a1765a878e654d94e525134cc7c59af470c30c3cd4164b7a78f0736e080ac5af0b83343 + checksum: 10/da7eb4e7a01b90f5677ede602b87d4078b9ce1e0ff58002b889a194786156d3bb9841fb9f6c882c57f1dae1c557628c6655e24ce1bb5bc91a7414c9f20112341 languageName: node linkType: hard -"@openmrs/esm-dynamic-loading@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-dynamic-loading@npm:5.6.1-pre.1966" +"@openmrs/esm-dynamic-loading@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-dynamic-loading@npm:5.6.1-pre.2029" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-translations": 5.x - checksum: 10/143d5ead7af3495c7f5210794dea257ff6b14c4d995805302e7d4a4e61082b47b354eaabfdd6dafeed810b1959779c23e2a4bb26644ffa7a19273305e876f804 + checksum: 10/b09a3007a56adb9b2e3d70a68b7149dcc9fed5003fd1806aedb675d979bff3f8abc363e57b92e322c8e97ea42628bf779da9c0b907bc9213e377632f25fb7de6 languageName: node linkType: hard -"@openmrs/esm-error-handling@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-error-handling@npm:5.6.1-pre.1966" +"@openmrs/esm-error-handling@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-error-handling@npm:5.6.1-pre.2029" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 10/c23c5e1ee5190b6514d000b7437ee31e573d96a0c8f182bcc65690babaa5dbce3ac73432d94c5349cd28daaa23d6e6e51ae3008e193109c1aaf071a1787ba822 + checksum: 10/348fa380407b766ddfe51760da2a5a8e07978a17585eb1563ac6d76f2a62b4df606e5a8a6e33a08701fd2538547a9ca2ff7cbfe76fc584dcfeaf4155d17c9ca5 languageName: node linkType: hard -"@openmrs/esm-extensions@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-extensions@npm:5.6.1-pre.1966" +"@openmrs/esm-extensions@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-extensions@npm:5.6.1-pre.2029" dependencies: lodash-es: "npm:^4.17.21" peerDependencies: @@ -2772,43 +2772,43 @@ __metadata: "@openmrs/esm-state": 5.x "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: 10/697c8e1ed34b84df44627c5ed389a7f3cc86de65992c96d6c3b41343872a0530f89576db1405527631bb1e8a9d58c2b26bb6b270910f6b15439b867472068ba6 + checksum: 10/dd00a667cd27d858da12a2cd2701066c4215a81bf2166cd450afc35005b4741304e12320357b0f35d65012a22bcc787d0e3ceceda67c800d9c5d9d9af6f73b35 languageName: node linkType: hard -"@openmrs/esm-feature-flags@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-feature-flags@npm:5.6.1-pre.1966" +"@openmrs/esm-feature-flags@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-feature-flags@npm:5.6.1-pre.2029" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: 10/d3c90922298a25e34cdd323f9e5a94ac8dfaab1dc43e5012ea114e15fc67f1f60a410b81294bd8e1f1b9c5f6b31962593cd2be171710f964d29c405d33d3e361 - languageName: node - linkType: hard - -"@openmrs/esm-framework@npm:5.6.1-pre.1966, @openmrs/esm-framework@npm:next": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-framework@npm:5.6.1-pre.1966" - dependencies: - "@openmrs/esm-api": "npm:5.6.1-pre.1966" - "@openmrs/esm-config": "npm:5.6.1-pre.1966" - "@openmrs/esm-context": "npm:5.6.1-pre.1966" - "@openmrs/esm-dynamic-loading": "npm:5.6.1-pre.1966" - "@openmrs/esm-error-handling": "npm:5.6.1-pre.1966" - "@openmrs/esm-extensions": "npm:5.6.1-pre.1966" - "@openmrs/esm-feature-flags": "npm:5.6.1-pre.1966" - "@openmrs/esm-globals": "npm:5.6.1-pre.1966" - "@openmrs/esm-navigation": "npm:5.6.1-pre.1966" - "@openmrs/esm-offline": "npm:5.6.1-pre.1966" - "@openmrs/esm-react-utils": "npm:5.6.1-pre.1966" - "@openmrs/esm-routes": "npm:5.6.1-pre.1966" - "@openmrs/esm-state": "npm:5.6.1-pre.1966" - "@openmrs/esm-styleguide": "npm:5.6.1-pre.1966" - "@openmrs/esm-translations": "npm:5.6.1-pre.1966" - "@openmrs/esm-utils": "npm:5.6.1-pre.1966" + checksum: 10/afb67fd891f3faea05a23bdac50c75c26ef435ce729a3dda8203f5ab14f8ed255a54dce378c2ab43d7c740fcb56ad5f6c9d36bc9ac72b593d12e55f495ea775a + languageName: node + linkType: hard + +"@openmrs/esm-framework@npm:5.6.1-pre.2029, @openmrs/esm-framework@npm:next": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-framework@npm:5.6.1-pre.2029" + dependencies: + "@openmrs/esm-api": "npm:5.6.1-pre.2029" + "@openmrs/esm-config": "npm:5.6.1-pre.2029" + "@openmrs/esm-context": "npm:5.6.1-pre.2029" + "@openmrs/esm-dynamic-loading": "npm:5.6.1-pre.2029" + "@openmrs/esm-error-handling": "npm:5.6.1-pre.2029" + "@openmrs/esm-extensions": "npm:5.6.1-pre.2029" + "@openmrs/esm-feature-flags": "npm:5.6.1-pre.2029" + "@openmrs/esm-globals": "npm:5.6.1-pre.2029" + "@openmrs/esm-navigation": "npm:5.6.1-pre.2029" + "@openmrs/esm-offline": "npm:5.6.1-pre.2029" + "@openmrs/esm-react-utils": "npm:5.6.1-pre.2029" + "@openmrs/esm-routes": "npm:5.6.1-pre.2029" + "@openmrs/esm-state": "npm:5.6.1-pre.2029" + "@openmrs/esm-styleguide": "npm:5.6.1-pre.2029" + "@openmrs/esm-translations": "npm:5.6.1-pre.2029" + "@openmrs/esm-utils": "npm:5.6.1-pre.2029" dayjs: "npm:^1.10.7" peerDependencies: dayjs: 1.x @@ -2819,35 +2819,35 @@ __metadata: rxjs: 6.x single-spa: 5.x swr: 2.x - checksum: 10/fb83452f829440fb509a18f33c010293bcb361cb41c57f793a92f1dd71aef30dde6f24ed15cf3cd662387439d3ba5ffc119b06a1f4827965d7895e9890ef138f + checksum: 10/3dba6b594d295bf51e693371be0222aedff18f7d78860c1270017cd174e20c3c32632363399f76e81c5454f48dbd401a5fdd41d4e08cac228061d05ef53e345b languageName: node linkType: hard -"@openmrs/esm-globals@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-globals@npm:5.6.1-pre.1966" +"@openmrs/esm-globals@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-globals@npm:5.6.1-pre.2029" dependencies: "@types/fhir": "npm:0.0.31" peerDependencies: single-spa: 5.x - checksum: 10/37cbf5f718efa5a9f448a090950830fbff413c3b195ef05f9ca6bafb9ea9fdd27921bcd83411629ef6777c64f233a0af6af0d7a56c0461dcbcb17d792559c277 + checksum: 10/1e8674e73be81ee6af955ebcf30d67bb92c53b62bf26519b40cdf9baa31489a8a2b1b890f6c24060ab7b61501ed48d95ab67693600956d82df2001abb4bdd3d1 languageName: node linkType: hard -"@openmrs/esm-navigation@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-navigation@npm:5.6.1-pre.1966" +"@openmrs/esm-navigation@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-navigation@npm:5.6.1-pre.2029" dependencies: path-to-regexp: "npm:6.1.0" peerDependencies: "@openmrs/esm-state": 5.x - checksum: 10/fe5a6854b268cd759235da05ae5a0762cc1710f6ebf4e02b80fc52dc06fb4227c67f58512707e68afc036d0f652312e81a51533fa7947d4ea3cb432fec810511 + checksum: 10/73aa79e91b1582910c5798459f4bc1d9f02144dedcf95d83d937afe250e74d420167e70b9549d8de3457ab7bce4d553ca5235000b0e482308d53fb5f361efe39 languageName: node linkType: hard -"@openmrs/esm-offline@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-offline@npm:5.6.1-pre.1966" +"@openmrs/esm-offline@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-offline@npm:5.6.1-pre.2029" dependencies: dexie: "npm:^3.0.3" lodash-es: "npm:^4.17.21" @@ -2858,7 +2858,7 @@ __metadata: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x rxjs: 6.x - checksum: 10/c044b041d1ccbc51190b1958fc85cdaf98aa98d24a9dcbdd50bb6007829c9a1da51466835e1a4391eb7851588a8c4c58efc9ff4fa99e3f0524e27441df31e64d + checksum: 10/da8505503afec8a710c0a72d5cd80f9a56d2b1ad2339c4ecc6e24932b99f44334079dc1201c5d31de778baeeaddf1cc6bf9f0e22b9d2f7daa2388c7dca309a62 languageName: node linkType: hard @@ -2999,9 +2999,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-react-utils@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-react-utils@npm:5.6.1-pre.1966" +"@openmrs/esm-react-utils@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-react-utils@npm:5.6.1-pre.2029" dependencies: lodash-es: "npm:^4.17.21" single-spa-react: "npm:^6.0.0" @@ -3022,17 +3022,17 @@ __metadata: react-i18next: 11.x rxjs: 6.x swr: 2.x - checksum: 10/24a3c038a74b416fca70d92b48cf4454d8e19d43724e1fdf10a9b6f6bf660debdf2c69c99876ea43e3762441140f6a821a71befadcdc9b5c7b2fac33d10e36f1 + checksum: 10/480a6b8b0f1b5872ebf371fa76ebde727185862b20c2e7aca63be226f3ac4268ec56fd719709d3d79f1a82a2b263997703932eccc70aa8b84bdba208ab96c68c languageName: node linkType: hard -"@openmrs/esm-routes@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-routes@npm:5.6.1-pre.1966" +"@openmrs/esm-routes@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-routes@npm:5.6.1-pre.2029" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-utils": 5.x - checksum: 10/6f4d5445f37befb78a69f63ac92b35f2a8bf34f6cfb5f1a7b63063aaabe9770eefb4938957eba039692c6a2ca49e136d64f12a5268002f87d158a2e248eaa521 + checksum: 10/d7b4a027d9898a278b3c4f80f951c88d6f5d61f41d4afb69c47b672b6a95502e3df17e5227ccd328006686d1c727242aad6fc00cb04e467a7d4ec7f93579605f languageName: node linkType: hard @@ -3052,20 +3052,20 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-state@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-state@npm:5.6.1-pre.1966" +"@openmrs/esm-state@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-state@npm:5.6.1-pre.2029" dependencies: zustand: "npm:^4.3.6" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 10/cbfe102a5c57f92aee0a153ac3c9433203a1e5469d821fc8e44cef7f3ecbac1ef08307c6a7983db418e3830a0cb533da3db890926a6084444266035187c732a3 + checksum: 10/8d61ebfd72d3b8915f13ddc7434055046bab0fbf533d58d6e149d7d351aec4e57e85b8c4fd6492646a65ee368cea86d896b68bb2479c999f71703bd7ddea7ce1 languageName: node linkType: hard -"@openmrs/esm-styleguide@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-styleguide@npm:5.6.1-pre.1966" +"@openmrs/esm-styleguide@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-styleguide@npm:5.6.1-pre.2029" dependencies: "@carbon/charts": "npm:^1.12.0" "@carbon/react": "npm:~1.37.0" @@ -3088,24 +3088,24 @@ __metadata: react: 18.x react-dom: 18.x rxjs: 6.x - checksum: 10/2984390db19c247b90fea11ef462de051d314330377bbb12ba1b9dc8d08229a33b2eac87e94c773bff28cd32e185340aba9b7a5071b129ea29695b6d76cbc31f + checksum: 10/9d86ef524495d01a0f1c7a581a25416dd3e4f923c31decdde8ed3087094ed56b4406a6c4c2c85afd9d4935ee6cb96c4f3a4be112fe8ec59fe5f72ba3ab750e2b languageName: node linkType: hard -"@openmrs/esm-translations@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-translations@npm:5.6.1-pre.1966" +"@openmrs/esm-translations@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-translations@npm:5.6.1-pre.2029" dependencies: i18next: "npm:21.10.0" peerDependencies: i18next: 21.x - checksum: 10/d8f456b85d1bb3d51cf44af8fcdd6e9958db206426819fcc67b742a061d24a952537392d4090113174167b77cdb455c3735ddc57655400513d6bd13604807b03 + checksum: 10/56779135eb11fb523b316233232055e0416e0c9dbb82c279585b2395d30cd7715391d1d7367e0bc12cb0301f06cff6c72fdc13b491b3fe0d7ed8df645486eea1 languageName: node linkType: hard -"@openmrs/esm-utils@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/esm-utils@npm:5.6.1-pre.1966" +"@openmrs/esm-utils@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/esm-utils@npm:5.6.1-pre.2029" dependencies: "@internationalized/date": "npm:^3.5.4" semver: "npm:7.3.2" @@ -3114,7 +3114,7 @@ __metadata: dayjs: 1.x i18next: 21.x rxjs: 6.x - checksum: 10/99ab688ad264b507d0189eeb93763db1de3dc2f4d7949d6a422f773f4aeac0cd0fadc7895f255675e8d2a80aa2049af7aeea6678362ee4aeedd7d7ab6e07a4f0 + checksum: 10/723a7eeed636eddae7ea06042b4723743afe18dc0f7ad60c6d2b6703dd770194a65020024e1a37da8e443603050f2822cd45ab9165a0e91528b52f907d7f2a46 languageName: node linkType: hard @@ -3134,9 +3134,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/webpack-config@npm:5.6.1-pre.1966": - version: 5.6.1-pre.1966 - resolution: "@openmrs/webpack-config@npm:5.6.1-pre.1966" +"@openmrs/webpack-config@npm:5.6.1-pre.2029": + version: 5.6.1-pre.2029 + resolution: "@openmrs/webpack-config@npm:5.6.1-pre.2029" dependencies: "@swc/core": "npm:^1.3.58" clean-webpack-plugin: "npm:^4.0.0" @@ -3153,7 +3153,7 @@ __metadata: webpack-stats-plugin: "npm:^1.0.3" peerDependencies: webpack: 5.x - checksum: 10/bad42e4401b0ca5e91c9033c9d043e834ab46a0904691f85b3239191ab0ef6b285c5552e4f47a0074ae7ce72911479e46f8f8820c4025c4ca263159f80db75ab + checksum: 10/9697e45c4b55d3344ee4f6f01cd11937676e66aca30dba909a807c2ea334250a068b5d93fc79da178ca6ff7c47c1f525da10d30d312a2c1c9b56d98e18651e74 languageName: node linkType: hard @@ -13287,11 +13287,11 @@ __metadata: linkType: hard "openmrs@npm:next": - version: 5.6.1-pre.1966 - resolution: "openmrs@npm:5.6.1-pre.1966" + version: 5.6.1-pre.2029 + resolution: "openmrs@npm:5.6.1-pre.2029" dependencies: - "@openmrs/esm-app-shell": "npm:5.6.1-pre.1966" - "@openmrs/webpack-config": "npm:5.6.1-pre.1966" + "@openmrs/esm-app-shell": "npm:5.6.1-pre.2029" + "@openmrs/webpack-config": "npm:5.6.1-pre.2029" "@pnpm/npm-conf": "npm:^2.1.0" "@swc/core": "npm:^1.3.58" autoprefixer: "npm:^10.4.2" @@ -13323,7 +13323,7 @@ __metadata: yargs: "npm:^17.6.2" bin: openmrs: ./dist/cli.js - checksum: 10/c6a7653b2f7ff8695fb782c1fddf19138348ed6102f960bb3975f32745095fd72eca9ebd3e9b09e2ab92f75266109e3fc8cf4f020f2965a2a6a4c4c114437a13 + checksum: 10/c20d90cc585565ee242c21b7193e5721743d21b44159c827df556c3c04ff163ac7c509ef098f0a0478e4ed0479ab6aace97172e65f56dabf821e222dbda2b0a1 languageName: node linkType: hard