@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
@@ -0,0 +1,149 @@
1
+ import React from "react";
2
+ import RotatingText, { RotatingTextProps } from "./RotatingText";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof RotatingText;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Day1: {
12
+ args: {
13
+ interval: string;
14
+ entryTitlePrefix: string;
15
+ entries: {
16
+ title: string;
17
+ text: string;
18
+ }[];
19
+ startDate: Date;
20
+ };
21
+ render: (args: RotatingTextProps) => React.JSX.Element;
22
+ };
23
+ export declare const Day2: {
24
+ args: {
25
+ interval: string;
26
+ entryTitlePrefix: string;
27
+ entries: {
28
+ title: string;
29
+ text: string;
30
+ }[];
31
+ startDate: Date;
32
+ };
33
+ render: (args: RotatingTextProps) => React.JSX.Element;
34
+ };
35
+ export declare const Day3: {
36
+ args: {
37
+ interval: string;
38
+ entryTitlePrefix: string;
39
+ entries: {
40
+ title: string;
41
+ text: string;
42
+ }[];
43
+ startDate: Date;
44
+ };
45
+ render: (args: RotatingTextProps) => React.JSX.Element;
46
+ };
47
+ export declare const Week1: {
48
+ args: {
49
+ interval: string;
50
+ entryTitlePrefix: string;
51
+ entries: {
52
+ title: string;
53
+ text: string;
54
+ }[];
55
+ startDate: Date;
56
+ };
57
+ render: (args: RotatingTextProps) => React.JSX.Element;
58
+ };
59
+ export declare const Week2: {
60
+ args: {
61
+ interval: string;
62
+ entryTitlePrefix: string;
63
+ entries: {
64
+ title: string;
65
+ text: string;
66
+ }[];
67
+ startDate: Date;
68
+ };
69
+ render: (args: RotatingTextProps) => React.JSX.Element;
70
+ };
71
+ export declare const Week3: {
72
+ args: {
73
+ interval: string;
74
+ entryTitlePrefix: string;
75
+ entries: {
76
+ title: string;
77
+ text: string;
78
+ }[];
79
+ startDate: Date;
80
+ };
81
+ render: (args: RotatingTextProps) => React.JSX.Element;
82
+ };
83
+ export declare const Month1: {
84
+ args: {
85
+ interval: string;
86
+ entryTitlePrefix: string;
87
+ entries: {
88
+ title: string;
89
+ text: string;
90
+ }[];
91
+ startDate: Date;
92
+ };
93
+ render: (args: RotatingTextProps) => React.JSX.Element;
94
+ };
95
+ export declare const Month2: {
96
+ args: {
97
+ interval: string;
98
+ entryTitlePrefix: string;
99
+ entries: {
100
+ title: string;
101
+ text: string;
102
+ }[];
103
+ startDate: Date;
104
+ };
105
+ render: (args: RotatingTextProps) => React.JSX.Element;
106
+ };
107
+ export declare const Month3: {
108
+ args: {
109
+ interval: string;
110
+ entryTitlePrefix: string;
111
+ entries: {
112
+ title: string;
113
+ text: string;
114
+ }[];
115
+ startDate: Date;
116
+ };
117
+ render: (args: RotatingTextProps) => React.JSX.Element;
118
+ };
119
+ export declare const NoTitlePrefix: {
120
+ args: {
121
+ interval: string;
122
+ entries: {
123
+ title: string;
124
+ text: string;
125
+ }[];
126
+ startDate: Date;
127
+ };
128
+ render: (args: RotatingTextProps) => React.JSX.Element;
129
+ };
130
+ export declare const NoTitle: {
131
+ args: {
132
+ interval: string;
133
+ entryTitlePrefix: string;
134
+ entries: {
135
+ text: string;
136
+ }[];
137
+ startDate: Date;
138
+ };
139
+ render: (args: RotatingTextProps) => React.JSX.Element;
140
+ };
141
+ export declare const NoEntries: {
142
+ args: {
143
+ interval: string;
144
+ entryTitlePrefix: string;
145
+ entries: never[];
146
+ startDate: Date;
147
+ };
148
+ render: (args: RotatingTextProps) => React.JSX.Element;
149
+ };
@@ -0,0 +1 @@
1
+ export { default, RotatingTextEntry } from './RotatingText';
@@ -1,17 +1,19 @@
1
1
  import React from 'react';
