From 077659d126a409c3eac849b1c13d48a23c6ebfea Mon Sep 17 00:00:00 2001 From: CynthiaKamau Date: Thu, 28 Nov 2024 11:47:26 +0300 Subject: [PATCH] (feat) O3-3816 Add tab for rejected orders and prevent further actions on Declined Tests --- package.json | 4 +- .../list-order-details.component.tsx | 19 +- .../orders-table/list-order-details.scss | 1 - src/index.ts | 5 + .../declined-lab-requests-table-extension.tsx | 15 ++ .../reject-lab-request-modal.component.tsx | 18 +- src/routes.json | 9 + translations/en.json | 4 +- yarn.lock | 222 +++++++++--------- 9 files changed, 165 insertions(+), 132 deletions(-) create mode 100644 src/lab-tabs/data-table-extensions/declined-lab-requests-table-extension.tsx diff --git a/package.json b/package.json index fbd8d36..c85c4a4 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "react-router-dom": "6.x" }, "devDependencies": { - "@openmrs/esm-framework": "next", + "@openmrs/esm-framework": "^5.8.2-pre.2512", "@openmrs/esm-patient-common-lib": "next", "@swc/cli": "^0.1.62", "@swc/core": "^1.3.62", @@ -87,7 +87,7 @@ "jest-cli": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "lint-staged": "^14.0.1", - "openmrs": "next", + "openmrs": "^5.8.2-pre.2512", "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "raw-loader": "^4.0.2", diff --git a/src/components/orders-table/list-order-details.component.tsx b/src/components/orders-table/list-order-details.component.tsx index 4d282ba..37a9e09 100644 --- a/src/components/orders-table/list-order-details.component.tsx +++ b/src/components/orders-table/list-order-details.component.tsx @@ -31,19 +31,6 @@ const ListOrderDetails: React.FC = (props) => { {t('orderDate', 'Order Date:')} {row.dateActivated} - -
- {t('orderStatus', 'Status:')} - - {row.fulfillerStatus || t('orderNotPicked', 'Order not picked')} - -
-
-
- - {t('urgencyStatus', 'Urgency: ')} {capitalize(row.urgency)} - -
@@ -86,6 +73,12 @@ const ListOrderDetails: React.FC = (props) => { )} + {row.fulfillerStatus === 'DECLINED' && ( + + {t('reasonForDecline', 'Reason for decline:')} + {row.fulfillerComment} + + )} diff --git a/src/components/orders-table/list-order-details.scss b/src/components/orders-table/list-order-details.scss index 0e26cfe..60243d5 100644 --- a/src/components/orders-table/list-order-details.scss +++ b/src/components/orders-table/list-order-details.scss @@ -15,7 +15,6 @@ .nameOrder { // TODO: Prefer type styles over scales as mentioned here: https://carbondesignsystem.com/elements/typography/code/#type-scale font-size: type.type-scale(2); - margin-left: layout.$spacing-04; } .testOrder { diff --git a/src/index.ts b/src/index.ts index 8f53a0c..ae46aa1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -52,6 +52,11 @@ export const completedLabRequestsTable = getAsyncLifecycle( options, ); +export const declinedLabRequestsTable = getAsyncLifecycle( + () => import('./lab-tabs/data-table-extensions/declined-lab-requests-table-extension'), + options, +); + export const worklistTile = getAsyncLifecycle( () => import('./lab-tiles/in-progress-lab-requests-tile.component'), options, diff --git a/src/lab-tabs/data-table-extensions/declined-lab-requests-table-extension.tsx b/src/lab-tabs/data-table-extensions/declined-lab-requests-table-extension.tsx new file mode 100644 index 0000000..3350bbb --- /dev/null +++ b/src/lab-tabs/data-table-extensions/declined-lab-requests-table-extension.tsx @@ -0,0 +1,15 @@ +import React from 'react'; +import OrdersDataTable from '../../components/orders-table/orders-data-table.component'; + +const DeclinedLabRequestsTable: React.FC = () => { + return ( + + ); +}; + +export default DeclinedLabRequestsTable; diff --git a/src/lab-tabs/modals/reject-lab-request-modal.component.tsx b/src/lab-tabs/modals/reject-lab-request-modal.component.tsx index 7bddd62..10805ae 100644 --- a/src/lab-tabs/modals/reject-lab-request-modal.component.tsx +++ b/src/lab-tabs/modals/reject-lab-request-modal.component.tsx @@ -1,11 +1,18 @@ import React, { useState } from 'react'; import { Button, Form, ModalBody, ModalFooter, ModalHeader, TextArea, Layer } from '@carbon/react'; import { useTranslation } from 'react-i18next'; -import { showNotification, showSnackbar, useAbortController } from '@openmrs/esm-framework'; import { type Order } from '@openmrs/esm-patient-common-lib'; +import { + type Config, + restBaseUrl, + showNotification, + showSnackbar, + useAbortController, + useConfig, +} from '@openmrs/esm-framework'; import { rejectLabOrder } from '../../laboratory-resource'; import styles from './reject-lab-request-modal.scss'; - +import { mutate } from 'swr'; interface RejectLabRequestModalProps { order: Order; closeModal: () => void; @@ -16,12 +23,19 @@ const RejectLabRequestModal: React.FC = ({ order, cl const [fulfillerComment, setFulfillerComment] = useState(''); const abortController = useAbortController(); const [isSubmitting, setIsSubmitting] = useState(false); + const { laboratoryOrderTypeUuid } = useConfig(); const handleRejectOrder = async (event) => { event.preventDefault(); setIsSubmitting(true); rejectLabOrder(order.uuid, fulfillerComment, abortController).then( () => { + mutate( + (key) => + typeof key === 'string' && key.startsWith(`${restBaseUrl}/order?orderTypes=${laboratoryOrderTypeUuid}`), + undefined, + { revalidate: true }, + ); setIsSubmitting(false); closeModal(); showSnackbar({ diff --git a/src/routes.json b/src/routes.json index b9e5e8e..c605462 100644 --- a/src/routes.json +++ b/src/routes.json @@ -87,6 +87,15 @@ "title": "Referred Tests" } }, + { + "name": "declined-tile-component", + "slot": "lab-panels-slot", + "component": "declinedLabRequestsTable", + "meta": { + "name": "declinedPanel", + "title": "Declined tests" + } + }, { "name": "pick-lab-request-action", "component": "pickupLabRequestAction", diff --git a/translations/en.json b/translations/en.json index 67210bb..431b628 100644 --- a/translations/en.json +++ b/translations/en.json @@ -26,11 +26,9 @@ "orderDate": "Order Date:", "ordererName": "Orderer Name: ", "orderInStruction": "Instructions: ", - "orderNotPicked": "Order not picked", "orderNumbers": "Order number:", "orderPickedSuccessfully": "You have successfully picked an order", "orders": "Orders", - "orderStatus": "Status:", "patient": "Patient", "pickedAnOrder": "Picked an order", "pickLabRequest": "Pick Lab Request", @@ -38,6 +36,7 @@ "pickRequestConfirmationText": "Continuing will update the request status to \"In Progress\" and advance it to the next stage. Are you sure you want to proceed?", "pickupLabRequest": "Pick up lab request", "previousPage": "Previous page", + "reasonForDecline": "Reason for decline", "receivedStatus": "RECEIVED", "reject": "Reject", "rejectLabRequest": "Reject lab request", @@ -50,7 +49,6 @@ "testsOrdered": "Tests ordered", "testType": "Test type", "totalOrders": "Total orders", - "urgencyStatus": "Urgency: ", "viewTestResults": "View test results", "worklist": "Worklist" } diff --git a/yarn.lock b/yarn.lock index 4565c31..d795622 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2770,9 +2770,9 @@ __metadata: languageName: node linkType: hard -"@openmrs/esm-api@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-api@npm:5.8.2-pre.2415" +"@openmrs/esm-api@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-api@npm:5.8.2-pre.2512" dependencies: "@types/fhir": "npm:0.0.31" lodash-es: "npm:^4.17.21" @@ -2781,17 +2781,17 @@ __metadata: "@openmrs/esm-error-handling": 5.x "@openmrs/esm-navigation": 5.x "@openmrs/esm-offline": 5.x - checksum: 10/f9f2623f4249770b7c02d3e7d873d05c42d109a7298174279afd42527017dbc1a45f2a8baea50a9f54dc1ed7707ba99d3e95ba9cc54ddeab20bee4034de89c92 + checksum: 10/4d90a9e945af9ac07234a3c64a042024b1fe30d8ec7caddc960a560bb80c132390e73f2aa035a03533d919736f1b6714c1847e0699382a26ce32fcb32a525f4e languageName: node linkType: hard -"@openmrs/esm-app-shell@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-app-shell@npm:5.8.2-pre.2415" +"@openmrs/esm-app-shell@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-app-shell@npm:5.8.2-pre.2512" dependencies: "@carbon/react": "npm:~1.37.0" - "@openmrs/esm-framework": "npm:5.8.2-pre.2415" - "@openmrs/esm-styleguide": "npm:5.8.2-pre.2415" + "@openmrs/esm-framework": "npm:5.8.2-pre.2512" + "@openmrs/esm-styleguide": "npm:5.8.2-pre.2512" dayjs: "npm:^1.10.4" dexie: "npm:^3.0.3" html-webpack-plugin: "npm:^5.5.0" @@ -2816,13 +2816,13 @@ __metadata: workbox-strategies: "npm:^6.1.5" workbox-webpack-plugin: "npm:^6.1.5" workbox-window: "npm:^6.1.5" - checksum: 10/782d2acda5c04e9ef528fd1768494170f6676ba19b62825ac8f8af74f2b03518d8459f8d067515098ee18c1586450a5e20f3f2c245297b286a237410455315e6 + checksum: 10/a9ff941a13e6d76cafa658f47d04ef6641d85abb94386b481e78509fd734ccae15ff7a2e31c713c711f37a966ea1bc9e49040cb23549f0788ae2e1aa4fed3c1b languageName: node linkType: hard -"@openmrs/esm-config@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-config@npm:5.8.2-pre.2415" +"@openmrs/esm-config@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-config@npm:5.8.2-pre.2512" dependencies: ramda: "npm:^0.26.1" peerDependencies: @@ -2830,44 +2830,44 @@ __metadata: "@openmrs/esm-state": 5.x "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: 10/2068491d1899778451c744bf1b5115a516c8f35fed3364727558e8a0c3c3fd9d58b57d7d5ee4bcbec519a676bfee6cfef154a423014d8a6eb4615223902ba590 + checksum: 10/388c64bce3c03c42611423ce2659d0e257819a4f90348dc215b044539548b890f97c647417cea68d2a04b58087386da65068ec9e4cdd50df4c4989eb361deff6 languageName: node linkType: hard -"@openmrs/esm-context@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-context@npm:5.8.2-pre.2415" +"@openmrs/esm-context@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-context@npm:5.8.2-pre.2512" dependencies: immer: "npm:^10.0.4" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x - checksum: 10/4cb83685eeaf9275e51c047ff920bb00a4cc4e9e0f7bfbae8733025acd02bb6f6ce74fe13b961076ff83712fa011fbc016ea8f8347751473efb84f0e85c1013c + checksum: 10/591d5baaa804e6096b66097ef00764250207846e317bb9b164a51df0205d9a90dcaa5ffb844a6836ef3587fb4a624120d44fd8b1584a5522873806153c814947 languageName: node linkType: hard -"@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2415" +"@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2512" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-translations": 5.x - checksum: 10/7d6bc4bb8405e6d556ae687d666739ab707609b2e5ef65e483bead26af952a4a4aed017b729f83d9052d6408b77d284f5b7bb864ee65e332ed5b43114363a28d + checksum: 10/752e9ead0250243f07c49dc31b8c7d7bf16f8692ba2d18d11a42f02b600ff81eb587d7097941c8bc3687b3d12e8423835016ee7f16f2338377746ef5317ccf3e languageName: node linkType: hard -"@openmrs/esm-error-handling@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-error-handling@npm:5.8.2-pre.2415" +"@openmrs/esm-error-handling@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-error-handling@npm:5.8.2-pre.2512" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 10/bb4934cb516f2b45ede2b92675b4180698320f2b1c2e3cb48f6df1080fc5f37fc1717bdb7757721891dfcb5d2afab5152bb91f43da4c68a462f2185450fe026e + checksum: 10/40e31ef31b26b663199d7ddbdce60e35e4b066271fd0462931ce87fe0515addb0ee46e57dc3a807a7af14ed40656d3ab2843e099aa968d31fc03b2c91045e75d languageName: node linkType: hard -"@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2415" +"@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2512" dependencies: "@jsep-plugin/arrow": "npm:^1.0.5" "@jsep-plugin/new": "npm:^1.0.3" @@ -2876,13 +2876,13 @@ __metadata: "@jsep-plugin/template": "npm:^1.0.4" "@jsep-plugin/ternary": "npm:^1.1.3" jsep: "npm:^1.3.9" - checksum: 10/87bd465cdedcf61c889999d85fa0d78015e0db26b1f56d601df9f9f05e4390d8702eedac34655a33f2292c6863c8eb7ee080a3cb3697c0c23dc13beb7c8350f3 + checksum: 10/126f04a486abe37a0df09d876d7675bbd08073f1c3a0d073487178690e7073948d4bf3ec9ee3b523e0a297884790e0c8c193d52a698a712bb6cbe4e4aeba21f4 languageName: node linkType: hard -"@openmrs/esm-extensions@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-extensions@npm:5.8.2-pre.2415" +"@openmrs/esm-extensions@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-extensions@npm:5.8.2-pre.2512" dependencies: lodash-es: "npm:^4.17.21" peerDependencies: @@ -2893,44 +2893,44 @@ __metadata: "@openmrs/esm-state": 5.x "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: 10/e791eb27f33813d4933e28eb48b20a21e0a99b0d98666010b1f3d5caaa12f651dee0bdd8d30dc6bc3c5e75c4505e3c759efc1cc24bf7ecdcba8946566a2cbc38 + checksum: 10/490092a6aab04559ca5a890c372d7dc18ee65cfd2fd2e1db1a68cddbbb44f83f09f2c183a4028ee0d225c46c784d8358fa04c153fa7fc3da7d3b69bbda2edb1c languageName: node linkType: hard -"@openmrs/esm-feature-flags@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-feature-flags@npm:5.8.2-pre.2415" +"@openmrs/esm-feature-flags@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-feature-flags@npm:5.8.2-pre.2512" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: 10/5fced992f6ddb5de48dc0ab71800eaa9a4b5e7e103a31d88c32495df50fb6e95f2b8fc317ad2d98d97d940d92f605fbf9aae56471a20c5c719f450dccf4638ed - languageName: node - linkType: hard - -"@openmrs/esm-framework@npm:5.8.2-pre.2415, @openmrs/esm-framework@npm:next": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-framework@npm:5.8.2-pre.2415" - dependencies: - "@openmrs/esm-api": "npm:5.8.2-pre.2415" - "@openmrs/esm-config": "npm:5.8.2-pre.2415" - "@openmrs/esm-context": "npm:5.8.2-pre.2415" - "@openmrs/esm-dynamic-loading": "npm:5.8.2-pre.2415" - "@openmrs/esm-error-handling": "npm:5.8.2-pre.2415" - "@openmrs/esm-expression-evaluator": "npm:5.8.2-pre.2415" - "@openmrs/esm-extensions": "npm:5.8.2-pre.2415" - "@openmrs/esm-feature-flags": "npm:5.8.2-pre.2415" - "@openmrs/esm-globals": "npm:5.8.2-pre.2415" - "@openmrs/esm-navigation": "npm:5.8.2-pre.2415" - "@openmrs/esm-offline": "npm:5.8.2-pre.2415" - "@openmrs/esm-react-utils": "npm:5.8.2-pre.2415" - "@openmrs/esm-routes": "npm:5.8.2-pre.2415" - "@openmrs/esm-state": "npm:5.8.2-pre.2415" - "@openmrs/esm-styleguide": "npm:5.8.2-pre.2415" - "@openmrs/esm-translations": "npm:5.8.2-pre.2415" - "@openmrs/esm-utils": "npm:5.8.2-pre.2415" + checksum: 10/605da6e8bd009fd2f5ba1ac72aaa79366ed2b23c376ce9ff9805d58e98d63a7c501ef141e5b3a2495309b617f8423e8c3ab5914d65d6dd2b2f193d3df74b7b53 + languageName: node + linkType: hard + +"@openmrs/esm-framework@npm:5.8.2-pre.2512, @openmrs/esm-framework@npm:^5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-framework@npm:5.8.2-pre.2512" + dependencies: + "@openmrs/esm-api": "npm:5.8.2-pre.2512" + "@openmrs/esm-config": "npm:5.8.2-pre.2512" + "@openmrs/esm-context": "npm:5.8.2-pre.2512" + "@openmrs/esm-dynamic-loading": "npm:5.8.2-pre.2512" + "@openmrs/esm-error-handling": "npm:5.8.2-pre.2512" + "@openmrs/esm-expression-evaluator": "npm:5.8.2-pre.2512" + "@openmrs/esm-extensions": "npm:5.8.2-pre.2512" + "@openmrs/esm-feature-flags": "npm:5.8.2-pre.2512" + "@openmrs/esm-globals": "npm:5.8.2-pre.2512" + "@openmrs/esm-navigation": "npm:5.8.2-pre.2512" + "@openmrs/esm-offline": "npm:5.8.2-pre.2512" + "@openmrs/esm-react-utils": "npm:5.8.2-pre.2512" + "@openmrs/esm-routes": "npm:5.8.2-pre.2512" + "@openmrs/esm-state": "npm:5.8.2-pre.2512" + "@openmrs/esm-styleguide": "npm:5.8.2-pre.2512" + "@openmrs/esm-translations": "npm:5.8.2-pre.2512" + "@openmrs/esm-utils": "npm:5.8.2-pre.2512" dayjs: "npm:^1.10.7" peerDependencies: dayjs: 1.x @@ -2941,18 +2941,18 @@ __metadata: rxjs: 6.x single-spa: 5.x swr: 2.x - checksum: 10/0bc3f110bbd6dfda6e30bbbbb07ffda8fd81f64b53d7e54dfb233af98c18a1d3a9d4b2495f38f5ed8ae1069d9b0837e57f727d5f061a0285bc72165c520df609 + checksum: 10/c4a21266c94baffa51123f689c180092077e8eebbfd07e7cd7ffa3ed0d994f189a07e0d83d56156e3f8993d38815848e461c8e4a3239c016e68154a42745ade1 languageName: node linkType: hard -"@openmrs/esm-globals@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-globals@npm:5.8.2-pre.2415" +"@openmrs/esm-globals@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-globals@npm:5.8.2-pre.2512" dependencies: "@types/fhir": "npm:0.0.31" peerDependencies: single-spa: 5.x - checksum: 10/223858334fd62dbf24a766e6e6726113934928fb741c149cba55bce7f8709ba99f0d1f02925ff5c16796f67720b92242fbc2a44c516b92c258880357998e7158 + checksum: 10/59ca11ae3d301e5ada6004773127873d3b7d9e3be1a9dfbba7aea70e36649ff1a620ac88213b3873dfaf3f77d238a19edc9898a07b788f23773e0d20b836d8d5 languageName: node linkType: hard @@ -2961,7 +2961,7 @@ __metadata: resolution: "@openmrs/esm-laboratory-app@workspace:." dependencies: "@carbon/react": "npm:^1.14.0" - "@openmrs/esm-framework": "npm:next" + "@openmrs/esm-framework": "npm:^5.8.2-pre.2512" "@openmrs/esm-patient-common-lib": "npm:next" "@swc/cli": "npm:^0.1.62" "@swc/core": "npm:^1.3.62" @@ -2993,7 +2993,7 @@ __metadata: jest-environment-jsdom: "npm:^28.1.3" lint-staged: "npm:^14.0.1" lodash-es: "npm:^4.17.21" - openmrs: "npm:next" + openmrs: "npm:^5.8.2-pre.2512" prettier: "npm:^2.8.8" pretty-quick: "npm:^3.1.3" raw-loader: "npm:^4.0.2" @@ -3016,20 +3016,20 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-navigation@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-navigation@npm:5.8.2-pre.2415" +"@openmrs/esm-navigation@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-navigation@npm:5.8.2-pre.2512" dependencies: path-to-regexp: "npm:6.1.0" peerDependencies: "@openmrs/esm-state": 5.x - checksum: 10/5072bdcf6423b2320043a389def78cecaecfcb9c079ab86b5639551d64bf9c4a4c848c062e22f3f199b22d105546194d6e424663f87256b9b65a3efdfe704a24 + checksum: 10/4a65fba4466d777196eefc64775ca2efb0a98cf088fef654385850221140420022ecfcde8e942731ac99ec8061d201e105568df26af9b4dc29bb82a6a8144760 languageName: node linkType: hard -"@openmrs/esm-offline@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-offline@npm:5.8.2-pre.2415" +"@openmrs/esm-offline@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-offline@npm:5.8.2-pre.2512" dependencies: dexie: "npm:^3.0.3" lodash-es: "npm:^4.17.21" @@ -3040,7 +3040,7 @@ __metadata: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x rxjs: 6.x - checksum: 10/0d157f5811eba0c99baeefa2532050bd2f28550ffd257235740489406eac4a683e8e8f29472b351f6d70e86ad1622aa43cbf8792d92b8d61549dc57ddc8278e1 + checksum: 10/9b7d1de0b2df5c565b2c1f76ec38b9b8b94b324873f992d7c6239f9f214fac248537dce7023de81f0efcfd62b76ff109745dc97d261b8ed44598d7a4af63785c languageName: node linkType: hard @@ -3059,9 +3059,9 @@ __metadata: languageName: node linkType: hard -"@openmrs/esm-react-utils@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-react-utils@npm:5.8.2-pre.2415" +"@openmrs/esm-react-utils@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-react-utils@npm:5.8.2-pre.2512" dependencies: lodash-es: "npm:^4.17.21" single-spa-react: "npm:^6.0.0" @@ -3082,13 +3082,13 @@ __metadata: react-i18next: 11.x rxjs: 6.x swr: 2.x - checksum: 10/f110b527fb3b01b67cf0f100ca78dfe37f22f0c29d74328979c7350020d3f2cdb4d1533a7703cd471b29e19bf4e3146b9dd452d727fa7dadf4abde0708e493be + checksum: 10/f5ab3e90de2bf371e053d345a69db87ce9d846870e690f6fc3b63ee89ab6c20904c0237e77d357bdc645f2cb72cd74a0561837ca382d3679df9385834fcc91bc languageName: node linkType: hard -"@openmrs/esm-routes@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-routes@npm:5.8.2-pre.2415" +"@openmrs/esm-routes@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-routes@npm:5.8.2-pre.2512" peerDependencies: "@openmrs/esm-config": 5.x "@openmrs/esm-dynamic-loading": 5.x @@ -3097,25 +3097,25 @@ __metadata: "@openmrs/esm-globals": 5.x "@openmrs/esm-utils": 5.x single-spa: 6.x - checksum: 10/d822377716f1b659d35787275a82a31d86f22b35a44455ca1f2a596e6728ea48b618719ce74eb5590afa143c79ffef99630e3d4e409d2e65af8cb88dbb15beed + checksum: 10/c5e1658e0a68dfc525f018e8cea0cd35944c24893ee0e67b018e015ec31cacd61869e0caafcfb686b5a2fecd06100c921f364dde5d04b4f216880e2a90fa6259 languageName: node linkType: hard -"@openmrs/esm-state@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-state@npm:5.8.2-pre.2415" +"@openmrs/esm-state@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-state@npm:5.8.2-pre.2512" dependencies: zustand: "npm:^4.5.5" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-utils": 5.x - checksum: 10/922d540428e8fd6cac638738dbcd33ccac76d56449256b27668a4d377ad6643f9a6759e0f1cd0ca0ee0d43d4fef8a9912ad3b1f590e4f30d58b60cca5e925de8 + checksum: 10/31be7cf2a73b5673140703ddfa2109f5d75c68151b9084ba978916bb96c5877dc641f835404847296616095e488b4685c317c062d11c8c72e2d9eaebd7e66777 languageName: node linkType: hard -"@openmrs/esm-styleguide@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-styleguide@npm:5.8.2-pre.2415" +"@openmrs/esm-styleguide@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-styleguide@npm:5.8.2-pre.2512" dependencies: "@carbon/charts": "npm:^1.12.0" "@carbon/react": "npm:~1.37.0" @@ -3139,24 +3139,24 @@ __metadata: react-dom: 18.x react-i18next: 11.x rxjs: 6.x - checksum: 10/ce5b2240499f6fbb18aeb5610560dac366b264efd1d70051ef8c99cb3a352927be3e2e123ef8c4359ab29042015b7551c1b68359a2f549214d9a1ac4aea27ac8 + checksum: 10/aa4005f8a6001fded29bd1bda0c78e05053e04422cbd6644512d1393309eb235fc4ad76c0b1fe4efd1939eecbe5310a1c1e36334e821c0ae5d91c6bb8c083dfa languageName: node linkType: hard -"@openmrs/esm-translations@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-translations@npm:5.8.2-pre.2415" +"@openmrs/esm-translations@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-translations@npm:5.8.2-pre.2512" dependencies: i18next: "npm:21.10.0" peerDependencies: i18next: 21.x - checksum: 10/5e3b19fb3ef3bf6eb622e4a2dec00b7103e585b22627668d4323049313d87d2f4596dd78926b29fdf64e81d011c7329e83bd88ea00b6e4f79f20fd71cb29d6b2 + checksum: 10/bf1bb68fc43857a78a2bbd729291ef12943de764922581d3b07d3abed6ded823335749fd5219f5b6e3a2a9f1262c81798c16b7e69ab7ac579c49930597edb2e1 languageName: node linkType: hard -"@openmrs/esm-utils@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/esm-utils@npm:5.8.2-pre.2415" +"@openmrs/esm-utils@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/esm-utils@npm:5.8.2-pre.2512" dependencies: "@formatjs/intl-durationformat": "npm:^0.2.4" "@internationalized/date": "npm:^3.5.5" @@ -3166,13 +3166,13 @@ __metadata: dayjs: 1.x i18next: 21.x rxjs: 6.x - checksum: 10/ff20d69fd3dc9e810de9b21dd7bcec85be6ed3cdca5ddb1e8ecd1d64618a2ba833b6ca4adc11edbaf44c04b285e5020465adad68a021e36b537808e5059c7dec + checksum: 10/4ee20e019c2f390e03dc4264b1b1eb5c4f38c2a912fce53d4ae97475dea08d5f5bc5ab339e38f11f1b3886ac25f0a60d8a90590d2b678c4718a587ff1ae0a03e languageName: node linkType: hard -"@openmrs/webpack-config@npm:5.8.2-pre.2415": - version: 5.8.2-pre.2415 - resolution: "@openmrs/webpack-config@npm:5.8.2-pre.2415" +"@openmrs/webpack-config@npm:5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "@openmrs/webpack-config@npm:5.8.2-pre.2512" dependencies: "@swc/core": "npm:^1.3.58" clean-webpack-plugin: "npm:^4.0.0" @@ -3190,7 +3190,7 @@ __metadata: webpack-stats-plugin: "npm:^1.0.3" peerDependencies: webpack: 5.x - checksum: 10/3a357371aac033946f68fd97738f8c573f1c015efc3820b86fffc981e08b160f59e25342cc70d4db733139a466a1a9ba7e7e5473075e9c57271855ff6cd00b19 + checksum: 10/620cb630f9097ea71be8726999c9f97265fe7234215e404e089606a6066c78b64f21547f30bf927bbf7101301e6c0cc0915073ddf57e9ef7a18d1b507a18ae1a languageName: node linkType: hard @@ -14439,12 +14439,12 @@ __metadata: languageName: node linkType: hard -"openmrs@npm:next": - version: 5.8.2-pre.2415 - resolution: "openmrs@npm:5.8.2-pre.2415" +"openmrs@npm:^5.8.2-pre.2512": + version: 5.8.2-pre.2512 + resolution: "openmrs@npm:5.8.2-pre.2512" dependencies: - "@openmrs/esm-app-shell": "npm:5.8.2-pre.2415" - "@openmrs/webpack-config": "npm:5.8.2-pre.2415" + "@openmrs/esm-app-shell": "npm:5.8.2-pre.2512" + "@openmrs/webpack-config": "npm:5.8.2-pre.2512" "@pnpm/npm-conf": "npm:^2.1.0" "@swc/core": "npm:^1.3.58" autoprefixer: "npm:^10.4.20" @@ -14483,7 +14483,7 @@ __metadata: yargs: "npm:^17.6.2" bin: openmrs: ./dist/cli.js - checksum: 10/6931eb02c75ff0ac9ecde823ff279b2df67faa45631111b857212ea5eb5d894a9b4725260274dfa2b6506ee6ac9a03e9366dc75d8559f3a099238e37f6f26440 + checksum: 10/6eed21a2be1721deb530e536ad3c4a8fe38b949b770ce968d60461eff47305f985d2c2b5b4ca662e61e70587feb8e6fb0db7c5a02f570d8dd4385c522383f4d6 languageName: node linkType: hard