@burdenoff/microfe-mybodyshield 2026.525.1 → 2026.705.1

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 (953) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/index.js +6 -4
  3. package/dist/mybodyshield/MyBodyShieldRoot.js +101 -350
  4. package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
  5. package/dist/mybodyshield/MyBodyShieldRoutes.js +66 -193
  6. package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
  7. package/dist/mybodyshield/components/DataTable.js +71 -0
  8. package/dist/mybodyshield/components/DataTable.js.map +1 -0
  9. package/dist/mybodyshield/components/EmptyState.js +35 -0
  10. package/dist/mybodyshield/components/EmptyState.js.map +1 -0
  11. package/dist/mybodyshield/components/EvidenceUpload.js +5 -0
  12. package/dist/mybodyshield/components/FileLink.js +3 -0
  13. package/dist/mybodyshield/components/FilterTabs.js +27 -0
  14. package/dist/mybodyshield/components/FilterTabs.js.map +1 -0
  15. package/dist/mybodyshield/components/MetricsCard.js +64 -0
  16. package/dist/mybodyshield/components/MetricsCard.js.map +1 -0
  17. package/dist/mybodyshield/components/MiniBar.js +22 -0
  18. package/dist/mybodyshield/components/MiniBar.js.map +1 -0
  19. package/dist/mybodyshield/components/MybDiscussion.js +8 -0
  20. package/dist/mybodyshield/components/MybTags.js +5 -0
  21. package/dist/mybodyshield/components/PageLayout.js +38 -0
  22. package/dist/mybodyshield/components/PageLayout.js.map +1 -0
  23. package/dist/mybodyshield/components/Pagination.js +50 -0
  24. package/dist/mybodyshield/components/Pagination.js.map +1 -0
  25. package/dist/mybodyshield/components/StateViews.js +49 -0
  26. package/dist/mybodyshield/components/StateViews.js.map +1 -0
  27. package/dist/mybodyshield/components/StatusBadge.js +62 -0
  28. package/dist/mybodyshield/components/StatusBadge.js.map +1 -0
  29. package/dist/mybodyshield/components/Tabs.js +31 -0
  30. package/dist/mybodyshield/components/Tabs.js.map +1 -0
  31. package/dist/mybodyshield/components/index.js +14 -0
  32. package/dist/mybodyshield/context/MyBodyShieldContext.js +85 -0
  33. package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -0
  34. package/dist/mybodyshield/context/index.js +1 -0
  35. package/dist/mybodyshield/hooks/index.js +5 -0
  36. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +378 -0
  37. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -0
  38. package/dist/mybodyshield/hooks/useMybComments.js +3 -0
  39. package/dist/mybodyshield/hooks/useMybFiles.js +4 -0
  40. package/dist/mybodyshield/hooks/useMybTags.js +3 -0
  41. package/dist/mybodyshield/hooks/usePager.js +27 -0
  42. package/dist/mybodyshield/hooks/usePager.js.map +1 -0
  43. package/dist/mybodyshield/index.js +5 -2
  44. package/dist/mybodyshield/pages/DashboardPage.js +427 -0
  45. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -0
  46. package/dist/mybodyshield/pages/_shared/visuals.js +255 -0
  47. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -0
  48. package/dist/mybodyshield/pages/coaching/CoachingPage.js +422 -0
  49. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -0
  50. package/dist/mybodyshield/pages/goals/GoalsPage.js +518 -0
  51. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -0
  52. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +938 -0
  53. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -0
  54. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +628 -0
  55. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -0
  56. package/dist/mybodyshield/pages/programs/ProgramsPage.js +450 -0
  57. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -0
  58. package/dist/mybodyshield/pages/progress/ProgressPage.js +447 -0
  59. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -0
  60. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +484 -0
  61. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -0
  62. package/dist/mybodyshield/pages/train/SessionDetailPage.js +559 -0
  63. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -0
  64. package/dist/mybodyshield/pages/train/SessionsPage.js +297 -0
  65. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -0
  66. package/dist/mybodyshield/utils/cn.js +10 -0
  67. package/dist/mybodyshield/utils/cn.js.map +1 -0
  68. package/dist/mybodyshield/utils/formatters.js +76 -0
  69. package/dist/mybodyshield/utils/formatters.js.map +1 -0
  70. package/dist/mybodyshield/utils/navigation.js +2 -1
  71. package/dist/mybodyshield/utils/navigation.js.map +1 -1
  72. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  73. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  74. package/dist/node_modules/d3-array/src/ascending.js +8 -0
  75. package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
  76. package/dist/node_modules/d3-array/src/bisect.js +10 -0
  77. package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
  78. package/dist/node_modules/d3-array/src/bisector.js +43 -0
  79. package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
  80. package/dist/node_modules/d3-array/src/descending.js +8 -0
  81. package/dist/node_modules/d3-array/src/descending.js.map +1 -0
  82. package/dist/node_modules/d3-array/src/max.js +14 -0
  83. package/dist/node_modules/d3-array/src/max.js.map +1 -0
  84. package/dist/node_modules/d3-array/src/min.js +14 -0
  85. package/dist/node_modules/d3-array/src/min.js.map +1 -0
  86. package/dist/node_modules/d3-array/src/number.js +15 -0
  87. package/dist/node_modules/d3-array/src/number.js.map +1 -0
  88. package/dist/node_modules/d3-array/src/quantile.js +25 -0
  89. package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
  90. package/dist/node_modules/d3-array/src/quickselect.js +26 -0
  91. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
  92. package/dist/node_modules/d3-array/src/range.js +10 -0
  93. package/dist/node_modules/d3-array/src/range.js.map +1 -0
  94. package/dist/node_modules/d3-array/src/sort.js +17 -0
  95. package/dist/node_modules/d3-array/src/sort.js.map +1 -0
  96. package/dist/node_modules/d3-array/src/ticks.js +34 -0
  97. package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
  98. package/dist/node_modules/d3-color/src/color.js +291 -0
  99. package/dist/node_modules/d3-color/src/color.js.map +1 -0
  100. package/dist/node_modules/d3-color/src/define.js +13 -0
  101. package/dist/node_modules/d3-color/src/define.js.map +1 -0
  102. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  103. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
  104. package/dist/node_modules/d3-format/src/exponent.js +9 -0
  105. package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
  106. package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
  107. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
  108. package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
  109. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
  110. package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
  111. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
  112. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
  113. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
  114. package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
  115. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
  116. package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
  117. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
  118. package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
  119. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
  120. package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
  121. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
  122. package/dist/node_modules/d3-format/src/identity.js +8 -0
  123. package/dist/node_modules/d3-format/src/identity.js.map +1 -0
  124. package/dist/node_modules/d3-format/src/locale.js +86 -0
  125. package/dist/node_modules/d3-format/src/locale.js.map +1 -0
  126. package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
  127. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
  128. package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
  129. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
  130. package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
  131. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
  132. package/dist/node_modules/d3-interpolate/src/array.js +15 -0
  133. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
  134. package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
  135. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
  136. package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  137. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
  138. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  139. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
  140. package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
  141. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
  142. package/dist/node_modules/d3-interpolate/src/date.js +11 -0
  143. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
  144. package/dist/node_modules/d3-interpolate/src/number.js +10 -0
  145. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
  146. package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
  147. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
  148. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  149. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
  150. package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
  151. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
  152. package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
  153. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
  154. package/dist/node_modules/d3-interpolate/src/round.js +10 -0
  155. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
  156. package/dist/node_modules/d3-interpolate/src/string.js +28 -0
  157. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
  158. package/dist/node_modules/d3-interpolate/src/value.js +18 -0
  159. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
  160. package/dist/node_modules/d3-path/src/path.js +65 -0
  161. package/dist/node_modules/d3-path/src/path.js.map +1 -0
  162. package/dist/node_modules/d3-scale/src/band.js +52 -0
  163. package/dist/node_modules/d3-scale/src/band.js.map +1 -0
  164. package/dist/node_modules/d3-scale/src/constant.js +10 -0
  165. package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
  166. package/dist/node_modules/d3-scale/src/continuous.js +73 -0
  167. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
  168. package/dist/node_modules/d3-scale/src/diverging.js +82 -0
  169. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
  170. package/dist/node_modules/d3-scale/src/identity.js +20 -0
  171. package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
  172. package/dist/node_modules/d3-scale/src/init.js +29 -0
  173. package/dist/node_modules/d3-scale/src/init.js.map +1 -0
  174. package/dist/node_modules/d3-scale/src/linear.js +36 -0
  175. package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
  176. package/dist/node_modules/d3-scale/src/log.js +77 -0
  177. package/dist/node_modules/d3-scale/src/log.js.map +1 -0
  178. package/dist/node_modules/d3-scale/src/nice.js +10 -0
  179. package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
  180. package/dist/node_modules/d3-scale/src/number.js +8 -0
  181. package/dist/node_modules/d3-scale/src/number.js.map +1 -0
  182. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  183. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
  184. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  185. package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
  186. package/dist/node_modules/d3-scale/src/quantile.js +37 -0
  187. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
  188. package/dist/node_modules/d3-scale/src/quantize.js +33 -0
  189. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
  190. package/dist/node_modules/d3-scale/src/radial.js +39 -0
  191. package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
  192. package/dist/node_modules/d3-scale/src/sequential.js +67 -0
  193. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
  194. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
  195. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
  196. package/dist/node_modules/d3-scale/src/symlog.js +30 -0
  197. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
  198. package/dist/node_modules/d3-scale/src/threshold.js +25 -0
  199. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
  200. package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
  201. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
  202. package/dist/node_modules/d3-scale/src/time.js +47 -0
  203. package/dist/node_modules/d3-scale/src/time.js.map +1 -0
  204. package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
  205. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
  206. package/dist/node_modules/d3-shape/src/area.js +55 -0
  207. package/dist/node_modules/d3-shape/src/area.js.map +1 -0
  208. package/dist/node_modules/d3-shape/src/array.js +8 -0
  209. package/dist/node_modules/d3-shape/src/array.js.map +1 -0
  210. package/dist/node_modules/d3-shape/src/constant.js +10 -0
  211. package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
  212. package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
  213. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
  214. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
  215. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
  216. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  217. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
  218. package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
  219. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
  220. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  221. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
  222. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  223. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
  224. package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
  225. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
  226. package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
  227. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
  228. package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
  229. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
  230. package/dist/node_modules/d3-shape/src/line.js +30 -0
  231. package/dist/node_modules/d3-shape/src/line.js.map +1 -0
  232. package/dist/node_modules/d3-shape/src/math.js +8 -0
  233. package/dist/node_modules/d3-shape/src/math.js.map +1 -0
  234. package/dist/node_modules/d3-shape/src/noop.js +6 -0
  235. package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
  236. package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
  237. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
  238. package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
  239. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
  240. package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
  241. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
  242. package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
  243. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
  244. package/dist/node_modules/d3-shape/src/order/none.js +9 -0
  245. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
  246. package/dist/node_modules/d3-shape/src/path.js +19 -0
  247. package/dist/node_modules/d3-shape/src/path.js.map +1 -0
  248. package/dist/node_modules/d3-shape/src/point.js +11 -0
  249. package/dist/node_modules/d3-shape/src/point.js.map +1 -0
  250. package/dist/node_modules/d3-shape/src/stack.js +34 -0
  251. package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
  252. package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
  253. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
  254. package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
  255. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
  256. package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
  257. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
  258. package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
  259. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
  260. package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
  261. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
  262. package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
  263. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
  264. package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
  265. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
  266. package/dist/node_modules/d3-shape/src/symbol.js +23 -0
  267. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
  268. package/dist/node_modules/d3-time/src/day.js +21 -0
  269. package/dist/node_modules/d3-time/src/day.js.map +1 -0
  270. package/dist/node_modules/d3-time/src/duration.js +6 -0
  271. package/dist/node_modules/d3-time/src/duration.js.map +1 -0
  272. package/dist/node_modules/d3-time/src/hour.js +19 -0
  273. package/dist/node_modules/d3-time/src/hour.js.map +1 -0
  274. package/dist/node_modules/d3-time/src/interval.js +28 -0
  275. package/dist/node_modules/d3-time/src/interval.js.map +1 -0
  276. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  277. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
  278. package/dist/node_modules/d3-time/src/minute.js +19 -0
  279. package/dist/node_modules/d3-time/src/minute.js.map +1 -0
  280. package/dist/node_modules/d3-time/src/month.js +18 -0
  281. package/dist/node_modules/d3-time/src/month.js.map +1 -0
  282. package/dist/node_modules/d3-time/src/second.js +13 -0
  283. package/dist/node_modules/d3-time/src/second.js.map +1 -0
  284. package/dist/node_modules/d3-time/src/ticks.js +125 -0
  285. package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
  286. package/dist/node_modules/d3-time/src/week.js +25 -0
  287. package/dist/node_modules/d3-time/src/week.js.map +1 -0
  288. package/dist/node_modules/d3-time/src/year.js +26 -0
  289. package/dist/node_modules/d3-time/src/year.js.map +1 -0
  290. package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
  291. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
  292. package/dist/node_modules/d3-time-format/src/locale.js +490 -0
  293. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
  294. package/dist/node_modules/decimal.js-light/decimal.js +378 -0
  295. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
  296. package/dist/node_modules/eventemitter3/index.js +95 -0
  297. package/dist/node_modules/eventemitter3/index.js.map +1 -0
  298. package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
  299. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  300. package/dist/node_modules/internmap/src/index.js +40 -0
  301. package/dist/node_modules/internmap/src/index.js.map +1 -0
  302. package/dist/node_modules/lodash/_DataView.js +12 -0
  303. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  304. package/dist/node_modules/lodash/_Hash.js +23 -0
  305. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  306. package/dist/node_modules/lodash/_ListCache.js +23 -0
  307. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  308. package/dist/node_modules/lodash/_Map.js +12 -0
  309. package/dist/node_modules/lodash/_Map.js.map +1 -0
  310. package/dist/node_modules/lodash/_MapCache.js +23 -0
  311. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  312. package/dist/node_modules/lodash/_Promise.js +12 -0
  313. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  314. package/dist/node_modules/lodash/_Set.js +12 -0
  315. package/dist/node_modules/lodash/_Set.js.map +1 -0
  316. package/dist/node_modules/lodash/_SetCache.js +18 -0
  317. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  318. package/dist/node_modules/lodash/_Stack.js +20 -0
  319. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  320. package/dist/node_modules/lodash/_Symbol.js +11 -0
  321. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  322. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  323. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  324. package/dist/node_modules/lodash/_WeakMap.js +12 -0
  325. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  326. package/dist/node_modules/lodash/_apply.js +19 -0
  327. package/dist/node_modules/lodash/_apply.js.map +1 -0
  328. package/dist/node_modules/lodash/_arrayEvery.js +14 -0
  329. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
  330. package/dist/node_modules/lodash/_arrayFilter.js +17 -0
  331. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  332. package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
  333. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  334. package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
  335. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  336. package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
  337. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  338. package/dist/node_modules/lodash/_arrayMap.js +14 -0
  339. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  340. package/dist/node_modules/lodash/_arrayPush.js +14 -0
  341. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  342. package/dist/node_modules/lodash/_arraySome.js +14 -0
  343. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  344. package/dist/node_modules/lodash/_asciiToArray.js +13 -0
  345. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
  346. package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
  347. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  348. package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
  349. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
  350. package/dist/node_modules/lodash/_baseEach.js +13 -0
  351. package/dist/node_modules/lodash/_baseEach.js.map +1 -0
  352. package/dist/node_modules/lodash/_baseEvery.js +18 -0
  353. package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
  354. package/dist/node_modules/lodash/_baseExtremum.js +19 -0
  355. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
  356. package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
  357. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  358. package/dist/node_modules/lodash/_baseFlatten.js +21 -0
  359. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  360. package/dist/node_modules/lodash/_baseFor.js +11 -0
  361. package/dist/node_modules/lodash/_baseFor.js.map +1 -0
  362. package/dist/node_modules/lodash/_baseForOwn.js +16 -0
  363. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
  364. package/dist/node_modules/lodash/_baseGet.js +18 -0
  365. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  366. package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
  367. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  368. package/dist/node_modules/lodash/_baseGetTag.js +17 -0
  369. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  370. package/dist/node_modules/lodash/_baseGt.js +13 -0
  371. package/dist/node_modules/lodash/_baseGt.js.map +1 -0
  372. package/dist/node_modules/lodash/_baseHasIn.js +13 -0
  373. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  374. package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
  375. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  376. package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
  377. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  378. package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
  379. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  380. package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
  381. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  382. package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
  383. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  384. package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
  385. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  386. package/dist/node_modules/lodash/_baseIsNative.js +18 -0
  387. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  388. package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
  389. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  390. package/dist/node_modules/lodash/_baseIteratee.js +19 -0
  391. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  392. package/dist/node_modules/lodash/_baseKeys.js +19 -0
  393. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  394. package/dist/node_modules/lodash/_baseLt.js +13 -0
  395. package/dist/node_modules/lodash/_baseLt.js.map +1 -0
  396. package/dist/node_modules/lodash/_baseMap.js +19 -0
  397. package/dist/node_modules/lodash/_baseMap.js.map +1 -0
  398. package/dist/node_modules/lodash/_baseMatches.js +20 -0
  399. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  400. package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
  401. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  402. package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
  403. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
  404. package/dist/node_modules/lodash/_baseProperty.js +15 -0
  405. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  406. package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
  407. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  408. package/dist/node_modules/lodash/_baseRange.js +15 -0
  409. package/dist/node_modules/lodash/_baseRange.js.map +1 -0
  410. package/dist/node_modules/lodash/_baseRest.js +17 -0
  411. package/dist/node_modules/lodash/_baseRest.js.map +1 -0
  412. package/dist/node_modules/lodash/_baseSetToString.js +21 -0
  413. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
  414. package/dist/node_modules/lodash/_baseSlice.js +16 -0
  415. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  416. package/dist/node_modules/lodash/_baseSome.js +18 -0
  417. package/dist/node_modules/lodash/_baseSome.js.map +1 -0
  418. package/dist/node_modules/lodash/_baseSortBy.js +15 -0
  419. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
  420. package/dist/node_modules/lodash/_baseTimes.js +14 -0
  421. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  422. package/dist/node_modules/lodash/_baseToString.js +22 -0
  423. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  424. package/dist/node_modules/lodash/_baseTrim.js +15 -0
  425. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  426. package/dist/node_modules/lodash/_baseUnary.js +15 -0
  427. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  428. package/dist/node_modules/lodash/_baseUniq.js +34 -0
  429. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  430. package/dist/node_modules/lodash/_cacheHas.js +13 -0
  431. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  432. package/dist/node_modules/lodash/_castPath.js +18 -0
  433. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  434. package/dist/node_modules/lodash/_castSlice.js +16 -0
  435. package/dist/node_modules/lodash/_castSlice.js.map +1 -0
  436. package/dist/node_modules/lodash/_compareAscending.js +20 -0
  437. package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
  438. package/dist/node_modules/lodash/_compareMultiple.js +19 -0
  439. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
  440. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  441. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  442. package/dist/node_modules/lodash/_createBaseEach.js +20 -0
  443. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
  444. package/dist/node_modules/lodash/_createBaseFor.js +19 -0
  445. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
  446. package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
  447. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
  448. package/dist/node_modules/lodash/_createFind.js +27 -0
  449. package/dist/node_modules/lodash/_createFind.js.map +1 -0
  450. package/dist/node_modules/lodash/_createRange.js +19 -0
  451. package/dist/node_modules/lodash/_createRange.js.map +1 -0
  452. package/dist/node_modules/lodash/_createSet.js +16 -0
  453. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  454. package/dist/node_modules/lodash/_defineProperty.js +17 -0
  455. package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
  456. package/dist/node_modules/lodash/_equalArrays.js +42 -0
  457. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  458. package/dist/node_modules/lodash/_equalByTag.js +42 -0
  459. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  460. package/dist/node_modules/lodash/_equalObjects.js +39 -0
  461. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  462. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  463. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  464. package/dist/node_modules/lodash/_getAllKeys.js +17 -0
  465. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  466. package/dist/node_modules/lodash/_getMapData.js +16 -0
  467. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  468. package/dist/node_modules/lodash/_getMatchData.js +24 -0
  469. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  470. package/dist/node_modules/lodash/_getNative.js +17 -0
  471. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  472. package/dist/node_modules/lodash/_getPrototype.js +11 -0
  473. package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
  474. package/dist/node_modules/lodash/_getRawTag.js +21 -0
  475. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  476. package/dist/node_modules/lodash/_getSymbols.js +17 -0
  477. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  478. package/dist/node_modules/lodash/_getTag.js +28 -0
  479. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  480. package/dist/node_modules/lodash/_getValue.js +13 -0
  481. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  482. package/dist/node_modules/lodash/_hasPath.js +26 -0
  483. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  484. package/dist/node_modules/lodash/_hasUnicode.js +14 -0
  485. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
  486. package/dist/node_modules/lodash/_hashClear.js +15 -0
  487. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  488. package/dist/node_modules/lodash/_hashDelete.js +14 -0
  489. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  490. package/dist/node_modules/lodash/_hashGet.js +20 -0
  491. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  492. package/dist/node_modules/lodash/_hashHas.js +16 -0
  493. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  494. package/dist/node_modules/lodash/_hashSet.js +16 -0
  495. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  496. package/dist/node_modules/lodash/_isFlattenable.js +17 -0
  497. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  498. package/dist/node_modules/lodash/_isIndex.js +15 -0
  499. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  500. package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
  501. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  502. package/dist/node_modules/lodash/_isKey.js +18 -0
  503. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  504. package/dist/node_modules/lodash/_isKeyable.js +14 -0
  505. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  506. package/dist/node_modules/lodash/_isMasked.js +18 -0
  507. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  508. package/dist/node_modules/lodash/_isPrototype.js +15 -0
  509. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  510. package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
  511. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  512. package/dist/node_modules/lodash/_listCacheClear.js +13 -0
  513. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  514. package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
  515. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  516. package/dist/node_modules/lodash/_listCacheGet.js +16 -0
  517. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  518. package/dist/node_modules/lodash/_listCacheHas.js +15 -0
  519. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  520. package/dist/node_modules/lodash/_listCacheSet.js +16 -0
  521. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  522. package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
  523. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  524. package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
  525. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  526. package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
  527. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  528. package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
  529. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  530. package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
  531. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  532. package/dist/node_modules/lodash/_mapToArray.js +16 -0
  533. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  534. package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
  535. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  536. package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
  537. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  538. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  539. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  540. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  541. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  542. package/dist/node_modules/lodash/_nodeUtil.js +16 -0
  543. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  544. package/dist/node_modules/lodash/_objectToString.js +14 -0
  545. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  546. package/dist/node_modules/lodash/_overArg.js +15 -0
  547. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  548. package/dist/node_modules/lodash/_overRest.js +20 -0
  549. package/dist/node_modules/lodash/_overRest.js.map +1 -0
  550. package/dist/node_modules/lodash/_root.js +12 -0
  551. package/dist/node_modules/lodash/_root.js.map +1 -0
  552. package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
  553. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  554. package/dist/node_modules/lodash/_setCacheHas.js +13 -0
  555. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  556. package/dist/node_modules/lodash/_setToArray.js +16 -0
  557. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  558. package/dist/node_modules/lodash/_setToString.js +13 -0
  559. package/dist/node_modules/lodash/_setToString.js.map +1 -0
  560. package/dist/node_modules/lodash/_shortOut.js +21 -0
  561. package/dist/node_modules/lodash/_shortOut.js.map +1 -0
  562. package/dist/node_modules/lodash/_stackClear.js +15 -0
  563. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  564. package/dist/node_modules/lodash/_stackDelete.js +14 -0
  565. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  566. package/dist/node_modules/lodash/_stackGet.js +13 -0
  567. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  568. package/dist/node_modules/lodash/_stackHas.js +13 -0
  569. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  570. package/dist/node_modules/lodash/_stackSet.js +23 -0
  571. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  572. package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
  573. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  574. package/dist/node_modules/lodash/_stringToArray.js +17 -0
  575. package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
  576. package/dist/node_modules/lodash/_stringToPath.js +17 -0
  577. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  578. package/dist/node_modules/lodash/_toKey.js +17 -0
  579. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  580. package/dist/node_modules/lodash/_toSource.js +22 -0
  581. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  582. package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
  583. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  584. package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
  585. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
  586. package/dist/node_modules/lodash/constant.js +15 -0
  587. package/dist/node_modules/lodash/constant.js.map +1 -0
  588. package/dist/node_modules/lodash/debounce.js +57 -0
  589. package/dist/node_modules/lodash/debounce.js.map +1 -0
  590. package/dist/node_modules/lodash/eq.js +13 -0
  591. package/dist/node_modules/lodash/eq.js.map +1 -0
  592. package/dist/node_modules/lodash/every.js +20 -0
  593. package/dist/node_modules/lodash/every.js.map +1 -0
  594. package/dist/node_modules/lodash/find.js +12 -0
  595. package/dist/node_modules/lodash/find.js.map +1 -0
  596. package/dist/node_modules/lodash/findIndex.js +20 -0
  597. package/dist/node_modules/lodash/findIndex.js.map +1 -0
  598. package/dist/node_modules/lodash/flatMap.js +16 -0
  599. package/dist/node_modules/lodash/flatMap.js.map +1 -0
  600. package/dist/node_modules/lodash/get.js +16 -0
  601. package/dist/node_modules/lodash/get.js.map +1 -0
  602. package/dist/node_modules/lodash/hasIn.js +16 -0
  603. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  604. package/dist/node_modules/lodash/identity.js +13 -0
  605. package/dist/node_modules/lodash/identity.js.map +1 -0
  606. package/dist/node_modules/lodash/isArguments.js +17 -0
  607. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  608. package/dist/node_modules/lodash/isArray.js +10 -0
  609. package/dist/node_modules/lodash/isArray.js.map +1 -0
  610. package/dist/node_modules/lodash/isArrayLike.js +16 -0
  611. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  612. package/dist/node_modules/lodash/isBoolean.js +16 -0
  613. package/dist/node_modules/lodash/isBoolean.js.map +1 -0
  614. package/dist/node_modules/lodash/isBuffer.js +13 -0
  615. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  616. package/dist/node_modules/lodash/isEqual.js +15 -0
  617. package/dist/node_modules/lodash/isEqual.js.map +1 -0
  618. package/dist/node_modules/lodash/isFunction.js +18 -0
  619. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  620. package/dist/node_modules/lodash/isLength.js +14 -0
  621. package/dist/node_modules/lodash/isLength.js.map +1 -0
  622. package/dist/node_modules/lodash/isNaN.js +15 -0
  623. package/dist/node_modules/lodash/isNaN.js.map +1 -0
  624. package/dist/node_modules/lodash/isNil.js +13 -0
  625. package/dist/node_modules/lodash/isNil.js.map +1 -0
  626. package/dist/node_modules/lodash/isNumber.js +16 -0
  627. package/dist/node_modules/lodash/isNumber.js.map +1 -0
  628. package/dist/node_modules/lodash/isObject.js +14 -0
  629. package/dist/node_modules/lodash/isObject.js.map +1 -0
  630. package/dist/node_modules/lodash/isObjectLike.js +13 -0
  631. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  632. package/dist/node_modules/lodash/isPlainObject.js +21 -0
  633. package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
  634. package/dist/node_modules/lodash/isString.js +17 -0
  635. package/dist/node_modules/lodash/isString.js.map +1 -0
  636. package/dist/node_modules/lodash/isSymbol.js +16 -0
  637. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  638. package/dist/node_modules/lodash/isTypedArray.js +14 -0
  639. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  640. package/dist/node_modules/lodash/keys.js +17 -0
  641. package/dist/node_modules/lodash/keys.js.map +1 -0
  642. package/dist/node_modules/lodash/last.js +14 -0
  643. package/dist/node_modules/lodash/last.js.map +1 -0
  644. package/dist/node_modules/lodash/map.js +18 -0
  645. package/dist/node_modules/lodash/map.js.map +1 -0
  646. package/dist/node_modules/lodash/mapValues.js +20 -0
  647. package/dist/node_modules/lodash/mapValues.js.map +1 -0
  648. package/dist/node_modules/lodash/max.js +17 -0
  649. package/dist/node_modules/lodash/max.js.map +1 -0
  650. package/dist/node_modules/lodash/memoize.js +22 -0
  651. package/dist/node_modules/lodash/memoize.js.map +1 -0
  652. package/dist/node_modules/lodash/min.js +17 -0
  653. package/dist/node_modules/lodash/min.js.map +1 -0
  654. package/dist/node_modules/lodash/noop.js +11 -0
  655. package/dist/node_modules/lodash/noop.js.map +1 -0
  656. package/dist/node_modules/lodash/now.js +14 -0
  657. package/dist/node_modules/lodash/now.js.map +1 -0
  658. package/dist/node_modules/lodash/property.js +18 -0
  659. package/dist/node_modules/lodash/property.js.map +1 -0
  660. package/dist/node_modules/lodash/range.js +11 -0
  661. package/dist/node_modules/lodash/range.js.map +1 -0
  662. package/dist/node_modules/lodash/some.js +20 -0
  663. package/dist/node_modules/lodash/some.js.map +1 -0
  664. package/dist/node_modules/lodash/sortBy.js +19 -0
  665. package/dist/node_modules/lodash/sortBy.js.map +1 -0
  666. package/dist/node_modules/lodash/stubArray.js +13 -0
  667. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  668. package/dist/node_modules/lodash/stubFalse.js +13 -0
  669. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  670. package/dist/node_modules/lodash/throttle.js +22 -0
  671. package/dist/node_modules/lodash/throttle.js.map +1 -0
  672. package/dist/node_modules/lodash/toFinite.js +15 -0
  673. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  674. package/dist/node_modules/lodash/toInteger.js +16 -0
  675. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  676. package/dist/node_modules/lodash/toNumber.js +26 -0
  677. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  678. package/dist/node_modules/lodash/toString.js +15 -0
  679. package/dist/node_modules/lodash/toString.js.map +1 -0
  680. package/dist/node_modules/lodash/uniqBy.js +16 -0
  681. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  682. package/dist/node_modules/lodash/upperFirst.js +11 -0
  683. package/dist/node_modules/lodash/upperFirst.js.map +1 -0
  684. package/dist/node_modules/object-assign/index.js +41 -0
  685. package/dist/node_modules/object-assign/index.js.map +1 -0
  686. package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
  687. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  688. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
  689. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  690. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
  691. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  692. package/dist/node_modules/prop-types/index.js +16 -0
  693. package/dist/node_modules/prop-types/index.js.map +1 -0
  694. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  695. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  696. package/dist/node_modules/prop-types/lib/has.js +10 -0
  697. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  698. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
  699. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  700. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
  701. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  702. package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
  703. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  704. package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
  705. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  706. package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
  707. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  708. package/dist/node_modules/react-is/index.js +12 -0
  709. package/dist/node_modules/react-is/index.js.map +1 -0
  710. package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
  711. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
  712. package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
  713. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
  714. package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
  715. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
  716. package/dist/node_modules/react-smooth/es6/easing.js +152 -0
  717. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
  718. package/dist/node_modules/react-smooth/es6/index.js +9 -0
  719. package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
  720. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
  721. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
  722. package/dist/node_modules/react-smooth/es6/util.js +92 -0
  723. package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
  724. package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
  725. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
  726. package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
  727. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
  728. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
  729. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
  730. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
  731. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
  732. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
  733. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
  734. package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
  735. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
  736. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
  737. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
  738. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
  739. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
  740. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
  741. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
  742. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
  743. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
  744. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
  745. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
  746. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
  747. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
  748. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
  749. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
  750. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
  751. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
  752. package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
  753. package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
  754. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
  755. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
  756. package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
  757. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
  758. package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
  759. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
  760. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
  761. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
  762. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
  763. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
  764. package/dist/node_modules/recharts/es6/component/Label.js +353 -0
  765. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
  766. package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
  767. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
  768. package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
  769. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
  770. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
  771. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
  772. package/dist/node_modules/recharts/es6/component/Text.js +225 -0
  773. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
  774. package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
  775. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
  776. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
  777. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
  778. package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
  779. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
  780. package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
  781. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
  782. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
  783. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
  784. package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
  785. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
  786. package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
  787. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
  788. package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
  789. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
  790. package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
  791. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
  792. package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
  793. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
  794. package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
  795. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
  796. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
  797. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
  798. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
  799. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
  800. package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
  801. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
  802. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
  803. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
  804. package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
  805. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
  806. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
  807. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
  808. package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
  809. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
  810. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  811. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
  812. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
  813. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
  814. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  815. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
  816. package/dist/node_modules/recharts/es6/util/Global.js +21 -0
  817. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
  818. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
  819. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
  820. package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
  821. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
  822. package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
  823. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
  824. package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
  825. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
  826. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
  827. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
  828. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
  829. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
  830. package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
  831. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
  832. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
  833. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
  834. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
  835. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
  836. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
  837. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
  838. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
  839. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
  840. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
  841. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
  842. package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
  843. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
  844. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
  845. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
  846. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
  847. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
  848. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
  849. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
  850. package/dist/node_modules/recharts/es6/util/types.js +43 -0
  851. package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
  852. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
  853. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
  854. package/dist/node_modules/recharts-scale/es6/index.js +1 -0
  855. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
  856. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
  857. package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
  858. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
  859. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -0
  860. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  861. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
  862. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
  863. package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
  864. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
  865. package/package.json +3 -3
  866. package/dist/mybodyshield/pages/AdminAiinsightsPage.js +0 -161
  867. package/dist/mybodyshield/pages/AdminAiinsightsPage.js.map +0 -1
  868. package/dist/mybodyshield/pages/AdminAnalyticsPage.js +0 -193
  869. package/dist/mybodyshield/pages/AdminAnalyticsPage.js.map +0 -1
  870. package/dist/mybodyshield/pages/AdminComplianceReportsPage.js +0 -214
  871. package/dist/mybodyshield/pages/AdminComplianceReportsPage.js.map +0 -1
  872. package/dist/mybodyshield/pages/AdminDashboardPage.js +0 -186
  873. package/dist/mybodyshield/pages/AdminDashboardPage.js.map +0 -1
  874. package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js +0 -252
  875. package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js.map +0 -1
  876. package/dist/mybodyshield/pages/AdminSystemSettingsPage.js +0 -159
  877. package/dist/mybodyshield/pages/AdminSystemSettingsPage.js.map +0 -1
  878. package/dist/mybodyshield/pages/AdminUserManagementPage.js +0 -208
  879. package/dist/mybodyshield/pages/AdminUserManagementPage.js.map +0 -1
  880. package/dist/mybodyshield/pages/FitnessAssessmentsPage.js +0 -194
  881. package/dist/mybodyshield/pages/FitnessAssessmentsPage.js.map +0 -1
  882. package/dist/mybodyshield/pages/FitnessClientDetailsPage.js +0 -192
  883. package/dist/mybodyshield/pages/FitnessClientDetailsPage.js.map +0 -1
  884. package/dist/mybodyshield/pages/FitnessClientManagementPage.js +0 -128
  885. package/dist/mybodyshield/pages/FitnessClientManagementPage.js.map +0 -1
  886. package/dist/mybodyshield/pages/FitnessDashboardPage.js +0 -156
  887. package/dist/mybodyshield/pages/FitnessDashboardPage.js.map +0 -1
  888. package/dist/mybodyshield/pages/FitnessReportsPage.js +0 -138
  889. package/dist/mybodyshield/pages/FitnessReportsPage.js.map +0 -1
  890. package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js +0 -176
  891. package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js.map +0 -1
  892. package/dist/mybodyshield/pages/PatientAppointmentsPage.js +0 -132
  893. package/dist/mybodyshield/pages/PatientAppointmentsPage.js.map +0 -1
  894. package/dist/mybodyshield/pages/PatientDashboardPage.js +0 -190
  895. package/dist/mybodyshield/pages/PatientDashboardPage.js.map +0 -1
  896. package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js +0 -137
  897. package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js.map +0 -1
  898. package/dist/mybodyshield/pages/PatientHealthGoalsPage.js +0 -131
  899. package/dist/mybodyshield/pages/PatientHealthGoalsPage.js.map +0 -1
  900. package/dist/mybodyshield/pages/PatientHealthOverviewPage.js +0 -273
  901. package/dist/mybodyshield/pages/PatientHealthOverviewPage.js.map +0 -1
  902. package/dist/mybodyshield/pages/PatientLabResultsPage.js +0 -133
  903. package/dist/mybodyshield/pages/PatientLabResultsPage.js.map +0 -1
  904. package/dist/mybodyshield/pages/PatientMedicationsPage.js +0 -158
  905. package/dist/mybodyshield/pages/PatientMedicationsPage.js.map +0 -1
  906. package/dist/mybodyshield/pages/PatientMentalHealthPage.js +0 -152
  907. package/dist/mybodyshield/pages/PatientMentalHealthPage.js.map +0 -1
  908. package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js +0 -141
  909. package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js.map +0 -1
  910. package/dist/mybodyshield/pages/PatientVitalSignsPage.js +0 -160
  911. package/dist/mybodyshield/pages/PatientVitalSignsPage.js.map +0 -1
  912. package/dist/mybodyshield/pages/ProviderCalendarPage.js +0 -127
  913. package/dist/mybodyshield/pages/ProviderCalendarPage.js.map +0 -1
  914. package/dist/mybodyshield/pages/ProviderCarePlansPage.js +0 -153
  915. package/dist/mybodyshield/pages/ProviderCarePlansPage.js.map +0 -1
  916. package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js +0 -174
  917. package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js.map +0 -1
  918. package/dist/mybodyshield/pages/ProviderDashboardPage.js +0 -154
  919. package/dist/mybodyshield/pages/ProviderDashboardPage.js.map +0 -1
  920. package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js +0 -295
  921. package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js.map +0 -1
  922. package/dist/mybodyshield/pages/ProviderPatientManagementPage.js +0 -133
  923. package/dist/mybodyshield/pages/ProviderPatientManagementPage.js.map +0 -1
  924. package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js +0 -138
  925. package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js.map +0 -1
  926. package/dist/mybodyshield/pages/ProviderReportsPage.js +0 -149
  927. package/dist/mybodyshield/pages/ProviderReportsPage.js.map +0 -1
  928. package/dist/mybodyshield/pages/SharedAppointmentsPage.js +0 -129
  929. package/dist/mybodyshield/pages/SharedAppointmentsPage.js.map +0 -1
  930. package/dist/mybodyshield/pages/SharedCommunityPage.js +0 -152
  931. package/dist/mybodyshield/pages/SharedCommunityPage.js.map +0 -1
  932. package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js +0 -165
  933. package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js.map +0 -1
  934. package/dist/mybodyshield/pages/SharedEmergencyPage.js +0 -183
  935. package/dist/mybodyshield/pages/SharedEmergencyPage.js.map +0 -1
  936. package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js +0 -159
  937. package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js.map +0 -1
  938. package/dist/mybodyshield/pages/SharedMarketplacePage.js +0 -193
  939. package/dist/mybodyshield/pages/SharedMarketplacePage.js.map +0 -1
  940. package/dist/mybodyshield/pages/SharedMessagesPage.js +0 -156
  941. package/dist/mybodyshield/pages/SharedMessagesPage.js.map +0 -1
  942. package/dist/mybodyshield/pages/WellnessAssessmentsPage.js +0 -147
  943. package/dist/mybodyshield/pages/WellnessAssessmentsPage.js.map +0 -1
  944. package/dist/mybodyshield/pages/WellnessClientsPage.js +0 -182
  945. package/dist/mybodyshield/pages/WellnessClientsPage.js.map +0 -1
  946. package/dist/mybodyshield/pages/WellnessDashboardPage.js +0 -136
  947. package/dist/mybodyshield/pages/WellnessDashboardPage.js.map +0 -1
  948. package/dist/mybodyshield/pages/WellnessProgramsPage.js +0 -140
  949. package/dist/mybodyshield/pages/WellnessProgramsPage.js.map +0 -1
  950. package/dist/mybodyshield/providers/MyBodyShieldProvider.js +0 -27
  951. package/dist/mybodyshield/providers/MyBodyShieldProvider.js.map +0 -1
  952. package/dist/mybodyshield/store/mybodyshieldStore.js +0 -710
  953. package/dist/mybodyshield/store/mybodyshieldStore.js.map +0 -1