2
- import "./SingleSurveyTask.css";
3
- import { SurveyTask } from "@careevolution/mydatahelps-js";
2
+ import './SingleSurveyTask.css';
3
+ import { SurveyTask } from '@careevolution/mydatahelps-js';
4
4
  import { IconDefinition } from '@fortawesome/fontawesome-common-types';
5
5
  import '@fortawesome/fontawesome-svg-core/styles.css';
6
6
  import { ColorDefinition } from '../../../helpers/colors';
7
7
  import { ButtonVariant } from '../Button/Button';
8
+ export type SingleSurveyTaskVariant = 'default' | 'expanded';
8
9
  export interface SingleSurveyTaskProps {
9
10
  task: SurveyTask;
10
- descriptionIcon?: IconDefinition;
11
11
  onClick: () => void;
12
+ variant?: SingleSurveyTaskVariant;
13
+ descriptionIcon?: IconDefinition;
12
14
  surveyActive?: boolean;
13
- innerRef?: React.Ref<HTMLDivElement>;
14
15
  buttonColor?: ColorDefinition;
15
16
  buttonVariant?: ButtonVariant;
17
+ innerRef?: React.Ref<HTMLDivElement>;
16
18
  }
17
19
  export default function (props: SingleSurveyTaskProps): React.JSX.Element | null;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import SingleSurveyTask, { SingleSurveyTaskProps } from './SingleSurveyTask';
2
+ import SingleSurveyTask, { SingleSurveyTaskVariant } from './SingleSurveyTask';
3
+ import { SurveyTaskStatus } from "@careevolution/mydatahelps-js";
3
4
  declare const _default: {
4
5
  title: string;
5
6
  component: typeof SingleSurveyTask;
@@ -8,133 +9,68 @@ declare const _default: {
8
9
  };
9
10
  };
10
11
  export default _default;
