@openmrs/esm-react-utils 9.0.3-pre.4203 → 9.0.3-pre.4205
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 +1 -1
- package/mock-jest.tsx +8 -12
- package/mock.tsx +10 -12
- package/package.json +12 -12
package/.turbo/turbo-build.log
CHANGED
package/mock-jest.tsx
CHANGED
|
@@ -3,18 +3,14 @@ import { openmrsFetch } from '@openmrs/esm-api/mock';
|
|
|
3
3
|
import { configSchema } from '@openmrs/esm-config/mock';
|
|
4
4
|
import { getExtensionInternalStore } from '@openmrs/esm-extensions/mock';
|
|
5
5
|
import { createGlobalStore } from '@openmrs/esm-state/mock';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
useFhirInfinite as realUseFhirInfinite,
|
|
15
|
-
useFhirFetchAll as realUseFhirFetchAll,
|
|
16
|
-
useVisitContextStore as realUseVisitContextStore,
|
|
17
|
-
} from './src/index';
|
|
6
|
+
import { isDesktop as realIsDesktop } from './src/useLayoutType';
|
|
7
|
+
import { useFhirFetchAll as realUseFhirFetchAll } from './src/useFhirFetchAll';
|
|
8
|
+
import { useFhirInfinite as realUseFhirInfinite } from './src/useFhirInfinite';
|
|
9
|
+
import { useFhirPagination as realUseFhirPagination } from './src/useFhirPagination';
|
|
10
|
+
import { useOpenmrsFetchAll as realUseOpenmrsFetchAll } from './src/useOpenmrsFetchAll';
|
|
11
|
+
import { useOpenmrsInfinite as realUseOpenmrsInfinite } from './src/useOpenmrsInfinite';
|
|
12
|
+
import { useOpenmrsPagination as realUseOpenmrsrPagination } from './src/useOpenmrsPagination';
|
|
13
|
+
import { useVisitContextStore as realUseVisitContextStore } from './src/useVisitContextStore';
|
|
18
14
|
export { ConfigurableLink } from './src/ConfigurableLink';
|
|
19
15
|
export { useStore, useStoreWithActions, createUseStore } from './src/useStore';
|
|
20
16
|
import * as utils from '@openmrs/esm-utils';
|
package/mock.tsx
CHANGED
|
@@ -4,18 +4,16 @@ import { openmrsFetch } from '@openmrs/esm-api/mock';
|
|
|
4
4
|
import { configSchema } from '@openmrs/esm-config/mock';
|
|
5
5
|
import { getExtensionInternalStore } from '@openmrs/esm-extensions/mock';
|
|
6
6
|
import { createGlobalStore } from '@openmrs/esm-state/mock';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
useVisitContextStore as realUseVisitContextStore,
|
|
18
|
-
} from './src/index';
|
|
7
|
+
import { isDesktop as realIsDesktop } from './src/useLayoutType';
|
|
8
|
+
import { useFhirFetchAll as realUseFhirFetchAll } from './src/useFhirFetchAll';
|
|
9
|
+
import { useFhirInfinite as realUseFhirInfinite } from './src/useFhirInfinite';
|
|
10
|
+
import { useFhirPagination as realUseFhirPagination } from './src/useFhirPagination';
|
|
11
|
+
import { useOpenmrsFetchAll as realUseOpenmrsFetchAll } from './src/useOpenmrsFetchAll';
|
|
12
|
+
import { useOpenmrsInfinite as realUseOpenmrsInfinite } from './src/useOpenmrsInfinite';
|
|
13
|
+
import { useOpenmrsPagination as realUseOpenmrsrPagination } from './src/useOpenmrsPagination';
|
|
14
|
+
import { useVisitContextStore as realUseVisitContextStore } from './src/useVisitContextStore';
|
|
15
|
+
import { usePagination as realUsePagination } from './src/usePagination';
|
|
16
|
+
import { usePaginationInfo as realUsePaginationInfo } from './src/usePaginationInfo';
|
|
19
17
|
export { ConfigurableLink } from './src/ConfigurableLink';
|
|
20
18
|
export { RenderIfValueIsTruthy } from './src/RenderIfValueIsTruthy';
|
|
21
19
|
export { useStore, useStoreWithActions, createUseStore } from './src/useStore';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-react-utils",
|
|
3
|
-
"version": "9.0.3-pre.
|
|
3
|
+
"version": "9.0.3-pre.4205",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "React utilities for OpenMRS.",
|
|
6
6
|
"type": "module",
|
|
@@ -79,17 +79,17 @@
|
|
|
79
79
|
"swr": "2.x"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@openmrs/esm-api": "9.0.3-pre.
|
|
83
|
-
"@openmrs/esm-config": "9.0.3-pre.
|
|
84
|
-
"@openmrs/esm-context": "9.0.3-pre.
|
|
85
|
-
"@openmrs/esm-emr-api": "9.0.3-pre.
|
|
86
|
-
"@openmrs/esm-error-handling": "9.0.3-pre.
|
|
87
|
-
"@openmrs/esm-extensions": "9.0.3-pre.
|
|
88
|
-
"@openmrs/esm-feature-flags": "9.0.3-pre.
|
|
89
|
-
"@openmrs/esm-globals": "9.0.3-pre.
|
|
90
|
-
"@openmrs/esm-navigation": "9.0.3-pre.
|
|
91
|
-
"@openmrs/esm-state": "9.0.3-pre.
|
|
92
|
-
"@openmrs/esm-utils": "9.0.3-pre.
|
|
82
|
+
"@openmrs/esm-api": "9.0.3-pre.4205",
|
|
83
|
+
"@openmrs/esm-config": "9.0.3-pre.4205",
|
|
84
|
+
"@openmrs/esm-context": "9.0.3-pre.4205",
|
|
85
|
+
"@openmrs/esm-emr-api": "9.0.3-pre.4205",
|
|
86
|
+
"@openmrs/esm-error-handling": "9.0.3-pre.4205",
|
|
87
|
+
"@openmrs/esm-extensions": "9.0.3-pre.4205",
|
|
88
|
+
"@openmrs/esm-feature-flags": "9.0.3-pre.4205",
|
|
89
|
+
"@openmrs/esm-globals": "9.0.3-pre.4205",
|
|
90
|
+
"@openmrs/esm-navigation": "9.0.3-pre.4205",
|
|
91
|
+
"@openmrs/esm-state": "9.0.3-pre.4205",
|
|
92
|
+
"@openmrs/esm-utils": "9.0.3-pre.4205",
|
|
93
93
|
"@swc/cli": "0.8.0",
|
|
94
94
|
"@swc/core": "1.15.18",
|
|
95
95
|
"@vitest/coverage-v8": "^4.0.18",
|