@burdenoff/microfe-mybodyshield 2026.705.1 → 2026.706.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +10 -0
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +5 -5
- package/dist/mybodyshield/components/DataTable.js +8 -4
- package/dist/mybodyshield/components/DataTable.js.map +1 -1
- package/dist/mybodyshield/components/EvidenceUpload.js +92 -4
- package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -0
- package/dist/mybodyshield/components/FileLink.js +35 -2
- package/dist/mybodyshield/components/FileLink.js.map +1 -0
- package/dist/mybodyshield/components/MybDiscussion.js +107 -6
- package/dist/mybodyshield/components/MybDiscussion.js.map +1 -0
- package/dist/mybodyshield/components/MybTags.js +148 -4
- package/dist/mybodyshield/components/MybTags.js.map +1 -0
- package/dist/mybodyshield/components/Pagination.js.map +1 -1
- package/dist/mybodyshield/components/UserSearchSelect.js +148 -0
- package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -0
- package/dist/mybodyshield/components/index.js +1 -0
- package/dist/mybodyshield/hooks/index.js +1 -0
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +47 -27
- package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -1
- package/dist/mybodyshield/hooks/useMybComments.js +44 -2
- package/dist/mybodyshield/hooks/useMybComments.js.map +1 -0
- package/dist/mybodyshield/hooks/useMybFiles.js +80 -3
- package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -0
- package/dist/mybodyshield/hooks/useMybTags.js +88 -2
- package/dist/mybodyshield/hooks/useMybTags.js.map +1 -0
- package/dist/mybodyshield/hooks/useMybUsers.js +36 -0
- package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -0
- package/dist/mybodyshield/pages/DashboardPage.js +444 -340
- package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
- package/dist/mybodyshield/pages/_shared/visuals.js +29 -23
- package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.js +272 -179
- package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -257
- package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js +745 -504
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +688 -320
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
- package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.js +447 -299
- package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.js +380 -267
- package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.js +111 -78
- package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
- package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
- package/package.json +2 -2
- package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { motion as e } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
2
|
+
import { useReducedMotion as t } from "../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
|
|
3
|
+
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
|
+
import { MetricsCard as r } from "../../components/MetricsCard.js";
|
|
5
|
+
import { formatDate as i, formatEnumLabel as a, formatNumber as o, formatPercent as s, formatRelativeTime as c } from "../../utils/formatters.js";
|
|
6
|
+
import { StatusBadge as l } from "../../components/StatusBadge.js";
|
|
7
|
+
import { MiniBar as u } from "../../components/MiniBar.js";
|
|
8
|
+
import { ErrorView as d, LoadingView as f } from "../../components/StateViews.js";
|
|
9
|
+
import { EmptyState as p } from "../../components/EmptyState.js";
|
|
10
|
+
import { GOAL_TYPE_META as m, IconChip as h, Meter as g, computeGoalProgress as _ } from "../_shared/visuals.js";
|
|
11
|
+
import { useMybAchieveGoal as v, useMybCreateGoal as y, useMybGoals as b, useMybUpdateGoal as x } from "../../hooks/useMyBodyShieldApi.js";
|
|
12
|
+
import { useOffsetPager as ee } from "../../hooks/usePager.js";
|
|
11
13
|
import "../../hooks/index.js";
|
|
12
|
-
import { FilterTabs as
|
|
13
|
-
import { Pagination as
|
|
14
|
+
import { FilterTabs as S } from "../../components/FilterTabs.js";
|
|
15
|
+
import { Pagination as C } from "../../components/Pagination.js";
|
|
14
16
|
import "../../components/index.js";
|
|
15
|
-
import { useMemo as
|
|
16
|
-
import { CalendarClock as
|
|
17
|
-
import { Fragment as
|
|
18
|
-
import { Button as
|
|
17
|
+
import { useMemo as te, useState as w } from "react";
|
|
18
|
+
import { CalendarClock as T, CheckCircle2 as E, Plus as D, Target as O, TrendingUp as k, Trophy as ne } from "lucide-react";
|
|
19
|
+
import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
20
|
+
import { Button as N, GlassCard as P, Input as F, Label as I, ResponsiveDialog as L, ResponsiveDialogContent as R, ResponsiveDialogDescription as z, ResponsiveDialogFooter as B, ResponsiveDialogHeader as V, ResponsiveDialogTitle as H, Select as U, SelectContent as W, SelectItem as G, SelectTrigger as K, SelectValue as q, Textarea as J } from "@burdenoff/fe-libs/ui";
|
|
19
21
|
//#region src/mybodyshield/pages/goals/GoalsPage.tsx
|
|
20
|
-
var
|
|
22
|
+
var Y = 12, X = 100, re = [
|
|
21
23
|
{
|
|
22
24
|
value: "ALL",
|
|
23
25
|
label: "All"
|
|
@@ -29,16 +31,8 @@ var J = 12, Y = 100, X = [
|
|
|
29
31
|
{
|
|
30
32
|
value: "ACHIEVED",
|
|
31
33
|
label: "Achieved"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
value: "PAUSED",
|
|
35
|
-
label: "Paused"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
value: "ABANDONED",
|
|
39
|
-
label: "Abandoned"
|
|
40
34
|
}
|
|
41
|
-
],
|
|
35
|
+
], ie = [
|
|
42
36
|
"WEIGHT_LOSS",
|
|
43
37
|
"MUSCLE_GAIN",
|
|
44
38
|
"STRENGTH",
|
|
@@ -46,13 +40,13 @@ var J = 12, Y = 100, X = [
|
|
|
46
40
|
"MOBILITY",
|
|
47
41
|
"GENERAL_FITNESS"
|
|
48
42
|
];
|
|
49
|
-
function
|
|
43
|
+
function Z(e) {
|
|
50
44
|
let t = e.trim();
|
|
51
45
|
if (t === "") return;
|
|
52
46
|
let n = Number(t);
|
|
53
47
|
return Number.isFinite(n) ? n : void 0;
|
|
54
48
|
}
|
|
55
|
-
var
|
|
49
|
+
var Q = {
|
|
56
50
|
title: "",
|
|
57
51
|
type: "GENERAL_FITNESS",
|
|
58
52
|
baselineValue: "",
|
|
@@ -61,125 +55,125 @@ var $ = {
|
|
|
61
55
|
targetDate: "",
|
|
62
56
|
description: ""
|
|
63
57
|
};
|
|
64
|
-
function
|
|
65
|
-
let n =
|
|
66
|
-
e || (
|
|
58
|
+
function ae({ open: e, onOpenChange: t }) {
|
|
59
|
+
let n = y(), [r, i] = w(Q), [o, s] = w(null), c = (e) => {
|
|
60
|
+
e || (i(Q), s(null)), t(e);
|
|
67
61
|
}, l = async () => {
|
|
68
|
-
let e =
|
|
62
|
+
let e = r.title.trim();
|
|
69
63
|
if (!e) {
|
|
70
64
|
s("Goal title is required.");
|
|
71
65
|
return;
|
|
72
66
|
}
|
|
73
67
|
s(null);
|
|
74
|
-
let
|
|
68
|
+
let a = {
|
|
75
69
|
title: e,
|
|
76
|
-
type:
|
|
77
|
-
description:
|
|
78
|
-
baselineValue:
|
|
79
|
-
targetValue:
|
|
80
|
-
unit:
|
|
81
|
-
targetDate:
|
|
70
|
+
type: r.type,
|
|
71
|
+
description: r.description.trim() || void 0,
|
|
72
|
+
baselineValue: Z(r.baselineValue),
|
|
73
|
+
targetValue: Z(r.targetValue),
|
|
74
|
+
unit: r.unit.trim() || void 0,
|
|
75
|
+
targetDate: r.targetDate ? new Date(r.targetDate).toISOString() : void 0
|
|
82
76
|
};
|
|
83
77
|
try {
|
|
84
|
-
await n.mutateAsync(
|
|
78
|
+
await n.mutateAsync(a), i(Q), t(!1);
|
|
85
79
|
} catch (e) {
|
|
86
80
|
s(e instanceof Error ? e.message : "Failed to create goal.");
|
|
87
81
|
}
|
|
88
82
|
};
|
|
89
|
-
return /* @__PURE__ */
|
|
83
|
+
return /* @__PURE__ */ j(L, {
|
|
90
84
|
open: e,
|
|
91
85
|
onOpenChange: c,
|
|
92
|
-
children: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ M(R, { children: [/* @__PURE__ */ M(V, { children: [/* @__PURE__ */ j(H, { children: "New goal" }), /* @__PURE__ */ j(z, { children: "Set a target across training, nutrition or body composition and track it to completion." })] }), /* @__PURE__ */ M("form", {
|
|
93
87
|
className: "space-y-4",
|
|
94
88
|
onSubmit: (e) => {
|
|
95
89
|
e.preventDefault(), l();
|
|
96
90
|
},
|
|
97
91
|
children: [
|
|
98
|
-
o && /* @__PURE__ */
|
|
92
|
+
o && /* @__PURE__ */ j("p", {
|
|
99
93
|
className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
100
94
|
children: o
|
|
101
95
|
}),
|
|
102
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ M("div", {
|
|
103
97
|
className: "space-y-2",
|
|
104
|
-
children: [/* @__PURE__ */
|
|
98
|
+
children: [/* @__PURE__ */ j(I, {
|
|
105
99
|
htmlFor: "myb-goal-title",
|
|
106
100
|
children: "Title"
|
|
107
|
-
}), /* @__PURE__ */
|
|
101
|
+
}), /* @__PURE__ */ j(F, {
|
|
108
102
|
id: "myb-goal-title",
|
|
109
|
-
value:
|
|
110
|
-
onChange: (e) =>
|
|
103
|
+
value: r.title,
|
|
104
|
+
onChange: (e) => i((t) => ({
|
|
111
105
|
...t,
|
|
112
106
|
title: e.target.value
|
|
113
107
|
})),
|
|
114
108
|
placeholder: "e.g., Squat 140 kg"
|
|
115
109
|
})]
|
|
116
110
|
}),
|
|
117
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ M("div", {
|
|
118
112
|
className: "space-y-2",
|
|
119
|
-
children: [/* @__PURE__ */
|
|
113
|
+
children: [/* @__PURE__ */ j(I, {
|
|
120
114
|
htmlFor: "myb-goal-type",
|
|
121
115
|
children: "Type"
|
|
122
|
-
}), /* @__PURE__ */
|
|
123
|
-
value:
|
|
124
|
-
onValueChange: (e) =>
|
|
116
|
+
}), /* @__PURE__ */ M(U, {
|
|
117
|
+
value: r.type,
|
|
118
|
+
onValueChange: (e) => i((t) => ({
|
|
125
119
|
...t,
|
|
126
120
|
type: e
|
|
127
121
|
})),
|
|
128
|
-
children: [/* @__PURE__ */
|
|
122
|
+
children: [/* @__PURE__ */ j(K, {
|
|
129
123
|
id: "myb-goal-type",
|
|
130
|
-
children: /* @__PURE__ */
|
|
131
|
-
}), /* @__PURE__ */
|
|
124
|
+
children: /* @__PURE__ */ j(q, { placeholder: "Select a goal type" })
|
|
125
|
+
}), /* @__PURE__ */ j(W, { children: ie.map((e) => /* @__PURE__ */ j(G, {
|
|
132
126
|
value: e,
|
|
133
|
-
children:
|
|
127
|
+
children: a(e)
|
|
134
128
|
}, e)) })]
|
|
135
129
|
})]
|
|
136
130
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ M("div", {
|
|
138
132
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
139
133
|
children: [
|
|
140
|
-
/* @__PURE__ */
|
|
134
|
+
/* @__PURE__ */ M("div", {
|
|
141
135
|
className: "space-y-2",
|
|
142
|
-
children: [/* @__PURE__ */
|
|
136
|
+
children: [/* @__PURE__ */ j(I, {
|
|
143
137
|
htmlFor: "myb-goal-baseline",
|
|
144
138
|
children: "Baseline"
|
|
145
|
-
}), /* @__PURE__ */
|
|
139
|
+
}), /* @__PURE__ */ j(F, {
|
|
146
140
|
id: "myb-goal-baseline",
|
|
147
141
|
type: "number",
|
|
148
142
|
inputMode: "decimal",
|
|
149
|
-
value:
|
|
150
|
-
onChange: (e) =>
|
|
143
|
+
value: r.baselineValue,
|
|
144
|
+
onChange: (e) => i((t) => ({
|
|
151
145
|
...t,
|
|
152
146
|
baselineValue: e.target.value
|
|
153
147
|
})),
|
|
154
148
|
placeholder: "0"
|
|
155
149
|
})]
|
|
156
150
|
}),
|
|
157
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ M("div", {
|
|
158
152
|
className: "space-y-2",
|
|
159
|
-
children: [/* @__PURE__ */
|
|
153
|
+
children: [/* @__PURE__ */ j(I, {
|
|
160
154
|
htmlFor: "myb-goal-target",
|
|
161
155
|
children: "Target"
|
|
162
|
-
}), /* @__PURE__ */
|
|
156
|
+
}), /* @__PURE__ */ j(F, {
|
|
163
157
|
id: "myb-goal-target",
|
|
164
158
|
type: "number",
|
|
165
159
|
inputMode: "decimal",
|
|
166
|
-
value:
|
|
167
|
-
onChange: (e) =>
|
|
160
|
+
value: r.targetValue,
|
|
161
|
+
onChange: (e) => i((t) => ({
|
|
168
162
|
...t,
|
|
169
163
|
targetValue: e.target.value
|
|
170
164
|
})),
|
|
171
165
|
placeholder: "100"
|
|
172
166
|
})]
|
|
173
167
|
}),
|
|
174
|
-
/* @__PURE__ */
|
|
168
|
+
/* @__PURE__ */ M("div", {
|
|
175
169
|
className: "space-y-2",
|
|
176
|
-
children: [/* @__PURE__ */
|
|
170
|
+
children: [/* @__PURE__ */ j(I, {
|
|
177
171
|
htmlFor: "myb-goal-unit",
|
|
178
172
|
children: "Unit"
|
|
179
|
-
}), /* @__PURE__ */
|
|
173
|
+
}), /* @__PURE__ */ j(F, {
|
|
180
174
|
id: "myb-goal-unit",
|
|
181
|
-
value:
|
|
182
|
-
onChange: (e) =>
|
|
175
|
+
value: r.unit,
|
|
176
|
+
onChange: (e) => i((t) => ({
|
|
183
177
|
...t,
|
|
184
178
|
unit: e.target.value
|
|
185
179
|
})),
|
|
@@ -188,44 +182,44 @@ function ne({ open: e, onOpenChange: t }) {
|
|
|
188
182
|
})
|
|
189
183
|
]
|
|
190
184
|
}),
|
|
191
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ M("div", {
|
|
192
186
|
className: "space-y-2",
|
|
193
|
-
children: [/* @__PURE__ */
|
|
187
|
+
children: [/* @__PURE__ */ j(I, {
|
|
194
188
|
htmlFor: "myb-goal-date",
|
|
195
189
|
children: "Target date"
|
|
196
|
-
}), /* @__PURE__ */
|
|
190
|
+
}), /* @__PURE__ */ j(F, {
|
|
197
191
|
id: "myb-goal-date",
|
|
198
192
|
type: "date",
|
|
199
|
-
value:
|
|
200
|
-
onChange: (e) =>
|
|
193
|
+
value: r.targetDate,
|
|
194
|
+
onChange: (e) => i((t) => ({
|
|
201
195
|
...t,
|
|
202
196
|
targetDate: e.target.value
|
|
203
197
|
}))
|
|
204
198
|
})]
|
|
205
199
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ M("div", {
|
|
207
201
|
className: "space-y-2",
|
|
208
|
-
children: [/* @__PURE__ */
|
|
202
|
+
children: [/* @__PURE__ */ j(I, {
|
|
209
203
|
htmlFor: "myb-goal-desc",
|
|
210
204
|
children: "Description"
|
|
211
|
-
}), /* @__PURE__ */
|
|
205
|
+
}), /* @__PURE__ */ j(J, {
|
|
212
206
|
id: "myb-goal-desc",
|
|
213
207
|
rows: 3,
|
|
214
|
-
value:
|
|
215
|
-
onChange: (e) =>
|
|
208
|
+
value: r.description,
|
|
209
|
+
onChange: (e) => i((t) => ({
|
|
216
210
|
...t,
|
|
217
211
|
description: e.target.value
|
|
218
212
|
})),
|
|
219
213
|
placeholder: "Why this goal matters and how you'll get there."
|
|
220
214
|
})]
|
|
221
215
|
}),
|
|
222
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ M(B, { children: [/* @__PURE__ */ j(N, {
|
|
223
217
|
type: "button",
|
|
224
218
|
variant: "outline",
|
|
225
219
|
onClick: () => c(!1),
|
|
226
220
|
disabled: n.isPending,
|
|
227
221
|
children: "Cancel"
|
|
228
|
-
}), /* @__PURE__ */
|
|
222
|
+
}), /* @__PURE__ */ j(N, {
|
|
229
223
|
type: "submit",
|
|
230
224
|
disabled: n.isPending,
|
|
231
225
|
children: n.isPending ? "Creating…" : "Create goal"
|
|
@@ -234,12 +228,12 @@ function ne({ open: e, onOpenChange: t }) {
|
|
|
234
228
|
})] })
|
|
235
229
|
});
|
|
236
230
|
}
|
|
237
|
-
function
|
|
238
|
-
let n =
|
|
239
|
-
e && e.id !== c && (l(e.id),
|
|
231
|
+
function oe({ goal: e, onOpenChange: t }) {
|
|
232
|
+
let n = x(), [r, i] = w(""), [a, s] = w(null), [c, l] = w(null);
|
|
233
|
+
e && e.id !== c && (l(e.id), i(String(e.currentValue)), s(null));
|
|
240
234
|
let u = async () => {
|
|
241
235
|
if (!e) return;
|
|
242
|
-
let i =
|
|
236
|
+
let i = Z(r);
|
|
243
237
|
if (i === void 0) {
|
|
244
238
|
s("Enter a valid number.");
|
|
245
239
|
return;
|
|
@@ -254,52 +248,52 @@ function re({ goal: e, onOpenChange: t }) {
|
|
|
254
248
|
s(e instanceof Error ? e.message : "Failed to update progress.");
|
|
255
249
|
}
|
|
256
250
|
};
|
|
257
|
-
return /* @__PURE__ */
|
|
251
|
+
return /* @__PURE__ */ j(L, {
|
|
258
252
|
open: e != null,
|
|
259
253
|
onOpenChange: t,
|
|
260
|
-
children: /* @__PURE__ */
|
|
254
|
+
children: /* @__PURE__ */ M(R, { children: [/* @__PURE__ */ M(V, { children: [/* @__PURE__ */ j(H, { children: "Update progress" }), /* @__PURE__ */ j(z, { children: e ? e.title : "Log your latest value for this goal." })] }), /* @__PURE__ */ M("form", {
|
|
261
255
|
className: "space-y-4",
|
|
262
256
|
onSubmit: (e) => {
|
|
263
257
|
e.preventDefault(), u();
|
|
264
258
|
},
|
|
265
259
|
children: [
|
|
266
|
-
|
|
260
|
+
a && /* @__PURE__ */ j("p", {
|
|
267
261
|
className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
268
|
-
children:
|
|
262
|
+
children: a
|
|
269
263
|
}),
|
|
270
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ M("div", {
|
|
271
265
|
className: "space-y-2",
|
|
272
266
|
children: [
|
|
273
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ M(I, {
|
|
274
268
|
htmlFor: "myb-goal-current",
|
|
275
269
|
children: ["Current value", e?.unit ? ` (${e.unit})` : ""]
|
|
276
270
|
}),
|
|
277
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ j(F, {
|
|
278
272
|
id: "myb-goal-current",
|
|
279
273
|
type: "number",
|
|
280
274
|
inputMode: "decimal",
|
|
281
275
|
autoFocus: !0,
|
|
282
276
|
value: r,
|
|
283
|
-
onChange: (e) =>
|
|
277
|
+
onChange: (e) => i(e.target.value),
|
|
284
278
|
placeholder: "0"
|
|
285
279
|
}),
|
|
286
|
-
e && /* @__PURE__ */
|
|
280
|
+
e && /* @__PURE__ */ M("p", {
|
|
287
281
|
className: "text-xs text-text-tertiary",
|
|
288
282
|
children: [
|
|
289
283
|
"Target: ",
|
|
290
|
-
|
|
284
|
+
o(e.targetValue),
|
|
291
285
|
e.unit ? ` ${e.unit}` : ""
|
|
292
286
|
]
|
|
293
287
|
})
|
|
294
288
|
]
|
|
295
289
|
}),
|
|
296
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ M(B, { children: [/* @__PURE__ */ j(N, {
|
|
297
291
|
type: "button",
|
|
298
292
|
variant: "outline",
|
|
299
293
|
onClick: () => t(!1),
|
|
300
294
|
disabled: n.isPending,
|
|
301
295
|
children: "Cancel"
|
|
302
|
-
}), /* @__PURE__ */
|
|
296
|
+
}), /* @__PURE__ */ j(N, {
|
|
303
297
|
type: "submit",
|
|
304
298
|
disabled: n.isPending,
|
|
305
299
|
children: n.isPending ? "Saving…" : "Save progress"
|
|
@@ -308,211 +302,264 @@ function re({ goal: e, onOpenChange: t }) {
|
|
|
308
302
|
})] })
|
|
309
303
|
});
|
|
310
304
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
305
|
+
var se = [
|
|
306
|
+
.22,
|
|
307
|
+
1,
|
|
308
|
+
.36,
|
|
309
|
+
1
|
|
310
|
+
], $ = ({ index: n = 0, hover: r = !1, className: i, children: a }) => {
|
|
311
|
+
let o = t();
|
|
312
|
+
return /* @__PURE__ */ j(e.div, {
|
|
313
|
+
className: i,
|
|
314
|
+
initial: o ? !1 : {
|
|
315
|
+
opacity: 0,
|
|
316
|
+
y: 12
|
|
317
|
+
},
|
|
318
|
+
animate: {
|
|
319
|
+
opacity: 1,
|
|
320
|
+
y: 0
|
|
321
|
+
},
|
|
322
|
+
transition: o ? { duration: 0 } : {
|
|
323
|
+
duration: .35,
|
|
324
|
+
delay: Math.min(n * .05, .45),
|
|
325
|
+
ease: se
|
|
326
|
+
},
|
|
327
|
+
whileHover: o || !r ? void 0 : { y: -4 },
|
|
328
|
+
children: a
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
function ce({ goal: e, index: t, onUpdateProgress: n, onAchieve: r, isAchieving: u }) {
|
|
332
|
+
let d = m[e.type], f = d.icon, p = _(e), v = e.unit ? ` ${e.unit}` : "", y = e.status === "ACHIEVED";
|
|
333
|
+
return /* @__PURE__ */ j($, {
|
|
334
|
+
index: t,
|
|
335
|
+
hover: !0,
|
|
336
|
+
className: "h-full",
|
|
337
|
+
children: /* @__PURE__ */ M(P, {
|
|
338
|
+
treatment: "glass",
|
|
339
|
+
glow: y,
|
|
340
|
+
className: "flex h-full flex-col gap-3.5 p-5 transition-shadow hover:shadow-[var(--shadow-pop-hover)]",
|
|
341
|
+
children: [
|
|
342
|
+
/* @__PURE__ */ M("div", {
|
|
343
|
+
className: "flex items-start justify-between gap-3",
|
|
344
|
+
children: [/* @__PURE__ */ M("div", {
|
|
345
|
+
className: "flex min-w-0 items-start gap-3",
|
|
346
|
+
children: [/* @__PURE__ */ j(h, {
|
|
347
|
+
icon: /* @__PURE__ */ j(f, { className: "h-4 w-4" }),
|
|
348
|
+
tint: d.tint
|
|
349
|
+
}), /* @__PURE__ */ M("div", {
|
|
350
|
+
className: "min-w-0",
|
|
351
|
+
children: [/* @__PURE__ */ j("p", {
|
|
352
|
+
className: "truncate text-sm font-semibold text-text-primary",
|
|
353
|
+
children: e.title
|
|
354
|
+
}), /* @__PURE__ */ j("span", {
|
|
355
|
+
className: "mt-1 inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
356
|
+
children: a(e.type)
|
|
357
|
+
})]
|
|
332
358
|
})]
|
|
359
|
+
}), /* @__PURE__ */ j(l, { status: e.status })]
|
|
360
|
+
}),
|
|
361
|
+
e.description && /* @__PURE__ */ j("p", {
|
|
362
|
+
className: "line-clamp-2 text-xs text-text-secondary",
|
|
363
|
+
children: e.description
|
|
364
|
+
}),
|
|
365
|
+
/* @__PURE__ */ M("div", {
|
|
366
|
+
className: "space-y-2",
|
|
367
|
+
children: [/* @__PURE__ */ M("div", {
|
|
368
|
+
className: "flex items-end justify-between gap-2",
|
|
369
|
+
children: [/* @__PURE__ */ M("span", {
|
|
370
|
+
className: "tabular-nums text-sm text-text-secondary",
|
|
371
|
+
children: [/* @__PURE__ */ M("span", {
|
|
372
|
+
className: "font-semibold text-text-primary",
|
|
373
|
+
children: [o(e.currentValue), v]
|
|
374
|
+
}), /* @__PURE__ */ M("span", {
|
|
375
|
+
className: "text-text-tertiary",
|
|
376
|
+
children: [
|
|
377
|
+
" ",
|
|
378
|
+
"/ ",
|
|
379
|
+
o(e.targetValue),
|
|
380
|
+
v
|
|
381
|
+
]
|
|
382
|
+
})]
|
|
383
|
+
}), /* @__PURE__ */ j("span", {
|
|
384
|
+
className: "text-lg font-bold leading-none tabular-nums text-action-primary-bg",
|
|
385
|
+
children: s(p)
|
|
386
|
+
})]
|
|
387
|
+
}), /* @__PURE__ */ j(g, {
|
|
388
|
+
value: p,
|
|
389
|
+
height: 10
|
|
333
390
|
})]
|
|
334
|
-
}),
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}),
|
|
340
|
-
/* @__PURE__ */ j("div", {
|
|
341
|
-
className: "space-y-1.5",
|
|
342
|
-
children: [/* @__PURE__ */ A(m, {
|
|
343
|
-
value: g,
|
|
344
|
-
color: u.tint
|
|
345
|
-
}), /* @__PURE__ */ j("div", {
|
|
346
|
-
className: "flex items-center justify-between text-xs",
|
|
347
|
-
children: [/* @__PURE__ */ j("span", {
|
|
348
|
-
className: "tabular-nums text-text-secondary",
|
|
391
|
+
}),
|
|
392
|
+
(e.targetDate || y && e.achievedAt) && /* @__PURE__ */ M("div", {
|
|
393
|
+
className: "flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-tertiary",
|
|
394
|
+
children: [e.targetDate && /* @__PURE__ */ M("span", {
|
|
395
|
+
className: "inline-flex items-center gap-1",
|
|
349
396
|
children: [
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
397
|
+
/* @__PURE__ */ j(T, { className: "h-3.5 w-3.5" }),
|
|
398
|
+
"Target ",
|
|
399
|
+
i(e.targetDate),
|
|
400
|
+
/* @__PURE__ */ M("span", {
|
|
401
|
+
className: "text-text-secondary",
|
|
402
|
+
children: ["· ", c(e.targetDate)]
|
|
403
|
+
})
|
|
404
|
+
]
|
|
405
|
+
}), y && e.achievedAt && /* @__PURE__ */ M("span", {
|
|
406
|
+
className: "inline-flex items-center gap-1 text-status-success-text",
|
|
407
|
+
children: [
|
|
408
|
+
/* @__PURE__ */ j(E, { className: "h-3.5 w-3.5" }),
|
|
409
|
+
"Achieved ",
|
|
410
|
+
i(e.achievedAt)
|
|
355
411
|
]
|
|
356
|
-
}), /* @__PURE__ */ A("span", {
|
|
357
|
-
className: "tabular-nums text-text-tertiary",
|
|
358
|
-
children: a(g)
|
|
359
412
|
})]
|
|
360
|
-
})
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
children: [
|
|
378
|
-
/* @__PURE__ */ A(w, { className: "h-3.5 w-3.5" }),
|
|
379
|
-
"Achieved ",
|
|
380
|
-
n(e.achievedAt)
|
|
381
|
-
]
|
|
382
|
-
})]
|
|
383
|
-
}),
|
|
384
|
-
/* @__PURE__ */ j("div", {
|
|
385
|
-
className: "mt-auto flex flex-wrap gap-2 pt-1",
|
|
386
|
-
children: [/* @__PURE__ */ A(M, {
|
|
387
|
-
variant: "outline",
|
|
388
|
-
size: "sm",
|
|
389
|
-
onClick: () => t(e),
|
|
390
|
-
children: "Update progress"
|
|
391
|
-
}), e.status === "ACTIVE" && /* @__PURE__ */ A(M, {
|
|
392
|
-
size: "sm",
|
|
393
|
-
onClick: () => c(e),
|
|
394
|
-
disabled: l,
|
|
395
|
-
children: l ? "Marking…" : "Mark achieved"
|
|
396
|
-
})]
|
|
397
|
-
})
|
|
398
|
-
]
|
|
413
|
+
}),
|
|
414
|
+
/* @__PURE__ */ M("div", {
|
|
415
|
+
className: "mt-auto flex flex-wrap gap-2 pt-1",
|
|
416
|
+
children: [/* @__PURE__ */ j(N, {
|
|
417
|
+
variant: "outline",
|
|
418
|
+
size: "sm",
|
|
419
|
+
onClick: () => n(e),
|
|
420
|
+
children: "Update progress"
|
|
421
|
+
}), e.status === "ACTIVE" && /* @__PURE__ */ j(N, {
|
|
422
|
+
size: "sm",
|
|
423
|
+
onClick: () => r(e),
|
|
424
|
+
disabled: u,
|
|
425
|
+
children: u ? "Marking…" : "Mark achieved"
|
|
426
|
+
})]
|
|
427
|
+
})
|
|
428
|
+
]
|
|
429
|
+
})
|
|
399
430
|
});
|
|
400
431
|
}
|
|
401
|
-
function
|
|
402
|
-
let [
|
|
403
|
-
status:
|
|
432
|
+
function le() {
|
|
433
|
+
let [e, t] = w("ALL"), [i, a] = w(!1), [c, l] = w(null), [m, h] = w(null), [g, y] = w(null), x = ee(Y), T = b({
|
|
434
|
+
status: e === "ALL" ? void 0 : e,
|
|
404
435
|
pagination: {
|
|
405
|
-
limit:
|
|
406
|
-
offset:
|
|
436
|
+
limit: Y,
|
|
437
|
+
offset: x.offset
|
|
407
438
|
}
|
|
408
|
-
}),
|
|
439
|
+
}), E = b({
|
|
409
440
|
status: "ACTIVE",
|
|
410
|
-
pagination: { limit:
|
|
411
|
-
}),
|
|
441
|
+
pagination: { limit: X }
|
|
442
|
+
}), P = b({
|
|
412
443
|
status: "ACHIEVED",
|
|
413
|
-
pagination: { limit:
|
|
414
|
-
}),
|
|
415
|
-
|
|
416
|
-
},
|
|
417
|
-
|
|
444
|
+
pagination: { limit: X }
|
|
445
|
+
}), F = v(), I = T.data?.items ?? [], L = E.data?.items ?? [], R = P.data?.items ?? [], z = te(() => L.length === 0 ? 0 : L.reduce((e, t) => e + _(t), 0) / L.length, [L]), B = (e) => {
|
|
446
|
+
t(e), x.reset();
|
|
447
|
+
}, V = async (e) => {
|
|
448
|
+
h(e.id), y(null);
|
|
418
449
|
try {
|
|
419
|
-
await
|
|
450
|
+
await F.mutateAsync(e.id);
|
|
420
451
|
} catch (e) {
|
|
421
|
-
|
|
452
|
+
y(e instanceof Error ? e.message : "Failed to mark goal as achieved.");
|
|
422
453
|
} finally {
|
|
423
|
-
|
|
454
|
+
h(null);
|
|
424
455
|
}
|
|
425
|
-
},
|
|
426
|
-
return /* @__PURE__ */
|
|
456
|
+
}, H = T.isLoading && !T.data;
|
|
457
|
+
return /* @__PURE__ */ M(n, {
|
|
427
458
|
title: "Goals",
|
|
428
459
|
description: "Targets across training, nutrition and body composition.",
|
|
429
|
-
actions: /* @__PURE__ */
|
|
430
|
-
onClick: () =>
|
|
431
|
-
children: [/* @__PURE__ */
|
|
460
|
+
actions: /* @__PURE__ */ M(N, {
|
|
461
|
+
onClick: () => a(!0),
|
|
462
|
+
children: [/* @__PURE__ */ j(D, { className: "mr-2 h-4 w-4" }), "New goal"]
|
|
432
463
|
}),
|
|
433
464
|
children: [
|
|
434
|
-
/* @__PURE__ */
|
|
465
|
+
/* @__PURE__ */ M("div", {
|
|
435
466
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
436
467
|
children: [
|
|
437
|
-
/* @__PURE__ */
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
468
|
+
/* @__PURE__ */ j($, {
|
|
469
|
+
index: 0,
|
|
470
|
+
className: "h-full",
|
|
471
|
+
children: /* @__PURE__ */ j(r, {
|
|
472
|
+
className: "h-full",
|
|
473
|
+
icon: /* @__PURE__ */ j(O, { className: "h-5 w-5" }),
|
|
474
|
+
value: o(E.data ? L.length : void 0),
|
|
475
|
+
label: "Active goals"
|
|
476
|
+
})
|
|
441
477
|
}),
|
|
442
|
-
/* @__PURE__ */
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
478
|
+
/* @__PURE__ */ j($, {
|
|
479
|
+
index: 1,
|
|
480
|
+
className: "h-full",
|
|
481
|
+
children: /* @__PURE__ */ j(r, {
|
|
482
|
+
className: "h-full",
|
|
483
|
+
icon: /* @__PURE__ */ j(ne, { className: "h-5 w-5" }),
|
|
484
|
+
value: o(P.data ? R.length : void 0),
|
|
485
|
+
label: "Achieved",
|
|
486
|
+
accent: "success"
|
|
487
|
+
})
|
|
447
488
|
}),
|
|
448
|
-
/* @__PURE__ */
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
489
|
+
/* @__PURE__ */ j($, {
|
|
490
|
+
index: 2,
|
|
491
|
+
className: "h-full",
|
|
492
|
+
children: /* @__PURE__ */ j(r, {
|
|
493
|
+
className: "h-full",
|
|
494
|
+
icon: /* @__PURE__ */ j(k, { className: "h-5 w-5" }),
|
|
495
|
+
value: E.data ? s(z) : "—",
|
|
496
|
+
label: "Avg progress (active)",
|
|
497
|
+
footer: /* @__PURE__ */ j(u, {
|
|
498
|
+
value: z,
|
|
499
|
+
height: 4,
|
|
500
|
+
barClassName: "bg-action-primary-bg"
|
|
501
|
+
})
|
|
456
502
|
})
|
|
457
503
|
})
|
|
458
504
|
]
|
|
459
505
|
}),
|
|
460
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ j("div", {
|
|
461
507
|
className: "mt-6",
|
|
462
|
-
children: /* @__PURE__ */
|
|
463
|
-
options:
|
|
464
|
-
value:
|
|
465
|
-
onChange:
|
|
508
|
+
children: /* @__PURE__ */ j(S, {
|
|
509
|
+
options: re,
|
|
510
|
+
value: e,
|
|
511
|
+
onChange: B
|
|
466
512
|
})
|
|
467
513
|
}),
|
|
468
|
-
|
|
514
|
+
g && /* @__PURE__ */ j("p", {
|
|
469
515
|
className: "mt-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
470
|
-
children:
|
|
516
|
+
children: g
|
|
471
517
|
}),
|
|
472
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ j("div", {
|
|
473
519
|
className: "mt-4",
|
|
474
|
-
children:
|
|
520
|
+
children: H ? /* @__PURE__ */ j(f, { label: "Loading your goals…" }) : T.isError ? /* @__PURE__ */ j(d, {
|
|
475
521
|
message: "We couldn't load your goals.",
|
|
476
|
-
onRetry: () => void
|
|
477
|
-
}) :
|
|
522
|
+
onRetry: () => void T.refetch()
|
|
523
|
+
}) : I.length === 0 ? /* @__PURE__ */ j(p, {
|
|
478
524
|
illustration: "empty-data",
|
|
479
|
-
icon: /* @__PURE__ */
|
|
480
|
-
title:
|
|
481
|
-
description:
|
|
482
|
-
action: /* @__PURE__ */
|
|
483
|
-
onClick: () =>
|
|
484
|
-
children: [/* @__PURE__ */
|
|
525
|
+
icon: /* @__PURE__ */ j(O, { className: "h-10 w-10" }),
|
|
526
|
+
title: e === "ALL" ? "No goals yet" : "No goals match this filter",
|
|
527
|
+
description: e === "ALL" ? "Set a goal to give your training and nutrition a clear target to work toward." : "Try a different status filter, or create a new goal.",
|
|
528
|
+
action: /* @__PURE__ */ M(N, {
|
|
529
|
+
onClick: () => a(!0),
|
|
530
|
+
children: [/* @__PURE__ */ j(D, { className: "mr-2 h-4 w-4" }), "New goal"]
|
|
485
531
|
})
|
|
486
|
-
}) : /* @__PURE__ */
|
|
532
|
+
}) : /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
|
|
487
533
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
488
|
-
children:
|
|
534
|
+
children: I.map((e, t) => /* @__PURE__ */ j(ce, {
|
|
489
535
|
goal: e,
|
|
490
|
-
|
|
491
|
-
|
|
536
|
+
index: t,
|
|
537
|
+
onUpdateProgress: l,
|
|
538
|
+
onAchieve: (e) => void V(e),
|
|
492
539
|
isAchieving: m === e.id
|
|
493
540
|
}, e.id))
|
|
494
|
-
}), /* @__PURE__ */
|
|
495
|
-
page:
|
|
496
|
-
pageSize:
|
|
497
|
-
itemCount:
|
|
498
|
-
hasMore:
|
|
499
|
-
onPageChange: (e) =>
|
|
541
|
+
}), /* @__PURE__ */ j(C, {
|
|
542
|
+
page: x.page,
|
|
543
|
+
pageSize: Y,
|
|
544
|
+
itemCount: I.length,
|
|
545
|
+
hasMore: T.data?.pageInfo?.hasMore ?? !1,
|
|
546
|
+
onPageChange: (e) => x.onPageChange(e)
|
|
500
547
|
})] })
|
|
501
548
|
}),
|
|
502
|
-
/* @__PURE__ */
|
|
503
|
-
open:
|
|
504
|
-
onOpenChange:
|
|
549
|
+
/* @__PURE__ */ j(ae, {
|
|
550
|
+
open: i,
|
|
551
|
+
onOpenChange: a
|
|
505
552
|
}),
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
goal:
|
|
553
|
+
/* @__PURE__ */ j(oe, {
|
|
554
|
+
goal: c,
|
|
508
555
|
onOpenChange: (e) => {
|
|
509
|
-
e ||
|
|
556
|
+
e || l(null);
|
|
510
557
|
}
|
|
511
558
|
})
|
|
512
559
|
]
|
|
513
560
|
});
|
|
514
561
|
}
|
|
515
562
|
//#endregion
|
|
516
|
-
export {
|
|
563
|
+
export { le as GoalsPage };
|
|
517
564
|
|
|
518
565
|
//# sourceMappingURL=GoalsPage.js.map
|