@@ -0,0 +1,378 @@
1
+ import { useMyBodyShield as e } from "../context/MyBodyShieldContext.js";
2
+ import "../context/index.js";
3
+ import { useMutation as t, useQuery as n, useQueryClient as r } from "@tanstack/react-query";
4
+ import { graphqlFetch as i } from "@burdenoff/fe-libs/shared/graphql";
5
+ //#region src/mybodyshield/hooks/useMyBodyShieldApi.ts
6
+ var a = () => {
7
+ let e = globalThis;
8
+ e.__graphqlFetchResponseCache?.clear(), e.__graphqlFetchPendingResponses?.clear(), e.__boffGraphQLResponseCache?.clear();
9
+ }, o = async (e, t, n) => {
10
+ let r = await i({
11
+ gateway: "workspace",
12
+ baseUrl: n,
13
+ query: e,
14
+ variables: t,
15
+ workspaceToken: !0
16
+ });
17
+ if (r.errors?.length) throw Error(r.errors[0]?.message ?? "GraphQL request failed");
18
+ if (!r.data) throw Error("GraphQL response did not include data");
19
+ return /^\s*mutation\b/.test(e) && a(), r.data;
20
+ }, s = {
21
+ programs: ["mybodyshield", "programs"],
22
+ program: (e) => [
23
+ "mybodyshield",
24
+ "program",
25
+ e
26
+ ],
27
+ programWorkouts: (e) => [
28
+ "mybodyshield",
29
+ "program-workouts",
30
+ e
31
+ ],
32
+ sessions: ["mybodyshield", "sessions"],
33
+ session: (e) => [
34
+ "mybodyshield",
35
+ "session",
36
+ e
37
+ ],
38
+ goals: ["mybodyshield", "goals"],
39
+ goal: (e) => [
40
+ "mybodyshield",
41
+ "goal",
42
+ e
43
+ ],
44
+ meals: ["mybodyshield", "meals"],
45
+ nutritionPlan: (e) => [
46
+ "mybodyshield",
47
+ "nutrition-plan",
48
+ e
49
+ ],
50
+ activePlan: ["mybodyshield", "active-plan"],
51
+ dailyMacros: ["mybodyshield", "daily-macros"],
52
+ bodyMetrics: ["mybodyshield", "body-metrics"],
53
+ recovery: ["mybodyshield", "recovery"],
54
+ coaching: ["mybodyshield", "coaching"]
55
+ }, c = { limit: 50 }, l = "\n id workspaceId memberId coachId name description goalType level phase status\n weeks daysPerWeek startDate endDate tags createdAt updatedAt\n", u = "\n id workspaceId workoutId name instructions muscleGroup sets reps targetWeight\n restSeconds orderIndex demo { id } createdAt updatedAt\n", d = "\n id workspaceId programId name description type dayOfWeek weekNumber orderIndex\n durationMin createdAt updatedAt\n", f = "\n id workspaceId sessionId exerciseName setNumber reps weight distanceM durationSec\n isPersonalRecord createdAt updatedAt\n", p = "\n id workspaceId memberId programId workoutId status scheduledFor startedAt completedAt\n caloriesBurned perceivedExertion notes createdAt updatedAt\n", m = "\n id workspaceId memberId title description type status targetValue currentValue\n baselineValue unit targetDate achievedAt createdAt updatedAt\n", h = "\n id workspaceId memberId planId name mealType calories proteinG carbsG fatG servings\n isFavorite loggedAt createdAt updatedAt\n", g = "\n id workspaceId memberId coachId name goalType calorieTarget proteinTarget carbsTarget\n fatTarget startDate endDate isActive notes createdAt updatedAt\n", _ = "\n id workspaceId memberId type value unit measuredAt notes photo { id } createdAt updatedAt\n", v = "\n id workspaceId memberId metric score sleepHours notes loggedAt createdAt updatedAt\n", y = "\n id workspaceId coachId memberId status specialty shareWorkouts shareNutrition\n shareMetrics startedAt endedAt notes createdAt updatedAt\n", b = "\n date calories proteinG carbsG fatG calorieTarget proteinTarget carbsTarget fatTarget\n", x = (t = {}) => {
56
+ let { apiGatewayUrl: r } = e();
57
+ return n({
58
+ queryKey: [...s.programs, t],
59
+ queryFn: async () => (await o(`query MybListPrograms($status: MybProgramStatus, $memberId: ID, $pagination: PaginationInput) {
60
+ mybListPrograms(status: $status, memberId: $memberId, pagination: $pagination) {
61
+ items { ${l} }
62
+ pageInfo { cursor hasMore }
63
+ }
64
+ }`, {
65
+ status: t.status,
66
+ memberId: t.memberId,
67
+ pagination: t.pagination ?? c
68
+ }, r)).mybListPrograms
69
+ });
70
+ }, S = (t) => {
71
+ let { apiGatewayUrl: r } = e();
72
+ return n({
73
+ queryKey: s.program(t ?? ""),
74
+ enabled: !!t,
75
+ queryFn: async () => (await o(`query MybProgram($id: ID!) {
76
+ mybProgram(id: $id) {
77
+ ${l}
78
+ workouts {
79
+ ${d}
80
+ exercises { ${u} }
81
+ }
82
+ }
83
+ }`, { id: t }, r)).mybProgram
84
+ });
85
+ }, C = () => {
86
+ let { apiGatewayUrl: n } = e(), i = r();
87
+ return t({
88
+ mutationFn: async (e) => (await o(`mutation MybCreateProgram($input: MybCreateProgramInput!) {
89
+ mybCreateProgram(input: $input) { ${l} }
90
+ }`, { input: e }, n)).mybCreateProgram,
91
+ onSuccess: () => i.invalidateQueries({ queryKey: s.programs })
92
+ });
93
+ }, w = () => {
94
+ let { apiGatewayUrl: n } = e(), i = r();
95
+ return t({
96
+ mutationFn: async (e) => (await o(`mutation MybTransitionProgram($id: ID!, $status: MybProgramStatus!) {
97
+ mybTransitionProgram(id: $id, status: $status) { ${l} }
98
+ }`, e, n)).mybTransitionProgram,
99
+ onSuccess: (e) => {
100
+ i.invalidateQueries({ queryKey: s.programs }), i.invalidateQueries({ queryKey: s.program(e.id) });
101
+ }
102
+ });
103
+ }, T = () => {
104
+ let { apiGatewayUrl: n } = e(), i = r();
105
+ return t({
106
+ mutationFn: async (e) => (await o("mutation MybArchiveProgram($id: ID!) { mybArchiveProgram(id: $id) }", { id: e }, n)).mybArchiveProgram,
107
+ onSuccess: () => i.invalidateQueries({ queryKey: s.programs })
108
+ });
109
+ }, E = () => {
110
+ let { apiGatewayUrl: n } = e(), i = r();
111
+ return t({
112
+ mutationFn: async (e) => (await o(`mutation MybAddWorkout($input: MybCreateWorkoutInput!) {
113
+ mybAddWorkout(input: $input) { ${d} }
114
+ }`, { input: e }, n)).mybAddWorkout,
115
+ onSuccess: (e) => {
116
+ i.invalidateQueries({ queryKey: s.program(e.programId) }), i.invalidateQueries({ queryKey: s.programWorkouts(e.programId) });
117
+ }
118
+ });
119
+ }, D = () => {
120
+ let { apiGatewayUrl: n } = e(), i = r();
121
+ return t({
122
+ mutationFn: async (e) => (await o("mutation MybAddExercise($input: MybCreateExerciseInput!) {\n mybAddExercise(input: $input) { id workoutId }\n }", { input: e }, n)).mybAddExercise,
123
+ onSuccess: () => {
124
+ i.invalidateQueries({ queryKey: ["mybodyshield", "program"] }), i.invalidateQueries({ queryKey: ["mybodyshield", "program-workouts"] });
125
+ }
126
+ });
127
+ }, O = (t = {}) => {
128
+ let { apiGatewayUrl: r } = e();
129
+ return n({
130
+ queryKey: [...s.sessions, t],
131
+ queryFn: async () => (await o(`query MybListSessions($status: MybSessionStatus, $programId: ID, $pagination: PaginationInput) {
132
+ mybListSessions(status: $status, programId: $programId, pagination: $pagination) {
133
+ items { ${p} }
134
+ pageInfo { cursor hasMore }
135
+ }
136
+ }`, {
137
+ status: t.status,
138
+ programId: t.programId,
139
+ pagination: t.pagination ?? c
140
+ }, r)).mybListSessions
141
+ });
142
+ }, k = (t) => {
143
+ let { apiGatewayUrl: r } = e();
144
+ return n({
145
+ queryKey: s.session(t ?? ""),
146
+ enabled: !!t,
147
+ queryFn: async () => (await o(`query MybSession($id: ID!) {
148
+ mybSession(id: $id) {
149
+ ${p}
150
+ sets { ${f} }
151
+ }
152
+ }`, { id: t }, r)).mybSession
153
+ });
154
+ }, A = () => {
155
+ let { apiGatewayUrl: n } = e(), i = r();
156
+ return t({
157
+ mutationFn: async (e) => (await o(`mutation MybStartSession($input: MybStartSessionInput!) {
158
+ mybStartSession(input: $input) { ${p} }
159
+ }`, { input: e }, n)).mybStartSession,
160
+ onSuccess: () => i.invalidateQueries({ queryKey: s.sessions })
161
+ });
162
+ }, j = () => {
163
+ let { apiGatewayUrl: n } = e(), i = r();
164
+ return t({
165
+ mutationFn: async (e) => (await o(`mutation MybLogSet($input: MybLogSetInput!) {
166
+ mybLogSet(input: $input) { ${f} }
167
+ }`, { input: e }, n)).mybLogSet,
168
+ onSuccess: (e) => {
169
+ i.invalidateQueries({ queryKey: s.session(e.sessionId) }), i.invalidateQueries({ queryKey: s.sessions });
170
+ }
171
+ });
172
+ }, M = () => {
173
+ let { apiGatewayUrl: n } = e(), i = r();
174
+ return t({
175
+ mutationFn: async (e) => (await o(`mutation MybCompleteSession($id: ID!, $input: MybCompleteSessionInput!) {
176
+ mybCompleteSession(id: $id, input: $input) { ${p} }
177
+ }`, e, n)).mybCompleteSession,
178
+ onSuccess: (e) => {
179
+ i.invalidateQueries({ queryKey: s.session(e.id) }), i.invalidateQueries({ queryKey: s.sessions });
180
+ }
181
+ });
182
+ }, N = (t = {}) => {
183
+ let { apiGatewayUrl: r } = e();
184
+ return n({
185
+ queryKey: [...s.goals, t],
186
+ queryFn: async () => (await o(`query MybListGoals($status: MybGoalStatus, $memberId: ID, $pagination: PaginationInput) {
187
+ mybListGoals(status: $status, memberId: $memberId, pagination: $pagination) {
188
+ items { ${m} }
189
+ pageInfo { cursor hasMore }
190
+ }
191
+ }`, {
192
+ status: t.status,
193
+ memberId: t.memberId,
194
+ pagination: t.pagination ?? c
195
+ }, r)).mybListGoals
196
+ });
197
+ }, P = () => {
198
+ let { apiGatewayUrl: n } = e(), i = r();
199
+ return t({
200
+ mutationFn: async (e) => (await o(`mutation MybCreateGoal($input: MybCreateGoalInput!) {
201
+ mybCreateGoal(input: $input) { ${m} }
202
+ }`, { input: e }, n)).mybCreateGoal,
203
+ onSuccess: () => i.invalidateQueries({ queryKey: s.goals })
204
+ });
205
+ }, F = () => {
206
+ let { apiGatewayUrl: n } = e(), i = r();
207
+ return t({
208
+ mutationFn: async (e) => (await o(`mutation MybUpdateGoal($id: ID!, $input: MybUpdateGoalInput!) {
209
+ mybUpdateGoal(id: $id, input: $input) { ${m} }
210
+ }`, e, n)).mybUpdateGoal,
211
+ onSuccess: () => i.invalidateQueries({ queryKey: s.goals })
212
+ });
213
+ }, I = () => {
214
+ let { apiGatewayUrl: n } = e(), i = r();
215
+ return t({
216
+ mutationFn: async (e) => (await o(`mutation MybAchieveGoal($id: ID!) {
217
+ mybAchieveGoal(id: $id) { ${m} }
218
+ }`, { id: e }, n)).mybAchieveGoal,
219
+ onSuccess: () => i.invalidateQueries({ queryKey: s.goals })
220
+ });
221
+ }, L = (t) => {
222
+ let { apiGatewayUrl: r } = e();
223
+ return n({
224
+ queryKey: [...s.activePlan, t ?? "me"],
225
+ queryFn: async () => (await o(`query MybActiveNutritionPlan($memberId: ID) {
226
+ mybActiveNutritionPlan(memberId: $memberId) { ${g} }
227
+ }`, { memberId: t }, r)).mybActiveNutritionPlan
228
+ });
229
+ }, R = (t = {}) => {
230
+ let { apiGatewayUrl: r } = e();
231
+ return n({
232
+ queryKey: [...s.meals, t],
233
+ queryFn: async () => (await o(`query MybListMeals($mealType: MybMealType, $planId: ID, $pagination: PaginationInput) {
234
+ mybListMeals(mealType: $mealType, planId: $planId, pagination: $pagination) {
235
+ items { ${h} }
236
+ pageInfo { cursor hasMore }
237
+ }
238
+ }`, {
239
+ mealType: t.mealType,
240
+ planId: t.planId,
241
+ pagination: t.pagination ?? c
242
+ }, r)).mybListMeals
243
+ });
244
+ }, z = (t, r) => {
245
+ let { apiGatewayUrl: i } = e();
246
+ return n({
247
+ queryKey: [
248
+ ...s.dailyMacros,
249
+ t ?? "today",
250
+ r ?? "me"
251
+ ],
252
+ queryFn: async () => (await o(`query MybDailyMacros($date: DateTime, $memberId: ID) {
253
+ mybDailyMacros(date: $date, memberId: $memberId) { ${b} }
254
+ }`, {
255
+ date: t,
256
+ memberId: r
257
+ }, i)).mybDailyMacros
258
+ });
259
+ }, B = () => {
260
+ let { apiGatewayUrl: n } = e(), i = r();
261
+ return t({
262
+ mutationFn: async (e) => (await o(`mutation MybCreateNutritionPlan($input: MybCreateNutritionPlanInput!) {
263
+ mybCreateNutritionPlan(input: $input) { ${g} }
264
+ }`, { input: e }, n)).mybCreateNutritionPlan,
265
+ onSuccess: () => {
266
+ i.invalidateQueries({ queryKey: s.activePlan });
267
+ }
268
+ });
269
+ }, V = () => {
270
+ let { apiGatewayUrl: n } = e(), i = r();
271
+ return t({
272
+ mutationFn: async (e) => (await o(`mutation MybUpdateNutritionPlan($id: ID!, $input: MybUpdateNutritionPlanInput!) {
273
+ mybUpdateNutritionPlan(id: $id, input: $input) { ${g} }
274
+ }`, e, n)).mybUpdateNutritionPlan,
275
+ onSuccess: (e) => {
276
+ i.invalidateQueries({ queryKey: s.activePlan }), i.invalidateQueries({ queryKey: s.nutritionPlan(e.id) });
277
+ }
278
+ });
279
+ }, H = () => {
280
+ let { apiGatewayUrl: n } = e(), i = r();
281
+ return t({
282
+ mutationFn: async (e) => (await o(`mutation MybLogMeal($input: MybLogMealInput!) {
283
+ mybLogMeal(input: $input) { ${h} }
284
+ }`, { input: e }, n)).mybLogMeal,
285
+ onSuccess: (e) => {
286
+ i.invalidateQueries({ queryKey: s.meals }), i.invalidateQueries({ queryKey: s.dailyMacros }), e.planId && i.invalidateQueries({ queryKey: s.nutritionPlan(e.planId) });
287
+ }
288
+ });
289
+ }, U = () => {
290
+ let { apiGatewayUrl: n } = e(), i = r();
291
+ return t({
292
+ mutationFn: async (e) => (await o("mutation MybDeleteMeal($id: ID!) { mybDeleteMeal(id: $id) }", { id: e }, n)).mybDeleteMeal,
293
+ onSuccess: () => {
294
+ i.invalidateQueries({ queryKey: s.meals }), i.invalidateQueries({ queryKey: s.dailyMacros });
295
+ }
296
+ });
297
+ }, W = (t = {}) => {
298
+ let { apiGatewayUrl: r } = e();
299
+ return n({
300
+ queryKey: [...s.bodyMetrics, t],
301
+ queryFn: async () => (await o(`query MybListBodyMetrics($type: MybBodyMetricType, $memberId: ID, $pagination: PaginationInput) {
302
+ mybListBodyMetrics(type: $type, memberId: $memberId, pagination: $pagination) {
303
+ items { ${_} }
304
+ pageInfo { cursor hasMore }
305
+ }
306
+ }`, {
307
+ type: t.type,
308
+ memberId: t.memberId,
309
+ pagination: t.pagination ?? c
310
+ }, r)).mybListBodyMetrics
311
+ });
312
+ }, G = () => {
313
+ let { apiGatewayUrl: n } = e(), i = r();
314
+ return t({
315
+ mutationFn: async (e) => (await o(`mutation MybRecordBodyMetric($input: MybRecordMetricInput!) {
316
+ mybRecordBodyMetric(input: $input) { ${_} }
317
+ }`, { input: e }, n)).mybRecordBodyMetric,
318
+ onSuccess: () => i.invalidateQueries({ queryKey: s.bodyMetrics })
319
+ });
320
+ }, K = (t, r) => {
321
+ let { apiGatewayUrl: i } = e();
322
+ return n({
323
+ queryKey: [
324
+ ...s.recovery,
325
+ t ?? "all",
326
+ r ?? "me"
327
+ ],
328
+ queryFn: async () => (await o(`query MybListRecoveryLogs($metric: MybRecoveryMetric, $memberId: ID) {
329
+ mybListRecoveryLogs(metric: $metric, memberId: $memberId) { ${v} }
330
+ }`, {
331
+ metric: t,
332
+ memberId: r
333
+ }, i)).mybListRecoveryLogs
334
+ });
335
+ }, q = () => {
336
+ let { apiGatewayUrl: n } = e(), i = r();
337
+ return t({
338
+ mutationFn: async (e) => (await o(`mutation MybLogRecovery($input: MybLogRecoveryInput!) {
339
+ mybLogRecovery(input: $input) { ${v} }
340
+ }`, { input: e }, n)).mybLogRecovery,
341
+ onSuccess: () => i.invalidateQueries({ queryKey: s.recovery })
342
+ });
343
+ }, J = (t, r) => {
344
+ let { apiGatewayUrl: i } = e();
345
+ return n({
346
+ queryKey: [
347
+ ...s.coaching,
348
+ t ?? "all",
349
+ r ?? "me"
350
+ ],
351
+ queryFn: async () => (await o(`query MybListCoaching($status: MybCoachingStatus, $memberId: ID) {
352
+ mybListCoaching(status: $status, memberId: $memberId) { ${y} }
353
+ }`, {
354
+ status: t,
355
+ memberId: r
356
+ }, i)).mybListCoaching
357
+ });
358
+ }, Y = () => {
359
+ let { apiGatewayUrl: n } = e(), i = r();
360
+ return t({
361
+ mutationFn: async (e) => (await o(`mutation MybCreateCoaching($input: MybCreateCoachingInput!) {
362
+ mybCreateCoaching(input: $input) { ${y} }
363
+ }`, { input: e }, n)).mybCreateCoaching,
364
+ onSuccess: () => i.invalidateQueries({ queryKey: s.coaching })
365
+ });
366
+ }, X = () => {
367
+ let { apiGatewayUrl: n } = e(), i = r();
368
+ return t({
369
+ mutationFn: async (e) => (await o(`mutation MybTransitionCoaching($id: ID!, $status: MybCoachingStatus!) {
370
+ mybTransitionCoaching(id: $id, status: $status) { ${y} }
371
+ }`, e, n)).mybTransitionCoaching,
372
+ onSuccess: () => i.invalidateQueries({ queryKey: s.coaching })
373
+ });
374
+ };
375
+ //#endregion
376
+ export { I as useMybAchieveGoal, L as useMybActiveNutritionPlan, D as useMybAddExercise, E as useMybAddWorkout, T as useMybArchiveProgram, W as useMybBodyMetrics, J as useMybCoaching, M as useMybCompleteSession, Y as useMybCreateCoaching, P as useMybCreateGoal, B as useMybCreateNutritionPlan, C as useMybCreateProgram, z as useMybDailyMacros, U as useMybDeleteMeal, N as useMybGoals, H as useMybLogMeal, q as useMybLogRecovery, j as useMybLogSet, R as useMybMeals, S as useMybProgram, x as useMybPrograms, G as useMybRecordBodyMetric, K as useMybRecoveryLogs, k as useMybSession, O as useMybSessions, A as useMybStartSession, X as useMybTransitionCoaching, w as useMybTransitionProgram, F as useMybUpdateGoal, V as useMybUpdateNutritionPlan };
377
+
378
+ //# sourceMappingURL=useMyBodyShieldApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMyBodyShieldApi.js","names":[],"sources":["../../../src/mybodyshield/hooks/useMyBodyShieldApi.ts"],"sourcesContent":["/**\n * MyBodyShield API hooks\n * @module mybodyshield/hooks\n *\n * React-Query hooks wired DIRECTLY to the real `wspace-mybodyshield-svc`\n * federated GraphQL contract (the `myb*` operations). Every query/mutation\n * below uses an inline gql string whose fields match the svc\n * `.hive-schema.graphql` exactly. No mock data.\n *\n * Transport: `graphqlFetch({ gateway: 'workspace', workspaceToken: true })` —\n * the host shell supplies the gateway base URL + a workspace-scoped token.\n */\n\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';\nimport { graphqlFetch } from '@burdenoff/fe-libs/shared/graphql';\n\nimport { useMyBodyShield } from '../context';\nimport type {\n MybConnection,\n MybProgram,\n MybProgramStatus,\n MybWorkout,\n MybWorkoutSession,\n MybSessionStatus,\n MybSessionSet,\n MybGoal,\n MybGoalStatus,\n MybMealLog,\n MybMealType,\n MybNutritionPlan,\n MybDailyMacros,\n MybBodyMetric,\n MybBodyMetricType,\n MybRecoveryLog,\n MybRecoveryMetric,\n MybCoachingRelationship,\n MybCoachingStatus,\n MybCreateProgramInput,\n MybUpdateProgramInput,\n MybCreateWorkoutInput,\n MybCreateExerciseInput,\n MybStartSessionInput,\n MybLogSetInput,\n MybCompleteSessionInput,\n MybCreateGoalInput,\n MybUpdateGoalInput,\n MybCreateNutritionPlanInput,\n MybUpdateNutritionPlanInput,\n MybLogMealInput,\n MybRecordMetricInput,\n MybLogRecoveryInput,\n MybCreateCoachingInput,\n PaginationInput,\n} from '../types';\n\n// ============================================================================\n// Transport\n// ============================================================================\n\n/**\n * fe-libs `graphqlFetch` coalesces `query` responses in an in-memory cache keyed\n * by operationName+variables for ~15s (mutations are never cached). A read\n * issued right after a write (e.g. React-Query refetch triggered by our\n * `invalidateQueries`) would otherwise return the PRE-mutation response until the\n * TTL expires — making just-created/updated rows invisible until a full reload.\n * fe-libs' documented remedy is that write-performing callers clear those caches;\n * we do exactly that after every myb mutation so every follow-up read is fresh.\n */\ntype GraphqlReadCacheGlobals = {\n __graphqlFetchResponseCache?: { clear: () => void };\n __graphqlFetchPendingResponses?: { clear: () => void };\n __boffGraphQLResponseCache?: { clear: () => void };\n};\n\nconst clearGraphqlReadCaches = (): void => {\n const g = globalThis as GraphqlReadCacheGlobals;\n g.__graphqlFetchResponseCache?.clear();\n g.__graphqlFetchPendingResponses?.clear();\n g.__boffGraphQLResponseCache?.clear();\n};\n\nconst mybQuery = async <TData>(\n query: string,\n variables: Record<string, unknown>,\n baseUrl?: string\n): Promise<TData> => {\n const response = await graphqlFetch<TData>({\n gateway: 'workspace',\n baseUrl,\n query,\n variables,\n workspaceToken: true,\n });\n\n if (response.errors?.length) {\n throw new Error(response.errors[0]?.message ?? 'GraphQL request failed');\n }\n if (!response.data) {\n throw new Error('GraphQL response did not include data');\n }\n if (/^\\s*mutation\\b/.test(query)) {\n clearGraphqlReadCaches();\n }\n return response.data;\n};\n\n// React-Query key roots (one namespace per domain entity).\nconst KEY = {\n programs: ['mybodyshield', 'programs'] as const,\n program: (id: string) => ['mybodyshield', 'program', id] as const,\n programWorkouts: (id: string) => ['mybodyshield', 'program-workouts', id] as const,\n sessions: ['mybodyshield', 'sessions'] as const,\n session: (id: string) => ['mybodyshield', 'session', id] as const,\n goals: ['mybodyshield', 'goals'] as const,\n goal: (id: string) => ['mybodyshield', 'goal', id] as const,\n meals: ['mybodyshield', 'meals'] as const,\n nutritionPlan: (id: string) => ['mybodyshield', 'nutrition-plan', id] as const,\n activePlan: ['mybodyshield', 'active-plan'] as const,\n dailyMacros: ['mybodyshield', 'daily-macros'] as const,\n bodyMetrics: ['mybodyshield', 'body-metrics'] as const,\n recovery: ['mybodyshield', 'recovery'] as const,\n coaching: ['mybodyshield', 'coaching'] as const,\n};\n\nconst DEFAULT_PAGE: PaginationInput = { limit: 50 };\n\n// ============================================================================\n// Reusable gql field selections (codegen-free strictness)\n// ============================================================================\n\nconst PROGRAM_FIELDS = `\n id workspaceId memberId coachId name description goalType level phase status\n weeks daysPerWeek startDate endDate tags createdAt updatedAt\n`;\n\nconst EXERCISE_FIELDS = `\n id workspaceId workoutId name instructions muscleGroup sets reps targetWeight\n restSeconds orderIndex demo { id } createdAt updatedAt\n`;\n\nconst WORKOUT_FIELDS = `\n id workspaceId programId name description type dayOfWeek weekNumber orderIndex\n durationMin createdAt updatedAt\n`;\n\nconst SET_FIELDS = `\n id workspaceId sessionId exerciseName setNumber reps weight distanceM durationSec\n isPersonalRecord createdAt updatedAt\n`;\n\nconst SESSION_FIELDS = `\n id workspaceId memberId programId workoutId status scheduledFor startedAt completedAt\n caloriesBurned perceivedExertion notes createdAt updatedAt\n`;\n\nconst GOAL_FIELDS = `\n id workspaceId memberId title description type status targetValue currentValue\n baselineValue unit targetDate achievedAt createdAt updatedAt\n`;\n\nconst MEAL_FIELDS = `\n id workspaceId memberId planId name mealType calories proteinG carbsG fatG servings\n isFavorite loggedAt createdAt updatedAt\n`;\n\nconst PLAN_FIELDS = `\n id workspaceId memberId coachId name goalType calorieTarget proteinTarget carbsTarget\n fatTarget startDate endDate isActive notes createdAt updatedAt\n`;\n\nconst METRIC_FIELDS = `\n id workspaceId memberId type value unit measuredAt notes photo { id } createdAt updatedAt\n`;\n\nconst RECOVERY_FIELDS = `\n id workspaceId memberId metric score sleepHours notes loggedAt createdAt updatedAt\n`;\n\nconst COACHING_FIELDS = `\n id workspaceId coachId memberId status specialty shareWorkouts shareNutrition\n shareMetrics startedAt endedAt notes createdAt updatedAt\n`;\n\nconst MACROS_FIELDS = `\n date calories proteinG carbsG fatG calorieTarget proteinTarget carbsTarget fatTarget\n`;\n\n// ============================================================================\n// Programs (Training)\n// ============================================================================\n\nexport interface ProgramFilters {\n status?: MybProgramStatus;\n memberId?: string;\n pagination?: PaginationInput;\n}\n\nexport const useMybPrograms = (filters: ProgramFilters = {}) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.programs, filters],\n queryFn: async () => {\n const result = await mybQuery<{ mybListPrograms: MybConnection<MybProgram> }>(\n `query MybListPrograms($status: MybProgramStatus, $memberId: ID, $pagination: PaginationInput) {\n mybListPrograms(status: $status, memberId: $memberId, pagination: $pagination) {\n items { ${PROGRAM_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n {\n status: filters.status,\n memberId: filters.memberId,\n pagination: filters.pagination ?? DEFAULT_PAGE,\n },\n apiGatewayUrl\n );\n return result.mybListPrograms;\n },\n });\n};\n\nexport const useMybProgram = (id: string | undefined) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: KEY.program(id ?? ''),\n enabled: Boolean(id),\n queryFn: async () => {\n const result = await mybQuery<{ mybProgram: MybProgram | null }>(\n `query MybProgram($id: ID!) {\n mybProgram(id: $id) {\n ${PROGRAM_FIELDS}\n workouts {\n ${WORKOUT_FIELDS}\n exercises { ${EXERCISE_FIELDS} }\n }\n }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.mybProgram;\n },\n });\n};\n\nexport const useMybProgramWorkouts = (programId: string | undefined) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: KEY.programWorkouts(programId ?? ''),\n enabled: Boolean(programId),\n queryFn: async () => {\n const result = await mybQuery<{ mybProgramWorkouts: MybWorkout[] }>(\n `query MybProgramWorkouts($programId: ID!) {\n mybProgramWorkouts(programId: $programId) {\n ${WORKOUT_FIELDS}\n exercises { ${EXERCISE_FIELDS} }\n }\n }`,\n { programId },\n apiGatewayUrl\n );\n return result.mybProgramWorkouts;\n },\n });\n};\n\nexport const useMybCreateProgram = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateProgramInput) => {\n const result = await mybQuery<{ mybCreateProgram: MybProgram }>(\n `mutation MybCreateProgram($input: MybCreateProgramInput!) {\n mybCreateProgram(input: $input) { ${PROGRAM_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybCreateProgram;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.programs }),\n });\n};\n\nexport const useMybUpdateProgram = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; input: MybUpdateProgramInput }) => {\n const result = await mybQuery<{ mybUpdateProgram: MybProgram }>(\n `mutation MybUpdateProgram($id: ID!, $input: MybUpdateProgramInput!) {\n mybUpdateProgram(id: $id, input: $input) { ${PROGRAM_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybUpdateProgram;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.programs });\n qc.invalidateQueries({ queryKey: KEY.program(data.id) });\n },\n });\n};\n\nexport const useMybTransitionProgram = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; status: MybProgramStatus }) => {\n const result = await mybQuery<{ mybTransitionProgram: MybProgram }>(\n `mutation MybTransitionProgram($id: ID!, $status: MybProgramStatus!) {\n mybTransitionProgram(id: $id, status: $status) { ${PROGRAM_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybTransitionProgram;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.programs });\n qc.invalidateQueries({ queryKey: KEY.program(data.id) });\n },\n });\n};\n\nexport const useMybArchiveProgram = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (id: string) => {\n const result = await mybQuery<{ mybArchiveProgram: boolean }>(\n `mutation MybArchiveProgram($id: ID!) { mybArchiveProgram(id: $id) }`,\n { id },\n apiGatewayUrl\n );\n return result.mybArchiveProgram;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.programs }),\n });\n};\n\nexport const useMybAddWorkout = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateWorkoutInput) => {\n const result = await mybQuery<{ mybAddWorkout: MybWorkout }>(\n `mutation MybAddWorkout($input: MybCreateWorkoutInput!) {\n mybAddWorkout(input: $input) { ${WORKOUT_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybAddWorkout;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.program(data.programId) });\n qc.invalidateQueries({ queryKey: KEY.programWorkouts(data.programId) });\n },\n });\n};\n\nexport const useMybAddExercise = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateExerciseInput) => {\n const result = await mybQuery<{ mybAddExercise: { id: string; workoutId: string } }>(\n `mutation MybAddExercise($input: MybCreateExerciseInput!) {\n mybAddExercise(input: $input) { id workoutId }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybAddExercise;\n },\n onSuccess: () => {\n // Exercises live under a program's workouts; invalidate program + workout\n // caches so the newly-added exercise appears on the program detail tree.\n qc.invalidateQueries({ queryKey: ['mybodyshield', 'program'] });\n qc.invalidateQueries({ queryKey: ['mybodyshield', 'program-workouts'] });\n },\n });\n};\n\n// ============================================================================\n// Sessions / Sets (Training — live logging)\n// ============================================================================\n\nexport interface SessionFilters {\n status?: MybSessionStatus;\n programId?: string;\n pagination?: PaginationInput;\n}\n\nexport const useMybSessions = (filters: SessionFilters = {}) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.sessions, filters],\n queryFn: async () => {\n const result = await mybQuery<{ mybListSessions: MybConnection<MybWorkoutSession> }>(\n `query MybListSessions($status: MybSessionStatus, $programId: ID, $pagination: PaginationInput) {\n mybListSessions(status: $status, programId: $programId, pagination: $pagination) {\n items { ${SESSION_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n {\n status: filters.status,\n programId: filters.programId,\n pagination: filters.pagination ?? DEFAULT_PAGE,\n },\n apiGatewayUrl\n );\n return result.mybListSessions;\n },\n });\n};\n\nexport const useMybSession = (id: string | undefined) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: KEY.session(id ?? ''),\n enabled: Boolean(id),\n queryFn: async () => {\n const result = await mybQuery<{ mybSession: MybWorkoutSession | null }>(\n `query MybSession($id: ID!) {\n mybSession(id: $id) {\n ${SESSION_FIELDS}\n sets { ${SET_FIELDS} }\n }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.mybSession;\n },\n });\n};\n\nexport const useMybStartSession = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybStartSessionInput) => {\n const result = await mybQuery<{ mybStartSession: MybWorkoutSession }>(\n `mutation MybStartSession($input: MybStartSessionInput!) {\n mybStartSession(input: $input) { ${SESSION_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybStartSession;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.sessions }),\n });\n};\n\nexport const useMybLogSet = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybLogSetInput) => {\n const result = await mybQuery<{ mybLogSet: MybSessionSet }>(\n `mutation MybLogSet($input: MybLogSetInput!) {\n mybLogSet(input: $input) { ${SET_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybLogSet;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.session(data.sessionId) });\n qc.invalidateQueries({ queryKey: KEY.sessions });\n },\n });\n};\n\nexport const useMybCompleteSession = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; input: MybCompleteSessionInput }) => {\n const result = await mybQuery<{ mybCompleteSession: MybWorkoutSession }>(\n `mutation MybCompleteSession($id: ID!, $input: MybCompleteSessionInput!) {\n mybCompleteSession(id: $id, input: $input) { ${SESSION_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybCompleteSession;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.session(data.id) });\n qc.invalidateQueries({ queryKey: KEY.sessions });\n },\n });\n};\n\n// ============================================================================\n// Goals (Progress)\n// ============================================================================\n\nexport interface GoalFilters {\n status?: MybGoalStatus;\n memberId?: string;\n pagination?: PaginationInput;\n}\n\nexport const useMybGoals = (filters: GoalFilters = {}) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.goals, filters],\n queryFn: async () => {\n const result = await mybQuery<{ mybListGoals: MybConnection<MybGoal> }>(\n `query MybListGoals($status: MybGoalStatus, $memberId: ID, $pagination: PaginationInput) {\n mybListGoals(status: $status, memberId: $memberId, pagination: $pagination) {\n items { ${GOAL_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n {\n status: filters.status,\n memberId: filters.memberId,\n pagination: filters.pagination ?? DEFAULT_PAGE,\n },\n apiGatewayUrl\n );\n return result.mybListGoals;\n },\n });\n};\n\nexport const useMybCreateGoal = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateGoalInput) => {\n const result = await mybQuery<{ mybCreateGoal: MybGoal }>(\n `mutation MybCreateGoal($input: MybCreateGoalInput!) {\n mybCreateGoal(input: $input) { ${GOAL_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybCreateGoal;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.goals }),\n });\n};\n\nexport const useMybUpdateGoal = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; input: MybUpdateGoalInput }) => {\n const result = await mybQuery<{ mybUpdateGoal: MybGoal }>(\n `mutation MybUpdateGoal($id: ID!, $input: MybUpdateGoalInput!) {\n mybUpdateGoal(id: $id, input: $input) { ${GOAL_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybUpdateGoal;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.goals }),\n });\n};\n\nexport const useMybAchieveGoal = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (id: string) => {\n const result = await mybQuery<{ mybAchieveGoal: MybGoal }>(\n `mutation MybAchieveGoal($id: ID!) {\n mybAchieveGoal(id: $id) { ${GOAL_FIELDS} }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.mybAchieveGoal;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.goals }),\n });\n};\n\n// ============================================================================\n// Nutrition (plans, meals, macros)\n// ============================================================================\n\nexport const useMybActiveNutritionPlan = (memberId?: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.activePlan, memberId ?? 'me'],\n queryFn: async () => {\n const result = await mybQuery<{ mybActiveNutritionPlan: MybNutritionPlan | null }>(\n `query MybActiveNutritionPlan($memberId: ID) {\n mybActiveNutritionPlan(memberId: $memberId) { ${PLAN_FIELDS} }\n }`,\n { memberId },\n apiGatewayUrl\n );\n return result.mybActiveNutritionPlan;\n },\n });\n};\n\nexport const useMybNutritionPlan = (id: string | undefined) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: KEY.nutritionPlan(id ?? ''),\n enabled: Boolean(id),\n queryFn: async () => {\n const result = await mybQuery<{ mybNutritionPlan: MybNutritionPlan | null }>(\n `query MybNutritionPlan($id: ID!) {\n mybNutritionPlan(id: $id) {\n ${PLAN_FIELDS}\n meals { ${MEAL_FIELDS} }\n }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.mybNutritionPlan;\n },\n });\n};\n\nexport interface MealFilters {\n mealType?: MybMealType;\n planId?: string;\n pagination?: PaginationInput;\n}\n\nexport const useMybMeals = (filters: MealFilters = {}) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.meals, filters],\n queryFn: async () => {\n const result = await mybQuery<{ mybListMeals: MybConnection<MybMealLog> }>(\n `query MybListMeals($mealType: MybMealType, $planId: ID, $pagination: PaginationInput) {\n mybListMeals(mealType: $mealType, planId: $planId, pagination: $pagination) {\n items { ${MEAL_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n {\n mealType: filters.mealType,\n planId: filters.planId,\n pagination: filters.pagination ?? DEFAULT_PAGE,\n },\n apiGatewayUrl\n );\n return result.mybListMeals;\n },\n });\n};\n\nexport const useMybDailyMacros = (date?: string, memberId?: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.dailyMacros, date ?? 'today', memberId ?? 'me'],\n queryFn: async () => {\n const result = await mybQuery<{ mybDailyMacros: MybDailyMacros }>(\n `query MybDailyMacros($date: DateTime, $memberId: ID) {\n mybDailyMacros(date: $date, memberId: $memberId) { ${MACROS_FIELDS} }\n }`,\n { date, memberId },\n apiGatewayUrl\n );\n return result.mybDailyMacros;\n },\n });\n};\n\nexport const useMybCreateNutritionPlan = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateNutritionPlanInput) => {\n const result = await mybQuery<{ mybCreateNutritionPlan: MybNutritionPlan }>(\n `mutation MybCreateNutritionPlan($input: MybCreateNutritionPlanInput!) {\n mybCreateNutritionPlan(input: $input) { ${PLAN_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybCreateNutritionPlan;\n },\n onSuccess: () => {\n qc.invalidateQueries({ queryKey: KEY.activePlan });\n },\n });\n};\n\nexport const useMybUpdateNutritionPlan = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; input: MybUpdateNutritionPlanInput }) => {\n const result = await mybQuery<{ mybUpdateNutritionPlan: MybNutritionPlan }>(\n `mutation MybUpdateNutritionPlan($id: ID!, $input: MybUpdateNutritionPlanInput!) {\n mybUpdateNutritionPlan(id: $id, input: $input) { ${PLAN_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybUpdateNutritionPlan;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.activePlan });\n qc.invalidateQueries({ queryKey: KEY.nutritionPlan(data.id) });\n },\n });\n};\n\nexport const useMybActivateNutritionPlan = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (id: string) => {\n const result = await mybQuery<{ mybActivateNutritionPlan: MybNutritionPlan }>(\n `mutation MybActivateNutritionPlan($id: ID!) {\n mybActivateNutritionPlan(id: $id) { ${PLAN_FIELDS} }\n }`,\n { id },\n apiGatewayUrl\n );\n return result.mybActivateNutritionPlan;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.activePlan });\n qc.invalidateQueries({ queryKey: KEY.nutritionPlan(data.id) });\n },\n });\n};\n\nexport const useMybLogMeal = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybLogMealInput) => {\n const result = await mybQuery<{ mybLogMeal: MybMealLog }>(\n `mutation MybLogMeal($input: MybLogMealInput!) {\n mybLogMeal(input: $input) { ${MEAL_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybLogMeal;\n },\n onSuccess: (data) => {\n qc.invalidateQueries({ queryKey: KEY.meals });\n qc.invalidateQueries({ queryKey: KEY.dailyMacros });\n if (data.planId) qc.invalidateQueries({ queryKey: KEY.nutritionPlan(data.planId) });\n },\n });\n};\n\nexport const useMybDeleteMeal = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (id: string) => {\n const result = await mybQuery<{ mybDeleteMeal: boolean }>(\n `mutation MybDeleteMeal($id: ID!) { mybDeleteMeal(id: $id) }`,\n { id },\n apiGatewayUrl\n );\n return result.mybDeleteMeal;\n },\n onSuccess: () => {\n qc.invalidateQueries({ queryKey: KEY.meals });\n qc.invalidateQueries({ queryKey: KEY.dailyMacros });\n },\n });\n};\n\n// ============================================================================\n// Body metrics (Progress)\n// ============================================================================\n\nexport interface BodyMetricFilters {\n type?: MybBodyMetricType;\n memberId?: string;\n pagination?: PaginationInput;\n}\n\nexport const useMybBodyMetrics = (filters: BodyMetricFilters = {}) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.bodyMetrics, filters],\n queryFn: async () => {\n const result = await mybQuery<{ mybListBodyMetrics: MybConnection<MybBodyMetric> }>(\n `query MybListBodyMetrics($type: MybBodyMetricType, $memberId: ID, $pagination: PaginationInput) {\n mybListBodyMetrics(type: $type, memberId: $memberId, pagination: $pagination) {\n items { ${METRIC_FIELDS} }\n pageInfo { cursor hasMore }\n }\n }`,\n {\n type: filters.type,\n memberId: filters.memberId,\n pagination: filters.pagination ?? DEFAULT_PAGE,\n },\n apiGatewayUrl\n );\n return result.mybListBodyMetrics;\n },\n });\n};\n\nexport const useMybRecordBodyMetric = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybRecordMetricInput) => {\n const result = await mybQuery<{ mybRecordBodyMetric: MybBodyMetric }>(\n `mutation MybRecordBodyMetric($input: MybRecordMetricInput!) {\n mybRecordBodyMetric(input: $input) { ${METRIC_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybRecordBodyMetric;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.bodyMetrics }),\n });\n};\n\n// ============================================================================\n// Recovery (Wellbeing)\n// ============================================================================\n\nexport const useMybRecoveryLogs = (metric?: MybRecoveryMetric, memberId?: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.recovery, metric ?? 'all', memberId ?? 'me'],\n queryFn: async () => {\n const result = await mybQuery<{ mybListRecoveryLogs: MybRecoveryLog[] }>(\n `query MybListRecoveryLogs($metric: MybRecoveryMetric, $memberId: ID) {\n mybListRecoveryLogs(metric: $metric, memberId: $memberId) { ${RECOVERY_FIELDS} }\n }`,\n { metric, memberId },\n apiGatewayUrl\n );\n return result.mybListRecoveryLogs;\n },\n });\n};\n\nexport const useMybLogRecovery = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybLogRecoveryInput) => {\n const result = await mybQuery<{ mybLogRecovery: MybRecoveryLog }>(\n `mutation MybLogRecovery($input: MybLogRecoveryInput!) {\n mybLogRecovery(input: $input) { ${RECOVERY_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybLogRecovery;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.recovery }),\n });\n};\n\n// ============================================================================\n// Coaching (Wellbeing)\n// ============================================================================\n\nexport const useMybCoaching = (status?: MybCoachingStatus, memberId?: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: [...KEY.coaching, status ?? 'all', memberId ?? 'me'],\n queryFn: async () => {\n const result = await mybQuery<{ mybListCoaching: MybCoachingRelationship[] }>(\n `query MybListCoaching($status: MybCoachingStatus, $memberId: ID) {\n mybListCoaching(status: $status, memberId: $memberId) { ${COACHING_FIELDS} }\n }`,\n { status, memberId },\n apiGatewayUrl\n );\n return result.mybListCoaching;\n },\n });\n};\n\nexport const useMybCreateCoaching = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (input: MybCreateCoachingInput) => {\n const result = await mybQuery<{ mybCreateCoaching: MybCoachingRelationship }>(\n `mutation MybCreateCoaching($input: MybCreateCoachingInput!) {\n mybCreateCoaching(input: $input) { ${COACHING_FIELDS} }\n }`,\n { input },\n apiGatewayUrl\n );\n return result.mybCreateCoaching;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.coaching }),\n });\n};\n\nexport const useMybTransitionCoaching = () => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (vars: { id: string; status: MybCoachingStatus }) => {\n const result = await mybQuery<{ mybTransitionCoaching: MybCoachingRelationship }>(\n `mutation MybTransitionCoaching($id: ID!, $status: MybCoachingStatus!) {\n mybTransitionCoaching(id: $id, status: $status) { ${COACHING_FIELDS} }\n }`,\n vars,\n apiGatewayUrl\n );\n return result.mybTransitionCoaching;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: KEY.coaching }),\n });\n};\n"],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ import "../context/index.js";
2
+ import "./useMybFiles.js";
3
+ import "@tanstack/react-query";
@@ -0,0 +1,4 @@
1
+ import "../context/index.js";
2
+ import "react";
3
+ import "@tanstack/react-query";
4
+ import "@burdenoff/fe-libs/shared/graphql";
@@ -0,0 +1,3 @@
1
+ import "../context/index.js";
2
+ import "./useMybFiles.js";
3
+ import "@tanstack/react-query";
@@ -0,0 +1,27 @@
1
+ import { useCallback as e, useMemo as t, useState as n } from "react";
2
+ //#region src/mybodyshield/hooks/usePager.ts
3
+ function r(r = 25) {
4
+ let [i, a] = n(0), o = e(() => a((e) => e + 1), []), s = e(() => a((e) => e > 0 ? e - 1 : 0), []), c = e(() => a(0), []), l = e((e) => {
5
+ a(e < 0 ? 0 : e);
6
+ }, []);
7
+ return t(() => ({
8
+ page: i,
9
+ offset: i * r,
10
+ pageSize: r,
11
+ next: o,
12
+ prev: s,
13
+ reset: c,
14
+ onPageChange: l
15
+ }), [
16
+ i,
17
+ r,
18
+ o,
19
+ s,
20
+ c,
21
+ l
22
+ ]);
23
+ }
24
+ //#endregion
25
+ export { r as useOffsetPager };
26
+
27
+ //# sourceMappingURL=usePager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePager.js","names":[],"sources":["../../../src/mybodyshield/hooks/usePager.ts"],"sourcesContent":["/**\n * useOffsetPager — offset/limit pagination for Myb* list connections.\n * @module mybodyshield/hooks\n *\n * The workspaces public gateway's composed `PaginationInput` does NOT reliably\n * carry `cursor` (the federated intersection drops it) — sending\n * `pagination.cursor` fails (GRAPHQL_VALIDATION_FAILED, or INTERNAL_SERVER_ERROR\n * on a null end-cursor). So MFE lists paginate by **offset**: pass\n * `pagination: { limit, offset: page * limit }` and drive \"Next\" from\n * `pageInfo.hasMore`. This hook keeps a 0-indexed `page` and derives `offset`.\n */\n\nimport { useCallback, useMemo, useState } from 'react';\n\nexport interface OffsetPager {\n /** 0-indexed page number for display. */\n page: number;\n /** Number of rows to skip — pass as `pagination.offset`. */\n offset: number;\n /** Rows per page. */\n pageSize: number;\n /** Advance to the next page. */\n next: () => void;\n /** Go back one page (no-op on the first page). */\n prev: () => void;\n /** Reset to the first page (call when filters change). */\n reset: () => void;\n /** Adapter for `<Pagination onPageChange>` — jumps to an absolute 0-indexed page. */\n onPageChange: (targetPage: number) => void;\n}\n\nexport function useOffsetPager(pageSize = 25): OffsetPager {\n const [page, setPage] = useState(0);\n\n const next = useCallback(() => setPage((p) => p + 1), []);\n const prev = useCallback(() => setPage((p) => (p > 0 ? p - 1 : 0)), []);\n const reset = useCallback(() => setPage(0), []);\n const onPageChange = useCallback((targetPage: number) => {\n setPage(targetPage < 0 ? 0 : targetPage);\n }, []);\n\n return useMemo(\n () => ({ page, offset: page * pageSize, pageSize, next, prev, reset, onPageChange }),\n [page, pageSize, next, prev, reset, onPageChange]\n );\n}\n"],"mappings":";;AA+BA,SAAgB,EAAe,IAAW,IAAiB;CACzD,IAAM,CAAC,GAAM,KAAW,EAAS,EAAE,EAE7B,IAAO,QAAkB,GAAS,MAAM,IAAI,EAAE,EAAE,EAAE,CAAC,EACnD,IAAO,QAAkB,GAAS,MAAO,IAAI,IAAI,IAAI,IAAI,EAAG,EAAE,EAAE,CAAC,EACjE,IAAQ,QAAkB,EAAQ,EAAE,EAAE,EAAE,CAAC,EACzC,IAAe,GAAa,MAAuB;AACvD,IAAQ,IAAa,IAAI,IAAI,EAAW;IACvC,EAAE,CAAC;AAEN,QAAO,SACE;EAAE;EAAM,QAAQ,IAAO;EAAU;EAAU;EAAM;EAAM;EAAO;EAAc,GACnF;EAAC;EAAM;EAAU;EAAM;EAAM;EAAO;EAAa,CAClD"}
@@ -1,3 +1,6 @@
1
- import "./providers/MyBodyShieldProvider.js";
2
- import "./store/mybodyshieldStore.js";
1
+ import "./utils/navigation.js";
2
+ import "./context/MyBodyShieldContext.js";
3
+ import "./utils/cn.js";
4
+ import "./utils/formatters.js";
5
+ import "./context/index.js";
3
6
  import "./MyBodyShieldRoot.js";