@openmrs/esm-framework 10.0.1-pre.5690 → 10.0.1-pre.5704
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
CHANGED
|
@@ -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"` | `"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"`
|
|
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"` | `"provisional"` | `"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
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[O3 Framework](../API.md) / DiagnosisTagsProps
|
|
2
|
+
|
|
3
|
+
# Interface: DiagnosisTagsProps
|
|
4
|
+
|
|
5
|
+
Defined in: [packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx#L11)
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### diagnoses
|
|
10
|
+
|
|
11
|
+
> **diagnoses**: `Pick`\<[`Diagnosis`](Diagnosis.md), `"uuid"` \| `"display"` \| `"certainty"` \| `"rank"`\>[]
|
|
12
|
+
|
|
13
|
+
Defined in: [packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx#L12)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### showCertainty?
|
|
18
|
+
|
|
19
|
+
> `optional` **showCertainty**: `boolean`
|
|
20
|
+
|
|
21
|
+
Defined in: [packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx:18](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx#L18)
|
|
22
|
+
|
|
23
|
+
Mark provisional diagnoses with a leading "?". Confirmed diagnoses, and any with missing or
|
|
24
|
+
unknown certainty, show just the name. Off by default because diagnoses saved before
|
|
25
|
+
certainty was captured are stored as provisional.
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
# Variable: DiagnosisTags
|
|
4
4
|
|
|
5
|
-
> `const` **DiagnosisTags**: `React.FC
|
|
5
|
+
> `const` **DiagnosisTags**: `React.FC`\<[`DiagnosisTagsProps`](../interfaces/DiagnosisTagsProps.md)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx:
|
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/diagnosis-tags/diagnosis-tags.component.tsx#L22)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
Carbon tags, with colors configured base on whether the diagnoses are primary
|
|
11
|
-
or secondary.
|
|
9
|
+
Displays diagnoses with configured rank colours, optionally marking provisional ones.
|
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.5704",
|
|
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.5704",
|
|
64
|
+
"@openmrs/esm-config": "10.0.1-pre.5704",
|
|
65
|
+
"@openmrs/esm-context": "10.0.1-pre.5704",
|
|
66
|
+
"@openmrs/esm-dynamic-loading": "10.0.1-pre.5704",
|
|
67
|
+
"@openmrs/esm-emr-api": "10.0.1-pre.5704",
|
|
68
|
+
"@openmrs/esm-error-handling": "10.0.1-pre.5704",
|
|
69
|
+
"@openmrs/esm-expression-evaluator": "10.0.1-pre.5704",
|
|
70
|
+
"@openmrs/esm-extensions": "10.0.1-pre.5704",
|
|
71
|
+
"@openmrs/esm-feature-flags": "10.0.1-pre.5704",
|
|
72
|
+
"@openmrs/esm-globals": "10.0.1-pre.5704",
|
|
73
|
+
"@openmrs/esm-navigation": "10.0.1-pre.5704",
|
|
74
|
+
"@openmrs/esm-react-utils": "10.0.1-pre.5704",
|
|
75
|
+
"@openmrs/esm-routes": "10.0.1-pre.5704",
|
|
76
|
+
"@openmrs/esm-state": "10.0.1-pre.5704",
|
|
77
|
+
"@openmrs/esm-styleguide": "10.0.1-pre.5704",
|
|
78
|
+
"@openmrs/esm-translations": "10.0.1-pre.5704",
|
|
79
|
+
"@openmrs/esm-utils": "10.0.1-pre.5704"
|
|
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.5704",
|
|
92
92
|
"@swc/cli": "0.8.1",
|
|
93
93
|
"@swc/core": "1.15.21",
|
|
94
94
|
"@vitest/coverage-v8": "^4.1.2",
|