lawgic-dev-kit 0.12.8 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/client.js +22 -3
- package/dist/_virtual/index2.js +2 -3
- package/dist/_virtual/index3.js +2 -3
- package/dist/_virtual/index4.js +3 -5
- package/dist/_virtual/index5.js +3 -2
- package/dist/_virtual/index6.js +5 -2
- package/dist/components/atoms/Avatar/Avatar.js +31 -73
- package/dist/components/atoms/UploadContainer/UploadContainer.js +47 -89
- package/dist/components/molecules/AlertModal/AlertModal.js +26 -68
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +45 -87
- package/dist/components/molecules/DialogModal/DialogModal.js +37 -79
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +25 -67
- package/dist/components/molecules/Tabs/Tabs.js +41 -83
- package/dist/lawgic-dev-kit.umd.js +243 -884
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/utils/modal.js +59 -101
- package/dist/utils/toast.js +73 -106
- package/package.json +5 -5
- package/dist/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/dist/_virtual/index.js +0 -7
- package/dist/dist/_virtual/index3.js +0 -5
- package/dist/dist/_virtual/index4.js +0 -5
- package/dist/dist/_virtual/index5.js +0 -7
- package/dist/dist/_virtual/index6.js +0 -4
- package/dist/dist/_virtual/index7.js +0 -4
- package/dist/dist/_virtual/index8.js +0 -4
- package/dist/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/dist/_virtual/lodash.js +0 -2
- package/dist/dist/_virtual/lodash2.js +0 -4
- package/dist/dist/_virtual/react-is.development.js +0 -4
- package/dist/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -4
- package/dist/dist/components/atoms/AsyncToast/index.js +0 -33
- package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +0 -5
- package/dist/dist/components/atoms/Toast/Toast.js +0 -113
- package/dist/dist/constants/countries.js +0 -8
- package/dist/dist/contexts/themeContext.js +0 -3
- package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -4
- package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -2661
- package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +0 -33
- package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -266
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -205
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -147
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -23
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -37
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -92
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -47
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -46
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -33
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -53
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -45
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -32
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -68
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -85
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -59
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -53
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -14
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -34
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -608
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -229
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -66
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -10
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +0 -64
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -48
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -44
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -26
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -128
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -22
- package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -41
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -29
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -52
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
- package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -19
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -12
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -11
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -16
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -18
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -24
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -49
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -17
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -9
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -9
- package/dist/dist/node_modules/lodash/lodash.js +0 -3677
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +0 -12
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -9
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -5
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +0 -19
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +0 -12
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +0 -11
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +0 -16
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +0 -18
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +0 -49
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +0 -16
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +0 -11
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +0 -1
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -74
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -9
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -17
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -16
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -32
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -4
- package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -13
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
- package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +0 -202
- package/dist/dist/node_modules/motion-utils/dist/es/array.js +0 -11
- package/dist/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
- package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
- package/dist/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -7
- package/dist/dist/node_modules/object-assign/index.js +0 -54
- package/dist/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/dist/node_modules/prop-types/index.js +0 -17
- package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/dist/node_modules/property-expr/index.js +0 -82
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
- package/dist/dist/node_modules/react/jsx-runtime.js +0 -10
- package/dist/dist/node_modules/tiny-case/index.js +0 -22
- package/dist/dist/node_modules/toposort/index.js +0 -66
- package/dist/dist/node_modules/yup/index.esm.js +0 -1359
- package/dist/dist/themes/default.js +0 -9
- package/dist/src/utils/toast.d.ts +0 -15
|
@@ -1,64 +1,22 @@
|
|
|
1
1
|
import { j as e } from "../../../_virtual/jsx-runtime.js";
|
|
2
2
|
import { faChevronRight as oe } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
|
|
3
3
|
import { faChevronLeft as ne } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
|
|
4
|
-
import { useState as
|
|
4
|
+
import { useState as p, useEffect as $, useRef as H } from "react";
|
|
5
5
|
import { FontAwesomeIcon as se } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
6
6
|
import "../../../_virtual/lodash.js";
|
|
7
|
-
import { useTheme as
|
|
7
|
+
import { useTheme as ae } from "../../../hooks/useTheme.js";
|
|
8
8
|
import Y from "../FloatingMenu/FloatingMenu.js";
|
|
9
|
-
import
|
|
9
|
+
import ie from "./PeriodToggle.js";
|
|
10
10
|
import le from "./TimeDisplay.js";
|
|
11
|
-
import { faChevronDown as
|
|
11
|
+
import { faChevronDown as ce } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
|
|
12
12
|
import "react-hook-form";
|
|
13
|
-
import "../../../_virtual/client.js";
|
|
14
|
-
import "../../../dist/_virtual/jsx-runtime.js";
|
|
15
|
-
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
16
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
17
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
18
|
-
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
19
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
20
|
-
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
21
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
22
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
23
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
24
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
25
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
26
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
27
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
28
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
29
|
-
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
30
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
31
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
32
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
33
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
34
|
-
import "../../../dist/_virtual/lodash.js";
|
|
35
|
-
import "../../../dist/contexts/themeContext.js";
|
|
36
|
-
import "../../../dist/constants/countries.js";
|
|
37
|
-
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
38
|
-
import "react-dom";
|
|
39
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
40
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
41
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
42
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
43
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
44
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
45
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
46
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
47
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
48
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
49
|
-
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
50
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
51
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
52
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
53
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
54
|
-
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
55
13
|
import "../../../constants/countries.js";
|
|
56
14
|
import I from "../../atoms/IconButton/IconButton.js";
|
|
57
15
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
58
|
-
import { AnimatePresence as
|
|
16
|
+
import { AnimatePresence as me } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
59
17
|
import { motion as B } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
60
|
-
import { startOfWeek as
|
|
61
|
-
import { startOfMonth as
|
|
18
|
+
import { startOfWeek as de } from "../../../node_modules/date-fns/startOfWeek.js";
|
|
19
|
+
import { startOfMonth as pe } from "../../../node_modules/date-fns/startOfMonth.js";
|
|
62
20
|
import { endOfWeek as ue } from "../../../node_modules/date-fns/endOfWeek.js";
|
|
63
21
|
import { endOfMonth as fe } from "../../../node_modules/date-fns/endOfMonth.js";
|
|
64
22
|
import { eachDayOfInterval as xe } from "../../../node_modules/date-fns/eachDayOfInterval.js";
|
|
@@ -72,25 +30,25 @@ import { setMinutes as R } from "../../../node_modules/date-fns/setMinutes.js";
|
|
|
72
30
|
import { setSeconds as L } from "../../../node_modules/date-fns/setSeconds.js";
|
|
73
31
|
import { formatDate as u } from "../../../node_modules/date-fns/format.js";
|
|
74
32
|
import { es as h } from "../../../node_modules/date-fns/locale/es.js";
|
|
75
|
-
const
|
|
76
|
-
date:
|
|
33
|
+
const et = ({
|
|
34
|
+
date: c,
|
|
77
35
|
onDateChange: S,
|
|
78
36
|
showTimeSelector: _ = !0,
|
|
79
37
|
maxDate: g
|
|
80
38
|
}) => {
|
|
81
|
-
const [
|
|
82
|
-
|
|
83
|
-
), [C, O] =
|
|
39
|
+
const [a, M] = p(c), [E, w] = p(c), [y, k] = p(c.getHours() % 12 || 12), [b, A] = p(
|
|
40
|
+
c.getHours() >= 12 ? "PM" : "AM"
|
|
41
|
+
), [C, O] = p(0), { t: W } = ae(), [P, j] = p(!1), [T, N] = p(!1);
|
|
84
42
|
$(() => {
|
|
85
|
-
M(
|
|
86
|
-
}, [
|
|
43
|
+
M(c), w(c), k(c.getHours() % 12 || 12), A(c.getHours() >= 12 ? "PM" : "AM");
|
|
44
|
+
}, [c]);
|
|
87
45
|
const q = () => {
|
|
88
46
|
O(-1), setTimeout(() => {
|
|
89
|
-
M(ye(
|
|
47
|
+
M(ye(a));
|
|
90
48
|
}, 10);
|
|
91
49
|
}, z = () => {
|
|
92
50
|
O(1), setTimeout(() => {
|
|
93
|
-
M(ve(
|
|
51
|
+
M(ve(a, 1));
|
|
94
52
|
}, 10);
|
|
95
53
|
}, G = (t) => {
|
|
96
54
|
if (g && t > g)
|
|
@@ -110,7 +68,7 @@ const Lt = ({
|
|
|
110
68
|
}, K = (t) => {
|
|
111
69
|
A(t);
|
|
112
70
|
}, Q = () => {
|
|
113
|
-
const t = /* @__PURE__ */ new Date(), s = 20,
|
|
71
|
+
const t = /* @__PURE__ */ new Date(), s = 20, m = 5, [n, D] = p(() => Array.from({ length: s + 1 }, (r, l) => {
|
|
114
72
|
const o = new Date(t.getFullYear(), t.getMonth() - l, 1);
|
|
115
73
|
return {
|
|
116
74
|
name: u(o, "MMMM", { locale: h }).replace(/^./, (f) => f.toUpperCase()),
|
|
@@ -121,11 +79,11 @@ const Lt = ({
|
|
|
121
79
|
(f) => f.toUpperCase()
|
|
122
80
|
)} ${o.getFullYear()}`
|
|
123
81
|
};
|
|
124
|
-
})),
|
|
82
|
+
})), i = H(null), d = H(null);
|
|
125
83
|
$(() => {
|
|
126
|
-
|
|
84
|
+
i.current && i.current.disconnect(), i.current = new IntersectionObserver((r) => {
|
|
127
85
|
r[0].isIntersecting && D((l) => {
|
|
128
|
-
const o = l[l.length - 1], f = new Date(o.year, o.index - 1, 1), te = Array.from({ length:
|
|
86
|
+
const o = l[l.length - 1], f = new Date(o.year, o.index - 1, 1), te = Array.from({ length: m }, (we, re) => {
|
|
129
87
|
const x = new Date(f.getFullYear(), f.getMonth() - re, 1);
|
|
130
88
|
return {
|
|
131
89
|
name: u(x, "MMMM", { locale: h }).replace(/^./, (F) => F.toUpperCase()),
|
|
@@ -139,10 +97,10 @@ const Lt = ({
|
|
|
139
97
|
});
|
|
140
98
|
return [...l, ...te];
|
|
141
99
|
});
|
|
142
|
-
}),
|
|
100
|
+
}), d.current && i.current.observe(d.current);
|
|
143
101
|
}, [n]);
|
|
144
102
|
const v = (r, l) => {
|
|
145
|
-
const o = new Date(
|
|
103
|
+
const o = new Date(a);
|
|
146
104
|
o.setMonth(r), o.setFullYear(l), M(o), N(!1);
|
|
147
105
|
};
|
|
148
106
|
return /* @__PURE__ */ e.jsx("div", { className: "flex flex-col p-8 max-h-200 overflow-y-auto bg-light gap-4", children: n.map((r, l) => {
|
|
@@ -150,9 +108,9 @@ const Lt = ({
|
|
|
150
108
|
return /* @__PURE__ */ e.jsx(
|
|
151
109
|
"button",
|
|
152
110
|
{
|
|
153
|
-
ref: o ?
|
|
111
|
+
ref: o ? d : null,
|
|
154
112
|
onClick: () => v(r.index, r.year),
|
|
155
|
-
className: `text-start p-6 font-600 transition-all duration-100 rounded-lg hover:bg-gray-100 ${
|
|
113
|
+
className: `text-start p-6 font-600 transition-all duration-100 rounded-lg hover:bg-gray-100 ${a.getMonth() === r.index && a.getFullYear() === r.year ? "bg-blue-100" : ""}`,
|
|
156
114
|
children: r.displayName
|
|
157
115
|
},
|
|
158
116
|
`${r.name}-${r.year}-${l}`
|
|
@@ -174,11 +132,11 @@ const Lt = ({
|
|
|
174
132
|
onClick: () => N(!T),
|
|
175
133
|
className: "hover:text-blue-500 transition-colors duration-150 flex gap-6 items-center",
|
|
176
134
|
children: [
|
|
177
|
-
/* @__PURE__ */ e.jsx("h4", { className: "text-header-4", children: u(
|
|
135
|
+
/* @__PURE__ */ e.jsx("h4", { className: "text-header-4", children: u(a, "MMMM yyyy", { locale: h }).replace(
|
|
178
136
|
/^./,
|
|
179
137
|
(t) => t.toUpperCase()
|
|
180
138
|
) }),
|
|
181
|
-
/* @__PURE__ */ e.jsx(se, { icon:
|
|
139
|
+
/* @__PURE__ */ e.jsx(se, { icon: ce, className: "w-12 h-12" })
|
|
182
140
|
]
|
|
183
141
|
}
|
|
184
142
|
)
|
|
@@ -205,22 +163,22 @@ const Lt = ({
|
|
|
205
163
|
)
|
|
206
164
|
] })
|
|
207
165
|
] }), X = () => {
|
|
208
|
-
const t = pe(
|
|
209
|
-
return /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-7 gap-2", children:
|
|
210
|
-
const
|
|
166
|
+
const t = de(pe(a)), s = ue(fe(a)), m = xe({ start: t, end: s });
|
|
167
|
+
return /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-7 gap-2", children: m.map((n, D) => {
|
|
168
|
+
const i = he(n, E), d = ge(n, a), v = Me(n), r = g ? n > g : !1;
|
|
211
169
|
return /* @__PURE__ */ e.jsx(
|
|
212
170
|
B.div,
|
|
213
171
|
{
|
|
214
172
|
className: `
|
|
215
173
|
p-2 text-center w-[40px] h-[40px] rounded-full flex items-center justify-center font-600 select-none
|
|
216
|
-
${!
|
|
217
|
-
${v && !
|
|
174
|
+
${!d || r ? "text-gray-400 pointer-events-none" : "cursor-pointer"}
|
|
175
|
+
${v && !i ? "text-blue-600" : ""}
|
|
218
176
|
`,
|
|
219
177
|
onClick: () => G(n),
|
|
220
178
|
initial: !1,
|
|
221
179
|
animate: {
|
|
222
|
-
backgroundColor:
|
|
223
|
-
color:
|
|
180
|
+
backgroundColor: i ? "#93C5FD" : "transparent",
|
|
181
|
+
color: i ? "#FFFFFF" : v ? "#2563EB" : d && !r ? "#000000" : "#9CA3AF"
|
|
224
182
|
},
|
|
225
183
|
transition: {
|
|
226
184
|
duration: 0.2,
|
|
@@ -230,11 +188,11 @@ const Lt = ({
|
|
|
230
188
|
ease: "easeOut"
|
|
231
189
|
}
|
|
232
190
|
},
|
|
233
|
-
whileHover:
|
|
191
|
+
whileHover: d && !i && !r ? {
|
|
234
192
|
backgroundColor: "#E5E7EB"
|
|
235
193
|
} : {},
|
|
236
|
-
whileTap:
|
|
237
|
-
backgroundColor:
|
|
194
|
+
whileTap: d && !r ? {
|
|
195
|
+
backgroundColor: i ? "#7AA5E0" : "#D1D5DB"
|
|
238
196
|
} : {},
|
|
239
197
|
children: u(n, "d")
|
|
240
198
|
},
|
|
@@ -242,17 +200,17 @@ const Lt = ({
|
|
|
242
200
|
);
|
|
243
201
|
}) });
|
|
244
202
|
}, Z = () => {
|
|
245
|
-
const t = Array.from({ length: 12 }, (
|
|
203
|
+
const t = Array.from({ length: 12 }, (m, n) => n + 1), s = () => /* @__PURE__ */ e.jsx("div", { className: "bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4", children: t.map((m) => /* @__PURE__ */ e.jsxs(
|
|
246
204
|
"button",
|
|
247
205
|
{
|
|
248
|
-
onClick: () => J(
|
|
249
|
-
className: `w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${
|
|
206
|
+
onClick: () => J(m),
|
|
207
|
+
className: `w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${m === y ? "text-blue-500 font-medium" : ""}`,
|
|
250
208
|
children: [
|
|
251
|
-
String(
|
|
209
|
+
String(m).padStart(2, "0"),
|
|
252
210
|
":00"
|
|
253
211
|
]
|
|
254
212
|
},
|
|
255
|
-
|
|
213
|
+
m
|
|
256
214
|
)) });
|
|
257
215
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mt-4 mb-4", children: [
|
|
258
216
|
/* @__PURE__ */ e.jsx("h4", { className: "text-body-m font-medium", children: W("time") }),
|
|
@@ -277,7 +235,7 @@ const Lt = ({
|
|
|
277
235
|
}
|
|
278
236
|
),
|
|
279
237
|
/* @__PURE__ */ e.jsx(
|
|
280
|
-
|
|
238
|
+
ie,
|
|
281
239
|
{
|
|
282
240
|
selectedPeriod: b,
|
|
283
241
|
handlePeriodChange: K
|
|
@@ -321,7 +279,7 @@ const Lt = ({
|
|
|
321
279
|
};
|
|
322
280
|
return /* @__PURE__ */ e.jsxs("div", { className: "rounded-3xl max-w-[300px] mx-auto bg-white p-24 relative overflow-hidden", children: [
|
|
323
281
|
V(),
|
|
324
|
-
/* @__PURE__ */ e.jsx(
|
|
282
|
+
/* @__PURE__ */ e.jsx(me, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ e.jsx(
|
|
325
283
|
B.div,
|
|
326
284
|
{
|
|
327
285
|
variants: ee,
|
|
@@ -331,11 +289,11 @@ const Lt = ({
|
|
|
331
289
|
className: "w-full",
|
|
332
290
|
children: X()
|
|
333
291
|
},
|
|
334
|
-
u(
|
|
292
|
+
u(a, "yyyy-MM")
|
|
335
293
|
) }),
|
|
336
294
|
_ && Z()
|
|
337
295
|
] });
|
|
338
296
|
};
|
|
339
297
|
export {
|
|
340
|
-
|
|
298
|
+
et as default
|
|
341
299
|
};
|
|
@@ -1,72 +1,30 @@
|
|
|
1
1
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
2
2
|
import { faX as u } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
3
|
-
import { FontAwesomeIcon as
|
|
3
|
+
import { FontAwesomeIcon as a } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../../_virtual/lodash.js";
|
|
6
6
|
import { useTheme as y } from "../../../hooks/useTheme.js";
|
|
7
7
|
import { faCheck as v } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
|
|
8
8
|
import "react-hook-form";
|
|
9
9
|
import g from "../../atoms/BoxContainer/BoxContainer.js";
|
|
10
|
-
import "
|
|
11
|
-
import "../../../dist/_virtual/jsx-runtime.js";
|
|
12
|
-
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
13
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
14
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
15
|
-
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
16
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
17
|
-
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
18
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
19
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
20
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
21
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
22
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
23
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
24
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
25
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
26
|
-
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
27
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
28
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
29
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
30
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
31
|
-
import "../../../dist/_virtual/lodash.js";
|
|
32
|
-
import "../../../dist/contexts/themeContext.js";
|
|
33
|
-
import "../../../dist/constants/countries.js";
|
|
34
|
-
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
35
|
-
import "react-dom";
|
|
36
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
37
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
38
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
39
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
40
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
41
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
42
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
43
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
44
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
45
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
46
|
-
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
47
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
48
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
49
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
50
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
51
|
-
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
52
|
-
import m from "../../atoms/Button/Button.js";
|
|
10
|
+
import l from "../../atoms/Button/Button.js";
|
|
53
11
|
import "../../../constants/countries.js";
|
|
54
12
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
55
13
|
import { AnimatePresence as N } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
56
|
-
import { motion as
|
|
57
|
-
const
|
|
58
|
-
title:
|
|
59
|
-
description:
|
|
60
|
-
open:
|
|
61
|
-
onClose:
|
|
62
|
-
onConfirm:
|
|
63
|
-
onCancel:
|
|
64
|
-
icon:
|
|
14
|
+
import { motion as r } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
15
|
+
const R = ({
|
|
16
|
+
title: n,
|
|
17
|
+
description: c,
|
|
18
|
+
open: o,
|
|
19
|
+
onClose: e,
|
|
20
|
+
onConfirm: m,
|
|
21
|
+
onCancel: t,
|
|
22
|
+
icon: x = v
|
|
65
23
|
}) => {
|
|
66
|
-
const
|
|
24
|
+
const d = {
|
|
67
25
|
hidden: { opacity: 0 },
|
|
68
26
|
visible: { opacity: 1 }
|
|
69
|
-
},
|
|
27
|
+
}, f = {
|
|
70
28
|
hidden: {
|
|
71
29
|
opacity: 0,
|
|
72
30
|
scale: 0.8,
|
|
@@ -90,25 +48,25 @@ const ki = ({
|
|
|
90
48
|
duration: 0.2
|
|
91
49
|
}
|
|
92
50
|
}
|
|
93
|
-
},
|
|
94
|
-
|
|
51
|
+
}, p = () => {
|
|
52
|
+
m(), e();
|
|
95
53
|
}, h = () => {
|
|
96
|
-
|
|
97
|
-
}, { t:
|
|
98
|
-
return /* @__PURE__ */ i.jsx(N, { children:
|
|
99
|
-
|
|
54
|
+
t == null || t(), e();
|
|
55
|
+
}, { t: s } = y();
|
|
56
|
+
return /* @__PURE__ */ i.jsx(N, { children: o && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
57
|
+
r.div,
|
|
100
58
|
{
|
|
101
59
|
className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
|
|
102
60
|
initial: "hidden",
|
|
103
61
|
animate: "visible",
|
|
104
62
|
exit: "hidden",
|
|
105
|
-
variants:
|
|
106
|
-
onClick:
|
|
63
|
+
variants: d,
|
|
64
|
+
onClick: e,
|
|
107
65
|
children: /* @__PURE__ */ i.jsx(
|
|
108
|
-
|
|
66
|
+
r.div,
|
|
109
67
|
{
|
|
110
68
|
className: "w-full max-w-sm mx-16 z-50",
|
|
111
|
-
variants:
|
|
69
|
+
variants: f,
|
|
112
70
|
initial: "hidden",
|
|
113
71
|
animate: "visible",
|
|
114
72
|
exit: "exit",
|
|
@@ -116,43 +74,43 @@ const ki = ({
|
|
|
116
74
|
children: /* @__PURE__ */ i.jsxs(g, { className: "flex flex-col gap-20 p-32", children: [
|
|
117
75
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", children: [
|
|
118
76
|
/* @__PURE__ */ i.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ i.jsx(
|
|
119
|
-
|
|
77
|
+
a,
|
|
120
78
|
{
|
|
121
79
|
icon: u,
|
|
122
80
|
className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",
|
|
123
|
-
onClick:
|
|
81
|
+
onClick: e
|
|
124
82
|
}
|
|
125
83
|
) }),
|
|
126
84
|
/* @__PURE__ */ i.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ i.jsx("div", { className: "bg-blue-100 rounded-full w-76 h-76 flex justify-center items-center", children: /* @__PURE__ */ i.jsx(
|
|
127
|
-
|
|
85
|
+
a,
|
|
128
86
|
{
|
|
129
|
-
icon:
|
|
87
|
+
icon: x,
|
|
130
88
|
className: "w-32 h-36 min-h-36 min-w-36 text-blue-500",
|
|
131
|
-
onClick:
|
|
89
|
+
onClick: e
|
|
132
90
|
}
|
|
133
91
|
) }) })
|
|
134
92
|
] }),
|
|
135
93
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-20 items-center justify-center", children: [
|
|
136
94
|
/* @__PURE__ */ i.jsxs("div", { className: "text-center w-full", children: [
|
|
137
|
-
/* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children:
|
|
138
|
-
/* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children:
|
|
95
|
+
/* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children: n }),
|
|
96
|
+
/* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children: c })
|
|
139
97
|
] }),
|
|
140
98
|
/* @__PURE__ */ i.jsxs("div", { className: "flex justify-center w-full gap-16", children: [
|
|
141
|
-
!!
|
|
142
|
-
|
|
99
|
+
!!t && /* @__PURE__ */ i.jsx(
|
|
100
|
+
l,
|
|
143
101
|
{
|
|
144
102
|
size: "lg",
|
|
145
103
|
onClick: h,
|
|
146
104
|
variant: "transparent",
|
|
147
|
-
children:
|
|
105
|
+
children: s("cancel")
|
|
148
106
|
}
|
|
149
107
|
),
|
|
150
108
|
/* @__PURE__ */ i.jsx(
|
|
151
|
-
|
|
109
|
+
l,
|
|
152
110
|
{
|
|
153
111
|
size: "lg",
|
|
154
|
-
onClick:
|
|
155
|
-
children:
|
|
112
|
+
onClick: p,
|
|
113
|
+
children: s("confirm")
|
|
156
114
|
}
|
|
157
115
|
)
|
|
158
116
|
] })
|
|
@@ -164,5 +122,5 @@ const ki = ({
|
|
|
164
122
|
) }) });
|
|
165
123
|
};
|
|
166
124
|
export {
|
|
167
|
-
|
|
125
|
+
R as default
|
|
168
126
|
};
|
|
@@ -6,82 +6,40 @@ import "../../../_virtual/lodash.js";
|
|
|
6
6
|
import "../../../contexts/themeContext.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import _ from "../../atoms/BoxContainer/BoxContainer.js";
|
|
9
|
-
import "../../../_virtual/client.js";
|
|
10
|
-
import "../../../dist/_virtual/jsx-runtime.js";
|
|
11
|
-
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
12
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
13
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
14
|
-
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
15
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
16
|
-
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
17
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
18
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
19
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
20
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
21
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
22
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
23
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
24
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
25
|
-
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
26
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
27
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
28
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
29
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
30
|
-
import "../../../dist/_virtual/lodash.js";
|
|
31
|
-
import "../../../dist/contexts/themeContext.js";
|
|
32
|
-
import "../../../dist/constants/countries.js";
|
|
33
|
-
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
34
|
-
import "react-dom";
|
|
35
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
36
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
37
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
38
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
39
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
40
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
41
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
42
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
43
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
44
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
45
|
-
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
46
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
47
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
48
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
49
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
50
|
-
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
51
9
|
import "../../../constants/countries.js";
|
|
52
10
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
53
11
|
import { autoUpdate as z } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
54
12
|
import { offset as B, flip as D, shift as T } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
|
|
55
|
-
const
|
|
56
|
-
open:
|
|
57
|
-
onClose:
|
|
58
|
-
component:
|
|
59
|
-
children:
|
|
60
|
-
placement:
|
|
61
|
-
className:
|
|
62
|
-
strategy:
|
|
63
|
-
offset:
|
|
64
|
-
padding:
|
|
13
|
+
const W = ({
|
|
14
|
+
open: e,
|
|
15
|
+
onClose: s,
|
|
16
|
+
component: i,
|
|
17
|
+
children: a,
|
|
18
|
+
placement: l = "bottom",
|
|
19
|
+
className: f = "",
|
|
20
|
+
strategy: m = "absolute",
|
|
21
|
+
offset: c = 8,
|
|
22
|
+
padding: p = 8
|
|
65
23
|
}) => {
|
|
66
|
-
const [d,
|
|
24
|
+
const [d, r] = w(e);
|
|
67
25
|
P(() => {
|
|
68
|
-
|
|
69
|
-
}, [
|
|
26
|
+
r(e);
|
|
27
|
+
}, [e]);
|
|
70
28
|
const u = () => {
|
|
71
|
-
|
|
72
|
-
}, { x: g, y: x, strategy: y, refs:
|
|
73
|
-
strategy:
|
|
29
|
+
r(!1), s == null || s();
|
|
30
|
+
}, { x: g, y: x, strategy: y, refs: n, context: o } = M({
|
|
31
|
+
strategy: m,
|
|
74
32
|
open: d,
|
|
75
33
|
onOpenChange: (I) => {
|
|
76
34
|
I || u();
|
|
77
35
|
},
|
|
78
|
-
middleware: [B(
|
|
36
|
+
middleware: [B(c), D(), T({ padding: p })],
|
|
79
37
|
whileElementsMounted: z,
|
|
80
|
-
placement:
|
|
81
|
-
}), h = N(
|
|
38
|
+
placement: l
|
|
39
|
+
}), h = N(o), j = O(o), { getReferenceProps: v, getFloatingProps: E } = S([
|
|
82
40
|
h,
|
|
83
41
|
j
|
|
84
|
-
]), { isMounted: F, styles: R } = b(
|
|
42
|
+
]), { isMounted: F, styles: R } = b(o, {
|
|
85
43
|
duration: {
|
|
86
44
|
open: 200,
|
|
87
45
|
close: 150
|
|
@@ -95,16 +53,16 @@ const Ut = ({
|
|
|
95
53
|
/* @__PURE__ */ t.jsx(
|
|
96
54
|
"div",
|
|
97
55
|
{
|
|
98
|
-
ref:
|
|
56
|
+
ref: n.setReference,
|
|
99
57
|
...v(),
|
|
100
58
|
className: "reference-element",
|
|
101
|
-
children:
|
|
59
|
+
children: a
|
|
102
60
|
}
|
|
103
61
|
),
|
|
104
62
|
F && /* @__PURE__ */ t.jsx(
|
|
105
63
|
"div",
|
|
106
64
|
{
|
|
107
|
-
ref:
|
|
65
|
+
ref: n.setFloating,
|
|
108
66
|
style: {
|
|
109
67
|
position: y,
|
|
110
68
|
top: x ?? 0,
|
|
@@ -114,11 +72,11 @@ const Ut = ({
|
|
|
114
72
|
},
|
|
115
73
|
...E(),
|
|
116
74
|
className: "floating-element",
|
|
117
|
-
children: /* @__PURE__ */ t.jsx(_, { className:
|
|
75
|
+
children: /* @__PURE__ */ t.jsx(_, { className: f, children: typeof i == "function" ? k.createElement(i) : i })
|
|
118
76
|
}
|
|
119
77
|
)
|
|
120
78
|
] });
|
|
121
79
|
};
|
|
122
80
|
export {
|
|
123
|
-
|
|
81
|
+
W as default
|
|
124
82
|
};
|