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