@burdenoff/microfe-mybodyshield 2026.1028.1 → 2026.1101.2
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 +11 -5
- package/dist/dev/main.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoot.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoot.js +22 -21
- package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.d.ts +0 -1
- package/dist/mybodyshield/MyBodyShieldRoutes.js +5 -6
- package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
- package/dist/mybodyshield/components/DataTable.d.ts +1 -2
- package/dist/mybodyshield/components/DataTable.js +1 -2
- package/dist/mybodyshield/components/DataTable.js.map +1 -1
- package/dist/mybodyshield/components/EmptyState.d.ts +0 -1
- package/dist/mybodyshield/components/EmptyState.js +1 -2
- package/dist/mybodyshield/components/EmptyState.js.map +1 -1
- package/dist/mybodyshield/components/EvidenceUpload.d.ts +1 -2
- package/dist/mybodyshield/components/EvidenceUpload.js +1 -2
- package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -1
- package/dist/mybodyshield/components/FeatureFlagGuard.d.ts +0 -1
- package/dist/mybodyshield/components/FeatureFlagGuard.js +1 -2
- package/dist/mybodyshield/components/FeatureFlagGuard.js.map +1 -1
- package/dist/mybodyshield/components/FileLink.d.ts +1 -1
- package/dist/mybodyshield/components/FileLink.js +1 -2
- package/dist/mybodyshield/components/FileLink.js.map +1 -1
- package/dist/mybodyshield/components/FilterTabs.d.ts +1 -1
- package/dist/mybodyshield/components/FilterTabs.js +1 -2
- package/dist/mybodyshield/components/FilterTabs.js.map +1 -1
- package/dist/mybodyshield/components/MetricsCard.d.ts +0 -1
- package/dist/mybodyshield/components/MetricsCard.js +1 -2
- package/dist/mybodyshield/components/MetricsCard.js.map +1 -1
- package/dist/mybodyshield/components/MiniBar.d.ts +1 -1
- package/dist/mybodyshield/components/MiniBar.js +1 -2
- package/dist/mybodyshield/components/MiniBar.js.map +1 -1
- package/dist/mybodyshield/components/MybDiscussion.d.ts +1 -1
- package/dist/mybodyshield/components/MybDiscussion.js +15 -16
- package/dist/mybodyshield/components/MybDiscussion.js.map +1 -1
- package/dist/mybodyshield/components/MybTags.d.ts +1 -1
- package/dist/mybodyshield/components/MybTags.js +1 -2
- package/dist/mybodyshield/components/MybTags.js.map +1 -1
- package/dist/mybodyshield/components/PageDisabled.d.ts +0 -1
- package/dist/mybodyshield/components/PageDisabled.js +1 -2
- package/dist/mybodyshield/components/PageDisabled.js.map +1 -1
- package/dist/mybodyshield/components/PageLayout.d.ts +0 -1
- package/dist/mybodyshield/components/PageLayout.js +1 -2
- package/dist/mybodyshield/components/PageLayout.js.map +1 -1
- package/dist/mybodyshield/components/Pagination.d.ts +1 -1
- package/dist/mybodyshield/components/Pagination.js +1 -2
- package/dist/mybodyshield/components/Pagination.js.map +1 -1
- package/dist/mybodyshield/components/StateViews.d.ts +0 -1
- package/dist/mybodyshield/components/StateViews.js +1 -2
- package/dist/mybodyshield/components/StateViews.js.map +1 -1
- package/dist/mybodyshield/components/StatusBadge.d.ts +0 -1
- package/dist/mybodyshield/components/StatusBadge.js +2 -3
- package/dist/mybodyshield/components/StatusBadge.js.map +1 -1
- package/dist/mybodyshield/components/Tabs.d.ts +1 -2
- package/dist/mybodyshield/components/Tabs.js +1 -2
- package/dist/mybodyshield/components/Tabs.js.map +1 -1
- package/dist/mybodyshield/components/UserSearchSelect.d.ts +1 -1
- package/dist/mybodyshield/components/UserSearchSelect.js +1 -2
- package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -1
- package/dist/mybodyshield/components/index.js +18 -17
- package/dist/mybodyshield/context/MyBodyShieldContext.d.ts +0 -1
- package/dist/mybodyshield/context/MyBodyShieldContext.js +1 -2
- package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -1
- package/dist/mybodyshield/context/index.js +1 -1
- package/dist/mybodyshield/data/programTemplates.d.ts +0 -1
- package/dist/mybodyshield/data/programTemplates.js +1 -2
- package/dist/mybodyshield/data/programTemplates.js.map +1 -1
- package/dist/mybodyshield/hooks/index.js +9 -8
- package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js +1 -2
- package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js.map +1 -1
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.d.ts +0 -1
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +1 -2
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybComments.js +1 -2
- package/dist/mybodyshield/hooks/useMybComments.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybFiles.js +1 -2
- package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybTags.js +6 -7
- package/dist/mybodyshield/hooks/useMybTags.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybUsers.js +1 -2
- package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -1
- package/dist/mybodyshield/hooks/usePager.js +1 -2
- package/dist/mybodyshield/hooks/usePager.js.map +1 -1
- package/dist/mybodyshield/hooks/useTr.d.ts +0 -1
- package/dist/mybodyshield/hooks/useTr.js +1 -2
- package/dist/mybodyshield/hooks/useTr.js.map +1 -1
- package/dist/mybodyshield/index.js +6 -5
- package/dist/mybodyshield/lib/offlineSessionQueue.js +34 -35
- package/dist/mybodyshield/lib/offlineSessionQueue.js.map +1 -1
- package/dist/mybodyshield/lib/useOfflineSessionSync.d.ts +0 -1
- package/dist/mybodyshield/lib/useOfflineSessionSync.js +1 -2
- package/dist/mybodyshield/lib/useOfflineSessionSync.js.map +1 -1
- package/dist/mybodyshield/pages/DashboardPage.d.ts +1 -1
- package/dist/mybodyshield/pages/DashboardPage.js +132 -133
- package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
- package/dist/mybodyshield/pages/SettingsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/SettingsPage.js +2 -3
- package/dist/mybodyshield/pages/SettingsPage.js.map +1 -1
- package/dist/mybodyshield/pages/_shared/visuals.d.ts +0 -1
- package/dist/mybodyshield/pages/_shared/visuals.js +1 -2
- package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
- package/dist/mybodyshield/pages/ai/AiControlsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/ai/AiControlsPage.js +90 -91
- package/dist/mybodyshield/pages/ai/AiControlsPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachClientPage.d.ts +1 -1
- package/dist/mybodyshield/pages/coaching/CoachClientPage.js +35 -37
- package/dist/mybodyshield/pages/coaching/CoachClientPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.d.ts +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.js +169 -170
- package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/coachAnalytics.d.ts +0 -1
- package/dist/mybodyshield/pages/coaching/coachAnalytics.js +1 -2
- package/dist/mybodyshield/pages/coaching/coachAnalytics.js.map +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.js +219 -221
- package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
- package/dist/mybodyshield/pages/insights/InsightsCharts.d.ts +5 -6
- package/dist/mybodyshield/pages/insights/InsightsCharts.js +117 -118
- package/dist/mybodyshield/pages/insights/InsightsCharts.js.map +1 -1
- package/dist/mybodyshield/pages/insights/InsightsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/insights/InsightsPage.js +67 -68
- package/dist/mybodyshield/pages/insights/InsightsPage.js.map +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.d.ts +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js +519 -518
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.d.ts +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +420 -421
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.js +258 -259
- package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.d.ts +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.js +139 -140
- package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.d.ts +1 -1
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.js +3 -4
- package/dist/mybodyshield/pages/recovery/MindfulnessPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.d.ts +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js +205 -206
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.d.ts +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.js +118 -125
- package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.d.ts +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.js +156 -157
- package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
- package/dist/mybodyshield/services/createSandboxAssistantTransport.js +1 -2
- package/dist/mybodyshield/services/createSandboxAssistantTransport.js.map +1 -1
- package/dist/mybodyshield/types/index.d.ts +0 -1
- package/dist/mybodyshield/utils/cn.d.ts +0 -1
- package/dist/mybodyshield/utils/cn.js +2 -3
- package/dist/mybodyshield/utils/cn.js.map +1 -1
- package/dist/mybodyshield/utils/formatters.js +1 -2
- package/dist/mybodyshield/utils/formatters.js.map +1 -1
- package/dist/mybodyshield/utils/i18n.d.ts +0 -1
- package/dist/mybodyshield/utils/i18n.js +1 -2
- package/dist/mybodyshield/utils/i18n.js.map +1 -1
- package/dist/mybodyshield/utils/navigation.js +1 -2
- package/dist/mybodyshield/utils/navigation.js.map +1 -1
- package/dist/mybodyshield/utils/pageContext.js +2 -3
- package/dist/mybodyshield/utils/pageContext.js.map +1 -1
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +4 -5
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +2 -3
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/d3-array/src/ascending.js +1 -2
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
- package/dist/node_modules/d3-array/src/bisect.js +2 -3
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
- package/dist/node_modules/d3-array/src/bisector.js +1 -2
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
- package/dist/node_modules/d3-array/src/descending.js +1 -2
- package/dist/node_modules/d3-array/src/descending.js.map +1 -1
- package/dist/node_modules/d3-array/src/max.js +1 -2
- package/dist/node_modules/d3-array/src/max.js.map +1 -1
- package/dist/node_modules/d3-array/src/min.js +1 -2
- package/dist/node_modules/d3-array/src/min.js.map +1 -1
- package/dist/node_modules/d3-array/src/number.js +1 -2
- package/dist/node_modules/d3-array/src/number.js.map +1 -1
- package/dist/node_modules/d3-array/src/quantile.js +17 -18
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
- package/dist/node_modules/d3-array/src/quickselect.js +1 -2
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
- package/dist/node_modules/d3-array/src/range.js +1 -2
- package/dist/node_modules/d3-array/src/range.js.map +1 -1
- package/dist/node_modules/d3-array/src/sort.js +1 -2
- package/dist/node_modules/d3-array/src/sort.js.map +1 -1
- package/dist/node_modules/d3-array/src/ticks.js +5 -5
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
- package/dist/node_modules/d3-color/src/color.js +2 -3
- package/dist/node_modules/d3-color/src/color.js.map +1 -1
- package/dist/node_modules/d3-color/src/define.js +1 -2
- package/dist/node_modules/d3-color/src/define.js.map +1 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +2 -3
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
- package/dist/node_modules/d3-format/src/exponent.js +1 -2
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +1 -2
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +1 -2
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +1 -2
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +1 -2
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +1 -2
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +2 -3
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +1 -3
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +1 -2
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
- package/dist/node_modules/d3-format/src/identity.js +1 -2
- package/dist/node_modules/d3-format/src/identity.js.map +1 -1
- package/dist/node_modules/d3-format/src/locale.js +10 -13
- package/dist/node_modules/d3-format/src/locale.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +1 -2
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +1 -2
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +1 -2
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/array.js +2 -4
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/basis.js +1 -2
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +1 -2
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/color.js +1 -2
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +1 -2
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/date.js +1 -2
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/number.js +1 -2
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +1 -2
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/object.js +2 -3
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +1 -2
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +1 -2
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/round.js +1 -2
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/string.js +1 -2
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
- package/dist/node_modules/d3-interpolate/src/value.js +10 -11
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
- package/dist/node_modules/d3-path/src/path.js +8 -7
- package/dist/node_modules/d3-path/src/path.js.map +1 -1
- package/dist/node_modules/d3-scale/src/band.js +1 -2
- package/dist/node_modules/d3-scale/src/band.js.map +1 -1
- package/dist/node_modules/d3-scale/src/constant.js +1 -2
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
- package/dist/node_modules/d3-scale/src/continuous.js +7 -8
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
- package/dist/node_modules/d3-scale/src/diverging.js +35 -36
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
- package/dist/node_modules/d3-scale/src/identity.js +6 -7
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
- package/dist/node_modules/d3-scale/src/init.js +3 -8
- package/dist/node_modules/d3-scale/src/init.js.map +1 -1
- package/dist/node_modules/d3-scale/src/linear.js +6 -7
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
- package/dist/node_modules/d3-scale/src/log.js +32 -33
- package/dist/node_modules/d3-scale/src/log.js.map +1 -1
- package/dist/node_modules/d3-scale/src/nice.js +1 -2
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
- package/dist/node_modules/d3-scale/src/number.js +1 -2
- package/dist/node_modules/d3-scale/src/number.js.map +1 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +1 -2
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
- package/dist/node_modules/d3-scale/src/pow.js +13 -14
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
- package/dist/node_modules/d3-scale/src/quantile.js +2 -3
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
- package/dist/node_modules/d3-scale/src/quantize.js +5 -6
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
- package/dist/node_modules/d3-scale/src/radial.js +8 -9
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
- package/dist/node_modules/d3-scale/src/sequential.js +27 -28
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +6 -7
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
- package/dist/node_modules/d3-scale/src/symlog.js +12 -13
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
- package/dist/node_modules/d3-scale/src/threshold.js +2 -3
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +7 -10
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
- package/dist/node_modules/d3-scale/src/time.js +27 -28
- package/dist/node_modules/d3-scale/src/time.js.map +1 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +13 -14
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
- package/dist/node_modules/d3-shape/src/area.js +34 -33
- package/dist/node_modules/d3-shape/src/area.js.map +1 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -1
- package/dist/node_modules/d3-shape/src/array.js.map +1 -1
- package/dist/node_modules/d3-shape/src/constant.js +1 -2
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +4 -9
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +3 -8
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/bump.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +2 -5
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +1 -2
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +4 -9
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +5 -4
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +6 -9
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
- package/dist/node_modules/d3-shape/src/line.js +16 -17
- package/dist/node_modules/d3-shape/src/line.js.map +1 -1
- package/dist/node_modules/d3-shape/src/math.js +1 -2
- package/dist/node_modules/d3-shape/src/math.js.map +1 -1
- package/dist/node_modules/d3-shape/src/noop.js +1 -2
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/expand.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/none.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +1 -2
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +2 -3
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/order/none.js +1 -2
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
- package/dist/node_modules/d3-shape/src/path.js +1 -2
- package/dist/node_modules/d3-shape/src/path.js.map +1 -1
- package/dist/node_modules/d3-shape/src/point.js +1 -2
- package/dist/node_modules/d3-shape/src/point.js.map +1 -1
- package/dist/node_modules/d3-shape/src/stack.js +13 -14
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
- package/dist/node_modules/d3-shape/src/symbol.js +1 -2
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
- package/dist/node_modules/d3-time/src/day.js +1 -2
- package/dist/node_modules/d3-time/src/day.js.map +1 -1
- package/dist/node_modules/d3-time/src/duration.js +1 -2
- package/dist/node_modules/d3-time/src/duration.js.map +1 -1
- package/dist/node_modules/d3-time/src/hour.js +1 -2
- package/dist/node_modules/d3-time/src/hour.js.map +1 -1
- package/dist/node_modules/d3-time/src/interval.js +5 -4
- package/dist/node_modules/d3-time/src/interval.js.map +1 -1
- package/dist/node_modules/d3-time/src/millisecond.js +1 -2
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
- package/dist/node_modules/d3-time/src/minute.js +1 -2
- package/dist/node_modules/d3-time/src/minute.js.map +1 -1
- package/dist/node_modules/d3-time/src/month.js +1 -2
- package/dist/node_modules/d3-time/src/month.js.map +1 -1
- package/dist/node_modules/d3-time/src/second.js +1 -2
- package/dist/node_modules/d3-time/src/second.js.map +1 -1
- package/dist/node_modules/d3-time/src/ticks.js +27 -28
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
- package/dist/node_modules/d3-time/src/week.js +2 -3
- package/dist/node_modules/d3-time/src/week.js.map +1 -1
- package/dist/node_modules/d3-time/src/year.js +1 -2
- package/dist/node_modules/d3-time/src/year.js.map +1 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -7
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
- package/dist/node_modules/d3-time-format/src/locale.js +1 -2
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/eventemitter3/index.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +3 -4
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +3 -4
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +92 -101
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +11 -12
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +37 -38
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +9 -10
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +12 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +9 -10
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +15 -16
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +34 -35
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +7 -7
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +17 -18
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +22 -23
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +4 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +8 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +5 -6
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +2 -3
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +7 -8
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +1 -2
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -1
- package/dist/node_modules/internmap/src/index.js +1 -2
- package/dist/node_modules/internmap/src/index.js.map +1 -1
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_DataView.js.map +1 -1
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_Hash.js.map +1 -1
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js.map +1 -1
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_Map.js.map +1 -1
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_MapCache.js.map +1 -1
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Promise.js.map +1 -1
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_Set.js.map +1 -1
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_SetCache.js.map +1 -1
- package/dist/node_modules/lodash/_Stack.js +3 -3
- package/dist/node_modules/lodash/_Stack.js.map +1 -1
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js.map +1 -1
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_apply.js.map +1 -1
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js.map +1 -1
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js.map +1 -1
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js.map +1 -1
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGet.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js.map +1 -1
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js.map +1 -1
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMap.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js.map +1 -1
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js.map +1 -1
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js.map +1 -1
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseToString.js.map +1 -1
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castPath.js.map +1 -1
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js.map +1 -1
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createFind.js.map +1 -1
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createRange.js.map +1 -1
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_createSet.js.map +1 -1
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js.map +1 -1
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getNative.js.map +1 -1
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getTag.js.map +1 -1
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_getValue.js.map +1 -1
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasPath.js.map +1 -1
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js.map +1 -1
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js.map +1 -1
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js.map +1 -1
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js.map +1 -1
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIndex.js.map +1 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKey.js.map +1 -1
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js.map +1 -1
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js.map +1 -1
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overArg.js.map +1 -1
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_overRest.js.map +1 -1
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_root.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js.map +1 -1
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_setToString.js.map +1 -1
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_shortOut.js.map +1 -1
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackClear.js.map +1 -1
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js.map +1 -1
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js.map +1 -1
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js.map +1 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toKey.js.map +1 -1
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_toSource.js.map +1 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/constant.js.map +1 -1
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/debounce.js.map +1 -1
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/eq.js.map +1 -1
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/every.js.map +1 -1
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/find.js.map +1 -1
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/findIndex.js.map +1 -1
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/flatMap.js.map +1 -1
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/get.js.map +1 -1
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/hasIn.js.map +1 -1
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/identity.js.map +1 -1
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArguments.js.map +1 -1
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArray.js.map +1 -1
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js.map +1 -1
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js.map +1 -1
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isEqual.js.map +1 -1
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isFunction.js.map +1 -1
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isLength.js.map +1 -1
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNaN.js.map +1 -1
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNil.js.map +1 -1
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isNumber.js.map +1 -1
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObject.js.map +1 -1
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isString.js.map +1 -1
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isSymbol.js.map +1 -1
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/keys.js.map +1 -1
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/last.js.map +1 -1
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/map.js.map +1 -1
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/mapValues.js.map +1 -1
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/max.js.map +1 -1
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/memoize.js.map +1 -1
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/min.js.map +1 -1
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/noop.js.map +1 -1
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/now.js.map +1 -1
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/property.js.map +1 -1
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/range.js.map +1 -1
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/some.js.map +1 -1
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/sortBy.js.map +1 -1
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubArray.js.map +1 -1
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js.map +1 -1
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/throttle.js.map +1 -1
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toFinite.js.map +1 -1
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toInteger.js.map +1 -1
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toNumber.js.map +1 -1
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/toString.js.map +1 -1
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js.map +1 -1
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +22 -23
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +29 -30
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +50 -49
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +23 -24
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +12 -12
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +35 -37
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +18 -19
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +3 -3
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +2 -9
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +16 -17
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +3 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +15 -16
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +16 -17
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +175 -180
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +6 -5
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +58 -59
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +9 -10
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +10 -15
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +11 -12
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +6 -7
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +57 -58
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +9 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +8 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +10 -7
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +17 -18
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +13 -14
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.js +20 -21
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +7 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +4 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +10 -11
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +13 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +8 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +58 -59
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +2 -3
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +5 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +1 -2
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/array.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +12 -13
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +2 -3
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +7 -6
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +1 -2
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -1
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/object-assign/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/index.js.map +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
- package/dist/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-is/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js +81 -82
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +2 -3
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +18 -19
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Label.js +85 -86
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Text.js +18 -21
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
- package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +51 -52
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +237 -236
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/types.js +2 -3
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
- package/dist/node_modules/victory-vendor/es/d3-scale.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
- package/dist/stories/EmptyState.stories.d.ts +0 -1
- package/dist/stories/InsightsCharts.stories.d.ts +0 -1
- package/dist/stories/MetricsCard.stories.d.ts +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -1
- package/package.json +21 -7
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { PageLayout as e } from "../../components/PageLayout.js";
|
|
2
|
-
import {
|
|
3
|
-
import { StatusBadge as
|
|
4
|
-
import { EmptyState as
|
|
5
|
-
import { useMybActivateNutritionPlan as
|
|
6
|
-
import { useOffsetPager as
|
|
7
|
-
import { useTr as
|
|
8
|
-
import "
|
|
9
|
-
import { ErrorView as
|
|
10
|
-
import { DataTable as
|
|
11
|
-
import { FilterTabs as
|
|
12
|
-
import { Tabs as
|
|
13
|
-
import { Pagination as
|
|
2
|
+
import { motion as t } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
3
|
+
import { StatusBadge as n } from "../../components/StatusBadge.js";
|
|
4
|
+
import { EmptyState as r } from "../../components/EmptyState.js";
|
|
5
|
+
import { useMybActivateNutritionPlan as ee, useMybActiveNutritionPlan as te, useMybCreateNutritionPlan as i, useMybDailyMacros as ne, useMybDeleteMeal as a, useMybFoodByBarcode as re, useMybLogMeal as ie, useMybMeals as ae, useMybSearchFoods as oe, useMybUpdateNutritionPlan as se } from "../../hooks/useMyBodyShieldApi.js";
|
|
6
|
+
import { useOffsetPager as ce } from "../../hooks/usePager.js";
|
|
7
|
+
import { useTr as le } from "../../hooks/useTr.js";
|
|
8
|
+
import { useReducedMotion as ue } from "../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
|
|
9
|
+
import { ErrorView as o, LoadingView as s, Section as de } from "../../components/StateViews.js";
|
|
10
|
+
import { DataTable as fe } from "../../components/DataTable.js";
|
|
11
|
+
import { FilterTabs as pe } from "../../components/FilterTabs.js";
|
|
12
|
+
import { Tabs as me } from "../../components/Tabs.js";
|
|
13
|
+
import { Pagination as he } from "../../components/Pagination.js";
|
|
14
14
|
import "../../components/index.js";
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
15
|
+
import "../../hooks/index.js";
|
|
16
|
+
import { formatDate as ge, formatEnumLabel as c, formatGrams as l, formatKcal as _e, formatNumber as u, formatRelativeTime as ve } from "../../utils/formatters.js";
|
|
17
17
|
import { IconChip as ye, MACRO_HUE as d, MacroBar as be, Meter as xe, ProgressRing as Se } from "../_shared/visuals.js";
|
|
18
18
|
import { useMemo as Ce, useState as f } from "react";
|
|
19
|
-
import { Beef as we, Calendar as Te, CheckCircle2 as
|
|
20
|
-
import { Fragment as
|
|
21
|
-
import { Button as
|
|
22
|
-
|
|
23
|
-
var
|
|
19
|
+
import { Beef as we, Calendar as Te, CheckCircle2 as Ee, ClipboardList as De, Droplet as Oe, Flame as ke, Pencil as Ae, Plus as p, Salad as je, Star as Me, Trash2 as Ne, UtensilsCrossed as Pe, Wheat as Fe } from "lucide-react";
|
|
20
|
+
import { Fragment as Ie, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
21
|
+
import { Button as g, GlassCard as _, Input as v, Label as y, ResponsiveDialog as Le, ResponsiveDialogContent as Re, ResponsiveDialogDescription as ze, ResponsiveDialogFooter as Be, ResponsiveDialogHeader as Ve, ResponsiveDialogTitle as He, Select as Ue, SelectContent as We, SelectItem as Ge, SelectTrigger as Ke, SelectValue as qe, Switch as Je, Textarea as Ye } from "@burdenoff/fe-libs/ui";
|
|
22
|
+
// src/mybodyshield/pages/nutrition/NutritionPage.tsx
|
|
23
|
+
var b = 25, Xe = [
|
|
24
24
|
"BREAKFAST",
|
|
25
25
|
"LUNCH",
|
|
26
26
|
"DINNER",
|
|
27
27
|
"SNACK"
|
|
28
|
-
],
|
|
28
|
+
], Ze = [
|
|
29
29
|
"WEIGHT_LOSS",
|
|
30
30
|
"MUSCLE_GAIN",
|
|
31
31
|
"STRENGTH",
|
|
@@ -33,44 +33,44 @@ var S = 25, Je = [
|
|
|
33
33
|
"MOBILITY",
|
|
34
34
|
"GENERAL_FITNESS"
|
|
35
35
|
];
|
|
36
|
-
function
|
|
36
|
+
function Qe(e) {
|
|
37
37
|
return [
|
|
38
38
|
{
|
|
39
39
|
value: "today",
|
|
40
40
|
label: e("mybodyshield.pages.nutrition.today", "Today"),
|
|
41
|
-
icon: /* @__PURE__ */
|
|
41
|
+
icon: /* @__PURE__ */ m(ke, { className: "h-4 w-4" })
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
value: "plan",
|
|
45
45
|
label: e("mybodyshield.pages.nutrition.plan", "Plan"),
|
|
46
|
-
icon: /* @__PURE__ */
|
|
46
|
+
icon: /* @__PURE__ */ m(De, { className: "h-4 w-4" })
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
value: "meals",
|
|
50
50
|
label: e("mybodyshield.pages.nutrition.meals", "Meals"),
|
|
51
|
-
icon: /* @__PURE__ */
|
|
51
|
+
icon: /* @__PURE__ */ m(Pe, { className: "h-4 w-4" })
|
|
52
52
|
}
|
|
53
53
|
];
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function $e(e) {
|
|
56
56
|
return [{
|
|
57
57
|
value: "ALL",
|
|
58
58
|
label: e("mybodyshield.common.all", "All")
|
|
59
|
-
}, ...
|
|
59
|
+
}, ...Xe.map((e) => ({
|
|
60
60
|
value: e,
|
|
61
|
-
label:
|
|
61
|
+
label: c(e)
|
|
62
62
|
}))];
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var x = (e) => {
|
|
65
65
|
let t = e.trim();
|
|
66
66
|
if (!t) return;
|
|
67
67
|
let n = Number(t);
|
|
68
68
|
return Number.isFinite(n) ? n : void 0;
|
|
69
|
-
},
|
|
69
|
+
}, S = (e) => e ? String(e) : "", et = (e) => {
|
|
70
70
|
if (!e) return "";
|
|
71
71
|
let t = new Date(e);
|
|
72
72
|
return Number.isNaN(t.getTime()) ? "" : t.toISOString().slice(0, 10);
|
|
73
|
-
},
|
|
73
|
+
}, tt = (e) => e ? new Date(e).toISOString() : void 0, C = {
|
|
74
74
|
name: "",
|
|
75
75
|
mealType: "BREAKFAST",
|
|
76
76
|
calories: "",
|
|
@@ -80,7 +80,7 @@ var C = (e) => {
|
|
|
80
80
|
servings: "",
|
|
81
81
|
isFavorite: !1,
|
|
82
82
|
barcode: null
|
|
83
|
-
},
|
|
83
|
+
}, nt = {
|
|
84
84
|
name: "",
|
|
85
85
|
goalType: "GENERAL_FITNESS",
|
|
86
86
|
calorieTarget: "",
|
|
@@ -91,22 +91,22 @@ var C = (e) => {
|
|
|
91
91
|
endDate: "",
|
|
92
92
|
notes: ""
|
|
93
93
|
};
|
|
94
|
-
function
|
|
95
|
-
let
|
|
96
|
-
mealType:
|
|
94
|
+
function w() {
|
|
95
|
+
let w = le(), [T, rt] = f("today"), E = ue(), it = Qe(w), at = $e(w), D = ne(), O = te(), k = ae({}), [A, ot] = f("ALL"), j = ce(b), M = ae({
|
|
96
|
+
mealType: A === "ALL" ? void 0 : A,
|
|
97
97
|
pagination: {
|
|
98
|
-
limit:
|
|
99
|
-
offset:
|
|
98
|
+
limit: b,
|
|
99
|
+
offset: j.offset
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
102
|
-
|
|
103
|
-
...
|
|
101
|
+
}), N = ie(), st = a(), ct = i(), lt = se(), P = ee(), [ut, F] = f(null), [dt, ft] = f(null), [pt, I] = f(null), [mt, L] = f(!1), [R, z] = f(C), [ht, B] = f(null), [V, gt] = f(""), H = oe(V), [_t, vt] = f(""), [yt, U] = f(null), bt = re(), xt = (e) => {
|
|
102
|
+
z({
|
|
103
|
+
...R,
|
|
104
104
|
name: e.name,
|
|
105
|
-
calories:
|
|
106
|
-
proteinG:
|
|
107
|
-
carbsG:
|
|
108
|
-
fatG:
|
|
109
|
-
servings:
|
|
105
|
+
calories: S(e.calories),
|
|
106
|
+
proteinG: S(e.proteinG),
|
|
107
|
+
carbsG: S(e.carbsG),
|
|
108
|
+
fatG: S(e.fatG),
|
|
109
|
+
servings: R.servings || "1",
|
|
110
110
|
barcode: e.barcode ?? null
|
|
111
111
|
}), gt("");
|
|
112
112
|
}, St = async () => {
|
|
@@ -116,121 +116,123 @@ function E() {
|
|
|
116
116
|
try {
|
|
117
117
|
let t = await bt.mutateAsync(e);
|
|
118
118
|
if (!t) {
|
|
119
|
-
U(
|
|
119
|
+
U(w("mybodyshield.pages.nutrition.noProductForBarcode", "No product found for barcode {{barcode}}.", { barcode: e }));
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
122
|
xt(t), vt("");
|
|
123
123
|
} catch (e) {
|
|
124
|
-
U(e instanceof Error ? e.message :
|
|
124
|
+
U(e instanceof Error ? e.message : w("mybodyshield.pages.nutrition.barcodeLookupFailed", "Barcode lookup failed."));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
}, [Ct, W] = f(!1), [G, wt] = f("create"), [K, q] = f(
|
|
128
|
-
let e =
|
|
127
|
+
}, [Ct, W] = f(!1), [G, wt] = f("create"), [K, q] = f(nt), [Tt, J] = f(null), Et = O.data ?? null, Y = pt ?? Et, Dt = Ce(() => {
|
|
128
|
+
let e = k.data?.items ?? [], t = (/* @__PURE__ */ new Date()).toDateString();
|
|
129
129
|
return e.filter((e) => {
|
|
130
130
|
let n = new Date(e.loggedAt);
|
|
131
131
|
return !Number.isNaN(n.getTime()) && n.toDateString() === t;
|
|
132
132
|
}).sort((e, t) => new Date(t.loggedAt).getTime() - new Date(e.loggedAt).getTime());
|
|
133
|
-
}, [
|
|
134
|
-
|
|
133
|
+
}, [k.data]), Ot = M.data?.items ?? [], kt = (e) => {
|
|
134
|
+
ot(e), j.reset();
|
|
135
135
|
}, X = () => {
|
|
136
|
-
|
|
136
|
+
z(C), B(null), gt(""), vt(""), U(null), L(!0);
|
|
137
137
|
}, At = () => {
|
|
138
|
-
wt("create"), q(
|
|
138
|
+
wt("create"), q(nt), J(null), W(!0);
|
|
139
139
|
}, jt = () => {
|
|
140
140
|
Y && (wt("edit"), q({
|
|
141
141
|
name: Y.name,
|
|
142
142
|
goalType: Y.goalType,
|
|
143
|
-
calorieTarget:
|
|
144
|
-
proteinTarget:
|
|
145
|
-
carbsTarget:
|
|
146
|
-
fatTarget:
|
|
147
|
-
startDate:
|
|
148
|
-
endDate:
|
|
143
|
+
calorieTarget: S(Y.calorieTarget),
|
|
144
|
+
proteinTarget: S(Y.proteinTarget),
|
|
145
|
+
carbsTarget: S(Y.carbsTarget),
|
|
146
|
+
fatTarget: S(Y.fatTarget),
|
|
147
|
+
startDate: et(Y.startDate),
|
|
148
|
+
endDate: et(Y.endDate),
|
|
149
149
|
notes: Y.notes ?? ""
|
|
150
150
|
}), J(null), W(!0));
|
|
151
151
|
}, Mt = async () => {
|
|
152
|
-
if (!
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
V(e instanceof Error ? e.message : E("mybodyshield.pages.nutrition.failedToLogMeal", "Failed to log meal."));
|
|
152
|
+
if (!R.name.trim()) B(w("mybodyshield.pages.nutrition.mealNameRequired", "Meal name is required."));
|
|
153
|
+
else {
|
|
154
|
+
B(null);
|
|
155
|
+
try {
|
|
156
|
+
await N.mutateAsync({
|
|
157
|
+
name: R.name.trim(),
|
|
158
|
+
mealType: R.mealType,
|
|
159
|
+
calories: x(R.calories),
|
|
160
|
+
proteinG: x(R.proteinG),
|
|
161
|
+
carbsG: x(R.carbsG),
|
|
162
|
+
fatG: x(R.fatG),
|
|
163
|
+
servings: x(R.servings),
|
|
164
|
+
isFavorite: R.isFavorite,
|
|
165
|
+
planId: Y?.id ?? void 0,
|
|
166
|
+
loggedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
167
|
+
barcode: R.barcode ?? void 0
|
|
168
|
+
}), L(!1), z(C);
|
|
169
|
+
} catch (e) {
|
|
170
|
+
B(e instanceof Error ? e.message : w("mybodyshield.pages.nutrition.failedToLogMeal", "Failed to log meal."));
|
|
171
|
+
}
|
|
173
172
|
}
|
|
174
173
|
}, Nt = async () => {
|
|
175
174
|
if (!K.name.trim()) {
|
|
176
|
-
J(
|
|
175
|
+
J(w("mybodyshield.pages.nutrition.planNameRequired", "Plan name is required."));
|
|
177
176
|
return;
|
|
178
177
|
}
|
|
179
178
|
J(null);
|
|
180
179
|
let e = {
|
|
181
180
|
goalType: K.goalType,
|
|
182
|
-
calorieTarget:
|
|
183
|
-
proteinTarget:
|
|
184
|
-
carbsTarget:
|
|
185
|
-
fatTarget:
|
|
186
|
-
startDate:
|
|
187
|
-
endDate:
|
|
181
|
+
calorieTarget: x(K.calorieTarget),
|
|
182
|
+
proteinTarget: x(K.proteinTarget),
|
|
183
|
+
carbsTarget: x(K.carbsTarget),
|
|
184
|
+
fatTarget: x(K.fatTarget),
|
|
185
|
+
startDate: tt(K.startDate),
|
|
186
|
+
endDate: tt(K.endDate),
|
|
188
187
|
notes: K.notes.trim() || void 0
|
|
189
188
|
};
|
|
190
189
|
try {
|
|
191
190
|
if (G === "edit" && Y) {
|
|
192
|
-
let t = await
|
|
191
|
+
let t = await lt.mutateAsync({
|
|
193
192
|
id: Y.id,
|
|
194
193
|
input: {
|
|
195
194
|
name: K.name.trim(),
|
|
196
195
|
...e
|
|
197
196
|
}
|
|
198
197
|
});
|
|
199
|
-
|
|
200
|
-
} else
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
198
|
+
I((e) => e && e.id === t.id ? t : e);
|
|
199
|
+
} else {
|
|
200
|
+
let t = await ct.mutateAsync({
|
|
201
|
+
name: K.name.trim(),
|
|
202
|
+
...e
|
|
203
|
+
});
|
|
204
|
+
I(t), rt("plan");
|
|
205
|
+
}
|
|
204
206
|
W(!1);
|
|
205
207
|
} catch (e) {
|
|
206
|
-
J(e instanceof Error ? e.message :
|
|
208
|
+
J(e instanceof Error ? e.message : w("mybodyshield.pages.nutrition.failedToSavePlan", "Failed to save plan."));
|
|
207
209
|
}
|
|
208
210
|
}, Pt = async (e) => {
|
|
209
|
-
|
|
211
|
+
F(null);
|
|
210
212
|
try {
|
|
211
|
-
await
|
|
213
|
+
await P.mutateAsync(e), I(null);
|
|
212
214
|
} catch (e) {
|
|
213
|
-
|
|
215
|
+
F(e instanceof Error ? e.message : w("mybodyshield.pages.nutrition.failedToActivatePlan", "Failed to activate plan."));
|
|
214
216
|
}
|
|
215
217
|
}, Ft = async (e) => {
|
|
216
|
-
if (window.confirm(
|
|
217
|
-
|
|
218
|
+
if (window.confirm(w("mybodyshield.pages.nutrition.deleteMealConfirm", "Delete this meal log? This cannot be undone."))) {
|
|
219
|
+
ft(e), F(null);
|
|
218
220
|
try {
|
|
219
|
-
await
|
|
221
|
+
await st.mutateAsync(e);
|
|
220
222
|
} catch (e) {
|
|
221
|
-
|
|
223
|
+
F(e instanceof Error ? e.message : w("mybodyshield.pages.nutrition.failedToDeleteMeal", "Failed to delete meal."));
|
|
222
224
|
} finally {
|
|
223
|
-
|
|
225
|
+
ft(null);
|
|
224
226
|
}
|
|
225
227
|
}
|
|
226
|
-
}, Z = G === "edit" ?
|
|
228
|
+
}, Z = G === "edit" ? lt.isPending : ct.isPending, Q = {
|
|
227
229
|
hidden: {},
|
|
228
230
|
show: { transition: {
|
|
229
|
-
staggerChildren:
|
|
230
|
-
delayChildren:
|
|
231
|
+
staggerChildren: E ? 0 : .06,
|
|
232
|
+
delayChildren: E ? 0 : .03
|
|
231
233
|
} }
|
|
232
234
|
}, $ = {
|
|
233
|
-
hidden:
|
|
235
|
+
hidden: E ? { opacity: 0 } : {
|
|
234
236
|
opacity: 0,
|
|
235
237
|
y: 14
|
|
236
238
|
},
|
|
@@ -238,286 +240,286 @@ function E() {
|
|
|
238
240
|
opacity: 1,
|
|
239
241
|
y: 0,
|
|
240
242
|
transition: {
|
|
241
|
-
duration:
|
|
243
|
+
duration: E ? .2 : .45,
|
|
242
244
|
ease: "easeOut"
|
|
243
245
|
}
|
|
244
246
|
}
|
|
245
247
|
}, It = [
|
|
246
248
|
{
|
|
247
249
|
key: "favorite",
|
|
248
|
-
header: /* @__PURE__ */
|
|
250
|
+
header: /* @__PURE__ */ m(Me, {
|
|
249
251
|
className: "h-3.5 w-3.5 text-action-primary-bg",
|
|
250
252
|
"aria-hidden": "true"
|
|
251
253
|
}),
|
|
252
254
|
align: "center",
|
|
253
255
|
sortValue: (e) => +!!e.isFavorite,
|
|
254
|
-
render: (e) => /* @__PURE__ */
|
|
256
|
+
render: (e) => /* @__PURE__ */ h("span", {
|
|
255
257
|
className: "inline-flex",
|
|
256
|
-
title: e.isFavorite ?
|
|
257
|
-
children: [/* @__PURE__ */
|
|
258
|
+
title: e.isFavorite ? w("mybodyshield.pages.nutrition.favoriteMeal", "Favorite meal") : w("mybodyshield.pages.nutrition.notFavorite", "Not a favorite"),
|
|
259
|
+
children: [/* @__PURE__ */ m(Me, { className: `h-4 w-4 transition-colors ${e.isFavorite ? "fill-current text-action-primary-bg" : "text-text-tertiary"}` }), /* @__PURE__ */ m("span", {
|
|
258
260
|
className: "sr-only",
|
|
259
|
-
children: e.isFavorite ?
|
|
261
|
+
children: e.isFavorite ? w("mybodyshield.pages.nutrition.favorite", "Favorite") : w("mybodyshield.pages.nutrition.notFavoriteShort", "Not favorite")
|
|
260
262
|
})]
|
|
261
263
|
})
|
|
262
264
|
},
|
|
263
265
|
{
|
|
264
266
|
key: "name",
|
|
265
|
-
header:
|
|
266
|
-
render: (e) => /* @__PURE__ */
|
|
267
|
+
header: w("mybodyshield.pages.nutrition.meal", "Meal"),
|
|
268
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
267
269
|
className: "font-medium text-text-primary",
|
|
268
270
|
children: e.name
|
|
269
271
|
})
|
|
270
272
|
},
|
|
271
273
|
{
|
|
272
274
|
key: "mealType",
|
|
273
|
-
header:
|
|
274
|
-
render: (e) => /* @__PURE__ */
|
|
275
|
+
header: w("mybodyshield.pages.nutrition.mealType", "Type"),
|
|
276
|
+
render: (e) => /* @__PURE__ */ m(n, { status: e.mealType })
|
|
275
277
|
},
|
|
276
278
|
{
|
|
277
279
|
key: "calories",
|
|
278
|
-
header:
|
|
280
|
+
header: w("mybodyshield.pages.nutrition.calories", "Calories"),
|
|
279
281
|
align: "right",
|
|
280
282
|
sortValue: (e) => e.calories,
|
|
281
|
-
render: (e) => /* @__PURE__ */
|
|
283
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
282
284
|
className: "font-semibold tabular-nums text-text-primary",
|
|
283
|
-
children:
|
|
285
|
+
children: _e(e.calories)
|
|
284
286
|
})
|
|
285
287
|
},
|
|
286
288
|
{
|
|
287
289
|
key: "proteinG",
|
|
288
|
-
header:
|
|
290
|
+
header: w("mybodyshield.pages.nutrition.protein", "Protein"),
|
|
289
291
|
align: "right",
|
|
290
292
|
hideOnMobile: !0,
|
|
291
293
|
sortValue: (e) => e.proteinG,
|
|
292
|
-
render: (e) => /* @__PURE__ */
|
|
294
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
293
295
|
className: "tabular-nums text-text-secondary",
|
|
294
|
-
children:
|
|
296
|
+
children: l(e.proteinG)
|
|
295
297
|
})
|
|
296
298
|
},
|
|
297
299
|
{
|
|
298
300
|
key: "carbsG",
|
|
299
|
-
header:
|
|
301
|
+
header: w("mybodyshield.pages.nutrition.carbs", "Carbs"),
|
|
300
302
|
align: "right",
|
|
301
303
|
hideOnMobile: !0,
|
|
302
304
|
sortValue: (e) => e.carbsG,
|
|
303
|
-
render: (e) => /* @__PURE__ */
|
|
305
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
304
306
|
className: "tabular-nums text-text-secondary",
|
|
305
|
-
children:
|
|
307
|
+
children: l(e.carbsG)
|
|
306
308
|
})
|
|
307
309
|
},
|
|
308
310
|
{
|
|
309
311
|
key: "fatG",
|
|
310
|
-
header:
|
|
312
|
+
header: w("mybodyshield.pages.nutrition.fat", "Fat"),
|
|
311
313
|
align: "right",
|
|
312
314
|
hideOnMobile: !0,
|
|
313
315
|
sortValue: (e) => e.fatG,
|
|
314
|
-
render: (e) => /* @__PURE__ */
|
|
316
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
315
317
|
className: "tabular-nums text-text-secondary",
|
|
316
|
-
children:
|
|
318
|
+
children: l(e.fatG)
|
|
317
319
|
})
|
|
318
320
|
},
|
|
319
321
|
{
|
|
320
322
|
key: "servings",
|
|
321
|
-
header:
|
|
323
|
+
header: w("mybodyshield.pages.nutrition.servingsLabel", "Servings"),
|
|
322
324
|
align: "right",
|
|
323
325
|
sortValue: (e) => e.servings,
|
|
324
|
-
render: (e) => /* @__PURE__ */
|
|
326
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
325
327
|
className: "tabular-nums",
|
|
326
|
-
children:
|
|
328
|
+
children: u(e.servings)
|
|
327
329
|
})
|
|
328
330
|
},
|
|
329
331
|
{
|
|
330
332
|
key: "loggedAt",
|
|
331
|
-
header:
|
|
333
|
+
header: w("mybodyshield.pages.nutrition.logged", "Logged"),
|
|
332
334
|
hideOnMobile: !0,
|
|
333
335
|
sortValue: (e) => new Date(e.loggedAt).getTime(),
|
|
334
|
-
render: (e) => /* @__PURE__ */
|
|
336
|
+
render: (e) => /* @__PURE__ */ m("span", {
|
|
335
337
|
className: "text-text-secondary",
|
|
336
|
-
children:
|
|
338
|
+
children: ve(e.loggedAt)
|
|
337
339
|
})
|
|
338
340
|
},
|
|
339
341
|
{
|
|
340
342
|
key: "actions",
|
|
341
343
|
header: "",
|
|
342
344
|
align: "right",
|
|
343
|
-
render: (e) => /* @__PURE__ */ g
|
|
345
|
+
render: (e) => /* @__PURE__ */ m(g, {
|
|
344
346
|
variant: "ghost",
|
|
345
347
|
size: "icon-sm",
|
|
346
348
|
onClick: () => Ft(e.id),
|
|
347
|
-
disabled:
|
|
348
|
-
"aria-label":
|
|
349
|
-
children: /* @__PURE__ */
|
|
349
|
+
disabled: dt === e.id,
|
|
350
|
+
"aria-label": w("mybodyshield.pages.nutrition.deleteMeal", "Delete meal"),
|
|
351
|
+
children: /* @__PURE__ */ m(Ne, { className: "h-4 w-4 text-status-error-text" })
|
|
350
352
|
})
|
|
351
353
|
}
|
|
352
|
-
], Lt =
|
|
354
|
+
], Lt = T === "plan" ? /* @__PURE__ */ h("div", {
|
|
353
355
|
className: "flex flex-wrap items-center gap-2",
|
|
354
|
-
children: [Y && /* @__PURE__ */
|
|
356
|
+
children: [Y && /* @__PURE__ */ h(g, {
|
|
355
357
|
variant: "outline",
|
|
356
358
|
onClick: jt,
|
|
357
359
|
children: [
|
|
358
|
-
/* @__PURE__ */
|
|
360
|
+
/* @__PURE__ */ m(Ae, { className: "mr-1.5 h-4 w-4" }),
|
|
359
361
|
" ",
|
|
360
|
-
|
|
362
|
+
w("mybodyshield.pages.nutrition.editTargets", "Edit targets")
|
|
361
363
|
]
|
|
362
|
-
}), /* @__PURE__ */
|
|
364
|
+
}), /* @__PURE__ */ h(g, {
|
|
363
365
|
onClick: At,
|
|
364
366
|
children: [
|
|
365
|
-
/* @__PURE__ */
|
|
367
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
366
368
|
" ",
|
|
367
|
-
|
|
369
|
+
w("mybodyshield.pages.nutrition.createPlan", "Create plan")
|
|
368
370
|
]
|
|
369
371
|
})]
|
|
370
|
-
}) : /* @__PURE__ */
|
|
372
|
+
}) : /* @__PURE__ */ h(g, {
|
|
371
373
|
onClick: X,
|
|
372
374
|
children: [
|
|
373
|
-
/* @__PURE__ */
|
|
375
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
374
376
|
" ",
|
|
375
|
-
|
|
377
|
+
w("mybodyshield.pages.nutrition.logMeal", "Log meal")
|
|
376
378
|
]
|
|
377
379
|
});
|
|
378
|
-
return /* @__PURE__ */
|
|
379
|
-
title:
|
|
380
|
-
description:
|
|
380
|
+
return /* @__PURE__ */ h(e, {
|
|
381
|
+
title: w("mybodyshield.pages.nutrition.title", "Nutrition"),
|
|
382
|
+
description: w("mybodyshield.pages.nutrition.description", "Plans, meal logging and daily macro targets."),
|
|
381
383
|
actions: Lt,
|
|
382
384
|
children: [
|
|
383
|
-
/* @__PURE__ */
|
|
384
|
-
items:
|
|
385
|
-
value:
|
|
386
|
-
onChange:
|
|
385
|
+
/* @__PURE__ */ m(me, {
|
|
386
|
+
items: it,
|
|
387
|
+
value: T,
|
|
388
|
+
onChange: rt,
|
|
387
389
|
className: "mb-6"
|
|
388
390
|
}),
|
|
389
|
-
|
|
391
|
+
ut && /* @__PURE__ */ m("div", {
|
|
390
392
|
className: "mb-4 rounded-lg border border-status-error-text/40 bg-status-error-bg-subtle px-4 py-2 text-sm text-status-error-text",
|
|
391
|
-
children:
|
|
393
|
+
children: ut
|
|
392
394
|
}),
|
|
393
|
-
|
|
394
|
-
if (
|
|
395
|
-
if (
|
|
396
|
-
message:
|
|
397
|
-
onRetry: () =>
|
|
395
|
+
T === "today" && (() => {
|
|
396
|
+
if (D.isLoading) return /* @__PURE__ */ m(s, { label: w("mybodyshield.pages.nutrition.loadingToday", "Loading today's nutrition…") });
|
|
397
|
+
if (D.isError) return /* @__PURE__ */ m(o, {
|
|
398
|
+
message: w("mybodyshield.pages.nutrition.errorToday", "We couldn't load your daily macros."),
|
|
399
|
+
onRetry: () => D.refetch()
|
|
398
400
|
});
|
|
399
|
-
let e =
|
|
400
|
-
if (!e) return /* @__PURE__ */
|
|
401
|
-
let
|
|
402
|
-
if (!
|
|
401
|
+
let e = D.data;
|
|
402
|
+
if (!e) return /* @__PURE__ */ m(s, { label: w("mybodyshield.pages.nutrition.loadingToday", "Loading today's nutrition…") });
|
|
403
|
+
let ee = e.calorieTarget > 0, te = e.calories > 0 || Dt.length > 0;
|
|
404
|
+
if (!ee && !te) return /* @__PURE__ */ m(r, {
|
|
403
405
|
illustration: "empty-data",
|
|
404
|
-
icon: /* @__PURE__ */
|
|
405
|
-
title:
|
|
406
|
-
description:
|
|
407
|
-
action: /* @__PURE__ */
|
|
406
|
+
icon: /* @__PURE__ */ m(je, { className: "h-10 w-10" }),
|
|
407
|
+
title: w("mybodyshield.pages.nutrition.noNutritionData", "No nutrition tracked yet"),
|
|
408
|
+
description: w("mybodyshield.pages.nutrition.noNutritionDescription", "Activate a nutrition plan or log your first meal to start tracking daily macros."),
|
|
409
|
+
action: /* @__PURE__ */ h(g, {
|
|
408
410
|
onClick: X,
|
|
409
411
|
children: [
|
|
410
|
-
/* @__PURE__ */
|
|
412
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
411
413
|
" ",
|
|
412
|
-
|
|
414
|
+
w("mybodyshield.pages.nutrition.logMeal", "Log meal")
|
|
413
415
|
]
|
|
414
416
|
})
|
|
415
417
|
});
|
|
416
|
-
let
|
|
418
|
+
let i = e.calorieTarget ? e.calories / e.calorieTarget * 100 : 0, ne = Math.round(Math.max(0, Math.min(100, i))), a = [
|
|
417
419
|
{
|
|
418
|
-
label:
|
|
420
|
+
label: w("mybodyshield.pages.nutrition.protein", "Protein"),
|
|
419
421
|
value: e.proteinG,
|
|
420
422
|
target: e.proteinTarget,
|
|
421
423
|
color: d.protein
|
|
422
424
|
},
|
|
423
425
|
{
|
|
424
|
-
label:
|
|
426
|
+
label: w("mybodyshield.pages.nutrition.carbs", "Carbs"),
|
|
425
427
|
value: e.carbsG,
|
|
426
428
|
target: e.carbsTarget,
|
|
427
429
|
color: d.carbs
|
|
428
430
|
},
|
|
429
431
|
{
|
|
430
|
-
label:
|
|
432
|
+
label: w("mybodyshield.pages.nutrition.fat", "Fat"),
|
|
431
433
|
value: e.fatG,
|
|
432
434
|
target: e.fatTarget,
|
|
433
435
|
color: d.fat
|
|
434
436
|
}
|
|
435
437
|
];
|
|
436
|
-
return /* @__PURE__ */
|
|
438
|
+
return /* @__PURE__ */ h(t.div, {
|
|
437
439
|
initial: "hidden",
|
|
438
440
|
animate: "show",
|
|
439
441
|
variants: Q,
|
|
440
442
|
className: "space-y-6",
|
|
441
443
|
children: [
|
|
442
|
-
/* @__PURE__ */
|
|
444
|
+
/* @__PURE__ */ m(t.div, {
|
|
443
445
|
variants: $,
|
|
444
|
-
children: /* @__PURE__ */ _
|
|
446
|
+
children: /* @__PURE__ */ h(_, {
|
|
445
447
|
treatment: "glass",
|
|
446
448
|
glow: !0,
|
|
447
449
|
className: "p-6 sm:p-7",
|
|
448
|
-
children: [/* @__PURE__ */
|
|
450
|
+
children: [/* @__PURE__ */ h("div", {
|
|
449
451
|
className: "mb-5",
|
|
450
|
-
children: [/* @__PURE__ */
|
|
452
|
+
children: [/* @__PURE__ */ m("h2", {
|
|
451
453
|
className: "text-base font-semibold text-text-primary",
|
|
452
|
-
children:
|
|
453
|
-
}), /* @__PURE__ */
|
|
454
|
+
children: w("mybodyshield.pages.nutrition.todaysMacros", "Today's macros")
|
|
455
|
+
}), /* @__PURE__ */ m("p", {
|
|
454
456
|
className: "mt-0.5 text-sm text-text-secondary",
|
|
455
|
-
children:
|
|
457
|
+
children: w("mybodyshield.pages.nutrition.macrosDescription", "Calories & macros logged against your active plan.")
|
|
456
458
|
})]
|
|
457
|
-
}), /* @__PURE__ */
|
|
459
|
+
}), /* @__PURE__ */ h("div", {
|
|
458
460
|
className: "flex flex-col items-center gap-6 sm:flex-row sm:items-center sm:gap-8",
|
|
459
|
-
children: [/* @__PURE__ */
|
|
461
|
+
children: [/* @__PURE__ */ h("div", {
|
|
460
462
|
className: "relative flex shrink-0 items-center justify-center",
|
|
461
|
-
children: [/* @__PURE__ */
|
|
463
|
+
children: [/* @__PURE__ */ m("div", {
|
|
462
464
|
"aria-hidden": "true",
|
|
463
465
|
className: "pointer-events-none absolute inset-3 rounded-full blur-2xl",
|
|
464
466
|
style: { background: "radial-gradient(circle, color-mix(in srgb, var(--color-action-primary-bg) 30%, transparent), transparent 68%)" }
|
|
465
|
-
}), /* @__PURE__ */
|
|
466
|
-
value:
|
|
467
|
+
}), /* @__PURE__ */ h(Se, {
|
|
468
|
+
value: i,
|
|
467
469
|
size: 168,
|
|
468
470
|
stroke: 14,
|
|
469
471
|
className: "relative",
|
|
470
|
-
children: [/* @__PURE__ */
|
|
472
|
+
children: [/* @__PURE__ */ m("span", {
|
|
471
473
|
className: "text-3xl font-bold tabular-nums text-text-primary",
|
|
472
|
-
children:
|
|
473
|
-
}), /* @__PURE__ */
|
|
474
|
+
children: u(e.calories)
|
|
475
|
+
}), /* @__PURE__ */ h("span", {
|
|
474
476
|
className: "mt-0.5 text-xs text-text-tertiary",
|
|
475
477
|
children: [
|
|
476
478
|
"/ ",
|
|
477
|
-
|
|
479
|
+
u(e.calorieTarget),
|
|
478
480
|
" kcal"
|
|
479
481
|
]
|
|
480
482
|
})]
|
|
481
483
|
})]
|
|
482
|
-
}), /* @__PURE__ */
|
|
484
|
+
}), /* @__PURE__ */ h("div", {
|
|
483
485
|
className: "flex w-full flex-1 flex-col gap-4",
|
|
484
|
-
children: [/* @__PURE__ */
|
|
486
|
+
children: [/* @__PURE__ */ m(be, {
|
|
485
487
|
proteinG: e.proteinG,
|
|
486
488
|
carbsG: e.carbsG,
|
|
487
489
|
fatG: e.fatG,
|
|
488
490
|
height: 12
|
|
489
|
-
}), /* @__PURE__ */
|
|
491
|
+
}), /* @__PURE__ */ h("div", {
|
|
490
492
|
className: "flex flex-col gap-4 sm:flex-row sm:items-stretch",
|
|
491
|
-
children: [/* @__PURE__ */
|
|
493
|
+
children: [/* @__PURE__ */ m("div", {
|
|
492
494
|
className: "flex-1 space-y-2.5",
|
|
493
|
-
children:
|
|
495
|
+
children: a.map((e) => /* @__PURE__ */ h("div", {
|
|
494
496
|
className: "flex items-center justify-between gap-3",
|
|
495
|
-
children: [/* @__PURE__ */
|
|
497
|
+
children: [/* @__PURE__ */ h("span", {
|
|
496
498
|
className: "inline-flex items-center gap-2 text-sm text-text-secondary",
|
|
497
|
-
children: [/* @__PURE__ */
|
|
499
|
+
children: [/* @__PURE__ */ m("span", {
|
|
498
500
|
className: "h-2.5 w-2.5 rounded-full",
|
|
499
501
|
style: { backgroundColor: e.color }
|
|
500
502
|
}), e.label]
|
|
501
|
-
}), /* @__PURE__ */
|
|
503
|
+
}), /* @__PURE__ */ m("span", {
|
|
502
504
|
className: "text-sm font-semibold tabular-nums text-text-primary",
|
|
503
|
-
children:
|
|
505
|
+
children: l(e.value)
|
|
504
506
|
})]
|
|
505
507
|
}, e.label))
|
|
506
|
-
}), /* @__PURE__ */
|
|
508
|
+
}), /* @__PURE__ */ h("div", {
|
|
507
509
|
className: "flex flex-col justify-center rounded-2xl px-4 py-3 sm:min-w-[9rem]",
|
|
508
510
|
style: { backgroundColor: "color-mix(in srgb, var(--color-action-primary-bg) 12%, transparent)" },
|
|
509
511
|
children: [
|
|
510
|
-
/* @__PURE__ */
|
|
512
|
+
/* @__PURE__ */ m("span", {
|
|
511
513
|
className: "text-xs font-medium text-text-tertiary",
|
|
512
|
-
children:
|
|
514
|
+
children: w("mybodyshield.pages.nutrition.calorieRing", "Calorie ring")
|
|
513
515
|
}),
|
|
514
|
-
/* @__PURE__ */
|
|
516
|
+
/* @__PURE__ */ h("span", {
|
|
515
517
|
className: "text-2xl font-bold tabular-nums text-action-primary-bg",
|
|
516
518
|
children: [ne, "%"]
|
|
517
519
|
}),
|
|
518
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ m("span", {
|
|
519
521
|
className: "text-xs text-text-secondary",
|
|
520
|
-
children:
|
|
522
|
+
children: w("mybodyshield.pages.nutrition.ofDailyTarget", "of daily target")
|
|
521
523
|
})
|
|
522
524
|
]
|
|
523
525
|
})]
|
|
@@ -526,36 +528,36 @@ function E() {
|
|
|
526
528
|
})]
|
|
527
529
|
})
|
|
528
530
|
}),
|
|
529
|
-
/* @__PURE__ */
|
|
531
|
+
/* @__PURE__ */ m(t.div, {
|
|
530
532
|
variants: Q,
|
|
531
533
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-3 sm:gap-4",
|
|
532
|
-
children:
|
|
534
|
+
children: a.map((e) => /* @__PURE__ */ m(t.div, {
|
|
533
535
|
variants: $,
|
|
534
|
-
children: /* @__PURE__ */ _
|
|
536
|
+
children: /* @__PURE__ */ h(_, {
|
|
535
537
|
treatment: "metric",
|
|
536
538
|
className: "p-4",
|
|
537
|
-
children: [/* @__PURE__ */
|
|
539
|
+
children: [/* @__PURE__ */ h("div", {
|
|
538
540
|
className: "flex flex-wrap items-center justify-between gap-2",
|
|
539
|
-
children: [/* @__PURE__ */
|
|
541
|
+
children: [/* @__PURE__ */ h("span", {
|
|
540
542
|
className: "inline-flex items-center gap-2 text-sm font-medium text-text-primary",
|
|
541
|
-
children: [/* @__PURE__ */
|
|
543
|
+
children: [/* @__PURE__ */ m("span", {
|
|
542
544
|
className: "h-2.5 w-2.5 rounded-full",
|
|
543
545
|
style: { backgroundColor: e.color }
|
|
544
546
|
}), e.label]
|
|
545
|
-
}), /* @__PURE__ */
|
|
547
|
+
}), /* @__PURE__ */ h("span", {
|
|
546
548
|
className: "text-sm tabular-nums text-text-secondary",
|
|
547
549
|
children: [
|
|
548
|
-
/* @__PURE__ */
|
|
550
|
+
/* @__PURE__ */ m("span", {
|
|
549
551
|
className: "font-semibold text-text-primary",
|
|
550
|
-
children:
|
|
552
|
+
children: u(e.value)
|
|
551
553
|
}),
|
|
552
554
|
" ",
|
|
553
555
|
"/ ",
|
|
554
|
-
|
|
556
|
+
u(e.target),
|
|
555
557
|
" g"
|
|
556
558
|
]
|
|
557
559
|
})]
|
|
558
|
-
}), /* @__PURE__ */
|
|
560
|
+
}), /* @__PURE__ */ m(xe, {
|
|
559
561
|
value: e.target ? e.value / e.target * 100 : 0,
|
|
560
562
|
color: e.color,
|
|
561
563
|
height: 8,
|
|
@@ -564,81 +566,81 @@ function E() {
|
|
|
564
566
|
})
|
|
565
567
|
}, e.label))
|
|
566
568
|
}),
|
|
567
|
-
/* @__PURE__ */
|
|
569
|
+
/* @__PURE__ */ m(t.div, {
|
|
568
570
|
variants: $,
|
|
569
|
-
children: /* @__PURE__ */
|
|
570
|
-
title:
|
|
571
|
-
description:
|
|
572
|
-
children:
|
|
573
|
-
message:
|
|
574
|
-
onRetry: () =>
|
|
575
|
-
}) : Dt.length === 0 ? /* @__PURE__ */
|
|
571
|
+
children: /* @__PURE__ */ m(de, {
|
|
572
|
+
title: w("mybodyshield.pages.nutrition.todaysMeals", "Today's meals"),
|
|
573
|
+
description: w("mybodyshield.pages.nutrition.todaysMealsDescription", "Everything you've logged today."),
|
|
574
|
+
children: k.isLoading ? /* @__PURE__ */ m(s, { label: w("mybodyshield.common.loadingWithName", "Loading {{name}}…", { name: w("mybodyshield.pages.nutrition.meals", "Meals") }) }) : k.isError ? /* @__PURE__ */ m(o, {
|
|
575
|
+
message: w("mybodyshield.pages.nutrition.errorMeals", "We couldn't load today's meals."),
|
|
576
|
+
onRetry: () => k.refetch()
|
|
577
|
+
}) : Dt.length === 0 ? /* @__PURE__ */ m(r, {
|
|
576
578
|
illustration: "empty-data",
|
|
577
|
-
icon: /* @__PURE__ */
|
|
578
|
-
title:
|
|
579
|
-
description:
|
|
580
|
-
action: /* @__PURE__ */
|
|
579
|
+
icon: /* @__PURE__ */ m(je, { className: "h-10 w-10" }),
|
|
580
|
+
title: w("mybodyshield.pages.nutrition.noMealsToday", "No meals logged today"),
|
|
581
|
+
description: w("mybodyshield.pages.nutrition.noMealsTodayDescription", "Use \"Log meal\" to record what you've eaten and keep your macros current."),
|
|
582
|
+
action: /* @__PURE__ */ h(g, {
|
|
581
583
|
onClick: X,
|
|
582
584
|
children: [
|
|
583
|
-
/* @__PURE__ */
|
|
585
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
584
586
|
" ",
|
|
585
|
-
|
|
587
|
+
w("mybodyshield.pages.nutrition.logMeal", "Log meal")
|
|
586
588
|
]
|
|
587
589
|
})
|
|
588
|
-
}) : /* @__PURE__ */
|
|
590
|
+
}) : /* @__PURE__ */ m(_, {
|
|
589
591
|
treatment: "plain",
|
|
590
592
|
className: "divide-y divide-border-seam/60 px-2 sm:px-3",
|
|
591
|
-
children: Dt.map((e) => /* @__PURE__ */
|
|
593
|
+
children: Dt.map((e) => /* @__PURE__ */ h("div", {
|
|
592
594
|
className: "flex items-center gap-3 rounded-xl px-2 py-3 transition-colors hover:bg-bg-sunken/40",
|
|
593
595
|
children: [
|
|
594
|
-
/* @__PURE__ */
|
|
595
|
-
/* @__PURE__ */
|
|
596
|
+
/* @__PURE__ */ m(n, { status: e.mealType }),
|
|
597
|
+
/* @__PURE__ */ h("div", {
|
|
596
598
|
className: "min-w-0 flex-1",
|
|
597
|
-
children: [/* @__PURE__ */
|
|
599
|
+
children: [/* @__PURE__ */ h("div", {
|
|
598
600
|
className: "flex items-center gap-1.5",
|
|
599
|
-
children: [/* @__PURE__ */
|
|
601
|
+
children: [/* @__PURE__ */ m("p", {
|
|
600
602
|
className: "truncate text-sm font-medium text-text-primary",
|
|
601
603
|
children: e.name
|
|
602
|
-
}), e.isFavorite && /* @__PURE__ */
|
|
604
|
+
}), e.isFavorite && /* @__PURE__ */ m(Me, {
|
|
603
605
|
className: "h-3.5 w-3.5 shrink-0 fill-current text-action-primary-bg",
|
|
604
|
-
"aria-label":
|
|
606
|
+
"aria-label": w("mybodyshield.pages.nutrition.favoriteMeal", "Favorite meal")
|
|
605
607
|
})]
|
|
606
|
-
}), /* @__PURE__ */
|
|
608
|
+
}), /* @__PURE__ */ h("p", {
|
|
607
609
|
className: "text-xs text-text-tertiary",
|
|
608
610
|
children: [
|
|
609
|
-
|
|
611
|
+
l(e.proteinG),
|
|
610
612
|
" ",
|
|
611
|
-
|
|
613
|
+
w("mybodyshield.pages.nutrition.proteinShort", "P"),
|
|
612
614
|
" ·",
|
|
613
615
|
" ",
|
|
614
|
-
|
|
616
|
+
l(e.carbsG),
|
|
615
617
|
" ",
|
|
616
|
-
|
|
618
|
+
w("mybodyshield.pages.nutrition.carbsShort", "C"),
|
|
617
619
|
" ",
|
|
618
620
|
"· ",
|
|
619
|
-
|
|
621
|
+
l(e.fatG),
|
|
620
622
|
" ",
|
|
621
|
-
|
|
623
|
+
w("mybodyshield.pages.nutrition.fatShort", "F"),
|
|
622
624
|
" ·",
|
|
623
625
|
" ",
|
|
624
|
-
|
|
626
|
+
u(e.servings),
|
|
625
627
|
" ",
|
|
626
|
-
e.servings === 1 ?
|
|
628
|
+
e.servings === 1 ? w("mybodyshield.pages.nutrition.serving", "serving") : w("mybodyshield.pages.nutrition.servings", "servings")
|
|
627
629
|
]
|
|
628
630
|
})]
|
|
629
631
|
}),
|
|
630
|
-
/* @__PURE__ */
|
|
632
|
+
/* @__PURE__ */ m("span", {
|
|
631
633
|
className: "shrink-0 text-sm font-semibold tabular-nums text-text-primary",
|
|
632
|
-
children:
|
|
634
|
+
children: _e(e.calories)
|
|
633
635
|
}),
|
|
634
|
-
/* @__PURE__ */ g
|
|
636
|
+
/* @__PURE__ */ m(g, {
|
|
635
637
|
variant: "ghost",
|
|
636
638
|
size: "icon-sm",
|
|
637
639
|
onClick: () => Ft(e.id),
|
|
638
|
-
disabled:
|
|
639
|
-
"aria-label":
|
|
640
|
+
disabled: dt === e.id,
|
|
641
|
+
"aria-label": w("mybodyshield.pages.nutrition.deleteMeal", "Delete meal"),
|
|
640
642
|
className: "shrink-0",
|
|
641
|
-
children: /* @__PURE__ */
|
|
643
|
+
children: /* @__PURE__ */ m(Ne, { className: "h-4 w-4 text-status-error-text" })
|
|
642
644
|
})
|
|
643
645
|
]
|
|
644
646
|
}, e.id))
|
|
@@ -648,162 +650,162 @@ function E() {
|
|
|
648
650
|
]
|
|
649
651
|
});
|
|
650
652
|
})(),
|
|
651
|
-
|
|
652
|
-
if (
|
|
653
|
-
if (
|
|
654
|
-
message:
|
|
655
|
-
onRetry: () =>
|
|
653
|
+
T === "plan" && (() => {
|
|
654
|
+
if (O.isLoading) return /* @__PURE__ */ m(s, { label: w("mybodyshield.pages.nutrition.loadingPlan", "Loading your nutrition plan…") });
|
|
655
|
+
if (O.isError) return /* @__PURE__ */ m(o, {
|
|
656
|
+
message: w("mybodyshield.pages.nutrition.errorPlan", "We couldn't load your active nutrition plan."),
|
|
657
|
+
onRetry: () => O.refetch()
|
|
656
658
|
});
|
|
657
|
-
if (!Y) return /* @__PURE__ */
|
|
659
|
+
if (!Y) return /* @__PURE__ */ m(r, {
|
|
658
660
|
illustration: "empty-data",
|
|
659
|
-
icon: /* @__PURE__ */
|
|
660
|
-
title:
|
|
661
|
-
description:
|
|
662
|
-
action: /* @__PURE__ */
|
|
661
|
+
icon: /* @__PURE__ */ m(De, { className: "h-10 w-10" }),
|
|
662
|
+
title: w("mybodyshield.pages.nutrition.noActivePlan", "No active nutrition plan"),
|
|
663
|
+
description: w("mybodyshield.pages.nutrition.noActivePlanDescription", "Create a nutrition plan to set your daily calorie and macro targets."),
|
|
664
|
+
action: /* @__PURE__ */ h(g, {
|
|
663
665
|
onClick: At,
|
|
664
666
|
children: [
|
|
665
|
-
/* @__PURE__ */
|
|
667
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
666
668
|
" ",
|
|
667
|
-
|
|
669
|
+
w("mybodyshield.pages.nutrition.createPlan", "Create plan")
|
|
668
670
|
]
|
|
669
671
|
})
|
|
670
672
|
});
|
|
671
673
|
let e = [
|
|
672
674
|
{
|
|
673
|
-
icon: /* @__PURE__ */
|
|
674
|
-
label:
|
|
675
|
-
value: Y.calorieTarget ? `${
|
|
675
|
+
icon: /* @__PURE__ */ m(ke, { className: "h-5 w-5" }),
|
|
676
|
+
label: w("mybodyshield.pages.nutrition.calorieTarget", "Calorie target"),
|
|
677
|
+
value: Y.calorieTarget ? `${u(Y.calorieTarget)} kcal` : "—",
|
|
676
678
|
tint: "var(--color-action-primary-bg)"
|
|
677
679
|
},
|
|
678
680
|
{
|
|
679
|
-
icon: /* @__PURE__ */
|
|
680
|
-
label:
|
|
681
|
-
value: Y.proteinTarget ?
|
|
681
|
+
icon: /* @__PURE__ */ m(we, { className: "h-5 w-5" }),
|
|
682
|
+
label: w("mybodyshield.pages.nutrition.proteinTarget", "Protein target"),
|
|
683
|
+
value: Y.proteinTarget ? l(Y.proteinTarget) : "—",
|
|
682
684
|
tint: d.protein
|
|
683
685
|
},
|
|
684
686
|
{
|
|
685
|
-
icon: /* @__PURE__ */
|
|
686
|
-
label:
|
|
687
|
-
value: Y.carbsTarget ?
|
|
687
|
+
icon: /* @__PURE__ */ m(Fe, { className: "h-5 w-5" }),
|
|
688
|
+
label: w("mybodyshield.pages.nutrition.carbsTarget", "Carbs target"),
|
|
689
|
+
value: Y.carbsTarget ? l(Y.carbsTarget) : "—",
|
|
688
690
|
tint: d.carbs
|
|
689
691
|
},
|
|
690
692
|
{
|
|
691
|
-
icon: /* @__PURE__ */
|
|
692
|
-
label:
|
|
693
|
-
value: Y.fatTarget ?
|
|
693
|
+
icon: /* @__PURE__ */ m(Oe, { className: "h-5 w-5" }),
|
|
694
|
+
label: w("mybodyshield.pages.nutrition.fatTarget", "Fat target"),
|
|
695
|
+
value: Y.fatTarget ? l(Y.fatTarget) : "—",
|
|
694
696
|
tint: d.fat
|
|
695
697
|
}
|
|
696
698
|
];
|
|
697
|
-
return /* @__PURE__ */
|
|
699
|
+
return /* @__PURE__ */ h(t.div, {
|
|
698
700
|
initial: "hidden",
|
|
699
701
|
animate: "show",
|
|
700
702
|
variants: Q,
|
|
701
703
|
className: "space-y-6",
|
|
702
704
|
children: [
|
|
703
|
-
!Y.isActive && /* @__PURE__ */
|
|
705
|
+
!Y.isActive && /* @__PURE__ */ h(t.div, {
|
|
704
706
|
variants: $,
|
|
705
707
|
className: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border p-4",
|
|
706
708
|
style: {
|
|
707
709
|
borderColor: "color-mix(in srgb, var(--color-action-primary-bg) 32%, transparent)",
|
|
708
710
|
backgroundColor: "color-mix(in srgb, var(--color-action-primary-bg) 8%, transparent)"
|
|
709
711
|
},
|
|
710
|
-
children: [/* @__PURE__ */
|
|
712
|
+
children: [/* @__PURE__ */ h("div", {
|
|
711
713
|
className: "flex min-w-0 items-center gap-3",
|
|
712
|
-
children: [/* @__PURE__ */
|
|
714
|
+
children: [/* @__PURE__ */ m(ye, { icon: /* @__PURE__ */ m(Ee, { className: "h-5 w-5" }) }), /* @__PURE__ */ h("div", {
|
|
713
715
|
className: "min-w-0",
|
|
714
|
-
children: [/* @__PURE__ */
|
|
716
|
+
children: [/* @__PURE__ */ m("p", {
|
|
715
717
|
className: "text-sm font-medium text-text-primary",
|
|
716
|
-
children:
|
|
717
|
-
}), /* @__PURE__ */
|
|
718
|
+
children: w("mybodyshield.pages.nutrition.planNotActive", "This plan isn't active yet")
|
|
719
|
+
}), /* @__PURE__ */ m("p", {
|
|
718
720
|
className: "text-xs text-text-secondary",
|
|
719
|
-
children:
|
|
721
|
+
children: w("mybodyshield.pages.nutrition.planNotActiveDescription", "Activate it to track today's macros against these targets.")
|
|
720
722
|
})]
|
|
721
723
|
})]
|
|
722
|
-
}), /* @__PURE__ */
|
|
724
|
+
}), /* @__PURE__ */ h(g, {
|
|
723
725
|
onClick: () => Pt(Y.id),
|
|
724
|
-
disabled:
|
|
725
|
-
children: [/* @__PURE__ */
|
|
726
|
+
disabled: P.isPending,
|
|
727
|
+
children: [/* @__PURE__ */ m(Ee, { className: "mr-1.5 h-4 w-4" }), P.isPending ? w("mybodyshield.common.activating", "Activating…") : w("mybodyshield.common.activate", "Activate this plan")]
|
|
726
728
|
})]
|
|
727
729
|
}),
|
|
728
|
-
/* @__PURE__ */
|
|
730
|
+
/* @__PURE__ */ m(t.div, {
|
|
729
731
|
variants: $,
|
|
730
|
-
children: /* @__PURE__ */ _
|
|
732
|
+
children: /* @__PURE__ */ h(_, {
|
|
731
733
|
treatment: "glass",
|
|
732
734
|
glow: !0,
|
|
733
735
|
className: "relative overflow-hidden p-6 sm:p-7",
|
|
734
736
|
children: [
|
|
735
|
-
/* @__PURE__ */
|
|
737
|
+
/* @__PURE__ */ m("div", {
|
|
736
738
|
"aria-hidden": "true",
|
|
737
739
|
className: "pointer-events-none absolute inset-0",
|
|
738
740
|
style: { background: "radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--color-action-primary-bg) 13%, transparent), transparent 55%)" }
|
|
739
741
|
}),
|
|
740
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ h("div", {
|
|
741
743
|
className: "relative flex flex-wrap items-start justify-between gap-4",
|
|
742
|
-
children: [/* @__PURE__ */
|
|
744
|
+
children: [/* @__PURE__ */ h("div", {
|
|
743
745
|
className: "min-w-0",
|
|
744
746
|
children: [
|
|
745
|
-
/* @__PURE__ */
|
|
747
|
+
/* @__PURE__ */ m("p", {
|
|
746
748
|
className: "text-xs font-semibold uppercase tracking-wide text-action-primary-bg",
|
|
747
|
-
children: Y.isActive ?
|
|
749
|
+
children: Y.isActive ? w("mybodyshield.pages.nutrition.activePlan", "Active plan") : w("mybodyshield.pages.nutrition.nutritionPlan", "Nutrition plan")
|
|
748
750
|
}),
|
|
749
|
-
/* @__PURE__ */
|
|
751
|
+
/* @__PURE__ */ h("div", {
|
|
750
752
|
className: "mt-1.5 flex flex-wrap items-baseline gap-x-2 gap-y-1",
|
|
751
753
|
children: [
|
|
752
|
-
/* @__PURE__ */
|
|
754
|
+
/* @__PURE__ */ m("h2", {
|
|
753
755
|
className: "text-2xl font-bold text-text-primary",
|
|
754
756
|
children: Y.name
|
|
755
757
|
}),
|
|
756
|
-
Y.calorieTarget > 0 && /* @__PURE__ */
|
|
758
|
+
Y.calorieTarget > 0 && /* @__PURE__ */ h("span", {
|
|
757
759
|
className: "text-lg font-semibold tabular-nums text-text-tertiary",
|
|
758
|
-
children: [
|
|
760
|
+
children: [u(Y.calorieTarget), " kcal"]
|
|
759
761
|
}),
|
|
760
|
-
Y.isActive ? /* @__PURE__ */
|
|
762
|
+
Y.isActive ? /* @__PURE__ */ h("span", {
|
|
761
763
|
className: "inline-flex items-center gap-1 rounded-full bg-status-success-bg-subtle px-2.5 py-0.5 text-xs font-medium text-status-success-text",
|
|
762
764
|
children: [
|
|
763
|
-
/* @__PURE__ */
|
|
765
|
+
/* @__PURE__ */ m(Ee, { className: "h-3.5 w-3.5" }),
|
|
764
766
|
" ",
|
|
765
|
-
|
|
767
|
+
w("mybodyshield.common.active", "Active")
|
|
766
768
|
]
|
|
767
|
-
}) : /* @__PURE__ */
|
|
769
|
+
}) : /* @__PURE__ */ m("span", {
|
|
768
770
|
className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2.5 py-0.5 text-xs font-medium text-text-secondary",
|
|
769
|
-
children:
|
|
771
|
+
children: w("mybodyshield.common.inactive", "Inactive")
|
|
770
772
|
})
|
|
771
773
|
]
|
|
772
774
|
}),
|
|
773
|
-
(Y.startDate || Y.endDate) && /* @__PURE__ */
|
|
775
|
+
(Y.startDate || Y.endDate) && /* @__PURE__ */ h("p", {
|
|
774
776
|
className: "mt-2 inline-flex items-center gap-1.5 text-sm text-text-secondary",
|
|
775
777
|
children: [
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
|
|
778
|
+
/* @__PURE__ */ m(Te, { className: "h-4 w-4 text-text-tertiary" }),
|
|
779
|
+
ge(Y.startDate),
|
|
778
780
|
" – ",
|
|
779
|
-
|
|
781
|
+
ge(Y.endDate)
|
|
780
782
|
]
|
|
781
783
|
})
|
|
782
784
|
]
|
|
783
|
-
}), /* @__PURE__ */
|
|
785
|
+
}), /* @__PURE__ */ h("div", {
|
|
784
786
|
className: "flex shrink-0 items-center gap-2",
|
|
785
|
-
children: [/* @__PURE__ */
|
|
787
|
+
children: [/* @__PURE__ */ m("span", {
|
|
786
788
|
className: "text-sm text-text-tertiary",
|
|
787
|
-
children:
|
|
788
|
-
}), /* @__PURE__ */
|
|
789
|
+
children: w("mybodyshield.common.goal", "Goal")
|
|
790
|
+
}), /* @__PURE__ */ m(n, { status: Y.goalType })]
|
|
789
791
|
})]
|
|
790
792
|
}),
|
|
791
|
-
/* @__PURE__ */
|
|
793
|
+
/* @__PURE__ */ m(t.div, {
|
|
792
794
|
variants: Q,
|
|
793
795
|
className: "relative mt-6 grid grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4",
|
|
794
|
-
children: e.map((e) => /* @__PURE__ */
|
|
796
|
+
children: e.map((e) => /* @__PURE__ */ h(t.div, {
|
|
795
797
|
variants: $,
|
|
796
798
|
className: "rounded-2xl border border-border-seam bg-bg-sunken/40 p-4 transition-shadow duration-200 hover:shadow-elevation-2",
|
|
797
799
|
children: [
|
|
798
|
-
/* @__PURE__ */
|
|
800
|
+
/* @__PURE__ */ m(ye, {
|
|
799
801
|
icon: e.icon,
|
|
800
802
|
tint: e.tint
|
|
801
803
|
}),
|
|
802
|
-
/* @__PURE__ */
|
|
804
|
+
/* @__PURE__ */ m("p", {
|
|
803
805
|
className: "mt-3 text-xs text-text-tertiary",
|
|
804
806
|
children: e.label
|
|
805
807
|
}),
|
|
806
|
-
/* @__PURE__ */
|
|
808
|
+
/* @__PURE__ */ m("p", {
|
|
807
809
|
className: "mt-1 text-xl font-bold tabular-nums text-text-primary",
|
|
808
810
|
children: e.value
|
|
809
811
|
})
|
|
@@ -813,14 +815,14 @@ function E() {
|
|
|
813
815
|
]
|
|
814
816
|
})
|
|
815
817
|
}),
|
|
816
|
-
Y.notes && /* @__PURE__ */
|
|
818
|
+
Y.notes && /* @__PURE__ */ m(t.div, {
|
|
817
819
|
variants: $,
|
|
818
|
-
children: /* @__PURE__ */
|
|
819
|
-
title:
|
|
820
|
-
children: /* @__PURE__ */
|
|
820
|
+
children: /* @__PURE__ */ m(de, {
|
|
821
|
+
title: w("mybodyshield.pages.nutrition.planNotes", "Notes"),
|
|
822
|
+
children: /* @__PURE__ */ m(_, {
|
|
821
823
|
treatment: "plain",
|
|
822
824
|
className: "p-4",
|
|
823
|
-
children: /* @__PURE__ */
|
|
825
|
+
children: /* @__PURE__ */ m("p", {
|
|
824
826
|
className: "whitespace-pre-wrap text-sm text-text-secondary",
|
|
825
827
|
children: Y.notes
|
|
826
828
|
})
|
|
@@ -830,40 +832,40 @@ function E() {
|
|
|
830
832
|
]
|
|
831
833
|
});
|
|
832
834
|
})(),
|
|
833
|
-
|
|
834
|
-
message:
|
|
835
|
-
onRetry: () =>
|
|
836
|
-
}) : /* @__PURE__ */
|
|
835
|
+
T === "meals" && (M.isLoading ? /* @__PURE__ */ m(s, { label: w("mybodyshield.pages.nutrition.loadingMeals", "Loading meal log…") }) : M.isError ? /* @__PURE__ */ m(o, {
|
|
836
|
+
message: w("mybodyshield.pages.nutrition.errorMeals", "We couldn't load your meal log."),
|
|
837
|
+
onRetry: () => M.refetch()
|
|
838
|
+
}) : /* @__PURE__ */ h(t.div, {
|
|
837
839
|
initial: "hidden",
|
|
838
840
|
animate: "show",
|
|
839
841
|
variants: Q,
|
|
840
842
|
className: "space-y-4",
|
|
841
|
-
children: [/* @__PURE__ */
|
|
843
|
+
children: [/* @__PURE__ */ m(t.div, {
|
|
842
844
|
variants: $,
|
|
843
|
-
children: /* @__PURE__ */
|
|
844
|
-
options:
|
|
845
|
-
value:
|
|
845
|
+
children: /* @__PURE__ */ m(pe, {
|
|
846
|
+
options: at,
|
|
847
|
+
value: A,
|
|
846
848
|
onChange: kt
|
|
847
849
|
})
|
|
848
|
-
}), Ot.length === 0 ? /* @__PURE__ */
|
|
850
|
+
}), Ot.length === 0 ? /* @__PURE__ */ m(t.div, {
|
|
849
851
|
variants: $,
|
|
850
|
-
children: /* @__PURE__ */
|
|
852
|
+
children: /* @__PURE__ */ m(r, {
|
|
851
853
|
illustration: "empty-data",
|
|
852
|
-
icon: /* @__PURE__ */
|
|
853
|
-
title:
|
|
854
|
-
description:
|
|
855
|
-
action: /* @__PURE__ */
|
|
854
|
+
icon: /* @__PURE__ */ m(Pe, { className: "h-10 w-10" }),
|
|
855
|
+
title: A === "ALL" ? w("mybodyshield.pages.nutrition.emptyMealsTitle", "No meals logged yet") : w("mybodyshield.pages.nutrition.emptyMealsFilteredTitle", "No meals for this filter"),
|
|
856
|
+
description: A === "ALL" ? w("mybodyshield.pages.nutrition.emptyMealsDescription", "Log meals from the Today tab to build up your nutrition history.") : w("mybodyshield.pages.nutrition.emptyMealsFilteredDescription", "Try a different meal type, or log a meal to get started."),
|
|
857
|
+
action: /* @__PURE__ */ h(g, {
|
|
856
858
|
onClick: X,
|
|
857
859
|
children: [
|
|
858
|
-
/* @__PURE__ */
|
|
860
|
+
/* @__PURE__ */ m(p, { className: "mr-1.5 h-4 w-4" }),
|
|
859
861
|
" ",
|
|
860
|
-
|
|
862
|
+
w("mybodyshield.pages.nutrition.logMeal", "Log meal")
|
|
861
863
|
]
|
|
862
864
|
})
|
|
863
865
|
})
|
|
864
|
-
}) : /* @__PURE__ */
|
|
866
|
+
}) : /* @__PURE__ */ h(Ie, { children: [/* @__PURE__ */ m(t.div, {
|
|
865
867
|
variants: $,
|
|
866
|
-
children: /* @__PURE__ */
|
|
868
|
+
children: /* @__PURE__ */ m(fe, {
|
|
867
869
|
columns: It,
|
|
868
870
|
rows: Ot,
|
|
869
871
|
rowKey: (e) => e.id,
|
|
@@ -872,322 +874,322 @@ function E() {
|
|
|
872
874
|
dir: "desc"
|
|
873
875
|
}
|
|
874
876
|
})
|
|
875
|
-
}), /* @__PURE__ */
|
|
877
|
+
}), /* @__PURE__ */ m(t.div, {
|
|
876
878
|
variants: $,
|
|
877
|
-
children: /* @__PURE__ */
|
|
878
|
-
page:
|
|
879
|
-
pageSize:
|
|
879
|
+
children: /* @__PURE__ */ m(he, {
|
|
880
|
+
page: j.page,
|
|
881
|
+
pageSize: b,
|
|
880
882
|
itemCount: Ot.length,
|
|
881
|
-
hasMore:
|
|
882
|
-
onPageChange: (e) =>
|
|
883
|
+
hasMore: M.data?.pageInfo?.hasMore ?? !1,
|
|
884
|
+
onPageChange: (e) => j.onPageChange(e)
|
|
883
885
|
})
|
|
884
886
|
})] })]
|
|
885
887
|
})),
|
|
886
|
-
/* @__PURE__ */
|
|
887
|
-
open:
|
|
888
|
-
onOpenChange:
|
|
889
|
-
children: /* @__PURE__ */
|
|
888
|
+
/* @__PURE__ */ m(Le, {
|
|
889
|
+
open: mt,
|
|
890
|
+
onOpenChange: L,
|
|
891
|
+
children: /* @__PURE__ */ h(Re, {
|
|
890
892
|
className: "sm:max-w-lg",
|
|
891
893
|
children: [
|
|
892
|
-
/* @__PURE__ */
|
|
893
|
-
/* @__PURE__ */
|
|
894
|
+
/* @__PURE__ */ h(Ve, { children: [/* @__PURE__ */ m(He, { children: w("mybodyshield.pages.nutrition.logMealDialogTitle", "Log a meal") }), /* @__PURE__ */ m(ze, { children: w("mybodyshield.pages.nutrition.logMealDialogDescription", "Record what you ate to update today's macros.") })] }),
|
|
895
|
+
/* @__PURE__ */ h("div", {
|
|
894
896
|
className: "space-y-4 py-2",
|
|
895
897
|
children: [
|
|
896
|
-
|
|
898
|
+
ht && /* @__PURE__ */ m("div", {
|
|
897
899
|
className: "rounded-lg border border-status-error-text/40 bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
898
|
-
children:
|
|
900
|
+
children: ht
|
|
899
901
|
}),
|
|
900
|
-
/* @__PURE__ */
|
|
902
|
+
/* @__PURE__ */ h("div", {
|
|
901
903
|
className: "space-y-2 rounded-xl border border-seam bg-surface p-3",
|
|
902
904
|
children: [
|
|
903
|
-
/* @__PURE__ */
|
|
905
|
+
/* @__PURE__ */ m(y, {
|
|
904
906
|
htmlFor: "meal-food-search",
|
|
905
|
-
children:
|
|
907
|
+
children: w("mybodyshield.pages.nutrition.foodSearchHint", "Quick-log from food database")
|
|
906
908
|
}),
|
|
907
|
-
/* @__PURE__ */
|
|
909
|
+
/* @__PURE__ */ m(v, {
|
|
908
910
|
id: "meal-food-search",
|
|
909
|
-
value:
|
|
911
|
+
value: V,
|
|
910
912
|
onChange: (e) => gt(e.target.value),
|
|
911
|
-
placeholder:
|
|
913
|
+
placeholder: w("mybodyshield.pages.nutrition.foodSearchPlaceholder", "Search foods (e.g. grilled chicken)")
|
|
912
914
|
}),
|
|
913
|
-
H.isFetching && /* @__PURE__ */
|
|
915
|
+
H.isFetching && /* @__PURE__ */ m("p", {
|
|
914
916
|
className: "text-xs text-text-tertiary",
|
|
915
|
-
children:
|
|
917
|
+
children: w("mybodyshield.common.loading", "Loading…")
|
|
916
918
|
}),
|
|
917
|
-
!H.isFetching &&
|
|
919
|
+
!H.isFetching && V.trim().length >= 2 && (H.data?.length ?? 0) === 0 && /* @__PURE__ */ m("p", {
|
|
918
920
|
className: "text-xs text-text-tertiary",
|
|
919
|
-
children:
|
|
921
|
+
children: w("mybodyshield.common.noResults", "No matches found.")
|
|
920
922
|
}),
|
|
921
|
-
(H.data?.length ?? 0) > 0 && /* @__PURE__ */
|
|
923
|
+
(H.data?.length ?? 0) > 0 && /* @__PURE__ */ m("ul", {
|
|
922
924
|
className: "max-h-40 space-y-1 overflow-y-auto",
|
|
923
|
-
children: H.data.map((e, t) => /* @__PURE__ */
|
|
925
|
+
children: H.data.map((e, t) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ h("button", {
|
|
924
926
|
type: "button",
|
|
925
927
|
onClick: () => xt(e),
|
|
926
928
|
className: "flex w-full items-center justify-between rounded-lg px-2 py-1.5 text-left text-sm hover:bg-surface-hover",
|
|
927
|
-
children: [/* @__PURE__ */
|
|
929
|
+
children: [/* @__PURE__ */ h("span", {
|
|
928
930
|
className: "truncate",
|
|
929
|
-
children: [e.name, e.brand ? /* @__PURE__ */
|
|
931
|
+
children: [e.name, e.brand ? /* @__PURE__ */ h("span", {
|
|
930
932
|
className: "text-text-tertiary",
|
|
931
933
|
children: [" · ", e.brand]
|
|
932
934
|
}) : null]
|
|
933
|
-
}), /* @__PURE__ */
|
|
935
|
+
}), /* @__PURE__ */ m("span", {
|
|
934
936
|
className: "ml-2 shrink-0 text-xs text-text-tertiary",
|
|
935
|
-
children:
|
|
937
|
+
children: w("mybodyshield.pages.nutrition.foodSearchMeta", "{{calories}} kcal / {{servingG}}g", {
|
|
936
938
|
calories: e.calories,
|
|
937
939
|
servingG: e.servingG
|
|
938
940
|
})
|
|
939
941
|
})]
|
|
940
942
|
}) }, `${e.barcode ?? e.name}-${t}`))
|
|
941
943
|
}),
|
|
942
|
-
/* @__PURE__ */
|
|
944
|
+
/* @__PURE__ */ h("div", {
|
|
943
945
|
className: "flex items-end gap-2 pt-1",
|
|
944
|
-
children: [/* @__PURE__ */
|
|
946
|
+
children: [/* @__PURE__ */ h("div", {
|
|
945
947
|
className: "flex-1 space-y-1.5",
|
|
946
|
-
children: [/* @__PURE__ */
|
|
948
|
+
children: [/* @__PURE__ */ m(y, {
|
|
947
949
|
htmlFor: "meal-barcode",
|
|
948
|
-
children:
|
|
949
|
-
}), /* @__PURE__ */
|
|
950
|
+
children: w("mybodyshield.pages.nutrition.barcodePlaceholder", "Or scan/enter a barcode")
|
|
951
|
+
}), /* @__PURE__ */ m(v, {
|
|
950
952
|
id: "meal-barcode",
|
|
951
953
|
value: _t,
|
|
952
954
|
onChange: (e) => vt(e.target.value),
|
|
953
|
-
placeholder:
|
|
955
|
+
placeholder: w("mybodyshield.pages.nutrition.barcodeExample", "e.g. 3017620422003")
|
|
954
956
|
})]
|
|
955
|
-
}), /* @__PURE__ */ g
|
|
957
|
+
}), /* @__PURE__ */ m(g, {
|
|
956
958
|
type: "button",
|
|
957
959
|
variant: "outline",
|
|
958
960
|
onClick: St,
|
|
959
961
|
disabled: bt.isPending || !_t.trim(),
|
|
960
|
-
children: bt.isPending ?
|
|
962
|
+
children: bt.isPending ? w("mybodyshield.common.loading", "Loading…") : w("mybodyshield.pages.nutrition.barcodeLookup", "Look up")
|
|
961
963
|
})]
|
|
962
964
|
}),
|
|
963
|
-
yt && /* @__PURE__ */
|
|
965
|
+
yt && /* @__PURE__ */ m("p", {
|
|
964
966
|
className: "text-xs text-status-error-text",
|
|
965
967
|
children: yt
|
|
966
968
|
})
|
|
967
969
|
]
|
|
968
970
|
}),
|
|
969
|
-
/* @__PURE__ */
|
|
971
|
+
/* @__PURE__ */ h("div", {
|
|
970
972
|
className: "space-y-1.5",
|
|
971
|
-
children: [/* @__PURE__ */
|
|
973
|
+
children: [/* @__PURE__ */ m(y, {
|
|
972
974
|
htmlFor: "meal-name",
|
|
973
|
-
children:
|
|
974
|
-
}), /* @__PURE__ */
|
|
975
|
+
children: w("mybodyshield.common.name", "Name")
|
|
976
|
+
}), /* @__PURE__ */ m(v, {
|
|
975
977
|
id: "meal-name",
|
|
976
|
-
value:
|
|
977
|
-
onChange: (e) =>
|
|
978
|
-
...
|
|
978
|
+
value: R.name,
|
|
979
|
+
onChange: (e) => z({
|
|
980
|
+
...R,
|
|
979
981
|
name: e.target.value
|
|
980
982
|
}),
|
|
981
|
-
placeholder:
|
|
983
|
+
placeholder: w("mybodyshield.pages.nutrition.mealNamePlaceholder", "Grilled chicken salad")
|
|
982
984
|
})]
|
|
983
985
|
}),
|
|
984
|
-
/* @__PURE__ */
|
|
986
|
+
/* @__PURE__ */ h("div", {
|
|
985
987
|
className: "grid grid-cols-2 gap-3",
|
|
986
|
-
children: [/* @__PURE__ */
|
|
988
|
+
children: [/* @__PURE__ */ h("div", {
|
|
987
989
|
className: "space-y-1.5",
|
|
988
|
-
children: [/* @__PURE__ */
|
|
990
|
+
children: [/* @__PURE__ */ m(y, {
|
|
989
991
|
htmlFor: "meal-type",
|
|
990
|
-
children:
|
|
991
|
-
}), /* @__PURE__ */
|
|
992
|
-
value:
|
|
993
|
-
onValueChange: (e) =>
|
|
994
|
-
...
|
|
992
|
+
children: w("mybodyshield.common.type", "Type")
|
|
993
|
+
}), /* @__PURE__ */ h(Ue, {
|
|
994
|
+
value: R.mealType,
|
|
995
|
+
onValueChange: (e) => z({
|
|
996
|
+
...R,
|
|
995
997
|
mealType: e
|
|
996
998
|
}),
|
|
997
|
-
children: [/* @__PURE__ */
|
|
999
|
+
children: [/* @__PURE__ */ m(Ke, {
|
|
998
1000
|
id: "meal-type",
|
|
999
|
-
children: /* @__PURE__ */
|
|
1000
|
-
}), /* @__PURE__ */
|
|
1001
|
+
children: /* @__PURE__ */ m(qe, {})
|
|
1002
|
+
}), /* @__PURE__ */ m(We, { children: Xe.map((e) => /* @__PURE__ */ m(Ge, {
|
|
1001
1003
|
value: e,
|
|
1002
|
-
children:
|
|
1004
|
+
children: c(e)
|
|
1003
1005
|
}, e)) })]
|
|
1004
1006
|
})]
|
|
1005
|
-
}), /* @__PURE__ */
|
|
1007
|
+
}), /* @__PURE__ */ h("div", {
|
|
1006
1008
|
className: "space-y-1.5",
|
|
1007
|
-
children: [/* @__PURE__ */
|
|
1009
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1008
1010
|
htmlFor: "meal-servings",
|
|
1009
|
-
children:
|
|
1010
|
-
}), /* @__PURE__ */
|
|
1011
|
+
children: w("mybodyshield.pages.nutrition.servingsLabel", "Servings")
|
|
1012
|
+
}), /* @__PURE__ */ m(v, {
|
|
1011
1013
|
id: "meal-servings",
|
|
1012
1014
|
type: "number",
|
|
1013
1015
|
min: 0,
|
|
1014
1016
|
step: "0.5",
|
|
1015
|
-
value:
|
|
1016
|
-
onChange: (e) =>
|
|
1017
|
-
...
|
|
1017
|
+
value: R.servings,
|
|
1018
|
+
onChange: (e) => z({
|
|
1019
|
+
...R,
|
|
1018
1020
|
servings: e.target.value
|
|
1019
1021
|
}),
|
|
1020
|
-
placeholder:
|
|
1022
|
+
placeholder: w("mybodyshield.pages.nutrition.servingsPlaceholder", "1")
|
|
1021
1023
|
})]
|
|
1022
1024
|
})]
|
|
1023
1025
|
}),
|
|
1024
|
-
/* @__PURE__ */
|
|
1026
|
+
/* @__PURE__ */ h("div", {
|
|
1025
1027
|
className: "grid grid-cols-2 gap-3",
|
|
1026
1028
|
children: [
|
|
1027
|
-
/* @__PURE__ */
|
|
1029
|
+
/* @__PURE__ */ h("div", {
|
|
1028
1030
|
className: "space-y-1.5",
|
|
1029
|
-
children: [/* @__PURE__ */
|
|
1031
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1030
1032
|
htmlFor: "meal-calories",
|
|
1031
|
-
children: [
|
|
1032
|
-
}), /* @__PURE__ */
|
|
1033
|
+
children: [w("mybodyshield.pages.nutrition.calories", "Calories"), " (kcal)"]
|
|
1034
|
+
}), /* @__PURE__ */ m(v, {
|
|
1033
1035
|
id: "meal-calories",
|
|
1034
1036
|
type: "number",
|
|
1035
1037
|
min: 0,
|
|
1036
|
-
value:
|
|
1037
|
-
onChange: (e) =>
|
|
1038
|
-
...
|
|
1038
|
+
value: R.calories,
|
|
1039
|
+
onChange: (e) => z({
|
|
1040
|
+
...R,
|
|
1039
1041
|
calories: e.target.value
|
|
1040
1042
|
}),
|
|
1041
|
-
placeholder:
|
|
1043
|
+
placeholder: w("mybodyshield.pages.nutrition.caloriesPlaceholder", "0")
|
|
1042
1044
|
})]
|
|
1043
1045
|
}),
|
|
1044
|
-
/* @__PURE__ */
|
|
1046
|
+
/* @__PURE__ */ h("div", {
|
|
1045
1047
|
className: "space-y-1.5",
|
|
1046
|
-
children: [/* @__PURE__ */
|
|
1048
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1047
1049
|
htmlFor: "meal-protein",
|
|
1048
|
-
children: [
|
|
1049
|
-
}), /* @__PURE__ */
|
|
1050
|
+
children: [w("mybodyshield.pages.nutrition.protein", "Protein"), " (g)"]
|
|
1051
|
+
}), /* @__PURE__ */ m(v, {
|
|
1050
1052
|
id: "meal-protein",
|
|
1051
1053
|
type: "number",
|
|
1052
1054
|
min: 0,
|
|
1053
|
-
value:
|
|
1054
|
-
onChange: (e) =>
|
|
1055
|
-
...
|
|
1055
|
+
value: R.proteinG,
|
|
1056
|
+
onChange: (e) => z({
|
|
1057
|
+
...R,
|
|
1056
1058
|
proteinG: e.target.value
|
|
1057
1059
|
}),
|
|
1058
|
-
placeholder:
|
|
1060
|
+
placeholder: w("mybodyshield.pages.nutrition.proteinPlaceholder", "0")
|
|
1059
1061
|
})]
|
|
1060
1062
|
}),
|
|
1061
|
-
/* @__PURE__ */
|
|
1063
|
+
/* @__PURE__ */ h("div", {
|
|
1062
1064
|
className: "space-y-1.5",
|
|
1063
|
-
children: [/* @__PURE__ */
|
|
1065
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1064
1066
|
htmlFor: "meal-carbs",
|
|
1065
|
-
children: [
|
|
1066
|
-
}), /* @__PURE__ */
|
|
1067
|
+
children: [w("mybodyshield.pages.nutrition.carbs", "Carbs"), " (g)"]
|
|
1068
|
+
}), /* @__PURE__ */ m(v, {
|
|
1067
1069
|
id: "meal-carbs",
|
|
1068
1070
|
type: "number",
|
|
1069
1071
|
min: 0,
|
|
1070
|
-
value:
|
|
1071
|
-
onChange: (e) =>
|
|
1072
|
-
...
|
|
1072
|
+
value: R.carbsG,
|
|
1073
|
+
onChange: (e) => z({
|
|
1074
|
+
...R,
|
|
1073
1075
|
carbsG: e.target.value
|
|
1074
1076
|
}),
|
|
1075
|
-
placeholder:
|
|
1077
|
+
placeholder: w("mybodyshield.pages.nutrition.carbsPlaceholder", "0")
|
|
1076
1078
|
})]
|
|
1077
1079
|
}),
|
|
1078
|
-
/* @__PURE__ */
|
|
1080
|
+
/* @__PURE__ */ h("div", {
|
|
1079
1081
|
className: "space-y-1.5",
|
|
1080
|
-
children: [/* @__PURE__ */
|
|
1082
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1081
1083
|
htmlFor: "meal-fat",
|
|
1082
|
-
children: [
|
|
1083
|
-
}), /* @__PURE__ */
|
|
1084
|
+
children: [w("mybodyshield.pages.nutrition.fat", "Fat"), " (g)"]
|
|
1085
|
+
}), /* @__PURE__ */ m(v, {
|
|
1084
1086
|
id: "meal-fat",
|
|
1085
1087
|
type: "number",
|
|
1086
1088
|
min: 0,
|
|
1087
|
-
value:
|
|
1088
|
-
onChange: (e) =>
|
|
1089
|
-
...
|
|
1089
|
+
value: R.fatG,
|
|
1090
|
+
onChange: (e) => z({
|
|
1091
|
+
...R,
|
|
1090
1092
|
fatG: e.target.value
|
|
1091
1093
|
}),
|
|
1092
|
-
placeholder:
|
|
1094
|
+
placeholder: w("mybodyshield.pages.nutrition.fatPlaceholder", "0")
|
|
1093
1095
|
})]
|
|
1094
1096
|
})
|
|
1095
1097
|
]
|
|
1096
1098
|
}),
|
|
1097
|
-
/* @__PURE__ */
|
|
1099
|
+
/* @__PURE__ */ h("div", {
|
|
1098
1100
|
className: "flex items-center justify-between gap-4 rounded-xl bg-bg-sunken/60 p-3",
|
|
1099
|
-
children: [/* @__PURE__ */
|
|
1101
|
+
children: [/* @__PURE__ */ h("div", {
|
|
1100
1102
|
className: "min-w-0",
|
|
1101
|
-
children: [/* @__PURE__ */
|
|
1103
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1102
1104
|
htmlFor: "meal-favorite",
|
|
1103
1105
|
className: "cursor-pointer",
|
|
1104
|
-
children:
|
|
1105
|
-
}), /* @__PURE__ */
|
|
1106
|
+
children: w("mybodyshield.pages.nutrition.favorite", "Favorite")
|
|
1107
|
+
}), /* @__PURE__ */ m("p", {
|
|
1106
1108
|
className: "text-xs text-text-tertiary",
|
|
1107
|
-
children:
|
|
1109
|
+
children: w("mybodyshield.pages.nutrition.favoriteHint", "Save for quick re-log")
|
|
1108
1110
|
})]
|
|
1109
|
-
}), /* @__PURE__ */
|
|
1111
|
+
}), /* @__PURE__ */ m(Je, {
|
|
1110
1112
|
id: "meal-favorite",
|
|
1111
|
-
checked:
|
|
1112
|
-
onCheckedChange: (e) =>
|
|
1113
|
-
...
|
|
1113
|
+
checked: R.isFavorite,
|
|
1114
|
+
onCheckedChange: (e) => z({
|
|
1115
|
+
...R,
|
|
1114
1116
|
isFavorite: e
|
|
1115
1117
|
})
|
|
1116
1118
|
})]
|
|
1117
1119
|
})
|
|
1118
1120
|
]
|
|
1119
1121
|
}),
|
|
1120
|
-
/* @__PURE__ */
|
|
1122
|
+
/* @__PURE__ */ h(Be, { children: [/* @__PURE__ */ m(g, {
|
|
1121
1123
|
variant: "outline",
|
|
1122
|
-
onClick: () =>
|
|
1123
|
-
disabled:
|
|
1124
|
-
children:
|
|
1125
|
-
}), /* @__PURE__ */ g
|
|
1124
|
+
onClick: () => L(!1),
|
|
1125
|
+
disabled: N.isPending,
|
|
1126
|
+
children: w("mybodyshield.common.cancel", "Cancel")
|
|
1127
|
+
}), /* @__PURE__ */ m(g, {
|
|
1126
1128
|
onClick: Mt,
|
|
1127
|
-
disabled:
|
|
1128
|
-
children:
|
|
1129
|
+
disabled: N.isPending,
|
|
1130
|
+
children: N.isPending ? w("mybodyshield.common.logging", "Logging…") : w("mybodyshield.pages.nutrition.logMeal", "Log meal")
|
|
1129
1131
|
})] })
|
|
1130
1132
|
]
|
|
1131
1133
|
})
|
|
1132
1134
|
}),
|
|
1133
|
-
/* @__PURE__ */
|
|
1135
|
+
/* @__PURE__ */ m(Le, {
|
|
1134
1136
|
open: Ct,
|
|
1135
1137
|
onOpenChange: W,
|
|
1136
|
-
children: /* @__PURE__ */
|
|
1138
|
+
children: /* @__PURE__ */ h(Re, {
|
|
1137
1139
|
className: "sm:max-w-lg",
|
|
1138
1140
|
children: [
|
|
1139
|
-
/* @__PURE__ */
|
|
1140
|
-
/* @__PURE__ */
|
|
1141
|
+
/* @__PURE__ */ h(Ve, { children: [/* @__PURE__ */ m(He, { children: G === "edit" ? w("mybodyshield.pages.nutrition.editTargetsDialogTitle", "Edit nutrition targets") : w("mybodyshield.pages.nutrition.createPlanDialogTitle", "Create nutrition plan") }), /* @__PURE__ */ m(ze, { children: G === "edit" ? w("mybodyshield.pages.nutrition.editTargetsDescription", "Update your calorie and macro targets for this plan.") : w("mybodyshield.pages.nutrition.createPlanDescription", "Set your daily calorie and macro targets.") })] }),
|
|
1142
|
+
/* @__PURE__ */ h("div", {
|
|
1141
1143
|
className: "space-y-4 py-2",
|
|
1142
1144
|
children: [
|
|
1143
|
-
Tt && /* @__PURE__ */
|
|
1145
|
+
Tt && /* @__PURE__ */ m("div", {
|
|
1144
1146
|
className: "rounded-lg border border-status-error-text/40 bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
1145
1147
|
children: Tt
|
|
1146
1148
|
}),
|
|
1147
|
-
/* @__PURE__ */
|
|
1149
|
+
/* @__PURE__ */ h("div", {
|
|
1148
1150
|
className: "space-y-1.5",
|
|
1149
|
-
children: [/* @__PURE__ */
|
|
1151
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1150
1152
|
htmlFor: "plan-name",
|
|
1151
|
-
children:
|
|
1152
|
-
}), /* @__PURE__ */
|
|
1153
|
+
children: w("mybodyshield.common.name", "Name")
|
|
1154
|
+
}), /* @__PURE__ */ m(v, {
|
|
1153
1155
|
id: "plan-name",
|
|
1154
1156
|
value: K.name,
|
|
1155
1157
|
onChange: (e) => q({
|
|
1156
1158
|
...K,
|
|
1157
1159
|
name: e.target.value
|
|
1158
1160
|
}),
|
|
1159
|
-
placeholder:
|
|
1161
|
+
placeholder: w("mybodyshield.pages.nutrition.planNamePlaceholder", "Lean bulk — Q3")
|
|
1160
1162
|
})]
|
|
1161
1163
|
}),
|
|
1162
|
-
/* @__PURE__ */
|
|
1164
|
+
/* @__PURE__ */ h("div", {
|
|
1163
1165
|
className: "space-y-1.5",
|
|
1164
|
-
children: [/* @__PURE__ */
|
|
1166
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1165
1167
|
htmlFor: "plan-goal",
|
|
1166
|
-
children:
|
|
1167
|
-
}), /* @__PURE__ */
|
|
1168
|
+
children: w("mybodyshield.common.goalType", "Goal type")
|
|
1169
|
+
}), /* @__PURE__ */ h(Ue, {
|
|
1168
1170
|
value: K.goalType,
|
|
1169
1171
|
onValueChange: (e) => q({
|
|
1170
1172
|
...K,
|
|
1171
1173
|
goalType: e
|
|
1172
1174
|
}),
|
|
1173
|
-
children: [/* @__PURE__ */
|
|
1175
|
+
children: [/* @__PURE__ */ m(Ke, {
|
|
1174
1176
|
id: "plan-goal",
|
|
1175
|
-
children: /* @__PURE__ */
|
|
1176
|
-
}), /* @__PURE__ */
|
|
1177
|
+
children: /* @__PURE__ */ m(qe, {})
|
|
1178
|
+
}), /* @__PURE__ */ m(We, { children: Ze.map((e) => /* @__PURE__ */ m(Ge, {
|
|
1177
1179
|
value: e,
|
|
1178
|
-
children:
|
|
1180
|
+
children: c(e)
|
|
1179
1181
|
}, e)) })]
|
|
1180
1182
|
})]
|
|
1181
1183
|
}),
|
|
1182
|
-
/* @__PURE__ */
|
|
1184
|
+
/* @__PURE__ */ h("div", {
|
|
1183
1185
|
className: "grid grid-cols-2 gap-3",
|
|
1184
1186
|
children: [
|
|
1185
|
-
/* @__PURE__ */
|
|
1187
|
+
/* @__PURE__ */ h("div", {
|
|
1186
1188
|
className: "space-y-1.5",
|
|
1187
|
-
children: [/* @__PURE__ */
|
|
1189
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1188
1190
|
htmlFor: "plan-calories",
|
|
1189
|
-
children: [
|
|
1190
|
-
}), /* @__PURE__ */
|
|
1191
|
+
children: [w("mybodyshield.pages.nutrition.calorieTarget", "Calorie target"), " (kcal)"]
|
|
1192
|
+
}), /* @__PURE__ */ m(v, {
|
|
1191
1193
|
id: "plan-calories",
|
|
1192
1194
|
type: "number",
|
|
1193
1195
|
min: 0,
|
|
@@ -1196,15 +1198,15 @@ function E() {
|
|
|
1196
1198
|
...K,
|
|
1197
1199
|
calorieTarget: e.target.value
|
|
1198
1200
|
}),
|
|
1199
|
-
placeholder:
|
|
1201
|
+
placeholder: w("mybodyshield.pages.nutrition.calorieTargetPlaceholder", "2400")
|
|
1200
1202
|
})]
|
|
1201
1203
|
}),
|
|
1202
|
-
/* @__PURE__ */
|
|
1204
|
+
/* @__PURE__ */ h("div", {
|
|
1203
1205
|
className: "space-y-1.5",
|
|
1204
|
-
children: [/* @__PURE__ */
|
|
1206
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1205
1207
|
htmlFor: "plan-protein",
|
|
1206
|
-
children: [
|
|
1207
|
-
}), /* @__PURE__ */
|
|
1208
|
+
children: [w("mybodyshield.pages.nutrition.proteinTarget", "Protein target"), " (g)"]
|
|
1209
|
+
}), /* @__PURE__ */ m(v, {
|
|
1208
1210
|
id: "plan-protein",
|
|
1209
1211
|
type: "number",
|
|
1210
1212
|
min: 0,
|
|
@@ -1213,15 +1215,15 @@ function E() {
|
|
|
1213
1215
|
...K,
|
|
1214
1216
|
proteinTarget: e.target.value
|
|
1215
1217
|
}),
|
|
1216
|
-
placeholder:
|
|
1218
|
+
placeholder: w("mybodyshield.pages.nutrition.proteinTargetPlaceholder", "180")
|
|
1217
1219
|
})]
|
|
1218
1220
|
}),
|
|
1219
|
-
/* @__PURE__ */
|
|
1221
|
+
/* @__PURE__ */ h("div", {
|
|
1220
1222
|
className: "space-y-1.5",
|
|
1221
|
-
children: [/* @__PURE__ */
|
|
1223
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1222
1224
|
htmlFor: "plan-carbs",
|
|
1223
|
-
children: [
|
|
1224
|
-
}), /* @__PURE__ */
|
|
1225
|
+
children: [w("mybodyshield.pages.nutrition.carbsTarget", "Carbs target"), " (g)"]
|
|
1226
|
+
}), /* @__PURE__ */ m(v, {
|
|
1225
1227
|
id: "plan-carbs",
|
|
1226
1228
|
type: "number",
|
|
1227
1229
|
min: 0,
|
|
@@ -1230,15 +1232,15 @@ function E() {
|
|
|
1230
1232
|
...K,
|
|
1231
1233
|
carbsTarget: e.target.value
|
|
1232
1234
|
}),
|
|
1233
|
-
placeholder:
|
|
1235
|
+
placeholder: w("mybodyshield.pages.nutrition.carbsTargetPlaceholder", "250")
|
|
1234
1236
|
})]
|
|
1235
1237
|
}),
|
|
1236
|
-
/* @__PURE__ */
|
|
1238
|
+
/* @__PURE__ */ h("div", {
|
|
1237
1239
|
className: "space-y-1.5",
|
|
1238
|
-
children: [/* @__PURE__ */
|
|
1240
|
+
children: [/* @__PURE__ */ h(y, {
|
|
1239
1241
|
htmlFor: "plan-fat",
|
|
1240
|
-
children: [
|
|
1241
|
-
}), /* @__PURE__ */
|
|
1242
|
+
children: [w("mybodyshield.pages.nutrition.fatTarget", "Fat target"), " (g)"]
|
|
1243
|
+
}), /* @__PURE__ */ m(v, {
|
|
1242
1244
|
id: "plan-fat",
|
|
1243
1245
|
type: "number",
|
|
1244
1246
|
min: 0,
|
|
@@ -1247,19 +1249,19 @@ function E() {
|
|
|
1247
1249
|
...K,
|
|
1248
1250
|
fatTarget: e.target.value
|
|
1249
1251
|
}),
|
|
1250
|
-
placeholder:
|
|
1252
|
+
placeholder: w("mybodyshield.pages.nutrition.fatTargetPlaceholder", "70")
|
|
1251
1253
|
})]
|
|
1252
1254
|
})
|
|
1253
1255
|
]
|
|
1254
1256
|
}),
|
|
1255
|
-
/* @__PURE__ */
|
|
1257
|
+
/* @__PURE__ */ h("div", {
|
|
1256
1258
|
className: "grid grid-cols-2 gap-3",
|
|
1257
|
-
children: [/* @__PURE__ */
|
|
1259
|
+
children: [/* @__PURE__ */ h("div", {
|
|
1258
1260
|
className: "space-y-1.5",
|
|
1259
|
-
children: [/* @__PURE__ */
|
|
1261
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1260
1262
|
htmlFor: "plan-start",
|
|
1261
|
-
children:
|
|
1262
|
-
}), /* @__PURE__ */
|
|
1263
|
+
children: w("mybodyshield.common.startDate", "Start date")
|
|
1264
|
+
}), /* @__PURE__ */ m(v, {
|
|
1263
1265
|
id: "plan-start",
|
|
1264
1266
|
type: "date",
|
|
1265
1267
|
value: K.startDate,
|
|
@@ -1268,12 +1270,12 @@ function E() {
|
|
|
1268
1270
|
startDate: e.target.value
|
|
1269
1271
|
})
|
|
1270
1272
|
})]
|
|
1271
|
-
}), /* @__PURE__ */
|
|
1273
|
+
}), /* @__PURE__ */ h("div", {
|
|
1272
1274
|
className: "space-y-1.5",
|
|
1273
|
-
children: [/* @__PURE__ */
|
|
1275
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1274
1276
|
htmlFor: "plan-end",
|
|
1275
|
-
children:
|
|
1276
|
-
}), /* @__PURE__ */
|
|
1277
|
+
children: w("mybodyshield.common.endDate", "End date")
|
|
1278
|
+
}), /* @__PURE__ */ m(v, {
|
|
1277
1279
|
id: "plan-end",
|
|
1278
1280
|
type: "date",
|
|
1279
1281
|
value: K.endDate,
|
|
@@ -1284,33 +1286,33 @@ function E() {
|
|
|
1284
1286
|
})]
|
|
1285
1287
|
})]
|
|
1286
1288
|
}),
|
|
1287
|
-
/* @__PURE__ */
|
|
1289
|
+
/* @__PURE__ */ h("div", {
|
|
1288
1290
|
className: "space-y-1.5",
|
|
1289
|
-
children: [/* @__PURE__ */
|
|
1291
|
+
children: [/* @__PURE__ */ m(y, {
|
|
1290
1292
|
htmlFor: "plan-notes",
|
|
1291
|
-
children:
|
|
1292
|
-
}), /* @__PURE__ */
|
|
1293
|
+
children: w("mybodyshield.common.notes", "Notes")
|
|
1294
|
+
}), /* @__PURE__ */ m(Ye, {
|
|
1293
1295
|
id: "plan-notes",
|
|
1294
1296
|
value: K.notes,
|
|
1295
1297
|
onChange: (e) => q({
|
|
1296
1298
|
...K,
|
|
1297
1299
|
notes: e.target.value
|
|
1298
1300
|
}),
|
|
1299
|
-
placeholder:
|
|
1301
|
+
placeholder: w("mybodyshield.pages.nutrition.planNotesPlaceholder", "Coaching notes, refeed schedule, supplements…"),
|
|
1300
1302
|
rows: 3
|
|
1301
1303
|
})]
|
|
1302
1304
|
})
|
|
1303
1305
|
]
|
|
1304
1306
|
}),
|
|
1305
|
-
/* @__PURE__ */
|
|
1307
|
+
/* @__PURE__ */ h(Be, { children: [/* @__PURE__ */ m(g, {
|
|
1306
1308
|
variant: "outline",
|
|
1307
1309
|
onClick: () => W(!1),
|
|
1308
1310
|
disabled: Z,
|
|
1309
|
-
children:
|
|
1310
|
-
}), /* @__PURE__ */ g
|
|
1311
|
+
children: w("mybodyshield.common.cancel", "Cancel")
|
|
1312
|
+
}), /* @__PURE__ */ m(g, {
|
|
1311
1313
|
onClick: Nt,
|
|
1312
1314
|
disabled: Z,
|
|
1313
|
-
children: Z ?
|
|
1315
|
+
children: Z ? w("mybodyshield.common.saving", "Saving…") : G === "edit" ? w("mybodyshield.pages.nutrition.saveTargets", "Save targets") : w("mybodyshield.pages.nutrition.createPlan", "Create plan")
|
|
1314
1316
|
})] })
|
|
1315
1317
|
]
|
|
1316
1318
|
})
|
|
@@ -1318,7 +1320,6 @@ function E() {
|
|
|
1318
1320
|
]
|
|
1319
1321
|
});
|
|
1320
1322
|
}
|
|
1321
|
-
|
|
1322
|
-
export { E as NutritionPage };
|
|
1323
|
+
export { w as NutritionPage };
|
|
1323
1324
|
|
|
1324
1325
|
//# sourceMappingURL=NutritionPage.js.map
|