@openmrs/esm-ward-app 7.0.1-pre.3662 → 7.0.1-pre.3663

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.
@@ -30,4 +30,4 @@ This can impact web performance.
30
30
  Assets:
31
31
  130.js (644 KiB)
32
32
 
33
- webpack 5.88.0 compiled with 1 warning in 47077 ms
33
+ webpack 5.88.0 compiled with 1 warning in 85179 ms
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0","emrapi":"^2.0.0 || 2.0.0-SNAPSHOT"},"optionalBackendDependencies":{"bedmanagement":{"version":"^6.0.0 || 6.0.0-SNAPSHOT","feature":{"flagName":"bedmanagement-module","label":"Ward App Patient Service","description":"This module, if installed, provides services for managing patients admitted to the ward."}}},"workspaces":[{"name":"admission-requests-workspace","component":"admissionRequestWorkspace","title":"admissionRequests","type":"admission-requests"}],"pages":[{"component":"root","route":"ward"}],"version":"7.0.1-pre.3662"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0","emrapi":"^2.0.0 || 2.0.0-SNAPSHOT"},"optionalBackendDependencies":{"bedmanagement":{"version":"^6.0.0 || 6.0.0-SNAPSHOT","feature":{"flagName":"bedmanagement-module","label":"Ward App Patient Service","description":"This module, if installed, provides services for managing patients admitted to the ward."}}},"workspaces":[{"name":"admission-requests-workspace","component":"admissionRequestWorkspace","title":"admissionRequests","type":"admission-requests"}],"pages":[{"component":"root","route":"ward"}],"version":"7.0.1-pre.3663"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-ward-app",
3
- "version": "7.0.1-pre.3662",
3
+ "version": "7.0.1-pre.3663",
4
4
  "description": "Ward and bed management module for O3",
5
5
  "browser": "dist/openmrs-esm-ward-app.js",
6
6
  "main": "src/index.ts",
@@ -1,3 +1,5 @@
1
+ import React from 'react';
2
+ import { screen } from '@testing-library/react';
1
3
  import {
2
4
  type Person,
3
5
  type ConfigSchema,
@@ -5,18 +7,15 @@ import {
5
7
  useConfig,
6
8
  useFeatureFlag,
7
9
  } from '@openmrs/esm-framework';
8
- import { screen } from '@testing-library/react';
9
- import React from 'react';
10
10
  import { useParams } from 'react-router-dom';
11
- import { mockLocations } from '../../../../__mocks__/locations.mock';
12
11
  import { mockAdmissionLocation } from '../../../../__mocks__/wards.mock';
13
12
  import { renderWithSwr } from '../../../../tools/test-utils';
14
13
  import { configSchema } from '../config-schema';
15
14
  import { useAdmissionLocation } from '../hooks/useAdmissionLocation';
16
- import WardView from './ward-view.component';
17
15
  import { mockPatientAlice } from '../../../../__mocks__/patient.mock';
18
16
  import { useAdmittedPatients } from '../hooks/useAdmittedPatients';
19
17
  import useWardLocation from '../hooks/useWardLocation';
18
+ import WardView from './ward-view.component';
20
19
 
21
20
  jest.replaceProperty(mockPatientAlice.person as Person, 'preferredName', {
22
21
  uuid: '',