@openmrs/esm-framework 6.3.1-pre.2950 → 6.3.1-pre.2961

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/docs/API.md CHANGED
@@ -6597,7 +6597,7 @@ ___
6597
6597
 
6598
6598
  ### useVisitContextStore
6599
6599
 
6600
- ▸ **useVisitContextStore**(`mutateVisitCallback?`): [`VisitStoreState`](interfaces/VisitStoreState.md) & `BindFunctionsIn`<{ `mutateVisit`: (`currState`: [`VisitStoreState`](interfaces/VisitStoreState.md)) => {} ; `setVisitContext`: (`_`: [`VisitStoreState`](interfaces/VisitStoreState.md), `newSelectedVisit`: [`Visit`](interfaces/Visit.md)) => { `manuallySetVisitUuid`: `string` = newSelectedVisit.uuid; `patientUuid`: `undefined` \| `string` = newSelectedVisit.patient.uuid } }\>
6600
+ ▸ **useVisitContextStore**(`mutateVisitCallback?`): [`VisitStoreState`](interfaces/VisitStoreState.md) & `BindFunctionsIn`<{ `mutateVisit`: (`currState`: [`VisitStoreState`](interfaces/VisitStoreState.md)) => {} ; `setVisitContext`: (`_`: [`VisitStoreState`](interfaces/VisitStoreState.md), `newSelectedVisit`: ``null`` \| [`Visit`](interfaces/Visit.md)) => { `manuallySetVisitUuid`: ``null`` \| `string` ; `patientUuid`: `undefined` \| ``null`` \| `string` } }\>
6601
6601
 
6602
6602
  A hook to return the visit context store and corresponding actions.
6603
6603
 
@@ -6609,7 +6609,7 @@ A hook to return the visit context store and corresponding actions.
6609
6609
 
6610
6610
  #### Returns
6611
6611
 
6612
- [`VisitStoreState`](interfaces/VisitStoreState.md) & `BindFunctionsIn`<{ `mutateVisit`: (`currState`: [`VisitStoreState`](interfaces/VisitStoreState.md)) => {} ; `setVisitContext`: (`_`: [`VisitStoreState`](interfaces/VisitStoreState.md), `newSelectedVisit`: [`Visit`](interfaces/Visit.md)) => { `manuallySetVisitUuid`: `string` = newSelectedVisit.uuid; `patientUuid`: `undefined` \| `string` = newSelectedVisit.patient.uuid } }\>
6612
+ [`VisitStoreState`](interfaces/VisitStoreState.md) & `BindFunctionsIn`<{ `mutateVisit`: (`currState`: [`VisitStoreState`](interfaces/VisitStoreState.md)) => {} ; `setVisitContext`: (`_`: [`VisitStoreState`](interfaces/VisitStoreState.md), `newSelectedVisit`: ``null`` \| [`Visit`](interfaces/Visit.md)) => { `manuallySetVisitUuid`: ``null`` \| `string` ; `patientUuid`: `undefined` \| ``null`` \| `string` } }\>
6613
6613
 
6614
6614
  #### Defined in
6615
6615
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "6.3.1-pre.2950",
3
+ "version": "6.3.1-pre.2961",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-framework.js",
6
6
  "main": "src/index.ts",
@@ -37,23 +37,23 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@openmrs/esm-api": "6.3.1-pre.2950",
41
- "@openmrs/esm-config": "6.3.1-pre.2950",
42
- "@openmrs/esm-context": "6.3.1-pre.2950",
43
- "@openmrs/esm-dynamic-loading": "6.3.1-pre.2950",
44
- "@openmrs/esm-error-handling": "6.3.1-pre.2950",
45
- "@openmrs/esm-expression-evaluator": "6.3.1-pre.2950",
46
- "@openmrs/esm-extensions": "6.3.1-pre.2950",
47
- "@openmrs/esm-feature-flags": "6.3.1-pre.2950",
48
- "@openmrs/esm-globals": "6.3.1-pre.2950",
49
- "@openmrs/esm-navigation": "6.3.1-pre.2950",
50
- "@openmrs/esm-offline": "6.3.1-pre.2950",
51
- "@openmrs/esm-react-utils": "6.3.1-pre.2950",
52
- "@openmrs/esm-routes": "6.3.1-pre.2950",
53
- "@openmrs/esm-state": "6.3.1-pre.2950",
54
- "@openmrs/esm-styleguide": "6.3.1-pre.2950",
55
- "@openmrs/esm-translations": "6.3.1-pre.2950",
56
- "@openmrs/esm-utils": "6.3.1-pre.2950",
40
+ "@openmrs/esm-api": "6.3.1-pre.2961",
41
+ "@openmrs/esm-config": "6.3.1-pre.2961",
42
+ "@openmrs/esm-context": "6.3.1-pre.2961",
43
+ "@openmrs/esm-dynamic-loading": "6.3.1-pre.2961",
44
+ "@openmrs/esm-error-handling": "6.3.1-pre.2961",
45
+ "@openmrs/esm-expression-evaluator": "6.3.1-pre.2961",
46
+ "@openmrs/esm-extensions": "6.3.1-pre.2961",
47
+ "@openmrs/esm-feature-flags": "6.3.1-pre.2961",
48
+ "@openmrs/esm-globals": "6.3.1-pre.2961",
49
+ "@openmrs/esm-navigation": "6.3.1-pre.2961",
50
+ "@openmrs/esm-offline": "6.3.1-pre.2961",
51
+ "@openmrs/esm-react-utils": "6.3.1-pre.2961",
52
+ "@openmrs/esm-routes": "6.3.1-pre.2961",
53
+ "@openmrs/esm-state": "6.3.1-pre.2961",
54
+ "@openmrs/esm-styleguide": "6.3.1-pre.2961",
55
+ "@openmrs/esm-translations": "6.3.1-pre.2961",
56
+ "@openmrs/esm-utils": "6.3.1-pre.2961",
57
57
  "dayjs": "^1.10.7"
58
58
  },
59
59
  "peerDependencies": {