lawgic-dev-kit 0.12.8 → 0.12.9
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/index5.js +2 -2
- package/dist/_virtual/index6.js +2 -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/utils/modal.js +59 -101
- package/dist/utils/toast.js +73 -106
- package/package.json +1 -1
- 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
package/dist/_virtual/client.js
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
|
|
1
|
+
import { __require as c } from "../node_modules/react-dom/client.js";
|
|
2
|
+
function a(t, i) {
|
|
3
|
+
for (var o = 0; o < i.length; o++) {
|
|
4
|
+
const e = i[o];
|
|
5
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const r in e)
|
|
7
|
+
if (r !== "default" && !(r in t)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(e, r);
|
|
9
|
+
n && Object.defineProperty(t, r, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => e[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var f = c();
|
|
19
|
+
const l = /* @__PURE__ */ a({
|
|
20
|
+
__proto__: null
|
|
21
|
+
}, [f]);
|
|
3
22
|
export {
|
|
4
|
-
|
|
23
|
+
l as c
|
|
5
24
|
};
|
package/dist/_virtual/index5.js
CHANGED
package/dist/_virtual/index6.js
CHANGED
|
@@ -1,114 +1,72 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as a } from "../../../_virtual/jsx-runtime.js";
|
|
2
2
|
import { faUser as A } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
|
|
3
3
|
import { FontAwesomeIcon as H } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
4
|
import { useState as W } from "react";
|
|
5
|
-
import { stringToColor as
|
|
5
|
+
import { stringToColor as h } from "../../../utils/strings.js";
|
|
6
6
|
import { getImageUrl as E } from "../../../utils/images.js";
|
|
7
7
|
import "../../../_virtual/lodash.js";
|
|
8
8
|
import "../../../contexts/themeContext.js";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "../../../constants/countries.js";
|
|
11
11
|
import "../ImageProfileInput/ImageProfileInput.validators.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
15
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
16
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
17
|
-
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
18
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
19
|
-
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
20
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
21
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
22
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
23
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
24
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
25
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
26
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
27
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
28
|
-
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
29
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
30
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
31
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
32
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
33
|
-
import "../../../dist/_virtual/lodash.js";
|
|
34
|
-
import "../../../dist/contexts/themeContext.js";
|
|
35
|
-
import "../../../dist/constants/countries.js";
|
|
36
|
-
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
37
|
-
import "react-dom";
|
|
38
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
39
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
40
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
41
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
42
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
43
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
44
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
45
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
46
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
47
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
48
|
-
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
49
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
50
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
51
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
52
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
53
|
-
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
54
|
-
const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m = "", size: n = 30, user: t = null }) => {
|
|
55
|
-
const { className: d = " ", ...g } = h, { className: s = " ", ...v } = x, r = n + "px", i = n * 0.5 + "px", e = n * 0.4 + "px", [j, w] = W(!1), N = () => m ? f(m) : t ? f(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", p = (c) => {
|
|
12
|
+
const V = ({ containerProps: x = {}, imageProps: d = {}, src: m = "", alt: i = "", size: e = 30, user: t = null }) => {
|
|
13
|
+
const { className: p = " ", ...g } = x, { className: s = " ", ...v } = d, o = e + "px", n = e * 0.5 + "px", l = e * 0.4 + "px", [j, w] = W(!1), N = () => i ? h(i) : t ? h(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", c = (f) => {
|
|
56
14
|
try {
|
|
57
|
-
return
|
|
15
|
+
return f ? (new URL(f), !0) : !1;
|
|
58
16
|
} catch (C) {
|
|
59
17
|
return console.log(C), !1;
|
|
60
18
|
}
|
|
61
|
-
}, y = () =>
|
|
19
|
+
}, y = () => c(m) ? m : t != null && t.image && c(t.image) ? t.image : t != null && t.image ? E(t.image) : "", S = () => i ? /* @__PURE__ */ a.jsx(
|
|
62
20
|
"h4",
|
|
63
21
|
{
|
|
64
22
|
className: "text-white uppercase font-600 text-nowrap",
|
|
65
23
|
style: {
|
|
66
|
-
fontSize:
|
|
24
|
+
fontSize: l
|
|
67
25
|
},
|
|
68
|
-
children:
|
|
26
|
+
children: i
|
|
69
27
|
}
|
|
70
|
-
) : t ? /* @__PURE__ */
|
|
28
|
+
) : t ? /* @__PURE__ */ a.jsx(
|
|
71
29
|
"h4",
|
|
72
30
|
{
|
|
73
31
|
className: "text-white uppercase font-600 text-nowrap",
|
|
74
32
|
style: {
|
|
75
|
-
fontSize:
|
|
33
|
+
fontSize: l
|
|
76
34
|
},
|
|
77
35
|
children: t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || " ")[0] + ((t == null ? void 0 : t.last_name) || " ")[0] : ((t == null ? void 0 : t.email) || " ")[0]
|
|
78
36
|
}
|
|
79
|
-
) : /* @__PURE__ */
|
|
37
|
+
) : /* @__PURE__ */ a.jsx(
|
|
80
38
|
H,
|
|
81
39
|
{
|
|
82
40
|
style: {
|
|
83
|
-
maxWidth:
|
|
84
|
-
maxHeight:
|
|
85
|
-
minWidth:
|
|
86
|
-
minHeight:
|
|
41
|
+
maxWidth: n,
|
|
42
|
+
maxHeight: n,
|
|
43
|
+
minWidth: n,
|
|
44
|
+
minHeight: n
|
|
87
45
|
},
|
|
88
46
|
icon: A,
|
|
89
47
|
className: "w-full text-white"
|
|
90
48
|
}
|
|
91
49
|
), _ = () => {
|
|
92
50
|
w(!0);
|
|
93
|
-
},
|
|
94
|
-
return /* @__PURE__ */
|
|
51
|
+
}, r = y();
|
|
52
|
+
return /* @__PURE__ */ a.jsxs(
|
|
95
53
|
"div",
|
|
96
54
|
{
|
|
97
|
-
className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " +
|
|
55
|
+
className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + p,
|
|
98
56
|
style: {
|
|
99
|
-
maxWidth:
|
|
100
|
-
maxHeight:
|
|
101
|
-
minWidth:
|
|
102
|
-
minHeight:
|
|
57
|
+
maxWidth: o,
|
|
58
|
+
maxHeight: o,
|
|
59
|
+
minWidth: o,
|
|
60
|
+
minHeight: o,
|
|
103
61
|
backgroundColor: N()
|
|
104
62
|
},
|
|
105
63
|
...g,
|
|
106
64
|
children: [
|
|
107
|
-
|
|
65
|
+
r && !j && /* @__PURE__ */ a.jsx(
|
|
108
66
|
"img",
|
|
109
67
|
{
|
|
110
|
-
src:
|
|
111
|
-
alt:
|
|
68
|
+
src: r,
|
|
69
|
+
alt: i,
|
|
112
70
|
className: `
|
|
113
71
|
object-cover w-full h-full text-center indent-[10000px] absolute
|
|
114
72
|
z-10
|
|
@@ -118,17 +76,17 @@ const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m =
|
|
|
118
76
|
...v
|
|
119
77
|
}
|
|
120
78
|
),
|
|
121
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ a.jsx(
|
|
122
80
|
"div",
|
|
123
81
|
{
|
|
124
82
|
className: `
|
|
125
83
|
flex items-center justify-center leading-none text-center absolute
|
|
126
84
|
`,
|
|
127
85
|
style: {
|
|
128
|
-
maxWidth:
|
|
129
|
-
maxHeight:
|
|
130
|
-
minWidth:
|
|
131
|
-
minHeight:
|
|
86
|
+
maxWidth: n,
|
|
87
|
+
maxHeight: n,
|
|
88
|
+
minWidth: n,
|
|
89
|
+
minHeight: n
|
|
132
90
|
},
|
|
133
91
|
children: S()
|
|
134
92
|
}
|
|
@@ -138,5 +96,5 @@ const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m =
|
|
|
138
96
|
);
|
|
139
97
|
};
|
|
140
98
|
export {
|
|
141
|
-
|
|
99
|
+
V as default
|
|
142
100
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.js";
|
|
2
2
|
import { useState as g, useRef as $ } from "react";
|
|
3
3
|
import k from "../TextButton/TextButton.js";
|
|
4
4
|
import { useTheme as B } from "../../../hooks/useTheme.js";
|
|
@@ -8,55 +8,13 @@ import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
|
8
8
|
import "react-hook-form";
|
|
9
9
|
import "../../../constants/countries.js";
|
|
10
10
|
import "../ImageProfileInput/ImageProfileInput.validators.js";
|
|
11
|
-
|
|
12
|
-
import "../../../dist/_virtual/jsx-runtime.js";
|
|
13
|
-
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
14
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
15
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
16
|
-
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
17
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
18
|
-
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
19
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
20
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
21
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
22
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
23
|
-
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
24
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
25
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
26
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
27
|
-
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
28
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
29
|
-
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
30
|
-
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
31
|
-
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
32
|
-
import "../../../dist/_virtual/lodash.js";
|
|
33
|
-
import "../../../dist/contexts/themeContext.js";
|
|
34
|
-
import "../../../dist/constants/countries.js";
|
|
35
|
-
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
36
|
-
import "react-dom";
|
|
37
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
38
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
39
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
40
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
41
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
42
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
43
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
44
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
45
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
46
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
47
|
-
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
48
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
49
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
50
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
51
|
-
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
52
|
-
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
53
|
-
const Bt = ({
|
|
11
|
+
const q = ({
|
|
54
12
|
title: h = "drag_and_drop_your_files_here",
|
|
55
|
-
subtitle:
|
|
13
|
+
subtitle: d = null,
|
|
56
14
|
buttonTitle: v = "choose_files",
|
|
57
15
|
onUpload: j = () => {
|
|
58
16
|
},
|
|
59
|
-
acceptedExtensions:
|
|
17
|
+
acceptedExtensions: o = [
|
|
60
18
|
"pdf",
|
|
61
19
|
"png",
|
|
62
20
|
"jpg",
|
|
@@ -67,57 +25,57 @@ const Bt = ({
|
|
|
67
25
|
"xls",
|
|
68
26
|
"xlsx"
|
|
69
27
|
],
|
|
70
|
-
maxSize:
|
|
28
|
+
maxSize: n = 1024
|
|
71
29
|
// en KB
|
|
72
30
|
}) => {
|
|
73
|
-
const { t:
|
|
31
|
+
const { t: l } = B(), [m, a] = g(!1), [f, i] = g(""), c = $(null), y = o.map((e) => `.${e}`).join(","), u = (e) => {
|
|
74
32
|
const r = [];
|
|
75
|
-
let
|
|
76
|
-
Array.from(
|
|
33
|
+
let p = !1;
|
|
34
|
+
Array.from(e).forEach((s) => {
|
|
77
35
|
var x;
|
|
78
|
-
const _ = ((x =
|
|
79
|
-
if (!
|
|
80
|
-
|
|
81
|
-
`El archivo ${
|
|
82
|
-
),
|
|
36
|
+
const _ = ((x = s.name.split(".").pop()) == null ? void 0 : x.toLowerCase()) || "";
|
|
37
|
+
if (!o.includes(_)) {
|
|
38
|
+
i(
|
|
39
|
+
`El archivo ${s.name} tiene una extensión no permitida.`
|
|
40
|
+
), p = !0;
|
|
83
41
|
return;
|
|
84
42
|
}
|
|
85
|
-
if (
|
|
86
|
-
|
|
87
|
-
`El archivo ${
|
|
88
|
-
),
|
|
43
|
+
if (s.size > n * 1024) {
|
|
44
|
+
i(
|
|
45
|
+
`El archivo ${s.name} excede el tamaño máximo de ${n}KB.`
|
|
46
|
+
), p = !0;
|
|
89
47
|
return;
|
|
90
48
|
}
|
|
91
|
-
r.push(
|
|
92
|
-
}), !
|
|
49
|
+
r.push(s);
|
|
50
|
+
}), !p && r.length > 0 && (i(""), j(r));
|
|
93
51
|
}, D = () => {
|
|
94
|
-
|
|
95
|
-
}, b = (
|
|
96
|
-
const r =
|
|
97
|
-
r && r.length > 0 && u(r),
|
|
98
|
-
}, N = (
|
|
99
|
-
|
|
100
|
-
}, C = (
|
|
101
|
-
|
|
102
|
-
}, E = (
|
|
103
|
-
|
|
104
|
-
}, w = (
|
|
105
|
-
|
|
106
|
-
const r =
|
|
52
|
+
c.current && c.current.click();
|
|
53
|
+
}, b = (e) => {
|
|
54
|
+
const r = e.target.files;
|
|
55
|
+
r && r.length > 0 && u(r), e.target.value = "";
|
|
56
|
+
}, N = (e) => {
|
|
57
|
+
e.preventDefault(), e.stopPropagation(), a(!0);
|
|
58
|
+
}, C = (e) => {
|
|
59
|
+
e.preventDefault(), e.stopPropagation(), a(!1);
|
|
60
|
+
}, E = (e) => {
|
|
61
|
+
e.preventDefault(), e.stopPropagation(), m || a(!0);
|
|
62
|
+
}, w = (e) => {
|
|
63
|
+
e.preventDefault(), e.stopPropagation(), a(!1);
|
|
64
|
+
const r = e.dataTransfer.files;
|
|
107
65
|
r.length > 0 && u(r);
|
|
108
66
|
};
|
|
109
|
-
return /* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
67
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "w-full mx-auto font-sans", children: [
|
|
68
|
+
/* @__PURE__ */ t.jsxs(
|
|
111
69
|
"div",
|
|
112
70
|
{
|
|
113
|
-
className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${
|
|
71
|
+
className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${m ? "border-blue-400 bg-blue-100/50" : "border-gray-200 bg-white hover:border-blue-400"}`,
|
|
114
72
|
onDragEnter: N,
|
|
115
73
|
onDragLeave: C,
|
|
116
74
|
onDragOver: E,
|
|
117
75
|
onDrop: w,
|
|
118
76
|
onClick: D,
|
|
119
77
|
children: [
|
|
120
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex justify-center translate-y-4", children: /* @__PURE__ */ t.jsx(
|
|
121
79
|
"img",
|
|
122
80
|
{
|
|
123
81
|
className: "w-full h-auto max-w-160",
|
|
@@ -125,15 +83,15 @@ const Bt = ({
|
|
|
125
83
|
alt: "empty-state"
|
|
126
84
|
}
|
|
127
85
|
) }),
|
|
128
|
-
/* @__PURE__ */
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
87
|
+
/* @__PURE__ */ t.jsx("h3", { className: "font-600 text-xl text-dark", children: l(h) }),
|
|
88
|
+
d && /* @__PURE__ */ t.jsx("p", { className: "font-400 text-lg text-gray-500", children: l(d) }),
|
|
89
|
+
/* @__PURE__ */ t.jsx(k, { color: "blue", children: l(v) }),
|
|
90
|
+
/* @__PURE__ */ t.jsx(
|
|
133
91
|
"input",
|
|
134
92
|
{
|
|
135
93
|
type: "file",
|
|
136
|
-
ref:
|
|
94
|
+
ref: c,
|
|
137
95
|
className: "hidden",
|
|
138
96
|
multiple: !0,
|
|
139
97
|
accept: y,
|
|
@@ -144,15 +102,15 @@ const Bt = ({
|
|
|
144
102
|
]
|
|
145
103
|
}
|
|
146
104
|
),
|
|
147
|
-
f && /* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
|
|
105
|
+
f && /* @__PURE__ */ t.jsx("div", { className: "mt-3 text-sm text-red-500", children: f }),
|
|
106
|
+
/* @__PURE__ */ t.jsx("div", { className: "mt-10 w-full flex justify-center", children: /* @__PURE__ */ t.jsxs("span", { className: "text-gray-500 font-400 text-base", children: [
|
|
107
|
+
o.join(", ").toUpperCase(),
|
|
150
108
|
" formats. Maximus size:",
|
|
151
109
|
" ",
|
|
152
|
-
F(
|
|
110
|
+
F(n, "mb")
|
|
153
111
|
] }) })
|
|
154
112
|
] });
|
|
155
113
|
};
|
|
156
114
|
export {
|
|
157
|
-
|
|
115
|
+
q as default
|
|
158
116
|
};
|
|
@@ -6,65 +6,23 @@ import "../../../_virtual/lodash.js";
|
|
|
6
6
|
import { useTheme as j } from "../../../hooks/useTheme.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import g from "../../atoms/BoxContainer/BoxContainer.js";
|
|
9
|
-
import "
|
|
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
|
-
import o from "../../atoms/Button/Button.js";
|
|
9
|
+
import a from "../../atoms/Button/Button.js";
|
|
52
10
|
import "../../../constants/countries.js";
|
|
53
11
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
54
12
|
import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
55
|
-
import { motion as
|
|
56
|
-
const
|
|
57
|
-
title:
|
|
58
|
-
description:
|
|
59
|
-
open:
|
|
13
|
+
import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
14
|
+
const I = ({
|
|
15
|
+
title: s,
|
|
16
|
+
description: r,
|
|
17
|
+
open: l,
|
|
60
18
|
onClose: i,
|
|
61
|
-
onConfirm:
|
|
62
|
-
onCancel:
|
|
19
|
+
onConfirm: o,
|
|
20
|
+
onCancel: c
|
|
63
21
|
}) => {
|
|
64
|
-
const { t:
|
|
22
|
+
const { t: e } = j(), m = {
|
|
65
23
|
hidden: { opacity: 0 },
|
|
66
24
|
visible: { opacity: 1 }
|
|
67
|
-
},
|
|
25
|
+
}, x = {
|
|
68
26
|
hidden: {
|
|
69
27
|
opacity: 0,
|
|
70
28
|
scale: 0.8,
|
|
@@ -88,32 +46,32 @@ const Nt = ({
|
|
|
88
46
|
duration: 0.2
|
|
89
47
|
}
|
|
90
48
|
}
|
|
91
|
-
},
|
|
92
|
-
|
|
49
|
+
}, p = () => {
|
|
50
|
+
o(), i();
|
|
93
51
|
}, d = () => {
|
|
94
|
-
|
|
52
|
+
c(), i();
|
|
95
53
|
};
|
|
96
|
-
return /* @__PURE__ */ t.jsx(u, { children:
|
|
97
|
-
|
|
54
|
+
return /* @__PURE__ */ t.jsx(u, { children: l && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
55
|
+
n.div,
|
|
98
56
|
{
|
|
99
57
|
className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
|
|
100
58
|
initial: "hidden",
|
|
101
59
|
animate: "visible",
|
|
102
60
|
exit: "hidden",
|
|
103
|
-
variants:
|
|
61
|
+
variants: m,
|
|
104
62
|
onClick: i,
|
|
105
63
|
children: /* @__PURE__ */ t.jsx(
|
|
106
|
-
|
|
64
|
+
n.div,
|
|
107
65
|
{
|
|
108
66
|
className: "w-full max-w-4xl mx-16 z-50",
|
|
109
|
-
variants:
|
|
67
|
+
variants: x,
|
|
110
68
|
initial: "hidden",
|
|
111
69
|
animate: "visible",
|
|
112
70
|
exit: "exit",
|
|
113
71
|
onClick: (f) => f.stopPropagation(),
|
|
114
72
|
children: /* @__PURE__ */ t.jsxs(g, { className: "flex flex-col gap-16 p-32", children: [
|
|
115
73
|
/* @__PURE__ */ t.jsxs("div", { className: "flex justify-between items-center gap-16", children: [
|
|
116
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children:
|
|
74
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children: s }),
|
|
117
75
|
/* @__PURE__ */ t.jsx(
|
|
118
76
|
y,
|
|
119
77
|
{
|
|
@@ -123,23 +81,23 @@ const Nt = ({
|
|
|
123
81
|
}
|
|
124
82
|
)
|
|
125
83
|
] }),
|
|
126
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children:
|
|
84
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children: r }),
|
|
127
85
|
/* @__PURE__ */ t.jsxs("div", { className: "flex justify-end w-full gap-16", children: [
|
|
128
86
|
/* @__PURE__ */ t.jsx(
|
|
129
|
-
|
|
87
|
+
a,
|
|
130
88
|
{
|
|
131
89
|
onClick: d,
|
|
132
90
|
variant: "transparent",
|
|
133
91
|
className: "px-24 py-10! text-lg!",
|
|
134
|
-
children:
|
|
92
|
+
children: e("cancel")
|
|
135
93
|
}
|
|
136
94
|
),
|
|
137
95
|
/* @__PURE__ */ t.jsx(
|
|
138
|
-
|
|
96
|
+
a,
|
|
139
97
|
{
|
|
140
|
-
onClick:
|
|
98
|
+
onClick: p,
|
|
141
99
|
className: "px-24 py-16 text-lg!",
|
|
142
|
-
children:
|
|
100
|
+
children: e("confirm")
|
|
143
101
|
}
|
|
144
102
|
)
|
|
145
103
|
] })
|
|
@@ -150,5 +108,5 @@ const Nt = ({
|
|
|
150
108
|
) }) });
|
|
151
109
|
};
|
|
152
110
|
export {
|
|
153
|
-
|
|
111
|
+
I as default
|
|
154
112
|
};
|