@hedia/recommendation-screen 2.1.75-alpha.0 → 2.2.0-alpha.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 (393) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/dist/index.js +5 -0
  3. package/{lib/typescript → dist/src}/RecommendationScreen.d.ts +68 -82
  4. package/dist/src/RecommendationScreen.js +522 -0
  5. package/dist/src/assets/assets/activity/Cyclist.png +0 -0
  6. package/dist/src/assets/assets/activity/Other.png +0 -0
  7. package/dist/src/assets/assets/activity/Runner.png +0 -0
  8. package/dist/src/assets/assets/activity/Swimmer.png +0 -0
  9. package/dist/src/assets/assets/activity/Walk.png +0 -0
  10. package/dist/src/assets/assets/fonts/Poppins-Bold.ttf +0 -0
  11. package/dist/src/assets/assets/fonts/Poppins-SemiBold.ttf +0 -0
  12. package/dist/src/assets/assets/icons/Edit.tsx +22 -0
  13. package/dist/src/assets/assets/icons/X.tsx +14 -0
  14. package/dist/src/assets/assets/mood/happy.png +0 -0
  15. package/dist/src/assets/assets/mood/happy_active.png +0 -0
  16. package/dist/src/assets/assets/mood/neutral.png +0 -0
  17. package/dist/src/assets/assets/mood/neutral_active.png +0 -0
  18. package/dist/src/assets/assets/mood/sad.png +0 -0
  19. package/dist/src/assets/assets/mood/sad_active.png +0 -0
  20. package/dist/src/assets/assets/mood/semi_happy.png +0 -0
  21. package/dist/src/assets/assets/mood/semi_happy_active.png +0 -0
  22. package/dist/src/assets/assets/mood/semi_sad.png +0 -0
  23. package/dist/src/assets/assets/mood/semi_sad_active.png +0 -0
  24. package/dist/src/assets/icons/Edit.d.ts +4 -0
  25. package/dist/src/assets/icons/Edit.js +7 -0
  26. package/dist/src/assets/icons/X.d.ts +4 -0
  27. package/dist/src/assets/icons/X.js +6 -0
  28. package/dist/src/components/ForecastInfoBar.d.ts +109 -0
  29. package/dist/src/components/ForecastInfoBar.js +138 -0
  30. package/dist/src/components/Header.d.ts +8 -0
  31. package/dist/src/components/Header.js +54 -0
  32. package/dist/src/components/Icon.d.ts +20 -0
  33. package/dist/src/components/Icon.js +43 -0
  34. package/{lib/typescript → dist/src}/components/InfoBars.d.ts +28 -14
  35. package/dist/src/components/InfoBars.js +128 -0
  36. package/{lib/typescript → dist/src}/components/InvisibleNumberInput.d.ts +3 -9
  37. package/dist/src/components/InvisibleNumberInput.js +121 -0
  38. package/dist/src/components/LimitationMessage.d.ts +14 -0
  39. package/dist/src/components/LimitationMessage.js +30 -0
  40. package/{lib/typescript → dist/src}/components/LineSeparator.d.ts +1 -6
  41. package/dist/src/components/LineSeparator.js +18 -0
  42. package/{lib/typescript → dist/src}/components/RecentInsulin.d.ts +1 -3
  43. package/dist/src/components/RecentInsulin.js +73 -0
  44. package/{lib/typescript → dist/src}/components/RecommendationModal.d.ts +63 -63
  45. package/dist/src/components/RecommendationModal.js +226 -0
  46. package/{lib/typescript → dist/src}/components/RecommendedCarbs.d.ts +0 -3
  47. package/dist/src/components/RecommendedCarbs.js +251 -0
  48. package/{lib/typescript → dist/src}/components/RecommendedInsulin.d.ts +1 -2
  49. package/dist/src/components/RecommendedInsulin.js +180 -0
  50. package/{lib/typescript → dist/src}/components/Remeasure.d.ts +15 -6
  51. package/dist/src/components/Remeasure.js +130 -0
  52. package/{lib/typescript/components/TransferToLogbook.d.ts → dist/src/components/SaveButton.d.ts} +2 -3
  53. package/dist/src/components/SaveButton.js +71 -0
  54. package/dist/src/components/TwoOptionModal.d.ts +136 -0
  55. package/dist/src/components/TwoOptionModal.js +141 -0
  56. package/{lib/typescript → dist/src}/components/activity/Activity.d.ts +2 -3
  57. package/dist/src/components/activity/Activity.js +84 -0
  58. package/{lib/typescript → dist/src}/components/activity/ActivityIcon.d.ts +7 -8
  59. package/dist/src/components/activity/ActivityIcon.js +58 -0
  60. package/{lib/typescript → dist/src}/components/activity/ActivityIntensity.d.ts +1 -2
  61. package/dist/src/components/activity/ActivityIntensity.js +58 -0
  62. package/{lib/typescript → dist/src}/components/mood/Emotion.d.ts +1 -2
  63. package/dist/src/components/mood/Emotion.js +64 -0
  64. package/{lib/typescript → dist/src}/components/mood/MoodIcon.d.ts +5 -5
  65. package/dist/src/components/mood/MoodIcon.js +63 -0
  66. package/dist/src/components/text/TextBold.d.ts +8 -0
  67. package/dist/src/components/text/TextBold.js +12 -0
  68. package/dist/src/components/text/TextRegular.d.ts +8 -0
  69. package/dist/src/components/text/TextRegular.js +12 -0
  70. package/dist/src/locale/da/messages.js +1 -0
  71. package/dist/src/locale/da/messages.po +349 -0
  72. package/dist/src/locale/de/messages.js +1 -0
  73. package/dist/src/locale/de/messages.po +349 -0
  74. package/dist/src/locale/en/messages.js +1 -0
  75. package/dist/src/locale/en/messages.po +349 -0
  76. package/dist/src/locale/es/messages.js +1 -0
  77. package/dist/src/locale/es/messages.po +349 -0
  78. package/dist/src/locale/fr/messages.js +1 -0
  79. package/dist/src/locale/fr/messages.po +349 -0
  80. package/dist/src/locale/i18nUtils.d.ts +18 -0
  81. package/dist/src/locale/i18nUtils.js +39 -0
  82. package/dist/src/locale/it/messages.js +1 -0
  83. package/dist/src/locale/it/messages.po +349 -0
  84. package/{lib/typescript → dist/src}/types/enum.d.ts +15 -22
  85. package/dist/src/types/enum.js +145 -0
  86. package/{lib/typescript → dist/src}/types/types.d.ts +0 -1
  87. package/dist/src/types/types.js +1 -0
  88. package/{lib/typescript → dist/src}/utils/AttentionMessages.d.ts +0 -1
  89. package/dist/src/utils/AttentionMessages.js +118 -0
  90. package/{lib/typescript → dist/src}/utils/Constants.d.ts +3 -18
  91. package/{lib/module → dist/src}/utils/Constants.js +21 -79
  92. package/{lib/typescript → dist/src}/utils/RecommendationError.d.ts +0 -1
  93. package/dist/src/utils/RecommendationError.js +63 -0
  94. package/{lib/typescript → dist/src}/utils/RecommendationUtils.d.ts +0 -1
  95. package/{lib/module → dist/src}/utils/RecommendationUtils.js +88 -90
  96. package/{lib/typescript → dist/src}/utils/Translations.d.ts +0 -1
  97. package/{lib/module → dist/src}/utils/Translations.js +5 -7
  98. package/{lib/typescript → dist/src}/utils/Utils.d.ts +1 -2
  99. package/dist/src/utils/Utils.js +141 -0
  100. package/{lib/typescript → dist/src}/utils/Validations.d.ts +1 -2
  101. package/{lib/module → dist/src}/utils/Validations.js +128 -156
  102. package/package.json +96 -109
  103. package/lib/commonjs/RecommendationScreen.js +0 -778
  104. package/lib/commonjs/RecommendationScreen.js.map +0 -1
  105. package/lib/commonjs/assets/IconsSVG/Close.js +0 -20
  106. package/lib/commonjs/assets/IconsSVG/Close.js.map +0 -1
  107. package/lib/commonjs/assets/IconsSVG/CloseOutlined.js +0 -28
  108. package/lib/commonjs/assets/IconsSVG/CloseOutlined.js.map +0 -1
  109. package/lib/commonjs/assets/IconsSVG/Edit.js +0 -23
  110. package/lib/commonjs/assets/IconsSVG/Edit.js.map +0 -1
  111. package/lib/commonjs/assets/IconsSVG/activity/Cycling.js +0 -43
  112. package/lib/commonjs/assets/IconsSVG/activity/Cycling.js.map +0 -1
  113. package/lib/commonjs/assets/IconsSVG/activity/Running.js +0 -33
  114. package/lib/commonjs/assets/IconsSVG/activity/Running.js.map +0 -1
  115. package/lib/commonjs/assets/IconsSVG/activity/Stretching.js +0 -33
  116. package/lib/commonjs/assets/IconsSVG/activity/Stretching.js.map +0 -1
  117. package/lib/commonjs/assets/IconsSVG/activity/Swimming.js +0 -48
  118. package/lib/commonjs/assets/IconsSVG/activity/Swimming.js.map +0 -1
  119. package/lib/commonjs/assets/IconsSVG/activity/Walking.js +0 -38
  120. package/lib/commonjs/assets/IconsSVG/activity/Walking.js.map +0 -1
  121. package/lib/commonjs/assets/IconsSVG/mood/Happy.js +0 -34
  122. package/lib/commonjs/assets/IconsSVG/mood/Happy.js.map +0 -1
  123. package/lib/commonjs/assets/IconsSVG/mood/Neutral.js +0 -34
  124. package/lib/commonjs/assets/IconsSVG/mood/Neutral.js.map +0 -1
  125. package/lib/commonjs/assets/IconsSVG/mood/Sad.js +0 -34
  126. package/lib/commonjs/assets/IconsSVG/mood/Sad.js.map +0 -1
  127. package/lib/commonjs/assets/IconsSVG/mood/SemiHappy.js +0 -34
  128. package/lib/commonjs/assets/IconsSVG/mood/SemiHappy.js.map +0 -1
  129. package/lib/commonjs/assets/IconsSVG/mood/SemiSad.js +0 -34
  130. package/lib/commonjs/assets/IconsSVG/mood/SemiSad.js.map +0 -1
  131. package/lib/commonjs/components/ExitModal.js +0 -124
  132. package/lib/commonjs/components/ExitModal.js.map +0 -1
  133. package/lib/commonjs/components/InfoBars.js +0 -123
  134. package/lib/commonjs/components/InfoBars.js.map +0 -1
  135. package/lib/commonjs/components/InvisibleNumberInput.js +0 -150
  136. package/lib/commonjs/components/InvisibleNumberInput.js.map +0 -1
  137. package/lib/commonjs/components/LineSeparator.js +0 -27
  138. package/lib/commonjs/components/LineSeparator.js.map +0 -1
  139. package/lib/commonjs/components/RecentInsulin.js +0 -105
  140. package/lib/commonjs/components/RecentInsulin.js.map +0 -1
  141. package/lib/commonjs/components/RecommendationModal.js +0 -302
  142. package/lib/commonjs/components/RecommendationModal.js.map +0 -1
  143. package/lib/commonjs/components/RecommendedCarbs.js +0 -289
  144. package/lib/commonjs/components/RecommendedCarbs.js.map +0 -1
  145. package/lib/commonjs/components/RecommendedInsulin.js +0 -209
  146. package/lib/commonjs/components/RecommendedInsulin.js.map +0 -1
  147. package/lib/commonjs/components/Remeasure.js +0 -131
  148. package/lib/commonjs/components/Remeasure.js.map +0 -1
  149. package/lib/commonjs/components/Text.js +0 -25
  150. package/lib/commonjs/components/Text.js.map +0 -1
  151. package/lib/commonjs/components/TimeoutModal.js +0 -113
  152. package/lib/commonjs/components/TimeoutModal.js.map +0 -1
  153. package/lib/commonjs/components/TransferToLogbook.js +0 -83
  154. package/lib/commonjs/components/TransferToLogbook.js.map +0 -1
  155. package/lib/commonjs/components/activity/Activity.js +0 -112
  156. package/lib/commonjs/components/activity/Activity.js.map +0 -1
  157. package/lib/commonjs/components/activity/ActivityIcon.js +0 -86
  158. package/lib/commonjs/components/activity/ActivityIcon.js.map +0 -1
  159. package/lib/commonjs/components/activity/ActivityIntensity.js +0 -65
  160. package/lib/commonjs/components/activity/ActivityIntensity.js.map +0 -1
  161. package/lib/commonjs/components/mood/Emotion.js +0 -86
  162. package/lib/commonjs/components/mood/Emotion.js.map +0 -1
  163. package/lib/commonjs/components/mood/MoodIcon.js +0 -107
  164. package/lib/commonjs/components/mood/MoodIcon.js.map +0 -1
  165. package/lib/commonjs/components/styles/fonts.js +0 -160
  166. package/lib/commonjs/components/styles/fonts.js.map +0 -1
  167. package/lib/commonjs/index.js +0 -21
  168. package/lib/commonjs/index.js.map +0 -1
  169. package/lib/commonjs/locales/da/translations.json +0 -82
  170. package/lib/commonjs/locales/de/translations.json +0 -81
  171. package/lib/commonjs/locales/en/translations.json +0 -84
  172. package/lib/commonjs/locales/es/translations.json +0 -81
  173. package/lib/commonjs/locales/fr/translations.json +0 -81
  174. package/lib/commonjs/locales/it/translations.json +0 -81
  175. package/lib/commonjs/locales/translate.js +0 -63
  176. package/lib/commonjs/locales/translate.js.map +0 -1
  177. package/lib/commonjs/types/enum.js +0 -179
  178. package/lib/commonjs/types/enum.js.map +0 -1
  179. package/lib/commonjs/types/types.js +0 -6
  180. package/lib/commonjs/types/types.js.map +0 -1
  181. package/lib/commonjs/utils/AttentionMessages.js +0 -141
  182. package/lib/commonjs/utils/AttentionMessages.js.map +0 -1
  183. package/lib/commonjs/utils/Constants.js +0 -138
  184. package/lib/commonjs/utils/Constants.js.map +0 -1
  185. package/lib/commonjs/utils/RecommendationError.js +0 -116
  186. package/lib/commonjs/utils/RecommendationError.js.map +0 -1
  187. package/lib/commonjs/utils/RecommendationUtils.js +0 -212
  188. package/lib/commonjs/utils/RecommendationUtils.js.map +0 -1
  189. package/lib/commonjs/utils/Translations.js +0 -22
  190. package/lib/commonjs/utils/Translations.js.map +0 -1
  191. package/lib/commonjs/utils/Utils.js +0 -162
  192. package/lib/commonjs/utils/Utils.js.map +0 -1
  193. package/lib/commonjs/utils/Validations.js +0 -468
  194. package/lib/commonjs/utils/Validations.js.map +0 -1
  195. package/lib/module/RecommendationScreen.js +0 -768
  196. package/lib/module/RecommendationScreen.js.map +0 -1
  197. package/lib/module/assets/IconsSVG/Close.js +0 -11
  198. package/lib/module/assets/IconsSVG/Close.js.map +0 -1
  199. package/lib/module/assets/IconsSVG/CloseOutlined.js +0 -19
  200. package/lib/module/assets/IconsSVG/CloseOutlined.js.map +0 -1
  201. package/lib/module/assets/IconsSVG/Edit.js +0 -14
  202. package/lib/module/assets/IconsSVG/Edit.js.map +0 -1
  203. package/lib/module/assets/IconsSVG/activity/Cycling.js +0 -34
  204. package/lib/module/assets/IconsSVG/activity/Cycling.js.map +0 -1
  205. package/lib/module/assets/IconsSVG/activity/Running.js +0 -24
  206. package/lib/module/assets/IconsSVG/activity/Running.js.map +0 -1
  207. package/lib/module/assets/IconsSVG/activity/Stretching.js +0 -24
  208. package/lib/module/assets/IconsSVG/activity/Stretching.js.map +0 -1
  209. package/lib/module/assets/IconsSVG/activity/Swimming.js +0 -39
  210. package/lib/module/assets/IconsSVG/activity/Swimming.js.map +0 -1
  211. package/lib/module/assets/IconsSVG/activity/Walking.js +0 -29
  212. package/lib/module/assets/IconsSVG/activity/Walking.js.map +0 -1
  213. package/lib/module/assets/IconsSVG/mood/Happy.js +0 -25
  214. package/lib/module/assets/IconsSVG/mood/Happy.js.map +0 -1
  215. package/lib/module/assets/IconsSVG/mood/Neutral.js +0 -25
  216. package/lib/module/assets/IconsSVG/mood/Neutral.js.map +0 -1
  217. package/lib/module/assets/IconsSVG/mood/Sad.js +0 -25
  218. package/lib/module/assets/IconsSVG/mood/Sad.js.map +0 -1
  219. package/lib/module/assets/IconsSVG/mood/SemiHappy.js +0 -25
  220. package/lib/module/assets/IconsSVG/mood/SemiHappy.js.map +0 -1
  221. package/lib/module/assets/IconsSVG/mood/SemiSad.js +0 -25
  222. package/lib/module/assets/IconsSVG/mood/SemiSad.js.map +0 -1
  223. package/lib/module/components/ExitModal.js +0 -114
  224. package/lib/module/components/ExitModal.js.map +0 -1
  225. package/lib/module/components/InfoBars.js +0 -114
  226. package/lib/module/components/InfoBars.js.map +0 -1
  227. package/lib/module/components/InvisibleNumberInput.js +0 -142
  228. package/lib/module/components/InvisibleNumberInput.js.map +0 -1
  229. package/lib/module/components/LineSeparator.js +0 -19
  230. package/lib/module/components/LineSeparator.js.map +0 -1
  231. package/lib/module/components/RecentInsulin.js +0 -97
  232. package/lib/module/components/RecentInsulin.js.map +0 -1
  233. package/lib/module/components/RecommendationModal.js +0 -291
  234. package/lib/module/components/RecommendationModal.js.map +0 -1
  235. package/lib/module/components/RecommendedCarbs.js +0 -281
  236. package/lib/module/components/RecommendedCarbs.js.map +0 -1
  237. package/lib/module/components/RecommendedInsulin.js +0 -201
  238. package/lib/module/components/RecommendedInsulin.js.map +0 -1
  239. package/lib/module/components/Remeasure.js +0 -123
  240. package/lib/module/components/Remeasure.js.map +0 -1
  241. package/lib/module/components/Text.js +0 -16
  242. package/lib/module/components/Text.js.map +0 -1
  243. package/lib/module/components/TimeoutModal.js +0 -103
  244. package/lib/module/components/TimeoutModal.js.map +0 -1
  245. package/lib/module/components/TransferToLogbook.js +0 -75
  246. package/lib/module/components/TransferToLogbook.js.map +0 -1
  247. package/lib/module/components/activity/Activity.js +0 -104
  248. package/lib/module/components/activity/Activity.js.map +0 -1
  249. package/lib/module/components/activity/ActivityIcon.js +0 -78
  250. package/lib/module/components/activity/ActivityIcon.js.map +0 -1
  251. package/lib/module/components/activity/ActivityIntensity.js +0 -57
  252. package/lib/module/components/activity/ActivityIntensity.js.map +0 -1
  253. package/lib/module/components/mood/Emotion.js +0 -78
  254. package/lib/module/components/mood/Emotion.js.map +0 -1
  255. package/lib/module/components/mood/MoodIcon.js +0 -97
  256. package/lib/module/components/mood/MoodIcon.js.map +0 -1
  257. package/lib/module/components/styles/fonts.js +0 -152
  258. package/lib/module/components/styles/fonts.js.map +0 -1
  259. package/lib/module/index.js +0 -5
  260. package/lib/module/index.js.map +0 -1
  261. package/lib/module/locales/da/translations.json +0 -82
  262. package/lib/module/locales/de/translations.json +0 -81
  263. package/lib/module/locales/en/translations.json +0 -84
  264. package/lib/module/locales/es/translations.json +0 -81
  265. package/lib/module/locales/fr/translations.json +0 -81
  266. package/lib/module/locales/it/translations.json +0 -81
  267. package/lib/module/locales/translate.js +0 -55
  268. package/lib/module/locales/translate.js.map +0 -1
  269. package/lib/module/types/enum.js +0 -170
  270. package/lib/module/types/enum.js.map +0 -1
  271. package/lib/module/types/types.js +0 -2
  272. package/lib/module/types/types.js.map +0 -1
  273. package/lib/module/utils/AttentionMessages.js +0 -131
  274. package/lib/module/utils/AttentionMessages.js.map +0 -1
  275. package/lib/module/utils/Constants.js.map +0 -1
  276. package/lib/module/utils/RecommendationError.js +0 -87
  277. package/lib/module/utils/RecommendationError.js.map +0 -1
  278. package/lib/module/utils/RecommendationUtils.js.map +0 -1
  279. package/lib/module/utils/Translations.js.map +0 -1
  280. package/lib/module/utils/Utils.js +0 -155
  281. package/lib/module/utils/Utils.js.map +0 -1
  282. package/lib/module/utils/Validations.js.map +0 -1
  283. package/lib/typescript/RecommendationScreen.d.ts.map +0 -1
  284. package/lib/typescript/assets/IconsSVG/Close.d.ts +0 -5
  285. package/lib/typescript/assets/IconsSVG/Close.d.ts.map +0 -1
  286. package/lib/typescript/assets/IconsSVG/CloseOutlined.d.ts +0 -5
  287. package/lib/typescript/assets/IconsSVG/CloseOutlined.d.ts.map +0 -1
  288. package/lib/typescript/assets/IconsSVG/Edit.d.ts +0 -5
  289. package/lib/typescript/assets/IconsSVG/Edit.d.ts.map +0 -1
  290. package/lib/typescript/assets/IconsSVG/activity/Cycling.d.ts +0 -5
  291. package/lib/typescript/assets/IconsSVG/activity/Cycling.d.ts.map +0 -1
  292. package/lib/typescript/assets/IconsSVG/activity/Running.d.ts +0 -5
  293. package/lib/typescript/assets/IconsSVG/activity/Running.d.ts.map +0 -1
  294. package/lib/typescript/assets/IconsSVG/activity/Stretching.d.ts +0 -5
  295. package/lib/typescript/assets/IconsSVG/activity/Stretching.d.ts.map +0 -1
  296. package/lib/typescript/assets/IconsSVG/activity/Swimming.d.ts +0 -5
  297. package/lib/typescript/assets/IconsSVG/activity/Swimming.d.ts.map +0 -1
  298. package/lib/typescript/assets/IconsSVG/activity/Walking.d.ts +0 -5
  299. package/lib/typescript/assets/IconsSVG/activity/Walking.d.ts.map +0 -1
  300. package/lib/typescript/assets/IconsSVG/mood/Happy.d.ts +0 -5
  301. package/lib/typescript/assets/IconsSVG/mood/Happy.d.ts.map +0 -1
  302. package/lib/typescript/assets/IconsSVG/mood/Neutral.d.ts +0 -5
  303. package/lib/typescript/assets/IconsSVG/mood/Neutral.d.ts.map +0 -1
  304. package/lib/typescript/assets/IconsSVG/mood/Sad.d.ts +0 -5
  305. package/lib/typescript/assets/IconsSVG/mood/Sad.d.ts.map +0 -1
  306. package/lib/typescript/assets/IconsSVG/mood/SemiHappy.d.ts +0 -5
  307. package/lib/typescript/assets/IconsSVG/mood/SemiHappy.d.ts.map +0 -1
  308. package/lib/typescript/assets/IconsSVG/mood/SemiSad.d.ts +0 -5
  309. package/lib/typescript/assets/IconsSVG/mood/SemiSad.d.ts.map +0 -1
  310. package/lib/typescript/components/ExitModal.d.ts +0 -26
  311. package/lib/typescript/components/ExitModal.d.ts.map +0 -1
  312. package/lib/typescript/components/InfoBars.d.ts.map +0 -1
  313. package/lib/typescript/components/InvisibleNumberInput.d.ts.map +0 -1
  314. package/lib/typescript/components/LineSeparator.d.ts.map +0 -1
  315. package/lib/typescript/components/RecentInsulin.d.ts.map +0 -1
  316. package/lib/typescript/components/RecommendationModal.d.ts.map +0 -1
  317. package/lib/typescript/components/RecommendedCarbs.d.ts.map +0 -1
  318. package/lib/typescript/components/RecommendedInsulin.d.ts.map +0 -1
  319. package/lib/typescript/components/Remeasure.d.ts.map +0 -1
  320. package/lib/typescript/components/Text.d.ts +0 -14
  321. package/lib/typescript/components/Text.d.ts.map +0 -1
  322. package/lib/typescript/components/TimeoutModal.d.ts +0 -25
  323. package/lib/typescript/components/TimeoutModal.d.ts.map +0 -1
  324. package/lib/typescript/components/TransferToLogbook.d.ts.map +0 -1
  325. package/lib/typescript/components/activity/Activity.d.ts.map +0 -1
  326. package/lib/typescript/components/activity/ActivityIcon.d.ts.map +0 -1
  327. package/lib/typescript/components/activity/ActivityIntensity.d.ts.map +0 -1
  328. package/lib/typescript/components/mood/Emotion.d.ts.map +0 -1
  329. package/lib/typescript/components/mood/MoodIcon.d.ts.map +0 -1
  330. package/lib/typescript/components/styles/fonts.d.ts +0 -151
  331. package/lib/typescript/components/styles/fonts.d.ts.map +0 -1
  332. package/lib/typescript/index.d.ts +0 -5
  333. package/lib/typescript/index.d.ts.map +0 -1
  334. package/lib/typescript/locales/translate.d.ts +0 -20
  335. package/lib/typescript/locales/translate.d.ts.map +0 -1
  336. package/lib/typescript/types/enum.d.ts.map +0 -1
  337. package/lib/typescript/types/types.d.ts.map +0 -1
  338. package/lib/typescript/utils/AttentionMessages.d.ts.map +0 -1
  339. package/lib/typescript/utils/Constants.d.ts.map +0 -1
  340. package/lib/typescript/utils/RecommendationError.d.ts.map +0 -1
  341. package/lib/typescript/utils/RecommendationUtils.d.ts.map +0 -1
  342. package/lib/typescript/utils/Translations.d.ts.map +0 -1
  343. package/lib/typescript/utils/Utils.d.ts.map +0 -1
  344. package/lib/typescript/utils/Validations.d.ts.map +0 -1
  345. package/src/RecommendationScreen.tsx +0 -854
  346. package/src/assets/IconsSVG/Close.tsx +0 -13
  347. package/src/assets/IconsSVG/CloseOutlined.tsx +0 -23
  348. package/src/assets/IconsSVG/Edit.tsx +0 -16
  349. package/src/assets/IconsSVG/activity/Cycling.tsx +0 -41
  350. package/src/assets/IconsSVG/activity/Running.tsx +0 -29
  351. package/src/assets/IconsSVG/activity/Stretching.tsx +0 -29
  352. package/src/assets/IconsSVG/activity/Swimming.tsx +0 -47
  353. package/src/assets/IconsSVG/activity/Walking.tsx +0 -35
  354. package/src/assets/IconsSVG/mood/Happy.tsx +0 -30
  355. package/src/assets/IconsSVG/mood/Neutral.tsx +0 -30
  356. package/src/assets/IconsSVG/mood/Sad.tsx +0 -30
  357. package/src/assets/IconsSVG/mood/SemiHappy.tsx +0 -30
  358. package/src/assets/IconsSVG/mood/SemiSad.tsx +0 -30
  359. package/src/components/ExitModal.tsx +0 -134
  360. package/src/components/InfoBars.tsx +0 -122
  361. package/src/components/InvisibleNumberInput.tsx +0 -170
  362. package/src/components/LineSeparator.tsx +0 -29
  363. package/src/components/RecentInsulin.tsx +0 -109
  364. package/src/components/RecommendationModal.tsx +0 -319
  365. package/src/components/RecommendedCarbs.tsx +0 -303
  366. package/src/components/RecommendedInsulin.tsx +0 -220
  367. package/src/components/Remeasure.tsx +0 -135
  368. package/src/components/Text.tsx +0 -27
  369. package/src/components/TimeoutModal.tsx +0 -121
  370. package/src/components/TransferToLogbook.tsx +0 -92
  371. package/src/components/activity/Activity.tsx +0 -107
  372. package/src/components/activity/ActivityIcon.tsx +0 -77
  373. package/src/components/activity/ActivityIntensity.tsx +0 -67
  374. package/src/components/mood/Emotion.tsx +0 -97
  375. package/src/components/mood/MoodIcon.tsx +0 -91
  376. package/src/components/styles/fonts.ts +0 -151
  377. package/src/index.ts +0 -5
  378. package/src/locales/da/translations.json +0 -82
  379. package/src/locales/de/translations.json +0 -81
  380. package/src/locales/en/translations.json +0 -84
  381. package/src/locales/es/translations.json +0 -81
  382. package/src/locales/fr/translations.json +0 -81
  383. package/src/locales/it/translations.json +0 -81
  384. package/src/locales/translate.ts +0 -62
  385. package/src/types/enum.ts +0 -164
  386. package/src/types/types.ts +0 -19
  387. package/src/utils/AttentionMessages.ts +0 -167
  388. package/src/utils/Constants.ts +0 -77
  389. package/src/utils/RecommendationError.ts +0 -182
  390. package/src/utils/RecommendationUtils.ts +0 -232
  391. package/src/utils/Translations.ts +0 -17
  392. package/src/utils/Utils.ts +0 -156
  393. package/src/utils/Validations.ts +0 -490
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_types","_translate","_Constants","_fonts","_Text","_MoodIcon","obj","__esModule","default","MoodEnum","Logbook","Enums","Emotion","React","Component","handleIconPress","selected","toggle","props","moodSelected","mappedMoods","values","Object","filter","val","isNaN","Number","map","key","moodValue","createElement","onPress","active","currentMood","mood","render","View","style","emotionStyles","container","feelingText","maxFontSizeMultiplier","t","moodIconContainer","exports","StyleSheet","create","flex","paddingHorizontal","marginBottom","FONTS","Poppins","regular_Base","textAlign","color","colors","white","flexDirection","justifyContent"],"sourceRoot":"../../../../src","sources":["components/mood/Emotion.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,SAAA,GAAAR,sBAAA,CAAAC,OAAA;AAAkC,SAAAD,uBAAAS,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAElC,MAAMG,QAAQ,GAAGC,cAAO,CAACC,KAAK,CAACF,QAAQ;AAYvC;AACe,MAAMG,OAAO,SAASC,cAAK,CAACC,SAAS,CAAS;EAC5D;AACD;AACA;AACA;AACA;AACA;AACA;AACA;EACQC,eAAe,GAAGA,CAACC,QAAgC,EAAEC,MAAe,KAAW;IACrF,IAAI,CAACC,KAAK,CAACC,YAAY,CAACF,MAAM,GAAGD,QAAQ,GAAG,IAAI,CAAC;EAClD,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;AACA;AACA;EACQI,WAAW,GAAGA,CAAA,KAA0B;IAC9C,MAAMC,MAAM,GAAGC,MAAM,CAACD,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EACDT,WAAW,EAAE;IACZ,GAAGU,YAAK,CAACC,OAAO,CAACC,YAAY;IAC7BC,SAAS,EAAG,QAAO;IACnBC,KAAK,EAAEC,iBAAM,CAACC,KAAK;IACnBP,YAAY,EAAE;EACf,CAAC;EACDN,iBAAiB,EAAE;IAClBI,IAAI,EAAE,CAAC;IACPU,aAAa,EAAG,KAAI;IACpBC,cAAc,EAAG,QAAO;IACxBV,iBAAiB,EAAE;EACpB;AACD,CAAC,CAAC"}
@@ -1,107 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.MOODS_INACTIVE = exports.MOODS_ACTIVE = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNative = require("react-native");
9
- var _types = require("@hedia/types");
10
- var _Happy = _interopRequireDefault(require("../../assets/IconsSVG/mood/Happy"));
11
- var _Neutral = _interopRequireDefault(require("../../assets/IconsSVG/mood/Neutral"));
12
- var _Sad = _interopRequireDefault(require("../../assets/IconsSVG/mood/Sad"));
13
- var _SemiHappy = _interopRequireDefault(require("../../assets/IconsSVG/mood/SemiHappy"));
14
- var _SemiSad = _interopRequireDefault(require("../../assets/IconsSVG/mood/SemiSad"));
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- const MoodEnum = _types.Logbook.Enums.MoodEnum;
17
- const styles = _reactNative.StyleSheet.create({
18
- icon: {
19
- flex: 1,
20
- width: 40,
21
- height: 40,
22
- marginHorizontal: 6
23
- }
24
- });
25
-
26
- /** Mapping from {@link Logbook.Enums.MoodEnum} to corresponding image resources */
27
- const MOODS_INACTIVE = {
28
- 1: (0, _Sad.default)(false, {
29
- style: styles.icon
30
- }),
31
- 2: (0, _SemiSad.default)(false, {
32
- style: styles.icon
33
- }),
34
- 3: (0, _Neutral.default)(false, {
35
- style: styles.icon
36
- }),
37
- 4: (0, _SemiHappy.default)(false, {
38
- style: styles.icon
39
- }),
40
- 5: (0, _Happy.default)(false, {
41
- style: styles.icon
42
- })
43
- };
44
-
45
- /** Mapping from {@link Logbook.Enums.MoodEnum} to corresponding image resources */
46
- exports.MOODS_INACTIVE = MOODS_INACTIVE;
47
- const MOODS_ACTIVE = {
48
- 1: (0, _Sad.default)(true, {
49
- style: styles.icon
50
- }),
51
- 2: (0, _SemiSad.default)(true, {
52
- style: styles.icon
53
- }),
54
- 3: (0, _Neutral.default)(true, {
55
- style: styles.icon
56
- }),
57
- 4: (0, _SemiHappy.default)(true, {
58
- style: styles.icon
59
- }),
60
- 5: (0, _Happy.default)(true, {
61
- style: styles.icon
62
- })
63
- };
64
-
65
- /** Component to display a mood icon base on its props. */
66
- exports.MOODS_ACTIVE = MOODS_ACTIVE;
67
- class MoodIcon extends _react.default.Component {
68
- /**
69
- * Get the icon image resource that should be displayed for the mood icon.
70
- *
71
- * Steps:
72
- * 1. If the active prop is true, return the value from the MOODS_ACTIVE constant that corresponds to the value of the mood prop.
73
- * 2. (Only reached if the active prop is false) Return the value from the MOODS_INACTIVE constant that corresponds to the value of the mood prop.
74
- * @returns Image resource that should be displayed for the mood icon.
75
- */
76
- getMoodIcon = () => {
77
- if (this.props.active) {
78
- return MOODS_ACTIVE[this.props.mood];
79
- }
80
- return MOODS_INACTIVE[this.props.mood];
81
- };
82
-
83
- /**
84
- * Handle what happens when the mood icon is pressed.
85
- *
86
- * Steps:
87
- * 1. Call the onPress prop callback function with the toggle argument set to the inverse value of the active prop.
88
- */
89
- handleOnPress = () => {
90
- this.props.onPress(!this.props.active);
91
- };
92
-
93
- /** JSX element to display the mood icon retrieved using the getMoodIcon() method. */
94
- render() {
95
- const {
96
- mood,
97
- active
98
- } = this.props;
99
- const testID = `${MoodEnum[mood]}-${active}`;
100
- return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
101
- onPress: this.handleOnPress,
102
- testID: testID
103
- }, this.getMoodIcon());
104
- }
105
- }
106
- exports.default = MoodIcon;
107
- //# sourceMappingURL=MoodIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_types","_Happy","_Neutral","_Sad","_SemiHappy","_SemiSad","obj","__esModule","default","MoodEnum","Logbook","Enums","styles","StyleSheet","create","icon","flex","width","height","marginHorizontal","MOODS_INACTIVE","Sad","style","SemiSad","Neutral","SemiHappy","Happy","exports","MOODS_ACTIVE","MoodIcon","React","Component","getMoodIcon","props","active","mood","handleOnPress","onPress","render","testID","createElement","TouchableOpacity"],"sourceRoot":"../../../../src","sources":["components/mood/MoodIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,QAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,UAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,QAAA,GAAAR,sBAAA,CAAAC,OAAA;AAAyD,SAAAD,uBAAAS,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEzD,MAAMG,QAAQ,GAAGC,cAAO,CAACC,KAAK,CAACF,QAAQ;AAcvC,MAAMG,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAChCC,IAAI,EAAE;IACLC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,gBAAgB,EAAE;EACnB;AACD,CAAC,CAAC;;AAEF;AACO,MAAMC,cAA2C,GAAG;EAC1D,CAAC,EAAE,IAAAC,YAAG,EAAC,KAAK,EAAE;IAAEC,KAAK,EAAEV,MAAM,CAACG;EAAK,CAAC,CAAC;EACrC,CAAC,EAAE,IAAAQ,gBAAO,EAAC,KA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rC;IACA,OAAOf,cAAc,CAAC,IAAI,CAACa,KAAK,CAACE,IAAI,CAAC;EACvC,CAAC;;EAED;AACD;AACA;AACA;AACA;AACA;EACQC,aAAa,GAAGA,CAAA,KAAY;IAClC,IAAI,CAACH,KAAK,CAACI,OAAO,CAAC,CAAC,IAAI,CAACJ,KAAK,CAACC,MAAM,CAAC;EACvC,CAAC;;EAED;EACOI,MAAMA,CAAA,EAAgB;IAC5B,MAAM;MAAEH,IAAI;MAAED;IAAO,CAAC,GAAG,IAAI,CAACD,KAAK;IACnC,MAAMM,MAAM,GAAI,GAAE9B,QAAQ,CAAC0B,IAAI,CAAE,IAAGD,MAAO,EAAC;IAE5C,oBACCtC,MAAA,CAAAY,OAAA,CAAAgC,aAAA,CAACzC,YAAA,CAAA0C,gBAAgB;MAACJ,OAAO,EAAE,IAAI,CAACD,aAAc;MAACG,MAAM,EAAEA;IAAO,GAC5D,IAAI,CAACP,WAAW,CAAC,CACD,CAAC;EAErB;AACD;AAACL,OAAA,CAAAnB,OAAA,GAAAqB,QAAA"}
@@ -1,160 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.FontFamily = exports.FONTS = void 0;
7
- let FontFamily;
8
- exports.FontFamily = FontFamily;
9
- (function (FontFamily) {
10
- FontFamily["PoppinsBold"] = "Poppins-Bold";
11
- FontFamily["PoppinsSemiBold"] = "Poppins-SemiBold";
12
- FontFamily["PoppinsMedium"] = "Poppins-Medium";
13
- FontFamily["PoppinsRegular"] = "Poppins-Regular";
14
- })(FontFamily || (exports.FontFamily = FontFamily = {}));
15
- const FONTS = {
16
- Poppins: {
17
- bold_6XL: {
18
- fontFamily: FontFamily.PoppinsBold,
19
- fontSize: 60,
20
- lineHeight: 78
21
- },
22
- semiBold_6XL: {
23
- fontFamily: FontFamily.PoppinsSemiBold,
24
- fontSize: 60,
25
- lineHeight: 78
26
- },
27
- bold_5XL: {
28
- fontFamily: FontFamily.PoppinsBold,
29
- fontSize: 48,
30
- lineHeight: 62
31
- },
32
- semiBold_5XL: {
33
- fontFamily: FontFamily.PoppinsSemiBold,
34
- fontSize: 48,
35
- lineHeight: 62
36
- },
37
- bold_4XL: {
38
- fontFamily: FontFamily.PoppinsBold,
39
- fontSize: 36,
40
- lineHeight: 47
41
- },
42
- semiBold_4XL: {
43
- fontFamily: FontFamily.PoppinsSemiBold,
44
- fontSize: 36,
45
- lineHeight: 47
46
- },
47
- bold_3XL: {
48
- fontFamily: FontFamily.PoppinsBold,
49
- fontSize: 30,
50
- lineHeight: 39
51
- },
52
- semiBold_3XL: {
53
- fontFamily: FontFamily.PoppinsSemiBold,
54
- fontSize: 30,
55
- lineHeight: 39
56
- },
57
- bold_2XL: {
58
- fontFamily: FontFamily.PoppinsBold,
59
- fontSize: 24,
60
- lineHeight: 31
61
- },
62
- semiBold_2XL: {
63
- fontFamily: FontFamily.PoppinsSemiBold,
64
- fontSize: 24,
65
- lineHeight: 31
66
- },
67
- medium_2XL: {
68
- fontFamily: FontFamily.PoppinsMedium,
69
- fontSize: 24,
70
- lineHeight: 31
71
- },
72
- bold_XL: {
73
- fontFamily: FontFamily.PoppinsBold,
74
- fontSize: 20,
75
- lineHeight: 26
76
- },
77
- semiBold_XL: {
78
- fontFamily: FontFamily.PoppinsSemiBold,
79
- fontSize: 20,
80
- lineHeight: 26
81
- },
82
- medium_XL: {
83
- fontFamily: FontFamily.PoppinsMedium,
84
- fontSize: 20,
85
- lineHeight: 26
86
- },
87
- bold_LG: {
88
- fontFamily: FontFamily.PoppinsBold,
89
- fontSize: 18,
90
- lineHeight: 23
91
- },
92
- semiBold_LG: {
93
- fontFamily: FontFamily.PoppinsSemiBold,
94
- fontSize: 18,
95
- lineHeight: 23
96
- },
97
- medium_LG: {
98
- fontFamily: FontFamily.PoppinsMedium,
99
- fontSize: 18,
100
- lineHeight: 23
101
- },
102
- bold_Base: {
103
- fontFamily: FontFamily.PoppinsBold,
104
- fontSize: 16,
105
- lineHeight: 21
106
- },
107
- semiBold_Base: {
108
- fontFamily: FontFamily.PoppinsSemiBold,
109
- fontSize: 16,
110
- lineHeight: 21
111
- },
112
- medium_Base: {
113
- fontFamily: FontFamily.PoppinsMedium,
114
- fontSize: 16,
115
- lineHeight: 21
116
- },
117
- regular_Base: {
118
- fontFamily: FontFamily.PoppinsRegular,
119
- fontSize: 16,
120
- lineHeight: 21
121
- },
122
- semiBold_SM: {
123
- fontFamily: FontFamily.PoppinsSemiBold,
124
- fontSize: 14,
125
- lineHeight: 18
126
- },
127
- medium_SM: {
128
- fontFamily: FontFamily.PoppinsMedium,
129
- fontSize: 14,
130
- lineHeight: 18
131
- },
132
- regular_SM: {
133
- fontFamily: FontFamily.PoppinsRegular,
134
- fontSize: 14,
135
- lineHeight: 18
136
- },
137
- semiBold_XS: {
138
- fontFamily: FontFamily.PoppinsSemiBold,
139
- fontSize: 12,
140
- lineHeight: 16
141
- },
142
- medium_XS: {
143
- fontFamily: FontFamily.PoppinsMedium,
144
- fontSize: 12,
145
- lineHeight: 16
146
- },
147
- regular_XS: {
148
- fontFamily: FontFamily.PoppinsRegular,
149
- fontSize: 12,
150
- lineHeight: 16
151
- },
152
- regular_XXS: {
153
- fontFamily: FontFamily.PoppinsRegular,
154
- fontSize: 10,
155
- lineHeight: 10
156
- }
157
- }
158
- };
159
- exports.FONTS = FONTS;
160
- //# sourceMappingURL=fonts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["FontFamily","exports","FONTS","Poppins","bold_6XL","fontFamily","PoppinsBold","fontSize","lineHeight","semiBold_6XL","PoppinsSemiBold","bold_5XL","semiBold_5XL","bold_4XL","semiBold_4XL","bold_3XL","semiBold_3XL","bold_2XL","semiBold_2XL","medium_2XL","PoppinsMedium","bold_XL","semiBold_XL","medium_XL","bold_LG","semiBold_LG","medium_LG","bold_Base","semiBold_Base","medium_Base","regular_Base","PoppinsRegular","semiBold_SM","medium_SM","regular_SM","semiBold_XS","medium_XS","regular_XS","regular_XXS"],"s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Aa;MACpCb,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACDsB,YAAY,EAAE;MACbzB,UAAU,EAAEL,UAAU,CAAC+B,cAAc;MACrCxB,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACDwB,WAAW,EAAE;MACZ3B,UAAU,EAAEL,UAAU,CAACU,eAAe;MACtCH,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACDyB,SAAS,EAAE;MACV5B,UAAU,EAAEL,UAAU,CAACoB,aAAa;MACpCb,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACD0B,UAAU,EAAE;MACX7B,UAAU,EAAEL,UAAU,CAAC+B,cAAc;MACrCxB,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACD2B,WAAW,EAAE;MACZ9B,UAAU,EAAEL,UAAU,CAACU,eAAe;MACtCH,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACD4B,SAAS,EAAE;MACV/B,UAAU,EAAEL,UAAU,CAACoB,aAAa;MACpCb,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACD6B,UAAU,EAAE;MACXhC,UAAU,EAAEL,UAAU,CAAC+B,cAAc;MACrCxB,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb,CAAC;IACD8B,WAAW,EAAE;MACZjC,UAAU,EAAEL,UAAU,CAAC+B,cAAc;MACrCxB,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACb;EACD;AACD,CAAC;AAACP,OAAA,CAAAC,KAAA,GAAAA,KAAA"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "RecommendationError", {
7
- enumerable: true,
8
- get: function () {
9
- return _RecommendationError.RecommendationError;
10
- }
11
- });
12
- Object.defineProperty(exports, "RecommendationScreen", {
13
- enumerable: true,
14
- get: function () {
15
- return _RecommendationScreen.RecommendationScreen;
16
- }
17
- });
18
- var _RecommendationScreen = require("./RecommendationScreen");
19
- var _types = require("./types/types");
20
- var _RecommendationError = require("./utils/RecommendationError");
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_RecommendationScreen","require","_types","_RecommendationError"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,qBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA"}
@@ -1,82 +0,0 @@
1
- {
2
- "Active Insulin": "Aktiv insulin",
3
- "Activity": "Aktivitet",
4
- "Additional": "Supplerende",
5
- "Attention": "OBS",
6
- "Based on the selected activity your insulin recommendation is reduced by:": "Baseret på din valgte aktivitet er din insulin anbefaling reduceret med:",
7
- "Blood Glucose Level": "Blodsukker",
8
- "Blood Ketone Level": "Blodketonniveau",
9
- "Carbohydrates": "Kulhydrater",
10
- "Close calculation": "Luk beregning",
11
- "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.": "Dit blodsukker ligger udenfor de anbefalede grænser for blodsukker før en aktivitet. Du bør overveje at udskyde fysisk aktivitet.",
12
- "Enter Manually": "Indtast manuelt",
13
- "Entered": "Indtastet",
14
- "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units": "Ups! Hedia kan ikke anbefale mere end {SAFETY_INSULIN_LIMIT} enheder hurtigtvirkende insulin i én dosis",
15
- "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours": "Ups! Indtast kun de hurtigtvirkende insulindoser der er under 4 timer gamle, så tager Hedia højde for aktiv insulin",
16
- "Error. Hedia Calculator does not support your activity intensity value": "Ups! Hedia har lavet en fejl. Vælg venligst intensitet for aktivitet igen",
17
- "Error. Hedia Calculator does not support your activity type value": "Ups! Der er sket en fejl ved den valgte aktivitetstype. Gå venligst til “aktivitet” og indtast type igen",
18
- "Error. Hedia Calculator does not support your current blood glucose level.": "Ups! Hedia har lavet en fejl. Indtast venligst en blodsukkerværdi indenfor Hedia’s definerede grænser for blodsukker",
19
- "Error. Hedia Calculator does not support your current blood glucose unit.": "Ups! Gå venligst til indstillinger blodsukker og opdater blodsukker enhed til mmol/L eller mg/dL",
20
- "Error. Hedia Calculator does not support your current blood ketone level.": "Fejl. Hedia beregneren understøtter ikke dit nuværende blodketonniveau.",
21
- "Error. Hedia Calculator does not support your current blood ketone unit.": "Fejl. Hedia beregneren understøtter ikke din nuværende blodketon enhed.",
22
- "Error. Hedia Calculator does not support your current language.": "Ups! Gå venligst til indstillinger for sprog og vælg dansk eller engelsk",
23
- "Error. Hedia Calculator does not support your injection method.": "Ups! Gå venligst til indstillinger for insulinberegner og vælg behandlingstype",
24
- "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.": "Ups! Hedia har lavet en fejl. Indtast venligst en aktivitet på max 60 minutters varighed",
25
- "Error. Please verify that your activity settings are set up correctly.": "Ups! Gå venligst til indstillinger for aktivitet og bekræft at de er korrekte",
26
- "Error. Please verify that your activity target blood glucose value is correct.": "Ups! Gå venligst til indstillinger for aktivitet og bekræft at dit ønskede blodsukker er korrekt",
27
- "Error. Please verify that your insulin sensitivity value is correct.": "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din insulin sensitivitet er korrekt",
28
- "Error. Please verify that your insulin to carb ratio value is correct.": "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din kulhydrat-insulinratio er korrekt",
29
- "Error. Please verify that your target blood glucose value is correct.": "Ups! Gå venligst til indstillinger for blodsukker og bekræft at dit ønskede blodsukker er indstillet efter dine personlige mål",
30
- "Error. Please verify your notifications settings.": "Ups! Gå venligst til indstillinger for notifikationer og bekræft at notifikationer er indstillet korrekt",
31
- "Error. Your blood ketone settings are invalid.": "Fejl. Dine blodketonindstillinger er ugyldige.",
32
- "Food": "Mad",
33
- "grams": "gram",
34
- "grams of carbohydrates": "gram kulhydrater",
35
- "Hard": "Hård",
36
- "Have you taken insulin within the last 4 hours?": "Har du taget insulin inden for de sidste 4 timer?",
37
- "Hedia Calculator does not support activities that finished more than 4 hours ago.": "Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke længere muligt at indtaste tidligere aktiviter i Hedia.",
38
- "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.": "Ups! Hedia har lavet en fejl. Indtast venligst en værdi mellem 0 og 300 gram",
39
- "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Hedia understøtter maksimalt {SAFETY_INSULIN_LIMIT} enheder af insulin per beregning",
40
- "Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation.": "Hedia understøtter maksimalt {SAFETY_INSULIN_LIMIT} enheder af insulin per beregning men på grund af den fysiske aktivitet du har indtastet, er grænsen reduceret med yderligere {0}% til {1} enheder for denne beregning.",
41
- "hours": "timer",
42
- "How are you feeling?": "Hvordan har du det?",
43
- "If it is possible, postpone your planned exercise.": "Hvis det er muligt, udsæt din planlagte træning.",
44
- "Instead of taking insulin": "I stedet for at tage insulin",
45
- "Insulin recommendation": "Insulin anbefaling",
46
- "Light": "Let",
47
- "min": "min",
48
- "Moderate": "Moderat",
49
- "More than 15 minutes has passed since this calculation was started.": "Der er gået mere end 15 minutter siden udregningen blev startet.",
50
- "NO": "NEJ",
51
- "No": "Nej",
52
- "No, return to dashboard": "Nej, tilbage til dashboard",
53
- "OFF": "OFF",
54
- "OK": "OK",
55
- "Please go through the calculation steps with new measurements to ensure a safe recommendation.": "Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling.",
56
- "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?": "Hedia's anbefaling fra {day} kl. {time} blev ikke overført til din logbog.{0}Brugte du anbefalingen?",
57
- "Recommended": "Anbefalet",
58
- "Recommended amount of insulin": "Anbefalet enhed(er) af insulin",
59
- "Remind me to remeasure in": "Påmind mig at genmåle om",
60
- "Return to dashboard": "Tilbage til dashboard",
61
- "Save data before closing?": "Vil du gemme din indtastning?",
62
- "Save to logbook": "Gem i logbog",
63
- "Start new calculation": "Start ny beregning",
64
- "Total": "Sum",
65
- "Transfer to logbook": "Overfør til logbog",
66
- "Transferred to logbook": "Overført til logbog",
67
- "Units": "Enheder",
68
- "units": "enheder",
69
- "Untitled Activity": "Unavngivet aktivitet",
70
- "We recommend eating an additional:": "Vi anbefaler at spise yderligere:",
71
- "Would you like to add this to your current calculation?": "Vil du gerne tilføje dette til din nuværende beregning?",
72
- "Yes": "Ja",
73
- "Yes, save to logbook": "Ja, gem i logbogen",
74
- "You have a high blood glucose level.": "Du har højt blodsukker.",
75
- "You should take rapid-acting insulin and measure ketones.": "Du burde tage hurtigtvirkende insulin og måle ketoner.",
76
- "You will be reminded to measure your blood glucose level in 15 min.": "Du vil få en påmindelse om at måle dit blodsukker om 15 minutter.",
77
- "Your blood glucose level is very low.": "Dit blodsukker er meget lavt.",
78
- "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.": "Dit blodsukker er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp.",
79
- "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}.": "Din anbefaling ville have været højere end {0} enheder af insulin men den er blevet begrænset af sikkerhedshensyn.{1} Hedia anbefaler aldrig mere end {SAFETY_INSULIN_LIMIT} enheder af insulin per beregning men på grund af den fysiske aktivitet du har indtastet er grænsen reduceret med yderligere {2}% til {3}.",
80
- "Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Din anbefaling ville have været højere end {SAFETY_INSULIN_LIMIT} enheder af insulin men den er blevet begrænset af sikkerhedshensyn. Hedia anbefaler aldrig mere end {SAFETY_INSULIN_LIMIT} enheder af insulin per beregning.",
81
- "Your saved data will be used for future calculations.": "Dine gemte indtastninger vil blive brugt til fremtidige beregninger."
82
- }
@@ -1,81 +0,0 @@
1
- {
2
- "Active Insulin": "Aktives Insulin",
3
- "Activity": "Aktivität",
4
- "Additional": "Zusätzlich",
5
- "Attention": "Achtung",
6
- "Based on the selected activity your insulin recommendation is reduced by:": "Aufgrund der gewählten Aktivität wird Ihre Insulinempfehlung reduziert um:",
7
- "Blood Glucose Level": "Blutzucker",
8
- "Blood Ketone Level": "Blutketonspiegel",
9
- "Carbohydrates": "Kohlenhydrate",
10
- "Close calculation": "Berechnung schließen",
11
- "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.": "Betätigen Sie sich erst dann körperlich, wenn Ihr Blutzucker vor der körperlichen Aktivität innerhalb des empfohlenen Wertebereichs liegt.",
12
- "Enter Manually": "Manuell eingeben",
13
- "Entered": "Eingegeben",
14
- "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units": "Fehler. Der Hedia-Rechner unterstützt keine Insulindosis, die mehr als {SAFETY_INSULIN_LIMIT} Einheiten hat.",
15
- "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours": "Fehler. Der Hedia-Rechner unterstützt keine Insulinempfehlungen mit Boli, die älter als 4 Stunden sind.",
16
- "Error. Hedia Calculator does not support your activity intensity value": "Fehler. Der Hedia-Rechner unterstützt den Wert Ihrer Aktivitätsintensität nicht.",
17
- "Error. Hedia Calculator does not support your activity type value": "Fehler. Der Hedia-Rechner unterstützt den Wert des Aktivitätstyps nicht.",
18
- "Error. Hedia Calculator does not support your current blood glucose level.": "Fehler. Der Hedia-Rechner unterstützt Ihren aktuellen Blutzucker nicht.",
19
- "Error. Hedia Calculator does not support your current blood glucose unit.": "Fehler. Der Hedia-Rechner unterstützt Ihre aktuelle Blutzuckereinheit nicht.",
20
- "Error. Hedia Calculator does not support your current blood ketone level.": "Fehler. Der Hedia-Rechner unterstützt Ihren aktuellen Blutketonspiegel nicht.",
21
- "Error. Hedia Calculator does not support your current blood ketone unit.": "Fehler. Der Hedia-Rechner unterstützt Ihre aktuelle Messeinheit für Blutketone nicht.",
22
- "Error. Hedia Calculator does not support your current language.": "Fehler. Der Hedia-Rechner unterstützt Ihre aktuelle Spracheinstellung nicht.",
23
- "Error. Hedia Calculator does not support your injection method.": "Fehler. Der Hedia-Rechner unterstützt Ihre Injektionsmethode nicht.",
24
- "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.": "Fehler. Der Hedia-Rechner unterstützt nur Aktivitäten mit einer Dauer von maximal 60 Minuten.",
25
- "Error. Please verify that your activity settings are set up correctly.": "Fehler. Bitte überprüfen Sie, ob Ihre Aktivitätseinstellungen korrekt eingestellt sind.",
26
- "Error. Please verify that your activity target blood glucose value is correct.": "Fehler. Bitte überprüfen Sie, ob Ihr gewünschter Blutzuckerwert für Aktivitäten korrekt ist.",
27
- "Error. Please verify that your insulin sensitivity value is correct.": "Fehler. Bitte überprüfen Sie, ob Ihr Insulinintensitätswert korrekt ist.",
28
- "Error. Please verify that your insulin to carb ratio value is correct.": "Fehler. Bitte überprüfen Sie, ob der Wert von Ihrem Insulin-Kohlenhydrat-Verhältnis korrekt ist.",
29
- "Error. Please verify that your target blood glucose value is correct.": "Fehler. Bitte überprüfen Sie, ob Ihr gewünschter Blutzuckerwert korrekt ist.",
30
- "Error. Please verify your notifications settings.": "Fehler. Bitte überprüfen Sie Ihre Benachrichtigungseinstellungen.",
31
- "Food": "Lebensmittel",
32
- "grams": "Gramm",
33
- "grams of carbohydrates": "Gramm Kohlenhydrate",
34
- "Hard": "Hart",
35
- "Have you taken insulin within the last 4 hours?": "Haben Sie innerhalb der letzten 4 Stunden Insulin eingenommen?",
36
- "Hedia Calculator does not support activities that finished more than 4 hours ago.": "Der Hedia-Rechner unterstützt keine Aktivitäten, die vor über 4 Stunden beendet wurden.",
37
- "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.": "Der Hedia-Rechner unterstützt keine Insulinempfehlungen, die mehr als 300 Gramm Kohlenhydrate enthalten.",
38
- "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Hedia unterstützt nicht mehr als {SAFETY_INSULIN_LIMIT} Einheiten Insulin pro Berechnung.",
39
- "Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation.": "Hedia unterstützt nicht mehr als {SAFETY_INSULIN_LIMIT} Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen körperlichen Aktivität wurden sie bei dieser Berechnung um {0}% auf {1} Einheiten weiter reduziert.",
40
- "hours": "Stunden",
41
- "How are you feeling?": "Wie fühlen Sie sich?",
42
- "If it is possible, postpone your planned exercise.": "Wenn möglich, verschieben Sie Ihr geplantes Training.",
43
- "Instead of taking insulin": "Statt der Einnahme von Insulin",
44
- "Insulin recommendation": "Insulin empfehlung",
45
- "Light": "Leicht",
46
- "min": "Minuten",
47
- "Moderate": "Moderat",
48
- "More than 15 minutes has passed since this calculation was started.": "Seit Beginn dieser Berechnung sind mehr als 15 Minuten vergangen.",
49
- "NO": "NEIN",
50
- "No": "Nein",
51
- "No, return to dashboard": "Nein, zurück zum Dashboard",
52
- "OFF": "AUS",
53
- "OK": "OK",
54
- "Please go through the calculation steps with new measurements to ensure a safe recommendation.": "Bitte führen Sie die Berechnungsschritte mit neuen Messungen durch, um eine sichere Empfehlung zu erstellen.",
55
- "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?": "Die Empfehlung von {day} um {time} wurden nicht in Ihr Tagebuch eingetragen.{0}Haben Sie sich an die Empfehlung gehalten?",
56
- "Recommended": "Empfohlen",
57
- "Recommended amount of insulin": "Empfohlene Insulinmenge",
58
- "Remind me to remeasure in": "Ich wünsche eine Erinnerung an eine erneute Messung in",
59
- "Return to dashboard": "Zurück zum Dashboard",
60
- "Save data before closing?": "Änderungen vor dem Schließen speichern?",
61
- "Save to logbook": "Im Tagebuch speichern",
62
- "Start new calculation": "Neue Berechnung starten",
63
- "Total": "Gesamt",
64
- "Transfer to logbook": "Übertragung ins Tagebuch",
65
- "Transferred to logbook": "Ins Tagebuch übertragen",
66
- "Units": "Einheiten",
67
- "units": "Einheiten",
68
- "Untitled Activity": "Unbenannte Aktivität",
69
- "We recommend eating an additional:": "Wir empfehlen Ihnen, zusätzlich Folgendes zu essen:",
70
- "Would you like to add this to your current calculation?": "Möchten Sie dies zu Ihrer aktuellen Berechnung hinzufügen?",
71
- "Yes": "Ja",
72
- "Yes, save to logbook": "Ja, im Tagebuch speichern",
73
- "You have a high blood glucose level.": "Sie haben einen hohen Blutzucker.",
74
- "You should take rapid-acting insulin and measure ketones.": "Sie sollten schnell wirkendes Insulin einnehmen und die Ketone messen.",
75
- "You will be reminded to measure your blood glucose level in 15 min.": "Bitte messen Sie Ihren Blutzucker in 15 Minuten.",
76
- "Your blood glucose level is very low.": "Ihr Blutzucker ist sehr niedrig.",
77
- "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.": "Ihr Blutzucker ist sehr niedrig. Nehmen Sie Glucagon ein oder essen Sie, wenn möglich, Kohlenhydrate. Suchen Sie einen Arzt auf.",
78
- "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}.": "Ihre Empfehlung wäre höher als {0} Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgründen begrenzt.{1} Hedia empfiehlt nie mehr als {SAFETY_INSULIN_LIMIT} Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen körperlichen Aktivität wurden sie um {2}% auf {3} weiter reduziert.",
79
- "Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Ihre Empfehlung wäre höher als {SAFETY_INSULIN_LIMIT} Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgründen begrenzt. Hedia empfiehlt nie mehr als {SAFETY_INSULIN_LIMIT} Einheiten Insulin pro Berechnung.",
80
- "Your saved data will be used for future calculations.": "Ihre gespeicherten Daten werden für zukünftige Berechnungen verwendet."
81
- }
@@ -1,84 +0,0 @@
1
- {
2
- "Active Insulin": "Active insulin",
3
- "Activity": "Activity",
4
- "Additional": "Additional",
5
- "Attention": "Attention",
6
- "Based on the selected activity your insulin recommendation is reduced by:": "Based on the selected activity your insulin recommendation is reduced by:",
7
- "Blood Glucose Level": "Blood glucose",
8
- "Blood Ketone Level": "Blood ketone level",
9
- "Carbohydrates": "Carbohydrates",
10
- "Close calculation": "Close calculation",
11
- "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.": "Consider not to initiate physical activity before your blood glucose is within the recommended ranges prior to physical activity.",
12
- "Enter Manually": "Enter Manually",
13
- "Entered": "Entered",
14
- "Error. Hedia Calculator could not find your recent boluses": "Error. Hedia Calculator could not find your recent boluses",
15
- "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units": "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units",
16
- "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours": "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours",
17
- "Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours.": "Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours.",
18
- "Error. Hedia Calculator does not support your activity intensity value": "Error. Hedia Calculator does not support your activity intensity value",
19
- "Error. Hedia Calculator does not support your activity type value": "Error. Hedia Calculator does not support your activity type value",
20
- "Error. Hedia Calculator does not support your current blood glucose level.": "Error. Hedia Calculator does not support your current blood glucose.",
21
- "Error. Hedia Calculator does not support your current blood glucose unit.": "Error. Hedia Calculator does not support your current blood glucose unit.",
22
- "Error. Hedia Calculator does not support your current blood ketone level.": "Error. Hedia Calculator does not support your current blood ketone level.",
23
- "Error. Hedia Calculator does not support your current blood ketone unit.": "Error. Hedia Calculator does not support your current blood ketone unit.",
24
- "Error. Hedia Calculator does not support your current language.": "Error. Hedia Calculator does not support your current language.",
25
- "Error. Hedia Calculator does not support your injection method.": "Error. Hedia Calculator does not support your injection method.",
26
- "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.": "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.",
27
- "Error. Please verify that your activity settings are set up correctly.": "Error. Please verify that your activity settings are set up correctly.",
28
- "Error. Please verify that your activity target blood glucose value is correct.": "Error. Please verify that your desired blood glucose during activity is correct.",
29
- "Error. Please verify that your insulin sensitivity value is correct.": "Error. Please verify that your insulin sensitivity value is correct.",
30
- "Error. Please verify that your insulin to carb ratio value is correct.": "Error. Please verify that your insulin to carb ratio value is correct.",
31
- "Error. Please verify that your target blood glucose value is correct.": "Error. Please verify that your target blood glucose is correct.",
32
- "Error. Please verify your notifications settings.": "Error. Please verify your notifications settings.",
33
- "Error. Your blood ketone settings are invalid.": "Error. Your blood ketone settings are invalid.",
34
- "Food": "Food",
35
- "grams": "grams",
36
- "grams of carbohydrates": "grams of carbohydrates",
37
- "Hard": "Hard",
38
- "Have you taken insulin within the last 4 hours?": "Have you taken insulin within the last 4 hours?",
39
- "Hedia Calculator does not support activities that finished more than 4 hours ago.": "Hedia Calculator does not support activities that finished more than 4 hours ago.",
40
- "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.": "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.",
41
- "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.",
42
- "Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation.": "Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation.",
43
- "hours": "hours",
44
- "How are you feeling?": "How are you feeling?",
45
- "If it is possible, postpone your planned exercise.": "If it is possible, postpone your planned exercise.",
46
- "Instead of taking insulin": "Instead of taking insulin",
47
- "Insulin recommendation": "Insulin recommendation",
48
- "Light": "Light",
49
- "min": "min",
50
- "Moderate": "Moderate",
51
- "More than 15 minutes has passed since this calculation was started.": "More than 15 minutes has passed since this calculation was started.",
52
- "NO": "NO",
53
- "No": "No",
54
- "No, return to dashboard": "No, return to dashboard",
55
- "OFF": "OFF",
56
- "OK": "OK",
57
- "Please go through the calculation steps with new measurements to ensure a safe recommendation.": "Please go through the calculation steps with new measurements to ensure a safe recommendation.",
58
- "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?": "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?",
59
- "Recommended": "Recommended",
60
- "Recommended amount of insulin": "Recommended amount of insulin",
61
- "Remind me to remeasure in": "Remind me to remeasure in",
62
- "Return to dashboard": "Return to dashboard",
63
- "Save data before closing?": "Save data before closing?",
64
- "Save to logbook": "Save to logbook",
65
- "Start new calculation": "Start new calculation",
66
- "Total": "Total",
67
- "Transfer to logbook": "Transfer to logbook",
68
- "Transferred to logbook": "Transferred to logbook",
69
- "Units": "Units",
70
- "units": "units",
71
- "Untitled Activity": "Untitled activity",
72
- "We recommend eating an additional:": "We recommend eating an additional:",
73
- "Would you like to add this to your current calculation?": "Would you like to add this to your current calculation?",
74
- "Yes": "Yes",
75
- "Yes, save to logbook": "Yes, save to logbook",
76
- "You have a high blood glucose level.": "You have high blood glucose.",
77
- "You should take rapid-acting insulin and measure ketones.": "You should take rapid-acting insulin and measure ketones.",
78
- "You will be reminded to measure your blood glucose level in 15 min.": "You will be reminded to measure your blood glucose in 15 min.",
79
- "Your blood glucose level is very low.": "Your blood glucose is very low.",
80
- "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.": "Your blood glucose is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.",
81
- "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}.": "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}.",
82
- "Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.": "Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.",
83
- "Your saved data will be used for future calculations.": "Your saved data will be used for future calculations."
84
- }