@openmrs/esm-react-utils 8.0.1-pre.3699 → 8.0.1-pre.3700

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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 53 files with swc (138.36ms)
1
+ [0] Successfully compiled: 53 files with swc (127.71ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
package/dist/index.d.ts CHANGED
@@ -2,11 +2,10 @@ export * from './ComponentContext';
2
2
  export * from './ConfigurableLink';
3
3
  export * from './Extension';
4
4
  export * from './ExtensionSlot';
5
- export * from './OpenmrsContext';
6
- export * from './RenderIfValueIsTruthy';
7
- export * from './UserHasAccess';
8
5
  export * from './getLifecycle';
9
6
  export * from './openmrsComponentDecorator';
7
+ export * from './OpenmrsContext';
8
+ export * from './RenderIfValueIsTruthy';
10
9
  export * from './useAbortController';
11
10
  export * from './useAppContext';
12
11
  export * from './useAssignedExtensionIds';
@@ -35,18 +34,19 @@ export * from './useLeftNavStore';
35
34
  export * from './useLocations';
36
35
  export * from './useOnClickOutside';
37
36
  export * from './useOnVisible';
37
+ export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
38
+ export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
39
+ export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
38
40
  export * from './useOpenmrsSWR';
39
41
  export * from './usePagination';
40
42
  export * from './usePaginationInfo';
41
43
  export * from './usePatient';
42
44
  export * from './usePrimaryIdentifierResource';
43
45
  export * from './useRenderableExtensions';
46
+ export { useSession } from './useSession';
44
47
  export * from './useStore';
48
+ export * from './UserHasAccess';
45
49
  export * from './useVisit';
46
50
  export * from './useVisitContextStore';
47
51
  export * from './useVisitTypes';
48
- export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
49
- export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
50
- export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
51
- export { useSession } from './useSession';
52
52
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AA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C;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,KAAK,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAC/F,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -2,11 +2,10 @@ export * from "./ComponentContext.js";
2
2
  export * from "./ConfigurableLink.js";
3
3
  export * from "./Extension.js";
4
4
  export * from "./ExtensionSlot.js";
5
- export * from "./OpenmrsContext.js";
6
- export * from "./RenderIfValueIsTruthy.js";
7
- export * from "./UserHasAccess.js";
8
5
  export * from "./getLifecycle.js";
9
6
  export * from "./openmrsComponentDecorator.js";
7
+ export * from "./OpenmrsContext.js";
8
+ export * from "./RenderIfValueIsTruthy.js";
10
9
  export * from "./useAbortController.js";
11
10
  export * from "./useAppContext.js";
12
11
  export * from "./useAssignedExtensionIds.js";
@@ -35,17 +34,18 @@ export * from "./useLeftNavStore.js";
35
34
  export * from "./useLocations.js";
36
35
  export * from "./useOnClickOutside.js";
37
36
  export * from "./useOnVisible.js";
37
+ export { useOpenmrsFetchAll } from "./useOpenmrsFetchAll.js";
38
+ export { useOpenmrsInfinite } from "./useOpenmrsInfinite.js";
39
+ export { useOpenmrsPagination } from "./useOpenmrsPagination.js";
38
40
  export * from "./useOpenmrsSWR.js";
39
41
  export * from "./usePagination.js";
40
42
  export * from "./usePaginationInfo.js";
41
43
  export * from "./usePatient.js";
42
44
  export * from "./usePrimaryIdentifierResource.js";
43
45
  export * from "./useRenderableExtensions.js";
46
+ export { useSession } from "./useSession.js";
44
47
  export * from "./useStore.js";
48
+ export * from "./UserHasAccess.js";
45
49
  export * from "./useVisit.js";
46
50
  export * from "./useVisitContextStore.js";
47
51
  export * from "./useVisitTypes.js";
48
- export { useOpenmrsFetchAll } from "./useOpenmrsFetchAll.js";
49
- export { useOpenmrsInfinite } from "./useOpenmrsInfinite.js";
50
- export { useOpenmrsPagination } from "./useOpenmrsPagination.js";
51
- export { useSession } from "./useSession.js";
package/dist/public.d.ts CHANGED
@@ -1,14 +1,13 @@
1
1
  export * from './ConfigurableLink';
2
2
  export * from './Extension';
3
3
  export * from './ExtensionSlot';
4
- export * from './UserHasAccess';
5
4
  export * from './getLifecycle';
6
5
  export * from './OpenmrsContext';
7
6
  export * from './RenderIfValueIsTruthy';
8
7
  export * from './useAbortController';
9
8
  export * from './useAppContext';
10
- export * from './useAssignedExtensions';
11
9
  export * from './useAssignedExtensionIds';
10
+ export * from './useAssignedExtensions';
12
11
  export * from './useAttachments';
13
12
  export * from './useBodyScrollLock';
14
13
  export * from './useConfig';
@@ -18,29 +17,32 @@ export * from './useDebounce';
18
17
  export * from './useDefineAppContext';
19
18
  export * from './useEmrConfiguration';
20
19
  export * from './useExtensionSlotMeta';
21
- export * from './useExtensionStore';
22
20
  export * from './useExtensionSlotStore';
21
+ export * from './useExtensionStore';
23
22
  export * from './useFeatureFlag';
23
+ export * from './useFhirFetchAll';
24
+ export * from './useFhirInfinite';
25
+ export * from './useFhirPagination';
26
+ export * from './useForceUpdate';
24
27
  export * from './useLayoutType';
25
28
  export * from './useLeftNav';
26
29
  export * from './useLeftNavStore';
27
30
  export * from './useLocations';
28
31
  export * from './useOnClickOutside';
29
32
  export * from './useOnVisible';
33
+ export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
34
+ export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
35
+ export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
30
36
  export * from './useOpenmrsSWR';
37
+ export * from './usePagination';
38
+ export * from './usePaginationInfo';
31
39
  export * from './usePatient';
40
+ export * from './usePrimaryIdentifierResource';
32
41
  export * from './useRenderableExtensions';
33
42
  export { useSession } from './useSession';
34
43
  export * from './useStore';
35
44
  export * from './useVisit';
36
45
  export * from './useVisitContextStore';
37
46
  export * from './useVisitTypes';
38
- export * from './usePagination';
39
- export * from './usePrimaryIdentifierResource';
40
- export * from './useFhirPagination';
41
- export * from './useFhirInfinite';
42
- export * from './useFhirFetchAll';
43
- export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
44
- export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
45
- export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
47
+ export * from './UserHasAccess';
46
48
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../src/public.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;A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AC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
package/dist/public.js CHANGED
@@ -1,14 +1,13 @@
1
1
  export * from "./ConfigurableLink.js";
2
2
  export * from "./Extension.js";
3
3
  export * from "./ExtensionSlot.js";
4
- export * from "./UserHasAccess.js";
5
4
  export * from "./getLifecycle.js";
6
5
  export * from "./OpenmrsContext.js";
7
6
  export * from "./RenderIfValueIsTruthy.js";
8
7
  export * from "./useAbortController.js";
9
8
  export * from "./useAppContext.js";
10
- export * from "./useAssignedExtensions.js";
11
9
  export * from "./useAssignedExtensionIds.js";
10
+ export * from "./useAssignedExtensions.js";
12
11
  export * from "./useAttachments.js";
13
12
  export * from "./useBodyScrollLock.js";
14
13
  export * from "./useConfig.js";
@@ -18,28 +17,31 @@ export * from "./useDebounce.js";
18
17
  export * from "./useDefineAppContext.js";
19
18
  export * from "./useEmrConfiguration.js";
20
19
  export * from "./useExtensionSlotMeta.js";
21
- export * from "./useExtensionStore.js";
22
20
  export * from "./useExtensionSlotStore.js";
21
+ export * from "./useExtensionStore.js";
23
22
  export * from "./useFeatureFlag.js";
23
+ export * from "./useFhirFetchAll.js";
24
+ export * from "./useFhirInfinite.js";
25
+ export * from "./useFhirPagination.js";
26
+ export * from "./useForceUpdate.js";
24
27
  export * from "./useLayoutType.js";
25
28
  export * from "./useLeftNav.js";
26
29
  export * from "./useLeftNavStore.js";
27
30
  export * from "./useLocations.js";
28
31
  export * from "./useOnClickOutside.js";
29
32
  export * from "./useOnVisible.js";
33
+ export { useOpenmrsFetchAll } from "./useOpenmrsFetchAll.js";
34
+ export { useOpenmrsInfinite } from "./useOpenmrsInfinite.js";
35
+ export { useOpenmrsPagination } from "./useOpenmrsPagination.js";
30
36
  export * from "./useOpenmrsSWR.js";
37
+ export * from "./usePagination.js";
38
+ export * from "./usePaginationInfo.js";
31
39
  export * from "./usePatient.js";
40
+ export * from "./usePrimaryIdentifierResource.js";
32
41
  export * from "./useRenderableExtensions.js";
33
42
  export { useSession } from "./useSession.js";
34
43
  export * from "./useStore.js";
35
44
  export * from "./useVisit.js";
36
45
  export * from "./useVisitContextStore.js";
37
46
  export * from "./useVisitTypes.js";
38
- export * from "./usePagination.js";
39
- export * from "./usePrimaryIdentifierResource.js";
40
- export * from "./useFhirPagination.js";
41
- export * from "./useFhirInfinite.js";
42
- export * from "./useFhirFetchAll.js";
43
- export { useOpenmrsPagination } from "./useOpenmrsPagination.js";
44
- export { useOpenmrsInfinite } from "./useOpenmrsInfinite.js";
45
- export { useOpenmrsFetchAll } from "./useOpenmrsFetchAll.js";
47
+ export * from "./UserHasAccess.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-react-utils",
3
- "version": "8.0.1-pre.3699",
3
+ "version": "8.0.1-pre.3700",
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": "8.0.1-pre.3699",
83
- "@openmrs/esm-config": "8.0.1-pre.3699",
84
- "@openmrs/esm-context": "8.0.1-pre.3699",
85
- "@openmrs/esm-emr-api": "8.0.1-pre.3699",
86
- "@openmrs/esm-error-handling": "8.0.1-pre.3699",
87
- "@openmrs/esm-extensions": "8.0.1-pre.3699",
88
- "@openmrs/esm-feature-flags": "8.0.1-pre.3699",
89
- "@openmrs/esm-globals": "8.0.1-pre.3699",
90
- "@openmrs/esm-navigation": "8.0.1-pre.3699",
91
- "@openmrs/esm-state": "8.0.1-pre.3699",
92
- "@openmrs/esm-utils": "8.0.1-pre.3699",
82
+ "@openmrs/esm-api": "8.0.1-pre.3700",
83
+ "@openmrs/esm-config": "8.0.1-pre.3700",
84
+ "@openmrs/esm-context": "8.0.1-pre.3700",
85
+ "@openmrs/esm-emr-api": "8.0.1-pre.3700",
86
+ "@openmrs/esm-error-handling": "8.0.1-pre.3700",
87
+ "@openmrs/esm-extensions": "8.0.1-pre.3700",
88
+ "@openmrs/esm-feature-flags": "8.0.1-pre.3700",
89
+ "@openmrs/esm-globals": "8.0.1-pre.3700",
90
+ "@openmrs/esm-navigation": "8.0.1-pre.3700",
91
+ "@openmrs/esm-state": "8.0.1-pre.3700",
92
+ "@openmrs/esm-utils": "8.0.1-pre.3700",
93
93
  "@swc/cli": "^0.7.7",
94
94
  "@swc/core": "^1.11.29",
95
95
  "@vitest/coverage-v8": "^4.0.7",
package/src/index.ts CHANGED
@@ -2,11 +2,10 @@ export * from './ComponentContext';
2
2
  export * from './ConfigurableLink';
3
3
  export * from './Extension';
4
4
  export * from './ExtensionSlot';
5
- export * from './OpenmrsContext';
6
- export * from './RenderIfValueIsTruthy';
7
- export * from './UserHasAccess';
8
5
  export * from './getLifecycle';
9
6
  export * from './openmrsComponentDecorator';
7
+ export * from './OpenmrsContext';
8
+ export * from './RenderIfValueIsTruthy';
10
9
  export * from './useAbortController';
11
10
  export * from './useAppContext';
12
11
  export * from './useAssignedExtensionIds';
@@ -35,17 +34,18 @@ export * from './useLeftNavStore';
35
34
  export * from './useLocations';
36
35
  export * from './useOnClickOutside';
37
36
  export * from './useOnVisible';
37
+ export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
38
+ export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
39
+ export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
38
40
  export * from './useOpenmrsSWR';
39
41
  export * from './usePagination';
40
42
  export * from './usePaginationInfo';
41
43
  export * from './usePatient';
42
44
  export * from './usePrimaryIdentifierResource';
43
45
  export * from './useRenderableExtensions';
46
+ export { useSession } from './useSession';
44
47
  export * from './useStore';
48
+ export * from './UserHasAccess';
45
49
  export * from './useVisit';
46
50
  export * from './useVisitContextStore';
47
51
  export * from './useVisitTypes';
48
- export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
49
- export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
50
- export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
51
- export { useSession } from './useSession';
package/src/public.ts CHANGED
@@ -1,14 +1,13 @@
1
1
  export * from './ConfigurableLink';
2
2
  export * from './Extension';
3
3
  export * from './ExtensionSlot';
4
- export * from './UserHasAccess';
5
4
  export * from './getLifecycle';
6
5
  export * from './OpenmrsContext';
7
6
  export * from './RenderIfValueIsTruthy';
8
7
  export * from './useAbortController';
9
8
  export * from './useAppContext';
10
- export * from './useAssignedExtensions';
11
9
  export * from './useAssignedExtensionIds';
10
+ export * from './useAssignedExtensions';
12
11
  export * from './useAttachments';
13
12
  export * from './useBodyScrollLock';
14
13
  export * from './useConfig';
@@ -18,28 +17,31 @@ export * from './useDebounce';
18
17
  export * from './useDefineAppContext';
19
18
  export * from './useEmrConfiguration';
20
19
  export * from './useExtensionSlotMeta';
21
- export * from './useExtensionStore';
22
20
  export * from './useExtensionSlotStore';
21
+ export * from './useExtensionStore';
23
22
  export * from './useFeatureFlag';
23
+ export * from './useFhirFetchAll';
24
+ export * from './useFhirInfinite';
25
+ export * from './useFhirPagination';
26
+ export * from './useForceUpdate';
24
27
  export * from './useLayoutType';
25
28
  export * from './useLeftNav';
26
29
  export * from './useLeftNavStore';
27
30
  export * from './useLocations';
28
31
  export * from './useOnClickOutside';
29
32
  export * from './useOnVisible';
33
+ export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
34
+ export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
35
+ export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
30
36
  export * from './useOpenmrsSWR';
37
+ export * from './usePagination';
38
+ export * from './usePaginationInfo';
31
39
  export * from './usePatient';
40
+ export * from './usePrimaryIdentifierResource';
32
41
  export * from './useRenderableExtensions';
33
42
  export { useSession } from './useSession';
34
43
  export * from './useStore';
35
44
  export * from './useVisit';
36
45
  export * from './useVisitContextStore';
37
46
  export * from './useVisitTypes';
38
- export * from './usePagination';
39
- export * from './usePrimaryIdentifierResource';
40
- export * from './useFhirPagination';
41
- export * from './useFhirInfinite';
42
- export * from './useFhirFetchAll';
43
- export { useOpenmrsPagination, type UseServerPaginationOptions } from './useOpenmrsPagination';
44
- export { useOpenmrsInfinite, type UseServerInfiniteOptions } from './useOpenmrsInfinite';
45
- export { useOpenmrsFetchAll, type UseServerFetchAllOptions } from './useOpenmrsFetchAll';
47
+ export * from './UserHasAccess';