11
- export declare const Incomplete: {
12
+ interface SingleSurveyTaskStoryArgs {
13
+ name: string;
14
+ status: SurveyTaskStatus;
15
+ description?: string;
16
+ dueDate?: number;
17
+ hasSavedProgress?: boolean;
18
+ variant?: SingleSurveyTaskVariant;
19
+ endDate?: number;
20
+ surveyActive?: boolean;
21
+ }
22
+ export declare const Default: {
12
23
  args: {
13
- task: {
14
- status: string;
15
- id: import("@careevolution/mydatahelps-js").Guid;
16
- linkIdentifier: string;
17
- surveyID: import("@careevolution/mydatahelps-js").Guid;
18
- surveyName: string;
19
- surveyDisplayName?: string | undefined;
20
- surveyDescription?: string | undefined;
21
- startDate?: string | undefined;
22
- endDate?: string | undefined;
23
- hasSavedProgress: boolean;
24
- dueDate: string;
25
- insertedDate: string;
26
- modifiedDate: string;
27
- };
28
- descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
29
- onClick: () => void;
30
- surveyActive?: boolean | undefined;
31
- innerRef?: React.Ref<HTMLDivElement> | undefined;
32
- buttonColor?: import("../../..").ColorDefinition | undefined;
33
- buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
24
+ variant: string;
25
+ name: string;
26
+ description: string;
27
+ status: string;
28
+ dueDate: undefined;
29
+ hasSavedProgress: boolean;
30
+ endDate: undefined;
31
+ surveyActive: boolean;
34
32
  };
35
- render: (args: SingleSurveyTaskProps) => React.JSX.Element;
36
- };
37
- export declare const IncompleteInProgress: {
38
- args: {
39
- task: {
40
- status: string;
41
- hasSavedProgress: boolean;
42
- id: import("@careevolution/mydatahelps-js").Guid;
43
- linkIdentifier: string;
44
- surveyID: import("@careevolution/mydatahelps-js").Guid;
45
- surveyName: string;
46
- surveyDisplayName?: string | undefined;
47
- surveyDescription?: string | undefined;
48
- startDate?: string | undefined;
49
- endDate?: string | undefined;
50
- dueDate: string;
51
- insertedDate: string;
52
- modifiedDate: string;
33
+ argTypes: {
34
+ variant: {
35
+ control: string;
36
+ options: string[];
53
37
  };
54
- descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
55
- onClick: () => void;
56
- surveyActive?: boolean | undefined;
57
- innerRef?: React.Ref<HTMLDivElement> | undefined;
58
- buttonColor?: import("../../..").ColorDefinition | undefined;
59
- buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
60
- };
61
- render: (args: SingleSurveyTaskProps) => React.JSX.Element;
62
- };
63
- export declare const IncompleteSurveyActive: {
64
- args: {
65
- task: {
66
- status: string;
67
- id: import("@careevolution/mydatahelps-js").Guid;
68
- linkIdentifier: string;
69
- surveyID: import("@careevolution/mydatahelps-js").Guid;
70
- surveyName: string;
71
- surveyDisplayName?: string | undefined;
72
- surveyDescription?: string | undefined;
73
- startDate?: string | undefined;
74
- endDate?: string | undefined;
75
- hasSavedProgress: boolean;
76
- dueDate: string;
77
- insertedDate: string;
78
- modifiedDate: string;
38
+ status: {
39
+ control: string;
40
+ options: string[];
79
41
  };
80
- surveyActive: boolean;
81
- descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
82
- onClick: () => void;
83
- innerRef?: React.Ref<HTMLDivElement> | undefined;
84
- buttonColor?: import("../../..").ColorDefinition | undefined;
85
- buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
86
- };
87
- render: (args: SingleSurveyTaskProps) => React.JSX.Element;
88
- };
89
- export declare const IncompleteWithLongDescription: {
90
- args: {
91
- task: {
92
- status: string;
93
- surveyDescription: string;
94
- id: import("@careevolution/mydatahelps-js").Guid;
95
- linkIdentifier: string;
96
- surveyID: import("@careevolution/mydatahelps-js").Guid;
97
- surveyName: string;
98
- surveyDisplayName?: string | undefined;
99
- startDate?: string | undefined;
100
- endDate?: string | undefined;
101
- hasSavedProgress: boolean;
102
- dueDate: string;
103
- insertedDate: string;
104
- modifiedDate: string;
42
+ dueDate: {
43
+ name: string;
44
+ control: string;
45
+ if: {
46
+ arg: string;
47
+ eq: string;
48
+ };
105
49
  };
106
- descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
107
- onClick: () => void;
108
- surveyActive?: boolean | undefined;
109
- innerRef?: React.Ref<HTMLDivElement> | undefined;
110
- buttonColor?: import("../../..").ColorDefinition | undefined;
111
- buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
112
- };
113
- render: (args: SingleSurveyTaskProps) => React.JSX.Element;
114
- };
115
- export declare const Complete: {
116
- args: {
117
- task: {
118
- status: string;
119
- endDate: string;
120
- id: import("@careevolution/mydatahelps-js").Guid;
121
- linkIdentifier: string;
122
- surveyID: import("@careevolution/mydatahelps-js").Guid;
123
- surveyName: string;
124
- surveyDisplayName?: string | undefined;
125
- surveyDescription?: string | undefined;
126
- startDate?: string | undefined;
127
- hasSavedProgress: boolean;
128
- dueDate: string;
129
- insertedDate: string;
130
- modifiedDate: string;
50
+ hasSavedProgress: {
51
+ name: string;
52
+ control: string;
53
+ if: {
54
+ arg: string;
55
+ eq: string;
56
+ };
57
+ };
58
+ surveyActive: {
59
+ name: string;
60
+ control: string;
61
+ if: {
62
+ arg: string;
63
+ eq: string;
64
+ };
65
+ };
66
+ endDate: {
67
+ name: string;
68
+ control: string;
69
+ if: {
70
+ arg: string;
71
+ eq: string;
72
+ };
131
73
  };
132
- descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
133
- onClick: () => void;
134
- surveyActive?: boolean | undefined;
135
- innerRef?: React.Ref<HTMLDivElement> | undefined;
136
- buttonColor?: import("../../..").ColorDefinition | undefined;
137
- buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
138
74
  };
139
- render: (args: SingleSurveyTaskProps) => React.JSX.Element;
75
+ render: (args: SingleSurveyTaskStoryArgs) => React.JSX.Element;
140
76
  };
@@ -8,6 +8,7 @@ export { default as CardTitle } from "./CardTitle";
8
8
  export { default as DateRangeCoordinator, DateRangeContext } from "./DateRangeCoordinator";
9
9
  export { default as DateRangeNavigator } from "./DateRangeNavigator";
10
10
  export { default as DayTrackerSymbol } from "./DayTrackerSymbol";
11
+ export { default as DumbbellChart } from "./DumbbellChart";
11
12
  export { default as Face } from "./Face";
12
13
  export { default as Histogram } from "./Histogram";
13
14
  export { default as Layout, LayoutContext } from "./Layout";
@@ -17,6 +18,7 @@ export { default as NotesInput } from "./NotesInput";
17
18
  export { default as ProgressBar } from "./ProgressBar";
18
19
  export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
19
20
  export { default as ProgressRing } from "./ProgressRing";
21
+ export { default as RotatingText, RotatingTextEntry } from "./RotatingText";
20
22
  export { default as Section } from "./Section";
21
23
  export { default as SegmentedControl } from "./SegmentedControl";
22
24
  export { default as ShinyOverlay } from "./ShinyOverlay";
@@ -33,3 +35,8 @@ export { default as UnstyledButton } from "./UnstyledButton";
33
35
  export { default as ValueSelector } from "./ValueSelector";
34
36
  export { default as ViewHeader } from "./ViewHeader";
35
37
  export { default as WeekCalendar } from "./WeekCalendar";
38
+ export { default as InboxCompletedListItem } from "./InboxCompletedListItem";
39
+ export { default as InboxMessageListItem } from "./InboxMessageListItem";
40
+ export { default as InboxResourceDisplay } from "./InboxResourceDisplay";
41
+ export { default as InboxResourceListItem, InboxResourceImageAlignment } from "./InboxResourceListItem";
42
+ export { default as InboxSurveyListItem, InboxSurveyVariant } from "./InboxSurveyListItem";
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './InboxHistoryView.css';
3
+ export interface InboxHistoryViewProps {
4
+ previewState?: 'default';
5
+ colorScheme?: 'light' | 'dark' | 'auto';
6
+ messageViewerUrl: string;
7
+ }
8
+ export default function (props: InboxHistoryViewProps): React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import InboxHistoryView from './InboxHistoryView';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof InboxHistoryView;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ render: () => React.JSX.Element;
13
+ };
@@ -0,0 +1 @@
1
+ export { default } from './InboxHistoryView';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './InboxMessageView.css';
3
+ import { InboxMessage } from '@careevolution/mydatahelps-js';
4
+ export interface InboxMessageViewProps {
5
+ previewState?: InboxMessage;
6
+ colorScheme?: 'light' | 'dark' | 'auto';
7
+ resourceImageAlignment?: 'left' | 'center' | 'right';
8
+ resourceButtonText?: string;
9
+ }
10
+ export default function (props: InboxMessageViewProps): React.JSX.Element;
11
+ export declare function viewInboxMessage(message: InboxMessage, url: string): void;
@@ -0,0 +1,48 @@
1
+ import React from 'react';
2
+ import InboxMessageView from './InboxMessageView';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof InboxMessageView;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ interface InboxMessageViewStoryArgs {
12
+ title: string;
13
+ content: string;
14
+ hasRelatedResources?: boolean;
15
+ resourceImageAlignment?: 'left' | 'center' | 'right';
16
+ resourceButtonText?: string;
17
+ }
18
+ export declare const Default: {
19
+ args: {
20
+ title: string;
21
+ content: string;
22
+ hasRelatedResources: boolean;
23
+ resourceImageAlignment: string;
24
+ resourceButtonText: string;
25
+ };
26
+ argTypes: {
27
+ hasRelatedResources: {
28
+ name: string;
29
+ };
30
+ resourceImageAlignment: {
31
+ name: string;
32
+ control: string;
33
+ options: string[];
34
+ if: {
35
+ arg: string;
36
+ eq: boolean;
37
+ };
38
+ };
39
+ resourceButtonText: {
40
+ name: string;
41
+ if: {
42
+ arg: string;
43
+ eq: boolean;
44
+ };
45
+ };
46
+ };
47
+ render: (args: InboxMessageViewStoryArgs) => React.JSX.Element;
48
+ };
@@ -0,0 +1 @@
1
+ export { default, viewInboxMessage } from './InboxMessageView';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './InboxView.css';
3
+ import { InboxResourceImageAlignment, InboxSurveyVariant } from '../../presentational';
4
+ export interface InboxViewProps {
5
+ previewState?: 'default';
6
+ colorScheme?: 'auto' | 'light' | 'dark';
7
+ surveyVariant?: InboxSurveyVariant;
8
+ resourceImageAlignment?: InboxResourceImageAlignment;
9
+ messageViewerUrl: string;
10
+ historyViewerUrl: string;
11
+ }
12
+ export default function (props: InboxViewProps): React.JSX.Element;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import InboxView, { InboxViewProps } from './InboxView';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof InboxView;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ surveyVariant: string;
14
+ resourceImageAlignment: string;
15
+ };
16
+ argTypes: {
17
+ surveyVariant: {
18
+ control: string;
19
+ options: string[];
20
+ };
21
+ resourceImageAlignment: {
22
+ control: string;
23
+ options: string[];
24
+ };
25
+ };
26
+ render: (args: InboxViewProps) => React.JSX.Element;
27
+ };
@@ -0,0 +1 @@
1
+ export { default } from './InboxView';
@@ -12,3 +12,6 @@ export { default as MedicationsView } from "./MedicationsView";
12
12
  export { default as NotificationsView } from "./NotificationsView";
13
13
  export { default as SurveyTasksView } from "./SurveyTasksView";
14
14
  export { default as NewPointsView, NewPointsViewProps, NewPointsEntry, showNewPoints } from "./NewPointsView";
15
+ export { default as InboxView } from "./InboxView";
16
+ export { default as InboxHistoryView } from "./InboxHistoryView";
17
+ export { default as InboxMessageView } from "./InboxMessageView";
@@ -0,0 +1,8 @@
1
+ import { Guid, InboxItem, InboxItemQueryParameters, InboxItemUpdateResult } from "@careevolution/mydatahelps-js";
2
+ export interface InboxDataService {
3
+ loadInboxItems: (parameters: InboxItemQueryParameters) => Promise<InboxItem[]>;
4
+ loadInboxItem: (id: Guid) => Promise<InboxItem | undefined>;
5
+ markItemRead: (inboxItem: InboxItem) => Promise<InboxItemUpdateResult>;
6
+ }
7
+ declare const service: InboxDataService;
8
+ export default service;
@@ -0,0 +1,3 @@
1
+ export { default as bloodPressureDataProvider } from "./survey-blood-pressure-data-provider";
2
+ export { SurveyBloodPressureDataParameters as SurveyBloodPressureDataParameters } from "./survey-blood-pressure-data-provider";
3
+ export { BloodPressureDataPoint as BloodPressureDataPoint } from "./survey-blood-pressure-data-provider";
@@ -0,0 +1,12 @@
1
+ export interface SurveyBloodPressureDataParameters {
2
+ surveyName: string;
3
+ dateResultIdentifier: string;
4
+ systolicResultIdentifier: string;
5
+ diastolicResultIdentifier: string;
6
+ }
7
+ export interface BloodPressureDataPoint {
8
+ date: Date;
9
+ systolic: number;
10
+ diastolic: number;
11
+ }
12
+ export default function (props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
@@ -4,3 +4,4 @@ export declare function getDayOfWeek(date: Date): string;
4
4
  export declare function getFullDateString(date: Date): string;
5
5
  export declare function getShorterDateString(date: Date): string;
6
6
  export declare function getMonthName(month: number): string;
7
+ export declare function getLocale(): Locale;
@@ -0,0 +1 @@
1
+ export declare function noop(): void;
@@ -0,0 +1,2 @@
1
+ import { SurveyAnswer, SurveyAnswersQuery } from "@careevolution/mydatahelps-js";
2
+ export default function (props: SurveyAnswersQuery): Promise<SurveyAnswer[]>;
@@ -1,3 +1,4 @@
1
+ import { DeviceDataNamespace } from "@careevolution/mydatahelps-js";
1
2
  export type DailyDataQueryResult = {
2
3
  [key: string]: number;
3
4
  };
@@ -6,6 +7,7 @@ export type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boole
6
7
  export declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
7
8
  export declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
8
9
  export declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
10
+ export declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
9
11
  export declare enum DailyDataType {
10
12
  AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
11
13
  AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
@@ -5,3 +5,6 @@ export * from './helpers/language';
5
5
  export { default as getDayKey } from './helpers/get-day-key';
6
6
  export * from './helpers/get-interval-start';
7
7
  export * from './helpers/colors';
8
+ export * from './helpers/blood-pressure-data-providers';
9
+ export * from './helpers/query-all-survey-answers';
10
+ export * from './helpers/Initialization';