@openmrs/esm-framework 6.3.1-pre.3105 → 6.3.1-pre.3106
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 +2 -2
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/API.md +8579 -310
- package/docs/classes/OpenmrsFetchError.md +117 -88
- package/docs/enums/Type.md +107 -0
- package/docs/enums/VisitMode.md +41 -0
- package/docs/enums/VisitStatus.md +30 -0
- package/docs/interfaces/ActionMenuButtonProps.md +57 -33
- package/docs/interfaces/ActionableNotificationDescriptor.md +67 -37
- package/docs/interfaces/AssignedExtension.md +57 -30
- package/docs/interfaces/Attachment.md +47 -23
- package/docs/interfaces/AttachmentResponse.md +41 -20
- package/docs/interfaces/AuditInfo.md +88 -49
- package/docs/interfaces/BreadcrumbRegistration.md +17 -8
- package/docs/interfaces/BreadcrumbSettings.md +33 -18
- package/docs/interfaces/CancelLoading.md +10 -6
- package/docs/interfaces/ClearDynamicRoutesMessage.md +17 -9
- package/docs/interfaces/CloseWorkspaceOptions.md +29 -18
- package/docs/interfaces/ComponentConfig.md +23 -11
- package/docs/interfaces/Concept.md +131 -83
- package/docs/interfaces/ConceptClass.md +67 -46
- package/docs/interfaces/ConceptDatatype.md +74 -50
- package/docs/interfaces/ConceptName.md +74 -50
- package/docs/interfaces/Config.md +2 -4
- package/docs/interfaces/ConfigObject.md +21 -12
- package/docs/interfaces/ConfigSchema.md +27 -15
- package/docs/interfaces/ConfigurableLinkProps.md +4314 -24
- package/docs/interfaces/ConnectedExtension.md +41 -25
- package/docs/interfaces/ConnectivityChangedEvent.md +10 -4
- package/docs/interfaces/CurrentPatientOptions.md +18 -9
- package/docs/interfaces/DashboardExtensionProps.md +28 -13
- package/docs/interfaces/DefaultWorkspaceProps.md +51 -44
- package/docs/interfaces/Diagnosis.md +104 -80
- package/docs/interfaces/DisplayConditionsConfigObject.md +33 -18
- package/docs/interfaces/DynamicOfflineData.md +41 -23
- package/docs/interfaces/DynamicOfflineDataHandler.md +54 -47
- package/docs/interfaces/DynamicOfflineDataSyncState.md +39 -29
- package/docs/interfaces/EmrApiConfigurationResponse.md +350 -243
- package/docs/interfaces/Encounter.md +110 -67
- package/docs/interfaces/EncounterProvider.md +61 -39
- package/docs/interfaces/EncounterRole.md +68 -43
- package/docs/interfaces/EncounterType.md +68 -43
- package/docs/interfaces/ErrorStateProps.md +16 -7
- package/docs/interfaces/ExtensionData.md +22 -10
- package/docs/interfaces/ExtensionMeta.md +2 -4
- package/docs/interfaces/ExtensionRegistration.md +69 -36
- package/docs/interfaces/ExtensionSlotBaseProps.md +35 -35
- package/docs/interfaces/ExtensionSlotConfig.md +32 -17
- package/docs/interfaces/ExtensionSlotConfigObject.md +26 -14
- package/docs/interfaces/ExtensionSlotConfigureValueObject.md +2 -4
- package/docs/interfaces/ExtensionSlotState.md +18 -9
- package/docs/interfaces/ExtensionStore.md +11 -5
- package/docs/interfaces/FHIRCode.md +23 -11
- package/docs/interfaces/FHIRLocationResource.md +18 -25
- package/docs/interfaces/FHIRResource.md +41 -105
- package/docs/interfaces/FeatureFlagDefinition.md +26 -14
- package/docs/interfaces/FetchConfig.md +117 -80
- package/docs/interfaces/FetchError.md +21 -8
- package/docs/interfaces/FetchHeaders.md +2 -4
- package/docs/interfaces/FetchResponse.md +130 -124
- package/docs/interfaces/FetchResponseJson.md +2 -4
- package/docs/interfaces/ImportMap.md +10 -4
- package/docs/interfaces/LeftNavStore.md +29 -14
- package/docs/interfaces/Link.md +23 -11
- package/docs/interfaces/Location.md +250 -147
- package/docs/interfaces/LoggedInUser.md +70 -68
- package/docs/interfaces/LoggedInUserFetchResponse.md +128 -120
- package/docs/interfaces/MessageServiceWorkerResult.md +29 -17
- package/docs/interfaces/NavigateOptions.md +18 -9
- package/docs/interfaces/NewVisitPayload.md +48 -32
- package/docs/interfaces/NotificationDescriptor.md +58 -31
- package/docs/interfaces/Obs.md +166 -99
- package/docs/interfaces/OfflineModeResult.md +23 -11
- package/docs/interfaces/OfflinePatientArgs.md +20 -13
- package/docs/interfaces/OfflinePatientDataSyncHandler.md +27 -17
- package/docs/interfaces/OfflinePatientDataSyncState.md +51 -29
- package/docs/interfaces/OfflinePatientDataSyncStore.md +20 -13
- package/docs/interfaces/OldExtensionSlotBaseProps.md +67 -0
- package/docs/interfaces/OmrsServiceWorkerMessage.md +23 -13
- package/docs/interfaces/OnImportMapChangedMessage.md +23 -12
- package/docs/interfaces/OnlyThePatient.md +17 -9
- package/docs/interfaces/OpenWorkspace.md +170 -116
- package/docs/interfaces/OpenmrsAppContextProps.md +23 -14
- package/docs/interfaces/OpenmrsAppRoutes.md +71 -41
- package/docs/interfaces/OpenmrsDatePickerProps.md +483 -346
- package/docs/interfaces/OpenmrsResource.md +57 -39
- package/docs/interfaces/OpenmrsResourceStrict.md +51 -27
- package/docs/interfaces/PageHeaderContentProps.md +24 -12
- package/docs/interfaces/PageHeaderWrapperProps.md +18 -9
- package/docs/interfaces/Patient.md +70 -41
- package/docs/interfaces/PatientBannerActionsMenuProps.md +30 -15
- package/docs/interfaces/PatientBannerToggleContactDetailsButtonProps.md +32 -17
- package/docs/interfaces/PatientIdentifier.md +84 -49
- package/docs/interfaces/PatientIdentifierType.md +112 -65
- package/docs/interfaces/PatientPhotoProps.md +17 -8
- package/docs/interfaces/PatientWithFullResponse.md +17 -9
- package/docs/interfaces/Person.md +160 -96
- package/docs/interfaces/PersonAddress.md +230 -136
- package/docs/interfaces/PersonAttribute.md +68 -43
- package/docs/interfaces/PersonName.md +118 -72
- package/docs/interfaces/PrecacheStaticDependenciesEvent.md +1 -3
- package/docs/interfaces/PrimaryIdentifier.md +11 -5
- package/docs/interfaces/Privilege.md +23 -11
- package/docs/interfaces/Prompt.md +41 -20
- package/docs/interfaces/QueueItemDescriptor.md +30 -23
- package/docs/interfaces/RegisterDynamicRouteMessage.md +38 -21
- package/docs/interfaces/ResourceLoader.md +14 -10
- package/docs/interfaces/ResponsiveWrapperProps.md +11 -5
- package/docs/interfaces/RetryOptions.md +37 -36
- package/docs/interfaces/Role.md +22 -10
- package/docs/interfaces/Session.md +54 -31
- package/docs/interfaces/SessionLocation.md +22 -10
- package/docs/interfaces/SetLeftNavParams.md +30 -15
- package/docs/interfaces/ShowActionableNotificationEvent.md +50 -26
- package/docs/interfaces/ShowNotificationEvent.md +38 -20
- package/docs/interfaces/ShowSnackbarEvent.md +64 -34
- package/docs/interfaces/ShowToastEvent.md +43 -22
- package/docs/interfaces/SnackbarDescriptor.md +76 -41
- package/docs/interfaces/SnackbarMeta.md +93 -55
- package/docs/interfaces/SpaConfig.md +40 -30
- package/docs/interfaces/StyleguideConfigObject.md +70 -39
- package/docs/interfaces/SyncItem.md +57 -34
- package/docs/interfaces/SyncProcessOptions.md +40 -22
- package/docs/interfaces/ToastDescriptor.md +55 -29
- package/docs/interfaces/ToastNotificationMeta.md +69 -40
- package/docs/interfaces/UploadedFile.md +49 -25
- package/docs/interfaces/UseConfigOptions.md +12 -6
- package/docs/interfaces/UsePatientPhotoResult.md +24 -12
- package/docs/interfaces/UseServerFetchAllOptions.md +61 -41
- package/docs/interfaces/UseServerInfiniteOptions.md +46 -29
- package/docs/interfaces/UseServerPaginationOptions.md +41 -26
- package/docs/interfaces/User.md +46 -34
- package/docs/interfaces/UserHasAccessProps.md +25 -13
- package/docs/interfaces/Visit.md +66 -36
- package/docs/interfaces/VisitItem.md +31 -16
- package/docs/interfaces/VisitReturnType.md +51 -24
- package/docs/interfaces/VisitStoreState.md +26 -14
- package/docs/interfaces/VisitType.md +23 -11
- package/docs/interfaces/WorkspaceContainerProps.md +38 -20
- package/docs/interfaces/WorkspaceGroupDefinition.md +19 -10
- package/docs/interfaces/WorkspaceRegistration.md +82 -43
- package/docs/interfaces/WorkspacesInfo.md +40 -26
- package/package.json +20 -24
- package/rspack.config.cjs +8 -1
- package/tsconfig.build.json +1 -2
- package/typedoc.json +4 -16
- package/docs/enumerations/Type.md +0 -77
- package/docs/enumerations/VisitMode.md +0 -29
- package/docs/enumerations/VisitStatus.md +0 -21
- package/docs/functions/ConfigurableLink.md +0 -19
- package/docs/functions/CustomOverflowMenu.md +0 -17
- package/docs/functions/DashboardExtension.md +0 -17
- package/docs/functions/ExtensionSlot.md +0 -46
- package/docs/functions/OpenmrsAppContext.md +0 -36
- package/docs/functions/PatientBannerActionsMenu.md +0 -17
- package/docs/functions/PatientBannerContactDetails.md +0 -17
- package/docs/functions/PatientBannerPatientIdentifiers.md +0 -17
- package/docs/functions/PatientBannerPatientInfo.md +0 -17
- package/docs/functions/PatientBannerToggleContactDetailsButton.md +0 -17
- package/docs/functions/PatientPhoto.md +0 -19
- package/docs/functions/WorkspaceContainer.md +0 -55
- package/docs/functions/age.md +0 -32
- package/docs/functions/attach.md +0 -40
- package/docs/functions/beginEditSynchronizationItem.md +0 -22
- package/docs/functions/canAccessStorage.md +0 -25
- package/docs/functions/canBeginEditSynchronizationItemsOfType.md +0 -22
- package/docs/functions/clearCurrentUser.md +0 -11
- package/docs/functions/closeWorkspace.md +0 -27
- package/docs/functions/compile.md +0 -30
- package/docs/functions/convertToLocaleCalendar.md +0 -25
- package/docs/functions/createAttachment.md +0 -21
- package/docs/functions/createErrorHandler.md +0 -21
- package/docs/functions/createGlobalStore.md +0 -36
- package/docs/functions/createUseStore.md +0 -66
- package/docs/functions/defineConfigSchema.md +0 -33
- package/docs/functions/defineExtensionConfigSchema.md +0 -38
- package/docs/functions/deleteAttachmentPermanently.md +0 -21
- package/docs/functions/deleteSynchronizationItem.md +0 -21
- package/docs/functions/detach.md +0 -25
- package/docs/functions/detachAll.md +0 -21
- package/docs/functions/dispatchNotificationShown.md +0 -17
- package/docs/functions/dispatchPrecacheStaticDependencies.md +0 -17
- package/docs/functions/displayName.md +0 -21
- package/docs/functions/evaluate.md +0 -84
- package/docs/functions/evaluateAsBoolean.md +0 -31
- package/docs/functions/evaluateAsBooleanAsync.md +0 -31
- package/docs/functions/evaluateAsNumber.md +0 -31
- package/docs/functions/evaluateAsNumberAsync.md +0 -31
- package/docs/functions/evaluateAsType.md +0 -46
- package/docs/functions/evaluateAsTypeAsync.md +0 -46
- package/docs/functions/evaluateAsync.md +0 -87
- package/docs/functions/extractVariableNames.md +0 -50
- package/docs/functions/fetchCurrentPatient.md +0 -25
- package/docs/functions/filterBreadcrumbs.md +0 -21
- package/docs/functions/formatDate.md +0 -39
- package/docs/functions/formatDatetime.md +0 -29
- package/docs/functions/formatPartialDate.md +0 -39
- package/docs/functions/formatPatientName.md +0 -23
- package/docs/functions/formatTime.md +0 -20
- package/docs/functions/formattedName.md +0 -21
- package/docs/functions/generateOfflineUuid.md +0 -13
- package/docs/functions/getAssignedExtensions.md +0 -23
- package/docs/functions/getAsyncLifecycle.md +0 -31
- package/docs/functions/getAttachmentByUuid.md +0 -21
- package/docs/functions/getAttachments.md +0 -25
- package/docs/functions/getBreadcrumbs.md +0 -11
- package/docs/functions/getBreadcrumbsFor.md +0 -17
- package/docs/functions/getConfig.md +0 -31
- package/docs/functions/getContext.md +0 -29
- package/docs/functions/getCoreTranslation.md +0 -35
- package/docs/functions/getCurrentOfflineMode.md +0 -11
- package/docs/functions/getCurrentUser.md +0 -154
- package/docs/functions/getDefaultCalendar.md +0 -21
- package/docs/functions/getDefaultsFromConfigSchema.md +0 -32
- package/docs/functions/getDynamicOfflineDataEntries.md +0 -28
- package/docs/functions/getDynamicOfflineDataEntriesFor.md +0 -34
- package/docs/functions/getDynamicOfflineDataHandlers.md +0 -13
- package/docs/functions/getExtensionNameFromId.md +0 -30
- package/docs/functions/getExtensionStore.md +0 -14
- package/docs/functions/getFeatureFlag.md +0 -21
- package/docs/functions/getFhirServerPaginationHandlers.md +0 -17
- package/docs/functions/getFullSynchronizationItems.md +0 -27
- package/docs/functions/getFullSynchronizationItemsFor.md +0 -33
- package/docs/functions/getGlobalStore.md +0 -36
- package/docs/functions/getHistory.md +0 -13
- package/docs/functions/getLifecycle.md +0 -27
- package/docs/functions/getLocale.md +0 -15
- package/docs/functions/getLocations.md +0 -21
- package/docs/functions/getLoggedInUser.md +0 -11
- package/docs/functions/getOfflinePatientDataStore.md +0 -15
- package/docs/functions/getPatientName.md +0 -26
- package/docs/functions/getSessionLocation.md +0 -11
- package/docs/functions/getSessionStore.md +0 -11
- package/docs/functions/getSyncLifecycle.md +0 -31
- package/docs/functions/getSynchronizationItem.md +0 -27
- package/docs/functions/getSynchronizationItems.md +0 -27
- package/docs/functions/getVisitStore.md +0 -11
- package/docs/functions/getVisitTypes.md +0 -11
- package/docs/functions/getVisitsForPatient.md +0 -29
- package/docs/functions/goBackInHistory.md +0 -25
- package/docs/functions/importDynamic.md +0 -58
- package/docs/functions/inRange.md +0 -27
- package/docs/functions/interpolateString.md +0 -34
- package/docs/functions/interpolateUrl.md +0 -48
- package/docs/functions/isDesktop.md +0 -17
- package/docs/functions/isDevEnabled.md +0 -11
- package/docs/functions/isOfflineUuid.md +0 -19
- package/docs/functions/isOmrsDateStrict.md +0 -20
- package/docs/functions/isOmrsDateToday.md +0 -19
- package/docs/functions/isOnline.md +0 -17
- package/docs/functions/isUrlWithTemplateParameters.md +0 -22
- package/docs/functions/isVersionSatisfied.md +0 -21
- package/docs/functions/launchWorkspace.md +0 -56
- package/docs/functions/launchWorkspaceGroup.md +0 -38
- package/docs/functions/makeUrl.md +0 -26
- package/docs/functions/messageOmrsServiceWorker.md +0 -23
- package/docs/functions/navigate.md +0 -48
- package/docs/functions/navigateAndLaunchWorkspace.md +0 -33
- package/docs/functions/oneOf.md +0 -21
- package/docs/functions/openmrsFetch.md +0 -75
- package/docs/functions/openmrsObservableFetch.md +0 -55
- package/docs/functions/parseDate.md +0 -20
- package/docs/functions/provide.md +0 -21
- package/docs/functions/putDynamicOfflineData.md +0 -28
- package/docs/functions/putDynamicOfflineDataFor.md +0 -34
- package/docs/functions/queueSynchronizationItem.md +0 -39
- package/docs/functions/refetchCurrentUser.md +0 -33
- package/docs/functions/registerBreadcrumb.md +0 -17
- package/docs/functions/registerBreadcrumbs.md +0 -17
- package/docs/functions/registerContext.md +0 -34
- package/docs/functions/registerDefaultCalendar.md +0 -33
- package/docs/functions/registerFeatureFlag.md +0 -36
- package/docs/functions/registerOfflinePatientHandler.md +0 -25
- package/docs/functions/removeDynamicOfflineData.md +0 -28
- package/docs/functions/removeDynamicOfflineDataFor.md +0 -34
- package/docs/functions/renderExtension.md +0 -41
- package/docs/functions/reportError.md +0 -17
- package/docs/functions/retry.md +0 -44
- package/docs/functions/saveVisit.md +0 -21
- package/docs/functions/selectPreferredName.md +0 -46
- package/docs/functions/setCurrentVisit.md +0 -21
- package/docs/functions/setLeftNav.md +0 -23
- package/docs/functions/setSessionLocation.md +0 -21
- package/docs/functions/setUserLanguage.md +0 -17
- package/docs/functions/setUserProperties.md +0 -23
- package/docs/functions/setupDynamicOfflineDataHandler.md +0 -22
- package/docs/functions/setupOfflineSync.md +0 -49
- package/docs/functions/shallowEqual.md +0 -32
- package/docs/functions/showActionableNotification.md +0 -21
- package/docs/functions/showModal.md +0 -44
- package/docs/functions/showNotification.md +0 -21
- package/docs/functions/showSnackbar.md +0 -21
- package/docs/functions/showToast.md +0 -21
- package/docs/functions/subscribeActionableNotificationShown.md +0 -21
- package/docs/functions/subscribeConnectivity.md +0 -21
- package/docs/functions/subscribeConnectivityChanged.md +0 -21
- package/docs/functions/subscribeNotificationShown.md +0 -21
- package/docs/functions/subscribePrecacheStaticDependencies.md +0 -21
- package/docs/functions/subscribeSnackbarShown.md +0 -21
- package/docs/functions/subscribeTo.md +0 -75
- package/docs/functions/subscribeToContext.md +0 -39
- package/docs/functions/subscribeToastShown.md +0 -21
- package/docs/functions/syncAllDynamicOfflineData.md +0 -27
- package/docs/functions/syncDynamicOfflineData.md +0 -33
- package/docs/functions/syncOfflinePatientData.md +0 -21
- package/docs/functions/toDateObjectStrict.md +0 -20
- package/docs/functions/toLocationObject.md +0 -17
- package/docs/functions/toOmrsIsoString.md +0 -23
- package/docs/functions/toVisitTypeObject.md +0 -17
- package/docs/functions/translateFrom.md +0 -55
- package/docs/functions/unregisterContext.md +0 -20
- package/docs/functions/unsetLeftNav.md +0 -23
- package/docs/functions/updateContext.md +0 -29
- package/docs/functions/updateVisit.md +0 -25
- package/docs/functions/useAbortController.md +0 -32
- package/docs/functions/useAppContext.md +0 -43
- package/docs/functions/useAssignedExtensionIds.md +0 -26
- package/docs/functions/useAssignedExtensions.md +0 -21
- package/docs/functions/useAttachments.md +0 -41
- package/docs/functions/useBodyScrollLock.md +0 -17
- package/docs/functions/useConfig.md +0 -27
- package/docs/functions/useConnectivity.md +0 -11
- package/docs/functions/useDebounce.md +0 -57
- package/docs/functions/useDefineAppContext.md +0 -70
- package/docs/functions/useEmrConfiguration.md +0 -35
- package/docs/functions/useExtensionSlotMeta.md +0 -25
- package/docs/functions/useExtensionSlotStore.md +0 -17
- package/docs/functions/useFeatureFlag.md +0 -30
- package/docs/functions/useFhirFetchAll.md +0 -44
- package/docs/functions/useFhirInfinite.md +0 -46
- package/docs/functions/useFhirPagination.md +0 -129
- package/docs/functions/useLayoutType.md +0 -11
- package/docs/functions/useLeftNav.md +0 -17
- package/docs/functions/useLeftNavStore.md +0 -11
- package/docs/functions/useLocations.md +0 -21
- package/docs/functions/useOnClickOutside.md +0 -27
- package/docs/functions/useOnVisible.md +0 -28
- package/docs/functions/useOpenmrsFetchAll.md +0 -46
- package/docs/functions/useOpenmrsInfinite.md +0 -54
- package/docs/functions/useOpenmrsPagination.md +0 -140
- package/docs/functions/useOpenmrsSWR.md +0 -71
- package/docs/functions/usePagination.md +0 -89
- package/docs/functions/usePatient.md +0 -38
- package/docs/functions/usePatientPhoto.md +0 -17
- package/docs/functions/usePrimaryIdentifierCode.md +0 -23
- package/docs/functions/useRenderableExtensions.md +0 -43
- package/docs/functions/useSession.md +0 -19
- package/docs/functions/useStore.md +0 -131
- package/docs/functions/useStoreWithActions.md +0 -33
- package/docs/functions/useVisit.md +0 -41
- package/docs/functions/useVisitContextStore.md +0 -23
- package/docs/functions/useVisitTypes.md +0 -11
- package/docs/functions/useWorkspaces.md +0 -11
- package/docs/functions/userHasAccess.md +0 -27
- package/docs/functions/validator.md +0 -44
- package/docs/interfaces/ExtensionSlotProps.md +0 -3520
- package/docs/type-aliases/ActionFunction.md +0 -27
- package/docs/type-aliases/ActionableNotificationType.md +0 -7
- package/docs/type-aliases/Actions.md +0 -13
- package/docs/type-aliases/ArgumentsTuple.md +0 -7
- package/docs/type-aliases/BoundActions.md +0 -17
- package/docs/type-aliases/ConfigValue.md +0 -7
- package/docs/type-aliases/ContextCallback.md +0 -23
- package/docs/type-aliases/CoreTranslationKey.md +0 -7
- package/docs/type-aliases/CurrentPatient.md +0 -7
- package/docs/type-aliases/DateInput.md +0 -7
- package/docs/type-aliases/DefaultEvaluateReturnType.md +0 -9
- package/docs/type-aliases/ExtensionDefinition.md +0 -69
- package/docs/type-aliases/ExtensionProps.md +0 -13
- package/docs/type-aliases/FormatDateMode.md +0 -7
- package/docs/type-aliases/FormatDateOptions.md +0 -102
- package/docs/type-aliases/IconProps.md +0 -31
- package/docs/type-aliases/InlineNotificationType.md +0 -7
- package/docs/type-aliases/Key.md +0 -7
- package/docs/type-aliases/KnownOmrsServiceWorkerMessages.md +0 -7
- package/docs/type-aliases/LayoutType.md +0 -7
- package/docs/type-aliases/LoadedSessionStore.md +0 -23
- package/docs/type-aliases/ModalDefinition.md +0 -17
- package/docs/type-aliases/NameUse.md +0 -7
- package/docs/type-aliases/NullablePatient.md +0 -7
- package/docs/type-aliases/OfflineMode.md +0 -7
- package/docs/type-aliases/OmrsOfflineCachingStrategy.md +0 -12
- package/docs/type-aliases/OmrsOfflineHttpHeaderNames.md +0 -7
- package/docs/type-aliases/OmrsOfflineHttpHeaders.md +0 -44
- package/docs/type-aliases/OpenmrsRoutes.md +0 -10
- package/docs/type-aliases/PageDefinition.md +0 -41
- package/docs/type-aliases/PageHeaderProps.md +0 -7
- package/docs/type-aliases/PatientUuid.md +0 -7
- package/docs/type-aliases/PictogramProps.md +0 -23
- package/docs/type-aliases/ProvidedConfig.md +0 -23
- package/docs/type-aliases/ResourceName.md +0 -7
- package/docs/type-aliases/SessionStore.md +0 -7
- package/docs/type-aliases/SnackbarType.md +0 -7
- package/docs/type-aliases/SpaEnvironment.md +0 -7
- package/docs/type-aliases/SvgIconProps.md +0 -23
- package/docs/type-aliases/SvgPictogramProps.md +0 -27
- package/docs/type-aliases/TemplateParams.md +0 -11
- package/docs/type-aliases/ToastType.md +0 -7
- package/docs/type-aliases/UnloadedSessionStore.md +0 -23
- package/docs/type-aliases/UpdateVisitPayload.md +0 -7
- package/docs/type-aliases/UseOpenmrsSWROptions.md +0 -39
- package/docs/type-aliases/Validator.md +0 -17
- package/docs/type-aliases/ValidatorFunction.md +0 -17
- package/docs/type-aliases/VariablesMap.md +0 -13
- package/docs/type-aliases/WorkspaceDefinition.md +0 -78
- package/docs/type-aliases/WorkspaceWindowState.md +0 -7
- package/docs/variables/ActionMenuButton.md +0 -7
- package/docs/variables/ActivityIcon.md +0 -7
- package/docs/variables/AddIcon.md +0 -7
- package/docs/variables/AllergiesIcon.md +0 -7
- package/docs/variables/AppointmentsPictogram.md +0 -7
- package/docs/variables/ArrowDownIcon.md +0 -7
- package/docs/variables/ArrowLeftIcon.md +0 -7
- package/docs/variables/ArrowRightIcon.md +0 -7
- package/docs/variables/ArrowUpIcon.md +0 -7
- package/docs/variables/AttachmentIcon.md +0 -7
- package/docs/variables/BabyIcon.md +0 -7
- package/docs/variables/CalendarHeatMapIcon.md +0 -7
- package/docs/variables/CalendarIcon.md +0 -7
- package/docs/variables/CaretDownIcon.md +0 -7
- package/docs/variables/CaretLeftIcon.md +0 -7
- package/docs/variables/CaretRightIcon.md +0 -7
- package/docs/variables/CaretUpIcon.md +0 -7
- package/docs/variables/ChartAverageIcon.md +0 -7
- package/docs/variables/CheckmarkFilledIcon.md +0 -7
- package/docs/variables/CheckmarkOutlineIcon.md +0 -7
- package/docs/variables/ChemistryIcon.md +0 -7
- package/docs/variables/ChevronDownIcon.md +0 -7
- package/docs/variables/ChevronLeftIcon.md +0 -7
- package/docs/variables/ChevronRightIcon.md +0 -7
- package/docs/variables/ChevronUpIcon.md +0 -7
- package/docs/variables/CloseFilledIcon.md +0 -7
- package/docs/variables/CloseIcon.md +0 -7
- package/docs/variables/CloseOutlineIcon.md +0 -7
- package/docs/variables/ConditionsIcon.md +0 -11
- package/docs/variables/DiagnosisTags.md +0 -11
- package/docs/variables/DocumentAttachmentIcon.md +0 -7
- package/docs/variables/DocumentIcon.md +0 -7
- package/docs/variables/DownloadIcon.md +0 -7
- package/docs/variables/DrugOrderIcon.md +0 -7
- package/docs/variables/EditIcon.md +0 -7
- package/docs/variables/ErrorState.md +0 -7
- package/docs/variables/EventScheduleIcon.md +0 -7
- package/docs/variables/EventsIcon.md +0 -7
- package/docs/variables/Extension.md +0 -15
- package/docs/variables/GenderFemaleIcon.md +0 -7
- package/docs/variables/GenderMaleIcon.md +0 -7
- package/docs/variables/GenderOtherIcon.md +0 -7
- package/docs/variables/GenderUnknownIcon.md +0 -7
- package/docs/variables/GenericOrderTypeIcon.md +0 -7
- package/docs/variables/GroupAccessIcon.md +0 -7
- package/docs/variables/GroupIcon.md +0 -7
- package/docs/variables/HomePictogram.md +0 -7
- package/docs/variables/HospitalBedIcon.md +0 -7
- package/docs/variables/Icon.md +0 -9
- package/docs/variables/ImageMedicalIcon.md +0 -7
- package/docs/variables/InPatientPictogram.md +0 -7
- package/docs/variables/InformationFilledIcon.md +0 -7
- package/docs/variables/InformationIcon.md +0 -7
- package/docs/variables/InformationSquareIcon.md +0 -7
- package/docs/variables/InventoryManagementIcon.md +0 -7
- package/docs/variables/LabOrderIcon.md +0 -7
- package/docs/variables/LaboratoryPictogram.md +0 -7
- package/docs/variables/LeftNavMenu.md +0 -13
- package/docs/variables/ListCheckedIcon.md +0 -7
- package/docs/variables/LocationIcon.md +0 -7
- package/docs/variables/LocationPicker.md +0 -7
- package/docs/variables/MaterialOrderIcon.md +0 -7
- package/docs/variables/MaximizeIcon.md +0 -7
- package/docs/variables/MaybeIcon.md +0 -16
- package/docs/variables/MaybePictogram.md +0 -16
- package/docs/variables/MedicationIcon.md +0 -7
- package/docs/variables/MessageQueueIcon.md +0 -7
- package/docs/variables/MicroscopeIcon.md +0 -7
- package/docs/variables/MoneyIcon.md +0 -9
- package/docs/variables/MotherIcon.md +0 -7
- package/docs/variables/MovementIcon.md +0 -7
- package/docs/variables/OpenmrsDatePicker.md +0 -9
- package/docs/variables/OverflowMenuHorizontalIcon.md +0 -7
- package/docs/variables/OverflowMenuVerticalIcon.md +0 -7
- package/docs/variables/PageHeader.md +0 -30
- package/docs/variables/PageHeaderContent.md +0 -21
- package/docs/variables/PasswordIcon.md +0 -7
- package/docs/variables/PatientListsPictogram.md +0 -7
- package/docs/variables/PedestrianFamilyIcon.md +0 -7
- package/docs/variables/PenIcon.md +0 -7
- package/docs/variables/PharmacyPictogram.md +0 -7
- package/docs/variables/Pictogram.md +0 -9
- package/docs/variables/PrinterIcon.md +0 -7
- package/docs/variables/ProcedureOrderIcon.md +0 -7
- package/docs/variables/ProgramsIcon.md +0 -7
- package/docs/variables/RadiologyIcon.md +0 -7
- package/docs/variables/ReferralOrderIcon.md +0 -7
- package/docs/variables/RegistrationPictogram.md +0 -7
- package/docs/variables/RenderIfValueIsTruthy.md +0 -21
- package/docs/variables/RenewIcon.md +0 -7
- package/docs/variables/ReportIcon.md +0 -7
- package/docs/variables/ResetIcon.md +0 -7
- package/docs/variables/ResponsiveWrapper.md +0 -11
- package/docs/variables/SaveIcon.md +0 -7
- package/docs/variables/SearchIcon.md +0 -7
- package/docs/variables/ServiceQueuesPictogram.md +0 -7
- package/docs/variables/ShoppingCartAddItemIcon.md +0 -11
- package/docs/variables/ShoppingCartArrowDownIcon.md +0 -9
- package/docs/variables/ShoppingCartIcon.md +0 -9
- package/docs/variables/StickyNoteAddIcon.md +0 -9
- package/docs/variables/StockManagementPictogram.md +0 -7
- package/docs/variables/SwitcherIcon.md +0 -7
- package/docs/variables/SyringeIcon.md +0 -7
- package/docs/variables/TableIcon.md +0 -7
- package/docs/variables/TableOfContentsIcon.md +0 -9
- package/docs/variables/TimeIcon.md +0 -9
- package/docs/variables/ToolsIcon.md +0 -7
- package/docs/variables/TranslateIcon.md +0 -7
- package/docs/variables/TrashCanIcon.md +0 -7
- package/docs/variables/TreeViewAltIcon.md +0 -7
- package/docs/variables/UserAvatarIcon.md +0 -9
- package/docs/variables/UserFollowIcon.md +0 -7
- package/docs/variables/UserHasAccess.md +0 -35
- package/docs/variables/UserIcon.md +0 -7
- package/docs/variables/UserXrayIcon.md +0 -11
- package/docs/variables/ViewIcon.md +0 -7
- package/docs/variables/ViewOffIcon.md +0 -7
- package/docs/variables/WarningIcon.md +0 -7
- package/docs/variables/attachmentUrl.md +0 -7
- package/docs/variables/backendDependencies.md +0 -17
- package/docs/variables/defaultVisitCustomRepresentation.md +0 -7
- package/docs/variables/fhirBaseUrl.md +0 -7
- package/docs/variables/getAsyncExtensionLifecycle.md +0 -35
- package/docs/variables/getStartedVisit.md +0 -9
- package/docs/variables/isUrl.md +0 -9
- package/docs/variables/offlineUuidPrefix.md +0 -7
- package/docs/variables/omrsOfflineCachingStrategyHttpHeaderName.md +0 -7
- package/docs/variables/omrsOfflineResponseBodyHttpHeaderName.md +0 -7
- package/docs/variables/omrsOfflineResponseStatusHttpHeaderName.md +0 -7
- package/docs/variables/restBaseUrl.md +0 -7
- package/docs/variables/sessionEndpoint.md +0 -7
- package/docs/variables/useConnectedExtensions.md +0 -25
- package/docs/variables/useExtensionStore.md +0 -55
- package/docs/variables/validators.md +0 -78
@@ -1,594 +1,701 @@
|
|
1
|
-
[
|
1
|
+
[@openmrs/esm-framework](../API.md) / OpenmrsDatePickerProps
|
2
2
|
|
3
3
|
# Interface: OpenmrsDatePickerProps
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:46](https://github.com/openmrs/openmrs-esm-core/blob/18d2874f03a33a6ab8295af0e87ac97fdd150718/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L46)
|
6
|
-
|
7
5
|
Properties for the OpenmrsDatePicker
|
8
6
|
|
9
|
-
##
|
10
|
-
|
11
|
-
- `Omit
|
7
|
+
## Hierarchy
|
8
|
+
|
9
|
+
- `Omit`<`DatePickerProps`<`CalendarDate`\>, ``"className"`` \| ``"onChange"`` \| ``"defaultValue"`` \| ``"value"``\>
|
10
|
+
|
11
|
+
↳ **`OpenmrsDatePickerProps`**
|
12
|
+
|
13
|
+
## Table of contents
|
14
|
+
|
15
|
+
### Properties
|
16
|
+
|
17
|
+
- [aria-describedby](OpenmrsDatePickerProps.md#aria-describedby)
|
18
|
+
- [aria-details](OpenmrsDatePickerProps.md#aria-details)
|
19
|
+
- [aria-label](OpenmrsDatePickerProps.md#aria-label)
|
20
|
+
- [aria-labelledby](OpenmrsDatePickerProps.md#aria-labelledby)
|
21
|
+
- [autoFocus](OpenmrsDatePickerProps.md#autofocus)
|
22
|
+
- [children](OpenmrsDatePickerProps.md#children)
|
23
|
+
- [className](OpenmrsDatePickerProps.md#classname)
|
24
|
+
- [defaultOpen](OpenmrsDatePickerProps.md#defaultopen)
|
25
|
+
- [defaultValue](OpenmrsDatePickerProps.md#defaultvalue)
|
26
|
+
- [firstDayOfWeek](OpenmrsDatePickerProps.md#firstdayofweek)
|
27
|
+
- [granularity](OpenmrsDatePickerProps.md#granularity)
|
28
|
+
- [hideTimeZone](OpenmrsDatePickerProps.md#hidetimezone)
|
29
|
+
- [hourCycle](OpenmrsDatePickerProps.md#hourcycle)
|
30
|
+
- [id](OpenmrsDatePickerProps.md#id)
|
31
|
+
- [invalid](OpenmrsDatePickerProps.md#invalid)
|
32
|
+
- [invalidText](OpenmrsDatePickerProps.md#invalidtext)
|
33
|
+
- [isDisabled](OpenmrsDatePickerProps.md#isdisabled)
|
34
|
+
- [isInvalid](OpenmrsDatePickerProps.md#isinvalid)
|
35
|
+
- [isOpen](OpenmrsDatePickerProps.md#isopen)
|
36
|
+
- [isReadOnly](OpenmrsDatePickerProps.md#isreadonly)
|
37
|
+
- [isRequired](OpenmrsDatePickerProps.md#isrequired)
|
38
|
+
- [label](OpenmrsDatePickerProps.md#label)
|
39
|
+
- [labelText](OpenmrsDatePickerProps.md#labeltext)
|
40
|
+
- [light](OpenmrsDatePickerProps.md#light)
|
41
|
+
- [maxDate](OpenmrsDatePickerProps.md#maxdate)
|
42
|
+
- [maxValue](OpenmrsDatePickerProps.md#maxvalue)
|
43
|
+
- [minDate](OpenmrsDatePickerProps.md#mindate)
|
44
|
+
- [minValue](OpenmrsDatePickerProps.md#minvalue)
|
45
|
+
- [name](OpenmrsDatePickerProps.md#name)
|
46
|
+
- [pageBehavior](OpenmrsDatePickerProps.md#pagebehavior)
|
47
|
+
- [placeholderValue](OpenmrsDatePickerProps.md#placeholdervalue)
|
48
|
+
- [short](OpenmrsDatePickerProps.md#short)
|
49
|
+
- [shouldCloseOnSelect](OpenmrsDatePickerProps.md#shouldcloseonselect)
|
50
|
+
- [shouldForceLeadingZeros](OpenmrsDatePickerProps.md#shouldforceleadingzeros)
|
51
|
+
- [size](OpenmrsDatePickerProps.md#size)
|
52
|
+
- [slot](OpenmrsDatePickerProps.md#slot)
|
53
|
+
- [style](OpenmrsDatePickerProps.md#style)
|
54
|
+
- [validationBehavior](OpenmrsDatePickerProps.md#validationbehavior)
|
55
|
+
- [value](OpenmrsDatePickerProps.md#value)
|
56
|
+
|
57
|
+
### Methods
|
58
|
+
|
59
|
+
- [isDateUnavailable](OpenmrsDatePickerProps.md#isdateunavailable)
|
60
|
+
- [onBlur](OpenmrsDatePickerProps.md#onblur)
|
61
|
+
- [onChange](OpenmrsDatePickerProps.md#onchange)
|
62
|
+
- [onChangeRaw](OpenmrsDatePickerProps.md#onchangeraw)
|
63
|
+
- [onFocus](OpenmrsDatePickerProps.md#onfocus)
|
64
|
+
- [onFocusChange](OpenmrsDatePickerProps.md#onfocuschange)
|
65
|
+
- [onKeyDown](OpenmrsDatePickerProps.md#onkeydown)
|
66
|
+
- [onKeyUp](OpenmrsDatePickerProps.md#onkeyup)
|
67
|
+
- [onOpenChange](OpenmrsDatePickerProps.md#onopenchange)
|
68
|
+
- [validate](OpenmrsDatePickerProps.md#validate)
|
12
69
|
|
13
70
|
## Properties
|
14
71
|
|
15
|
-
### aria-describedby
|
16
|
-
|
17
|
-
> `optional` **aria-describedby**: `string`
|
72
|
+
### aria-describedby
|
18
73
|
|
19
|
-
|
74
|
+
• `Optional` **aria-describedby**: `string`
|
20
75
|
|
21
76
|
Identifies the element (or elements) that describes the object.
|
22
77
|
|
23
78
|
#### Inherited from
|
24
79
|
|
25
|
-
|
80
|
+
Omit.aria-describedby
|
26
81
|
|
27
|
-
|
82
|
+
#### Defined in
|
28
83
|
|
29
|
-
|
84
|
+
node_modules/@react-types/shared/src/dom.d.ts:40
|
30
85
|
|
31
|
-
|
86
|
+
___
|
32
87
|
|
33
|
-
|
88
|
+
### aria-details
|
89
|
+
|
90
|
+
• `Optional` **aria-details**: `string`
|
34
91
|
|
35
92
|
Identifies the element (or elements) that provide a detailed, extended description for the object.
|
36
93
|
|
37
94
|
#### Inherited from
|
38
95
|
|
39
|
-
|
96
|
+
Omit.aria-details
|
97
|
+
|
98
|
+
#### Defined in
|
40
99
|
|
41
|
-
|
100
|
+
node_modules/@react-types/shared/src/dom.d.ts:45
|
42
101
|
|
43
|
-
|
102
|
+
___
|
44
103
|
|
45
|
-
|
104
|
+
### aria-label
|
46
105
|
|
47
|
-
|
106
|
+
• `Optional` **aria-label**: `string`
|
48
107
|
|
49
108
|
Defines a string value that labels the current element.
|
50
109
|
|
51
110
|
#### Inherited from
|
52
111
|
|
53
|
-
|
112
|
+
Omit.aria-label
|
113
|
+
|
114
|
+
#### Defined in
|
54
115
|
|
55
|
-
|
116
|
+
node_modules/@react-types/shared/src/dom.d.ts:30
|
56
117
|
|
57
|
-
|
118
|
+
___
|
58
119
|
|
59
|
-
|
120
|
+
### aria-labelledby
|
60
121
|
|
61
|
-
|
122
|
+
• `Optional` **aria-labelledby**: `string`
|
62
123
|
|
63
124
|
Identifies the element (or elements) that labels the current element.
|
64
125
|
|
65
126
|
#### Inherited from
|
66
127
|
|
67
|
-
|
128
|
+
Omit.aria-labelledby
|
68
129
|
|
69
|
-
|
130
|
+
#### Defined in
|
70
131
|
|
71
|
-
|
132
|
+
node_modules/@react-types/shared/src/dom.d.ts:35
|
72
133
|
|
73
|
-
|
134
|
+
___
|
74
135
|
|
75
|
-
|
136
|
+
### autoFocus
|
137
|
+
|
138
|
+
• `Optional` **autoFocus**: `boolean`
|
76
139
|
|
77
140
|
Whether the element should receive focus on render.
|
78
141
|
|
79
142
|
#### Inherited from
|
80
143
|
|
81
|
-
|
144
|
+
Omit.autoFocus
|
145
|
+
|
146
|
+
#### Defined in
|
82
147
|
|
83
|
-
|
148
|
+
node_modules/@react-types/shared/src/events.d.ts:128
|
84
149
|
|
85
|
-
|
150
|
+
___
|
86
151
|
|
87
|
-
|
152
|
+
### children
|
88
153
|
|
89
|
-
|
154
|
+
• `Optional` **children**: `ReactNode` \| (`values`: `DatePickerRenderProps` & { `defaultChildren`: `ReactNode` }) => `ReactNode`
|
90
155
|
|
91
156
|
The children of the component. A function may be provided to alter the children based on component state.
|
92
157
|
|
93
158
|
#### Inherited from
|
94
159
|
|
95
|
-
|
160
|
+
Omit.children
|
161
|
+
|
162
|
+
#### Defined in
|
96
163
|
|
97
|
-
|
164
|
+
node_modules/react-aria-components/dist/types.d.ts:53
|
98
165
|
|
99
|
-
|
166
|
+
___
|
100
167
|
|
101
|
-
|
168
|
+
### className
|
102
169
|
|
103
|
-
|
170
|
+
• `Optional` **className**: `Argument`
|
104
171
|
|
105
172
|
Any CSS classes to add to the outer div of the date picker
|
106
173
|
|
107
|
-
|
174
|
+
#### Defined in
|
108
175
|
|
109
|
-
|
176
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:50](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L50)
|
110
177
|
|
111
|
-
|
178
|
+
___
|
112
179
|
|
113
|
-
|
180
|
+
### defaultOpen
|
181
|
+
|
182
|
+
• `Optional` **defaultOpen**: `boolean`
|
114
183
|
|
115
184
|
Whether the overlay is open by default (uncontrolled).
|
116
185
|
|
117
186
|
#### Inherited from
|
118
187
|
|
119
|
-
|
188
|
+
Omit.defaultOpen
|
189
|
+
|
190
|
+
#### Defined in
|
120
191
|
|
121
|
-
|
192
|
+
node_modules/@react-types/overlays/src/index.d.ts:112
|
122
193
|
|
123
|
-
|
194
|
+
___
|
124
195
|
|
125
|
-
|
196
|
+
### defaultValue
|
126
197
|
|
127
|
-
|
198
|
+
• `Optional` **defaultValue**: `DateInputValue`
|
128
199
|
|
129
200
|
The default value (uncontrolled)
|
130
201
|
|
131
|
-
|
202
|
+
#### Defined in
|
203
|
+
|
204
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:52](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L52)
|
132
205
|
|
133
|
-
|
206
|
+
___
|
134
207
|
|
135
|
-
|
208
|
+
### firstDayOfWeek
|
136
209
|
|
137
|
-
|
210
|
+
• `Optional` **firstDayOfWeek**: ``"sun"`` \| ``"mon"`` \| ``"tue"`` \| ``"wed"`` \| ``"thu"`` \| ``"fri"`` \| ``"sat"``
|
138
211
|
|
139
212
|
The day that starts the week.
|
140
213
|
|
141
214
|
#### Inherited from
|
142
215
|
|
143
|
-
|
216
|
+
Omit.firstDayOfWeek
|
144
217
|
|
145
|
-
|
218
|
+
#### Defined in
|
146
219
|
|
147
|
-
|
220
|
+
node_modules/@react-types/datepicker/src/index.d.ts:78
|
148
221
|
|
149
|
-
|
222
|
+
___
|
150
223
|
|
151
|
-
|
224
|
+
### granularity
|
225
|
+
|
226
|
+
• `Optional` **granularity**: `Granularity`
|
152
227
|
|
153
228
|
Determines the smallest unit that is displayed in the date picker. By default, this is `"day"` for dates, and `"minute"` for times.
|
154
229
|
|
155
230
|
#### Inherited from
|
156
231
|
|
157
|
-
|
232
|
+
Omit.granularity
|
158
233
|
|
159
|
-
|
234
|
+
#### Defined in
|
160
235
|
|
161
|
-
|
236
|
+
node_modules/@react-types/datepicker/src/index.d.ts:52
|
162
237
|
|
163
|
-
|
238
|
+
___
|
164
239
|
|
165
|
-
|
240
|
+
### hideTimeZone
|
166
241
|
|
167
|
-
|
242
|
+
• `Optional` **hideTimeZone**: `boolean`
|
168
243
|
|
169
|
-
|
244
|
+
Whether to hide the time zone abbreviation.
|
170
245
|
|
171
|
-
|
172
|
-
false
|
173
|
-
```
|
246
|
+
**`default`** false
|
174
247
|
|
175
248
|
#### Inherited from
|
176
249
|
|
177
|
-
|
250
|
+
Omit.hideTimeZone
|
178
251
|
|
179
|
-
|
252
|
+
#### Defined in
|
180
253
|
|
181
|
-
|
254
|
+
node_modules/@react-types/datepicker/src/index.d.ts:57
|
182
255
|
|
183
|
-
|
256
|
+
___
|
184
257
|
|
185
|
-
|
258
|
+
### hourCycle
|
259
|
+
|
260
|
+
• `Optional` **hourCycle**: ``12`` \| ``24``
|
186
261
|
|
187
262
|
Whether to display the time in 12 or 24 hour format. By default, this is determined by the user's locale.
|
188
263
|
|
189
264
|
#### Inherited from
|
190
265
|
|
191
|
-
|
266
|
+
Omit.hourCycle
|
267
|
+
|
268
|
+
#### Defined in
|
192
269
|
|
193
|
-
|
270
|
+
node_modules/@react-types/datepicker/src/index.d.ts:50
|
194
271
|
|
195
|
-
|
272
|
+
___
|
196
273
|
|
197
|
-
|
274
|
+
### id
|
198
275
|
|
199
|
-
|
276
|
+
• `Optional` **id**: `string`
|
200
277
|
|
201
278
|
The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).
|
202
279
|
|
203
280
|
#### Inherited from
|
204
281
|
|
205
|
-
|
282
|
+
Omit.id
|
206
283
|
|
207
|
-
|
284
|
+
#### Defined in
|
208
285
|
|
209
|
-
|
286
|
+
node_modules/@react-types/shared/src/dom.d.ts:62
|
210
287
|
|
211
|
-
|
288
|
+
___
|
212
289
|
|
213
|
-
|
290
|
+
### invalid
|
214
291
|
|
215
|
-
|
292
|
+
• `Optional` **invalid**: `boolean`
|
216
293
|
|
217
|
-
|
218
|
-
|
219
|
-
### invalidText?
|
220
|
-
|
221
|
-
> `optional` **invalidText**: `string`
|
222
|
-
|
223
|
-
Defined in: [packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:56](https://github.com/openmrs/openmrs-esm-core/blob/18d2874f03a33a6ab8295af0e87ac97fdd150718/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L56)
|
224
|
-
|
225
|
-
Text to show if the input is invalid e.g. an error message
|
226
|
-
|
227
|
-
***
|
228
|
-
|
229
|
-
### isDateUnavailable()?
|
230
|
-
|
231
|
-
> `optional` **isDateUnavailable**: (`date`) => `boolean`
|
232
|
-
|
233
|
-
Defined in: node\_modules/@react-types/datepicker/src/index.d.ts:46
|
234
|
-
|
235
|
-
Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
294
|
+
Whether the input value is invalid.
|
236
295
|
|
237
|
-
####
|
296
|
+
#### Defined in
|
238
297
|
|
239
|
-
|
298
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:54](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L54)
|
240
299
|
|
241
|
-
|
300
|
+
___
|
242
301
|
|
243
|
-
|
302
|
+
### invalidText
|
244
303
|
|
245
|
-
`
|
304
|
+
• `Optional` **invalidText**: `string`
|
246
305
|
|
247
|
-
|
306
|
+
Text to show if the input is invalid e.g. an error message
|
248
307
|
|
249
|
-
|
308
|
+
#### Defined in
|
250
309
|
|
251
|
-
|
310
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:56](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L56)
|
252
311
|
|
253
|
-
|
312
|
+
___
|
254
313
|
|
255
|
-
|
314
|
+
### isDisabled
|
256
315
|
|
257
|
-
|
316
|
+
• `Optional` **isDisabled**: `boolean`
|
258
317
|
|
259
318
|
Whether the input is disabled.
|
260
319
|
|
261
320
|
#### Inherited from
|
262
321
|
|
263
|
-
|
322
|
+
Omit.isDisabled
|
323
|
+
|
324
|
+
#### Defined in
|
264
325
|
|
265
|
-
|
326
|
+
node_modules/@react-types/shared/src/inputs.d.ts:60
|
266
327
|
|
267
|
-
|
328
|
+
___
|
268
329
|
|
269
|
-
|
330
|
+
### isInvalid
|
270
331
|
|
271
|
-
|
332
|
+
• `Optional` **isInvalid**: `boolean`
|
272
333
|
|
273
334
|
Whether the input value is invalid.
|
274
335
|
|
275
336
|
#### Inherited from
|
276
337
|
|
277
|
-
|
338
|
+
Omit.isInvalid
|
339
|
+
|
340
|
+
#### Defined in
|
278
341
|
|
279
|
-
|
342
|
+
node_modules/@react-types/shared/src/inputs.d.ts:25
|
280
343
|
|
281
|
-
|
344
|
+
___
|
282
345
|
|
283
|
-
|
346
|
+
### isOpen
|
284
347
|
|
285
|
-
|
348
|
+
• `Optional` **isOpen**: `boolean`
|
286
349
|
|
287
350
|
Whether the overlay is open by default (controlled).
|
288
351
|
|
289
352
|
#### Inherited from
|
290
353
|
|
291
|
-
|
354
|
+
Omit.isOpen
|
292
355
|
|
293
|
-
|
356
|
+
#### Defined in
|
294
357
|
|
295
|
-
|
358
|
+
node_modules/@react-types/overlays/src/index.d.ts:110
|
296
359
|
|
297
|
-
|
360
|
+
___
|
298
361
|
|
299
|
-
|
362
|
+
### isReadOnly
|
363
|
+
|
364
|
+
• `Optional` **isReadOnly**: `boolean`
|
300
365
|
|
301
366
|
Whether the input can be selected but not changed by the user.
|
302
367
|
|
303
368
|
#### Inherited from
|
304
369
|
|
305
|
-
|
370
|
+
Omit.isReadOnly
|
371
|
+
|
372
|
+
#### Defined in
|
306
373
|
|
307
|
-
|
374
|
+
node_modules/@react-types/shared/src/inputs.d.ts:62
|
308
375
|
|
309
|
-
|
376
|
+
___
|
310
377
|
|
311
|
-
|
378
|
+
### isRequired
|
312
379
|
|
313
|
-
|
380
|
+
• `Optional` **isRequired**: `boolean`
|
314
381
|
|
315
382
|
Whether user input is required on the input before form submission.
|
316
383
|
|
317
384
|
#### Inherited from
|
318
385
|
|
319
|
-
|
386
|
+
Omit.isRequired
|
387
|
+
|
388
|
+
#### Defined in
|
320
389
|
|
321
|
-
|
390
|
+
node_modules/@react-types/shared/src/inputs.d.ts:23
|
322
391
|
|
323
|
-
|
392
|
+
___
|
324
393
|
|
325
|
-
|
394
|
+
### label
|
326
395
|
|
327
|
-
|
396
|
+
• `Optional` **label**: `string` \| `ReactElement`<`any`, `string` \| `JSXElementConstructor`<`any`\>\>
|
328
397
|
|
329
398
|
The label for this DatePicker element
|
330
399
|
|
331
|
-
|
400
|
+
**`deprecated`** Use labelText instead
|
332
401
|
|
333
|
-
|
402
|
+
#### Defined in
|
334
403
|
|
335
|
-
|
404
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L61)
|
336
405
|
|
337
|
-
|
406
|
+
___
|
338
407
|
|
339
|
-
|
408
|
+
### labelText
|
340
409
|
|
341
|
-
|
410
|
+
• `Optional` **labelText**: `string` \| `ReactElement`<`any`, `string` \| `JSXElementConstructor`<`any`\>\>
|
342
411
|
|
343
412
|
The label for this DatePicker element.
|
344
413
|
|
345
|
-
|
414
|
+
#### Defined in
|
346
415
|
|
347
|
-
|
416
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:63](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L63)
|
348
417
|
|
349
|
-
|
418
|
+
___
|
350
419
|
|
351
|
-
|
420
|
+
### light
|
421
|
+
|
422
|
+
• `Optional` **light**: `boolean`
|
352
423
|
|
353
424
|
'true' to use the light version.
|
354
425
|
|
355
|
-
|
426
|
+
#### Defined in
|
427
|
+
|
428
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:65](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L65)
|
356
429
|
|
357
|
-
|
430
|
+
___
|
358
431
|
|
359
|
-
|
432
|
+
### maxDate
|
360
433
|
|
361
|
-
|
434
|
+
• `Optional` **maxDate**: `DateInputValue`
|
362
435
|
|
363
436
|
The latest date it is possible to select
|
364
437
|
|
365
|
-
|
438
|
+
#### Defined in
|
439
|
+
|
440
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:67](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L67)
|
366
441
|
|
367
|
-
|
442
|
+
___
|
368
443
|
|
369
|
-
|
444
|
+
### maxValue
|
370
445
|
|
371
|
-
|
446
|
+
• `Optional` **maxValue**: ``null`` \| `DateValue`
|
372
447
|
|
373
448
|
The maximum allowed date that a user may select.
|
374
449
|
|
375
450
|
#### Inherited from
|
376
451
|
|
377
|
-
|
452
|
+
Omit.maxValue
|
378
453
|
|
379
|
-
|
454
|
+
#### Defined in
|
380
455
|
|
381
|
-
|
456
|
+
node_modules/@react-types/datepicker/src/index.d.ts:44
|
382
457
|
|
383
|
-
|
458
|
+
___
|
384
459
|
|
385
|
-
|
460
|
+
### minDate
|
461
|
+
|
462
|
+
• `Optional` **minDate**: `DateInputValue`
|
386
463
|
|
387
464
|
The earliest date it is possible to select
|
388
465
|
|
389
|
-
|
466
|
+
#### Defined in
|
467
|
+
|
468
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:69](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L69)
|
390
469
|
|
391
|
-
|
470
|
+
___
|
392
471
|
|
393
|
-
|
472
|
+
### minValue
|
394
473
|
|
395
|
-
|
474
|
+
• `Optional` **minValue**: ``null`` \| `DateValue`
|
396
475
|
|
397
476
|
The minimum allowed date that a user may select.
|
398
477
|
|
399
478
|
#### Inherited from
|
400
479
|
|
401
|
-
|
480
|
+
Omit.minValue
|
402
481
|
|
403
|
-
|
482
|
+
#### Defined in
|
404
483
|
|
405
|
-
|
484
|
+
node_modules/@react-types/datepicker/src/index.d.ts:42
|
406
485
|
|
407
|
-
|
486
|
+
___
|
408
487
|
|
409
|
-
|
488
|
+
### name
|
489
|
+
|
490
|
+
• `Optional` **name**: `string`
|
410
491
|
|
411
492
|
The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
|
412
493
|
|
413
494
|
#### Inherited from
|
414
495
|
|
415
|
-
|
496
|
+
Omit.name
|
416
497
|
|
417
|
-
|
498
|
+
#### Defined in
|
418
499
|
|
419
|
-
|
500
|
+
node_modules/@react-types/shared/src/dom.d.ts:130
|
420
501
|
|
421
|
-
|
502
|
+
___
|
422
503
|
|
423
|
-
|
504
|
+
### pageBehavior
|
424
505
|
|
425
|
-
|
506
|
+
• `Optional` **pageBehavior**: `PageBehavior`
|
426
507
|
|
427
|
-
|
508
|
+
Controls the behavior of paging. Pagination either works by advancing the visible page by visibleDuration (default) or one unit of visibleDuration.
|
428
509
|
|
429
|
-
|
510
|
+
**`default`** visible
|
430
511
|
|
431
|
-
|
512
|
+
#### Inherited from
|
432
513
|
|
433
|
-
|
514
|
+
Omit.pageBehavior
|
434
515
|
|
435
|
-
|
516
|
+
#### Defined in
|
517
|
+
|
518
|
+
node_modules/@react-types/datepicker/src/index.d.ts:74
|
519
|
+
|
520
|
+
___
|
521
|
+
|
522
|
+
### placeholderValue
|
523
|
+
|
524
|
+
• `Optional` **placeholderValue**: ``null`` \| `CalendarDate`
|
525
|
+
|
526
|
+
A placeholder date that influences the format of the placeholder shown when no value is selected. Defaults to today's date at midnight.
|
436
527
|
|
437
528
|
#### Inherited from
|
438
529
|
|
439
|
-
|
530
|
+
Omit.placeholderValue
|
440
531
|
|
441
|
-
|
532
|
+
#### Defined in
|
442
533
|
|
443
|
-
|
534
|
+
node_modules/@react-types/datepicker/src/index.d.ts:48
|
444
535
|
|
445
|
-
|
536
|
+
___
|
446
537
|
|
447
|
-
|
538
|
+
### short
|
448
539
|
|
449
|
-
|
540
|
+
• `Optional` **short**: `boolean`
|
450
541
|
|
451
|
-
|
542
|
+
'true' to use the short version.
|
452
543
|
|
453
|
-
|
544
|
+
#### Defined in
|
454
545
|
|
455
|
-
|
546
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:77](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L77)
|
456
547
|
|
457
|
-
|
548
|
+
___
|
458
549
|
|
459
|
-
|
550
|
+
### shouldCloseOnSelect
|
460
551
|
|
461
|
-
|
552
|
+
• `Optional` **shouldCloseOnSelect**: `boolean` \| () => `boolean`
|
462
553
|
|
463
|
-
|
554
|
+
Determines whether the date picker popover should close automatically when a date is selected.
|
464
555
|
|
465
|
-
|
556
|
+
**`default`** true
|
466
557
|
|
467
|
-
|
558
|
+
#### Inherited from
|
468
559
|
|
469
|
-
|
560
|
+
Omit.shouldCloseOnSelect
|
470
561
|
|
471
|
-
####
|
562
|
+
#### Defined in
|
472
563
|
|
473
|
-
|
564
|
+
node_modules/@react-stately/datepicker/dist/types.d.ts:21
|
474
565
|
|
475
|
-
|
566
|
+
___
|
476
567
|
|
477
|
-
|
568
|
+
### shouldForceLeadingZeros
|
478
569
|
|
479
|
-
`
|
570
|
+
• `Optional` **shouldForceLeadingZeros**: `boolean`
|
480
571
|
|
481
|
-
|
572
|
+
Whether to always show leading zeros in the month, day, and hour fields.
|
573
|
+
By default, this is determined by the user's locale.
|
482
574
|
|
483
|
-
|
575
|
+
#### Inherited from
|
484
576
|
|
485
|
-
|
577
|
+
Omit.shouldForceLeadingZeros
|
486
578
|
|
487
|
-
Defined in
|
579
|
+
#### Defined in
|
488
580
|
|
489
|
-
|
581
|
+
node_modules/@react-types/datepicker/src/index.d.ts:62
|
490
582
|
|
491
|
-
|
583
|
+
___
|
492
584
|
|
493
|
-
|
585
|
+
### size
|
494
586
|
|
495
|
-
`
|
587
|
+
• `Optional` **size**: ``"sm"`` \| ``"md"`` \| ``"lg"``
|
496
588
|
|
497
|
-
|
589
|
+
Specifies the size of the input. Currently supports either `sm`, `md`, or `lg` as an option
|
498
590
|
|
499
|
-
|
591
|
+
#### Defined in
|
500
592
|
|
501
|
-
|
593
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:75](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L75)
|
594
|
+
|
595
|
+
___
|
502
596
|
|
503
|
-
|
597
|
+
### slot
|
504
598
|
|
505
|
-
|
599
|
+
• `Optional` **slot**: ``null`` \| `string`
|
506
600
|
|
507
|
-
|
601
|
+
A slot name for the component. Slots allow the component to receive props from a parent component.
|
602
|
+
An explicit `null` value indicates that the local props completely override all props received from a parent.
|
508
603
|
|
509
|
-
|
604
|
+
#### Inherited from
|
510
605
|
|
511
|
-
|
606
|
+
Omit.slot
|
512
607
|
|
513
|
-
|
608
|
+
#### Defined in
|
514
609
|
|
515
|
-
|
610
|
+
node_modules/react-aria-components/dist/types.d.ts:70
|
516
611
|
|
517
|
-
|
612
|
+
___
|
518
613
|
|
519
|
-
|
614
|
+
### style
|
520
615
|
|
521
|
-
|
616
|
+
• `Optional` **style**: `CSSProperties` \| (`values`: `DatePickerRenderProps` & { `defaultStyle`: `CSSProperties` }) => `undefined` \| `CSSProperties`
|
522
617
|
|
523
|
-
|
618
|
+
The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.
|
524
619
|
|
525
620
|
#### Inherited from
|
526
621
|
|
527
|
-
|
622
|
+
Omit.style
|
528
623
|
|
529
|
-
|
624
|
+
#### Defined in
|
530
625
|
|
531
|
-
|
626
|
+
node_modules/react-aria-components/dist/types.d.ts:47
|
532
627
|
|
533
|
-
|
628
|
+
___
|
534
629
|
|
535
|
-
|
630
|
+
### validationBehavior
|
536
631
|
|
537
|
-
|
632
|
+
• `Optional` **validationBehavior**: ``"aria"`` \| ``"native"``
|
538
633
|
|
539
|
-
|
634
|
+
Whether to use native HTML form validation to prevent form submission
|
635
|
+
when the value is missing or invalid, or mark the field as required
|
636
|
+
or invalid via ARIA.
|
540
637
|
|
541
|
-
|
638
|
+
**`default`** 'native'
|
542
639
|
|
543
|
-
|
640
|
+
#### Inherited from
|
544
641
|
|
545
|
-
|
642
|
+
Omit.validationBehavior
|
546
643
|
|
547
|
-
|
644
|
+
#### Defined in
|
548
645
|
|
549
|
-
|
646
|
+
node_modules/react-aria-components/dist/types.d.ts:81
|
550
647
|
|
551
|
-
|
648
|
+
___
|
552
649
|
|
553
|
-
|
650
|
+
### value
|
554
651
|
|
555
|
-
|
652
|
+
• `Optional` **value**: `DateInputValue`
|
556
653
|
|
557
|
-
|
654
|
+
The value (controlled)
|
558
655
|
|
559
|
-
Defined in
|
656
|
+
#### Defined in
|
560
657
|
|
561
|
-
|
658
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:79](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L79)
|
562
659
|
|
563
|
-
|
660
|
+
## Methods
|
661
|
+
|
662
|
+
### isDateUnavailable
|
564
663
|
|
565
|
-
|
664
|
+
▸ `Optional` **isDateUnavailable**(`date`): `boolean`
|
566
665
|
|
567
|
-
|
666
|
+
Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
667
|
+
|
668
|
+
#### Parameters
|
669
|
+
|
670
|
+
| Name | Type |
|
671
|
+
| :------ | :------ |
|
672
|
+
| `date` | `DateValue` |
|
568
673
|
|
569
674
|
#### Returns
|
570
675
|
|
571
|
-
`
|
676
|
+
`boolean`
|
572
677
|
|
573
678
|
#### Inherited from
|
574
679
|
|
575
|
-
|
680
|
+
Omit.isDateUnavailable
|
576
681
|
|
577
|
-
|
682
|
+
#### Defined in
|
578
683
|
|
579
|
-
|
684
|
+
node_modules/@react-types/datepicker/src/index.d.ts:46
|
580
685
|
|
581
|
-
|
686
|
+
___
|
582
687
|
|
583
|
-
|
688
|
+
### onBlur
|
584
689
|
|
585
|
-
|
690
|
+
▸ `Optional` **onBlur**(`e`): `void`
|
691
|
+
|
692
|
+
Handler that is called when the element loses focus.
|
586
693
|
|
587
694
|
#### Parameters
|
588
695
|
|
589
|
-
|
590
|
-
|
591
|
-
`
|
696
|
+
| Name | Type |
|
697
|
+
| :------ | :------ |
|
698
|
+
| `e` | `FocusEvent`<`Target`, `Element`\> |
|
592
699
|
|
593
700
|
#### Returns
|
594
701
|
|
@@ -596,181 +703,211 @@ Handler that is called when the overlay's open state changes.
|
|
596
703
|
|
597
704
|
#### Inherited from
|
598
705
|
|
599
|
-
|
706
|
+
Omit.onBlur
|
600
707
|
|
601
|
-
|
708
|
+
#### Defined in
|
602
709
|
|
603
|
-
|
710
|
+
node_modules/@react-types/shared/src/events.d.ts:87
|
604
711
|
|
605
|
-
|
712
|
+
___
|
606
713
|
|
607
|
-
|
714
|
+
### onChange
|
608
715
|
|
609
|
-
|
716
|
+
▸ `Optional` **onChange**(`value`): `void`
|
610
717
|
|
611
|
-
|
718
|
+
Handler that is called when the value changes.
|
612
719
|
|
613
|
-
|
614
|
-
visible
|
615
|
-
```
|
720
|
+
#### Parameters
|
616
721
|
|
617
|
-
|
722
|
+
| Name | Type |
|
723
|
+
| :------ | :------ |
|
724
|
+
| `value` | `undefined` \| ``null`` \| `Date` |
|
618
725
|
|
619
|
-
|
726
|
+
#### Returns
|
620
727
|
|
621
|
-
|
728
|
+
`void`
|
622
729
|
|
623
|
-
|
730
|
+
#### Defined in
|
624
731
|
|
625
|
-
|
732
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:71](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L71)
|
626
733
|
|
627
|
-
|
734
|
+
___
|
628
735
|
|
629
|
-
|
736
|
+
### onChangeRaw
|
630
737
|
|
631
|
-
|
738
|
+
▸ `Optional` **onChangeRaw**(`value`): `void`
|
739
|
+
|
740
|
+
Handler that is called when the value changes. Note that this provides types from @internationalized/date.
|
741
|
+
|
742
|
+
#### Parameters
|
632
743
|
|
633
|
-
|
744
|
+
| Name | Type |
|
745
|
+
| :------ | :------ |
|
746
|
+
| `value` | ``null`` \| `DateValue` |
|
634
747
|
|
635
|
-
|
748
|
+
#### Returns
|
636
749
|
|
637
|
-
|
750
|
+
`void`
|
638
751
|
|
639
|
-
|
752
|
+
#### Defined in
|
640
753
|
|
641
|
-
|
754
|
+
[packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx:73](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/datepicker/OpenmrsDatePicker.tsx#L73)
|
642
755
|
|
643
|
-
|
756
|
+
___
|
644
757
|
|
645
|
-
|
758
|
+
### onFocus
|
646
759
|
|
647
|
-
|
760
|
+
▸ `Optional` **onFocus**(`e`): `void`
|
648
761
|
|
649
|
-
|
762
|
+
Handler that is called when the element receives focus.
|
650
763
|
|
651
|
-
|
764
|
+
#### Parameters
|
652
765
|
|
653
|
-
|
766
|
+
| Name | Type |
|
767
|
+
| :------ | :------ |
|
768
|
+
| `e` | `FocusEvent`<`Target`, `Element`\> |
|
654
769
|
|
655
|
-
####
|
770
|
+
#### Returns
|
656
771
|
|
657
|
-
|
658
|
-
true
|
659
|
-
```
|
772
|
+
`void`
|
660
773
|
|
661
774
|
#### Inherited from
|
662
775
|
|
663
|
-
|
776
|
+
Omit.onFocus
|
664
777
|
|
665
|
-
|
778
|
+
#### Defined in
|
666
779
|
|
667
|
-
|
780
|
+
node_modules/@react-types/shared/src/events.d.ts:85
|
668
781
|
|
669
|
-
|
782
|
+
___
|
670
783
|
|
671
|
-
|
784
|
+
### onFocusChange
|
672
785
|
|
673
|
-
|
674
|
-
|
786
|
+
▸ `Optional` **onFocusChange**(`isFocused`): `void`
|
787
|
+
|
788
|
+
Handler that is called when the element's focus status changes.
|
789
|
+
|
790
|
+
#### Parameters
|
791
|
+
|
792
|
+
| Name | Type |
|
793
|
+
| :------ | :------ |
|
794
|
+
| `isFocused` | `boolean` |
|
795
|
+
|
796
|
+
#### Returns
|
797
|
+
|
798
|
+
`void`
|
675
799
|
|
676
800
|
#### Inherited from
|
677
801
|
|
678
|
-
|
802
|
+
Omit.onFocusChange
|
679
803
|
|
680
|
-
|
804
|
+
#### Defined in
|
681
805
|
|
682
|
-
|
806
|
+
node_modules/@react-types/shared/src/events.d.ts:89
|
683
807
|
|
684
|
-
|
808
|
+
___
|
685
809
|
|
686
|
-
|
810
|
+
### onKeyDown
|
687
811
|
|
688
|
-
|
812
|
+
▸ `Optional` **onKeyDown**(`e`): `void`
|
689
813
|
|
690
|
-
|
814
|
+
Handler that is called when a key is pressed.
|
691
815
|
|
692
|
-
|
816
|
+
#### Parameters
|
693
817
|
|
694
|
-
|
818
|
+
| Name | Type |
|
819
|
+
| :------ | :------ |
|
820
|
+
| `e` | `KeyboardEvent` |
|
695
821
|
|
696
|
-
|
822
|
+
#### Returns
|
697
823
|
|
698
|
-
|
699
|
-
An explicit `null` value indicates that the local props completely override all props received from a parent.
|
824
|
+
`void`
|
700
825
|
|
701
826
|
#### Inherited from
|
702
827
|
|
703
|
-
|
828
|
+
Omit.onKeyDown
|
704
829
|
|
705
|
-
|
830
|
+
#### Defined in
|
706
831
|
|
707
|
-
|
832
|
+
node_modules/@react-types/shared/src/events.d.ts:78
|
708
833
|
|
709
|
-
|
834
|
+
___
|
710
835
|
|
711
|
-
|
836
|
+
### onKeyUp
|
712
837
|
|
713
|
-
|
838
|
+
▸ `Optional` **onKeyUp**(`e`): `void`
|
839
|
+
|
840
|
+
Handler that is called when a key is released.
|
841
|
+
|
842
|
+
#### Parameters
|
843
|
+
|
844
|
+
| Name | Type |
|
845
|
+
| :------ | :------ |
|
846
|
+
| `e` | `KeyboardEvent` |
|
847
|
+
|
848
|
+
#### Returns
|
849
|
+
|
850
|
+
`void`
|
714
851
|
|
715
852
|
#### Inherited from
|
716
853
|
|
717
|
-
|
854
|
+
Omit.onKeyUp
|
718
855
|
|
719
|
-
|
856
|
+
#### Defined in
|
720
857
|
|
721
|
-
|
858
|
+
node_modules/@react-types/shared/src/events.d.ts:80
|
722
859
|
|
723
|
-
|
860
|
+
___
|
724
861
|
|
725
|
-
|
862
|
+
### onOpenChange
|
726
863
|
|
727
|
-
|
728
|
-
Validation errors are displayed to the user when the form is submitted
|
729
|
-
if `validationBehavior="native"`. For realtime validation, use the `isInvalid`
|
730
|
-
prop instead.
|
864
|
+
▸ `Optional` **onOpenChange**(`isOpen`): `void`
|
731
865
|
|
732
|
-
|
866
|
+
Handler that is called when the overlay's open state changes.
|
733
867
|
|
734
|
-
|
868
|
+
#### Parameters
|
735
869
|
|
736
|
-
|
870
|
+
| Name | Type |
|
871
|
+
| :------ | :------ |
|
872
|
+
| `isOpen` | `boolean` |
|
737
873
|
|
738
874
|
#### Returns
|
739
875
|
|
740
|
-
`
|
876
|
+
`void`
|
741
877
|
|
742
878
|
#### Inherited from
|
743
879
|
|
744
|
-
|
880
|
+
Omit.onOpenChange
|
745
881
|
|
746
|
-
|
882
|
+
#### Defined in
|
747
883
|
|
748
|
-
|
884
|
+
node_modules/@react-types/overlays/src/index.d.ts:114
|
749
885
|
|
750
|
-
|
886
|
+
___
|
751
887
|
|
752
|
-
|
888
|
+
### validate
|
753
889
|
|
754
|
-
|
755
|
-
when the value is missing or invalid, or mark the field as required
|
756
|
-
or invalid via ARIA.
|
890
|
+
▸ `Optional` **validate**(`value`): `undefined` \| ``null`` \| ``true`` \| `ValidationError`
|
757
891
|
|
758
|
-
|
892
|
+
A function that returns an error message if a given value is invalid.
|
893
|
+
Validation errors are displayed to the user when the form is submitted
|
894
|
+
if `validationBehavior="native"`. For realtime validation, use the `isInvalid`
|
895
|
+
prop instead.
|
759
896
|
|
760
|
-
|
761
|
-
'native'
|
762
|
-
```
|
897
|
+
#### Parameters
|
763
898
|
|
764
|
-
|
899
|
+
| Name | Type |
|
900
|
+
| :------ | :------ |
|
901
|
+
| `value` | `T` |
|
765
902
|
|
766
|
-
|
903
|
+
#### Returns
|
767
904
|
|
768
|
-
|
905
|
+
`undefined` \| ``null`` \| ``true`` \| `ValidationError`
|
769
906
|
|
770
|
-
|
907
|
+
#### Inherited from
|
771
908
|
|
772
|
-
|
909
|
+
Omit.validate
|
773
910
|
|
774
|
-
Defined in
|
911
|
+
#### Defined in
|
775
912
|
|
776
|
-
|
913
|
+
node_modules/@react-types/shared/src/inputs.d.ts:41
|