diff --git a/package.json b/package.json index f375ef569..3eb5caa26 100644 --- a/package.json +++ b/package.json @@ -13,15 +13,15 @@ "access": "public" }, "scripts": { - "start": "openmrs develop --backend https://ohri-dev.globalhealthapp.net/ --sources 'packages/esm-*-app/'", - "start:core": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-ohri-core-app", - "start:covid": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-covid-app", - "start:hiv": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-hiv-app", - "start:cervical-cancer": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-cervical-cancer-app", + "start": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net/ --sources 'packages/esm-*-app/'", + "start:core": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-ohri-core-app", + "start:covid": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-covid-app", + "start:hiv": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-hiv-app", + "start:cervical-cancer": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-cervical-cancer-app", "start:pmtct": "openmrs develop --backend https://ohri-namibia-dev.globalhealthapp.net --sources 'packages/esm-ohri-pmtct-app/'", - "start:form-render": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-form-render-app", - "start:tb": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-tb-app", - "start:opd": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-opd-app", + "start:form-render": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-form-render-app", + "start:tb": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-tb-app", + "start:opd": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-opd-app", "prettier": "prettier --fix --config prettier.config.js --write \"packages/**/*.{ts,tsx}\"", "prepare": "husky install", "test": "jest --config jest.config.js --verbose false --passWithNoTests", diff --git a/packages/esm-commons-lib/src/components/encounter-list/helpers.ts b/packages/esm-commons-lib/src/components/encounter-list/helpers.ts index 9fa7aafc1..747329e3b 100644 --- a/packages/esm-commons-lib/src/components/encounter-list/helpers.ts +++ b/packages/esm-commons-lib/src/components/encounter-list/helpers.ts @@ -14,11 +14,10 @@ export function launchEncounterForm( intent: string = '*', workspaceWindowSize?: 'minimized' | 'maximized', patientUuid?: string, - mutateform?: () => void, ) { launchPatientWorkspace('patient-form-entry-workspace', { workspaceTitle: form.name, - mutateform: mutateform, + mutateForm: onFormSave, formInfo: { encounterUuid, formUuid: form.name, diff --git a/packages/esm-commons-lib/src/hooks/useEncounterRows.ts b/packages/esm-commons-lib/src/hooks/useEncounterRows.ts index 508a13e80..d2a6dd05b 100644 --- a/packages/esm-commons-lib/src/hooks/useEncounterRows.ts +++ b/packages/esm-commons-lib/src/hooks/useEncounterRows.ts @@ -1,4 +1,4 @@ -import useSWRImmutable, { mutate } from 'swr'; +import useSWR from 'swr'; import { OpenmrsEncounter } from '../api/types'; import { useCallback, useEffect, useMemo, useState } from 'react'; import { openmrsFetch } from '@openmrs/esm-framework'; @@ -12,7 +12,8 @@ export function useEncounterRows(patientUuid: string, encounterType: string, enc data: response, error, isLoading, - } = useSWRImmutable<{ data: { results: OpenmrsEncounter[] } }, Error>(url, openmrsFetch); + mutate, + } = useSWR<{ data: { results: OpenmrsEncounter[] } }, Error>(url, openmrsFetch); useEffect(() => { if (response) { @@ -30,8 +31,8 @@ export function useEncounterRows(patientUuid: string, encounterType: string, enc }, [encounterFilter, response]); const onFormSave = useCallback(() => { - mutate(url); - }, [url]); + mutate(); + }, [mutate]); return { encounters, diff --git a/yarn.lock b/yarn.lock index 6c60ef592..a461e7cfd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1459,26 +1459,6 @@ __metadata: languageName: node linkType: hard -"@carbon/icon-helpers@npm:^10.44.0": - version: 10.45.1 - resolution: "@carbon/icon-helpers@npm:10.45.1" - checksum: 69da5ae85b586c5bb754f1db90069fb48f556c9f5023318a25572faa07e6dca0f07aaec237eaec883029bb75819b64c30bf4716339cdbab590ca0ee648ef67bc - languageName: node - linkType: hard - -"@carbon/icons-react@npm:11.26.0": - version: 11.26.0 - resolution: "@carbon/icons-react@npm:11.26.0" - dependencies: - "@carbon/icon-helpers": "npm:^10.44.0" - "@carbon/telemetry": "npm:0.1.0" - prop-types: "npm:^15.7.2" - peerDependencies: - react: ">=16" - checksum: 70fec92a7c24378647e7b4edb6d468a0f5a9260f68bcaf91dd3ffb90cd1d371c79ba156702b01db57db0ef9fc10049b71c16715015989c540bb1b1833abd3956 - languageName: node - linkType: hard - "@carbon/icons-react@npm:^11.11.0": version: 11.11.0 resolution: "@carbon/icons-react@npm:11.11.0" @@ -2971,9 +2951,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-api@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-api@npm:5.4.1-pre.1592" +"@openmrs/esm-api@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-api@npm:5.6.1-pre.1895" dependencies: "@types/fhir": "npm:0.0.31" lodash-es: "npm:^4.17.21" @@ -2982,17 +2962,17 @@ __metadata: "@openmrs/esm-error-handling": 5.x "@openmrs/esm-navigation": 5.x "@openmrs/esm-offline": 5.x - checksum: 2e8ef75d8ac6f7edd582b7acd4a470f45812faf9122c93c256365b0b101d7012dffdb33eee5d1d41cb28e7638b751f5a92b34779ca5d908dbed94c95db3bb58d + checksum: ee7cf310440de04ed522dd8d244468fc5c0be871a1df1deeb6abb0e6a7e0c775f2b63095c2f9ebf0b858f71423ef08eeaf3036320dad948bfda564d773bf3b57 languageName: node linkType: hard -"@openmrs/esm-app-shell@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-app-shell@npm:5.4.1-pre.1592" +"@openmrs/esm-app-shell@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-app-shell@npm:5.6.1-pre.1895" dependencies: "@carbon/react": "npm:~1.37.0" - "@openmrs/esm-framework": "npm:5.4.1-pre.1592" - "@openmrs/esm-styleguide": "npm:5.4.1-pre.1592" + "@openmrs/esm-framework": "npm:5.6.1-pre.1895" + "@openmrs/esm-styleguide": "npm:5.6.1-pre.1895" dayjs: "npm:^1.10.4" dexie: "npm:^3.0.3" html-webpack-plugin: "npm:^5.5.0" @@ -3006,7 +2986,7 @@ __metadata: react-router-dom: "npm:^6.3.0" rxjs: "npm:^6.5.3" semver: "npm:^7.3.4" - single-spa: "npm:^6.0.0" + single-spa: "npm:^6.0.1" swc-loader: "npm:^0.2.3" swr: "npm:^2.2.2" systemjs: "npm:^6.8.3" @@ -3017,44 +2997,57 @@ __metadata: workbox-strategies: "npm:^6.1.5" workbox-webpack-plugin: "npm:^6.1.5" workbox-window: "npm:^6.1.5" - checksum: d77f0fab8bc41a8678ef9855d64bbca9639e66bcfd74723e5ba92e5c563390bfe549b04f97c2144e1655a7a68e76156fa943374959b6ddfc78c4460e1e99ae11 + checksum: b3902e0d0371c817b7110033c155beac1f461ad3b78e6f21175b04d2f5eee3dca5d1dbdb49e6fa947d10107c1864875e336aed497171f04037a0e07ed31e5099 languageName: node linkType: hard -"@openmrs/esm-config@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-config@npm:5.4.1-pre.1592" +"@openmrs/esm-config@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-config@npm:5.6.1-pre.1895" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: 1226a6533127483b6639957c04f641851791f3c41492ef4704184d270845dfe74834f7fbcf0633cec32ae4bd2acf0cf2ec9a58a8395fa8431fa8994927a8e98c + checksum: 5161ec03c686697bbdacc11d14f8573294a37321f680c3426c9a104c20a5c745ccbfa2774b6ce8a0589af733421cc683d45953579c1d5cd483a8c2f34baddb1a languageName: node linkType: hard -"@openmrs/esm-dynamic-loading@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-dynamic-loading@npm:5.4.1-pre.1592" +"@openmrs/esm-context@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-context@npm:5.6.1-pre.1895" + dependencies: + immer: "npm:^10.0.4" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: ca18b905a31d6a66ec1dced69ed62e348ab24983ba50bb1afebd34ec2924fecbb2ac2e02564fce7656c53fb363dd789f42d0d65fa289c6310e0eec9a11a2c00c + "@openmrs/esm-state": 5.x + checksum: eb514d6538353003d32c258c07e6345530506312d27e1f510cbe6134e2867756224e92dac898bc22ef5bbcf24ca775e3c958c7202c6a1050fdfd6eb71517be42 languageName: node linkType: hard -"@openmrs/esm-error-handling@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-error-handling@npm:5.4.1-pre.1592" +"@openmrs/esm-dynamic-loading@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-dynamic-loading@npm:5.6.1-pre.1895" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 0f1c750f4a17c2e0b12f7b2439091837edda8226cdbb3676e292736dfa43b4a252f02cc7fdf27510b7e388aad16076f21ff17be2c1604db4725adc9db04f9073 + "@openmrs/esm-translations": 5.x + checksum: f0ef2e3ddb67d942720a5ebeb8d738a2d85ae09813859d3a1d82c924bc0a1f7d9f016da6d93cf75c03042b872db95fae30ab3706eedf312ada98a22c1bc04c7b languageName: node linkType: hard -"@openmrs/esm-extensions@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-extensions@npm:5.4.1-pre.1592" +"@openmrs/esm-error-handling@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-error-handling@npm:5.6.1-pre.1895" + peerDependencies: + "@openmrs/esm-globals": 5.x + checksum: c1e0cce345005f2eb92d7b9e5120878a9c5d85d74827ab958d3c29d01e3e436d52fd552a82314322ed604f34a8282c6b612d3b50def6b4c0362b6e6762de4914 + languageName: node + linkType: hard + +"@openmrs/esm-extensions@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-extensions@npm:5.6.1-pre.1895" dependencies: lodash-es: "npm:^4.17.21" peerDependencies: @@ -3062,79 +3055,84 @@ __metadata: "@openmrs/esm-config": 5.x "@openmrs/esm-feature-flags": 5.x "@openmrs/esm-state": 5.x + "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: aa6fc0e6704cc675142937ca65d17e99f751f879523031a4106934d11ea3ce0265126efa4c7659a2d2bfba61fe0b1ea3f8ccd54b5a67f9306aa2b655c7844f81 + checksum: cd7625e6bcbec729f421bf2e560a2a1ceafd125f4ac24f3d5be4f9b4dbafaeb6e46299b09e4fbc1ccd89caa1a197da949a3f713297836e6da4269003433e11ab languageName: node linkType: hard -"@openmrs/esm-feature-flags@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-feature-flags@npm:5.4.1-pre.1592" +"@openmrs/esm-feature-flags@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-feature-flags@npm:5.6.1-pre.1895" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: fcdc422e4301c38664c826b524f4db52bfa76d23a08e7e337ea8a6c515ed6ebff3f5252a5dba2d7473af5aedc4251f3a531a6c51f49057fe997f0a69245ca993 - languageName: node - linkType: hard - -"@openmrs/esm-framework@npm:5.4.1-pre.1592, @openmrs/esm-framework@npm:next": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-framework@npm:5.4.1-pre.1592" - dependencies: - "@openmrs/esm-api": "npm:5.4.1-pre.1592" - "@openmrs/esm-config": "npm:5.4.1-pre.1592" - "@openmrs/esm-dynamic-loading": "npm:5.4.1-pre.1592" - "@openmrs/esm-error-handling": "npm:5.4.1-pre.1592" - "@openmrs/esm-extensions": "npm:5.4.1-pre.1592" - "@openmrs/esm-feature-flags": "npm:5.4.1-pre.1592" - "@openmrs/esm-globals": "npm:5.4.1-pre.1592" - "@openmrs/esm-navigation": "npm:5.4.1-pre.1592" - "@openmrs/esm-offline": "npm:5.4.1-pre.1592" - "@openmrs/esm-react-utils": "npm:5.4.1-pre.1592" - "@openmrs/esm-routes": "npm:5.4.1-pre.1592" - "@openmrs/esm-state": "npm:5.4.1-pre.1592" - "@openmrs/esm-styleguide": "npm:5.4.1-pre.1592" - "@openmrs/esm-utils": "npm:5.4.1-pre.1592" + checksum: 558abde2f5db727b4a6e245fcd11a5c623625f7e270958f67ccbec7bbebe3ef1ff6aae81d80788e6302bd817b062744eb65586eeb5c3906b8cd06502dad9c4ac + languageName: node + linkType: hard + +"@openmrs/esm-framework@npm:5.6.1-pre.1895, @openmrs/esm-framework@npm:next": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-framework@npm:5.6.1-pre.1895" + dependencies: + "@openmrs/esm-api": "npm:5.6.1-pre.1895" + "@openmrs/esm-config": "npm:5.6.1-pre.1895" + "@openmrs/esm-context": "npm:5.6.1-pre.1895" + "@openmrs/esm-dynamic-loading": "npm:5.6.1-pre.1895" + "@openmrs/esm-error-handling": "npm:5.6.1-pre.1895" + "@openmrs/esm-extensions": "npm:5.6.1-pre.1895" + "@openmrs/esm-feature-flags": "npm:5.6.1-pre.1895" + "@openmrs/esm-globals": "npm:5.6.1-pre.1895" + "@openmrs/esm-navigation": "npm:5.6.1-pre.1895" + "@openmrs/esm-offline": "npm:5.6.1-pre.1895" + "@openmrs/esm-react-utils": "npm:5.6.1-pre.1895" + "@openmrs/esm-routes": "npm:5.6.1-pre.1895" + "@openmrs/esm-state": "npm:5.6.1-pre.1895" + "@openmrs/esm-styleguide": "npm:5.6.1-pre.1895" + "@openmrs/esm-translations": "npm:5.6.1-pre.1895" + "@openmrs/esm-utils": "npm:5.6.1-pre.1895" dayjs: "npm:^1.10.7" peerDependencies: dayjs: 1.x - i18next: 19.x + i18next: 21.x react: 18.x react-dom: 18.x react-i18next: 11.x rxjs: 6.x single-spa: 5.x swr: 2.x - checksum: e6493e7e47b2cb3859664d75143c03bb4f16bfdc2ed079158a1700acd0c0b681edb462f67152bfc90e7b7b115519431065ef34eea00413c2bd150722c286284d + checksum: 46ce1d7c92f654b71489d24e347258ed98b7c53d8913c4755468265864cab6eff240965f28a6c0960edb62a9ccc41bc4c1477f5846019c3921854c61fae5d3bf languageName: node linkType: hard -"@openmrs/esm-globals@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-globals@npm:5.4.1-pre.1592" +"@openmrs/esm-globals@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-globals@npm:5.6.1-pre.1895" + dependencies: + "@types/fhir": "npm:0.0.31" peerDependencies: single-spa: 5.x - checksum: c9f2daf8d10a7c7776af2ea92379c1e18d9ee628cafd0d717e4cefd2107f9c762d0f7acbb19755cb2f6fa9f73b301decf67618cfcbedf89fa24a97e53c2ff661 + checksum: b67befb45ed8ea39cb92ee629066fa1779e8a81f3be3c3e82aeea650901b667a2631ffbf8c889e4430c9166085e593061086b2e16d75ffbf977491420e72b239 languageName: node linkType: hard -"@openmrs/esm-navigation@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-navigation@npm:5.4.1-pre.1592" +"@openmrs/esm-navigation@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-navigation@npm:5.6.1-pre.1895" dependencies: path-to-regexp: "npm:6.1.0" peerDependencies: "@openmrs/esm-state": 5.x - checksum: 948fd7990a9a7c3b08f330e2aa0e08cd0e9f4ffa3b83560cbdd6916cd24023c2fcc0299bea8887dfe07b50cdd17f699adf18d76e712ec3899e07e7b5d871703e + checksum: ef320a334c7f5a3574a341f8b6bbae8bdb157384e90506335d838b2372d1ce73542a128880a6b8169035febcab94959d596c3a3f34ed130eb881e003b31f87e4 languageName: node linkType: hard -"@openmrs/esm-offline@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-offline@npm:5.4.1-pre.1592" +"@openmrs/esm-offline@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-offline@npm:5.6.1-pre.1895" dependencies: dexie: "npm:^3.0.3" lodash-es: "npm:^4.17.21" @@ -3144,9 +3142,8 @@ __metadata: "@openmrs/esm-api": 5.x "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x - "@openmrs/esm-styleguide": 5.x rxjs: 6.x - checksum: 2da01830be4ee8585ea99a24fd213e286da370fdaed14941edac945a59a37a255a32e84d4902668e45592e4b2c2d75b23d27662f7aba9891009e63b5962874de + checksum: d008ee9090780b1b122828df32ba2d6ad343f0613cd34ffd3053b305c770e1d264b625419f9ea7844d8937396a54990d12f79ac5c4fdc831a56b6fa88ffbd1f9 languageName: node linkType: hard @@ -3165,54 +3162,57 @@ __metadata: languageName: node linkType: hard -"@openmrs/esm-react-utils@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-react-utils@npm:5.4.1-pre.1592" +"@openmrs/esm-react-utils@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-react-utils@npm:5.6.1-pre.1895" dependencies: lodash-es: "npm:^4.17.21" single-spa-react: "npm:^6.0.0" peerDependencies: "@openmrs/esm-api": 5.x "@openmrs/esm-config": 5.x + "@openmrs/esm-context": 5.x "@openmrs/esm-error-handling": 5.x "@openmrs/esm-extensions": 5.x + "@openmrs/esm-feature-flags": 5.x "@openmrs/esm-globals": 5.x "@openmrs/esm-navigation": 5.x + "@openmrs/esm-utils": 5.x dayjs: 1.x - i18next: 19.x + i18next: 21.x react: 18.x react-dom: 18.x react-i18next: 11.x rxjs: 6.x swr: 2.x - checksum: 85543b1064fb44fa5ea28a19d1222efc95cbe5f2751eec2e4c8bc721c11f32c4db1b3c6b763e7cdd9e63bc8591aa471bb6a16616fdf38d4b72c6878f8d6b2d41 + checksum: c0cd93f55f70e354beec922b8358492384576cdbd4d15be90ad3f23e8cb9d853b3db78d557a942c2c6b764594ecfaec21344a0f53a744d7fdf07eb900bf37507 languageName: node linkType: hard -"@openmrs/esm-routes@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-routes@npm:5.4.1-pre.1592" +"@openmrs/esm-routes@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-routes@npm:5.6.1-pre.1895" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-utils": 5.x - checksum: d30f49230b951e210b21b26556a2d55942592c312379e9df81fb984503397f5b21ab0712f623c9245031e2d58a0d08ad9880d537b17d1f75b711fc04a37be9d8 + checksum: 211cb5d09d5a9c477f2847df01151431d59a1ae870a02878298ac9465f380de408322dce176b253ef40977d6814ec23f7732b0539d1a51b6e1fa42e9d40011fa languageName: node linkType: hard -"@openmrs/esm-state@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-state@npm:5.4.1-pre.1592" +"@openmrs/esm-state@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-state@npm:5.6.1-pre.1895" dependencies: zustand: "npm:^4.3.6" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: d33f5527a42ea9653b431b31b788bbc62d07ff648d35bd0f0a61a52187f0877b26f7134f5e34c1f2fe38724e7ffe8e026571f07ed0dc5adc80d669ffb29cbd33 + checksum: a286c88dfc2477f854f53fc0344cd0ec841bed7d1de445717a58eb0a2bfa3b0c2498a8974ff1313540f7d9639b3d317531e92181b71fe4ce37d4833eda5eba22 languageName: node linkType: hard -"@openmrs/esm-styleguide@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-styleguide@npm:5.4.1-pre.1592" +"@openmrs/esm-styleguide@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-styleguide@npm:5.6.1-pre.1895" dependencies: "@carbon/charts": "npm:^1.12.0" "@carbon/react": "npm:~1.37.0" @@ -3220,31 +3220,50 @@ __metadata: "@react-spectrum/datepicker": "npm:^3.8.0" "@react-spectrum/provider": "npm:^3.9.0" "@react-spectrum/theme-default": "npm:^3.5.6" + core-js-pure: "npm:^3.36.0" d3: "npm:^7.8.0" + geopattern: "npm:^1.2.3" lodash-es: "npm:^4.17.21" + react-avatar: "npm:^5.0.3" peerDependencies: + "@openmrs/esm-error-handling": 5.x "@openmrs/esm-extensions": 5.x - "@openmrs/esm-framework": 5.x + "@openmrs/esm-navigation": 5.x "@openmrs/esm-react-utils": 5.x "@openmrs/esm-state": 5.x + "@openmrs/esm-translations": 5.x dayjs: 1.x + i18next: 21.x react: 18.x react-dom: 18.x rxjs: 6.x - checksum: 3a94d832aa47e0603a3f147a7354cbdd8649b2f0d47838e17874423246425f0b930b0c0dad9dc78857c62b756cd95fe5ff3d5b2ed4339fd305d826e6fe499ebc + checksum: a9787651b620abf6517c87f894d3f51b0075731e8edf72935613ea68772c42062b09e4c1a2c123a6267d6751489f92ab2e0a8af975650d66d8f0aedfe979e169 + languageName: node + linkType: hard + +"@openmrs/esm-translations@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-translations@npm:5.6.1-pre.1895" + dependencies: + i18next: "npm:21.10.0" + peerDependencies: + i18next: 21.x + checksum: d6fd8577ec0c457a827d3629494b2e3c91b1d5c44f6e33acc9a26b6762a03e141dc2a0e57da1a4c28390a466390dd476af11fe2fb5ee555de1ed25aee1aa1156 languageName: node linkType: hard -"@openmrs/esm-utils@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/esm-utils@npm:5.4.1-pre.1592" +"@openmrs/esm-utils@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/esm-utils@npm:5.6.1-pre.1895" dependencies: + "@internationalized/date": "npm:^3.5.0" semver: "npm:7.3.2" peerDependencies: + "@openmrs/esm-globals": 5.x dayjs: 1.x - i18next: 19.x + i18next: 21.x rxjs: 6.x - checksum: eec5a59e5f3c9b63d6704e0dba6aea9b4fd8d7ff70333d443804bba816aaee6c3d76cf551da165e5c38f55e2cdae37bd127023749a2bfa33bf8693eba0bdbd86 + checksum: 3f4391e0cc21de799e5697bf2a2918ab5ead48a1727dc432e78a337384e1ed0ace000fcd8d655fe4acd16419e237704c1c06264efc1b989ba92e3bdc76a6dac4 languageName: node linkType: hard @@ -3276,9 +3295,9 @@ __metadata: languageName: node linkType: hard -"@openmrs/webpack-config@npm:5.4.1-pre.1592": - version: 5.4.1-pre.1592 - resolution: "@openmrs/webpack-config@npm:5.4.1-pre.1592" +"@openmrs/webpack-config@npm:5.6.1-pre.1895": + version: 5.6.1-pre.1895 + resolution: "@openmrs/webpack-config@npm:5.6.1-pre.1895" dependencies: "@swc/core": "npm:^1.3.58" clean-webpack-plugin: "npm:^4.0.0" @@ -3295,7 +3314,7 @@ __metadata: webpack-stats-plugin: "npm:^1.0.3" peerDependencies: webpack: 5.x - checksum: 0eab1ab88d23d0ce82f9ab0e2f99bf1947bf8b590f534b558ccd001b36a6450eb7aa19779f9b822a32e17ef14003616ea5fd42405a66b1433a35f40f4ea568ae + checksum: ead0112760afd4dc9bb53ef34f2d71d81af3506d455240c90363e5c7febe13e8328ce488db5a7362e952d389b7d358ff980878daac8a5979704f04feb94ac352 languageName: node linkType: hard @@ -6720,6 +6739,13 @@ __metadata: languageName: node linkType: hard +"charenc@npm:0.0.2": + version: 0.0.2 + resolution: "charenc@npm:0.0.2" + checksum: 81dcadbe57e861d527faf6dd3855dc857395a1c4d6781f4847288ab23cffb7b3ee80d57c15bba7252ffe3e5e8019db767757ee7975663ad2ca0939bb8fcaf2e5 + languageName: node + linkType: hard + "cheerio-select@npm:^2.1.0": version: 2.1.0 resolution: "cheerio-select@npm:2.1.0" @@ -7282,6 +7308,13 @@ __metadata: languageName: node linkType: hard +"core-js-pure@npm:^3.36.0": + version: 3.37.1 + resolution: "core-js-pure@npm:3.37.1" + checksum: c683d4e46c4e4b9573f471a8229d972f9531a27e718453dfae601f1c104a2c905c3fe4e85ea3db449e364c573ecbe8801a08a3ffe88177df8dd8f8ea9af2cf81 + languageName: node + linkType: hard + "core-util-is@npm:~1.0.0": version: 1.0.3 resolution: "core-util-is@npm:1.0.3" @@ -7355,6 +7388,13 @@ __metadata: languageName: node linkType: hard +"crypt@npm:0.0.2": + version: 0.0.2 + resolution: "crypt@npm:0.0.2" + checksum: 2c72768de3d28278c7c9ffd81a298b26f87ecdfe94415084f339e6632f089b43fe039f2c93f612bcb5ffe447238373d93b2e8c90894cba6cfb0ac7a74616f8b9 + languageName: node + linkType: hard + "crypto-random-string@npm:^2.0.0": version: 2.0.0 resolution: "crypto-random-string@npm:2.0.0" @@ -9244,6 +9284,13 @@ __metadata: languageName: node linkType: hard +"extend@npm:~1.2.1": + version: 1.2.1 + resolution: "extend@npm:1.2.1" + checksum: bfebc6fd4d924f9a8872cfebbda8fc543bae58ca3ec7fe7a5189a706402bd465559b82a106db589088d60e8348e04d8597a1d3760cb5e3d8cf184bcd924ac569 + languageName: node + linkType: hard + "external-editor@npm:^3.0.3": version: 3.1.0 resolution: "external-editor@npm:3.1.0" @@ -9755,6 +9802,15 @@ __metadata: languageName: node linkType: hard +"geopattern@npm:^1.2.3": + version: 1.2.3 + resolution: "geopattern@npm:1.2.3" + dependencies: + extend: "npm:~1.2.1" + checksum: 75a2a7149b4615ec59ed89613155c8252d758de49a52aa3ac45398c83d821b6fe0db3252e573b9117f4e56530745a17f1ac666c484709a467da08c6a59aa7cda + languageName: node + linkType: hard + "get-caller-file@npm:^2.0.5": version: 2.0.5 resolution: "get-caller-file@npm:2.0.5" @@ -10421,7 +10477,7 @@ __metadata: languageName: node linkType: hard -"i18next@npm:^21.10.0, i18next@npm:^21.2.0": +"i18next@npm:21.10.0, i18next@npm:^21.10.0, i18next@npm:^21.2.0": version: 21.10.0 resolution: "i18next@npm:21.10.0" dependencies: @@ -10512,6 +10568,13 @@ __metadata: languageName: node linkType: hard +"immer@npm:^10.0.4": + version: 10.1.1 + resolution: "immer@npm:10.1.1" + checksum: 9dacf1e8c201d69191ccd88dc5d733bafe166cd45a5a360c5d7c88f1de0dff974a94114d72b35f3106adfe587fcfb131c545856184a2247d89d735ad25589863 + languageName: node + linkType: hard + "immutable@npm:^4.0.0": version: 4.1.0 resolution: "immutable@npm:4.1.0" @@ -10766,7 +10829,7 @@ __metadata: languageName: node linkType: hard -"is-buffer@npm:^1.1.5": +"is-buffer@npm:^1.1.5, is-buffer@npm:~1.1.6": version: 1.1.6 resolution: "is-buffer@npm:1.1.6" checksum: f63da109e74bbe8947036ed529d43e4ae0c5fcd0909921dce4917ad3ea212c6a87c29f525ba1d17c0858c18331cf1046d4fc69ef59ed26896b25c8288a627133 @@ -11006,6 +11069,13 @@ __metadata: languageName: node linkType: hard +"is-retina@npm:^1.0.3": + version: 1.0.3 + resolution: "is-retina@npm:1.0.3" + checksum: 7f8306095851aaa55d7dd4a2edffb53942f45388d4d19299a788ca7d30f9f2b7ae0884237b2262a5f8a6d9d5f57e934da3fdbec60b174469054ef080ac29012f + languageName: node + linkType: hard + "is-set@npm:^2.0.1, is-set@npm:^2.0.2": version: 2.0.2 resolution: "is-set@npm:2.0.2" @@ -12401,6 +12471,17 @@ __metadata: languageName: node linkType: hard +"md5@npm:^2.0.0": + version: 2.3.0 + resolution: "md5@npm:2.3.0" + dependencies: + charenc: "npm:0.0.2" + crypt: "npm:0.0.2" + is-buffer: "npm:~1.1.6" + checksum: 88dce9fb8df1a084c2385726dcc18c7f54e0b64c261b5def7cdfe4928c4ee1cd68695c34108b4fab7ecceb05838c938aa411c6143df9fdc0026c4ddb4e4e72fa + languageName: node + linkType: hard + "mdast-util-definitions@npm:^5.0.0": version: 5.1.1 resolution: "mdast-util-definitions@npm:5.1.1" @@ -13537,12 +13618,11 @@ __metadata: linkType: hard "openmrs@npm:next": - version: 5.4.1-pre.1592 - resolution: "openmrs@npm:5.4.1-pre.1592" + version: 5.6.1-pre.1895 + resolution: "openmrs@npm:5.6.1-pre.1895" dependencies: - "@carbon/icons-react": "npm:11.26.0" - "@openmrs/esm-app-shell": "npm:5.4.1-pre.1592" - "@openmrs/webpack-config": "npm:5.4.1-pre.1592" + "@openmrs/esm-app-shell": "npm:5.6.1-pre.1895" + "@openmrs/webpack-config": "npm:5.6.1-pre.1895" "@pnpm/npm-conf": "npm:^2.1.0" "@swc/core": "npm:^1.3.58" autoprefixer: "npm:^10.4.2" @@ -13562,6 +13642,7 @@ __metadata: postcss: "npm:^8.4.6" postcss-loader: "npm:^6.2.1" rimraf: "npm:^3.0.2" + semver: "npm:^7.3.4" swc-loader: "npm:^0.2.3" tar: "npm:^6.0.5" typescript: "npm:^4.6.4" @@ -13573,7 +13654,7 @@ __metadata: yargs: "npm:^17.6.2" bin: openmrs: ./dist/cli.js - checksum: 6a02311734010b6695d58a21785528b3ec168145cdd935c6949e93540e243b02ba6bb062927e1a99250643a7638fbc8eef620fd7ca6b0abf81473716f63bfcfe + checksum: a482621d3d3f5f06112b66ac04c01f4505d4402a7209468b12a09e4c044407f0ffdcf6f88d6cdb63d16a6dfc28020745273ab201e72b39e8ca62e21cb73c2364 languageName: node linkType: hard @@ -14812,6 +14893,21 @@ __metadata: languageName: node linkType: hard +"react-avatar@npm:^5.0.3": + version: 5.0.3 + resolution: "react-avatar@npm:5.0.3" + dependencies: + is-retina: "npm:^1.0.3" + md5: "npm:^2.0.0" + peerDependencies: + "@babel/runtime": ">=7" + core-js-pure: ">=3" + prop-types: ^15.0.0 || ^16.0.0 + react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 + checksum: cdbb231d7d19cd3890873b465affe984aa006341c8b6130a670bfe406461665fb8f5607e0c3d7650aa4ec43b96acdad0b572b760e16c2cc41ddc15986aac7590 + languageName: node + linkType: hard + "react-dom@npm:^18.1.0, react-dom@npm:^18.2.0": version: 18.2.0 resolution: "react-dom@npm:18.2.0" @@ -15921,10 +16017,10 @@ __metadata: languageName: node linkType: hard -"single-spa@npm:^6.0.0": - version: 6.0.0 - resolution: "single-spa@npm:6.0.0" - checksum: e61f6b83f5b200fc093fce41ed2704b631c53d3214fef77342571ee9aadf903131c9aedec80568424ba23fa794b97bc74cbdb8ac741b19ad44a1c2cb1628a462 +"single-spa@npm:^6.0.1": + version: 6.0.1 + resolution: "single-spa@npm:6.0.1" + checksum: 6c192226c0c6d94dbb0d2576c6552ebb9ec01ecad69d069cac47ddd5aa3c2c90e1370765e2d0e36203120a2c48bb7e967e2d6d8a6f9ede4315fd4b9e11cd9e85 languageName: node linkType: hard