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,4 +1,4 @@
|
|
|
1
|
-
import { __module as e } from "../../../../_virtual/
|
|
1
|
+
import { __module as e } from "../../../../_virtual/index7.js";
|
|
2
2
|
import { __require as o } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as t } from "./cjs/react-is.development.js";
|
|
4
4
|
var r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as v } from "../../_virtual/
|
|
2
|
-
import { t as U } from "../../_virtual/
|
|
3
|
-
import oe from "../../_virtual/
|
|
1
|
+
import { p as v } from "../../_virtual/index2.js";
|
|
2
|
+
import { t as U } from "../../_virtual/index3.js";
|
|
3
|
+
import oe from "../../_virtual/index4.js";
|
|
4
4
|
const ce = Object.prototype.toString, he = Error.prototype.toString, fe = RegExp.prototype.toString, de = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", pe = /^Symbol\((.*)\)(.*)$/;
|
|
5
5
|
function me(n) {
|
|
6
6
|
return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ToastContent, ToastMethods, ToastOptions } from "../types/toast";
|
|
2
|
+
export declare const showToastAsync: (promise: Promise<unknown>, messages: {
|
|
3
|
+
loading: ToastContent;
|
|
4
|
+
success: ToastContent;
|
|
5
|
+
error: ToastContent;
|
|
6
|
+
}, options?: ToastOptions) => void;
|
|
7
|
+
export declare const showToastLoading: (messages: {
|
|
8
|
+
loading: ToastContent;
|
|
9
|
+
success: ToastContent;
|
|
10
|
+
error: ToastContent;
|
|
11
|
+
}, options?: ToastOptions) => {
|
|
12
|
+
resolve: (value?: unknown) => void;
|
|
13
|
+
reject: (reason?: unknown) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const toast: ToastMethods;
|
package/dist/utils/modal.js
CHANGED
|
@@ -1,88 +1,129 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { l as
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
1
|
+
import { j as n } from "../_virtual/jsx-runtime.js";
|
|
2
|
+
import { l as s } from "../_virtual/lodash.js";
|
|
3
|
+
import { useState as d, useRef as l, useCallback as u, useEffect as a } from "react";
|
|
4
|
+
import f from "../components/molecules/AlertModal/AlertModal.js";
|
|
5
5
|
import "../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
6
|
+
import "../_virtual/client.js";
|
|
7
|
+
import "../dist/_virtual/jsx-runtime.js";
|
|
8
|
+
import "../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
9
|
+
import "../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
10
|
+
import "../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
11
|
+
import "../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
12
|
+
import "../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
13
|
+
import "../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
14
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
15
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
16
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
17
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
18
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
19
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
20
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
21
|
+
import "../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
22
|
+
import "../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
23
|
+
import "../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
24
|
+
import "../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
25
|
+
import "../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
26
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
27
|
+
import "../dist/_virtual/lodash.js";
|
|
28
|
+
import "../dist/contexts/themeContext.js";
|
|
29
|
+
import "react-hook-form";
|
|
30
|
+
import "../dist/constants/countries.js";
|
|
31
|
+
import "../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
6
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";
|
|
7
49
|
import "../contexts/themeContext.js";
|
|
8
|
-
import
|
|
9
|
-
import "react-hook-form";
|
|
50
|
+
import M from "../components/atoms/CenterModal/CenterModal.js";
|
|
10
51
|
import "../constants/countries.js";
|
|
11
52
|
import "../components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
12
53
|
import w from "../components/molecules/DialogModal/DialogModal.js";
|
|
13
|
-
const
|
|
14
|
-
const [
|
|
15
|
-
const
|
|
16
|
-
...
|
|
17
|
-
id: (
|
|
54
|
+
const wr = () => {
|
|
55
|
+
const [e, o] = d([]), p = l([]), c = u((r) => {
|
|
56
|
+
const t = {
|
|
57
|
+
...r,
|
|
58
|
+
id: (r == null ? void 0 : r.id) || s.uniqueId(),
|
|
18
59
|
open: !0,
|
|
19
|
-
type: (
|
|
60
|
+
type: (r == null ? void 0 : r.type) || "center",
|
|
20
61
|
props: {
|
|
21
|
-
...
|
|
62
|
+
...r.props,
|
|
22
63
|
open: !0,
|
|
23
|
-
onClose: () =>
|
|
64
|
+
onClose: () => i(r.id || s.uniqueId())
|
|
24
65
|
}
|
|
25
66
|
};
|
|
26
|
-
|
|
27
|
-
}, []),
|
|
28
|
-
|
|
29
|
-
(
|
|
30
|
-
),
|
|
31
|
-
|
|
32
|
-
(
|
|
33
|
-
),
|
|
67
|
+
p.current = [...p.current, t], o(p.current);
|
|
68
|
+
}, []), i = u((r) => {
|
|
69
|
+
p.current = p.current.map(
|
|
70
|
+
(t) => t.id === r ? { ...t, open: !1 } : t
|
|
71
|
+
), o(p.current), setTimeout(() => {
|
|
72
|
+
p.current = p.current.filter(
|
|
73
|
+
(t) => t.id !== r
|
|
74
|
+
), o(p.current);
|
|
34
75
|
}, 150);
|
|
35
76
|
}, []);
|
|
36
|
-
return
|
|
37
|
-
window.openModal =
|
|
38
|
-
}, [
|
|
39
|
-
if (
|
|
40
|
-
const { props:
|
|
41
|
-
return /* @__PURE__ */
|
|
77
|
+
return a(() => {
|
|
78
|
+
window.openModal = c, window.closeModal = i;
|
|
79
|
+
}, [c, i]), /* @__PURE__ */ n.jsx(n.Fragment, { children: e.map((r) => {
|
|
80
|
+
if (r.type === "dialog") {
|
|
81
|
+
const { props: m } = r;
|
|
82
|
+
return /* @__PURE__ */ n.jsx(
|
|
42
83
|
w,
|
|
43
84
|
{
|
|
44
|
-
...
|
|
45
|
-
open:
|
|
46
|
-
onClose: () =>
|
|
85
|
+
...m,
|
|
86
|
+
open: r.open,
|
|
87
|
+
onClose: () => i(r.id)
|
|
47
88
|
},
|
|
48
|
-
|
|
89
|
+
r.id
|
|
49
90
|
);
|
|
50
91
|
}
|
|
51
|
-
if (
|
|
52
|
-
const { props:
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
|
|
92
|
+
if (r.type === "alert") {
|
|
93
|
+
const { props: m } = r;
|
|
94
|
+
return /* @__PURE__ */ n.jsx(
|
|
95
|
+
f,
|
|
55
96
|
{
|
|
56
|
-
...
|
|
57
|
-
open:
|
|
58
|
-
onClose: () =>
|
|
97
|
+
...m,
|
|
98
|
+
open: r.open,
|
|
99
|
+
onClose: () => i(r.id)
|
|
59
100
|
},
|
|
60
|
-
|
|
101
|
+
r.id
|
|
61
102
|
);
|
|
62
103
|
}
|
|
63
|
-
const { props:
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
-
|
|
104
|
+
const { props: t } = r;
|
|
105
|
+
return /* @__PURE__ */ n.jsx(
|
|
106
|
+
M,
|
|
66
107
|
{
|
|
67
|
-
...
|
|
68
|
-
open:
|
|
69
|
-
onClose: () =>
|
|
70
|
-
children: typeof
|
|
108
|
+
...t,
|
|
109
|
+
open: r.open,
|
|
110
|
+
onClose: () => i(r.id),
|
|
111
|
+
children: typeof t.children == "function" ? t.children(() => i(r.id)) : t.children
|
|
71
112
|
},
|
|
72
|
-
|
|
113
|
+
r.id
|
|
73
114
|
);
|
|
74
115
|
}) });
|
|
75
116
|
};
|
|
76
|
-
function
|
|
77
|
-
var
|
|
78
|
-
(
|
|
117
|
+
function xr(e) {
|
|
118
|
+
var o;
|
|
119
|
+
(o = window == null ? void 0 : window.openModal) == null || o.call(window, e);
|
|
79
120
|
}
|
|
80
|
-
function
|
|
81
|
-
var
|
|
82
|
-
(
|
|
121
|
+
function hr(e) {
|
|
122
|
+
var o;
|
|
123
|
+
(o = window == null ? void 0 : window.closeModal) == null || o.call(window, e);
|
|
83
124
|
}
|
|
84
125
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
126
|
+
wr as ModalContainer,
|
|
127
|
+
hr as closeModal,
|
|
128
|
+
xr as openModal
|
|
88
129
|
};
|
package/dist/utils/toast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToastContent, ToastMethods, ToastOptions } from '../types';
|
|
1
|
+
import { ToastContent, ToastMethods, ToastOptions } from '../types/toast';
|
|
2
2
|
export declare const showToastAsync: (promise: Promise<unknown>, messages: {
|
|
3
3
|
loading: ToastContent;
|
|
4
4
|
success: ToastContent;
|
package/dist/utils/toast.js
CHANGED
|
@@ -1,20 +1,56 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import "../
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import "../
|
|
1
|
+
import { j as p } from "../_virtual/jsx-runtime.js";
|
|
2
|
+
import { c } from "../_virtual/client.js";
|
|
3
|
+
import "../dist/_virtual/jsx-runtime.js";
|
|
4
|
+
import "../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
5
|
+
import { AsyncToast as u } from "../dist/components/atoms/AsyncToast/index.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "../dist/_virtual/lodash.js";
|
|
8
|
+
import "../dist/contexts/themeContext.js";
|
|
8
9
|
import "react-hook-form";
|
|
9
|
-
import "../constants/countries.js";
|
|
10
|
-
import "../components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
import "../dist/constants/countries.js";
|
|
11
|
+
import "../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
12
|
+
import "react-dom";
|
|
13
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
14
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
15
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
16
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
17
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
|
|
18
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
|
|
19
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
|
|
20
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
|
|
21
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
22
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
23
|
+
import "../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
|
|
24
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
25
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
26
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
|
|
27
|
+
import "../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
28
|
+
import "../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
29
|
+
import b from "../dist/components/atoms/Toast/Toast.js";
|
|
30
|
+
import "../dist/node_modules/motion-utils/dist/es/errors.js";
|
|
31
|
+
import "../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
|
|
32
|
+
import "../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
|
|
33
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
|
|
34
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
|
|
35
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
|
|
36
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
|
|
37
|
+
import "../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
|
|
38
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
|
|
39
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
|
|
40
|
+
import "../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
|
|
41
|
+
import "../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
|
|
42
|
+
import "../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
|
|
43
|
+
import "../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
|
|
44
|
+
import "../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
|
|
45
|
+
import "../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
|
|
46
|
+
import "../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
|
|
47
|
+
import "../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
|
|
48
|
+
const a = [];
|
|
49
|
+
function d(o = "bottom-center") {
|
|
50
|
+
var e;
|
|
51
|
+
if (!a.find((t) => t.id === o)) {
|
|
52
|
+
const t = document.createElement("div");
|
|
53
|
+
switch (t.classList.add(
|
|
18
54
|
"fixed",
|
|
19
55
|
"z-50",
|
|
20
56
|
"flex",
|
|
@@ -22,116 +58,94 @@ function u(t = "bottom-center") {
|
|
|
22
58
|
"items-center",
|
|
23
59
|
"w-fit",
|
|
24
60
|
"min-w-[18rem]"
|
|
25
|
-
),
|
|
61
|
+
), o) {
|
|
26
62
|
case "top-left":
|
|
27
|
-
|
|
63
|
+
t.classList.add("top-8", "left-8");
|
|
28
64
|
break;
|
|
29
65
|
case "top-right":
|
|
30
|
-
|
|
66
|
+
t.classList.add("top-8", "right-8");
|
|
31
67
|
break;
|
|
32
68
|
case "bottom-left":
|
|
33
|
-
|
|
69
|
+
t.classList.add("bottom-8", "left-8");
|
|
34
70
|
break;
|
|
35
71
|
case "bottom-right":
|
|
36
|
-
|
|
72
|
+
t.classList.add("bottom-8", "right-8");
|
|
37
73
|
break;
|
|
38
74
|
case "top-center":
|
|
39
|
-
|
|
75
|
+
t.classList.add("top-8", "left-1/2", "-translate-x-1/2");
|
|
40
76
|
break;
|
|
41
77
|
case "bottom-center":
|
|
42
78
|
default:
|
|
43
|
-
|
|
79
|
+
t.classList.add(
|
|
44
80
|
"bottom-8",
|
|
45
81
|
"left-1/2",
|
|
46
82
|
"-translate-x-1/2"
|
|
47
83
|
);
|
|
48
84
|
}
|
|
49
|
-
|
|
85
|
+
a.push({ id: o, element: t }), document.body.appendChild(t);
|
|
50
86
|
}
|
|
51
|
-
return (
|
|
87
|
+
return (e = a.find((t) => t.id === o)) == null ? void 0 : e.element;
|
|
52
88
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return e && e(), () => clearTimeout(n);
|
|
63
|
-
}, [t, e]), C(s, t);
|
|
64
|
-
}
|
|
65
|
-
function d(t, s = "success", { position: e = "top-right", duration: n = 3e3 } = {}) {
|
|
66
|
-
const o = u(e);
|
|
67
|
-
if (!o) return;
|
|
68
|
-
const r = document.createElement("div");
|
|
69
|
-
o.prepend(r);
|
|
70
|
-
const c = () => {
|
|
71
|
-
const [a, m] = p(!0), x = () => {
|
|
72
|
-
m(!1), setTimeout(() => {
|
|
73
|
-
r.parentNode === o && o.removeChild(r);
|
|
74
|
-
}, 300);
|
|
75
|
-
};
|
|
76
|
-
return a ? /* @__PURE__ */ l.jsx(h, { container: r, children: /* @__PURE__ */ l.jsx(
|
|
77
|
-
E,
|
|
89
|
+
function n(o, e = "success", { position: t = "top-right", duration: s = 3e3 } = {}) {
|
|
90
|
+
const r = d(t);
|
|
91
|
+
if (!r) return;
|
|
92
|
+
const i = document.createElement("div"), m = c.createRoot(i), f = () => {
|
|
93
|
+
m.unmount(), r.removeChild(i);
|
|
94
|
+
};
|
|
95
|
+
m.render(
|
|
96
|
+
/* @__PURE__ */ p.jsx(
|
|
97
|
+
b,
|
|
78
98
|
{
|
|
79
|
-
content:
|
|
80
|
-
type:
|
|
81
|
-
duration:
|
|
82
|
-
onClose:
|
|
99
|
+
content: o,
|
|
100
|
+
type: e,
|
|
101
|
+
duration: s,
|
|
102
|
+
onClose: f
|
|
83
103
|
}
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
});
|
|
104
|
+
)
|
|
105
|
+
), r.prepend(i), setTimeout(() => {
|
|
106
|
+
i.classList.add("mt-[0.5rem]");
|
|
107
|
+
}, 10);
|
|
89
108
|
}
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
if (!
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}, 300);
|
|
100
|
-
};
|
|
101
|
-
return i ? /* @__PURE__ */ l.jsx(h, { container: o, children: /* @__PURE__ */ l.jsx(
|
|
102
|
-
T,
|
|
109
|
+
const l = (o, e, t = {}) => {
|
|
110
|
+
const s = d(t.position);
|
|
111
|
+
if (!s) return;
|
|
112
|
+
const r = document.createElement("div"), i = c.createRoot(r), m = () => {
|
|
113
|
+
i.unmount(), s.removeChild(r);
|
|
114
|
+
};
|
|
115
|
+
i.render(
|
|
116
|
+
/* @__PURE__ */ p.jsx(
|
|
117
|
+
u,
|
|
103
118
|
{
|
|
104
|
-
promise:
|
|
105
|
-
messages:
|
|
106
|
-
options:
|
|
119
|
+
promise: o,
|
|
120
|
+
messages: e,
|
|
121
|
+
options: t,
|
|
107
122
|
onClose: m
|
|
108
123
|
}
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}, n = () => {
|
|
124
|
+
)
|
|
125
|
+
), s.prepend(r), setTimeout(() => {
|
|
126
|
+
r.classList.add("mt-[0.5rem]");
|
|
127
|
+
}, 10);
|
|
128
|
+
}, h = (o, e = {}) => {
|
|
129
|
+
let t = () => {
|
|
130
|
+
}, s = () => {
|
|
117
131
|
};
|
|
118
|
-
const
|
|
119
|
-
|
|
132
|
+
const r = new Promise((i, m) => {
|
|
133
|
+
t = i, s = m;
|
|
120
134
|
});
|
|
121
|
-
return
|
|
122
|
-
resolve:
|
|
123
|
-
reject:
|
|
135
|
+
return l(r, o, e), {
|
|
136
|
+
resolve: t,
|
|
137
|
+
reject: s
|
|
124
138
|
};
|
|
125
|
-
},
|
|
126
|
-
success: (
|
|
127
|
-
error: (
|
|
128
|
-
warning: (
|
|
129
|
-
info: (
|
|
130
|
-
async: (
|
|
131
|
-
loading: (
|
|
139
|
+
}, ct = {
|
|
140
|
+
success: (o, e = {}) => n(o, "success", e),
|
|
141
|
+
error: (o, e = {}) => n(o, "error", e),
|
|
142
|
+
warning: (o, e = {}) => n(o, "warning", e),
|
|
143
|
+
info: (o, e = {}) => n(o, "info", e),
|
|
144
|
+
async: (o, e, t = {}) => l(o, e, t),
|
|
145
|
+
loading: (o, e = {}) => h(o, e)
|
|
132
146
|
};
|
|
133
147
|
export {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
148
|
+
l as showToastAsync,
|
|
149
|
+
h as showToastLoading,
|
|
150
|
+
ct as toast
|
|
137
151
|
};
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
-
import { Color } from "../../../../types/styleValues";
|
|
3
|
-
export interface SectionButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* The label text of the button
|
|
6
|
-
*/
|
|
7
|
-
label: string;
|
|
8
|
-
/**
|
|
9
|
-
* URL to navigate to when the button is clicked (renders as an anchor tag)
|
|
10
|
-
*/
|
|
11
|
-
href?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Click event handler
|
|
14
|
-
*/
|
|
15
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Whether the button is in active state
|
|
18
|
-
*/
|
|
19
|
-
active?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the button is disabled
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Additional CSS classes to apply
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Optional icon to display
|
|
30
|
-
*/
|
|
31
|
-
icon?: IconProp;
|
|
32
|
-
/**
|
|
33
|
-
* Color scheme for the button
|
|
34
|
-
*/
|
|
35
|
-
color?: Color;
|
|
36
|
-
}
|
|
37
|
-
export default SectionButtonProps;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
-
import { Color } from "../../../../types/styleValues";
|
|
3
|
-
export interface SectionButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* The label text of the button
|
|
6
|
-
*/
|
|
7
|
-
label: string;
|
|
8
|
-
/**
|
|
9
|
-
* URL to navigate to when the button is clicked (renders as an anchor tag)
|
|
10
|
-
*/
|
|
11
|
-
href?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Click event handler
|
|
14
|
-
*/
|
|
15
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Whether the button is in active state
|
|
18
|
-
*/
|
|
19
|
-
active?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the button is disabled
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Additional CSS classes to apply
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Optional icon to display
|
|
30
|
-
*/
|
|
31
|
-
icon?: IconProp;
|
|
32
|
-
/**
|
|
33
|
-
* Color scheme for the button
|
|
34
|
-
*/
|
|
35
|
-
color?: Color;
|
|
36
|
-
}
|
|
37
|
-
export default SectionButtonProps;
|