@openmrs/esm-framework 6.3.1-pre.3105 → 6.3.1-pre.3119
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/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/classes/OpenmrsFetchError.md +4 -4
- package/docs/enumerations/Type.md +10 -10
- package/docs/enumerations/VisitMode.md +4 -4
- package/docs/enumerations/VisitStatus.md +3 -3
- package/docs/functions/ConfigurableLink.md +1 -1
- package/docs/functions/CustomOverflowMenu.md +1 -1
- package/docs/functions/DashboardExtension.md +1 -1
- package/docs/functions/ExtensionSlot.md +1 -1
- package/docs/functions/OpenmrsAppContext.md +2 -2
- package/docs/functions/PatientBannerActionsMenu.md +1 -1
- package/docs/functions/PatientBannerContactDetails.md +1 -1
- package/docs/functions/PatientBannerPatientIdentifiers.md +1 -1
- package/docs/functions/PatientBannerPatientInfo.md +1 -1
- package/docs/functions/PatientBannerToggleContactDetailsButton.md +1 -1
- package/docs/functions/PatientPhoto.md +1 -1
- package/docs/functions/WorkspaceContainer.md +1 -1
- package/docs/functions/attach.md +1 -1
- package/docs/functions/beginEditSynchronizationItem.md +1 -1
- package/docs/functions/canBeginEditSynchronizationItemsOfType.md +1 -1
- package/docs/functions/clearCurrentUser.md +1 -1
- package/docs/functions/closeWorkspace.md +1 -1
- package/docs/functions/compile.md +1 -1
- package/docs/functions/createAttachment.md +1 -1
- package/docs/functions/createGlobalStore.md +1 -1
- package/docs/functions/createUseStore.md +1 -1
- package/docs/functions/defineConfigSchema.md +1 -1
- package/docs/functions/defineExtensionConfigSchema.md +1 -1
- package/docs/functions/deleteAttachmentPermanently.md +1 -1
- package/docs/functions/deleteSynchronizationItem.md +1 -1
- package/docs/functions/detach.md +1 -1
- package/docs/functions/detachAll.md +1 -1
- package/docs/functions/evaluate.md +1 -1
- package/docs/functions/evaluateAsBoolean.md +3 -3
- package/docs/functions/evaluateAsBooleanAsync.md +3 -3
- package/docs/functions/evaluateAsNumber.md +1 -1
- package/docs/functions/evaluateAsNumberAsync.md +1 -1
- package/docs/functions/evaluateAsType.md +1 -1
- package/docs/functions/evaluateAsTypeAsync.md +1 -1
- package/docs/functions/evaluateAsync.md +1 -1
- package/docs/functions/extractVariableNames.md +1 -1
- package/docs/functions/fetchCurrentPatient.md +1 -1
- package/docs/functions/filterBreadcrumbs.md +1 -1
- package/docs/functions/generateOfflineUuid.md +1 -1
- package/docs/functions/getAssignedExtensions.md +1 -1
- package/docs/functions/getAsyncLifecycle.md +1 -1
- package/docs/functions/getAttachmentByUuid.md +1 -1
- package/docs/functions/getAttachments.md +1 -1
- package/docs/functions/getBreadcrumbs.md +1 -1
- package/docs/functions/getBreadcrumbsFor.md +1 -1
- package/docs/functions/getConfig.md +1 -1
- package/docs/functions/getContext.md +2 -2
- package/docs/functions/getCoreTranslation.md +1 -1
- package/docs/functions/getCurrentOfflineMode.md +1 -1
- package/docs/functions/getCurrentUser.md +3 -3
- package/docs/functions/getDynamicOfflineDataEntries.md +1 -1
- package/docs/functions/getDynamicOfflineDataEntriesFor.md +1 -1
- package/docs/functions/getDynamicOfflineDataHandlers.md +1 -1
- package/docs/functions/getExtensionNameFromId.md +1 -1
- package/docs/functions/getExtensionStore.md +1 -1
- package/docs/functions/getFeatureFlag.md +1 -1
- package/docs/functions/getFhirServerPaginationHandlers.md +1 -1
- package/docs/functions/getFullSynchronizationItems.md +1 -1
- package/docs/functions/getFullSynchronizationItemsFor.md +1 -1
- package/docs/functions/getGlobalStore.md +1 -1
- package/docs/functions/getHistory.md +1 -1
- package/docs/functions/getLifecycle.md +1 -1
- package/docs/functions/getLocations.md +1 -1
- package/docs/functions/getLoggedInUser.md +1 -1
- package/docs/functions/getOfflinePatientDataStore.md +1 -1
- package/docs/functions/getSessionLocation.md +1 -1
- package/docs/functions/getSessionStore.md +1 -1
- package/docs/functions/getSyncLifecycle.md +1 -1
- package/docs/functions/getSynchronizationItem.md +1 -1
- package/docs/functions/getSynchronizationItems.md +1 -1
- package/docs/functions/getVisitStore.md +1 -1
- package/docs/functions/getVisitTypes.md +1 -1
- package/docs/functions/getVisitsForPatient.md +1 -1
- package/docs/functions/goBackInHistory.md +1 -1
- package/docs/functions/importDynamic.md +1 -1
- package/docs/functions/inRange.md +1 -1
- package/docs/functions/interpolateString.md +1 -1
- package/docs/functions/interpolateUrl.md +1 -1
- package/docs/functions/isDesktop.md +1 -1
- package/docs/functions/isDevEnabled.md +1 -1
- package/docs/functions/isOfflineUuid.md +1 -1
- package/docs/functions/isUrlWithTemplateParameters.md +1 -1
- package/docs/functions/launchWorkspace.md +1 -1
- package/docs/functions/launchWorkspaceGroup.md +1 -1
- package/docs/functions/makeUrl.md +1 -1
- package/docs/functions/messageOmrsServiceWorker.md +1 -1
- package/docs/functions/navigate.md +1 -1
- package/docs/functions/navigateAndLaunchWorkspace.md +1 -1
- package/docs/functions/oneOf.md +1 -1
- package/docs/functions/openmrsFetch.md +1 -1
- package/docs/functions/openmrsObservableFetch.md +1 -1
- package/docs/functions/provide.md +1 -1
- package/docs/functions/putDynamicOfflineData.md +1 -1
- package/docs/functions/putDynamicOfflineDataFor.md +1 -1
- package/docs/functions/queueSynchronizationItem.md +1 -1
- package/docs/functions/refetchCurrentUser.md +1 -1
- package/docs/functions/registerBreadcrumb.md +1 -1
- package/docs/functions/registerBreadcrumbs.md +1 -1
- package/docs/functions/registerContext.md +2 -2
- package/docs/functions/registerFeatureFlag.md +1 -1
- package/docs/functions/registerOfflinePatientHandler.md +1 -1
- package/docs/functions/removeDynamicOfflineData.md +1 -1
- package/docs/functions/removeDynamicOfflineDataFor.md +1 -1
- package/docs/functions/renderExtension.md +1 -1
- package/docs/functions/saveVisit.md +1 -1
- package/docs/functions/setCurrentVisit.md +1 -1
- package/docs/functions/setLeftNav.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/setupDynamicOfflineDataHandler.md +1 -1
- package/docs/functions/setupOfflineSync.md +1 -1
- package/docs/functions/showActionableNotification.md +1 -1
- package/docs/functions/showModal.md +1 -1
- package/docs/functions/showNotification.md +1 -1
- package/docs/functions/showSnackbar.md +1 -1
- package/docs/functions/showToast.md +1 -1
- package/docs/functions/subscribeTo.md +2 -2
- package/docs/functions/subscribeToContext.md +2 -2
- package/docs/functions/syncAllDynamicOfflineData.md +1 -1
- package/docs/functions/syncDynamicOfflineData.md +1 -1
- package/docs/functions/syncOfflinePatientData.md +1 -1
- package/docs/functions/toLocationObject.md +1 -1
- package/docs/functions/toVisitTypeObject.md +1 -1
- package/docs/functions/translateFrom.md +1 -1
- package/docs/functions/unregisterContext.md +1 -1
- package/docs/functions/unsetLeftNav.md +1 -1
- package/docs/functions/updateContext.md +2 -2
- package/docs/functions/updateVisit.md +1 -1
- package/docs/functions/useAbortController.md +1 -1
- package/docs/functions/useAppContext.md +2 -2
- package/docs/functions/useAssignedExtensionIds.md +1 -1
- package/docs/functions/useAssignedExtensions.md +1 -1
- package/docs/functions/useAttachments.md +1 -1
- package/docs/functions/useBodyScrollLock.md +1 -1
- package/docs/functions/useConfig.md +1 -1
- package/docs/functions/useConnectivity.md +1 -1
- package/docs/functions/useDebounce.md +1 -1
- package/docs/functions/useDefineAppContext.md +2 -2
- package/docs/functions/useEmrConfiguration.md +1 -1
- package/docs/functions/useExtensionSlotMeta.md +1 -1
- package/docs/functions/useExtensionSlotStore.md +1 -1
- package/docs/functions/useFeatureFlag.md +1 -1
- package/docs/functions/useFhirFetchAll.md +1 -1
- package/docs/functions/useFhirInfinite.md +1 -1
- package/docs/functions/useFhirPagination.md +1 -1
- package/docs/functions/useLayoutType.md +1 -1
- package/docs/functions/useLeftNav.md +1 -1
- package/docs/functions/useLeftNavStore.md +1 -1
- package/docs/functions/useLocations.md +1 -1
- package/docs/functions/useOnClickOutside.md +1 -1
- package/docs/functions/useOnVisible.md +1 -1
- package/docs/functions/useOpenmrsFetchAll.md +1 -1
- package/docs/functions/useOpenmrsInfinite.md +1 -1
- package/docs/functions/useOpenmrsPagination.md +1 -1
- package/docs/functions/useOpenmrsSWR.md +1 -1
- package/docs/functions/usePagination.md +1 -1
- package/docs/functions/usePatient.md +1 -1
- package/docs/functions/usePatientPhoto.md +1 -1
- package/docs/functions/usePrimaryIdentifierCode.md +1 -1
- package/docs/functions/useRenderableExtensions.md +1 -1
- package/docs/functions/useSession.md +1 -1
- package/docs/functions/useStore.md +4 -4
- package/docs/functions/useStoreWithActions.md +1 -1
- package/docs/functions/useVisit.md +1 -1
- package/docs/functions/useVisitContextStore.md +1 -1
- package/docs/functions/useVisitTypes.md +1 -1
- package/docs/functions/useWorkspaces.md +1 -1
- package/docs/functions/userHasAccess.md +1 -1
- package/docs/functions/validator.md +1 -1
- package/docs/interfaces/ActionMenuButtonProps.md +7 -7
- package/docs/interfaces/ActionableNotificationDescriptor.md +27 -27
- package/docs/interfaces/AssignedExtension.md +9 -9
- package/docs/interfaces/Attachment.md +8 -8
- package/docs/interfaces/AttachmentResponse.md +7 -7
- package/docs/interfaces/AuditInfo.md +13 -13
- package/docs/interfaces/BreadcrumbRegistration.md +3 -3
- package/docs/interfaces/BreadcrumbSettings.md +5 -5
- package/docs/interfaces/CancelLoading.md +2 -2
- package/docs/interfaces/ClearDynamicRoutesMessage.md +2 -2
- package/docs/interfaces/CloseWorkspaceOptions.md +4 -4
- package/docs/interfaces/ComponentConfig.md +4 -4
- package/docs/interfaces/Concept.md +18 -18
- package/docs/interfaces/ConceptClass.md +9 -9
- package/docs/interfaces/ConceptDatatype.md +10 -10
- package/docs/interfaces/ConceptName.md +10 -10
- package/docs/interfaces/Config.md +1 -1
- package/docs/interfaces/ConfigObject.md +3 -3
- package/docs/interfaces/ConfigSchema.md +4 -4
- package/docs/interfaces/ConfigurableLinkProps.md +4 -4
- package/docs/interfaces/ConnectedExtension.md +6 -6
- package/docs/interfaces/CurrentPatientOptions.md +2 -2
- package/docs/interfaces/DashboardExtensionProps.md +5 -5
- package/docs/interfaces/DefaultWorkspaceProps.md +5 -5
- package/docs/interfaces/Diagnosis.md +9 -9
- package/docs/interfaces/DisplayConditionsConfigObject.md +5 -5
- package/docs/interfaces/DynamicOfflineData.md +6 -6
- package/docs/interfaces/DynamicOfflineDataHandler.md +6 -6
- package/docs/interfaces/DynamicOfflineDataSyncState.md +6 -6
- package/docs/interfaces/EmrApiConfigurationResponse.md +53 -53
- package/docs/interfaces/Encounter.md +10 -10
- package/docs/interfaces/EncounterProvider.md +3 -3
- package/docs/interfaces/EncounterRole.md +4 -4
- package/docs/interfaces/EncounterType.md +4 -4
- package/docs/interfaces/ErrorStateProps.md +3 -3
- package/docs/interfaces/ExtensionData.md +4 -4
- package/docs/interfaces/ExtensionMeta.md +1 -1
- package/docs/interfaces/ExtensionRegistration.md +10 -10
- package/docs/interfaces/ExtensionSlotBaseProps.md +5 -5
- package/docs/interfaces/ExtensionSlotConfig.md +5 -5
- package/docs/interfaces/ExtensionSlotConfigObject.md +4 -4
- package/docs/interfaces/ExtensionSlotConfigureValueObject.md +1 -1
- package/docs/interfaces/ExtensionSlotProps.md +6 -6
- package/docs/interfaces/ExtensionSlotState.md +3 -3
- package/docs/interfaces/ExtensionStore.md +2 -2
- package/docs/interfaces/FHIRCode.md +4 -4
- package/docs/interfaces/FHIRLocationResource.md +2 -2
- package/docs/interfaces/FHIRResource.md +2 -2
- package/docs/interfaces/FetchConfig.md +3 -3
- package/docs/interfaces/FetchError.md +3 -3
- package/docs/interfaces/FetchHeaders.md +1 -1
- package/docs/interfaces/FetchResponse.md +2 -2
- package/docs/interfaces/FetchResponseJson.md +1 -1
- package/docs/interfaces/LeftNavStore.md +5 -5
- package/docs/interfaces/Link.md +4 -4
- package/docs/interfaces/Location.md +30 -30
- package/docs/interfaces/LoggedInUser.md +12 -12
- package/docs/interfaces/LoggedInUserFetchResponse.md +2 -2
- package/docs/interfaces/MessageServiceWorkerResult.md +4 -4
- package/docs/interfaces/NavigateOptions.md +3 -3
- package/docs/interfaces/NewVisitPayload.md +8 -8
- package/docs/interfaces/NotificationDescriptor.md +8 -8
- package/docs/interfaces/Obs.md +18 -18
- package/docs/interfaces/OfflineModeResult.md +4 -4
- package/docs/interfaces/OfflinePatientArgs.md +3 -3
- package/docs/interfaces/OfflinePatientDataSyncHandler.md +3 -3
- package/docs/interfaces/OfflinePatientDataSyncState.md +7 -7
- package/docs/interfaces/OfflinePatientDataSyncStore.md +3 -3
- package/docs/interfaces/OmrsServiceWorkerMessage.md +2 -2
- package/docs/interfaces/OnImportMapChangedMessage.md +3 -3
- package/docs/interfaces/OnlyThePatient.md +2 -2
- package/docs/interfaces/OpenWorkspace.md +7 -7
- package/docs/interfaces/OpenmrsAppContextProps.md +4 -4
- package/docs/interfaces/OpenmrsDatePickerProps.md +15 -15
- package/docs/interfaces/OpenmrsResource.md +6 -6
- package/docs/interfaces/OpenmrsResourceStrict.md +6 -6
- package/docs/interfaces/PageHeaderContentProps.md +4 -4
- package/docs/interfaces/PageHeaderWrapperProps.md +3 -3
- package/docs/interfaces/Patient.md +4 -4
- package/docs/interfaces/PatientBannerActionsMenuProps.md +5 -5
- package/docs/interfaces/PatientBannerToggleContactDetailsButtonProps.md +4 -4
- package/docs/interfaces/PatientIdentifier.md +6 -6
- package/docs/interfaces/PatientIdentifierType.md +10 -10
- package/docs/interfaces/PatientPhotoProps.md +3 -3
- package/docs/interfaces/PatientWithFullResponse.md +2 -2
- package/docs/interfaces/Person.md +22 -22
- package/docs/interfaces/PersonAddress.md +32 -32
- package/docs/interfaces/PersonAttribute.md +9 -9
- package/docs/interfaces/PersonName.md +16 -16
- package/docs/interfaces/PrimaryIdentifier.md +2 -2
- package/docs/interfaces/Privilege.md +4 -4
- package/docs/interfaces/Prompt.md +6 -6
- package/docs/interfaces/QueueItemDescriptor.md +5 -5
- package/docs/interfaces/RegisterDynamicRouteMessage.md +5 -5
- package/docs/interfaces/ResponsiveWrapperProps.md +2 -2
- package/docs/interfaces/Role.md +4 -4
- package/docs/interfaces/Session.md +8 -8
- package/docs/interfaces/SessionLocation.md +4 -4
- package/docs/interfaces/SetLeftNavParams.md +5 -5
- package/docs/interfaces/SnackbarDescriptor.md +10 -10
- package/docs/interfaces/SnackbarMeta.md +11 -11
- package/docs/interfaces/StyleguideConfigObject.md +10 -10
- package/docs/interfaces/SyncItem.md +8 -8
- package/docs/interfaces/SyncProcessOptions.md +6 -6
- package/docs/interfaces/ToastDescriptor.md +7 -7
- package/docs/interfaces/ToastNotificationMeta.md +8 -8
- package/docs/interfaces/UploadedFile.md +8 -8
- package/docs/interfaces/UseConfigOptions.md +2 -2
- package/docs/interfaces/UsePatientPhotoResult.md +4 -4
- package/docs/interfaces/UseServerFetchAllOptions.md +5 -5
- package/docs/interfaces/UseServerInfiniteOptions.md +4 -4
- package/docs/interfaces/UseServerPaginationOptions.md +4 -4
- package/docs/interfaces/User.md +6 -6
- package/docs/interfaces/UserHasAccessProps.md +4 -4
- package/docs/interfaces/Visit.md +10 -10
- package/docs/interfaces/VisitItem.md +5 -5
- package/docs/interfaces/VisitReturnType.md +8 -8
- package/docs/interfaces/VisitStoreState.md +4 -4
- package/docs/interfaces/VisitType.md +4 -4
- package/docs/interfaces/WorkspaceContainerProps.md +6 -6
- package/docs/interfaces/WorkspaceRegistration.md +12 -12
- package/docs/interfaces/WorkspacesInfo.md +12 -8
- package/docs/type-aliases/ActionFunction.md +1 -1
- package/docs/type-aliases/ActionableNotificationType.md +1 -1
- package/docs/type-aliases/Actions.md +1 -1
- package/docs/type-aliases/ArgumentsTuple.md +1 -1
- package/docs/type-aliases/BoundActions.md +1 -1
- package/docs/type-aliases/ConfigValue.md +1 -1
- package/docs/type-aliases/ContextCallback.md +2 -2
- package/docs/type-aliases/CoreTranslationKey.md +1 -1
- package/docs/type-aliases/CurrentPatient.md +1 -1
- package/docs/type-aliases/DefaultEvaluateReturnType.md +1 -1
- package/docs/type-aliases/ExtensionProps.md +1 -1
- package/docs/type-aliases/IconProps.md +4 -4
- package/docs/type-aliases/InlineNotificationType.md +1 -1
- package/docs/type-aliases/Key.md +1 -1
- package/docs/type-aliases/KnownOmrsServiceWorkerMessages.md +1 -1
- package/docs/type-aliases/LayoutType.md +1 -1
- package/docs/type-aliases/LoadedSessionStore.md +3 -3
- package/docs/type-aliases/NullablePatient.md +1 -1
- package/docs/type-aliases/OfflineMode.md +1 -1
- package/docs/type-aliases/OmrsOfflineCachingStrategy.md +1 -1
- package/docs/type-aliases/OmrsOfflineHttpHeaderNames.md +1 -1
- package/docs/type-aliases/OmrsOfflineHttpHeaders.md +4 -4
- package/docs/type-aliases/PageHeaderProps.md +1 -1
- package/docs/type-aliases/PatientUuid.md +1 -1
- package/docs/type-aliases/PictogramProps.md +3 -3
- package/docs/type-aliases/ProvidedConfig.md +3 -3
- package/docs/type-aliases/ResourceName.md +1 -1
- package/docs/type-aliases/SessionStore.md +1 -1
- package/docs/type-aliases/SnackbarType.md +1 -1
- package/docs/type-aliases/SvgIconProps.md +3 -3
- package/docs/type-aliases/SvgPictogramProps.md +3 -3
- package/docs/type-aliases/TemplateParams.md +1 -1
- package/docs/type-aliases/ToastType.md +1 -1
- package/docs/type-aliases/UnloadedSessionStore.md +3 -3
- package/docs/type-aliases/UpdateVisitPayload.md +1 -1
- package/docs/type-aliases/UseOpenmrsSWROptions.md +5 -5
- package/docs/type-aliases/Validator.md +1 -1
- package/docs/type-aliases/ValidatorFunction.md +1 -1
- package/docs/type-aliases/VariablesMap.md +1 -1
- package/docs/variables/ActionMenuButton.md +1 -1
- package/docs/variables/ActivityIcon.md +1 -1
- package/docs/variables/AddIcon.md +1 -1
- package/docs/variables/AllergiesIcon.md +1 -1
- package/docs/variables/AppointmentsPictogram.md +1 -1
- package/docs/variables/ArrowDownIcon.md +1 -1
- package/docs/variables/ArrowLeftIcon.md +1 -1
- package/docs/variables/ArrowRightIcon.md +1 -1
- package/docs/variables/ArrowUpIcon.md +1 -1
- package/docs/variables/AttachmentIcon.md +1 -1
- package/docs/variables/BabyIcon.md +1 -1
- package/docs/variables/CalendarHeatMapIcon.md +1 -1
- package/docs/variables/CalendarIcon.md +1 -1
- package/docs/variables/CaretDownIcon.md +1 -1
- package/docs/variables/CaretLeftIcon.md +1 -1
- package/docs/variables/CaretRightIcon.md +1 -1
- package/docs/variables/CaretUpIcon.md +1 -1
- package/docs/variables/ChartAverageIcon.md +1 -1
- package/docs/variables/CheckmarkFilledIcon.md +1 -1
- package/docs/variables/CheckmarkOutlineIcon.md +1 -1
- package/docs/variables/ChemistryIcon.md +1 -1
- package/docs/variables/ChevronDownIcon.md +1 -1
- package/docs/variables/ChevronLeftIcon.md +1 -1
- package/docs/variables/ChevronRightIcon.md +1 -1
- package/docs/variables/ChevronUpIcon.md +1 -1
- package/docs/variables/CloseFilledIcon.md +1 -1
- package/docs/variables/CloseIcon.md +1 -1
- package/docs/variables/CloseOutlineIcon.md +1 -1
- package/docs/variables/ConditionsIcon.md +1 -1
- package/docs/variables/DiagnosisTags.md +1 -1
- package/docs/variables/DocumentAttachmentIcon.md +1 -1
- package/docs/variables/DocumentIcon.md +1 -1
- package/docs/variables/DownloadIcon.md +1 -1
- package/docs/variables/DrugOrderIcon.md +1 -1
- package/docs/variables/EditIcon.md +1 -1
- package/docs/variables/ErrorState.md +1 -1
- package/docs/variables/EventScheduleIcon.md +1 -1
- package/docs/variables/EventsIcon.md +1 -1
- package/docs/variables/Extension.md +1 -1
- package/docs/variables/GenderFemaleIcon.md +1 -1
- package/docs/variables/GenderMaleIcon.md +1 -1
- package/docs/variables/GenderOtherIcon.md +1 -1
- package/docs/variables/GenderUnknownIcon.md +1 -1
- package/docs/variables/GenericOrderTypeIcon.md +1 -1
- package/docs/variables/GroupAccessIcon.md +1 -1
- package/docs/variables/GroupIcon.md +1 -1
- package/docs/variables/HomePictogram.md +1 -1
- package/docs/variables/HospitalBedIcon.md +1 -1
- package/docs/variables/Icon.md +1 -1
- package/docs/variables/ImageMedicalIcon.md +1 -1
- package/docs/variables/InPatientPictogram.md +1 -1
- package/docs/variables/InformationFilledIcon.md +1 -1
- package/docs/variables/InformationIcon.md +1 -1
- package/docs/variables/InformationSquareIcon.md +1 -1
- package/docs/variables/InventoryManagementIcon.md +1 -1
- package/docs/variables/LabOrderIcon.md +1 -1
- package/docs/variables/LaboratoryPictogram.md +1 -1
- package/docs/variables/LeftNavMenu.md +1 -1
- package/docs/variables/ListCheckedIcon.md +1 -1
- package/docs/variables/LocationIcon.md +1 -1
- package/docs/variables/LocationPicker.md +1 -1
- package/docs/variables/MaterialOrderIcon.md +1 -1
- package/docs/variables/MaximizeIcon.md +1 -1
- package/docs/variables/MaybeIcon.md +1 -1
- package/docs/variables/MaybePictogram.md +1 -1
- package/docs/variables/MedicationIcon.md +1 -1
- package/docs/variables/MessageQueueIcon.md +1 -1
- package/docs/variables/MicroscopeIcon.md +1 -1
- package/docs/variables/MoneyIcon.md +1 -1
- package/docs/variables/MotherIcon.md +1 -1
- package/docs/variables/MovementIcon.md +1 -1
- package/docs/variables/OpenmrsDatePicker.md +1 -1
- package/docs/variables/OverflowMenuHorizontalIcon.md +1 -1
- package/docs/variables/OverflowMenuVerticalIcon.md +1 -1
- package/docs/variables/PageHeader.md +1 -1
- package/docs/variables/PageHeaderContent.md +1 -1
- package/docs/variables/PasswordIcon.md +1 -1
- package/docs/variables/PatientListsPictogram.md +1 -1
- package/docs/variables/PedestrianFamilyIcon.md +1 -1
- package/docs/variables/PenIcon.md +1 -1
- package/docs/variables/PharmacyPictogram.md +1 -1
- package/docs/variables/Pictogram.md +1 -1
- package/docs/variables/PrinterIcon.md +1 -1
- package/docs/variables/ProcedureOrderIcon.md +1 -1
- package/docs/variables/ProgramsIcon.md +1 -1
- package/docs/variables/RadiologyIcon.md +1 -1
- package/docs/variables/ReferralOrderIcon.md +1 -1
- package/docs/variables/RegistrationPictogram.md +1 -1
- package/docs/variables/RenderIfValueIsTruthy.md +1 -1
- package/docs/variables/RenewIcon.md +1 -1
- package/docs/variables/ReportIcon.md +1 -1
- package/docs/variables/ResetIcon.md +1 -1
- package/docs/variables/ResponsiveWrapper.md +1 -1
- package/docs/variables/SaveIcon.md +1 -1
- package/docs/variables/SearchIcon.md +1 -1
- package/docs/variables/ServiceQueuesPictogram.md +1 -1
- package/docs/variables/ShoppingCartAddItemIcon.md +1 -1
- package/docs/variables/ShoppingCartArrowDownIcon.md +1 -1
- package/docs/variables/ShoppingCartIcon.md +1 -1
- package/docs/variables/StickyNoteAddIcon.md +1 -1
- package/docs/variables/StockManagementPictogram.md +1 -1
- package/docs/variables/SwitcherIcon.md +1 -1
- package/docs/variables/SyringeIcon.md +1 -1
- package/docs/variables/TableIcon.md +1 -1
- package/docs/variables/TableOfContentsIcon.md +1 -1
- package/docs/variables/TimeIcon.md +1 -1
- package/docs/variables/ToolsIcon.md +1 -1
- package/docs/variables/TranslateIcon.md +1 -1
- package/docs/variables/TrashCanIcon.md +1 -1
- package/docs/variables/TreeViewAltIcon.md +1 -1
- package/docs/variables/UserAvatarIcon.md +1 -1
- package/docs/variables/UserFollowIcon.md +1 -1
- package/docs/variables/UserHasAccess.md +1 -1
- package/docs/variables/UserIcon.md +1 -1
- package/docs/variables/UserXrayIcon.md +1 -1
- package/docs/variables/ViewIcon.md +1 -1
- package/docs/variables/ViewOffIcon.md +1 -1
- package/docs/variables/WarningIcon.md +1 -1
- package/docs/variables/attachmentUrl.md +1 -1
- package/docs/variables/backendDependencies.md +1 -1
- package/docs/variables/defaultVisitCustomRepresentation.md +1 -1
- package/docs/variables/fhirBaseUrl.md +1 -1
- package/docs/variables/getAsyncExtensionLifecycle.md +1 -1
- package/docs/variables/getStartedVisit.md +1 -1
- package/docs/variables/isUrl.md +1 -1
- package/docs/variables/offlineUuidPrefix.md +1 -1
- package/docs/variables/omrsOfflineCachingStrategyHttpHeaderName.md +1 -1
- package/docs/variables/omrsOfflineResponseBodyHttpHeaderName.md +1 -1
- package/docs/variables/omrsOfflineResponseStatusHttpHeaderName.md +1 -1
- package/docs/variables/restBaseUrl.md +1 -1
- package/docs/variables/sessionEndpoint.md +1 -1
- package/docs/variables/useConnectedExtensions.md +1 -1
- package/docs/variables/useExtensionStore.md +1 -1
- package/docs/variables/validators.md +1 -1
- package/package.json +21 -21
- package/typedoc.json +1 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useFhirFetchAll**\<`T`\>(`url`, `options`): `UseServerInfiniteReturnObject`\<`T`, `Bundle`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useFhirFetchAll.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useFhirFetchAll.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useFhirFetchAll.ts#L19)
|
8
8
|
|
9
9
|
This hook handles fetching results from *all* pages of a paginated FHIR REST endpoint, making multiple requests
|
10
10
|
as needed.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useFhirInfinite**\<`T`\>(`url`, `options`): `UseServerInfiniteReturnObject`\<`T`, `Bundle`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useFhirInfinite.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useFhirInfinite.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useFhirInfinite.ts#L24)
|
8
8
|
|
9
9
|
Fhir REST endpoints that return a list of objects, are server-side paginated.
|
10
10
|
The server limits the max number of results being returned, and multiple requests are needed to get the full data set
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useFhirPagination**\<`T`\>(`url`, `pageSize`, `options`): `object`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useFhirPagination.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useFhirPagination.ts:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useFhirPagination.ts#L27)
|
8
8
|
|
9
9
|
Fhir REST endpoints that return a list of objects, are server-side paginated.
|
10
10
|
The server limits the max number of results being returned, and multiple requests are needed to get the full data set
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useLayoutType**(): [`LayoutType`](../type-aliases/LayoutType.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useLayoutType.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useLayoutType.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useLayoutType.ts#L26)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useLeftNav**(`params`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useLeftNav.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useLeftNav.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useLeftNav.ts#L5)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useLeftNavStore**(): `LeftNavStore`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useLeftNavStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useLeftNavStore.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useLeftNavStore.ts#L4)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useLocations**(`tagUuidOrName`, `query`): `Location`[]
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useLocations.tsx:5](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useLocations.tsx:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useLocations.tsx#L5)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOnClickOutside**\<`T`\>(`handler`, `active`): `RefObject`\<`T`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOnClickOutside.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOnClickOutside.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOnClickOutside.ts#L4)
|
8
8
|
|
9
9
|
## Type Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOnVisible**(`callBack`): `MutableRefObject`\<`HTMLElement`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOnVisible.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOnVisible.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOnVisible.ts#L15)
|
8
8
|
|
9
9
|
Returns a ref that can be used on a HTML component to trigger
|
10
10
|
an action when the component is scrolled into visible view,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOpenmrsFetchAll**\<`T`\>(`url`, `options`): `UseServerInfiniteReturnObject`\<`T`, `OpenMRSPaginatedResponse`\<`T`\>\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsFetchAll.ts:40](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsFetchAll.ts:40](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOpenmrsFetchAll.ts#L40)
|
8
8
|
|
9
9
|
Most OpenMRS REST endpoints that return a list of objects, such as getAll or search, are server-side paginated.
|
10
10
|
This hook handles fetching results from *all* pages of a paginated OpenMRS REST endpoint, making multiple requests
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOpenmrsInfinite**\<`T`\>(`url`, `options`): `UseServerInfiniteReturnObject`\<`T`, `OpenMRSPaginatedResponse`\<`T`\>\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsInfinite.ts:102](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsInfinite.ts:102](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOpenmrsInfinite.ts#L102)
|
8
8
|
|
9
9
|
Most REST endpoints that return a list of objects, such as getAll or search, are server-side paginated.
|
10
10
|
The server limits the max number of results being returned, and multiple requests are needed to get the full data set
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOpenmrsPagination**\<`T`\>(`url`, `pageSize`, `options`): `object`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:59](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:59](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOpenmrsPagination.ts#L59)
|
8
8
|
|
9
9
|
Most OpenMRS REST endpoints that return a list of objects, such as getAll or search, are server-side paginated.
|
10
10
|
The server limits the max number of results being returned, and multiple requests are needed to get the full data set
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useOpenmrsSWR**\<`DataType`, `ErrorType`\>(`key`, `options`): `SWRResponse`\<`FetchResponse`\<`DataType`\>, `ErrorType`, `undefined` \| `SWRConfiguration`\<`FetchResponse`\<`DataType`\>, `ErrorType`, `BareFetcher`\<`FetchResponse`\<`DataType`\>\>\>\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsSWR.ts:70](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useOpenmrsSWR.ts:70](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useOpenmrsSWR.ts#L70)
|
8
8
|
|
9
9
|
**`Beta`**
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **usePagination**\<`T`\>(`data`, `resultsPerPage`): `object`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/usePagination.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/usePagination.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/usePagination.ts#L15)
|
8
8
|
|
9
9
|
Use this hook to paginate data that already exists on the client side.
|
10
10
|
Note that if the data is obtained from server-side, the caller must handle server-side pagination manually.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **usePatient**(`patientUuid?`): `object`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/usePatient.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/usePatient.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/usePatient.ts#L19)
|
8
8
|
|
9
9
|
This React hook returns a patient object. If the `patientUuid` is provided
|
10
10
|
as a parameter, then the patient for that UUID is returned. If the parameter
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **usePatientPhoto**(`patientUuid`): [`UsePatientPhotoResult`](../interfaces/UsePatientPhotoResult.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-photo/usePatientPhoto.ts#L30)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **usePrimaryIdentifierCode**(): `object`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/usePrimaryIdentifierResource.ts#L13)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useRenderableExtensions**(`name`): `FC`\<`Pick`\<[`ExtensionProps`](../type-aliases/ExtensionProps.md), `"state"`\>\>[]
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useRenderableExtensions.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useRenderableExtensions.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useRenderableExtensions.tsx#L31)
|
8
8
|
|
9
9
|
This is an advanced hook for use-cases where its useful to use the extension system,
|
10
10
|
but not the `ExtensionSlot` component's rendering of extensions. Use of this hook
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useSession**(): `Session`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useSession.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useSession.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useSession.ts#L17)
|
8
8
|
|
9
9
|
Gets the current user session information. Returns an object with
|
10
10
|
property `authenticated` == `false` if the user is not logged in.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
> **useStore**\<`T`\>(`store`): `T`
|
8
8
|
|
9
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/
|
9
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:53](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L53)
|
10
10
|
|
11
11
|
### Type Parameters
|
12
12
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/framework/esm-react-utils/src/useStore.ts:53](https://gith
|
|
28
28
|
|
29
29
|
> **useStore**\<`T`, `U`\>(`store`, `select`): `U`
|
30
30
|
|
31
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/
|
31
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L54)
|
32
32
|
|
33
33
|
### Type Parameters
|
34
34
|
|
@@ -58,7 +58,7 @@ Defined in: [packages/framework/esm-react-utils/src/useStore.ts:54](https://gith
|
|
58
58
|
|
59
59
|
> **useStore**\<`T`, `U`, `A`\>(`store`, `select`, `actions`): `T` & [`BoundActions`](../type-aliases/BoundActions.md)\<`T`, `A`\>
|
60
60
|
|
61
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/
|
61
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L55)
|
62
62
|
|
63
63
|
### Type Parameters
|
64
64
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/framework/esm-react-utils/src/useStore.ts:55](https://gith
|
|
96
96
|
|
97
97
|
> **useStore**\<`T`, `U`, `A`\>(`store`, `select`, `actions`): `U` & [`BoundActions`](../type-aliases/BoundActions.md)\<`T`, `A`\>
|
98
98
|
|
99
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:60](https://github.com/openmrs/openmrs-esm-core/blob/
|
99
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:60](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L60)
|
100
100
|
|
101
101
|
### Type Parameters
|
102
102
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useStoreWithActions**\<`T`, `A`\>(`store`, `actions`): `T` & [`BoundActions`](../type-aliases/BoundActions.md)\<`T`, `A`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:87](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:87](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L87)
|
8
8
|
|
9
9
|
## Type Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useVisit**(`patientUuid`, `representation`): [`VisitReturnType`](../interfaces/VisitReturnType.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useVisit.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useVisit.ts:42](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useVisit.ts#L42)
|
8
8
|
|
9
9
|
This React hook returns visit information if the patient UUID is not null. There are
|
10
10
|
potentially two relevant visits at a time: "active" and "current".
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useVisitContextStore**(`mutateVisitCallback?`): `VisitStoreState` & `BindFunctionsIn`\<\{ `mutateVisit`: \{ \}; `setVisitContext`: \{ `manuallySetVisitUuid`: `null` \| `string`; `patientUuid`: `null` \| `string`; \}; \}\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useVisitContextStore.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useVisitContextStore.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useVisitContextStore.ts#L28)
|
8
8
|
|
9
9
|
A hook to return the visit context store and corresponding actions.
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useVisitTypes**(): `VisitType`[]
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useVisitTypes.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useVisitTypes.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useVisitTypes.ts#L5)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **useWorkspaces**(): [`WorkspacesInfo`](../interfaces/WorkspacesInfo.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/workspaces.ts:543](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/workspaces.ts:543](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L543)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -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:184](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:184](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L184)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **validator**(`validationFunction`, `message`): [`Validator`](../type-aliases/Validator.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/validators/validator.ts:25](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-config/src/validators/validator.ts:25](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/validators/validator.ts#L25)
|
8
8
|
|
9
9
|
Constructs a custom validator.
|
10
10
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Interface: ActionMenuButtonProps
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:29](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L29)
|
6
6
|
|
7
7
|
## Properties
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
10
10
|
|
11
11
|
> **getIcon**: (`props`) => `Element`
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:30](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L30)
|
14
14
|
|
15
15
|
#### Parameters
|
16
16
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
28
28
|
|
29
29
|
> **handler**: () => `void`
|
30
30
|
|
31
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:33](https://github.com/openmrs/openmrs-esm-core/blob/
|
31
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:33](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L33)
|
32
32
|
|
33
33
|
#### Returns
|
34
34
|
|
@@ -40,7 +40,7 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
40
40
|
|
41
41
|
> **iconDescription**: `string`
|
42
42
|
|
43
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:32](https://github.com/openmrs/openmrs-esm-core/blob/
|
43
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:32](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L32)
|
44
44
|
|
45
45
|
***
|
46
46
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
48
48
|
|
49
49
|
> **label**: `string`
|
50
50
|
|
51
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/
|
51
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:31](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L31)
|
52
52
|
|
53
53
|
***
|
54
54
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
56
56
|
|
57
57
|
> `optional` **tagContent**: `ReactNode`
|
58
58
|
|
59
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:35](https://github.com/openmrs/openmrs-esm-core/blob/
|
59
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:35](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L35)
|
60
60
|
|
61
61
|
***
|
62
62
|
|
@@ -64,4 +64,4 @@ Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button
|
|
64
64
|
|
65
65
|
> **type**: `string`
|
66
66
|
|
67
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:34](https://github.com/openmrs/openmrs-esm-core/blob/
|
67
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx:34](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/action-menu-button/action-menu-button.component.tsx#L34)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Interface: ActionableNotificationDescriptor
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:9](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L9)
|
6
6
|
|
7
7
|
## Properties
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-noti
|
|
10
10
|
|
11
11
|
> **actionButtonLabel**: `string`
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:10](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L10)
|
14
14
|
|
15
15
|
***
|
16
16
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-noti
|
|
18
18
|
|
19
19
|
> `optional` **critical**: `boolean`
|
20
20
|
|
21
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/
|
21
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L16)
|
22
22
|
|
23
23
|
***
|
24
24
|
|
@@ -26,52 +26,52 @@ Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-noti
|
|
26
26
|
|
27
27
|
> `optional` **kind**: `string`
|
28
28
|
|
29
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/
|
29
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L15)
|
30
30
|
|
31
31
|
***
|
32
32
|
|
33
|
-
###
|
34
|
-
|
35
|
-
> **onActionButtonClick**: () => `void`
|
36
|
-
|
37
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:11](https://github.com/openmrs/openmrs-esm-core/blob/18d2874f03a33a6ab8295af0e87ac97fdd150718/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L11)
|
33
|
+
### progressActionLabel?
|
38
34
|
|
39
|
-
|
35
|
+
> `optional` **progressActionLabel**: `string`
|
40
36
|
|
41
|
-
|
37
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L17)
|
42
38
|
|
43
39
|
***
|
44
40
|
|
45
|
-
###
|
41
|
+
### subtitle
|
46
42
|
|
47
|
-
>
|
43
|
+
> **subtitle**: `string`
|
48
44
|
|
49
|
-
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:
|
45
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:13](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L13)
|
50
46
|
|
51
|
-
|
47
|
+
***
|
52
48
|
|
53
|
-
|
49
|
+
### title?
|
54
50
|
|
55
|
-
|
51
|
+
> `optional` **title**: `string`
|
56
52
|
|
57
|
-
|
53
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L14)
|
58
54
|
|
59
|
-
|
55
|
+
## Methods
|
60
56
|
|
61
|
-
|
57
|
+
### onActionButtonClick()
|
62
58
|
|
63
|
-
|
59
|
+
> **onActionButtonClick**(): `void`
|
64
60
|
|
65
|
-
|
61
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:11](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L11)
|
66
62
|
|
67
|
-
|
63
|
+
#### Returns
|
68
64
|
|
69
|
-
|
65
|
+
`void`
|
70
66
|
|
71
67
|
***
|
72
68
|
|
73
|
-
###
|
69
|
+
### onClose()?
|
74
70
|
|
75
|
-
> `optional` **
|
71
|
+
> `optional` **onClose**(): `void`
|
72
|
+
|
73
|
+
Defined in: [packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/notifications/actionable-notification.component.tsx#L12)
|
76
74
|
|
77
|
-
|
75
|
+
#### Returns
|
76
|
+
|
77
|
+
`void`
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Interface: AssignedExtension
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:72](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:72](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L72)
|
6
6
|
|
7
7
|
## Properties
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:72](https://github.c
|
|
10
10
|
|
11
11
|
> `readonly` **config**: `null` \| `Readonly`\<`ConfigObject`\>
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:78](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:78](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L78)
|
14
14
|
|
15
15
|
The extension's config. Note that this will be `null` until the slot is mounted.
|
16
16
|
|
@@ -20,7 +20,7 @@ The extension's config. Note that this will be `null` until the slot is mounted.
|
|
20
20
|
|
21
21
|
> `readonly` `optional` **featureFlag**: `string`
|
22
22
|
|
23
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:81](https://github.com/openmrs/openmrs-esm-core/blob/
|
23
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:81](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L81)
|
24
24
|
|
25
25
|
***
|
26
26
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:81](https://github.c
|
|
28
28
|
|
29
29
|
> `readonly` **id**: `string`
|
30
30
|
|
31
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:73](https://github.com/openmrs/openmrs-esm-core/blob/
|
31
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:73](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L73)
|
32
32
|
|
33
33
|
***
|
34
34
|
|
@@ -36,7 +36,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:73](https://github.c
|
|
36
36
|
|
37
37
|
> `readonly` **meta**: `Readonly`\<[`ExtensionMeta`](ExtensionMeta.md)\>
|
38
38
|
|
39
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/
|
39
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L76)
|
40
40
|
|
41
41
|
***
|
42
42
|
|
@@ -44,7 +44,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:76](https://github.c
|
|
44
44
|
|
45
45
|
> `readonly` **moduleName**: `string`
|
46
46
|
|
47
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:75](https://github.com/openmrs/openmrs-esm-core/blob/
|
47
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:75](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L75)
|
48
48
|
|
49
49
|
***
|
50
50
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:75](https://github.c
|
|
52
52
|
|
53
53
|
> `readonly` **name**: `string`
|
54
54
|
|
55
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:74](https://github.com/openmrs/openmrs-esm-core/blob/
|
55
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:74](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L74)
|
56
56
|
|
57
57
|
***
|
58
58
|
|
@@ -60,7 +60,7 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:74](https://github.c
|
|
60
60
|
|
61
61
|
> `readonly` `optional` **offline**: `boolean` \| `object`
|
62
62
|
|
63
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:80](https://github.com/openmrs/openmrs-esm-core/blob/
|
63
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:80](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L80)
|
64
64
|
|
65
65
|
***
|
66
66
|
|
@@ -68,4 +68,4 @@ Defined in: [packages/framework/esm-extensions/src/store.ts:80](https://github.c
|
|
68
68
|
|
69
69
|
> `readonly` `optional` **online**: `boolean` \| `object`
|
70
70
|
|
71
|
-
Defined in: [packages/framework/esm-extensions/src/store.ts:79](https://github.com/openmrs/openmrs-esm-core/blob/
|
71
|
+
Defined in: [packages/framework/esm-extensions/src/store.ts:79](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/store.ts#L79)
|