lawgic-dev-kit 0.12.4 → 0.12.8
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 +3 -22
- package/dist/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +5 -3
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/components/atoms/Avatar/Avatar.js +71 -30
- package/dist/components/atoms/UploadContainer/UploadContainer.js +88 -47
- package/dist/components/molecules/AlertModal/AlertModal.js +67 -26
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +205 -145
- package/dist/components/molecules/DateInput/DateInput.d.ts +2 -2
- package/dist/components/molecules/DateInput/DateInput.js +63 -50
- package/dist/components/molecules/DialogModal/DialogModal.js +78 -37
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +74 -33
- package/dist/components/molecules/Tabs/Tabs.js +82 -41
- package/dist/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/dist/_virtual/index.js +7 -0
- package/dist/dist/_virtual/index3.js +5 -0
- package/dist/dist/_virtual/index4.js +5 -0
- package/dist/dist/_virtual/index5.js +7 -0
- package/dist/dist/_virtual/index6.js +4 -0
- package/dist/dist/_virtual/index7.js +4 -0
- package/dist/dist/_virtual/index8.js +4 -0
- package/dist/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/dist/_virtual/lodash.js +2 -0
- package/dist/dist/_virtual/lodash2.js +4 -0
- package/dist/dist/_virtual/react-is.development.js +4 -0
- package/dist/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/dist/_virtual/react-jsx-runtime.production.js +4 -0
- package/dist/dist/components/atoms/AsyncToast/index.js +33 -0
- package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +5 -0
- package/dist/dist/components/atoms/Toast/Toast.js +113 -0
- package/dist/dist/constants/countries.js +8 -0
- package/dist/dist/contexts/themeContext.js +3 -0
- package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +4 -0
- package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +2661 -0
- package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +33 -0
- package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +266 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +205 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +83 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +92 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +19 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +68 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +85 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +24 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +31 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +608 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +59 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +229 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +48 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +44 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +77 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +27 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +19 -0
- package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/dist/node_modules/lodash/lodash.js +3677 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +2 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +2 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +6 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +2 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +12 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +9 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +5 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +16 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +11 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +1 -0
- package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +4 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +41 -0
- package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +16 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +13 -0
- package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +202 -0
- package/dist/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/dist/node_modules/object-assign/index.js +54 -0
- package/dist/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/dist/node_modules/prop-types/index.js +17 -0
- package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/dist/node_modules/property-expr/index.js +82 -0
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
- package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
- package/dist/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/dist/node_modules/tiny-case/index.js +22 -0
- package/dist/dist/node_modules/toposort/index.js +66 -0
- package/dist/dist/node_modules/yup/index.esm.js +1359 -0
- package/dist/dist/themes/default.js +9 -0
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +884 -243
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/scheduler/index.js +1 -1
- package/dist/node_modules/toposort/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/src/utils/toast.d.ts +15 -0
- package/dist/utils/modal.js +98 -57
- package/dist/utils/toast.d.ts +1 -1
- package/dist/utils/toast.js +112 -98
- package/package.json +1 -1
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.d.ts +0 -3
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.styles.d.ts +0 -2
- package/dist/src/components/atoms/SectionButton/desktop/SectionButton.types.d.ts +0 -37
- package/dist/src/components/atoms/SectionButton/mobile/MobileSectionButton.styles.d.ts +0 -3
- package/dist/src/components/atoms/SectionButton/mobile/SectionButton.types.d.ts +0 -37
package/dist/_virtual/client.js
CHANGED
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
import { __require as
|
|
2
|
-
|
|
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]);
|
|
1
|
+
import { __require as r } from "../node_modules/react-dom/client.js";
|
|
2
|
+
var i = r();
|
|
22
3
|
export {
|
|
23
|
-
|
|
4
|
+
i as c
|
|
24
5
|
};
|
package/dist/_virtual/index2.js
CHANGED
package/dist/_virtual/index3.js
CHANGED
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as r } from "../node_modules/toposort/index.js";
|
|
3
|
+
var t = r();
|
|
4
|
+
const s = /* @__PURE__ */ o(t);
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
s as default
|
|
5
7
|
};
|
package/dist/_virtual/index5.js
CHANGED
package/dist/_virtual/index7.js
CHANGED
package/dist/_virtual/index8.js
CHANGED
|
@@ -1,73 +1,114 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as o } 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 f } 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
|
+
import "../../../_virtual/client.js";
|
|
13
|
+
import "../../../dist/_virtual/jsx-runtime.js";
|
|
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";
|
|
12
37
|
import "react-dom";
|
|
13
|
-
|
|
14
|
-
|
|
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) => {
|
|
15
56
|
try {
|
|
16
|
-
return
|
|
57
|
+
return c ? (new URL(c), !0) : !1;
|
|
17
58
|
} catch (C) {
|
|
18
59
|
return console.log(C), !1;
|
|
19
60
|
}
|
|
20
|
-
}, y = () =>
|
|
61
|
+
}, y = () => p(a) ? a : t != null && t.image && p(t.image) ? t.image : t != null && t.image ? E(t.image) : "", S = () => m ? /* @__PURE__ */ o.jsx(
|
|
21
62
|
"h4",
|
|
22
63
|
{
|
|
23
64
|
className: "text-white uppercase font-600 text-nowrap",
|
|
24
65
|
style: {
|
|
25
|
-
fontSize:
|
|
66
|
+
fontSize: e
|
|
26
67
|
},
|
|
27
|
-
children:
|
|
68
|
+
children: m
|
|
28
69
|
}
|
|
29
|
-
) : t ? /* @__PURE__ */
|
|
70
|
+
) : t ? /* @__PURE__ */ o.jsx(
|
|
30
71
|
"h4",
|
|
31
72
|
{
|
|
32
73
|
className: "text-white uppercase font-600 text-nowrap",
|
|
33
74
|
style: {
|
|
34
|
-
fontSize:
|
|
75
|
+
fontSize: e
|
|
35
76
|
},
|
|
36
77
|
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]
|
|
37
78
|
}
|
|
38
|
-
) : /* @__PURE__ */
|
|
79
|
+
) : /* @__PURE__ */ o.jsx(
|
|
39
80
|
H,
|
|
40
81
|
{
|
|
41
82
|
style: {
|
|
42
|
-
maxWidth:
|
|
43
|
-
maxHeight:
|
|
44
|
-
minWidth:
|
|
45
|
-
minHeight:
|
|
83
|
+
maxWidth: i,
|
|
84
|
+
maxHeight: i,
|
|
85
|
+
minWidth: i,
|
|
86
|
+
minHeight: i
|
|
46
87
|
},
|
|
47
88
|
icon: A,
|
|
48
89
|
className: "w-full text-white"
|
|
49
90
|
}
|
|
50
91
|
), _ = () => {
|
|
51
92
|
w(!0);
|
|
52
|
-
},
|
|
53
|
-
return /* @__PURE__ */
|
|
93
|
+
}, l = y();
|
|
94
|
+
return /* @__PURE__ */ o.jsxs(
|
|
54
95
|
"div",
|
|
55
96
|
{
|
|
56
97
|
className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + d,
|
|
57
98
|
style: {
|
|
58
|
-
maxWidth:
|
|
59
|
-
maxHeight:
|
|
60
|
-
minWidth:
|
|
61
|
-
minHeight:
|
|
99
|
+
maxWidth: r,
|
|
100
|
+
maxHeight: r,
|
|
101
|
+
minWidth: r,
|
|
102
|
+
minHeight: r,
|
|
62
103
|
backgroundColor: N()
|
|
63
104
|
},
|
|
64
105
|
...g,
|
|
65
106
|
children: [
|
|
66
|
-
|
|
107
|
+
l && !j && /* @__PURE__ */ o.jsx(
|
|
67
108
|
"img",
|
|
68
109
|
{
|
|
69
|
-
src:
|
|
70
|
-
alt:
|
|
110
|
+
src: l,
|
|
111
|
+
alt: m,
|
|
71
112
|
className: `
|
|
72
113
|
object-cover w-full h-full text-center indent-[10000px] absolute
|
|
73
114
|
z-10
|
|
@@ -77,17 +118,17 @@ const $ = ({ containerProps: x = {}, imageProps: p = {}, src: m = "", alt: i = "
|
|
|
77
118
|
...v
|
|
78
119
|
}
|
|
79
120
|
),
|
|
80
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ o.jsx(
|
|
81
122
|
"div",
|
|
82
123
|
{
|
|
83
124
|
className: `
|
|
84
125
|
flex items-center justify-center leading-none text-center absolute
|
|
85
126
|
`,
|
|
86
127
|
style: {
|
|
87
|
-
maxWidth:
|
|
88
|
-
maxHeight:
|
|
89
|
-
minWidth:
|
|
90
|
-
minHeight:
|
|
128
|
+
maxWidth: i,
|
|
129
|
+
maxHeight: i,
|
|
130
|
+
minWidth: i,
|
|
131
|
+
minHeight: i
|
|
91
132
|
},
|
|
92
133
|
children: S()
|
|
93
134
|
}
|
|
@@ -97,5 +138,5 @@ const $ = ({ containerProps: x = {}, imageProps: p = {}, src: m = "", alt: i = "
|
|
|
97
138
|
);
|
|
98
139
|
};
|
|
99
140
|
export {
|
|
100
|
-
|
|
141
|
+
Et as default
|
|
101
142
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } 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,14 +8,55 @@ 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
|
+
import "../../../_virtual/client.js";
|
|
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";
|
|
11
36
|
import "react-dom";
|
|
12
|
-
|
|
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 = ({
|
|
13
54
|
title: h = "drag_and_drop_your_files_here",
|
|
14
|
-
subtitle:
|
|
55
|
+
subtitle: c = null,
|
|
15
56
|
buttonTitle: v = "choose_files",
|
|
16
57
|
onUpload: j = () => {
|
|
17
58
|
},
|
|
18
|
-
acceptedExtensions:
|
|
59
|
+
acceptedExtensions: s = [
|
|
19
60
|
"pdf",
|
|
20
61
|
"png",
|
|
21
62
|
"jpg",
|
|
@@ -26,57 +67,57 @@ const z = ({
|
|
|
26
67
|
"xls",
|
|
27
68
|
"xlsx"
|
|
28
69
|
],
|
|
29
|
-
maxSize:
|
|
70
|
+
maxSize: a = 1024
|
|
30
71
|
// en KB
|
|
31
72
|
}) => {
|
|
32
|
-
const { t:
|
|
73
|
+
const { t: n } = B(), [d, i] = g(!1), [f, p] = g(""), l = $(null), y = s.map((t) => `.${t}`).join(","), u = (t) => {
|
|
33
74
|
const r = [];
|
|
34
|
-
let
|
|
35
|
-
Array.from(
|
|
75
|
+
let m = !1;
|
|
76
|
+
Array.from(t).forEach((o) => {
|
|
36
77
|
var x;
|
|
37
|
-
const _ = ((x =
|
|
38
|
-
if (!
|
|
39
|
-
|
|
40
|
-
`El archivo ${
|
|
41
|
-
),
|
|
78
|
+
const _ = ((x = o.name.split(".").pop()) == null ? void 0 : x.toLowerCase()) || "";
|
|
79
|
+
if (!s.includes(_)) {
|
|
80
|
+
p(
|
|
81
|
+
`El archivo ${o.name} tiene una extensión no permitida.`
|
|
82
|
+
), m = !0;
|
|
42
83
|
return;
|
|
43
84
|
}
|
|
44
|
-
if (
|
|
45
|
-
|
|
46
|
-
`El archivo ${
|
|
47
|
-
),
|
|
85
|
+
if (o.size > a * 1024) {
|
|
86
|
+
p(
|
|
87
|
+
`El archivo ${o.name} excede el tamaño máximo de ${a}KB.`
|
|
88
|
+
), m = !0;
|
|
48
89
|
return;
|
|
49
90
|
}
|
|
50
|
-
r.push(
|
|
51
|
-
}), !
|
|
91
|
+
r.push(o);
|
|
92
|
+
}), !m && r.length > 0 && (p(""), j(r));
|
|
52
93
|
}, D = () => {
|
|
53
|
-
|
|
54
|
-
}, b = (
|
|
55
|
-
const r =
|
|
56
|
-
r && r.length > 0 && u(r),
|
|
57
|
-
}, N = (
|
|
58
|
-
|
|
59
|
-
}, C = (
|
|
60
|
-
|
|
61
|
-
}, E = (
|
|
62
|
-
|
|
63
|
-
}, w = (
|
|
64
|
-
|
|
65
|
-
const r =
|
|
94
|
+
l.current && l.current.click();
|
|
95
|
+
}, b = (t) => {
|
|
96
|
+
const r = t.target.files;
|
|
97
|
+
r && r.length > 0 && u(r), t.target.value = "";
|
|
98
|
+
}, N = (t) => {
|
|
99
|
+
t.preventDefault(), t.stopPropagation(), i(!0);
|
|
100
|
+
}, C = (t) => {
|
|
101
|
+
t.preventDefault(), t.stopPropagation(), i(!1);
|
|
102
|
+
}, E = (t) => {
|
|
103
|
+
t.preventDefault(), t.stopPropagation(), d || i(!0);
|
|
104
|
+
}, w = (t) => {
|
|
105
|
+
t.preventDefault(), t.stopPropagation(), i(!1);
|
|
106
|
+
const r = t.dataTransfer.files;
|
|
66
107
|
r.length > 0 && u(r);
|
|
67
108
|
};
|
|
68
|
-
return /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
109
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "w-full mx-auto font-sans", children: [
|
|
110
|
+
/* @__PURE__ */ e.jsxs(
|
|
70
111
|
"div",
|
|
71
112
|
{
|
|
72
|
-
className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${
|
|
113
|
+
className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${d ? "border-blue-400 bg-blue-100/50" : "border-gray-200 bg-white hover:border-blue-400"}`,
|
|
73
114
|
onDragEnter: N,
|
|
74
115
|
onDragLeave: C,
|
|
75
116
|
onDragOver: E,
|
|
76
117
|
onDrop: w,
|
|
77
118
|
onClick: D,
|
|
78
119
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex justify-center translate-y-4", children: /* @__PURE__ */ e.jsx(
|
|
80
121
|
"img",
|
|
81
122
|
{
|
|
82
123
|
className: "w-full h-auto max-w-160",
|
|
@@ -84,15 +125,15 @@ const z = ({
|
|
|
84
125
|
alt: "empty-state"
|
|
85
126
|
}
|
|
86
127
|
) }),
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
129
|
+
/* @__PURE__ */ e.jsx("h3", { className: "font-600 text-xl text-dark", children: n(h) }),
|
|
130
|
+
c && /* @__PURE__ */ e.jsx("p", { className: "font-400 text-lg text-gray-500", children: n(c) }),
|
|
131
|
+
/* @__PURE__ */ e.jsx(k, { color: "blue", children: n(v) }),
|
|
132
|
+
/* @__PURE__ */ e.jsx(
|
|
92
133
|
"input",
|
|
93
134
|
{
|
|
94
135
|
type: "file",
|
|
95
|
-
ref:
|
|
136
|
+
ref: l,
|
|
96
137
|
className: "hidden",
|
|
97
138
|
multiple: !0,
|
|
98
139
|
accept: y,
|
|
@@ -103,15 +144,15 @@ const z = ({
|
|
|
103
144
|
]
|
|
104
145
|
}
|
|
105
146
|
),
|
|
106
|
-
f && /* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
|
|
147
|
+
f && /* @__PURE__ */ e.jsx("div", { className: "mt-3 text-sm text-red-500", children: f }),
|
|
148
|
+
/* @__PURE__ */ e.jsx("div", { className: "mt-10 w-full flex justify-center", children: /* @__PURE__ */ e.jsxs("span", { className: "text-gray-500 font-400 text-base", children: [
|
|
149
|
+
s.join(", ").toUpperCase(),
|
|
109
150
|
" formats. Maximus size:",
|
|
110
151
|
" ",
|
|
111
|
-
F(
|
|
152
|
+
F(a, "mb")
|
|
112
153
|
] }) })
|
|
113
154
|
] });
|
|
114
155
|
};
|
|
115
156
|
export {
|
|
116
|
-
|
|
157
|
+
Bt as default
|
|
117
158
|
};
|
|
@@ -6,24 +6,65 @@ 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 "../../../_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";
|
|
9
34
|
import "react-dom";
|
|
10
|
-
import
|
|
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";
|
|
11
52
|
import "../../../constants/countries.js";
|
|
12
53
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
13
54
|
import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
14
|
-
import { motion as
|
|
15
|
-
const
|
|
16
|
-
title:
|
|
17
|
-
description:
|
|
18
|
-
open:
|
|
55
|
+
import { motion as e } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
56
|
+
const Nt = ({
|
|
57
|
+
title: m,
|
|
58
|
+
description: a,
|
|
59
|
+
open: p,
|
|
19
60
|
onClose: i,
|
|
20
|
-
onConfirm:
|
|
21
|
-
onCancel:
|
|
61
|
+
onConfirm: n,
|
|
62
|
+
onCancel: s
|
|
22
63
|
}) => {
|
|
23
|
-
const { t:
|
|
64
|
+
const { t: r } = j(), l = {
|
|
24
65
|
hidden: { opacity: 0 },
|
|
25
66
|
visible: { opacity: 1 }
|
|
26
|
-
},
|
|
67
|
+
}, c = {
|
|
27
68
|
hidden: {
|
|
28
69
|
opacity: 0,
|
|
29
70
|
scale: 0.8,
|
|
@@ -47,32 +88,32 @@ const M = ({
|
|
|
47
88
|
duration: 0.2
|
|
48
89
|
}
|
|
49
90
|
}
|
|
50
|
-
},
|
|
51
|
-
|
|
91
|
+
}, x = () => {
|
|
92
|
+
n(), i();
|
|
52
93
|
}, d = () => {
|
|
53
|
-
|
|
94
|
+
s(), i();
|
|
54
95
|
};
|
|
55
|
-
return /* @__PURE__ */ t.jsx(u, { children:
|
|
56
|
-
|
|
96
|
+
return /* @__PURE__ */ t.jsx(u, { children: p && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
97
|
+
e.div,
|
|
57
98
|
{
|
|
58
99
|
className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
|
|
59
100
|
initial: "hidden",
|
|
60
101
|
animate: "visible",
|
|
61
102
|
exit: "hidden",
|
|
62
|
-
variants:
|
|
103
|
+
variants: l,
|
|
63
104
|
onClick: i,
|
|
64
105
|
children: /* @__PURE__ */ t.jsx(
|
|
65
|
-
|
|
106
|
+
e.div,
|
|
66
107
|
{
|
|
67
108
|
className: "w-full max-w-4xl mx-16 z-50",
|
|
68
|
-
variants:
|
|
109
|
+
variants: c,
|
|
69
110
|
initial: "hidden",
|
|
70
111
|
animate: "visible",
|
|
71
112
|
exit: "exit",
|
|
72
113
|
onClick: (f) => f.stopPropagation(),
|
|
73
114
|
children: /* @__PURE__ */ t.jsxs(g, { className: "flex flex-col gap-16 p-32", children: [
|
|
74
115
|
/* @__PURE__ */ t.jsxs("div", { className: "flex justify-between items-center gap-16", children: [
|
|
75
|
-
/* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children:
|
|
116
|
+
/* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children: m }),
|
|
76
117
|
/* @__PURE__ */ t.jsx(
|
|
77
118
|
y,
|
|
78
119
|
{
|
|
@@ -82,23 +123,23 @@ const M = ({
|
|
|
82
123
|
}
|
|
83
124
|
)
|
|
84
125
|
] }),
|
|
85
|
-
/* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children:
|
|
126
|
+
/* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children: a }),
|
|
86
127
|
/* @__PURE__ */ t.jsxs("div", { className: "flex justify-end w-full gap-16", children: [
|
|
87
128
|
/* @__PURE__ */ t.jsx(
|
|
88
|
-
|
|
129
|
+
o,
|
|
89
130
|
{
|
|
90
131
|
onClick: d,
|
|
91
132
|
variant: "transparent",
|
|
92
133
|
className: "px-24 py-10! text-lg!",
|
|
93
|
-
children:
|
|
134
|
+
children: r("cancel")
|
|
94
135
|
}
|
|
95
136
|
),
|
|
96
137
|
/* @__PURE__ */ t.jsx(
|
|
97
|
-
|
|
138
|
+
o,
|
|
98
139
|
{
|
|
99
|
-
onClick:
|
|
140
|
+
onClick: x,
|
|
100
141
|
className: "px-24 py-16 text-lg!",
|
|
101
|
-
children:
|
|
142
|
+
children: r("confirm")
|
|
102
143
|
}
|
|
103
144
|
)
|
|
104
145
|
] })
|
|
@@ -109,5 +150,5 @@ const M = ({
|
|
|
109
150
|
) }) });
|
|
110
151
|
};
|
|
111
152
|
export {
|
|
112
|
-
|
|
153
|
+
Nt as default
|
|
113
154
|
};
|