@burdenoff/microfe-mybodyshield 2026.512.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.
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/index.js +6 -4
- package/dist/mybodyshield/MyBodyShieldRoot.js +101 -350
- package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.js +66 -193
- package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
- package/dist/mybodyshield/components/DataTable.js +71 -0
- package/dist/mybodyshield/components/DataTable.js.map +1 -0
- package/dist/mybodyshield/components/EmptyState.js +35 -0
- package/dist/mybodyshield/components/EmptyState.js.map +1 -0
- package/dist/mybodyshield/components/EvidenceUpload.js +5 -0
- package/dist/mybodyshield/components/FileLink.js +3 -0
- package/dist/mybodyshield/components/FilterTabs.js +27 -0
- package/dist/mybodyshield/components/FilterTabs.js.map +1 -0
- package/dist/mybodyshield/components/MetricsCard.js +64 -0
- package/dist/mybodyshield/components/MetricsCard.js.map +1 -0
- package/dist/mybodyshield/components/MiniBar.js +22 -0
- package/dist/mybodyshield/components/MiniBar.js.map +1 -0
- package/dist/mybodyshield/components/MybDiscussion.js +8 -0
- package/dist/mybodyshield/components/MybTags.js +5 -0
- package/dist/mybodyshield/components/PageLayout.js +38 -0
- package/dist/mybodyshield/components/PageLayout.js.map +1 -0
- package/dist/mybodyshield/components/Pagination.js +50 -0
- package/dist/mybodyshield/components/Pagination.js.map +1 -0
- package/dist/mybodyshield/components/StateViews.js +49 -0
- package/dist/mybodyshield/components/StateViews.js.map +1 -0
- package/dist/mybodyshield/components/StatusBadge.js +62 -0
- package/dist/mybodyshield/components/StatusBadge.js.map +1 -0
- package/dist/mybodyshield/components/Tabs.js +31 -0
- package/dist/mybodyshield/components/Tabs.js.map +1 -0
- package/dist/mybodyshield/components/index.js +14 -0
- package/dist/mybodyshield/context/MyBodyShieldContext.js +85 -0
- package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -0
- package/dist/mybodyshield/context/index.js +1 -0
- package/dist/mybodyshield/hooks/index.js +5 -0
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +378 -0
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -0
- package/dist/mybodyshield/hooks/useMybComments.js +3 -0
- package/dist/mybodyshield/hooks/useMybFiles.js +4 -0
- package/dist/mybodyshield/hooks/useMybTags.js +3 -0
- package/dist/mybodyshield/hooks/usePager.js +27 -0
- package/dist/mybodyshield/hooks/usePager.js.map +1 -0
- package/dist/mybodyshield/index.js +5 -2
- package/dist/mybodyshield/pages/DashboardPage.js +427 -0
- package/dist/mybodyshield/pages/DashboardPage.js.map +1 -0
- package/dist/mybodyshield/pages/_shared/visuals.js +255 -0
- package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -0
- package/dist/mybodyshield/pages/coaching/CoachingPage.js +422 -0
- package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -0
- package/dist/mybodyshield/pages/goals/GoalsPage.js +518 -0
- package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -0
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js +938 -0
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -0
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +628 -0
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -0
- package/dist/mybodyshield/pages/programs/ProgramsPage.js +450 -0
- package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -0
- package/dist/mybodyshield/pages/progress/ProgressPage.js +447 -0
- package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -0
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js +484 -0
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -0
- package/dist/mybodyshield/pages/train/SessionDetailPage.js +559 -0
- package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -0
- package/dist/mybodyshield/pages/train/SessionsPage.js +297 -0
- package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -0
- package/dist/mybodyshield/utils/cn.js +10 -0
- package/dist/mybodyshield/utils/cn.js.map +1 -0
- package/dist/mybodyshield/utils/formatters.js +76 -0
- package/dist/mybodyshield/utils/formatters.js.map +1 -0
- package/dist/mybodyshield/utils/navigation.js +2 -1
- package/dist/mybodyshield/utils/navigation.js.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/package.json +3 -3
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -18199
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -43046
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/mybodyshield/MyBodyShieldRoot.d.ts +0 -5
- package/dist/mybodyshield/MyBodyShieldRoot.d.ts.map +0 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.d.ts +0 -2
- package/dist/mybodyshield/MyBodyShieldRoutes.d.ts.map +0 -1
- package/dist/mybodyshield/index.d.ts +0 -5
- package/dist/mybodyshield/index.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminAiinsightsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminAiinsightsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminAiinsightsPage.js +0 -161
- package/dist/mybodyshield/pages/AdminAiinsightsPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminAnalyticsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminAnalyticsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminAnalyticsPage.js +0 -193
- package/dist/mybodyshield/pages/AdminAnalyticsPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminComplianceReportsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminComplianceReportsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminComplianceReportsPage.js +0 -214
- package/dist/mybodyshield/pages/AdminComplianceReportsPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminDashboardPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminDashboardPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminDashboardPage.js +0 -186
- package/dist/mybodyshield/pages/AdminDashboardPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminOrganizationManagementPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminOrganizationManagementPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js +0 -252
- package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminSystemSettingsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminSystemSettingsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminSystemSettingsPage.js +0 -159
- package/dist/mybodyshield/pages/AdminSystemSettingsPage.js.map +0 -1
- package/dist/mybodyshield/pages/AdminUserManagementPage.d.ts +0 -2
- package/dist/mybodyshield/pages/AdminUserManagementPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/AdminUserManagementPage.js +0 -208
- package/dist/mybodyshield/pages/AdminUserManagementPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessAssessmentsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessAssessmentsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessAssessmentsPage.js +0 -194
- package/dist/mybodyshield/pages/FitnessAssessmentsPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessClientDetailsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessClientDetailsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessClientDetailsPage.js +0 -192
- package/dist/mybodyshield/pages/FitnessClientDetailsPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessClientManagementPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessClientManagementPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessClientManagementPage.js +0 -128
- package/dist/mybodyshield/pages/FitnessClientManagementPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessDashboardPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessDashboardPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessDashboardPage.js +0 -156
- package/dist/mybodyshield/pages/FitnessDashboardPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessReportsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessReportsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessReportsPage.js +0 -138
- package/dist/mybodyshield/pages/FitnessReportsPage.js.map +0 -1
- package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.d.ts +0 -2
- package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js +0 -176
- package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientAppointmentsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientAppointmentsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientAppointmentsPage.js +0 -132
- package/dist/mybodyshield/pages/PatientAppointmentsPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientDashboardPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientDashboardPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientDashboardPage.js +0 -190
- package/dist/mybodyshield/pages/PatientDashboardPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientFitnessTrackingPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientFitnessTrackingPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js +0 -137
- package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientHealthGoalsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientHealthGoalsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientHealthGoalsPage.js +0 -131
- package/dist/mybodyshield/pages/PatientHealthGoalsPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientHealthOverviewPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientHealthOverviewPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientHealthOverviewPage.js +0 -273
- package/dist/mybodyshield/pages/PatientHealthOverviewPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientLabResultsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientLabResultsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientLabResultsPage.js +0 -133
- package/dist/mybodyshield/pages/PatientLabResultsPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientMedicationsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientMedicationsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientMedicationsPage.js +0 -158
- package/dist/mybodyshield/pages/PatientMedicationsPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientMentalHealthPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientMentalHealthPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientMentalHealthPage.js +0 -152
- package/dist/mybodyshield/pages/PatientMentalHealthPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientNutritionTrackingPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientNutritionTrackingPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js +0 -141
- package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js.map +0 -1
- package/dist/mybodyshield/pages/PatientVitalSignsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/PatientVitalSignsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/PatientVitalSignsPage.js +0 -160
- package/dist/mybodyshield/pages/PatientVitalSignsPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderCalendarPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderCalendarPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderCalendarPage.js +0 -127
- package/dist/mybodyshield/pages/ProviderCalendarPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderCarePlansPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderCarePlansPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderCarePlansPage.js +0 -153
- package/dist/mybodyshield/pages/ProviderCarePlansPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderClinicalToolsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderClinicalToolsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js +0 -174
- package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderDashboardPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderDashboardPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderDashboardPage.js +0 -154
- package/dist/mybodyshield/pages/ProviderDashboardPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderPatientDetailsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderPatientDetailsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js +0 -295
- package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderPatientManagementPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderPatientManagementPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderPatientManagementPage.js +0 -133
- package/dist/mybodyshield/pages/ProviderPatientManagementPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderPrescriptionsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderPrescriptionsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js +0 -138
- package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js.map +0 -1
- package/dist/mybodyshield/pages/ProviderReportsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/ProviderReportsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/ProviderReportsPage.js +0 -149
- package/dist/mybodyshield/pages/ProviderReportsPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedAppointmentsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedAppointmentsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedAppointmentsPage.js +0 -129
- package/dist/mybodyshield/pages/SharedAppointmentsPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedCommunityPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedCommunityPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedCommunityPage.js +0 -152
- package/dist/mybodyshield/pages/SharedCommunityPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js +0 -165
- package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedEmergencyPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedEmergencyPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedEmergencyPage.js +0 -183
- package/dist/mybodyshield/pages/SharedEmergencyPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js +0 -159
- package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedMarketplacePage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedMarketplacePage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedMarketplacePage.js +0 -193
- package/dist/mybodyshield/pages/SharedMarketplacePage.js.map +0 -1
- package/dist/mybodyshield/pages/SharedMessagesPage.d.ts +0 -2
- package/dist/mybodyshield/pages/SharedMessagesPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/SharedMessagesPage.js +0 -156
- package/dist/mybodyshield/pages/SharedMessagesPage.js.map +0 -1
- package/dist/mybodyshield/pages/WellnessAssessmentsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/WellnessAssessmentsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/WellnessAssessmentsPage.js +0 -147
- package/dist/mybodyshield/pages/WellnessAssessmentsPage.js.map +0 -1
- package/dist/mybodyshield/pages/WellnessClientsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/WellnessClientsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/WellnessClientsPage.js +0 -182
- package/dist/mybodyshield/pages/WellnessClientsPage.js.map +0 -1
- package/dist/mybodyshield/pages/WellnessDashboardPage.d.ts +0 -2
- package/dist/mybodyshield/pages/WellnessDashboardPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/WellnessDashboardPage.js +0 -136
- package/dist/mybodyshield/pages/WellnessDashboardPage.js.map +0 -1
- package/dist/mybodyshield/pages/WellnessProgramsPage.d.ts +0 -2
- package/dist/mybodyshield/pages/WellnessProgramsPage.d.ts.map +0 -1
- package/dist/mybodyshield/pages/WellnessProgramsPage.js +0 -140
- package/dist/mybodyshield/pages/WellnessProgramsPage.js.map +0 -1
- package/dist/mybodyshield/providers/MyBodyShieldProvider.d.ts +0 -6
- package/dist/mybodyshield/providers/MyBodyShieldProvider.d.ts.map +0 -1
- package/dist/mybodyshield/providers/MyBodyShieldProvider.js +0 -27
- package/dist/mybodyshield/providers/MyBodyShieldProvider.js.map +0 -1
- package/dist/mybodyshield/store/mybodyshieldStore.d.ts +0 -197
- package/dist/mybodyshield/store/mybodyshieldStore.d.ts.map +0 -1
- package/dist/mybodyshield/store/mybodyshieldStore.js +0 -710
- package/dist/mybodyshield/store/mybodyshieldStore.js.map +0 -1
- package/dist/mybodyshield/types/index.d.ts +0 -51
- package/dist/mybodyshield/types/index.d.ts.map +0 -1
- package/dist/mybodyshield/utils/cn.d.ts +0 -4
- package/dist/mybodyshield/utils/cn.d.ts.map +0 -1
- package/dist/mybodyshield/utils/navigation.d.ts +0 -2
- package/dist/mybodyshield/utils/navigation.d.ts.map +0 -1
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
import { PageLayout as e } from "../../components/PageLayout.js";
|
|
2
|
+
import { MetricsCard as t } from "../../components/MetricsCard.js";
|
|
3
|
+
import { formatDate as n, formatEnumLabel as r, formatNumber as i, formatPercent as a, formatRelativeTime as o } from "../../utils/formatters.js";
|
|
4
|
+
import { StatusBadge as s } from "../../components/StatusBadge.js";
|
|
5
|
+
import { MiniBar as c } from "../../components/MiniBar.js";
|
|
6
|
+
import { ErrorView as l, LoadingView as u } from "../../components/StateViews.js";
|
|
7
|
+
import { EmptyState as d } from "../../components/EmptyState.js";
|
|
8
|
+
import { GOAL_TYPE_META as f, IconChip as p, Meter as m, computeGoalProgress as h } from "../_shared/visuals.js";
|
|
9
|
+
import { useMybAchieveGoal as g, useMybCreateGoal as _, useMybGoals as v, useMybUpdateGoal as y } from "../../hooks/useMyBodyShieldApi.js";
|
|
10
|
+
import { useOffsetPager as b } from "../../hooks/usePager.js";
|
|
11
|
+
import "../../hooks/index.js";
|
|
12
|
+
import { FilterTabs as ee } from "../../components/FilterTabs.js";
|
|
13
|
+
import { Pagination as te } from "../../components/Pagination.js";
|
|
14
|
+
import "../../components/index.js";
|
|
15
|
+
import { useMemo as x, useState as S } from "react";
|
|
16
|
+
import { CalendarClock as C, CheckCircle2 as w, Plus as T, Target as E, TrendingUp as D, Trophy as O } from "lucide-react";
|
|
17
|
+
import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
|
|
18
|
+
import { Button as M, GlassCard as N, Input as P, Label as F, ResponsiveDialog as I, ResponsiveDialogContent as L, ResponsiveDialogDescription as R, ResponsiveDialogFooter as z, ResponsiveDialogHeader as B, ResponsiveDialogTitle as V, Select as H, SelectContent as U, SelectItem as W, SelectTrigger as G, SelectValue as K, Textarea as q } from "@burdenoff/fe-libs/ui";
|
|
19
|
+
//#region src/mybodyshield/pages/goals/GoalsPage.tsx
|
|
20
|
+
var J = 12, Y = 100, X = [
|
|
21
|
+
{
|
|
22
|
+
value: "ALL",
|
|
23
|
+
label: "All"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: "ACTIVE",
|
|
27
|
+
label: "Active"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
value: "ACHIEVED",
|
|
31
|
+
label: "Achieved"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
value: "PAUSED",
|
|
35
|
+
label: "Paused"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
value: "ABANDONED",
|
|
39
|
+
label: "Abandoned"
|
|
40
|
+
}
|
|
41
|
+
], Z = [
|
|
42
|
+
"WEIGHT_LOSS",
|
|
43
|
+
"MUSCLE_GAIN",
|
|
44
|
+
"STRENGTH",
|
|
45
|
+
"ENDURANCE",
|
|
46
|
+
"MOBILITY",
|
|
47
|
+
"GENERAL_FITNESS"
|
|
48
|
+
];
|
|
49
|
+
function Q(e) {
|
|
50
|
+
let t = e.trim();
|
|
51
|
+
if (t === "") return;
|
|
52
|
+
let n = Number(t);
|
|
53
|
+
return Number.isFinite(n) ? n : void 0;
|
|
54
|
+
}
|
|
55
|
+
var $ = {
|
|
56
|
+
title: "",
|
|
57
|
+
type: "GENERAL_FITNESS",
|
|
58
|
+
baselineValue: "",
|
|
59
|
+
targetValue: "",
|
|
60
|
+
unit: "",
|
|
61
|
+
targetDate: "",
|
|
62
|
+
description: ""
|
|
63
|
+
};
|
|
64
|
+
function ne({ open: e, onOpenChange: t }) {
|
|
65
|
+
let n = _(), [i, a] = S($), [o, s] = S(null), c = (e) => {
|
|
66
|
+
e || (a($), s(null)), t(e);
|
|
67
|
+
}, l = async () => {
|
|
68
|
+
let e = i.title.trim();
|
|
69
|
+
if (!e) {
|
|
70
|
+
s("Goal title is required.");
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
s(null);
|
|
74
|
+
let r = {
|
|
75
|
+
title: e,
|
|
76
|
+
type: i.type,
|
|
77
|
+
description: i.description.trim() || void 0,
|
|
78
|
+
baselineValue: Q(i.baselineValue),
|
|
79
|
+
targetValue: Q(i.targetValue),
|
|
80
|
+
unit: i.unit.trim() || void 0,
|
|
81
|
+
targetDate: i.targetDate ? new Date(i.targetDate).toISOString() : void 0
|
|
82
|
+
};
|
|
83
|
+
try {
|
|
84
|
+
await n.mutateAsync(r), a($), t(!1);
|
|
85
|
+
} catch (e) {
|
|
86
|
+
s(e instanceof Error ? e.message : "Failed to create goal.");
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
return /* @__PURE__ */ A(I, {
|
|
90
|
+
open: e,
|
|
91
|
+
onOpenChange: c,
|
|
92
|
+
children: /* @__PURE__ */ j(L, { children: [/* @__PURE__ */ j(B, { children: [/* @__PURE__ */ A(V, { children: "New goal" }), /* @__PURE__ */ A(R, { children: "Set a target across training, nutrition or body composition and track it to completion." })] }), /* @__PURE__ */ j("form", {
|
|
93
|
+
className: "space-y-4",
|
|
94
|
+
onSubmit: (e) => {
|
|
95
|
+
e.preventDefault(), l();
|
|
96
|
+
},
|
|
97
|
+
children: [
|
|
98
|
+
o && /* @__PURE__ */ A("p", {
|
|
99
|
+
className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
100
|
+
children: o
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ j("div", {
|
|
103
|
+
className: "space-y-2",
|
|
104
|
+
children: [/* @__PURE__ */ A(F, {
|
|
105
|
+
htmlFor: "myb-goal-title",
|
|
106
|
+
children: "Title"
|
|
107
|
+
}), /* @__PURE__ */ A(P, {
|
|
108
|
+
id: "myb-goal-title",
|
|
109
|
+
value: i.title,
|
|
110
|
+
onChange: (e) => a((t) => ({
|
|
111
|
+
...t,
|
|
112
|
+
title: e.target.value
|
|
113
|
+
})),
|
|
114
|
+
placeholder: "e.g., Squat 140 kg"
|
|
115
|
+
})]
|
|
116
|
+
}),
|
|
117
|
+
/* @__PURE__ */ j("div", {
|
|
118
|
+
className: "space-y-2",
|
|
119
|
+
children: [/* @__PURE__ */ A(F, {
|
|
120
|
+
htmlFor: "myb-goal-type",
|
|
121
|
+
children: "Type"
|
|
122
|
+
}), /* @__PURE__ */ j(H, {
|
|
123
|
+
value: i.type,
|
|
124
|
+
onValueChange: (e) => a((t) => ({
|
|
125
|
+
...t,
|
|
126
|
+
type: e
|
|
127
|
+
})),
|
|
128
|
+
children: [/* @__PURE__ */ A(G, {
|
|
129
|
+
id: "myb-goal-type",
|
|
130
|
+
children: /* @__PURE__ */ A(K, { placeholder: "Select a goal type" })
|
|
131
|
+
}), /* @__PURE__ */ A(U, { children: Z.map((e) => /* @__PURE__ */ A(W, {
|
|
132
|
+
value: e,
|
|
133
|
+
children: r(e)
|
|
134
|
+
}, e)) })]
|
|
135
|
+
})]
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ j("div", {
|
|
138
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
139
|
+
children: [
|
|
140
|
+
/* @__PURE__ */ j("div", {
|
|
141
|
+
className: "space-y-2",
|
|
142
|
+
children: [/* @__PURE__ */ A(F, {
|
|
143
|
+
htmlFor: "myb-goal-baseline",
|
|
144
|
+
children: "Baseline"
|
|
145
|
+
}), /* @__PURE__ */ A(P, {
|
|
146
|
+
id: "myb-goal-baseline",
|
|
147
|
+
type: "number",
|
|
148
|
+
inputMode: "decimal",
|
|
149
|
+
value: i.baselineValue,
|
|
150
|
+
onChange: (e) => a((t) => ({
|
|
151
|
+
...t,
|
|
152
|
+
baselineValue: e.target.value
|
|
153
|
+
})),
|
|
154
|
+
placeholder: "0"
|
|
155
|
+
})]
|
|
156
|
+
}),
|
|
157
|
+
/* @__PURE__ */ j("div", {
|
|
158
|
+
className: "space-y-2",
|
|
159
|
+
children: [/* @__PURE__ */ A(F, {
|
|
160
|
+
htmlFor: "myb-goal-target",
|
|
161
|
+
children: "Target"
|
|
162
|
+
}), /* @__PURE__ */ A(P, {
|
|
163
|
+
id: "myb-goal-target",
|
|
164
|
+
type: "number",
|
|
165
|
+
inputMode: "decimal",
|
|
166
|
+
value: i.targetValue,
|
|
167
|
+
onChange: (e) => a((t) => ({
|
|
168
|
+
...t,
|
|
169
|
+
targetValue: e.target.value
|
|
170
|
+
})),
|
|
171
|
+
placeholder: "100"
|
|
172
|
+
})]
|
|
173
|
+
}),
|
|
174
|
+
/* @__PURE__ */ j("div", {
|
|
175
|
+
className: "space-y-2",
|
|
176
|
+
children: [/* @__PURE__ */ A(F, {
|
|
177
|
+
htmlFor: "myb-goal-unit",
|
|
178
|
+
children: "Unit"
|
|
179
|
+
}), /* @__PURE__ */ A(P, {
|
|
180
|
+
id: "myb-goal-unit",
|
|
181
|
+
value: i.unit,
|
|
182
|
+
onChange: (e) => a((t) => ({
|
|
183
|
+
...t,
|
|
184
|
+
unit: e.target.value
|
|
185
|
+
})),
|
|
186
|
+
placeholder: "kg / reps / min"
|
|
187
|
+
})]
|
|
188
|
+
})
|
|
189
|
+
]
|
|
190
|
+
}),
|
|
191
|
+
/* @__PURE__ */ j("div", {
|
|
192
|
+
className: "space-y-2",
|
|
193
|
+
children: [/* @__PURE__ */ A(F, {
|
|
194
|
+
htmlFor: "myb-goal-date",
|
|
195
|
+
children: "Target date"
|
|
196
|
+
}), /* @__PURE__ */ A(P, {
|
|
197
|
+
id: "myb-goal-date",
|
|
198
|
+
type: "date",
|
|
199
|
+
value: i.targetDate,
|
|
200
|
+
onChange: (e) => a((t) => ({
|
|
201
|
+
...t,
|
|
202
|
+
targetDate: e.target.value
|
|
203
|
+
}))
|
|
204
|
+
})]
|
|
205
|
+
}),
|
|
206
|
+
/* @__PURE__ */ j("div", {
|
|
207
|
+
className: "space-y-2",
|
|
208
|
+
children: [/* @__PURE__ */ A(F, {
|
|
209
|
+
htmlFor: "myb-goal-desc",
|
|
210
|
+
children: "Description"
|
|
211
|
+
}), /* @__PURE__ */ A(q, {
|
|
212
|
+
id: "myb-goal-desc",
|
|
213
|
+
rows: 3,
|
|
214
|
+
value: i.description,
|
|
215
|
+
onChange: (e) => a((t) => ({
|
|
216
|
+
...t,
|
|
217
|
+
description: e.target.value
|
|
218
|
+
})),
|
|
219
|
+
placeholder: "Why this goal matters and how you'll get there."
|
|
220
|
+
})]
|
|
221
|
+
}),
|
|
222
|
+
/* @__PURE__ */ j(z, { children: [/* @__PURE__ */ A(M, {
|
|
223
|
+
type: "button",
|
|
224
|
+
variant: "outline",
|
|
225
|
+
onClick: () => c(!1),
|
|
226
|
+
disabled: n.isPending,
|
|
227
|
+
children: "Cancel"
|
|
228
|
+
}), /* @__PURE__ */ A(M, {
|
|
229
|
+
type: "submit",
|
|
230
|
+
disabled: n.isPending,
|
|
231
|
+
children: n.isPending ? "Creating…" : "Create goal"
|
|
232
|
+
})] })
|
|
233
|
+
]
|
|
234
|
+
})] })
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
function re({ goal: e, onOpenChange: t }) {
|
|
238
|
+
let n = y(), [r, a] = S(""), [o, s] = S(null), [c, l] = S(null);
|
|
239
|
+
e && e.id !== c && (l(e.id), a(String(e.currentValue)), s(null));
|
|
240
|
+
let u = async () => {
|
|
241
|
+
if (!e) return;
|
|
242
|
+
let i = Q(r);
|
|
243
|
+
if (i === void 0) {
|
|
244
|
+
s("Enter a valid number.");
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
s(null);
|
|
248
|
+
try {
|
|
249
|
+
await n.mutateAsync({
|
|
250
|
+
id: e.id,
|
|
251
|
+
input: { currentValue: i }
|
|
252
|
+
}), t(!1);
|
|
253
|
+
} catch (e) {
|
|
254
|
+
s(e instanceof Error ? e.message : "Failed to update progress.");
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
return /* @__PURE__ */ A(I, {
|
|
258
|
+
open: e != null,
|
|
259
|
+
onOpenChange: t,
|
|
260
|
+
children: /* @__PURE__ */ j(L, { children: [/* @__PURE__ */ j(B, { children: [/* @__PURE__ */ A(V, { children: "Update progress" }), /* @__PURE__ */ A(R, { children: e ? e.title : "Log your latest value for this goal." })] }), /* @__PURE__ */ j("form", {
|
|
261
|
+
className: "space-y-4",
|
|
262
|
+
onSubmit: (e) => {
|
|
263
|
+
e.preventDefault(), u();
|
|
264
|
+
},
|
|
265
|
+
children: [
|
|
266
|
+
o && /* @__PURE__ */ A("p", {
|
|
267
|
+
className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
268
|
+
children: o
|
|
269
|
+
}),
|
|
270
|
+
/* @__PURE__ */ j("div", {
|
|
271
|
+
className: "space-y-2",
|
|
272
|
+
children: [
|
|
273
|
+
/* @__PURE__ */ j(F, {
|
|
274
|
+
htmlFor: "myb-goal-current",
|
|
275
|
+
children: ["Current value", e?.unit ? ` (${e.unit})` : ""]
|
|
276
|
+
}),
|
|
277
|
+
/* @__PURE__ */ A(P, {
|
|
278
|
+
id: "myb-goal-current",
|
|
279
|
+
type: "number",
|
|
280
|
+
inputMode: "decimal",
|
|
281
|
+
autoFocus: !0,
|
|
282
|
+
value: r,
|
|
283
|
+
onChange: (e) => a(e.target.value),
|
|
284
|
+
placeholder: "0"
|
|
285
|
+
}),
|
|
286
|
+
e && /* @__PURE__ */ j("p", {
|
|
287
|
+
className: "text-xs text-text-tertiary",
|
|
288
|
+
children: [
|
|
289
|
+
"Target: ",
|
|
290
|
+
i(e.targetValue),
|
|
291
|
+
e.unit ? ` ${e.unit}` : ""
|
|
292
|
+
]
|
|
293
|
+
})
|
|
294
|
+
]
|
|
295
|
+
}),
|
|
296
|
+
/* @__PURE__ */ j(z, { children: [/* @__PURE__ */ A(M, {
|
|
297
|
+
type: "button",
|
|
298
|
+
variant: "outline",
|
|
299
|
+
onClick: () => t(!1),
|
|
300
|
+
disabled: n.isPending,
|
|
301
|
+
children: "Cancel"
|
|
302
|
+
}), /* @__PURE__ */ A(M, {
|
|
303
|
+
type: "submit",
|
|
304
|
+
disabled: n.isPending,
|
|
305
|
+
children: n.isPending ? "Saving…" : "Save progress"
|
|
306
|
+
})] })
|
|
307
|
+
]
|
|
308
|
+
})] })
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
function ie({ goal: e, onUpdateProgress: t, onAchieve: c, isAchieving: l }) {
|
|
312
|
+
let u = f[e.type], d = u.icon, g = h(e), _ = e.unit ? ` ${e.unit}` : "";
|
|
313
|
+
return /* @__PURE__ */ j(N, {
|
|
314
|
+
treatment: "glass",
|
|
315
|
+
className: "flex flex-col gap-3 p-5",
|
|
316
|
+
children: [
|
|
317
|
+
/* @__PURE__ */ j("div", {
|
|
318
|
+
className: "flex items-start justify-between gap-3",
|
|
319
|
+
children: [/* @__PURE__ */ j("div", {
|
|
320
|
+
className: "flex min-w-0 items-start gap-3",
|
|
321
|
+
children: [/* @__PURE__ */ A(p, {
|
|
322
|
+
icon: /* @__PURE__ */ A(d, { className: "h-4 w-4" }),
|
|
323
|
+
tint: u.tint
|
|
324
|
+
}), /* @__PURE__ */ j("div", {
|
|
325
|
+
className: "min-w-0",
|
|
326
|
+
children: [/* @__PURE__ */ A("p", {
|
|
327
|
+
className: "truncate text-sm font-semibold text-text-primary",
|
|
328
|
+
children: e.title
|
|
329
|
+
}), /* @__PURE__ */ A("span", {
|
|
330
|
+
className: "mt-1 inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
331
|
+
children: r(e.type)
|
|
332
|
+
})]
|
|
333
|
+
})]
|
|
334
|
+
}), /* @__PURE__ */ A(s, { status: e.status })]
|
|
335
|
+
}),
|
|
336
|
+
e.description && /* @__PURE__ */ A("p", {
|
|
337
|
+
className: "line-clamp-2 text-xs text-text-secondary",
|
|
338
|
+
children: e.description
|
|
339
|
+
}),
|
|
340
|
+
/* @__PURE__ */ j("div", {
|
|
341
|
+
className: "space-y-1.5",
|
|
342
|
+
children: [/* @__PURE__ */ A(m, {
|
|
343
|
+
value: g,
|
|
344
|
+
color: u.tint
|
|
345
|
+
}), /* @__PURE__ */ j("div", {
|
|
346
|
+
className: "flex items-center justify-between text-xs",
|
|
347
|
+
children: [/* @__PURE__ */ j("span", {
|
|
348
|
+
className: "tabular-nums text-text-secondary",
|
|
349
|
+
children: [
|
|
350
|
+
i(e.currentValue),
|
|
351
|
+
_,
|
|
352
|
+
" / ",
|
|
353
|
+
i(e.targetValue),
|
|
354
|
+
_
|
|
355
|
+
]
|
|
356
|
+
}), /* @__PURE__ */ A("span", {
|
|
357
|
+
className: "tabular-nums text-text-tertiary",
|
|
358
|
+
children: a(g)
|
|
359
|
+
})]
|
|
360
|
+
})]
|
|
361
|
+
}),
|
|
362
|
+
(e.targetDate || e.status === "ACHIEVED" && e.achievedAt) && /* @__PURE__ */ j("div", {
|
|
363
|
+
className: "flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-tertiary",
|
|
364
|
+
children: [e.targetDate && /* @__PURE__ */ j("span", {
|
|
365
|
+
className: "inline-flex items-center gap-1",
|
|
366
|
+
children: [
|
|
367
|
+
/* @__PURE__ */ A(C, { className: "h-3.5 w-3.5" }),
|
|
368
|
+
"Target ",
|
|
369
|
+
n(e.targetDate),
|
|
370
|
+
/* @__PURE__ */ j("span", {
|
|
371
|
+
className: "text-text-secondary",
|
|
372
|
+
children: ["· ", o(e.targetDate)]
|
|
373
|
+
})
|
|
374
|
+
]
|
|
375
|
+
}), e.status === "ACHIEVED" && e.achievedAt && /* @__PURE__ */ j("span", {
|
|
376
|
+
className: "inline-flex items-center gap-1 text-status-success-text",
|
|
377
|
+
children: [
|
|
378
|
+
/* @__PURE__ */ A(w, { className: "h-3.5 w-3.5" }),
|
|
379
|
+
"Achieved ",
|
|
380
|
+
n(e.achievedAt)
|
|
381
|
+
]
|
|
382
|
+
})]
|
|
383
|
+
}),
|
|
384
|
+
/* @__PURE__ */ j("div", {
|
|
385
|
+
className: "mt-auto flex flex-wrap gap-2 pt-1",
|
|
386
|
+
children: [/* @__PURE__ */ A(M, {
|
|
387
|
+
variant: "outline",
|
|
388
|
+
size: "sm",
|
|
389
|
+
onClick: () => t(e),
|
|
390
|
+
children: "Update progress"
|
|
391
|
+
}), e.status === "ACTIVE" && /* @__PURE__ */ A(M, {
|
|
392
|
+
size: "sm",
|
|
393
|
+
onClick: () => c(e),
|
|
394
|
+
disabled: l,
|
|
395
|
+
children: l ? "Marking…" : "Mark achieved"
|
|
396
|
+
})]
|
|
397
|
+
})
|
|
398
|
+
]
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
function ae() {
|
|
402
|
+
let [n, r] = S("ALL"), [o, s] = S(!1), [f, p] = S(null), [m, _] = S(null), [y, C] = S(null), w = b(J), N = v({
|
|
403
|
+
status: n === "ALL" ? void 0 : n,
|
|
404
|
+
pagination: {
|
|
405
|
+
limit: J,
|
|
406
|
+
offset: w.offset
|
|
407
|
+
}
|
|
408
|
+
}), P = v({
|
|
409
|
+
status: "ACTIVE",
|
|
410
|
+
pagination: { limit: Y }
|
|
411
|
+
}), F = v({
|
|
412
|
+
status: "ACHIEVED",
|
|
413
|
+
pagination: { limit: Y }
|
|
414
|
+
}), I = g(), L = N.data?.items ?? [], R = P.data?.items ?? [], z = F.data?.items ?? [], B = x(() => R.length === 0 ? 0 : R.reduce((e, t) => e + h(t), 0) / R.length, [R]), V = (e) => {
|
|
415
|
+
r(e), w.reset();
|
|
416
|
+
}, H = async (e) => {
|
|
417
|
+
_(e.id), C(null);
|
|
418
|
+
try {
|
|
419
|
+
await I.mutateAsync(e.id);
|
|
420
|
+
} catch (e) {
|
|
421
|
+
C(e instanceof Error ? e.message : "Failed to mark goal as achieved.");
|
|
422
|
+
} finally {
|
|
423
|
+
_(null);
|
|
424
|
+
}
|
|
425
|
+
}, U = N.isLoading && !N.data;
|
|
426
|
+
return /* @__PURE__ */ j(e, {
|
|
427
|
+
title: "Goals",
|
|
428
|
+
description: "Targets across training, nutrition and body composition.",
|
|
429
|
+
actions: /* @__PURE__ */ j(M, {
|
|
430
|
+
onClick: () => s(!0),
|
|
431
|
+
children: [/* @__PURE__ */ A(T, { className: "mr-2 h-4 w-4" }), "New goal"]
|
|
432
|
+
}),
|
|
433
|
+
children: [
|
|
434
|
+
/* @__PURE__ */ j("div", {
|
|
435
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
436
|
+
children: [
|
|
437
|
+
/* @__PURE__ */ A(t, {
|
|
438
|
+
icon: /* @__PURE__ */ A(E, { className: "h-5 w-5" }),
|
|
439
|
+
value: i(P.data ? R.length : void 0),
|
|
440
|
+
label: "Active goals"
|
|
441
|
+
}),
|
|
442
|
+
/* @__PURE__ */ A(t, {
|
|
443
|
+
icon: /* @__PURE__ */ A(O, { className: "h-5 w-5" }),
|
|
444
|
+
value: i(F.data ? z.length : void 0),
|
|
445
|
+
label: "Achieved",
|
|
446
|
+
accent: "success"
|
|
447
|
+
}),
|
|
448
|
+
/* @__PURE__ */ A(t, {
|
|
449
|
+
icon: /* @__PURE__ */ A(D, { className: "h-5 w-5" }),
|
|
450
|
+
value: P.data ? a(B) : "—",
|
|
451
|
+
label: "Avg progress (active)",
|
|
452
|
+
footer: /* @__PURE__ */ A(c, {
|
|
453
|
+
value: B,
|
|
454
|
+
height: 4,
|
|
455
|
+
barClassName: "bg-accent-teal"
|
|
456
|
+
})
|
|
457
|
+
})
|
|
458
|
+
]
|
|
459
|
+
}),
|
|
460
|
+
/* @__PURE__ */ A("div", {
|
|
461
|
+
className: "mt-6",
|
|
462
|
+
children: /* @__PURE__ */ A(ee, {
|
|
463
|
+
options: X,
|
|
464
|
+
value: n,
|
|
465
|
+
onChange: V
|
|
466
|
+
})
|
|
467
|
+
}),
|
|
468
|
+
y && /* @__PURE__ */ A("p", {
|
|
469
|
+
className: "mt-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
470
|
+
children: y
|
|
471
|
+
}),
|
|
472
|
+
/* @__PURE__ */ A("div", {
|
|
473
|
+
className: "mt-4",
|
|
474
|
+
children: U ? /* @__PURE__ */ A(u, { label: "Loading your goals…" }) : N.isError ? /* @__PURE__ */ A(l, {
|
|
475
|
+
message: "We couldn't load your goals.",
|
|
476
|
+
onRetry: () => void N.refetch()
|
|
477
|
+
}) : L.length === 0 ? /* @__PURE__ */ A(d, {
|
|
478
|
+
illustration: "empty-data",
|
|
479
|
+
icon: /* @__PURE__ */ A(E, { className: "h-10 w-10" }),
|
|
480
|
+
title: n === "ALL" ? "No goals yet" : "No goals match this filter",
|
|
481
|
+
description: n === "ALL" ? "Set a goal to give your training and nutrition a clear target to work toward." : "Try a different status filter, or create a new goal.",
|
|
482
|
+
action: /* @__PURE__ */ j(M, {
|
|
483
|
+
onClick: () => s(!0),
|
|
484
|
+
children: [/* @__PURE__ */ A(T, { className: "mr-2 h-4 w-4" }), "New goal"]
|
|
485
|
+
})
|
|
486
|
+
}) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("div", {
|
|
487
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
488
|
+
children: L.map((e) => /* @__PURE__ */ A(ie, {
|
|
489
|
+
goal: e,
|
|
490
|
+
onUpdateProgress: p,
|
|
491
|
+
onAchieve: (e) => void H(e),
|
|
492
|
+
isAchieving: m === e.id
|
|
493
|
+
}, e.id))
|
|
494
|
+
}), /* @__PURE__ */ A(te, {
|
|
495
|
+
page: w.page,
|
|
496
|
+
pageSize: J,
|
|
497
|
+
itemCount: L.length,
|
|
498
|
+
hasMore: N.data?.pageInfo?.hasMore ?? !1,
|
|
499
|
+
onPageChange: (e) => w.onPageChange(e)
|
|
500
|
+
})] })
|
|
501
|
+
}),
|
|
502
|
+
/* @__PURE__ */ A(ne, {
|
|
503
|
+
open: o,
|
|
504
|
+
onOpenChange: s
|
|
505
|
+
}),
|
|
506
|
+
/* @__PURE__ */ A(re, {
|
|
507
|
+
goal: f,
|
|
508
|
+
onOpenChange: (e) => {
|
|
509
|
+
e || p(null);
|
|
510
|
+
}
|
|
511
|
+
})
|
|
512
|
+
]
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
//#endregion
|
|
516
|
+
export { ae as GoalsPage };
|
|
517
|
+
|
|
518
|
+
//# sourceMappingURL=GoalsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalsPage.js","names":[],"sources":["../../../../src/mybodyshield/pages/goals/GoalsPage.tsx"],"sourcesContent":["/**\n * Goals — targets across training, nutrition and body composition.\n * @module mybodyshield/pages/goals\n *\n * Lists the member's `MybGoal`s with a status filter, per-goal progress meters\n * and inline \"update progress\" / \"mark achieved\" actions, plus a create flow.\n * KPIs (active count, achieved count, average active progress) are aggregated\n * client-side from the real `mybListGoals` endpoint. No mock data.\n */\n\nimport { useMemo, useState } from 'react';\nimport { Target, Plus, CheckCircle2, TrendingUp, Trophy, CalendarClock } from 'lucide-react';\nimport {\n Button,\n Input,\n Label,\n Textarea,\n Select,\n SelectTrigger,\n SelectContent,\n SelectItem,\n SelectValue,\n GlassCard,\n ResponsiveDialog,\n ResponsiveDialogContent,\n ResponsiveDialogHeader,\n ResponsiveDialogTitle,\n ResponsiveDialogDescription,\n ResponsiveDialogFooter,\n} from '@burdenoff/fe-libs/ui';\nimport {\n PageLayout,\n MetricsCard,\n StatusBadge,\n EmptyState,\n LoadingView,\n ErrorView,\n FilterTabs,\n Pagination,\n MiniBar,\n type FilterOption,\n} from '../../components';\nimport { Meter, IconChip, GOAL_TYPE_META, computeGoalProgress } from '../_shared/visuals';\nimport {\n useMybGoals,\n useMybCreateGoal,\n useMybUpdateGoal,\n useMybAchieveGoal,\n useOffsetPager,\n} from '../../hooks';\nimport type { MybGoal, MybGoalStatus, MybGoalType, MybCreateGoalInput } from '../../types';\nimport {\n formatDate,\n formatRelativeTime,\n formatNumber,\n formatPercent,\n formatEnumLabel,\n} from '../../utils/formatters';\n\nconst PAGE_SIZE = 12;\nconst KPI_LIMIT = 100;\n\ntype StatusFilter = MybGoalStatus | 'ALL';\n\nconst STATUS_FILTERS: FilterOption<StatusFilter>[] = [\n { value: 'ALL', label: 'All' },\n { value: 'ACTIVE', label: 'Active' },\n { value: 'ACHIEVED', label: 'Achieved' },\n { value: 'PAUSED', label: 'Paused' },\n { value: 'ABANDONED', label: 'Abandoned' },\n];\n\nconst GOAL_TYPE_OPTIONS: MybGoalType[] = [\n 'WEIGHT_LOSS',\n 'MUSCLE_GAIN',\n 'STRENGTH',\n 'ENDURANCE',\n 'MOBILITY',\n 'GENERAL_FITNESS',\n];\n\n/** Parse a free-text numeric input → a finite number, or undefined when blank/invalid. */\nfunction numOrUndef(raw: string): number | undefined {\n const trimmed = raw.trim();\n if (trimmed === '') return undefined;\n const parsed = Number(trimmed);\n return Number.isFinite(parsed) ? parsed : undefined;\n}\n\n// ============================================================================\n// Create-goal dialog\n// ============================================================================\n\ninterface CreateGoalForm {\n title: string;\n type: MybGoalType;\n baselineValue: string;\n targetValue: string;\n unit: string;\n targetDate: string;\n description: string;\n}\n\nconst EMPTY_CREATE_FORM: CreateGoalForm = {\n title: '',\n type: 'GENERAL_FITNESS',\n baselineValue: '',\n targetValue: '',\n unit: '',\n targetDate: '',\n description: '',\n};\n\nfunction CreateGoalDialog({\n open,\n onOpenChange,\n}: {\n open: boolean;\n onOpenChange: (open: boolean) => void;\n}) {\n const create = useMybCreateGoal();\n const [form, setForm] = useState<CreateGoalForm>(EMPTY_CREATE_FORM);\n const [error, setError] = useState<string | null>(null);\n\n const handleOpenChange = (next: boolean) => {\n if (!next) {\n setForm(EMPTY_CREATE_FORM);\n setError(null);\n }\n onOpenChange(next);\n };\n\n const submit = async () => {\n const title = form.title.trim();\n if (!title) {\n setError('Goal title is required.');\n return;\n }\n setError(null);\n const input: MybCreateGoalInput = {\n title,\n type: form.type,\n description: form.description.trim() || undefined,\n baselineValue: numOrUndef(form.baselineValue),\n targetValue: numOrUndef(form.targetValue),\n unit: form.unit.trim() || undefined,\n targetDate: form.targetDate ? new Date(form.targetDate).toISOString() : undefined,\n };\n try {\n await create.mutateAsync(input);\n setForm(EMPTY_CREATE_FORM);\n onOpenChange(false);\n } catch (err) {\n setError(err instanceof Error ? err.message : 'Failed to create goal.');\n }\n };\n\n return (\n <ResponsiveDialog open={open} onOpenChange={handleOpenChange}>\n <ResponsiveDialogContent>\n <ResponsiveDialogHeader>\n <ResponsiveDialogTitle>New goal</ResponsiveDialogTitle>\n <ResponsiveDialogDescription>\n Set a target across training, nutrition or body composition and track it to completion.\n </ResponsiveDialogDescription>\n </ResponsiveDialogHeader>\n <form\n className=\"space-y-4\"\n onSubmit={(event) => {\n event.preventDefault();\n void submit();\n }}\n >\n {error && (\n <p className=\"rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text\">\n {error}\n </p>\n )}\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-title\">Title</Label>\n <Input\n id=\"myb-goal-title\"\n value={form.title}\n onChange={(event) => setForm((f) => ({ ...f, title: event.target.value }))}\n placeholder=\"e.g., Squat 140 kg\"\n />\n </div>\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-type\">Type</Label>\n <Select\n value={form.type}\n // SelectItem values are exactly the MybGoalType members below, so the\n // string emitted by Radix is always a valid MybGoalType.\n onValueChange={(value) => setForm((f) => ({ ...f, type: value as MybGoalType }))}\n >\n <SelectTrigger id=\"myb-goal-type\">\n <SelectValue placeholder=\"Select a goal type\" />\n </SelectTrigger>\n <SelectContent>\n {GOAL_TYPE_OPTIONS.map((type) => (\n <SelectItem key={type} value={type}>\n {formatEnumLabel(type)}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-baseline\">Baseline</Label>\n <Input\n id=\"myb-goal-baseline\"\n type=\"number\"\n inputMode=\"decimal\"\n value={form.baselineValue}\n onChange={(event) => setForm((f) => ({ ...f, baselineValue: event.target.value }))}\n placeholder=\"0\"\n />\n </div>\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-target\">Target</Label>\n <Input\n id=\"myb-goal-target\"\n type=\"number\"\n inputMode=\"decimal\"\n value={form.targetValue}\n onChange={(event) => setForm((f) => ({ ...f, targetValue: event.target.value }))}\n placeholder=\"100\"\n />\n </div>\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-unit\">Unit</Label>\n <Input\n id=\"myb-goal-unit\"\n value={form.unit}\n onChange={(event) => setForm((f) => ({ ...f, unit: event.target.value }))}\n placeholder=\"kg / reps / min\"\n />\n </div>\n </div>\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-date\">Target date</Label>\n <Input\n id=\"myb-goal-date\"\n type=\"date\"\n value={form.targetDate}\n onChange={(event) => setForm((f) => ({ ...f, targetDate: event.target.value }))}\n />\n </div>\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-desc\">Description</Label>\n <Textarea\n id=\"myb-goal-desc\"\n rows={3}\n value={form.description}\n onChange={(event) => setForm((f) => ({ ...f, description: event.target.value }))}\n placeholder=\"Why this goal matters and how you'll get there.\"\n />\n </div>\n <ResponsiveDialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={() => handleOpenChange(false)}\n disabled={create.isPending}\n >\n Cancel\n </Button>\n <Button type=\"submit\" disabled={create.isPending}>\n {create.isPending ? 'Creating…' : 'Create goal'}\n </Button>\n </ResponsiveDialogFooter>\n </form>\n </ResponsiveDialogContent>\n </ResponsiveDialog>\n );\n}\n\n// ============================================================================\n// Update-progress dialog\n// ============================================================================\n\nfunction UpdateProgressDialog({\n goal,\n onOpenChange,\n}: {\n goal: MybGoal | null;\n onOpenChange: (open: boolean) => void;\n}) {\n const update = useMybUpdateGoal();\n const [value, setValue] = useState('');\n const [error, setError] = useState<string | null>(null);\n const [seededId, setSeededId] = useState<string | null>(null);\n\n // Seed the input with the goal's current value whenever the dialog target\n // changes — React's render-phase \"reset state when a prop changes\" pattern\n // (no effect, so no synchronous-setState-in-effect cascade).\n if (goal && goal.id !== seededId) {\n setSeededId(goal.id);\n setValue(String(goal.currentValue));\n setError(null);\n }\n\n const submit = async () => {\n if (!goal) return;\n const parsed = numOrUndef(value);\n if (parsed === undefined) {\n setError('Enter a valid number.');\n return;\n }\n setError(null);\n try {\n await update.mutateAsync({ id: goal.id, input: { currentValue: parsed } });\n onOpenChange(false);\n } catch (err) {\n setError(err instanceof Error ? err.message : 'Failed to update progress.');\n }\n };\n\n return (\n <ResponsiveDialog open={goal != null} onOpenChange={onOpenChange}>\n <ResponsiveDialogContent>\n <ResponsiveDialogHeader>\n <ResponsiveDialogTitle>Update progress</ResponsiveDialogTitle>\n <ResponsiveDialogDescription>\n {goal ? goal.title : 'Log your latest value for this goal.'}\n </ResponsiveDialogDescription>\n </ResponsiveDialogHeader>\n <form\n className=\"space-y-4\"\n onSubmit={(event) => {\n event.preventDefault();\n void submit();\n }}\n >\n {error && (\n <p className=\"rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text\">\n {error}\n </p>\n )}\n <div className=\"space-y-2\">\n <Label htmlFor=\"myb-goal-current\">\n Current value{goal?.unit ? ` (${goal.unit})` : ''}\n </Label>\n <Input\n id=\"myb-goal-current\"\n type=\"number\"\n inputMode=\"decimal\"\n autoFocus\n value={value}\n onChange={(event) => setValue(event.target.value)}\n placeholder=\"0\"\n />\n {goal && (\n <p className=\"text-xs text-text-tertiary\">\n Target: {formatNumber(goal.targetValue)}\n {goal.unit ? ` ${goal.unit}` : ''}\n </p>\n )}\n </div>\n <ResponsiveDialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={() => onOpenChange(false)}\n disabled={update.isPending}\n >\n Cancel\n </Button>\n <Button type=\"submit\" disabled={update.isPending}>\n {update.isPending ? 'Saving…' : 'Save progress'}\n </Button>\n </ResponsiveDialogFooter>\n </form>\n </ResponsiveDialogContent>\n </ResponsiveDialog>\n );\n}\n\n// ============================================================================\n// Goal card\n// ============================================================================\n\nfunction GoalCard({\n goal,\n onUpdateProgress,\n onAchieve,\n isAchieving,\n}: {\n goal: MybGoal;\n onUpdateProgress: (goal: MybGoal) => void;\n onAchieve: (goal: MybGoal) => void;\n isAchieving: boolean;\n}) {\n const meta = GOAL_TYPE_META[goal.type];\n const Icon = meta.icon;\n const pct = computeGoalProgress(goal);\n const unitSuffix = goal.unit ? ` ${goal.unit}` : '';\n\n return (\n <GlassCard treatment=\"glass\" className=\"flex flex-col gap-3 p-5\">\n <div className=\"flex items-start justify-between gap-3\">\n <div className=\"flex min-w-0 items-start gap-3\">\n <IconChip icon={<Icon className=\"h-4 w-4\" />} tint={meta.tint} />\n <div className=\"min-w-0\">\n <p className=\"truncate text-sm font-semibold text-text-primary\">{goal.title}</p>\n <span className=\"mt-1 inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary\">\n {formatEnumLabel(goal.type)}\n </span>\n </div>\n </div>\n <StatusBadge status={goal.status} />\n </div>\n\n {goal.description && (\n <p className=\"line-clamp-2 text-xs text-text-secondary\">{goal.description}</p>\n )}\n\n <div className=\"space-y-1.5\">\n <Meter value={pct} color={meta.tint} />\n <div className=\"flex items-center justify-between text-xs\">\n <span className=\"tabular-nums text-text-secondary\">\n {formatNumber(goal.currentValue)}\n {unitSuffix} / {formatNumber(goal.targetValue)}\n {unitSuffix}\n </span>\n <span className=\"tabular-nums text-text-tertiary\">{formatPercent(pct)}</span>\n </div>\n </div>\n\n {(goal.targetDate || (goal.status === 'ACHIEVED' && goal.achievedAt)) && (\n <div className=\"flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-tertiary\">\n {goal.targetDate && (\n <span className=\"inline-flex items-center gap-1\">\n <CalendarClock className=\"h-3.5 w-3.5\" />\n Target {formatDate(goal.targetDate)}\n <span className=\"text-text-secondary\">· {formatRelativeTime(goal.targetDate)}</span>\n </span>\n )}\n {goal.status === 'ACHIEVED' && goal.achievedAt && (\n <span className=\"inline-flex items-center gap-1 text-status-success-text\">\n <CheckCircle2 className=\"h-3.5 w-3.5\" />\n Achieved {formatDate(goal.achievedAt)}\n </span>\n )}\n </div>\n )}\n\n <div className=\"mt-auto flex flex-wrap gap-2 pt-1\">\n <Button variant=\"outline\" size=\"sm\" onClick={() => onUpdateProgress(goal)}>\n Update progress\n </Button>\n {goal.status === 'ACTIVE' && (\n <Button size=\"sm\" onClick={() => onAchieve(goal)} disabled={isAchieving}>\n {isAchieving ? 'Marking…' : 'Mark achieved'}\n </Button>\n )}\n </div>\n </GlassCard>\n );\n}\n\n// ============================================================================\n// Page\n// ============================================================================\n\nexport function GoalsPage() {\n const [statusFilter, setStatusFilter] = useState<StatusFilter>('ALL');\n const [createOpen, setCreateOpen] = useState(false);\n const [progressGoal, setProgressGoal] = useState<MybGoal | null>(null);\n const [achievingId, setAchievingId] = useState<string | null>(null);\n const [actionError, setActionError] = useState<string | null>(null);\n\n const pager = useOffsetPager(PAGE_SIZE);\n\n const goalsQuery = useMybGoals({\n status: statusFilter === 'ALL' ? undefined : statusFilter,\n pagination: { limit: PAGE_SIZE, offset: pager.offset },\n });\n\n // Separate bounded queries power the KPI row so the counts stay accurate\n // regardless of the active filter / page (connections expose no total count).\n const activeGoals = useMybGoals({ status: 'ACTIVE', pagination: { limit: KPI_LIMIT } });\n const achievedGoals = useMybGoals({ status: 'ACHIEVED', pagination: { limit: KPI_LIMIT } });\n\n const achieve = useMybAchieveGoal();\n\n const rows = goalsQuery.data?.items ?? [];\n const activeItems = activeGoals.data?.items ?? [];\n const achievedItems = achievedGoals.data?.items ?? [];\n\n const avgActiveProgress = useMemo(() => {\n if (activeItems.length === 0) return 0;\n const sum = activeItems.reduce((acc, goal) => acc + computeGoalProgress(goal), 0);\n return sum / activeItems.length;\n }, [activeItems]);\n\n const handleFilterChange = (next: StatusFilter) => {\n setStatusFilter(next);\n pager.reset();\n };\n\n const handleAchieve = async (goal: MybGoal) => {\n setAchievingId(goal.id);\n setActionError(null);\n try {\n await achieve.mutateAsync(goal.id);\n } catch (err) {\n setActionError(err instanceof Error ? err.message : 'Failed to mark goal as achieved.');\n } finally {\n setAchievingId(null);\n }\n };\n\n const showLoading = goalsQuery.isLoading && !goalsQuery.data;\n\n return (\n <PageLayout\n title=\"Goals\"\n description=\"Targets across training, nutrition and body composition.\"\n actions={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n New goal\n </Button>\n }\n >\n {/* KPI row */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n <MetricsCard\n icon={<Target className=\"h-5 w-5\" />}\n value={formatNumber(activeGoals.data ? activeItems.length : undefined)}\n label=\"Active goals\"\n />\n <MetricsCard\n icon={<Trophy className=\"h-5 w-5\" />}\n value={formatNumber(achievedGoals.data ? achievedItems.length : undefined)}\n label=\"Achieved\"\n accent=\"success\"\n />\n <MetricsCard\n icon={<TrendingUp className=\"h-5 w-5\" />}\n value={activeGoals.data ? formatPercent(avgActiveProgress) : '—'}\n label=\"Avg progress (active)\"\n footer={<MiniBar value={avgActiveProgress} height={4} barClassName=\"bg-accent-teal\" />}\n />\n </div>\n\n {/* Filter */}\n <div className=\"mt-6\">\n <FilterTabs options={STATUS_FILTERS} value={statusFilter} onChange={handleFilterChange} />\n </div>\n\n {actionError && (\n <p className=\"mt-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text\">\n {actionError}\n </p>\n )}\n\n {/* Grid */}\n <div className=\"mt-4\">\n {showLoading ? (\n <LoadingView label=\"Loading your goals…\" />\n ) : goalsQuery.isError ? (\n <ErrorView\n message=\"We couldn't load your goals.\"\n onRetry={() => void goalsQuery.refetch()}\n />\n ) : rows.length === 0 ? (\n <EmptyState\n illustration=\"empty-data\"\n icon={<Target className=\"h-10 w-10\" />}\n title={statusFilter === 'ALL' ? 'No goals yet' : 'No goals match this filter'}\n description={\n statusFilter === 'ALL'\n ? 'Set a goal to give your training and nutrition a clear target to work toward.'\n : 'Try a different status filter, or create a new goal.'\n }\n action={\n <Button onClick={() => setCreateOpen(true)}>\n <Plus className=\"mr-2 h-4 w-4\" />\n New goal\n </Button>\n }\n />\n ) : (\n <>\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3\">\n {rows.map((goal) => (\n <GoalCard\n key={goal.id}\n goal={goal}\n onUpdateProgress={setProgressGoal}\n onAchieve={(g) => void handleAchieve(g)}\n isAchieving={achievingId === goal.id}\n />\n ))}\n </div>\n <Pagination\n page={pager.page}\n pageSize={PAGE_SIZE}\n itemCount={rows.length}\n hasMore={goalsQuery.data?.pageInfo?.hasMore ?? false}\n onPageChange={(target) => pager.onPageChange(target)}\n />\n </>\n )}\n </div>\n\n <CreateGoalDialog open={createOpen} onOpenChange={setCreateOpen} />\n <UpdateProgressDialog\n goal={progressGoal}\n onOpenChange={(open) => {\n if (!open) setProgressGoal(null);\n }}\n />\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA2DA,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