@careevolution/mydatahelps-ui 2.10.0 → 2.10.1-InboxAndAsthmaUI.0

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 (292) hide show
  1. package/dist/cjs/index.js +140 -16
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
  4. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  5. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
  6. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  7. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  8. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
  9. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  10. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  11. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  12. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  13. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  14. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
  15. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  16. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  17. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  18. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
  19. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  20. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  21. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  22. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
  23. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  24. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
  25. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
  26. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
  27. package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
  28. package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
  29. package/dist/cjs/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
  30. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
  31. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  32. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
  33. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  34. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  35. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  36. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
  37. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  38. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
  39. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
  40. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
  41. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  42. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  43. package/dist/cjs/types/components/asthma/components/index.d.ts +12 -0
  44. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +15 -0
  45. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
  46. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  47. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  48. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  49. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  50. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  51. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  52. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  53. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  54. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  55. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  56. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  57. package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
  58. package/dist/cjs/types/components/asthma/index.d.ts +4 -0
  59. package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
  60. package/dist/cjs/types/components/asthma/model/types.d.ts +49 -0
  61. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  62. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
  63. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  64. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  65. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
  66. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  67. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  68. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
  69. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  70. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
  71. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
  72. package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  73. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  74. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
  75. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  76. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  77. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  78. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
  79. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  80. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  81. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
  82. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  83. package/dist/cjs/types/components/asthma/views/index.d.ts +7 -0
  84. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
  85. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  86. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  87. package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  88. package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
  89. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
  90. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
  91. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
  92. package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
  93. package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
  94. package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
  95. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
  96. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  97. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  98. package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
  99. package/dist/cjs/types/components/container/index.d.ts +4 -0
  100. package/dist/cjs/types/components/index.d.ts +3 -2
  101. package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  102. package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  103. package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  104. package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  105. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  106. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  107. package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  108. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  109. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  110. package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  111. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  112. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  113. package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  114. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  115. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  116. package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  117. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  118. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  119. package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  120. package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
  121. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  122. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  123. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  124. package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
  125. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  126. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  127. package/dist/cjs/types/components/presentational/index.d.ts +7 -0
  128. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  129. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  130. package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
  131. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  132. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  133. package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
  134. package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
  135. package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  136. package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
  137. package/dist/cjs/types/components/view/index.d.ts +3 -0
  138. package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
  139. package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  140. package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  141. package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
  142. package/dist/cjs/types/helpers/functions.d.ts +1 -0
  143. package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
  144. package/dist/cjs/types/helpers/query-daily-data.d.ts +2 -0
  145. package/dist/cjs/types/index.d.ts +3 -0
  146. package/dist/esm/index.js +140 -16
  147. package/dist/esm/index.js.map +1 -1
  148. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
  149. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  150. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
  151. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  152. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  153. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
  154. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  155. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  156. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  157. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  158. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  159. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
  160. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  161. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  162. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  163. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
  164. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  165. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  166. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  167. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
  168. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  169. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
  170. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
  171. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
  172. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
  173. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
  174. package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
  175. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
  176. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  177. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
  178. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  179. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  180. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  181. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
  182. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  183. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
  184. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
  185. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
  186. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  187. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  188. package/dist/esm/types/components/asthma/components/index.d.ts +12 -0
  189. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
  190. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
  191. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  192. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  193. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  194. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  195. package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  196. package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  197. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  198. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  199. package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  200. package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  201. package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  202. package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
  203. package/dist/esm/types/components/asthma/index.d.ts +4 -0
  204. package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
  205. package/dist/esm/types/components/asthma/model/types.d.ts +49 -0
  206. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  207. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
  208. package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  209. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  210. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
  211. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  212. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  213. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
  214. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  215. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
  216. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
  217. package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  218. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  219. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
  220. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  221. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  222. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  223. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
  224. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  225. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  226. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
  227. package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  228. package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
  229. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
  230. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  231. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  232. package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  233. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
  234. package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
  235. package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
  236. package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
  237. package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
  238. package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
  239. package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
  240. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
  241. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  242. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  243. package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
  244. package/dist/esm/types/components/container/index.d.ts +4 -0
  245. package/dist/esm/types/components/index.d.ts +3 -2
  246. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  247. package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  248. package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  249. package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  250. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  251. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  252. package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  253. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  254. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  255. package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  256. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  257. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  258. package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  259. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  260. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  261. package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  262. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  263. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  264. package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  265. package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
  266. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  267. package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  268. package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  269. package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
  270. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  271. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  272. package/dist/esm/types/components/presentational/index.d.ts +7 -0
  273. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  274. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  275. package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
  276. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  277. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  278. package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
  279. package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
  280. package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  281. package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
  282. package/dist/esm/types/components/view/index.d.ts +3 -0
  283. package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
  284. package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  285. package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  286. package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
  287. package/dist/esm/types/helpers/functions.d.ts +1 -0
  288. package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
  289. package/dist/esm/types/helpers/query-daily-data.d.ts +2 -0
  290. package/dist/esm/types/index.d.ts +3 -0
  291. package/dist/index.d.ts +963 -528
  292. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,14 +1,701 @@
1
- import React, { ReactElement, CSSProperties, MouseEventHandler, ReactNode } from 'react';
1
+ import React, { ReactElement, CSSProperties, MouseEventHandler, ReactNode, DependencyList } from 'react';
2
+ import { ParticipantInfo, SurveyAnswer, ExternalAccountStatus, DeviceDataNamespace, ExternalAccount, NotificationType, ExternalAccountProvider, SurveyTaskStatus, StatusBarStyle, Notification, SurveyTask, InboxMessage, InboxResource, InboxMessageResource, InboxSurvey, InboxItemType, InboxItemStatus, SortOrder, InboxItemSortColumn, InboxItem, EventName } from '@careevolution/mydatahelps-js';
3
+ import { AxisDomain } from 'recharts/types/util/types';
2
4
  import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
- import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus, ParticipantInfo } from '@careevolution/mydatahelps-js';
4
5
  import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
5
6
 
