@openmrs/esm-framework 10.0.1-pre.5635 → 10.0.1-pre.5649
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/docs/functions/clearCurrentUser.md +1 -1
- package/docs/functions/defineConfigSchema.md +1 -1
- package/docs/functions/defineExtensionConfigSchema.md +1 -1
- package/docs/functions/getAssignedExtensions.md +1 -1
- package/docs/functions/getConfig.md +1 -1
- package/docs/functions/getCoreTranslation.md +1 -1
- package/docs/functions/getCurrentUser.md +3 -3
- package/docs/functions/getLoggedInUser.md +1 -1
- package/docs/functions/getSessionLocation.md +1 -1
- package/docs/functions/getSessionStore.md +1 -1
- package/docs/functions/provide.md +1 -1
- package/docs/functions/refetchCurrentUser.md +1 -1
- package/docs/functions/setSessionLocation.md +1 -1
- package/docs/functions/setUserLanguage.md +1 -1
- package/docs/functions/setUserProperties.md +1 -1
- package/docs/functions/userHasAccess.md +1 -1
- package/docs/interfaces/StyleguideConfigObject.md +26 -10
- package/docs/type-aliases/UnloadedSessionStore.md +12 -0
- package/package.json +19 -19
package/.turbo/turbo-build.log
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **clearCurrentUser**(): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:291](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L291)
|
|
8
8
|
|
|
9
9
|
Clears the current user session from the session store, setting the session
|
|
10
10
|
to an unauthenticated state. This is typically called during logout to reset
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **defineConfigSchema**(`moduleName`, `schema`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:363](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L363)
|
|
8
8
|
|
|
9
9
|
This defines a configuration schema for a module. The schema tells the
|
|
10
10
|
configuration system how the module can be configured. It specifies
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **defineExtensionConfigSchema**(`extensionName`, `schema`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:439](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L439)
|
|
8
8
|
|
|
9
9
|
This defines a configuration schema for an extension. When a schema is defined
|
|
10
10
|
for an extension, that extension will receive the configuration corresponding
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getAssignedExtensions**(`slotName`, `state?`): [`AssignedExtension`](../interfaces/AssignedExtension.md)[]
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-extensions/src/extensions.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-extensions/src/extensions.ts:552](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L552)
|
|
8
8
|
|
|
9
9
|
Gets the extensions a given rendering of a slot should display, in order. This is the supported
|
|
10
10
|
way to ask what belongs in a slot; reading the extension store directly skips display conditions.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getConfig**\<`T`\>(`moduleName`): `Promise`\<`T`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:512](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L512)
|
|
8
8
|
|
|
9
9
|
A promise-based way to access the config as soon as it is fully loaded.
|
|
10
10
|
If it is already loaded, resolves the config in its present state.
|
|
@@ -19,7 +19,7 @@ invalid key to this function will result in a type error.
|
|
|
19
19
|
|
|
20
20
|
The translation key from the set of core translations.
|
|
21
21
|
|
|
22
|
-
`"error"` | `"cancel"` | `"change"` | `"close"` | `"unknown"` | `"state"` | `"Clinic"` | `"abnormalValue"` | `"actions"` | `"actionableNotification"` | `"address"` | `"age"` | `"batchActionItemSelected"` | `"batchActionsItemsSelected"` | `"closesActionableNotification"` | `"closeSnackbar"` | `"confirm"` | `"contactAdministratorIfIssuePersists"` | `"contactDetails"` | `"delete"` | `"discardChanges"` | `"edit"` | `"emptyStateText"` | `"errorCopy"` | `"errorLoadingLoginLocations"` | `"female"` | `"leftNavigation"` | `"loading"` | `"localVersion"` | `"male"` | `"navigateNonHttp"` | `"noResultsToDisplay"` | `"notAvailable"` | `"other"` | `"paginationItemsCount"` | `"paginationOfPages"` | `"patientAvatarAlt"` | `"patientIdentifierSticker"` | `"patientLists"` | `"patientPhotoAlt"` | `"patientPhotoPlaceholder"` | `"prereleaseVersion"` | `"print"` | `"printError"` | `"printErrorExplainer"` | `"printIdentifierSticker"` | `"printing"` | `"recordNewEntry"` | `"relationships"` | `"resetOverrides"` | `"save"` | `"scriptLoadingFailed"` | `"scriptLoadingError"` | `"searchForLocation"` | `"seeAll"` | `"seeMoreLists"` | `"selectAll"` | `"sex"` | `"showLess"` | `"showMore"` | `"snackbarNotification"` | `"toggleDevTools"` | `"yearAbbreviation"` | `"yearsAbbreviation"` | `"discardUnsavedChangesPromptBodyMultiple"` | `"discardUnsavedChangesPromptBodySingle"` | `"discardUnsavedChangesPromptTitle"` | `"keepEditing"` | `"closeAllOpenedWorkspaces"` | `"closingAllWorkspacesPromptBody"` | `"closingAllWorkspacesPromptTitle"` | `"discard"` | `"hide"` | `"maximize"` | `"minimize"` | `"openAnyway"` | `"unsavedChangesInOpenedWorkspace"` | `"unsavedChangesInWorkspace"` | `"unsavedChangesTitleText"` | `"workspaceHeader"` | `"address1"` | `"address2"` | `"address3"` | `"address4"` | `"address5"` | `"address6"` | `"city"` | `"cityVillage"` | `"country"` | `"countyDistrict"` | `"district"` | `"postalCode"` | `"stateProvince"`
|
|
22
|
+
`"error"` | `"cancel"` | `"change"` | `"close"` | `"unknown"` | `"state"` | `"Clinic"` | `"abnormalValue"` | `"actions"` | `"actionableNotification"` | `"address"` | `"age"` | `"applicationError"` | `"batchActionItemSelected"` | `"batchActionsItemsSelected"` | `"clearDevOverrides"` | `"closesActionableNotification"` | `"closeSnackbar"` | `"confirm"` | `"contactAdministratorIfIssuePersists"` | `"contactDetails"` | `"copied"` | `"copyToClipboard"` | `"delete"` | `"discardChanges"` | `"edit"` | `"emptyStateText"` | `"errorCopy"` | `"errorLoadingLoginLocations"` | `"female"` | `"leftNavigation"` | `"loading"` | `"localVersion"` | `"male"` | `"navigateNonHttp"` | `"noResultsToDisplay"` | `"notAvailable"` | `"other"` | `"paginationItemsCount"` | `"paginationOfPages"` | `"patientAvatarAlt"` | `"patientIdentifierSticker"` | `"patientLists"` | `"patientPhotoAlt"` | `"patientPhotoPlaceholder"` | `"prereleaseVersion"` | `"print"` | `"printError"` | `"printErrorExplainer"` | `"printIdentifierSticker"` | `"printing"` | `"recordNewEntry"` | `"relationships"` | `"reload"` | `"resetOverrides"` | `"save"` | `"scriptLoadingFailed"` | `"scriptLoadingError"` | `"searchForLocation"` | `"seeAll"` | `"seeMoreLists"` | `"selectAll"` | `"serverStartingUp"` | `"serverStartingUpExplainer"` | `"serverStartingUpSlowExplainer"` | `"sex"` | `"showLess"` | `"showMore"` | `"snackbarNotification"` | `"somethingWentWrongTryReloading"` | `"toggleDevTools"` | `"viewSetupProgress"` | `"waitingForServer"` | `"yearAbbreviation"` | `"yearsAbbreviation"` | `"discardUnsavedChangesPromptBodyMultiple"` | `"discardUnsavedChangesPromptBodySingle"` | `"discardUnsavedChangesPromptTitle"` | `"keepEditing"` | `"closeAllOpenedWorkspaces"` | `"closingAllWorkspacesPromptBody"` | `"closingAllWorkspacesPromptTitle"` | `"discard"` | `"hide"` | `"maximize"` | `"minimize"` | `"openAnyway"` | `"unsavedChangesInOpenedWorkspace"` | `"unsavedChangesInWorkspace"` | `"unsavedChangesTitleText"` | `"workspaceHeader"` | `"address1"` | `"address2"` | `"address3"` | `"address4"` | `"address5"` | `"address6"` | `"city"` | `"cityVillage"` | `"country"` | `"countyDistrict"` | `"district"` | `"postalCode"` | `"stateProvince"`
|
|
23
23
|
|
|
24
24
|
### defaultText?
|
|
25
25
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
> **getCurrentUser**(): `Promise`\<[`Session`](../interfaces/Session.md)\>
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
9
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:105](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L105)
|
|
10
10
|
|
|
11
11
|
The getCurrentUser function returns a Promise that resolves once with the
|
|
12
12
|
current user's session. If the session hasn't been loaded, was loaded more than
|
|
@@ -44,7 +44,7 @@ console.log(session.authenticated)
|
|
|
44
44
|
|
|
45
45
|
> **getCurrentUser**(`opts`): `Promise`\<[`Session`](../interfaces/Session.md)\>
|
|
46
46
|
|
|
47
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
47
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:112](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L112)
|
|
48
48
|
|
|
49
49
|
### Parameters
|
|
50
50
|
|
|
@@ -69,7 +69,7 @@ A Promise resolving to a [Session](../interfaces/Session.md) object.
|
|
|
69
69
|
|
|
70
70
|
> **getCurrentUser**(`opts`): `Promise`\<[`LoggedInUser`](../interfaces/LoggedInUser.md)\>
|
|
71
71
|
|
|
72
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
72
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:119](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L119)
|
|
73
73
|
|
|
74
74
|
### Parameters
|
|
75
75
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getLoggedInUser**(): `Promise`\<[`LoggedInUser`](../interfaces/LoggedInUser.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:351](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L351)
|
|
8
8
|
|
|
9
9
|
Returns a Promise that resolves with the currently logged-in user object.
|
|
10
10
|
If the user is already loaded in the session store, the Promise resolves immediately.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getSessionLocation**(): `Promise`\<`undefined` \| [`SessionLocation`](../interfaces/SessionLocation.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:389](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L389)
|
|
8
8
|
|
|
9
9
|
Returns a Promise that resolves with the current session location, if one is set.
|
|
10
10
|
The session location represents the physical location where the user is currently
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getSessionStore**(): `StoreApi`\<[`SessionStore`](../type-aliases/SessionStore.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:164](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L164)
|
|
8
8
|
|
|
9
9
|
Returns the global session store containing the current user's session information.
|
|
10
10
|
If the session data is stale (older than 1 minute) or not yet loaded, this function
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **provide**(`config`, `sourceName`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:465](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L465)
|
|
8
8
|
|
|
9
9
|
Provides configuration values programmatically. This is an alternative to
|
|
10
10
|
providing configuration through the config-file. Configuration provided this
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **refetchCurrentUser**(`username?`, `password?`): `Promise`\<[`SessionStore`](../type-aliases/SessionStore.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:251](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L251)
|
|
8
8
|
|
|
9
9
|
The `refetchCurrentUser` function causes a network request to redownload
|
|
10
10
|
the user. All subscribers to the session store will be notified of the
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **setSessionLocation**(`locationUuid`, `abortController?`): `Promise`\<`any`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:411](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L411)
|
|
8
8
|
|
|
9
9
|
Sets the session location for the current user. The session location represents
|
|
10
10
|
the physical location where the user is working (e.g., a clinic or ward).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **setUserLanguage**(`data`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:195](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L195)
|
|
8
8
|
|
|
9
9
|
Sets the document's language attribute based on the user's locale preference
|
|
10
10
|
from the session data. This affects the HTML `lang` attribute which is used
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **setUserProperties**(`userUuid`, `userProperties`, `abortController?`): `Promise`\<[`SessionStore`](../type-aliases/SessionStore.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:478](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L478)
|
|
8
8
|
|
|
9
9
|
Updates the user properties for a specific user. User properties are key-value
|
|
10
10
|
pairs that store user-specific settings and preferences. After updating the
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **userHasAccess**(`requiredPrivilege`, `user`): `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:
|
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:319](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L319)
|
|
8
8
|
|
|
9
9
|
Checks whether the given user has access based on the required privilege(s).
|
|
10
10
|
A user has access if they have the required privilege(s) or if they are a
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: StyleguideConfigObject
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
5
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:3](https://g
|
|
|
10
10
|
|
|
11
11
|
> **Brand color #1**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
13
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L5)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:4](https://g
|
|
|
18
18
|
|
|
19
19
|
> **Brand color #2**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
21
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L6)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:5](https://g
|
|
|
26
26
|
|
|
27
27
|
> **Brand color #3**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
29
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L7)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:6](https://g
|
|
|
34
34
|
|
|
35
35
|
> **diagnosisTags**: `object`
|
|
36
36
|
|
|
37
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
37
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L23)
|
|
38
38
|
|
|
39
39
|
#### primaryColor
|
|
40
40
|
|
|
@@ -50,7 +50,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:18](https://
|
|
|
50
50
|
|
|
51
51
|
> **excludePatientIdentifierCodeTypes**: `object`
|
|
52
52
|
|
|
53
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
53
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L8)
|
|
54
54
|
|
|
55
55
|
#### uuids
|
|
56
56
|
|
|
@@ -62,7 +62,23 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:7](https://g
|
|
|
62
62
|
|
|
63
63
|
> **implementationName**: `string`
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
65
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L11)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### logo
|
|
70
|
+
|
|
71
|
+
> **logo**: `object`
|
|
72
|
+
|
|
73
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L12)
|
|
74
|
+
|
|
75
|
+
#### alt
|
|
76
|
+
|
|
77
|
+
> **alt**: `string`
|
|
78
|
+
|
|
79
|
+
#### src
|
|
80
|
+
|
|
81
|
+
> **src**: `string`
|
|
66
82
|
|
|
67
83
|
***
|
|
68
84
|
|
|
@@ -70,7 +86,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:10](https://
|
|
|
70
86
|
|
|
71
87
|
> **patientPhotoConceptUuid**: `string`
|
|
72
88
|
|
|
73
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
89
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L16)
|
|
74
90
|
|
|
75
91
|
***
|
|
76
92
|
|
|
@@ -78,7 +94,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:11](https://
|
|
|
78
94
|
|
|
79
95
|
> **preferredCalendar**: `object`
|
|
80
96
|
|
|
81
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
97
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L17)
|
|
82
98
|
|
|
83
99
|
#### Index Signature
|
|
84
100
|
|
|
@@ -90,7 +106,7 @@ Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:12](https://
|
|
|
90
106
|
|
|
91
107
|
> **preferredDateLocale**: `object`
|
|
92
108
|
|
|
93
|
-
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:
|
|
109
|
+
Defined in: [packages/framework/esm-styleguide/src/config-schema.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/config-schema.ts#L20)
|
|
94
110
|
|
|
95
111
|
#### Index Signature
|
|
96
112
|
|
|
@@ -18,6 +18,18 @@ Set when fetching the session failed before any session had loaded.
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
+
### initializing?
|
|
22
|
+
|
|
23
|
+
> `optional` **initializing**: `boolean`
|
|
24
|
+
|
|
25
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L25)
|
|
26
|
+
|
|
27
|
+
Set alongside `error`. `true` when the backend appears to be still starting up rather than broken:
|
|
28
|
+
it redirected the session request to its initial setup page, or its gateway answered with a 502
|
|
29
|
+
shortly after the page loaded.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
21
33
|
### loaded
|
|
22
34
|
|
|
23
35
|
> **loaded**: `false`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-framework",
|
|
3
|
-
"version": "10.0.1-pre.
|
|
3
|
+
"version": "10.0.1-pre.5649",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -60,23 +60,23 @@
|
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@openmrs/esm-api": "10.0.1-pre.
|
|
64
|
-
"@openmrs/esm-config": "10.0.1-pre.
|
|
65
|
-
"@openmrs/esm-context": "10.0.1-pre.
|
|
66
|
-
"@openmrs/esm-dynamic-loading": "10.0.1-pre.
|
|
67
|
-
"@openmrs/esm-emr-api": "10.0.1-pre.
|
|
68
|
-
"@openmrs/esm-error-handling": "10.0.1-pre.
|
|
69
|
-
"@openmrs/esm-expression-evaluator": "10.0.1-pre.
|
|
70
|
-
"@openmrs/esm-extensions": "10.0.1-pre.
|
|
71
|
-
"@openmrs/esm-feature-flags": "10.0.1-pre.
|
|
72
|
-
"@openmrs/esm-globals": "10.0.1-pre.
|
|
73
|
-
"@openmrs/esm-navigation": "10.0.1-pre.
|
|
74
|
-
"@openmrs/esm-react-utils": "10.0.1-pre.
|
|
75
|
-
"@openmrs/esm-routes": "10.0.1-pre.
|
|
76
|
-
"@openmrs/esm-state": "10.0.1-pre.
|
|
77
|
-
"@openmrs/esm-styleguide": "10.0.1-pre.
|
|
78
|
-
"@openmrs/esm-translations": "10.0.1-pre.
|
|
79
|
-
"@openmrs/esm-utils": "10.0.1-pre.
|
|
63
|
+
"@openmrs/esm-api": "10.0.1-pre.5649",
|
|
64
|
+
"@openmrs/esm-config": "10.0.1-pre.5649",
|
|
65
|
+
"@openmrs/esm-context": "10.0.1-pre.5649",
|
|
66
|
+
"@openmrs/esm-dynamic-loading": "10.0.1-pre.5649",
|
|
67
|
+
"@openmrs/esm-emr-api": "10.0.1-pre.5649",
|
|
68
|
+
"@openmrs/esm-error-handling": "10.0.1-pre.5649",
|
|
69
|
+
"@openmrs/esm-expression-evaluator": "10.0.1-pre.5649",
|
|
70
|
+
"@openmrs/esm-extensions": "10.0.1-pre.5649",
|
|
71
|
+
"@openmrs/esm-feature-flags": "10.0.1-pre.5649",
|
|
72
|
+
"@openmrs/esm-globals": "10.0.1-pre.5649",
|
|
73
|
+
"@openmrs/esm-navigation": "10.0.1-pre.5649",
|
|
74
|
+
"@openmrs/esm-react-utils": "10.0.1-pre.5649",
|
|
75
|
+
"@openmrs/esm-routes": "10.0.1-pre.5649",
|
|
76
|
+
"@openmrs/esm-state": "10.0.1-pre.5649",
|
|
77
|
+
"@openmrs/esm-styleguide": "10.0.1-pre.5649",
|
|
78
|
+
"@openmrs/esm-translations": "10.0.1-pre.5649",
|
|
79
|
+
"@openmrs/esm-utils": "10.0.1-pre.5649"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"dayjs": "1.x",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"swr": "2.x"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@openmrs/typedoc-plugin-file-categories": "10.0.1-pre.
|
|
91
|
+
"@openmrs/typedoc-plugin-file-categories": "10.0.1-pre.5649",
|
|
92
92
|
"@swc/cli": "0.8.1",
|
|
93
93
|
"@swc/core": "1.15.21",
|
|
94
94
|
"@vitest/coverage-v8": "^4.1.2",
|