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
|
@@ -1,31 +1,72 @@
|
|
|
1
1
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
2
2
|
import { faX as u } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
3
|
-
import { FontAwesomeIcon as
|
|
3
|
+
import { FontAwesomeIcon as o } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../../_virtual/lodash.js";
|
|
6
6
|
import { useTheme as y } from "../../../hooks/useTheme.js";
|
|
7
7
|
import { faCheck as v } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
|
|
8
8
|
import "react-hook-form";
|
|
9
9
|
import g from "../../atoms/BoxContainer/BoxContainer.js";
|
|
10
|
+
import "../../../_virtual/client.js";
|
|
11
|
+
import "../../../dist/_virtual/jsx-runtime.js";
|
|
12
|
+
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
13
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
14
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
15
|
+
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
16
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
17
|
+
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
18
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
19
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
20
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
21
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
22
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
23
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
24
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
25
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
26
|
+
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
27
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
28
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
29
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
30
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
31
|
+
import "../../../dist/_virtual/lodash.js";
|
|
32
|
+
import "../../../dist/contexts/themeContext.js";
|
|
33
|
+
import "../../../dist/constants/countries.js";
|
|
34
|
+
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
10
35
|
import "react-dom";
|
|
11
|
-
import
|
|
36
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
37
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
38
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
39
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
40
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
41
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
42
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
43
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
44
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
45
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
46
|
+
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
47
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
48
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
49
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
50
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
51
|
+
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
52
|
+
import m from "../../atoms/Button/Button.js";
|
|
12
53
|
import "../../../constants/countries.js";
|
|
13
54
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
14
55
|
import { AnimatePresence as N } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
15
|
-
import { motion as
|
|
16
|
-
const
|
|
17
|
-
title:
|
|
18
|
-
description:
|
|
19
|
-
open:
|
|
20
|
-
onClose:
|
|
21
|
-
onConfirm:
|
|
22
|
-
onCancel:
|
|
23
|
-
icon:
|
|
56
|
+
import { motion as s } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
57
|
+
const ki = ({
|
|
58
|
+
title: a,
|
|
59
|
+
description: l,
|
|
60
|
+
open: n,
|
|
61
|
+
onClose: t,
|
|
62
|
+
onConfirm: p,
|
|
63
|
+
onCancel: r,
|
|
64
|
+
icon: c = v
|
|
24
65
|
}) => {
|
|
25
|
-
const
|
|
66
|
+
const x = {
|
|
26
67
|
hidden: { opacity: 0 },
|
|
27
68
|
visible: { opacity: 1 }
|
|
28
|
-
},
|
|
69
|
+
}, d = {
|
|
29
70
|
hidden: {
|
|
30
71
|
opacity: 0,
|
|
31
72
|
scale: 0.8,
|
|
@@ -49,25 +90,25 @@ const T = ({
|
|
|
49
90
|
duration: 0.2
|
|
50
91
|
}
|
|
51
92
|
}
|
|
52
|
-
},
|
|
53
|
-
|
|
93
|
+
}, f = () => {
|
|
94
|
+
p(), t();
|
|
54
95
|
}, h = () => {
|
|
55
|
-
|
|
56
|
-
}, { t:
|
|
57
|
-
return /* @__PURE__ */ i.jsx(N, { children:
|
|
58
|
-
|
|
96
|
+
r == null || r(), t();
|
|
97
|
+
}, { t: e } = y();
|
|
98
|
+
return /* @__PURE__ */ i.jsx(N, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
99
|
+
s.div,
|
|
59
100
|
{
|
|
60
101
|
className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
|
|
61
102
|
initial: "hidden",
|
|
62
103
|
animate: "visible",
|
|
63
104
|
exit: "hidden",
|
|
64
|
-
variants:
|
|
65
|
-
onClick:
|
|
105
|
+
variants: x,
|
|
106
|
+
onClick: t,
|
|
66
107
|
children: /* @__PURE__ */ i.jsx(
|
|
67
|
-
|
|
108
|
+
s.div,
|
|
68
109
|
{
|
|
69
110
|
className: "w-full max-w-sm mx-16 z-50",
|
|
70
|
-
variants:
|
|
111
|
+
variants: d,
|
|
71
112
|
initial: "hidden",
|
|
72
113
|
animate: "visible",
|
|
73
114
|
exit: "exit",
|
|
@@ -75,43 +116,43 @@ const T = ({
|
|
|
75
116
|
children: /* @__PURE__ */ i.jsxs(g, { className: "flex flex-col gap-20 p-32", children: [
|
|
76
117
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", children: [
|
|
77
118
|
/* @__PURE__ */ i.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ i.jsx(
|
|
78
|
-
|
|
119
|
+
o,
|
|
79
120
|
{
|
|
80
121
|
icon: u,
|
|
81
122
|
className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",
|
|
82
|
-
onClick:
|
|
123
|
+
onClick: t
|
|
83
124
|
}
|
|
84
125
|
) }),
|
|
85
126
|
/* @__PURE__ */ i.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ i.jsx("div", { className: "bg-blue-100 rounded-full w-76 h-76 flex justify-center items-center", children: /* @__PURE__ */ i.jsx(
|
|
86
|
-
|
|
127
|
+
o,
|
|
87
128
|
{
|
|
88
|
-
icon:
|
|
129
|
+
icon: c,
|
|
89
130
|
className: "w-32 h-36 min-h-36 min-w-36 text-blue-500",
|
|
90
|
-
onClick:
|
|
131
|
+
onClick: t
|
|
91
132
|
}
|
|
92
133
|
) }) })
|
|
93
134
|
] }),
|
|
94
135
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-20 items-center justify-center", children: [
|
|
95
136
|
/* @__PURE__ */ i.jsxs("div", { className: "text-center w-full", children: [
|
|
96
|
-
/* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children:
|
|
97
|
-
/* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children:
|
|
137
|
+
/* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children: a }),
|
|
138
|
+
/* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children: l })
|
|
98
139
|
] }),
|
|
99
140
|
/* @__PURE__ */ i.jsxs("div", { className: "flex justify-center w-full gap-16", children: [
|
|
100
|
-
!!
|
|
101
|
-
|
|
141
|
+
!!r && /* @__PURE__ */ i.jsx(
|
|
142
|
+
m,
|
|
102
143
|
{
|
|
103
144
|
size: "lg",
|
|
104
145
|
onClick: h,
|
|
105
146
|
variant: "transparent",
|
|
106
|
-
children:
|
|
147
|
+
children: e("cancel")
|
|
107
148
|
}
|
|
108
149
|
),
|
|
109
150
|
/* @__PURE__ */ i.jsx(
|
|
110
|
-
|
|
151
|
+
m,
|
|
111
152
|
{
|
|
112
153
|
size: "lg",
|
|
113
|
-
onClick:
|
|
114
|
-
children:
|
|
154
|
+
onClick: f,
|
|
155
|
+
children: e("confirm")
|
|
115
156
|
}
|
|
116
157
|
)
|
|
117
158
|
] })
|
|
@@ -123,5 +164,5 @@ const T = ({
|
|
|
123
164
|
) }) });
|
|
124
165
|
};
|
|
125
166
|
export {
|
|
126
|
-
|
|
167
|
+
ki as default
|
|
127
168
|
};
|
|
@@ -1,46 +1,87 @@
|
|
|
1
1
|
import { j as t } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
-
import { useFloating as
|
|
3
|
-
import { useState as
|
|
2
|
+
import { useFloating as M, useClick as N, useDismiss as O, useInteractions as S, useTransitionStyles as b } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
3
|
+
import k, { useState as w, useEffect as P } from "react";
|
|
4
4
|
import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
5
5
|
import "../../../_virtual/lodash.js";
|
|
6
6
|
import "../../../contexts/themeContext.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
|
-
import
|
|
8
|
+
import _ from "../../atoms/BoxContainer/BoxContainer.js";
|
|
9
|
+
import "../../../_virtual/client.js";
|
|
10
|
+
import "../../../dist/_virtual/jsx-runtime.js";
|
|
11
|
+
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
12
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
13
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
14
|
+
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
15
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
16
|
+
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
17
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
18
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
19
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
20
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
21
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
22
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
23
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
24
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
25
|
+
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
26
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
27
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
28
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
29
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
30
|
+
import "../../../dist/_virtual/lodash.js";
|
|
31
|
+
import "../../../dist/contexts/themeContext.js";
|
|
32
|
+
import "../../../dist/constants/countries.js";
|
|
33
|
+
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
9
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";
|
|
10
51
|
import "../../../constants/countries.js";
|
|
11
52
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
12
53
|
import { autoUpdate as z } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
13
54
|
import { offset as B, flip as D, shift as T } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
|
|
14
|
-
const
|
|
15
|
-
open:
|
|
16
|
-
onClose:
|
|
17
|
-
component:
|
|
18
|
-
children:
|
|
19
|
-
placement:
|
|
20
|
-
className:
|
|
21
|
-
strategy:
|
|
22
|
-
offset:
|
|
55
|
+
const Ut = ({
|
|
56
|
+
open: i,
|
|
57
|
+
onClose: o,
|
|
58
|
+
component: r,
|
|
59
|
+
children: s,
|
|
60
|
+
placement: n = "bottom",
|
|
61
|
+
className: a = "",
|
|
62
|
+
strategy: l = "absolute",
|
|
63
|
+
offset: f = 8,
|
|
23
64
|
padding: c = 8
|
|
24
65
|
}) => {
|
|
25
|
-
const [d,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, [
|
|
66
|
+
const [d, m] = w(i);
|
|
67
|
+
P(() => {
|
|
68
|
+
m(i);
|
|
69
|
+
}, [i]);
|
|
29
70
|
const u = () => {
|
|
30
|
-
|
|
31
|
-
}, { x: g, y: x, strategy: y, refs:
|
|
32
|
-
strategy:
|
|
71
|
+
m(!1), o == null || o();
|
|
72
|
+
}, { x: g, y: x, strategy: y, refs: p, context: e } = M({
|
|
73
|
+
strategy: l,
|
|
33
74
|
open: d,
|
|
34
|
-
onOpenChange: (
|
|
35
|
-
|
|
75
|
+
onOpenChange: (I) => {
|
|
76
|
+
I || u();
|
|
36
77
|
},
|
|
37
|
-
middleware: [B(
|
|
78
|
+
middleware: [B(f), D(), T({ padding: c })],
|
|
38
79
|
whileElementsMounted: z,
|
|
39
|
-
placement:
|
|
40
|
-
}), h =
|
|
80
|
+
placement: n
|
|
81
|
+
}), h = N(e), j = O(e), { getReferenceProps: v, getFloatingProps: E } = S([
|
|
41
82
|
h,
|
|
42
83
|
j
|
|
43
|
-
]), { isMounted:
|
|
84
|
+
]), { isMounted: F, styles: R } = b(e, {
|
|
44
85
|
duration: {
|
|
45
86
|
open: 200,
|
|
46
87
|
close: 150
|
|
@@ -54,30 +95,30 @@ const X = ({
|
|
|
54
95
|
/* @__PURE__ */ t.jsx(
|
|
55
96
|
"div",
|
|
56
97
|
{
|
|
57
|
-
ref:
|
|
98
|
+
ref: p.setReference,
|
|
58
99
|
...v(),
|
|
59
100
|
className: "reference-element",
|
|
60
|
-
children:
|
|
101
|
+
children: s
|
|
61
102
|
}
|
|
62
103
|
),
|
|
63
|
-
|
|
104
|
+
F && /* @__PURE__ */ t.jsx(
|
|
64
105
|
"div",
|
|
65
106
|
{
|
|
66
|
-
ref:
|
|
107
|
+
ref: p.setFloating,
|
|
67
108
|
style: {
|
|
68
109
|
position: y,
|
|
69
110
|
top: x ?? 0,
|
|
70
111
|
left: g ?? 0,
|
|
71
|
-
...
|
|
112
|
+
...R,
|
|
72
113
|
zIndex: 9999
|
|
73
114
|
},
|
|
74
|
-
...
|
|
115
|
+
...E(),
|
|
75
116
|
className: "floating-element",
|
|
76
|
-
children: /* @__PURE__ */ t.jsx(
|
|
117
|
+
children: /* @__PURE__ */ t.jsx(_, { className: a, children: typeof r == "function" ? k.createElement(r) : r })
|
|
77
118
|
}
|
|
78
119
|
)
|
|
79
120
|
] });
|
|
80
121
|
};
|
|
81
122
|
export {
|
|
82
|
-
|
|
123
|
+
Ut as default
|
|
83
124
|
};
|
|
@@ -1,82 +1,123 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { j as o } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { useRef as d, useState as E, useEffect as f } from "react";
|
|
3
3
|
import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
4
|
import "../../../_virtual/lodash.js";
|
|
5
5
|
import { useTheme as S } from "../../../hooks/useTheme.js";
|
|
6
6
|
import "react-hook-form";
|
|
7
|
+
import "../../../_virtual/client.js";
|
|
8
|
+
import "../../../dist/_virtual/jsx-runtime.js";
|
|
9
|
+
import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
10
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
11
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
12
|
+
import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
13
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
14
|
+
import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
15
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
16
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
17
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
18
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
19
|
+
import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
20
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
21
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
22
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
23
|
+
import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
24
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
25
|
+
import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
26
|
+
import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
27
|
+
import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
28
|
+
import "../../../dist/_virtual/lodash.js";
|
|
29
|
+
import "../../../dist/contexts/themeContext.js";
|
|
30
|
+
import "../../../dist/constants/countries.js";
|
|
31
|
+
import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
7
32
|
import "react-dom";
|
|
33
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
34
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
35
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
36
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
37
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
38
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
39
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
40
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
41
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
42
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
43
|
+
import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
44
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
45
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
46
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
47
|
+
import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
48
|
+
import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
8
49
|
import "../../../constants/countries.js";
|
|
9
50
|
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
10
51
|
import L from "../../atoms/Tab/Tab.js";
|
|
11
|
-
import { motion as
|
|
12
|
-
const
|
|
13
|
-
variant:
|
|
52
|
+
import { motion as u } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
53
|
+
const St = ({
|
|
54
|
+
variant: a = "underline",
|
|
14
55
|
color: h = "blue",
|
|
15
|
-
tabs:
|
|
16
|
-
activeTab:
|
|
56
|
+
tabs: r,
|
|
57
|
+
activeTab: e,
|
|
17
58
|
onTabChange: w,
|
|
18
59
|
className: x = "",
|
|
19
60
|
direction: R = "row",
|
|
20
61
|
showLabel: g = !0
|
|
21
62
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
if (
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
63
|
+
const m = d([]), [s, j] = E({ left: 0, width: 0 }), n = d(null), { defaultColorScheme: v } = S(), C = h || v, l = () => {
|
|
64
|
+
const t = r.findIndex((i) => i.id === e);
|
|
65
|
+
if (t >= 0 && m.current[t]) {
|
|
66
|
+
const i = m.current[t];
|
|
67
|
+
if (i && n.current) {
|
|
68
|
+
const p = n.current.getBoundingClientRect(), c = i.getBoundingClientRect();
|
|
28
69
|
j({
|
|
29
|
-
left:
|
|
30
|
-
width:
|
|
70
|
+
left: c.left - p.left,
|
|
71
|
+
width: c.width
|
|
31
72
|
});
|
|
32
73
|
}
|
|
33
74
|
}
|
|
34
75
|
};
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
}, [
|
|
38
|
-
const
|
|
39
|
-
|
|
76
|
+
return f(() => {
|
|
77
|
+
l();
|
|
78
|
+
}, [e, r]), f(() => {
|
|
79
|
+
const t = () => {
|
|
80
|
+
l();
|
|
40
81
|
};
|
|
41
|
-
return window.addEventListener("resize",
|
|
42
|
-
window.removeEventListener("resize",
|
|
82
|
+
return window.addEventListener("resize", t), () => {
|
|
83
|
+
window.removeEventListener("resize", t);
|
|
43
84
|
};
|
|
44
|
-
}, [
|
|
85
|
+
}, [e, r]), /* @__PURE__ */ o.jsxs(
|
|
45
86
|
"div",
|
|
46
87
|
{
|
|
47
|
-
ref:
|
|
88
|
+
ref: n,
|
|
48
89
|
className: `flex items-center relative ${x}`,
|
|
49
90
|
children: [
|
|
50
|
-
|
|
51
|
-
|
|
91
|
+
r.map((t, i) => /* @__PURE__ */ o.jsx(
|
|
92
|
+
u.div,
|
|
52
93
|
{
|
|
53
|
-
ref: (
|
|
54
|
-
|
|
94
|
+
ref: (p) => {
|
|
95
|
+
m.current[i] = p;
|
|
55
96
|
},
|
|
56
97
|
className: "w-full",
|
|
57
|
-
children: /* @__PURE__ */
|
|
98
|
+
children: /* @__PURE__ */ o.jsx(
|
|
58
99
|
L,
|
|
59
100
|
{
|
|
60
|
-
href:
|
|
61
|
-
label: g ?
|
|
62
|
-
icon:
|
|
101
|
+
href: t.href,
|
|
102
|
+
label: g ? t.label : "",
|
|
103
|
+
icon: t.icon,
|
|
63
104
|
direction: R,
|
|
64
|
-
isSelected:
|
|
65
|
-
onClick: () => w(
|
|
66
|
-
variant:
|
|
105
|
+
isSelected: e === t.id,
|
|
106
|
+
onClick: () => w(t.id),
|
|
107
|
+
variant: a
|
|
67
108
|
}
|
|
68
109
|
)
|
|
69
110
|
},
|
|
70
|
-
|
|
111
|
+
t.id
|
|
71
112
|
)),
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
|
|
113
|
+
/* @__PURE__ */ o.jsx(
|
|
114
|
+
u.div,
|
|
74
115
|
{
|
|
75
116
|
className: `absolute bottom-0 h-2 bg-${C}-500`,
|
|
76
117
|
initial: !1,
|
|
77
118
|
animate: {
|
|
78
|
-
left:
|
|
79
|
-
width:
|
|
119
|
+
left: s.left,
|
|
120
|
+
width: s.width
|
|
80
121
|
},
|
|
81
122
|
transition: {
|
|
82
123
|
type: "spring",
|
|
@@ -90,5 +131,5 @@ const D = ({
|
|
|
90
131
|
);
|
|
91
132
|
};
|
|
92
133
|
export {
|
|
93
|
-
|
|
134
|
+
St as default
|
|
94
135
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var l = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function t(o) {
|
|
3
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
l as commonjsGlobal,
|
|
7
|
+
t as getDefaultExportFromCjs
|
|
8
|
+
};
|