7
+ declare class AsthmaParticipant {
8
+ participantInfo: ParticipantInfo;
9
+ constructor(participantInfo: ParticipantInfo);
10
+ getFirstName(): string;
11
+ hasPairedDevice(): boolean;
12
+ hasEstablishedBaseline(): boolean;
13
+ hasRequestedWithdrawal(): boolean;
14
+ private hasEstablishedBaselineByType;
15
+ private getCustomFieldValue;
16
+ }
17
+ interface AsthmaControlMetrics {
18
+ date: string;
19
+ nighttimeAwakeningDaysPast7: number;
20
+ limitedActivityDaysPast7: number;
21
+ inhalerUseDaysPast7: number;
22
+ symptomDaysPast7: number;
23
+ loggedDaysPast7: number;
24
+ }
25
+ type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
26
+ interface AsthmaControlState {
27
+ status: AsthmaControlStatus;
28
+ symptomDaysPast7?: number;
29
+ nighttimeAwakeningDaysPast7?: number;
30
+ limitedActivityDaysPast7?: number;
31
+ inhalerUseDaysPast7?: number;
32
+ }
33
+ type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
34
+ type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
35
+ interface AsthmaBiometric {
36
+ type: AsthmaBiometricType;
37
+ status: AsthmaDataStatus;
38
+ value?: number;
39
+ }
40
+ type AsthmaAirQualityType = 'work' | 'home';
41
+ interface AsthmaAirQuality {
42
+ type: AsthmaAirQualityType;
43
+ status: AsthmaDataStatus;
44
+ value?: number;
45
+ description?: string;
46
+ }
47
+ type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
48
+ interface AsthmaLogEntry {
49
+ identifier: string;
50
+ symptomLevel: AsthmaSymptomLevel;
51
+ symptoms: string[];
52
+ impacts: string[];
53
+ triggers: string[];
54
+ }
55
+
56
+ type AsthmaAirQualitiesPreviewState = 'no-data' | 'some-data' | 'all-data';
57
+
58
+ interface AsthmaAirQualitiesProps {
59
+ previewState?: AsthmaAirQualitiesPreviewState;
60
+ airQualityUrl: string;
61
+ date?: Date;
62
+ innerRef?: React.Ref<HTMLDivElement>;
63
+ }
64
+ declare function export_default$29(props: AsthmaAirQualitiesProps): React.JSX.Element;
65
+
66
+ interface AsthmaAlertTakeoverNoticeProps {
67
+ previewState?: 'default' | 'loading';
68
+ message: string;
69
+ logEntrySurveyName: string;
70
+ innerRef?: React.Ref<HTMLDivElement>;
71
+ }
72
+ declare function export_default$28(props: AsthmaAlertTakeoverNoticeProps): React.JSX.Element;
73
+
74
+ interface AsthmaAlertTakeoverTriggerProps {
75
+ previewState?: boolean;
76
+ heartAndLungsUrl: string;
77
+ activityUrl: string;
78
+ sleepUrl: string;
79
+ airQualityUrl: string;
80
+ alertTakeoverUrl: string;
81
+ innerRef?: React.Ref<HTMLDivElement>;
82
+ }
83
+ declare function export_default$27(props: AsthmaAlertTakeoverTriggerProps): null;
84
+
85
+ type AsthmaBiometricsPreviewState = 'no-data' | 'some-data' | 'all-data';
86
+
87
+ interface AsthmaBiometricsProps {
88
+ previewState?: AsthmaBiometricsPreviewState;
89
+ heartAndLungsUrl: string;
90
+ activityUrl: string;
91
+ sleepUrl: string;
92
+ date?: Date;
93
+ innerRef?: React.Ref<HTMLDivElement>;
94
+ }
95
+ declare function export_default$26(props: AsthmaBiometricsProps): React.JSX.Element;
96
+
97
+ type AsthmaControlCalendarPreviewState = 'no-logs' | 'some-logs';
98
+
99
+ type AsthmaControlCalendarVariant = 'compact' | 'verbose';
100
+ interface AsthmaControlCalendarProps {
101
+ previewState?: AsthmaControlCalendarPreviewState;
102
+ dayViewUrl: string;
103
+ intervalStart?: Date;
104
+ variant?: AsthmaControlCalendarVariant;
105
+ innerRef?: React.Ref<HTMLDivElement>;
106
+ }
107
+ declare function export_default$25(props: AsthmaControlCalendarProps): React.JSX.Element;
108
+
109
+ type AsthmaControlStatusHeaderPreviewState = 'no-data' | 'abnormal-dhr' | 'abnormal-nhr' | 'abnormal-rr' | 'abnormal-activity' | 'abnormal-sleep' | 'abnormal-home-aqi' | 'abnormal-work-aqi' | 'abnormal-multiple' | 'not-determined' | 'not-controlled' | 'controlled';
110
+
111
+ interface AsthmaControlStatusHeaderProps {
112
+ previewState?: AsthmaControlStatusHeaderPreviewState;
113
+ participant: AsthmaParticipant;
114
+ innerRef?: React.Ref<HTMLDivElement>;
115
+ }
116
+ declare function export_default$24(props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
117
+
118
+ interface AsthmaDataSummaryProps {
119
+ label: string;
120
+ status: AsthmaDataStatus;
121
+ statusText?: string;
122
+ value?: number;
123
+ units?: string;
124
+ onClick?: () => void;
125
+ innerRef?: React.Ref<HTMLDivElement>;
126
+ }
127
+ declare function export_default$23(props: AsthmaDataSummaryProps): React.JSX.Element;
128
+
129
+ interface AsthmaFactsProps {
130
+ innerRef?: React.Ref<HTMLDivElement>;
131
+ }
132
+ declare function export_default$22(props: AsthmaFactsProps): React.JSX.Element;
133
+
134
+ type AsthmaLogEntryDetailsPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
135
+
136
+ interface AsthmaLogEntryDetailsProps {
137
+ previewState?: AsthmaLogEntryDetailsPreviewState;
138
+ date: Date;
139
+ logTodayEntrySurveyName: string;
140
+ logYesterdayEntrySurveyName: string;
141
+ editLogEntryUrl: string;
142
+ innerRef?: React.Ref<HTMLDivElement>;
143
+ }
144
+ declare function export_default$21(props: AsthmaLogEntryDetailsProps): React.JSX.Element;
145
+
146
+ type AsthmaLogEntryHeaderPreviewState = 'no-logs' | 'today-log-only' | 'yesterday-log-only' | 'both-logs';
147
+
148
+ interface AsthmaLogEntryHeaderProps {
149
+ previewState?: AsthmaLogEntryHeaderPreviewState;
150
+ logTodayEntrySurveyName: string;
151
+ logYesterdayEntrySurveyName: string;
152
+ dayViewUrl: string;
153
+ innerRef?: React.Ref<HTMLDivElement>;
154
+ }
155
+ declare function export_default$20(props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
156
+
157
+ interface AsthmaLogEntrySummaryProps {
158
+ label: string;
159
+ logEntry?: AsthmaLogEntry;
160
+ onClick: () => void;
161
+ loading?: boolean;
162
+ innerRef?: React.Ref<HTMLDivElement>;
163
+ }
164
+ declare function export_default$1$(props: AsthmaLogEntrySummaryProps): React.JSX.Element;
165
+
166
+ interface AsthmaPostEnrollmentSurveyTriggerProps {
167
+ previewState?: boolean;
168
+ postEnrollmentSurveyName: string;
169
+ postEnrollmentMobileSurveyName: string;
170
+ innerRef?: React.Ref<HTMLDivElement>;
171
+ }
172
+ declare function export_default$1_(props: AsthmaPostEnrollmentSurveyTriggerProps): null;
173
+
174
+ interface AsthmaDataService {
175
+ loadParticipant(): Promise<AsthmaParticipant>;
176
+ loadLogEntries(fromDate?: Date, toDate?: Date): Promise<AsthmaLogEntry[]>;
177
+ loadBiometricsForControlStatus(): Promise<AsthmaBiometric[]>;
178
+ loadBiometricsForDate(date: Date): Promise<AsthmaBiometric[]>;
179
+ loadAirQualitiesForControlStatus(): Promise<AsthmaAirQuality[]>;
180
+ loadAirQualitiesForDate(date: Date): Promise<AsthmaAirQuality[]>;
181
+ saveLogEntry(logEntry: AsthmaLogEntry): Promise<void>;
182
+ loadAndClearAlertTakeover(): Promise<string | undefined>;
183
+ loadSurveyAnswers(surveyNames: string[]): Promise<SurveyAnswer[]>;
184
+ }
185
+ declare const service: AsthmaDataService;
186
+
187
+ declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
188
+ declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
189
+ declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
190
+ declare const getAsthmaSymptomLevelValue: (symptomLevel: AsthmaSymptomLevel) => string;
191
+ declare const getAsthmaSymptomLevel: (symptomLevelValue: string | undefined) => AsthmaSymptomLevel;
192
+
193
+ interface AsthmaActivityViewProps$1 {
194
+ previewState?: 'default';
195
+ colorScheme?: 'light' | 'dark' | 'auto';
196
+ alert?: 'Steps';
197
+ logEntrySurveyName: string;
198
+ }
199
+ declare function export_default$1Z(props: AsthmaActivityViewProps$1): React.JSX.Element;
200
+
201
+ interface AsthmaAirQualityViewProps {
202
+ previewState?: 'default';
203
+ colorScheme?: 'light' | 'dark' | 'auto';
204
+ alert?: 'HomeAirQuality' | 'WorkAirQuality';
205
+ logEntrySurveyName: string;
206
+ }
207
+ declare function export_default$1Y(props: AsthmaAirQualityViewProps): React.JSX.Element;
208
+
209
+ interface AsthmaActivityViewProps {
210
+ previewState?: 'default';
211
+ colorScheme?: 'light' | 'dark' | 'auto';
212
+ logEntrySurveyName: string;
213
+ }
214
+ declare function export_default$1X(props: AsthmaActivityViewProps): React.JSX.Element;
215
+
216
+ interface AsthmaDayViewPreviewState {
217
+ logEntryDetailsPreviewState: AsthmaLogEntryDetailsPreviewState;
218
+ biometricsPreviewState: AsthmaBiometricsPreviewState;
219
+ airQualitiesPreviewState: AsthmaAirQualitiesPreviewState;
220
+ }
221
+ interface AsthmaDayViewProps {
222
+ previewState?: AsthmaDayViewPreviewState;
223
+ colorScheme?: 'light' | 'dark' | 'auto';
224
+ date: Date;
225
+ logTodayEntrySurveyName: string;
226
+ logYesterdayEntrySurveyName: string;
227
+ editLogEntryUrl: string;
228
+ heartAndLungsUrl: string;
229
+ activityUrl: string;
230
+ sleepUrl: string;
231
+ airQualityUrl: string;
232
+ }
233
+ declare function export_default$1W(props: AsthmaDayViewProps): React.JSX.Element;
234
+
235
+ interface AsthmaHeartAndLungsViewProps {
236
+ previewState?: 'default';
237
+ colorScheme?: 'light' | 'dark' | 'auto';
238
+ alert?: 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
239
+ logEntrySurveyName: string;
240
+ }
241
+ declare function export_default$1V(props: AsthmaHeartAndLungsViewProps): React.JSX.Element;
242
+
243
+ type AsthmaLogEntryEditorViewPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
244
+
245
+ interface AsthmaLogEntryEditorViewProps {
246
+ previewState?: AsthmaLogEntryEditorViewPreviewState;
247
+ colorScheme?: 'light' | 'dark' | 'auto';
248
+ date: Date;
249
+ }
250
+ declare function export_default$1U(props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
251
+
252
+ interface AsthmaSleepViewProps {
253
+ previewState?: 'default';
254
+ colorScheme?: 'light' | 'dark' | 'auto';
255
+ alert?: 'SleepDisturbances';
256
+ logEntrySurveyName: string;
257
+ }
258
+ declare function export_default$1T(props: AsthmaSleepViewProps): React.JSX.Element;
259
+
260
+ interface TermInformation {
261
+ TermFamily: string;
262
+ TermNamespace: string;
263
+ TermCode: string;
264
+ }
265
+
266
+ interface AllergiesListProps {
267
+ previewState?: "default";
268
+ onViewTermInfo(termInfo: TermInformation): void;
269
+ innerRef?: React.Ref<HTMLDivElement>;
270
+ }
271
+ declare function export_default$1S(props: AllergiesListProps): React.JSX.Element;
272
+
273
+ interface AppDownloadProps {
274
+ previewProjectPlatforms?: string[];
275
+ previewDevicePlatform?: string;
276
+ innerRef?: React.Ref<HTMLDivElement>;
277
+ title?: string;
278
+ text?: string;
279
+ }
280
+ declare function export_default$1R(props: AppDownloadProps): React.JSX.Element | null;
281
+
282
+ type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
283
+ declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
284
+ declare function getMonthStart(): Date;
285
+
286
+ interface SurveyBloodPressureDataParameters {
287
+ surveyName: string;
288
+ dateResultIdentifier: string;
289
+ systolicResultIdentifier: string;
290
+ diastolicResultIdentifier: string;
291
+ }
292
+ interface BloodPressureDataPoint {
293
+ date: Date;
294
+ systolic: number;
295
+ diastolic: number;
296
+ }
297
+ declare function export_default$1Q(props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
298
+
299
+ type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
300
+ interface BloodPressureVisualizationProps {
301
+ previewState?: BloodPressurePreviewState;
302
+ surveyDataSource: SurveyBloodPressureDataParameters;
303
+ weekStartsOn?: WeekStartsOn;
304
+ }
305
+ declare function export_default$1P(props: BloodPressureVisualizationProps): React.JSX.Element;
306
+
307
+ interface ConditionsListProps {
308
+ previewState?: "default";
309
+ onViewTermInfo(termInfo: TermInformation): void;
310
+ innerRef?: React.Ref<HTMLDivElement>;
311
+ }
312
+ declare function export_default$1O(props: ConditionsListProps): React.JSX.Element;
313
+
314
+ type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
315
+ interface ConnectDevicesMenuProps {
316
+ innerRef?: React.Ref<HTMLDivElement>;
317
+ accountTypes?: DeviceAccountType[];
318
+ title?: string;
319
+ text?: string;
320
+ previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
321
+ headerVariant?: "large" | "medium";
322
+ }
323
+ declare function export_default$1N(props: ConnectDevicesMenuProps): React.JSX.Element | null;
324
+
6
325
  type ColorDefinition = string | {
7
326
  lightMode?: string;
8
327
  darkMode?: string;
9
328
  };
10
329
  declare function resolveColor(colorScheme: "light" | "dark", colorDefinition?: ColorDefinition): string | undefined;
11
330
 
331
+ interface ConnectEhrProps {
332
+ applicationUrl: ConnectEhrApplicationUrl;
333
+ previewState?: ConnectEhrPreviewState;
334
+ disabledBehavior?: 'hide' | 'displayError';
335
+ bottomBorder?: boolean;
336
+ innerRef?: React.Ref<HTMLDivElement>;
337
+ variant?: "large" | "medium" | "small";
338
+ title?: string;
339
+ notConnectedText?: string;
340
+ connectedText?: string;
341
+ hideWhenConnected?: boolean;
342
+ buttonColor?: ColorDefinition;
343
+ }
344
+ type ConnectEhrApplicationUrl = "preview" | string;
345
+ type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
346
+ declare function export_default$1M(props: ConnectEhrProps): React.JSX.Element | null;
347
+
348
+ interface ConnectFitbitProps {
349
+ title?: string;
350
+ fitbitProviderID?: number;
351
+ previewState?: ConnectFitbitPreviewState;
352
+ disabledBehavior?: 'hide' | 'displayError';
353
+ innerRef?: React.Ref<HTMLDivElement>;
354
+ hideWhenConnected?: boolean;
355
+ }
356
+ type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
357
+ declare function export_default$1L(props: ConnectFitbitProps): React.JSX.Element;
358
+
359
+ interface ConnectGarminProps {
360
+ title?: string;
361
+ garminProviderID?: number;
362
+ previewState?: ConnectGarminPreviewState;
363
+ disabledBehavior?: 'hide' | 'displayError';
364
+ innerRef?: React.Ref<HTMLDivElement>;
365
+ hideWhenConnected?: boolean;
366
+ }
367
+ type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
368
+ declare function export_default$1K(props: ConnectGarminProps): React.JSX.Element;
369
+
370
+ type DailyDataQueryResult = {
371
+ [key: string]: number;
372
+ };
373
+ type DailyDataProvider = (startDate: Date, endDate: Date) => Promise<DailyDataQueryResult>;
374
+ type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
375
+ declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
376
+ declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
377
+ declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
378
+ declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
379
+ declare enum DailyDataType {
380
+ AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
381
+ AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
382
+ AppleHealthHeartRateRange = "AppleHealthHeartRateRange",
383
+ AppleHealthHrv = "AppleHealthHrv",
384
+ AppleHealthMaxHeartRate = "AppleHealthMaxHeartRate",
385
+ AppleHealthRestingHeartRate = "AppleHealthRestingHeartRate",
386
+ AppleHealthSleepMinutes = "AppleHealthSleepMinutes",
387
+ AppleHealthInBedMinutes = "AppleHealthInBedMinutes",
388
+ AppleHealthStandMinutes = "AppleHealthStandMinutes",
389
+ AppleHealthSteps = "AppleHealthSteps",
390
+ AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
391
+ AppleHealthActiveEnergyBurned = "AppleHealthActiveEnergyBurned",
392
+ FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
393
+ FitbitActiveMinutes = "FitbitActiveMinutes",
394
+ FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
395
+ FitbitFairlyActiveMinutes = "FitbitFairlyActiveMinutes",
396
+ FitbitVeryActiveMinutes = "FitbitVeryActiveMinutes",
397
+ FitbitBreathingRate = "FitbitBreathingRate",
398
+ FitbitCaloriesBurned = "FitbitCaloriesBurned",
399
+ FitbitElevatedHeartRateMinutes = "FitbitElevatedHeartRateMinutes",
400
+ FitbitFatBurnHeartRateMinutes = "FitbitFatBurnHeartRateMinutes",
401
+ FitbitCardioHeartRateMinutes = "FitbitCardioHeartRateMinutes",
402
+ FitbitPeakHeartRateMinutes = "FitbitPeakHeartRateMinutes",
403
+ FitbitFloors = "FitbitFloors",
404
+ FitbitHrv = "FitbitHrv",
405
+ FitbitRestingHeartRate = "FitbitRestingHeartRate",
406
+ FitbitSleepMinutes = "FitbitSleepMinutes",
407
+ FitbitLightSleepMinutes = "FitbitLightSleepMinutes",
408
+ FitbitRemSleepMinutes = "FitbitRemSleepMinutes",
409
+ FitbitDeepSleepMinutes = "FitbitDeepSleepMinutes",
410
+ FitbitSpO2 = "FitbitSpO2",
411
+ FitbitSteps = "FitbitSteps",
412
+ GarminSteps = "GarminSteps",
413
+ GarminDistance = "GarminDistance",
414
+ GarminFloors = "GarminFloors",
415
+ GarminActiveMinutes = "GarminActiveMinutes",
416
+ GarminActiveCalories = "GarminActiveCalories",
417
+ GarminRestingCalories = "GarminRestingCalories",
418
+ GarminTotalCalories = "GarminTotalCalories",
419
+ GarminRestingHeartRate = "GarminRestingHeartRate",
420
+ GarminMinHeartRate = "GarminMinHeartRate",
421
+ GarminMaxHeartRate = "GarminMaxHeartRate",
422
+ GarminAverageHeartRate = "GarminAverageHeartRate",
423
+ GarminMaxStressLevel = "GarminMaxStressLevel",
424
+ GarminAverageStressLevel = "GarminAverageStressLevel",
425
+ GarminTotalStressMinutes = "GarminTotalStressMinutes",
426
+ GarminLowStressMinutes = "GarminLowStressMinutes",
427
+ GarminMediumStressMinutes = "GarminMediumStressMinutes",
428
+ GarminHighStressMinutes = "GarminHighStressMinutes",
429
+ GarminTotalSleepMinutes = "GarminTotalSleepMinutes",
430
+ GarminLightSleepMinutes = "GarminLightSleepMinutes",
431
+ GarminDeepSleepMinutes = "GarminDeepSleepMinutes",
432
+ GarminRemSleepMinutes = "GarminRemSleepMinutes",
433
+ GarminAwakeMinutes = "GarminAwakeMinutes",
434
+ GarminSleepScore = "GarminSleepScore",
435
+ GoogleFitSteps = "GoogleFitSteps",
436
+ Steps = "Steps",
437
+ RestingHeartRate = "RestingHeartRate"
438
+ }
439
+
440
+ interface DailyDataChartProps {
441
+ title?: string;
442
+ subtitle?: string;
443
+ intervalType?: "Week" | "Month";
444
+ weekStartsOn?: WeekStartsOn;
445
+ dailyDataType: string;
446
+ valueConverter?(value: number): number;
447
+ valueFormatter?(value: number): string;
448
+ chartType: "Line" | "Bar" | "Area";
449
+ options?: LineChartOptions | BarChartOptions | AreaChartOptions;
450
+ hideIfNoData?: boolean;
451
+ previewDataProvider?: DailyDataProvider;
452
+ innerRef?: React.Ref<HTMLDivElement>;
453
+ }
454
+ interface LineChartOptions {
455
+ lineColor?: string;
456
+ domainMin?: number | "Auto";
457
+ }
458
+ interface BarChartOptions {
459
+ barColor?: string;
460
+ domain?: AxisDomain;
461
+ }
462
+ interface AreaChartOptions {
463
+ lineColor?: string;
464
+ areaColor?: string;
465
+ }
466
+ declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
467
+
468
+ interface DeviceDataMonthChartProps {
469
+ lines: DeviceDataChartLine[];
470
+ month: number;
471
+ year: number;
472
+ syncId?: string;
473
+ title?: string;
474
+ previewState?: DeviceDataMonthChartPreviewState;
475
+ onDataDetected?: Function;
476
+ innerRef?: React.Ref<HTMLDivElement>;
477
+ }
478
+ interface DeviceDataChartLine {
479
+ label: string;
480
+ dailyDataType: string;
481
+ valueConverter?: Function;
482
+ showAverage?: boolean;
483
+ }
484
+ type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
485
+ declare function export_default$1J(props: DeviceDataMonthChartProps): React.JSX.Element | null;
486
+
487
+ interface DeviceDataMonthChartsProps {
488
+ previewState?: DeviceDataMonthChartsPreviewState;
489
+ }
490
+ type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
491
+ declare function export_default$1I(props: DeviceDataMonthChartsProps): React.JSX.Element;
492
+
493
+ interface ExternalAccountListProps {
494
+ externalAccountProviderCategories?: string[];
495
+ previewState?: NotificationListPreviewState$1;
496
+ onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
497
+ innerRef?: React.Ref<HTMLDivElement>;
498
+ }
499
+ type NotificationListPreviewState$1 = "Default";
500
+ declare function export_default$1H(props: ExternalAccountListProps): React.JSX.Element;
501
+
502
+ interface ExternalAccountsLoadingIndicatorProps {
503
+ previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
504
+ externalAccountCategories?: string[];
505
+ innerRef?: React.Ref<HTMLDivElement>;
506
+ }
507
+ declare function export_default$1G(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
508
+
509
+ interface ExternalAccountsPreviewProps {
510
+ excludeProviders?: boolean;
511
+ excludeHealthPlans?: boolean;
512
+ excludeDeviceManufacturers?: boolean;
513
+ applicationUrl: ExternalAccountsApplicationUrl;
514
+ previewState?: ExternalAccountsPreviewPreviewState;
515
+ innerRef?: React.Ref<HTMLDivElement>;
516
+ }
517
+ type ExternalAccountsApplicationUrl = "preview" | string;
518
+ type ExternalAccountsPreviewPreviewState = "Default";
519
+ declare function export_default$1F(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
520
+
521
+ type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
522
+
523
+ interface FitbitDevicesProps {
524
+ previewState?: ConnectedDevicesPreviewState;
525
+ innerRef?: React.Ref<HTMLDivElement>;
526
+ }
527
+ declare function export_default$1E(props: FitbitDevicesProps): React.JSX.Element;
528
+
529
+ type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
530
+
531
+ interface FitbitMonthChartsProps {
532
+ previewState?: MonthChartsPreviewState;
533
+ }
534
+ declare function export_default$1D(props: FitbitMonthChartsProps): React.JSX.Element;
535
+
536
+ interface GarminDevicesProps {
537
+ previewState?: ConnectedDevicesPreviewState;
538
+ innerRef?: React.Ref<HTMLDivElement>;
539
+ }
540
+ declare function export_default$1C(props: GarminDevicesProps): React.JSX.Element;
541
+
542
+ interface GarminMonthChartsProps {
543
+ previewState?: MonthChartsPreviewState;
544
+ }
545
+ declare function export_default$1B(props: GarminMonthChartsProps): React.JSX.Element;
546
+
547
+ type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
548
+ interface HealthPreviewSectionProps {
549
+ concept: HealthPreviewSectionConcept;
550
+ onClick(): void;
551
+ previewState?: "NoData" | "Default";
552
+ indicatorPosition?: "default" | "topRight";
553
+ innerRef?: React.Ref<HTMLDivElement>;
554
+ }
555
+ declare function export_default$1A(props: HealthPreviewSectionProps): React.JSX.Element | null;
556
+
557
+ interface LabResultsSummaryProps {
558
+ previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
559
+ onClick(): void;
560
+ onViewTermInfo(termInfo: TermInformation): void;
561
+ innerRef?: React.Ref<HTMLDivElement>;
562
+ }
563
+ declare function export_default$1z(props: LabResultsSummaryProps): React.JSX.Element | null;
564
+
565
+ interface MedicationsListProps {
566
+ previewState?: "default";
567
+ onViewTermInfo(termInfo: TermInformation): void;
568
+ innerRef?: React.Ref<HTMLDivElement>;
569
+ }
570
+ declare function export_default$1y(props: MedicationsListProps): React.JSX.Element;
571
+
572
+ interface MostRecentNotificationProps {
573
+ notificationType?: NotificationType;
574
+ onViewMore?: Function;
575
+ hideAfterHours?: number;
576
+ previewState?: MostRecentNotificationPreviewState;
577
+ innerRef?: React.Ref<HTMLDivElement>;
578
+ }
579
+ type MostRecentNotificationPreviewState = "Default";
580
+ declare function export_default$1x(props: MostRecentNotificationProps): React.JSX.Element | null;
581
+
582
+ interface NotificationListProps {
583
+ notificationType?: NotificationType;
584
+ previewState?: NotificationListPreviewState;
585
+ innerRef?: React.Ref<HTMLDivElement>;
586
+ }
587
+ type NotificationListPreviewState = "Default" | "NoData";
588
+ declare function export_default$1w(props: NotificationListProps): React.JSX.Element;
589
+
590
+ interface PlatformSpecificContentProps {
591
+ platforms: string[];
592
+ children?: React.ReactNode;
593
+ previewDevicePlatform?: string;
594
+ innerRef?: React.Ref<HTMLDivElement>;
595
+ }
596
+ declare function export_default$1v(props: PlatformSpecificContentProps): React.JSX.Element | null;
597
+
598
+ interface ProjectHeaderProps {
599
+ previewState?: ProjectHeaderPropsPreviewState;
600
+ innerRef?: React.Ref<HTMLDivElement>;
601
+ }
602
+ type ProjectHeaderPropsPreviewState = "Default";
603
+ declare function export_default$1u(props: ProjectHeaderProps): React.JSX.Element;
604
+
605
+ interface ProjectSupportProps {
606
+ previewState?: ProjectSupportPropsPreviewState;
607
+ innerRef?: React.Ref<HTMLDivElement>;
608
+ }
609
+ type ProjectSupportPropsPreviewState = "Default";
610
+ declare function export_default$1t(props: ProjectSupportProps): React.JSX.Element | null;
611
+
612
+ interface ProviderSearchProps {
613
+ previewState?: ProviderSearchPreviewState;
614
+ providerCategories?: string[];
615
+ onProviderConnected?: (provider: ExternalAccountProvider) => void;
616
+ innerRef?: React.Ref<HTMLDivElement>;
617
+ }
618
+ type ProviderSearchPreviewState = "Default";
619
+ declare function export_default$1s(props: ProviderSearchProps): React.JSX.Element;
620
+
621
+ interface RelativeActivityTodayProps {
622
+ dataTypes: RelativeActivityDataType[];
623
+ previewState?: "Default";
624
+ title?: string;
625
+ innerRef?: React.Ref<HTMLDivElement>;
626
+ }
627
+ interface RelativeActivityDataType {
628
+ dailyDataType: string;
629
+ label: string;
630
+ icon: React.ReactElement;
631
+ color: string;
632
+ formatter: (number: number) => string;
633
+ }
634
+ declare function export_default$1r(props: RelativeActivityTodayProps): React.JSX.Element | null;
635
+
636
+ type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
637
+ interface RestingHeartRateCalendarProps {
638
+ month: number;
639
+ year: number;
640
+ showPreviewData: RestingHeartRateCalendarPreviewState;
641
+ innerRef?: React.Ref<HTMLDivElement>;
642
+ }
643
+ declare function export_default$1q(props: RestingHeartRateCalendarProps): React.JSX.Element;
644
+
645
+ type ButtonVariant = "default" | "subtle" | "light";
646
+ interface ButtonProps {
647
+ children?: React.ReactNode;
648
+ disabled?: boolean;
649
+ onClick: Function;
650
+ className?: string;
651
+ color?: ColorDefinition;
652
+ loading?: boolean;
653
+ variant?: ButtonVariant;
654
+ innerRef?: React.Ref<HTMLButtonElement>;
655
+ defaultMargin?: boolean;
656
+ fullWidth?: boolean;
657
+ }
658
+ declare function export_default$1p(props: ButtonProps): React.JSX.Element;
659
+
660
+ interface SurveyTaskListProps {
661
+ status: SurveyTaskStatus;
662
+ limit?: number;
663
+ title?: string;
664
+ surveys?: string[];
665
+ onDetailLinkClick?: Function;
666
+ previewState?: SurveyTaskListListPreviewState;
667
+ variant?: "noCard" | "singleCard" | "multiCard";
668
+ innerRef?: React.Ref<HTMLDivElement>;
669
+ titleColor?: ColorDefinition;
670
+ cardBackgroundColor?: ColorDefinition;
671
+ cardStyle?: React.CSSProperties;
672
+ buttonVariant?: ButtonVariant;
673
+ buttonColor?: ColorDefinition;
674
+ }
675
+ type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
676
+ declare function export_default$1o(props: SurveyTaskListProps): React.JSX.Element | null;
677
+
678
+ type SeverityCalendarPreviewState = "Default" | "NoData";
679
+ interface SeverityCalendarProps {
680
+ surveyName: string;
681
+ dateRecordedResultIdentifier?: string;
682
+ severityResultIdentifier: string;
683
+ severityValueMapper?: (value: string) => string;
684
+ intervalStart?: Date;
685
+ previewState?: SeverityCalendarPreviewState;
686
+ }
687
+ declare function export_default$1n(props: SeverityCalendarProps): React.JSX.Element;
688
+
689
+ interface ViewEhrProps {
690
+ onClick(): void;
691
+ title?: string;
692
+ innerRef?: React.Ref<HTMLDivElement>;
693
+ previewState?: "fetchComplete" | "fetchingData";
694
+ buttonColor?: ColorDefinition;
695
+ buttonVariant?: ButtonVariant;
696
+ }
697
+ declare function export_default$1m(props: ViewEhrProps): React.JSX.Element | null;
698
+
12
699
  interface ActionProps {
13
700
  title?: string;
14
701
  titleIcon?: ReactElement;
@@ -27,7 +714,7 @@ interface ActionProps {
27
714
  subtitleColor?: ColorDefinition;
28
715
  renderAs?: "div" | "button";
29
716
  }
30
- declare function export_default$1D(props: ActionProps): React.JSX.Element;
717
+ declare function export_default$1l(props: ActionProps): React.JSX.Element;
31
718
 
32
719
  interface ActivityMeterProps {
33
720
  label: string;
@@ -40,22 +727,7 @@ interface ActivityMeterProps {
40
727
  className?: string;
41
728
  innerRef?: React.Ref<HTMLDivElement>;
42
729
  }
43
- declare function export_default$1C(props: ActivityMeterProps): React.JSX.Element;
44
-
45
- type ButtonVariant = "default" | "subtle" | "light";
46
- interface ButtonProps {
47
- children?: React.ReactNode;
48
- disabled?: boolean;
49
- onClick: Function;
50
- className?: string;
51
- color?: ColorDefinition;
52
- loading?: boolean;
53
- variant?: ButtonVariant;
54
- innerRef?: React.Ref<HTMLButtonElement>;
55
- defaultMargin?: boolean;
56
- fullWidth?: boolean;
57
- }
58
- declare function export_default$1B(props: ButtonProps): React.JSX.Element;
730
+ declare function export_default$1k(props: ActivityMeterProps): React.JSX.Element;
59
731
 
60
732
  interface CalendarProps {
61
733
  month: number;
@@ -65,7 +737,7 @@ interface CalendarProps {
65
737
  className?: string;
66
738
  innerRef?: React.Ref<HTMLDivElement>;
67
739
  }
68
- declare function export_default$1A(props: CalendarProps): React.JSX.Element;
740
+ declare function export_default$1j(props: CalendarProps): React.JSX.Element;
69
741
 
70
742
  type CalendarDayStateConfiguration = Record<string, {
71
743
  style?: CSSProperties;
@@ -81,7 +753,7 @@ interface CalendarDayProps {
81
753
  onClick?: (date: Date) => void;
82
754
  innerRef?: React.Ref<HTMLDivElement>;
83
755
  }
84
- declare function export_default$1z(props: CalendarDayProps): React.JSX.Element;
756
+ declare function export_default$1i(props: CalendarDayProps): React.JSX.Element;
85
757
 
86
758
  interface CardProps {
87
759
  className?: string;
@@ -92,7 +764,7 @@ interface CardProps {
92
764
  backgroundColor?: ColorDefinition;
93
765
  style?: React.CSSProperties;
94
766
  }
95
- declare function export_default$1y(props: CardProps): React.JSX.Element | null;
767
+ declare function export_default$1h(props: CardProps): React.JSX.Element | null;
96
768
 
97
769
  interface CardTitleProps {
98
770
  title: string;
@@ -101,11 +773,7 @@ interface CardTitleProps {
101
773
  innerRef?: React.Ref<HTMLDivElement>;
102
774
  color?: ColorDefinition;
103
775
  }
104
- declare function export_default$1x(props: CardTitleProps): React.JSX.Element;
105
-
106
- type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
107
- declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
108
- declare function getMonthStart(): Date;
776
+ declare function export_default$1g(props: CardTitleProps): React.JSX.Element;
109
777
 
110
778
  interface DateRangeCoordinatorProps {
111
779
  initialIntervalStart?: Date;
@@ -132,7 +800,7 @@ interface DateRangeNavigatorProps {
132
800
  innerRef?: React.Ref<HTMLDivElement>;
133
801
  sticky?: boolean;
134
802
  }
135
- declare function export_default$1w(props: DateRangeNavigatorProps): React.JSX.Element;
803
+ declare function export_default$1f(props: DateRangeNavigatorProps): React.JSX.Element;
136
804
 
137
805
  interface DayTrackerSymbolProps {
138
806
  primaryColors: string[];
@@ -141,7 +809,34 @@ interface DayTrackerSymbolProps {
141
809
  size?: "small" | "large";
142
810
  innerRef?: React.Ref<HTMLDivElement>;
143
811
  }
144
- declare function export_default$1v(props: DayTrackerSymbolProps): React.JSX.Element;
812
+ declare function export_default$1e(props: DayTrackerSymbolProps): React.JSX.Element;
813
+
814
+ interface ClosedInterval {
815
+ values: number[];
816
+ }
817
+ interface DataPoint {
818
+ dataSet1: ClosedInterval;
819
+ dataSet2: ClosedInterval;
820
+ }
821
+ interface Dumbbell {
822
+ dataPoint?: DataPoint;
823
+ xValue: string;
824
+ class?: DumbbellClass;
825
+ }
826
+ interface Axis {
827
+ yRange: ClosedInterval;
828
+ yIncrement: number;
829
+ xIncrement: number;
830
+ }
831
+ interface DumbBellChartProps {
832
+ axis: Axis;
833
+ dumbbells: Dumbbell[];
834
+ }
835
+ declare enum DumbbellClass {
836
+ "mdhui-dumbbell-in-range" = 0,
837
+ "mdhui-dumbbell-out-of-range" = 1
838
+ }
839
+ declare function export_default$1d(props: DumbBellChartProps): React.JSX.Element;
145
840
 
146
841
  interface FaceProps {
147
842
  faceValue?: number;
@@ -150,7 +845,7 @@ interface FaceProps {
150
845
  className?: string;
151
846
  innerRef?: React.Ref<HTMLButtonElement>;
152
847
  }
153
- declare function export_default$1u(props: FaceProps): React.JSX.Element;
848
+ declare function export_default$1c(props: FaceProps): React.JSX.Element;
154
849
 
155
850
  interface HistogramProps {
156
851
  entries: {
@@ -162,7 +857,7 @@ interface HistogramProps {
162
857
  className?: string;
163
858
  innerRef?: React.Ref<HTMLDivElement>;
164
859
  }
165
- declare function export_default$1t(props: HistogramProps): React.JSX.Element;
860
+ declare function export_default$1b(props: HistogramProps): React.JSX.Element;
166
861
 
167
862
  interface LayoutProps {
168
863
  children?: React.ReactNode;
@@ -183,7 +878,7 @@ interface LayoutContext {
183
878
  bodyBackgroundColor: string;
184
879
  }
185
880
  declare const LayoutContext: React.Context<LayoutContext>;
186
- declare function export_default$1s(props: LayoutProps): React.JSX.Element;
881
+ declare function export_default$1a(props: LayoutProps): React.JSX.Element;
187
882
 
188
883
  interface LoadingIndicatorProps {
189
884
  variant?: "default" | "inline";
@@ -208,8 +903,9 @@ interface NavigationBarProps {
208
903
  buttonColor?: ColorDefinition;
209
904
  navigationBarLeft?: React.ReactNode;
210
905
  navigationBarRight?: React.ReactNode;
906
+ backgroundColor?: ColorDefinition;
211
907
  }
212
- declare function export_default$1r(props: NavigationBarProps): React.JSX.Element;
908
+ declare function export_default$19(props: NavigationBarProps): React.JSX.Element;
213
909
 
214
910
  interface NotesInputProps {
215
911
  autoTimestamp?: boolean;
@@ -217,7 +913,7 @@ interface NotesInputProps {
217
913
  onChange(value: string): void;
218
914
  value: string;
219
915
  }
220
- declare function export_default$1q(props: NotesInputProps): React.JSX.Element;
916
+ declare function export_default$18(props: NotesInputProps): React.JSX.Element;
221
917
 
222
918
  interface ProgressBarProps {
223
919
  backgroundColor?: ColorDefinition;
@@ -255,7 +951,21 @@ interface ProgressRingProps {
255
951
  percentCompleted?: number;
256
952
  animate?: boolean;
257
953
  }
258
- declare function export_default$1p(props: ProgressRingProps): React.JSX.Element;
954
+ declare function export_default$17(props: ProgressRingProps): React.JSX.Element;
955
+
956
+ interface RotatingTextEntry {
957
+ title?: string;
958
+ text: string;
959
+ }
960
+ type RotatingTextInterval = 'day' | 'week' | 'month';
961
+ interface RotatingTextProps {
962
+ interval?: RotatingTextInterval;
963
+ entryTitlePrefix?: string;
964
+ entries: RotatingTextEntry[];
965
+ startDate: Date;
966
+ innerRef?: React.Ref<HTMLDivElement>;
967
+ }
968
+ declare function export_default$16(props: RotatingTextProps): React.JSX.Element;
259
969
 
260
970
  interface SectionProps {
261
971
  children?: React.ReactNode;
@@ -265,7 +975,7 @@ interface SectionProps {
265
975
  backgroundColor?: ColorDefinition;
266
976
  style?: React.CSSProperties;
267
977
  }
268
- declare function export_default$1o(props: SectionProps): React.JSX.Element | null;
978
+ declare function export_default$15(props: SectionProps): React.JSX.Element | null;
269
979
 
270
980
  interface SegmentedControlProps {
271
981
  segments: {
@@ -279,9 +989,9 @@ interface SegmentedControlProps {
279
989
  variant?: "default" | "optionsHorizontal" | "optionsVertical";
280
990
  innerRef?: React.Ref<HTMLDivElement>;
281
991
  }
282
- declare function export_default$1n(props: SegmentedControlProps): React.JSX.Element;
992
+ declare function export_default$14(props: SegmentedControlProps): React.JSX.Element;
283
993
 
284
- declare function export_default$1m(): React.JSX.Element;
994
+ declare function export_default$13(): React.JSX.Element;
285
995
 
286
996
  interface SingleExternalAccountProps {
287
997
  externalAccount: ExternalAccount;
@@ -289,24 +999,26 @@ interface SingleExternalAccountProps {
289
999
  onReconnectAccount: (account: ExternalAccount) => void;
290
1000
  innerRef?: React.Ref<HTMLDivElement>;
291
1001
  }
292
- declare function export_default$1l(props: SingleExternalAccountProps): React.JSX.Element;
1002
+ declare function export_default$12(props: SingleExternalAccountProps): React.JSX.Element;
293
1003
 
294
1004
  interface SingleNotificationProps {
295
1005
  notification: Notification;
296
1006
  innerRef?: React.Ref<HTMLDivElement>;
297
1007
  }
298
- declare function export_default$1k(props: SingleNotificationProps): React.JSX.Element;
1008
+ declare function export_default$11(props: SingleNotificationProps): React.JSX.Element;
299
1009
 
1010
+ type SingleSurveyTaskVariant = 'default' | 'expanded';
300
1011
  interface SingleSurveyTaskProps {
301
1012
  task: SurveyTask;
302
- descriptionIcon?: IconDefinition$1;
303
1013
  onClick: () => void;
1014
+ variant?: SingleSurveyTaskVariant;
1015
+ descriptionIcon?: IconDefinition$1;
304
1016
  surveyActive?: boolean;
305
- innerRef?: React.Ref<HTMLDivElement>;
306
1017
  buttonColor?: ColorDefinition;
307
1018
  buttonVariant?: ButtonVariant;
1019
+ innerRef?: React.Ref<HTMLDivElement>;
308
1020
  }
309
- declare function export_default$1j(props: SingleSurveyTaskProps): React.JSX.Element | null;
1021
+ declare function export_default$10(props: SingleSurveyTaskProps): React.JSX.Element | null;
310
1022
 
311
1023
  interface SparkBarChartProps {
312
1024
  averageFillPercent: number;
@@ -317,7 +1029,7 @@ interface SparkBarChartBar {
317
1029
  color: string;
318
1030
  barFillPercent: number;
319
1031
  }
320
- declare function export_default$1i(props: SparkBarChartProps): React.JSX.Element;
1032
+ declare function export_default$$(props: SparkBarChartProps): React.JSX.Element;
321
1033
 
322
1034
  interface SwitchProps {
323
1035
  isOn: Boolean;
@@ -326,7 +1038,7 @@ interface SwitchProps {
326
1038
  className?: string;
327
1039
  innerRef?: React.Ref<HTMLButtonElement>;
328
1040
  }
329
- declare function export_default$1h(props: SwitchProps): React.JSX.Element;
1041
+ declare function export_default$_(props: SwitchProps): React.JSX.Element;
330
1042
 
331
1043
  interface StatusBarBackgroundProps {
332
1044
  color?: string;
@@ -341,7 +1053,7 @@ interface TextBlockProps {
341
1053
  color?: ColorDefinition;
342
1054
  style?: React.CSSProperties;
343
1055
  }
344
- declare function export_default$1g(props: TextBlockProps): React.JSX.Element | null;
1056
+ declare function export_default$Z(props: TextBlockProps): React.JSX.Element | null;
345
1057
 
346
1058
  interface TitleProps {
347
1059
  color?: ColorDefinition;
@@ -354,7 +1066,7 @@ interface TitleProps {
354
1066
  imageAlignment?: "top" | "left";
355
1067
  defaultMargin?: boolean;
356
1068
  }
357
- declare function export_default$1f(props: TitleProps): React.JSX.Element;
1069
+ declare function export_default$Y(props: TitleProps): React.JSX.Element;
358
1070
 
359
1071
  interface TrackerItemProps {
360
1072
  selected: boolean;
@@ -366,7 +1078,7 @@ interface TrackerItemProps {
366
1078
  className?: string;
367
1079
  noBoxShadow?: boolean;
368
1080
  }
369
- declare function export_default$1e(props: TrackerItemProps): React.JSX.Element;
1081
+ declare function export_default$X(props: TrackerItemProps): React.JSX.Element;
370
1082
 
371
1083
  interface UnstyledButtonProps {
372
1084
  onClick: MouseEventHandler;
@@ -377,7 +1089,7 @@ interface UnstyledButtonProps {
377
1089
  disabled?: boolean;
378
1090
  innerRef?: React.Ref<HTMLButtonElement>;
379
1091
  }
380
- declare function export_default$1d(props: UnstyledButtonProps): React.JSX.Element;
1092
+ declare function export_default$W(props: UnstyledButtonProps): React.JSX.Element;
381
1093
 
382
1094
  interface ValueSelectorProps {
383
1095
  title?: string;
@@ -398,7 +1110,7 @@ interface ValueSelectorProps {
398
1110
  preventEmptySelections?: boolean;
399
1111
  innerRef?: React.Ref<HTMLDivElement>;
400
1112
  }
401
- declare function export_default$1c(props: ValueSelectorProps): React.JSX.Element;
1113
+ declare function export_default$V(props: ValueSelectorProps): React.JSX.Element;
402
1114
 
403
1115
  interface ViewHeaderProps {
404
1116
  title?: string;
@@ -407,411 +1119,212 @@ interface ViewHeaderProps {
407
1119
  subtitleColor?: ColorDefinition;
408
1120
  action?: React.ReactNode;
409
1121
  }
410
- declare function export_default$1b(props: ViewHeaderProps): React.JSX.Element | null;
411
-
412
- interface WeekCalendarProps {
413
- selectedDate?: Date;
414
- hideDateLabel?: boolean;
415
- startDate: Date;
416
- onDateSelected?(date: Date): void;
417
- loading: boolean;
418
- onStartDateChange?(startDate: Date): void;
419
- dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
420
- }
421
- declare function export_default$1a(props: WeekCalendarProps): React.JSX.Element;
422
-
423
- interface TermInformation {
424
- TermFamily: string;
425
- TermNamespace: string;
426
- TermCode: string;
427
- }
428
-
429
- interface AllergiesListProps {
430
- previewState?: "default";
431
- onViewTermInfo(termInfo: TermInformation): void;
432
- innerRef?: React.Ref<HTMLDivElement>;
433
- }
434
- declare function export_default$19(props: AllergiesListProps): React.JSX.Element;
435
-
436
- interface AppDownloadProps {
437
- previewProjectPlatforms?: string[];
438
- previewDevicePlatform?: string;
439
- innerRef?: React.Ref<HTMLDivElement>;
440
- title?: string;
441
- text?: string;
442
- }
443
- declare function export_default$18(props: AppDownloadProps): React.JSX.Element | null;
444
-
445
- interface ConditionsListProps {
446
- previewState?: "default";
447
- onViewTermInfo(termInfo: TermInformation): void;
448
- innerRef?: React.Ref<HTMLDivElement>;
449
- }
450
- declare function export_default$17(props: ConditionsListProps): React.JSX.Element;
451
-
452
- type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
453
- interface ConnectDevicesMenuProps {
454
- innerRef?: React.Ref<HTMLDivElement>;
455
- accountTypes?: DeviceAccountType[];
456
- title?: string;
457
- text?: string;
458
- previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
459
- headerVariant?: "large" | "medium";
460
- }
461
- declare function export_default$16(props: ConnectDevicesMenuProps): React.JSX.Element | null;
462
-
463
- interface ConnectEhrProps {
464
- applicationUrl: ConnectEhrApplicationUrl;
465
- previewState?: ConnectEhrPreviewState;
466
- disabledBehavior?: 'hide' | 'displayError';
467
- bottomBorder?: boolean;
468
- innerRef?: React.Ref<HTMLDivElement>;
469
- variant?: "large" | "medium" | "small";
470
- title?: string;
471
- notConnectedText?: string;
472
- connectedText?: string;
473
- hideWhenConnected?: boolean;
474
- buttonColor?: ColorDefinition;
475
- }
476
- type ConnectEhrApplicationUrl = "preview" | string;
477
- type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
478
- declare function export_default$15(props: ConnectEhrProps): React.JSX.Element | null;
479
-
480
- interface ConnectFitbitProps {
481
- title?: string;
482
- fitbitProviderID?: number;
483
- previewState?: ConnectFitbitPreviewState;
484
- disabledBehavior?: 'hide' | 'displayError';
485
- innerRef?: React.Ref<HTMLDivElement>;
486
- hideWhenConnected?: boolean;
487
- }
488
- type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
489
- declare function export_default$14(props: ConnectFitbitProps): React.JSX.Element;
490
-
491
- interface ConnectGarminProps {
492
- title?: string;
493
- garminProviderID?: number;
494
- previewState?: ConnectGarminPreviewState;
495
- disabledBehavior?: 'hide' | 'displayError';
496
- innerRef?: React.Ref<HTMLDivElement>;
497
- hideWhenConnected?: boolean;
498
- }
499
- type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
500
- declare function export_default$13(props: ConnectGarminProps): React.JSX.Element;
501
-
502
- type DailyDataQueryResult = {
503
- [key: string]: number;
504
- };
505
- type DailyDataProvider = (startDate: Date, endDate: Date) => Promise<DailyDataQueryResult>;
506
- type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
507
- declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
508
- declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
509
- declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
510
- declare enum DailyDataType {
511
- AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
512
- AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
513
- AppleHealthHeartRateRange = "AppleHealthHeartRateRange",
514
- AppleHealthHrv = "AppleHealthHrv",
515
- AppleHealthMaxHeartRate = "AppleHealthMaxHeartRate",
516
- AppleHealthRestingHeartRate = "AppleHealthRestingHeartRate",
517
- AppleHealthSleepMinutes = "AppleHealthSleepMinutes",
518
- AppleHealthInBedMinutes = "AppleHealthInBedMinutes",
519
- AppleHealthStandMinutes = "AppleHealthStandMinutes",
520
- AppleHealthSteps = "AppleHealthSteps",
521
- AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
522
- AppleHealthActiveEnergyBurned = "AppleHealthActiveEnergyBurned",
523
- FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
524
- FitbitActiveMinutes = "FitbitActiveMinutes",
525
- FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
526
- FitbitFairlyActiveMinutes = "FitbitFairlyActiveMinutes",
527
- FitbitVeryActiveMinutes = "FitbitVeryActiveMinutes",
528
- FitbitBreathingRate = "FitbitBreathingRate",
529
- FitbitCaloriesBurned = "FitbitCaloriesBurned",
530
- FitbitElevatedHeartRateMinutes = "FitbitElevatedHeartRateMinutes",
531
- FitbitFatBurnHeartRateMinutes = "FitbitFatBurnHeartRateMinutes",
532
- FitbitCardioHeartRateMinutes = "FitbitCardioHeartRateMinutes",
533
- FitbitPeakHeartRateMinutes = "FitbitPeakHeartRateMinutes",
534
- FitbitFloors = "FitbitFloors",
535
- FitbitHrv = "FitbitHrv",
536
- FitbitRestingHeartRate = "FitbitRestingHeartRate",
537
- FitbitSleepMinutes = "FitbitSleepMinutes",
538
- FitbitLightSleepMinutes = "FitbitLightSleepMinutes",
539
- FitbitRemSleepMinutes = "FitbitRemSleepMinutes",
540
- FitbitDeepSleepMinutes = "FitbitDeepSleepMinutes",
541
- FitbitSpO2 = "FitbitSpO2",
542
- FitbitSteps = "FitbitSteps",
543
- GarminSteps = "GarminSteps",
544
- GarminDistance = "GarminDistance",
545
- GarminFloors = "GarminFloors",
546
- GarminActiveMinutes = "GarminActiveMinutes",
547
- GarminActiveCalories = "GarminActiveCalories",
548
- GarminRestingCalories = "GarminRestingCalories",
549
- GarminTotalCalories = "GarminTotalCalories",
550
- GarminRestingHeartRate = "GarminRestingHeartRate",
551
- GarminMinHeartRate = "GarminMinHeartRate",
552
- GarminMaxHeartRate = "GarminMaxHeartRate",
553
- GarminAverageHeartRate = "GarminAverageHeartRate",
554
- GarminMaxStressLevel = "GarminMaxStressLevel",
555
- GarminAverageStressLevel = "GarminAverageStressLevel",
556
- GarminTotalStressMinutes = "GarminTotalStressMinutes",
557
- GarminLowStressMinutes = "GarminLowStressMinutes",
558
- GarminMediumStressMinutes = "GarminMediumStressMinutes",
559
- GarminHighStressMinutes = "GarminHighStressMinutes",
560
- GarminTotalSleepMinutes = "GarminTotalSleepMinutes",
561
- GarminLightSleepMinutes = "GarminLightSleepMinutes",
562
- GarminDeepSleepMinutes = "GarminDeepSleepMinutes",
563
- GarminRemSleepMinutes = "GarminRemSleepMinutes",
564
- GarminAwakeMinutes = "GarminAwakeMinutes",
565
- GarminSleepScore = "GarminSleepScore",
566
- GoogleFitSteps = "GoogleFitSteps",
567
- Steps = "Steps",
568
- RestingHeartRate = "RestingHeartRate"
569
- }
570
-
571
- interface DailyDataChartProps {
572
- title?: string;
573
- intervalType?: "Week" | "Month";
574
- weekStartsOn?: WeekStartsOn;
575
- dailyDataType: string;
576
- valueConverter?(value: number): number;
577
- valueFormatter?(value: number): string;
578
- chartType: "Line" | "Bar" | "Area";
579
- options?: LineChartOptions | BarChartOptions | AreaChartOptions;
580
- hideIfNoData?: boolean;
581
- previewDataProvider?: DailyDataProvider;
582
- innerRef?: React.Ref<HTMLDivElement>;
583
- }
584
- interface LineChartOptions {
585
- lineColor?: string;
586
- domainMin?: number | "Auto";
587
- }
588
- interface BarChartOptions {
589
- barColor?: string;
590
- }
591
- interface AreaChartOptions {
592
- lineColor?: string;
593
- areaColor?: string;
594
- }
595
- declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
596
-
597
- interface DeviceDataMonthChartProps {
598
- lines: DeviceDataChartLine[];
599
- month: number;
600
- year: number;
601
- syncId?: string;
602
- title?: string;
603
- previewState?: DeviceDataMonthChartPreviewState;
604
- onDataDetected?: Function;
605
- innerRef?: React.Ref<HTMLDivElement>;
606
- }
607
- interface DeviceDataChartLine {
608
- label: string;
609
- dailyDataType: string;
610
- valueConverter?: Function;
611
- showAverage?: boolean;
612
- }
613
- type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
614
- declare function export_default$12(props: DeviceDataMonthChartProps): React.JSX.Element | null;
615
-
616
- interface DeviceDataMonthChartsProps {
617
- previewState?: DeviceDataMonthChartsPreviewState;
618
- }
619
- type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
620
- declare function export_default$11(props: DeviceDataMonthChartsProps): React.JSX.Element;
621
-
622
- interface ExternalAccountListProps {
623
- externalAccountProviderCategories?: string[];
624
- previewState?: NotificationListPreviewState$1;
625
- onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
626
- innerRef?: React.Ref<HTMLDivElement>;
627
- }
628
- type NotificationListPreviewState$1 = "Default";
629
- declare function export_default$10(props: ExternalAccountListProps): React.JSX.Element;
630
-
631
- interface ExternalAccountsLoadingIndicatorProps {
632
- previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
633
- externalAccountCategories?: string[];
634
- innerRef?: React.Ref<HTMLDivElement>;
635
- }
636
- declare function export_default$$(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
637
-
638
- interface ExternalAccountsPreviewProps {
639
- excludeProviders?: boolean;
640
- excludeHealthPlans?: boolean;
641
- excludeDeviceManufacturers?: boolean;
642
- applicationUrl: ExternalAccountsApplicationUrl;
643
- previewState?: ExternalAccountsPreviewPreviewState;
644
- innerRef?: React.Ref<HTMLDivElement>;
645
- }
646
- type ExternalAccountsApplicationUrl = "preview" | string;
647
- type ExternalAccountsPreviewPreviewState = "Default";
648
- declare function export_default$_(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
649
-
650
- type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
651
-
652
- interface FitbitDevicesProps {
653
- previewState?: ConnectedDevicesPreviewState;
654
- innerRef?: React.Ref<HTMLDivElement>;
655
- }
656
- declare function export_default$Z(props: FitbitDevicesProps): React.JSX.Element;
657
-
658
- type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
659
-
660
- interface FitbitMonthChartsProps {
661
- previewState?: MonthChartsPreviewState;
1122
+ declare function export_default$U(props: ViewHeaderProps): React.JSX.Element | null;
1123
+
1124
+ interface WeekCalendarProps {
1125
+ selectedDate?: Date;
1126
+ hideDateLabel?: boolean;
1127
+ startDate: Date;
1128
+ onDateSelected?(date: Date): void;
1129
+ loading: boolean;
1130
+ onStartDateChange?(startDate: Date): void;
1131
+ dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
662
1132
  }
663
- declare function export_default$Y(props: FitbitMonthChartsProps): React.JSX.Element;
1133
+ declare function export_default$T(props: WeekCalendarProps): React.JSX.Element;
664
1134
 
665
- interface GarminDevicesProps {
666
- previewState?: ConnectedDevicesPreviewState;
1135
+ interface InboxCompletedListItemProps {
1136
+ name: string;
1137
+ status: string;
1138
+ onClick?: () => void;
667
1139
  innerRef?: React.Ref<HTMLDivElement>;
668
1140
  }
669
- declare function export_default$X(props: GarminDevicesProps): React.JSX.Element;
1141
+ declare function export_default$S(props: InboxCompletedListItemProps): React.JSX.Element;
670
1142
 
671
- interface GarminMonthChartsProps {
672
- previewState?: MonthChartsPreviewState;
1143
+ interface InboxMessageListItemProps {
1144
+ message: InboxMessage;
1145
+ onClick: () => void;
1146
+ innerRef?: React.Ref<HTMLDivElement>;
673
1147
  }
674
- declare function export_default$W(props: GarminMonthChartsProps): React.JSX.Element;
1148
+ declare function export_default$R(props: InboxMessageListItemProps): React.JSX.Element | null;
675
1149
 
676
- type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
677
- interface HealthPreviewSectionProps {
678
- concept: HealthPreviewSectionConcept;
679
- onClick(): void;
680
- previewState?: "NoData" | "Default";
681
- indicatorPosition?: "default" | "topRight";
1150
+ interface InboxResourceDisplayProps {
1151
+ resource: InboxResource | InboxMessageResource;
1152
+ onClick: () => void;
1153
+ imageAlignment?: 'left' | 'center' | 'right';
1154
+ buttonText?: string;
682
1155
  innerRef?: React.Ref<HTMLDivElement>;
683
1156
  }
684
- declare function export_default$V(props: HealthPreviewSectionProps): React.JSX.Element | null;
1157
+ declare function export_default$Q(props: InboxResourceDisplayProps): React.JSX.Element;
685
1158
 
686
- interface LabResultsSummaryProps {
687
- previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
688
- onClick(): void;
689
- onViewTermInfo(termInfo: TermInformation): void;
1159
+ type InboxResourceImageAlignment = 'left' | 'center' | 'right';
1160
+ interface InboxResourceListItemProps {
1161
+ resource: InboxResource;
1162
+ onClick: () => void;
1163
+ imageAlignment?: InboxResourceImageAlignment;
1164
+ buttonText?: string;
690
1165
  innerRef?: React.Ref<HTMLDivElement>;
691
1166
  }
692
- declare function export_default$U(props: LabResultsSummaryProps): React.JSX.Element | null;
1167
+ declare function export_default$P(props: InboxResourceListItemProps): React.JSX.Element | null;
693
1168
 
694
- interface MedicationsListProps {
695
- previewState?: "default";
696
- onViewTermInfo(termInfo: TermInformation): void;
1169
+ type InboxSurveyVariant = 'default' | 'expanded';
1170
+ interface InboxSurveyListItemProps {
1171
+ survey: InboxSurvey;
1172
+ onClick: () => void;
1173
+ variant?: InboxSurveyVariant;
1174
+ surveyActive?: boolean;
697
1175
  innerRef?: React.Ref<HTMLDivElement>;
698
1176
  }
699
- declare function export_default$T(props: MedicationsListProps): React.JSX.Element;
1177
+ declare function export_default$O(props: InboxSurveyListItemProps): React.JSX.Element | null;
700
1178
 
701
- interface MostRecentNotificationProps {
702
- notificationType?: NotificationType;
703
- onViewMore?: Function;
704
- hideAfterHours?: number;
705
- previewState?: MostRecentNotificationPreviewState;
1179
+ type InboxItemListPreviewState = 'no items' | 'incomplete message' | 'incomplete survey' | 'incomplete resource' | 'incomplete items' | 'complete items';
1180
+
1181
+ interface InboxItemListProps {
1182
+ previewState?: InboxItemListPreviewState;
1183
+ title?: string;
1184
+ type?: InboxItemType | InboxItemType[];
1185
+ status?: InboxItemStatus | InboxItemStatus[];
1186
+ category?: string;
1187
+ sortOrder?: SortOrder;
1188
+ sortColumn?: InboxItemSortColumn;
1189
+ endsAfter?: string;
1190
+ endsBefore?: string;
1191
+ limit?: number;
1192
+ messageViewerUrl?: string;
1193
+ emptyText?: string;
1194
+ showTitleWhenEmpty?: boolean;
1195
+ surveyVariant?: InboxSurveyVariant;
1196
+ resourceImageAlignment?: InboxResourceImageAlignment;
1197
+ hideLoadingIndicator?: boolean;
1198
+ onItemsLoaded?: (items: InboxItem[]) => void;
1199
+ syncOnChanges?: boolean;
706
1200
  innerRef?: React.Ref<HTMLDivElement>;
707
1201
  }
708
- type MostRecentNotificationPreviewState = "Default";
709
- declare function export_default$S(props: MostRecentNotificationProps): React.JSX.Element | null;
1202
+ declare function export_default$N(props: InboxItemListProps): React.JSX.Element;
710
1203
 
711
- interface NotificationListProps {
712
- notificationType?: NotificationType;
713
- previewState?: NotificationListPreviewState;
1204
+ interface InboxItemListCoordinatorProps {
1205
+ children: React.ReactNode;
714
1206
  innerRef?: React.Ref<HTMLDivElement>;
715
1207
  }
716
- type NotificationListPreviewState = "Default" | "NoData";
717
- declare function export_default$R(props: NotificationListProps): React.JSX.Element;
1208
+ declare function export_default$M(props: InboxItemListCoordinatorProps): React.JSX.Element;
718
1209
 
719
- interface PlatformSpecificContentProps {
720
- platforms: string[];
721
- children?: React.ReactNode;
722
- previewDevicePlatform?: string;
723
- innerRef?: React.Ref<HTMLDivElement>;
1210
+ interface CelebrationStepProps {
1211
+ title?: string;
1212
+ text?: string;
1213
+ detailText?: string;
1214
+ iconUrl?: string;
1215
+ imageUrl?: string;
1216
+ nextButtonText?: string;
1217
+ styles: {
1218
+ [key: string]: any;
1219
+ };
724
1220
  }
725
- declare function export_default$Q(props: PlatformSpecificContentProps): React.JSX.Element | null;
1221
+ declare function export_default$L(props: CelebrationStepProps): React.JSX.Element;
726
1222
 
727
- interface ProjectHeaderProps {
728
- previewState?: ProjectHeaderPropsPreviewState;
729
- innerRef?: React.Ref<HTMLDivElement>;
1223
+ declare function export_default$K(): React.JSX.Element;
1224
+
1225
+ interface ConnectDeviceAccountStepProps {
1226
+ title?: string;
1227
+ text?: string;
1228
+ deviceType: string;
1229
+ providerID: number;
1230
+ styles: {
1231
+ [key: string]: any;
1232
+ };
1233
+ onConnect: () => void;
730
1234
  }
731
- type ProjectHeaderPropsPreviewState = "Default";
732
- declare function export_default$P(props: ProjectHeaderProps): React.JSX.Element;
1235
+ declare function export_default$J(props: ConnectDeviceAccountStepProps): React.JSX.Element;
733
1236
 
734
- interface ProjectSupportProps {
735
- previewState?: ProjectSupportPropsPreviewState;
736
- innerRef?: React.Ref<HTMLDivElement>;
1237
+ interface ConnectDeviceAccountStepContainerProps {
1238
+ deviceType?: string;
737
1239
  }
738
- type ProjectSupportPropsPreviewState = "Default";
739
- declare function export_default$O(props: ProjectSupportProps): React.JSX.Element | null;
1240
+ declare function export_default$I(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
740
1241
 
741
- interface ProviderSearchProps {
1242
+ interface ConnectEhrStepProps {
1243
+ title?: string;
1244
+ text?: string;
1245
+ nextButtonText?: string;
1246
+ nextButtonDisabled?: boolean;
742
1247
  previewState?: ProviderSearchPreviewState;
743
- providerCategories?: string[];
744
- onProviderConnected?: (provider: ExternalAccountProvider) => void;
745
- innerRef?: React.Ref<HTMLDivElement>;
1248
+ onProviderConnected: (provider: ExternalAccountProvider) => void;
1249
+ onNextButtonClick: () => void;
1250
+ styles: {
1251
+ [key: string]: any;
1252
+ };
746
1253
  }
747
- type ProviderSearchPreviewState = "Default";
748
- declare function export_default$N(props: ProviderSearchProps): React.JSX.Element;
1254
+ declare function export_default$H(props: ConnectEhrStepProps): React.JSX.Element;
749
1255
 
750
- interface RelativeActivityTodayProps {
751
- dataTypes: RelativeActivityDataType[];
752
- previewState?: "Default";
753
- title?: string;
754
- innerRef?: React.Ref<HTMLDivElement>;
1256
+ declare function export_default$G(): React.JSX.Element;
1257
+
1258
+ interface StepElementProps {
1259
+ text?: string;
1260
+ textAlign?: any;
1261
+ color?: string;
1262
+ fontSize?: string;
1263
+ fontWeight?: string;
755
1264
  }
756
- interface RelativeActivityDataType {
757
- dailyDataType: string;
758
- label: string;
759
- icon: React.ReactElement;
760
- color: string;
761
- formatter: (number: number) => string;
1265
+ interface IconElementProps {
1266
+ srcUrl?: string;
762
1267
  }
763
- declare function export_default$M(props: RelativeActivityTodayProps): React.JSX.Element | null;
764
1268
 
765
- type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
766
- interface RestingHeartRateCalendarProps {
767
- month: number;
768
- year: number;
769
- showPreviewData: RestingHeartRateCalendarPreviewState;
770
- innerRef?: React.Ref<HTMLDivElement>;
1269
+ declare function export_default$F(props: StepElementProps): React.JSX.Element | null;
1270
+
1271
+ declare function export_default$E(props: IconElementProps): React.JSX.Element | null;
1272
+
1273
+ declare function export_default$D(props: IconElementProps): React.JSX.Element | null;
1274
+
1275
+ interface StepLayoutProps {
1276
+ children?: React.ReactNode;
771
1277
  }
772
- declare function export_default$L(props: RestingHeartRateCalendarProps): React.JSX.Element;
1278
+ declare function export_default$C(props: StepLayoutProps): React.JSX.Element;
773
1279
 
774
- interface SurveyTaskListProps {
775
- status: SurveyTaskStatus;
776
- limit?: number;
777
- title?: string;
778
- surveys?: string[];
779
- onDetailLinkClick?: Function;
780
- previewState?: SurveyTaskListListPreviewState;
781
- variant?: "noCard" | "singleCard" | "multiCard";
782
- innerRef?: React.Ref<HTMLDivElement>;
783
- titleColor?: ColorDefinition;
784
- cardBackgroundColor?: ColorDefinition;
785
- cardStyle?: React.CSSProperties;
786
- buttonVariant?: ButtonVariant;
787
- buttonColor?: ColorDefinition;
1280
+ interface StepMarkdownProps {
1281
+ text: string;
1282
+ inline?: boolean;
788
1283
  }
789
- type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
790
- declare function export_default$K(props: SurveyTaskListProps): React.JSX.Element | null;
1284
+ declare function export_default$B(props: StepMarkdownProps): React.JSX.Element;
791
1285
 
792
- interface ViewEhrProps {
1286
+ interface StepNextButtonProps extends StepElementProps {
1287
+ backgroundColor: string;
1288
+ letterSpacing: string;
1289
+ textTransform: string;
1290
+ gradient: any;
1291
+ disabled?: boolean;
793
1292
  onClick(): void;
1293
+ }
1294
+ declare function export_default$A(props: StepNextButtonProps): React.JSX.Element;
1295
+
1296
+ declare function export_default$z(props: StepElementProps): React.JSX.Element | null;
1297
+
1298
+ declare function export_default$y(props: StepElementProps): React.JSX.Element | null;
1299
+
1300
+ interface YouTubeStepProps {
794
1301
  title?: string;
795
- innerRef?: React.Ref<HTMLDivElement>;
796
- previewState?: "fetchComplete" | "fetchingData";
797
- buttonColor?: ColorDefinition;
798
- buttonVariant?: ButtonVariant;
1302
+ text?: string;
1303
+ transcript?: string;
1304
+ videoId: string;
1305
+ nextButtonText?: string;
1306
+ height?: string;
1307
+ styles: {
1308
+ [key: string]: any;
1309
+ };
799
1310
  }
800
- declare function export_default$J(props: ViewEhrProps): React.JSX.Element | null;
1311
+ declare function export_default$x(props: YouTubeStepProps): React.JSX.Element;
1312
+
1313
+ declare function export_default$w(): React.JSX.Element;
801
1314
 
802
1315
  interface SymptomSharkCalendarProps {
803
1316
  intervalStart?: Date;
804
1317
  onDaySelected(day: Date): void;
805
1318
  innerRef?: React.Ref<HTMLDivElement>;
806
1319
  }
807
- declare function export_default$I(props: SymptomSharkCalendarProps): React.JSX.Element;
1320
+ declare function export_default$v(props: SymptomSharkCalendarProps): React.JSX.Element;
808
1321
 
809
1322
  interface OverallExperienceChartProps {
810
1323
  intervalStart?: Date;
811
1324
  showAllDays?: boolean;
812
1325
  innerRef?: React.Ref<HTMLDivElement>;
813
1326
  }
814
- declare function export_default$H(props: OverallExperienceChartProps): React.JSX.Element | null;
1327
+ declare function export_default$u(props: OverallExperienceChartProps): React.JSX.Element | null;
815
1328
 
816
1329
  interface SymptomSharkDataService {
817
1330
  getConfiguration(): Promise<SymptomSharkConfiguration>;
@@ -869,21 +1382,21 @@ interface SymptomSharkLogEntryProps {
869
1382
  highlightedTreatments?: string[];
870
1383
  innerRef?: React.Ref<HTMLDivElement>;
871
1384
  }
872
- declare function export_default$G(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
1385
+ declare function export_default$t(props: SymptomSharkLogEntryProps): React.JSX.Element | null;
873
1386
 
874
1387
  interface SymptomTreatmentHistogramsProps {
875
1388
  intervalStart?: Date;
876
1389
  onSymptomSelected(symptom: string, intervalStart: Date): void;
877
1390
  innerRef?: React.Ref<HTMLDivElement>;
878
1391
  }
879
- declare function export_default$F(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
1392
+ declare function export_default$s(props: SymptomTreatmentHistogramsProps): React.JSX.Element | null;
880
1393
 
881
1394
  interface SymptomSeveritySummaryProps {
882
1395
  symptom: SymptomConfiguration;
883
1396
  intervalStart?: Date;
884
1397
  innerRef?: React.Ref<HTMLDivElement>;
885
1398
  }
886
- declare function export_default$E(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
1399
+ declare function export_default$r(props: SymptomSeveritySummaryProps): React.JSX.Element | null;
887
1400
 
888
1401
  interface SymptomSeverityChartProps {
889
1402
  intervalStart?: Date;
@@ -891,7 +1404,7 @@ interface SymptomSeverityChartProps {
891
1404
  showAllDays?: boolean;
892
1405
  innerRef?: React.Ref<HTMLDivElement>;
893
1406
  }
894
- declare function export_default$D(props: SymptomSeverityChartProps): React.JSX.Element | null;
1407
+ declare function export_default$q(props: SymptomSeverityChartProps): React.JSX.Element | null;
895
1408
 
896
1409
  interface SymptomTreatmentFiltersProps {
897
1410
  expandedDropdown: "Symptoms" | "Treatments" | null;
@@ -903,28 +1416,28 @@ interface SymptomTreatmentFiltersProps {
903
1416
  onTreatmentsSelectionChange(treatments: string[]): void;
904
1417
  innerRef?: React.Ref<HTMLDivElement>;
905
1418
  }
906
- declare function export_default$C(props: SymptomTreatmentFiltersProps): React.JSX.Element;
1419
+ declare function export_default$p(props: SymptomTreatmentFiltersProps): React.JSX.Element;
907
1420
 
908
1421
  interface SymptomSharkLogEntryListProps {
909
1422
  onDaySelected(d: Date): void;
910
1423
  previewState?: "default";
911
1424
  innerRef?: React.Ref<HTMLDivElement>;
912
1425
  }
913
- declare function export_default$B(props: SymptomSharkLogEntryListProps): React.JSX.Element;
1426
+ declare function export_default$o(props: SymptomSharkLogEntryListProps): React.JSX.Element;
914
1427
 
915
1428
  interface SymptomSharkLogTodayProps {
916
1429
  previewState?: "withLog" | "noLog";
917
1430
  innerRef?: React.Ref<HTMLDivElement>;
918
1431
  onClick(d: Date): void;
919
1432
  }
920
- declare function export_default$A(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
1433
+ declare function export_default$n(props: SymptomSharkLogTodayProps): React.JSX.Element | null;
921
1434
 
922
1435
  interface SymptomSharkLogEntryEditProps {
923
1436
  date: Date;
924
1437
  promptForReviewAfterDays?: number;
925
1438
  previewState?: "default";
926
1439
  }
927
- declare function export_default$z(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
1440
+ declare function export_default$m(props: SymptomSharkLogEntryEditProps): React.JSX.Element;
928
1441
 
929
1442
  interface SymptomSharkVisualizationCoordinatorProps {
930
1443
  children: React.ReactNode;
@@ -932,7 +1445,7 @@ interface SymptomSharkVisualizationCoordinatorProps {
932
1445
  previewState?: "default";
933
1446
  innerRef?: React.Ref<HTMLDivElement>;
934
1447
  }
935
- declare function export_default$y(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
1448
+ declare function export_default$l(props: SymptomSharkVisualizationCoordinatorProps): React.JSX.Element;
936
1449
 
937
1450
  interface CalendarViewProps {
938
1451
  colorScheme?: "light" | "dark" | "auto";
@@ -940,7 +1453,7 @@ interface CalendarViewProps {
940
1453
  onSymptomSelected(symptom: string, intervalStart: Date): void;
941
1454
  previewState?: "default";
942
1455
  }
943
- declare function export_default$x(props: CalendarViewProps): React.JSX.Element;
1456
+ declare function export_default$k(props: CalendarViewProps): React.JSX.Element;
944
1457
 
945
1458
  interface LogEntryEditViewProps {
946
1459
  colorScheme?: "light" | "dark" | "auto";
@@ -948,7 +1461,7 @@ interface LogEntryEditViewProps {
948
1461
  promptForReviewAfterDays?: number;
949
1462
  previewState?: "default";
950
1463
  }
951
- declare function export_default$w(props: LogEntryEditViewProps): React.JSX.Element;
1464
+ declare function export_default$j(props: LogEntryEditViewProps): React.JSX.Element;
952
1465
 
953
1466
  interface SymptomDetailViewProps {
954
1467
  symptomId: string;
@@ -956,13 +1469,13 @@ interface SymptomDetailViewProps {
956
1469
  previewState?: "default";
957
1470
  initialIntervalStart?: Date;
958
1471
  }
959
- declare function export_default$v(props: SymptomDetailViewProps): React.JSX.Element;
1472
+ declare function export_default$i(props: SymptomDetailViewProps): React.JSX.Element;
960
1473
 
961
1474
  interface AllergiesViewProps {
962
1475
  presentation?: "Push" | "Modal";
963
1476
  previewState?: "default";
964
1477
  }
965
- declare function export_default$u(props: AllergiesViewProps): React.JSX.Element;
1478
+ declare function export_default$h(props: AllergiesViewProps): React.JSX.Element;
966
1479
 
967
1480
  interface BlankViewProps {
968
1481
  children?: React.ReactNode;
@@ -977,13 +1490,13 @@ interface BlankViewProps {
977
1490
  subtitleColor?: ColorDefinition;
978
1491
  navigationBarButtonColor?: ColorDefinition;
979
1492
  }
980
- declare function export_default$t(props: BlankViewProps): React.JSX.Element;
1493
+ declare function export_default$g(props: BlankViewProps): React.JSX.Element;
981
1494
 
982
1495
  interface ConditionsViewProps {
983
1496
  presentation?: "Push" | "Modal";
984
1497
  previewState?: "default";
985
1498
  }
986
- declare function export_default$s(props: ConditionsViewProps): React.JSX.Element;
1499
+ declare function export_default$f(props: ConditionsViewProps): React.JSX.Element;
987
1500
 
988
1501
  interface ConnectEhrViewProps {
989
1502
  externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
@@ -994,13 +1507,13 @@ interface ConnectEhrViewProps {
994
1507
  colorScheme?: "auto" | "light" | "dark";
995
1508
  }
996
1509
  type ViewPresentationType$3 = "Modal" | "Push";
997
- declare function export_default$r(props: ConnectEhrViewProps): React.JSX.Element;
1510
+ declare function export_default$e(props: ConnectEhrViewProps): React.JSX.Element;
998
1511
 
999
1512
  interface DeviceDataViewProps {
1000
1513
  preview?: boolean;
1001
1514
  colorScheme?: "auto" | "light" | "dark";
1002
1515
  }
1003
- declare function export_default$q(props: DeviceDataViewProps): React.JSX.Element;
1516
+ declare function export_default$d(props: DeviceDataViewProps): React.JSX.Element;
1004
1517
 
1005
1518
  interface ExternalAccountsViewProps {
1006
1519
  excludeProviders?: boolean;
@@ -1011,7 +1524,7 @@ interface ExternalAccountsViewProps {
1011
1524
  colorScheme?: "auto" | "light" | "dark";
1012
1525
  }
1013
1526
  type ViewPresentationType$2 = "Modal" | "Push";
1014
- declare function export_default$p(props: ExternalAccountsViewProps): React.JSX.Element;
1527
+ declare function export_default$c(props: ExternalAccountsViewProps): React.JSX.Element;
1015
1528
 
1016
1529
  interface FitbitViewProps {
1017
1530
  connectPreview?: ConnectFitbitPreviewState;
@@ -1019,7 +1532,7 @@ interface FitbitViewProps {
1019
1532
  chartsPreview?: MonthChartsPreviewState;
1020
1533
  colorScheme?: "auto" | "light" | "dark";
1021
1534
  }
1022
- declare function export_default$o(props: FitbitViewProps): React.JSX.Element;
1535
+ declare function export_default$b(props: FitbitViewProps): React.JSX.Element;
1023
1536
 
1024
1537
  interface GarminViewProps {
1025
1538
  connectPreview?: ConnectGarminPreviewState;
@@ -1027,7 +1540,7 @@ interface GarminViewProps {
1027
1540
  chartsPreview?: MonthChartsPreviewState;
1028
1541
  garminProviderID?: number;
1029
1542
  }
1030
- declare function export_default$n(props: GarminViewProps): React.JSX.Element;
1543
+ declare function export_default$a(props: GarminViewProps): React.JSX.Element;
1031
1544
 
1032
1545
  interface HomeViewProps {
1033
1546
  /**
@@ -1046,7 +1559,7 @@ interface HomeViewProps {
1046
1559
  preview?: boolean;
1047
1560
  colorScheme?: "auto" | "light" | "dark";
1048
1561
  }
1049
- declare function export_default$m(props: HomeViewProps): React.JSX.Element;
1562
+ declare function export_default$9(props: HomeViewProps): React.JSX.Element;
1050
1563
 
1051
1564
  interface HealthAndWellnessViewProps {
1052
1565
  previewState?: "default";
@@ -1055,13 +1568,13 @@ interface HealthAndWellnessViewProps {
1055
1568
  externalAccountsApplicationUrl: string;
1056
1569
  variant?: "default" | "cardBased";
1057
1570
  }
1058
- declare function export_default$l(props: HealthAndWellnessViewProps): React.JSX.Element;
1571
+ declare function export_default$8(props: HealthAndWellnessViewProps): React.JSX.Element;
1059
1572
 
1060
1573
  interface MedicationsViewProps {
1061
1574
  presentation?: "Push" | "Modal";
1062
1575
  previewState?: "default";
1063
1576
  }
1064
- declare function export_default$k(props: MedicationsViewProps): React.JSX.Element;
1577
+ declare function export_default$7(props: MedicationsViewProps): React.JSX.Element;
1065
1578
 
1066
1579
  interface NotificationsViewProps {
1067
1580
  notificationType?: NotificationType;
@@ -1070,7 +1583,7 @@ interface NotificationsViewProps {
1070
1583
  colorScheme?: "auto" | "light" | "dark";
1071
1584
  }
1072
1585
  type ViewPresentationType$1 = "Modal" | "Push";
1073
- declare function export_default$j(props: NotificationsViewProps): React.JSX.Element;
1586
+ declare function export_default$6(props: NotificationsViewProps): React.JSX.Element;
1074
1587
 
1075
1588
  interface SurveyTasksViewProps {
1076
1589
  hideCompleteTasks?: boolean;
@@ -1081,7 +1594,7 @@ interface SurveyTasksViewProps {
1081
1594
  colorScheme?: "auto" | "light" | "dark";
1082
1595
  }
1083
1596
  type ViewPresentationType = "Modal" | "Push";
1084
- declare function export_default$i(props: SurveyTasksViewProps): React.JSX.Element;
1597
+ declare function export_default$5(props: SurveyTasksViewProps): React.JSX.Element;
1085
1598
 
1086
1599
  interface NewPointsEntry {
1087
1600
  name: string;
@@ -1099,113 +1612,33 @@ interface NewPointsViewProps {
1099
1612
  primaryColor?: string;
1100
1613
  doneButtonText?: string;
1101
1614
  }
1102
- declare function export_default$h(props: NewPointsViewProps): React.JSX.Element;
1615
+ declare function export_default$4(props: NewPointsViewProps): React.JSX.Element;
1103
1616
  declare function showNewPoints(props: NewPointsViewProps, url?: string): void;
1104
1617
 
1105
- interface CelebrationStepProps {
1106
- title?: string;
1107
- text?: string;
1108
- detailText?: string;
1109
- iconUrl?: string;
1110
- imageUrl?: string;
1111
- nextButtonText?: string;
1112
- styles: {
1113
- [key: string]: any;
1114
- };
1115
- }
1116
- declare function export_default$g(props: CelebrationStepProps): React.JSX.Element;
1117
-
1118
- declare function export_default$f(): React.JSX.Element;
1119
-
1120
- interface ConnectDeviceAccountStepProps {
1121
- title?: string;
1122
- text?: string;
1123
- deviceType: string;
1124
- providerID: number;
1125
- styles: {
1126
- [key: string]: any;
1127
- };
1128
- onConnect: () => void;
1129
- }
1130
- declare function export_default$e(props: ConnectDeviceAccountStepProps): React.JSX.Element;
1131
-
1132
- interface ConnectDeviceAccountStepContainerProps {
1133
- deviceType?: string;
1134
- }
1135
- declare function export_default$d(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
1136
-
1137
- interface ConnectEhrStepProps {
1138
- title?: string;
1139
- text?: string;
1140
- nextButtonText?: string;
1141
- nextButtonDisabled?: boolean;
1142
- previewState?: ProviderSearchPreviewState;
1143
- onProviderConnected: (provider: ExternalAccountProvider) => void;
1144
- onNextButtonClick: () => void;
1145
- styles: {
1146
- [key: string]: any;
1147
- };
1148
- }
1149
- declare function export_default$c(props: ConnectEhrStepProps): React.JSX.Element;
1150
-
1151
- declare function export_default$b(): React.JSX.Element;
1152
-
1153
- interface StepElementProps {
1154
- text?: string;
1155
- textAlign?: any;
1156
- color?: string;
1157
- fontSize?: string;
1158
- fontWeight?: string;
1159
- }
1160
- interface IconElementProps {
1161
- srcUrl?: string;
1162
- }
1163
-
1164
- declare function export_default$a(props: StepElementProps): React.JSX.Element | null;
1165
-
1166
- declare function export_default$9(props: IconElementProps): React.JSX.Element | null;
1167
-
1168
- declare function export_default$8(props: IconElementProps): React.JSX.Element | null;
1169
-
1170
- interface StepLayoutProps {
1171
- children?: React.ReactNode;
1172
- }
1173
- declare function export_default$7(props: StepLayoutProps): React.JSX.Element;
1174
-
1175
- interface StepMarkdownProps {
1176
- text: string;
1177
- inline?: boolean;
1618
+ interface InboxViewProps {
1619
+ previewState?: 'default';
1620
+ colorScheme?: 'auto' | 'light' | 'dark';
1621
+ surveyVariant?: InboxSurveyVariant;
1622
+ resourceImageAlignment?: InboxResourceImageAlignment;
1623
+ messageViewerUrl: string;
1624
+ historyViewerUrl: string;
1178
1625
  }
1179
- declare function export_default$6(props: StepMarkdownProps): React.JSX.Element;
1626
+ declare function export_default$3(props: InboxViewProps): React.JSX.Element;
1180
1627
 
1181
- interface StepNextButtonProps extends StepElementProps {
1182
- backgroundColor: string;
1183
- letterSpacing: string;
1184
- textTransform: string;
1185
- gradient: any;
1186
- disabled?: boolean;
1187
- onClick(): void;
1628
+ interface InboxHistoryViewProps {
1629
+ previewState?: 'default';
1630
+ colorScheme?: 'light' | 'dark' | 'auto';
1631
+ messageViewerUrl: string;
1188
1632
  }
1189
- declare function export_default$5(props: StepNextButtonProps): React.JSX.Element;
1190
-
1191
- declare function export_default$4(props: StepElementProps): React.JSX.Element | null;
1192
-
1193
- declare function export_default$3(props: StepElementProps): React.JSX.Element | null;
1633
+ declare function export_default$2(props: InboxHistoryViewProps): React.JSX.Element;
1194
1634
 
1195
- interface YouTubeStepProps {
1196
- title?: string;
1197
- text?: string;
1198
- transcript?: string;
1199
- videoId: string;
1200
- nextButtonText?: string;
1201
- height?: string;
1202
- styles: {
1203
- [key: string]: any;
1204
- };
1635
+ interface InboxMessageViewProps {
1636
+ previewState?: InboxMessage;
1637
+ colorScheme?: 'light' | 'dark' | 'auto';
1638
+ resourceImageAlignment?: 'left' | 'center' | 'right';
1639
+ resourceButtonText?: string;
1205
1640
  }
1206
- declare function export_default$2(props: YouTubeStepProps): React.JSX.Element;
1207
-
1208
- declare function export_default$1(): React.JSX.Element;
1641
+ declare function export_default$1(props: InboxMessageViewProps): React.JSX.Element;
1209
1642
 
1210
1643
  declare function export_default(callback: Function, delay: number | null): void;
1211
1644
 
@@ -1213,4 +1646,6 @@ declare function language(key: string): string;
1213
1646
 
1214
1647
  declare function getDayKey(date: Date): string;
1215
1648
 
1216
- export { export_default$1D as Action, export_default$1C as ActivityMeter, export_default$19 as AllergiesList, export_default$u as AllergiesView, export_default$18 as AppDownload, AreaChartOptions, BarChartOptions, export_default$t as BlankView, export_default$1B as Button, export_default$1A as Calendar, export_default$1z as CalendarDay, CalendarDayStateConfiguration, export_default$1y as Card, export_default$1x as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, ColorDefinition, export_default$17 as ConditionsList, export_default$s as ConditionsView, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$16 as ConnectDevicesMenu, export_default$15 as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$r as ConnectEhrView, export_default$14 as ConnectFitbit, export_default$13 as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1w as DateRangeNavigator, export_default$1v as DayTrackerSymbol, DeviceDataChartLine, export_default$12 as DeviceDataMonthChart, export_default$11 as DeviceDataMonthCharts, export_default$q as DeviceDataView, export_default$10 as ExternalAccountList, export_default$$ as ExternalAccountsLoadingIndicator, export_default$_ as ExternalAccountsPreview, export_default$p as ExternalAccountsView, export_default$1u as Face, export_default$Z as FitbitDevices, export_default$Y as FitbitMonthCharts, export_default$o as FitbitView, export_default$X as GarminDevices, export_default$W as GarminMonthCharts, export_default$n as GarminView, export_default$l as HealthAndWellnessView, export_default$V as HealthPreviewSection, export_default$1t as Histogram, export_default$m as HomeView, export_default$U as LabResultsSummary, export_default$1s as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$T as MedicationsList, export_default$k as MedicationsView, export_default$S as MostRecentNotification, export_default$1r as NavigationBar, NewPointsEntry, export_default$h as NewPointsView, NewPointsViewProps, export_default$1q as NotesInput, export_default$R as NotificationList, export_default$j as NotificationsView, export_default$Q as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$1p as ProgressRing, export_default$P as ProjectHeader, export_default$O as ProjectSupport, export_default$N as ProviderSearch, export_default$M as RelativeActivityToday, export_default$L as RestingHeartRateCalendar, export_default$1o as Section, export_default$1n as SegmentedControl, export_default$1m as ShinyOverlay, export_default$1l as SingleExternalAccount, export_default$1k as SingleNotification, export_default$1j as SingleSurveyTask, export_default$1i as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$a as StepDetailText, export_default$8 as StepImage, export_default$9 as StepImageIcon, export_default$7 as StepLayout, export_default$6 as StepMarkdown, export_default$5 as StepNextButton, export_default$4 as StepText, export_default$3 as StepTitle, export_default$K as SurveyTaskList, export_default$i as SurveyTasksView, export_default$1h as Switch, SymptomConfiguration, SymptomReference, export_default$I as SymptomSharkCalendar, export_default$x as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$G as SymptomSharkLogEntry, export_default$z as SymptomSharkLogEntryEdit, export_default$w as SymptomSharkLogEntryEditView, export_default$B as SymptomSharkLogEntryList, export_default$A as SymptomSharkLogToday, export_default$H as SymptomSharkOverallExperienceChart, export_default$v as SymptomSharkSymptomDetailView, export_default$D as SymptomSharkSymptomSeverityChart, export_default$E as SymptomSharkSymptomSeveritySummary, export_default$C as SymptomSharkSymptomTreatmentFilters, export_default$F as SymptomSharkSymptomTreatmentHistograms, export_default$y as SymptomSharkVisualizationCoordinator, export_default$1g as TextBlock, export_default$1f as Title, export_default$1e as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$1d as UnstyledButton, export_default$1c as ValueSelector, export_default$J as ViewEhr, export_default$1b as ViewHeader, export_default$1a as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, convertToSymptomSharkConfiguration, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, export_default as useInterval };
1649
+ declare function useInitializeView(initialize: () => void, additionalEvents?: EventName[], dependencies?: DependencyList): void;
1650
+
1651
+ export { export_default$1l as Action, export_default$1k as ActivityMeter, export_default$1S as AllergiesList, export_default$h as AllergiesView, export_default$1R as AppDownload, AreaChartOptions, export_default$1Z as AsthmaActivityView, export_default$29 as AsthmaAirQualities, AsthmaAirQualitiesPreviewState, AsthmaAirQuality, AsthmaAirQualityType, export_default$1Y as AsthmaAirQualityView, export_default$28 as AsthmaAlertTakeoverNotice, export_default$27 as AsthmaAlertTakeoverTrigger, export_default$1X as AsthmaAlertTakeoverView, AsthmaBiometric, AsthmaBiometricType, export_default$26 as AsthmaBiometrics, AsthmaBiometricsPreviewState, export_default$25 as AsthmaControlCalendar, AsthmaControlCalendarVariant, AsthmaControlMetrics, AsthmaControlState, AsthmaControlStatus, export_default$24 as AsthmaControlStatusHeader, AsthmaDataStatus, export_default$23 as AsthmaDataSummary, export_default$1W as AsthmaDayView, AsthmaDayViewPreviewState, export_default$22 as AsthmaFacts, export_default$1V as AsthmaHeartAndLungsView, AsthmaLogEntry, export_default$21 as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState, export_default$1U as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState, export_default$20 as AsthmaLogEntryHeader, export_default$1$ as AsthmaLogEntrySummary, AsthmaParticipant, export_default$1_ as AsthmaPostEnrollmentSurveyTrigger, export_default$1T as AsthmaSleepView, AsthmaSymptomLevel, BarChartOptions, export_default$g as BlankView, BloodPressureDataPoint, export_default$1P as BloodPressureVisualization, export_default$1p as Button, export_default$1j as Calendar, export_default$1i as CalendarDay, CalendarDayStateConfiguration, export_default$1h as Card, export_default$1g as CardTitle, export_default$L as CelebrationStep, export_default$K as CelebrationStepContainer, ColorDefinition, export_default$1O as ConditionsList, export_default$f as ConditionsView, export_default$J as ConnectDeviceAccountStep, export_default$I as ConnectDeviceAccountStepContainer, export_default$1N as ConnectDevicesMenu, export_default$1M as ConnectEhr, export_default$H as ConnectEhrStep, export_default$G as ConnectEhrStepContainer, export_default$e as ConnectEhrView, export_default$1L as ConnectFitbit, export_default$1K as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1f as DateRangeNavigator, export_default$1e as DayTrackerSymbol, DeviceDataChartLine, export_default$1J as DeviceDataMonthChart, export_default$1I as DeviceDataMonthCharts, export_default$d as DeviceDataView, export_default$1d as DumbbellChart, export_default$1H as ExternalAccountList, export_default$1G as ExternalAccountsLoadingIndicator, export_default$1F as ExternalAccountsPreview, export_default$c as ExternalAccountsView, export_default$1c as Face, export_default$1E as FitbitDevices, export_default$1D as FitbitMonthCharts, export_default$b as FitbitView, export_default$1C as GarminDevices, export_default$1B as GarminMonthCharts, export_default$a as GarminView, export_default$8 as HealthAndWellnessView, export_default$1A as HealthPreviewSection, export_default$1b as Histogram, export_default$9 as HomeView, export_default$S as InboxCompletedListItem, export_default$2 as InboxHistoryView, export_default$N as InboxItemList, export_default$M as InboxItemListCoordinator, export_default$R as InboxMessageListItem, export_default$1 as InboxMessageView, export_default$Q as InboxResourceDisplay, InboxResourceImageAlignment, export_default$P as InboxResourceListItem, export_default$O as InboxSurveyListItem, InboxSurveyVariant, export_default$3 as InboxView, export_default$1z as LabResultsSummary, export_default$1a as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$1y as MedicationsList, export_default$7 as MedicationsView, export_default$1x as MostRecentNotification, export_default$19 as NavigationBar, NewPointsEntry, export_default$4 as NewPointsView, NewPointsViewProps, export_default$18 as NotesInput, export_default$1w as NotificationList, export_default$6 as NotificationsView, export_default$1v as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$17 as ProgressRing, export_default$1u as ProjectHeader, export_default$1t as ProjectSupport, export_default$1s as ProviderSearch, export_default$1r as RelativeActivityToday, export_default$1q as RestingHeartRateCalendar, export_default$16 as RotatingText, RotatingTextEntry, export_default$15 as Section, export_default$14 as SegmentedControl, export_default$1n as SeverityCalendar, export_default$13 as ShinyOverlay, export_default$12 as SingleExternalAccount, export_default$11 as SingleNotification, export_default$10 as SingleSurveyTask, export_default$$ as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$F as StepDetailText, export_default$D as StepImage, export_default$E as StepImageIcon, export_default$C as StepLayout, export_default$B as StepMarkdown, export_default$A as StepNextButton, export_default$z as StepText, export_default$y as StepTitle, SurveyBloodPressureDataParameters, export_default$1o as SurveyTaskList, export_default$5 as SurveyTasksView, export_default$_ as Switch, SymptomConfiguration, SymptomReference, export_default$v as SymptomSharkCalendar, export_default$k as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$t as SymptomSharkLogEntry, export_default$m as SymptomSharkLogEntryEdit, export_default$j as SymptomSharkLogEntryEditView, export_default$o as SymptomSharkLogEntryList, export_default$n as SymptomSharkLogToday, export_default$u as SymptomSharkOverallExperienceChart, export_default$i as SymptomSharkSymptomDetailView, export_default$q as SymptomSharkSymptomSeverityChart, export_default$r as SymptomSharkSymptomSeveritySummary, export_default$p as SymptomSharkSymptomTreatmentFilters, export_default$s as SymptomSharkSymptomTreatmentHistograms, export_default$l as SymptomSharkVisualizationCoordinator, export_default$Z as TextBlock, export_default$Y as Title, export_default$X as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$W as UnstyledButton, export_default$V as ValueSelector, export_default$1m as ViewEhr, export_default$U as ViewHeader, export_default$T as WeekCalendar, WeekStartsOn, export_default$x as YouTubeStep, export_default$w as YouTubeStepContainer, service as asthmaDataService, export_default$1Q as bloodPressureDataProvider, checkDailyDataAvailability, computeAsthmaControlState, convertToSymptomSharkConfiguration, dateToAsthmaLogEntryIdentifier, getAsthmaDataStatusText, getAsthmaSymptomLevel, getAsthmaSymptomLevelValue, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, simpleAvailabilityCheck, useInitializeView, export_default as useInterval };