lawgic-dev-kit 0.12.8 → 0.12.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/dist/_virtual/client.js +22 -3
  2. package/dist/_virtual/index5.js +2 -2
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/components/atoms/Avatar/Avatar.js +31 -73
  5. package/dist/components/atoms/UploadContainer/UploadContainer.js +47 -89
  6. package/dist/components/molecules/AlertModal/AlertModal.js +26 -68
  7. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +45 -87
  8. package/dist/components/molecules/DialogModal/DialogModal.js +37 -79
  9. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +25 -67
  10. package/dist/components/molecules/Tabs/Tabs.js +41 -83
  11. package/dist/lawgic-dev-kit.umd.js +243 -884
  12. package/dist/node_modules/prop-types/index.js +1 -1
  13. package/dist/node_modules/scheduler/index.js +1 -1
  14. package/dist/utils/modal.js +59 -101
  15. package/dist/utils/toast.js +73 -106
  16. package/package.json +1 -1
  17. package/dist/dist/_virtual/_commonjsHelpers.js +0 -8
  18. package/dist/dist/_virtual/index.js +0 -7
  19. package/dist/dist/_virtual/index3.js +0 -5
  20. package/dist/dist/_virtual/index4.js +0 -5
  21. package/dist/dist/_virtual/index5.js +0 -7
  22. package/dist/dist/_virtual/index6.js +0 -4
  23. package/dist/dist/_virtual/index7.js +0 -4
  24. package/dist/dist/_virtual/index8.js +0 -4
  25. package/dist/dist/_virtual/jsx-runtime.js +0 -5
  26. package/dist/dist/_virtual/jsx-runtime2.js +0 -4
  27. package/dist/dist/_virtual/lodash.js +0 -2
  28. package/dist/dist/_virtual/lodash2.js +0 -4
  29. package/dist/dist/_virtual/react-is.development.js +0 -4
  30. package/dist/dist/_virtual/react-is.production.min.js +0 -4
  31. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -4
  32. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -4
  33. package/dist/dist/components/atoms/AsyncToast/index.js +0 -33
  34. package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +0 -5
  35. package/dist/dist/components/atoms/Toast/Toast.js +0 -113
  36. package/dist/dist/constants/countries.js +0 -8
  37. package/dist/dist/contexts/themeContext.js +0 -3
  38. package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -4
  39. package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -2661
  40. package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +0 -33
  41. package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -266
  42. package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  43. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -205
  44. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  45. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -147
  46. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  47. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -12
  48. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -23
  49. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -18
  50. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
  51. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -6
  52. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -37
  53. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -30
  54. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -32
  55. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -52
  56. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -92
  57. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  58. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -47
  59. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -46
  60. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -33
  61. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -22
  62. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  63. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  64. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -22
  65. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -7
  66. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -6
  67. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -4
  68. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -7
  69. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -6
  70. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -53
  71. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -41
  72. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -45
  73. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  74. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  75. package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  76. package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  77. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  78. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  79. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  80. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  81. package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  82. package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  83. package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
  84. package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -9
  85. package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
  86. package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -19
  87. package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
  88. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -4
  89. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -4
  90. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -4
  91. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -32
  92. package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
  93. package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  94. package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
  95. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
  96. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -19
  97. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -68
  98. package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  99. package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
  100. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -85
  101. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
  102. package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
  103. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -10
  104. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  105. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  106. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  107. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -27
  108. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  109. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  110. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  111. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  112. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
  113. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  114. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  115. package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -59
  116. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  117. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  118. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -18
  119. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  120. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -53
  121. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  122. package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -31
  123. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -25
  124. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -14
  125. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -52
  126. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -36
  127. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -25
  128. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -18
  129. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -34
  130. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
  131. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  132. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -608
  133. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -15
  134. package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  135. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -21
  136. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -16
  137. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  138. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -13
  139. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -6
  140. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -20
  141. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -13
  142. package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -229
  143. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -20
  144. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  145. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -15
  146. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -6
  147. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -66
  148. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -27
  149. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  150. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -18
  151. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  152. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -31
  153. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  154. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -5
  155. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  156. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -6
  157. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -31
  158. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -10
  159. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -24
  160. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -9
  161. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -8
  162. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -4
  163. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -41
  164. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -18
  165. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -4
  166. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -31
  167. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -7
  168. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
  169. package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -37
  170. package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
  171. package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  172. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  173. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  174. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  175. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -13
  176. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  177. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -16
  178. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +0 -64
  179. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -8
  180. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  181. package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +0 -4
  182. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -48
  183. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -44
  184. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  185. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  186. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -26
  187. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  188. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  189. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  190. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +0 -15
  191. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  192. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -11
  193. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  194. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -11
  195. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  196. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -128
  197. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -4
  198. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  199. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -20
  200. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
  201. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -6
  202. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  203. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  204. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -20
  205. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  206. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -13
  207. package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -4
  208. package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -13
  209. package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  210. package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  211. package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -22
  212. package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -41
  213. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  214. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -4
  215. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  216. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -4
  217. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -29
  218. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -52
  219. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -6
  220. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -8
  221. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -4
  222. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -8
  223. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -8
  224. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -13
  225. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -6
  226. package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -4
  227. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  228. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
  229. package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -6
  230. package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
  231. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  232. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  233. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -19
  234. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  235. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -11
  236. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  237. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -18
  238. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -24
  239. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -49
  240. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
  241. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -17
  242. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  243. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  244. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  245. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  246. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  247. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -9
  248. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  249. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -4
  250. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -9
  251. package/dist/dist/node_modules/lodash/lodash.js +0 -3677
  252. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  253. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
  254. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +0 -2
  255. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +0 -6
  256. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
  257. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +0 -12
  258. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  259. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -9
  260. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -5
  261. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -4
  262. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  263. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +0 -4
  264. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +0 -19
  265. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  266. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +0 -11
  267. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  268. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +0 -18
  269. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +0 -4
  270. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +0 -49
  271. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +0 -16
  272. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +0 -11
  273. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  274. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  275. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  276. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  277. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  278. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +0 -1
  279. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +0 -4
  280. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -74
  281. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -9
  282. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  283. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  284. package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  285. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -6
  286. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -27
  287. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
  288. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  289. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
  290. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  291. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -17
  292. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  293. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -16
  294. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  295. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  296. package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  297. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -32
  298. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  299. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  300. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  301. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  302. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  303. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  304. package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -4
  305. package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
  306. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
  307. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  308. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -13
  309. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  310. package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +0 -202
  311. package/dist/dist/node_modules/motion-utils/dist/es/array.js +0 -11
  312. package/dist/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
  313. package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
  314. package/dist/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  315. package/dist/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  316. package/dist/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  317. package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  318. package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  319. package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  320. package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -7
  321. package/dist/dist/node_modules/object-assign/index.js +0 -54
  322. package/dist/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  323. package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  324. package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  325. package/dist/dist/node_modules/prop-types/index.js +0 -17
  326. package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  327. package/dist/dist/node_modules/prop-types/lib/has.js +0 -7
  328. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  329. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  330. package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  331. package/dist/dist/node_modules/property-expr/index.js +0 -82
  332. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  333. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  334. package/dist/dist/node_modules/react/jsx-runtime.js +0 -10
  335. package/dist/dist/node_modules/tiny-case/index.js +0 -22
  336. package/dist/dist/node_modules/toposort/index.js +0 -66
  337. package/dist/dist/node_modules/yup/index.esm.js +0 -1359
  338. package/dist/dist/themes/default.js +0 -9
  339. package/dist/src/utils/toast.d.ts +0 -15
@@ -1,5 +1,24 @@
1
- import { __require as r } from "../node_modules/react-dom/client.js";
2
- var i = r();
1
+ import { __require as c } from "../node_modules/react-dom/client.js";
2
+ function a(t, i) {
3
+ for (var o = 0; o < i.length; o++) {
4
+ const e = i[o];
5
+ if (typeof e != "string" && !Array.isArray(e)) {
6
+ for (const r in e)
7
+ if (r !== "default" && !(r in t)) {
8
+ const n = Object.getOwnPropertyDescriptor(e, r);
9
+ n && Object.defineProperty(t, r, n.get ? n : {
10
+ enumerable: !0,
11
+ get: () => e[r]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var f = c();
19
+ const l = /* @__PURE__ */ a({
20
+ __proto__: null
21
+ }, [f]);
3
22
  export {
4
- i as c
23
+ l as c
5
24
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var p = { exports: {} };
2
2
  export {
3
- e as __module
3
+ p as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var p = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- p as __module
3
+ e as __module
4
4
  };
@@ -1,114 +1,72 @@
1
- import { j as o } from "../../../_virtual/jsx-runtime.js";
1
+ import { j as a } from "../../../_virtual/jsx-runtime.js";
2
2
  import { faUser as A } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
3
3
  import { FontAwesomeIcon as H } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import { useState as W } from "react";
5
- import { stringToColor as f } from "../../../utils/strings.js";
5
+ import { stringToColor as h } from "../../../utils/strings.js";
6
6
  import { getImageUrl as E } from "../../../utils/images.js";
7
7
  import "../../../_virtual/lodash.js";
8
8
  import "../../../contexts/themeContext.js";
9
9
  import "react-hook-form";
10
10
  import "../../../constants/countries.js";
11
11
  import "../ImageProfileInput/ImageProfileInput.validators.js";
12
- import "../../../_virtual/client.js";
13
- import "../../../dist/_virtual/jsx-runtime.js";
14
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
15
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
16
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
17
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
18
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
30
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
31
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
32
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
33
- import "../../../dist/_virtual/lodash.js";
34
- import "../../../dist/contexts/themeContext.js";
35
- import "../../../dist/constants/countries.js";
36
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
37
- import "react-dom";
38
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
39
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
40
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
41
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
42
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
43
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
44
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
45
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
46
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
47
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
48
- import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
49
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
50
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
51
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
52
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
53
- import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
54
- const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m = "", size: n = 30, user: t = null }) => {
55
- const { className: d = " ", ...g } = h, { className: s = " ", ...v } = x, r = n + "px", i = n * 0.5 + "px", e = n * 0.4 + "px", [j, w] = W(!1), N = () => m ? f(m) : t ? f(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", p = (c) => {
12
+ const V = ({ containerProps: x = {}, imageProps: d = {}, src: m = "", alt: i = "", size: e = 30, user: t = null }) => {
13
+ const { className: p = " ", ...g } = x, { className: s = " ", ...v } = d, o = e + "px", n = e * 0.5 + "px", l = e * 0.4 + "px", [j, w] = W(!1), N = () => i ? h(i) : t ? h(t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || "") + " " + ((t == null ? void 0 : t.last_name) || "") : t == null ? void 0 : t.email) : "#9CA1B6", c = (f) => {
56
14
  try {
57
- return c ? (new URL(c), !0) : !1;
15
+ return f ? (new URL(f), !0) : !1;
58
16
  } catch (C) {
59
17
  return console.log(C), !1;
60
18
  }
61
- }, y = () => p(a) ? a : t != null && t.image && p(t.image) ? t.image : t != null && t.image ? E(t.image) : "", S = () => m ? /* @__PURE__ */ o.jsx(
19
+ }, y = () => c(m) ? m : t != null && t.image && c(t.image) ? t.image : t != null && t.image ? E(t.image) : "", S = () => i ? /* @__PURE__ */ a.jsx(
62
20
  "h4",
63
21
  {
64
22
  className: "text-white uppercase font-600 text-nowrap",
65
23
  style: {
66
- fontSize: e
24
+ fontSize: l
67
25
  },
68
- children: m
26
+ children: i
69
27
  }
70
- ) : t ? /* @__PURE__ */ o.jsx(
28
+ ) : t ? /* @__PURE__ */ a.jsx(
71
29
  "h4",
72
30
  {
73
31
  className: "text-white uppercase font-600 text-nowrap",
74
32
  style: {
75
- fontSize: e
33
+ fontSize: l
76
34
  },
77
35
  children: t != null && t.first_name || t != null && t.last_name ? ((t == null ? void 0 : t.first_name) || " ")[0] + ((t == null ? void 0 : t.last_name) || " ")[0] : ((t == null ? void 0 : t.email) || " ")[0]
78
36
  }
79
- ) : /* @__PURE__ */ o.jsx(
37
+ ) : /* @__PURE__ */ a.jsx(
80
38
  H,
81
39
  {
82
40
  style: {
83
- maxWidth: i,
84
- maxHeight: i,
85
- minWidth: i,
86
- minHeight: i
41
+ maxWidth: n,
42
+ maxHeight: n,
43
+ minWidth: n,
44
+ minHeight: n
87
45
  },
88
46
  icon: A,
89
47
  className: "w-full text-white"
90
48
  }
91
49
  ), _ = () => {
92
50
  w(!0);
93
- }, l = y();
94
- return /* @__PURE__ */ o.jsxs(
51
+ }, r = y();
52
+ return /* @__PURE__ */ a.jsxs(
95
53
  "div",
96
54
  {
97
- className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + d,
55
+ className: "flex items-center justify-center rounded-full overflow-hidden h-full relative " + p,
98
56
  style: {
99
- maxWidth: r,
100
- maxHeight: r,
101
- minWidth: r,
102
- minHeight: r,
57
+ maxWidth: o,
58
+ maxHeight: o,
59
+ minWidth: o,
60
+ minHeight: o,
103
61
  backgroundColor: N()
104
62
  },
105
63
  ...g,
106
64
  children: [
107
- l && !j && /* @__PURE__ */ o.jsx(
65
+ r && !j && /* @__PURE__ */ a.jsx(
108
66
  "img",
109
67
  {
110
- src: l,
111
- alt: m,
68
+ src: r,
69
+ alt: i,
112
70
  className: `
113
71
  object-cover w-full h-full text-center indent-[10000px] absolute
114
72
  z-10
@@ -118,17 +76,17 @@ const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m =
118
76
  ...v
119
77
  }
120
78
  ),
121
- /* @__PURE__ */ o.jsx(
79
+ /* @__PURE__ */ a.jsx(
122
80
  "div",
123
81
  {
124
82
  className: `
125
83
  flex items-center justify-center leading-none text-center absolute
126
84
  `,
127
85
  style: {
128
- maxWidth: i,
129
- maxHeight: i,
130
- minWidth: i,
131
- minHeight: i
86
+ maxWidth: n,
87
+ maxHeight: n,
88
+ minWidth: n,
89
+ minHeight: n
132
90
  },
133
91
  children: S()
134
92
  }
@@ -138,5 +96,5 @@ const Et = ({ containerProps: h = {}, imageProps: x = {}, src: a = "", alt: m =
138
96
  );
139
97
  };
140
98
  export {
141
- Et as default
99
+ V as default
142
100
  };
@@ -1,4 +1,4 @@
1
- import { j as e } from "../../../_virtual/jsx-runtime.js";
1
+ import { j as t } from "../../../_virtual/jsx-runtime.js";
2
2
  import { useState as g, useRef as $ } from "react";
3
3
  import k from "../TextButton/TextButton.js";
4
4
  import { useTheme as B } from "../../../hooks/useTheme.js";
@@ -8,55 +8,13 @@ import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
8
8
  import "react-hook-form";
9
9
  import "../../../constants/countries.js";
10
10
  import "../ImageProfileInput/ImageProfileInput.validators.js";
11
- import "../../../_virtual/client.js";
12
- import "../../../dist/_virtual/jsx-runtime.js";
13
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
14
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
15
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
16
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
17
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
18
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
30
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
31
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
32
- import "../../../dist/_virtual/lodash.js";
33
- import "../../../dist/contexts/themeContext.js";
34
- import "../../../dist/constants/countries.js";
35
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
36
- import "react-dom";
37
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
38
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
39
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
40
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
41
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
42
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
43
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
44
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
45
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
46
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
47
- import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
48
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
49
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
50
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
51
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
52
- import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
53
- const Bt = ({
11
+ const q = ({
54
12
  title: h = "drag_and_drop_your_files_here",
55
- subtitle: c = null,
13
+ subtitle: d = null,
56
14
  buttonTitle: v = "choose_files",
57
15
  onUpload: j = () => {
58
16
  },
59
- acceptedExtensions: s = [
17
+ acceptedExtensions: o = [
60
18
  "pdf",
61
19
  "png",
62
20
  "jpg",
@@ -67,57 +25,57 @@ const Bt = ({
67
25
  "xls",
68
26
  "xlsx"
69
27
  ],
70
- maxSize: a = 1024
28
+ maxSize: n = 1024
71
29
  // en KB
72
30
  }) => {
73
- const { t: n } = B(), [d, i] = g(!1), [f, p] = g(""), l = $(null), y = s.map((t) => `.${t}`).join(","), u = (t) => {
31
+ const { t: l } = B(), [m, a] = g(!1), [f, i] = g(""), c = $(null), y = o.map((e) => `.${e}`).join(","), u = (e) => {
74
32
  const r = [];
75
- let m = !1;
76
- Array.from(t).forEach((o) => {
33
+ let p = !1;
34
+ Array.from(e).forEach((s) => {
77
35
  var x;
78
- const _ = ((x = o.name.split(".").pop()) == null ? void 0 : x.toLowerCase()) || "";
79
- if (!s.includes(_)) {
80
- p(
81
- `El archivo ${o.name} tiene una extensión no permitida.`
82
- ), m = !0;
36
+ const _ = ((x = s.name.split(".").pop()) == null ? void 0 : x.toLowerCase()) || "";
37
+ if (!o.includes(_)) {
38
+ i(
39
+ `El archivo ${s.name} tiene una extensión no permitida.`
40
+ ), p = !0;
83
41
  return;
84
42
  }
85
- if (o.size > a * 1024) {
86
- p(
87
- `El archivo ${o.name} excede el tamaño máximo de ${a}KB.`
88
- ), m = !0;
43
+ if (s.size > n * 1024) {
44
+ i(
45
+ `El archivo ${s.name} excede el tamaño máximo de ${n}KB.`
46
+ ), p = !0;
89
47
  return;
90
48
  }
91
- r.push(o);
92
- }), !m && r.length > 0 && (p(""), j(r));
49
+ r.push(s);
50
+ }), !p && r.length > 0 && (i(""), j(r));
93
51
  }, D = () => {
94
- l.current && l.current.click();
95
- }, b = (t) => {
96
- const r = t.target.files;
97
- r && r.length > 0 && u(r), t.target.value = "";
98
- }, N = (t) => {
99
- t.preventDefault(), t.stopPropagation(), i(!0);
100
- }, C = (t) => {
101
- t.preventDefault(), t.stopPropagation(), i(!1);
102
- }, E = (t) => {
103
- t.preventDefault(), t.stopPropagation(), d || i(!0);
104
- }, w = (t) => {
105
- t.preventDefault(), t.stopPropagation(), i(!1);
106
- const r = t.dataTransfer.files;
52
+ c.current && c.current.click();
53
+ }, b = (e) => {
54
+ const r = e.target.files;
55
+ r && r.length > 0 && u(r), e.target.value = "";
56
+ }, N = (e) => {
57
+ e.preventDefault(), e.stopPropagation(), a(!0);
58
+ }, C = (e) => {
59
+ e.preventDefault(), e.stopPropagation(), a(!1);
60
+ }, E = (e) => {
61
+ e.preventDefault(), e.stopPropagation(), m || a(!0);
62
+ }, w = (e) => {
63
+ e.preventDefault(), e.stopPropagation(), a(!1);
64
+ const r = e.dataTransfer.files;
107
65
  r.length > 0 && u(r);
108
66
  };
109
- return /* @__PURE__ */ e.jsxs("div", { className: "w-full mx-auto font-sans", children: [
110
- /* @__PURE__ */ e.jsxs(
67
+ return /* @__PURE__ */ t.jsxs("div", { className: "w-full mx-auto font-sans", children: [
68
+ /* @__PURE__ */ t.jsxs(
111
69
  "div",
112
70
  {
113
- className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${d ? "border-blue-400 bg-blue-100/50" : "border-gray-200 bg-white hover:border-blue-400"}`,
71
+ className: `flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${m ? "border-blue-400 bg-blue-100/50" : "border-gray-200 bg-white hover:border-blue-400"}`,
114
72
  onDragEnter: N,
115
73
  onDragLeave: C,
116
74
  onDragOver: E,
117
75
  onDrop: w,
118
76
  onClick: D,
119
77
  children: [
120
- /* @__PURE__ */ e.jsx("div", { className: "flex justify-center translate-y-4", children: /* @__PURE__ */ e.jsx(
78
+ /* @__PURE__ */ t.jsx("div", { className: "flex justify-center translate-y-4", children: /* @__PURE__ */ t.jsx(
121
79
  "img",
122
80
  {
123
81
  className: "w-full h-auto max-w-160",
@@ -125,15 +83,15 @@ const Bt = ({
125
83
  alt: "empty-state"
126
84
  }
127
85
  ) }),
128
- /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center", children: [
129
- /* @__PURE__ */ e.jsx("h3", { className: "font-600 text-xl text-dark", children: n(h) }),
130
- c && /* @__PURE__ */ e.jsx("p", { className: "font-400 text-lg text-gray-500", children: n(c) }),
131
- /* @__PURE__ */ e.jsx(k, { color: "blue", children: n(v) }),
132
- /* @__PURE__ */ e.jsx(
86
+ /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
87
+ /* @__PURE__ */ t.jsx("h3", { className: "font-600 text-xl text-dark", children: l(h) }),
88
+ d && /* @__PURE__ */ t.jsx("p", { className: "font-400 text-lg text-gray-500", children: l(d) }),
89
+ /* @__PURE__ */ t.jsx(k, { color: "blue", children: l(v) }),
90
+ /* @__PURE__ */ t.jsx(
133
91
  "input",
134
92
  {
135
93
  type: "file",
136
- ref: l,
94
+ ref: c,
137
95
  className: "hidden",
138
96
  multiple: !0,
139
97
  accept: y,
@@ -144,15 +102,15 @@ const Bt = ({
144
102
  ]
145
103
  }
146
104
  ),
147
- f && /* @__PURE__ */ e.jsx("div", { className: "mt-3 text-sm text-red-500", children: f }),
148
- /* @__PURE__ */ e.jsx("div", { className: "mt-10 w-full flex justify-center", children: /* @__PURE__ */ e.jsxs("span", { className: "text-gray-500 font-400 text-base", children: [
149
- s.join(", ").toUpperCase(),
105
+ f && /* @__PURE__ */ t.jsx("div", { className: "mt-3 text-sm text-red-500", children: f }),
106
+ /* @__PURE__ */ t.jsx("div", { className: "mt-10 w-full flex justify-center", children: /* @__PURE__ */ t.jsxs("span", { className: "text-gray-500 font-400 text-base", children: [
107
+ o.join(", ").toUpperCase(),
150
108
  " formats. Maximus size:",
151
109
  " ",
152
- F(a, "mb")
110
+ F(n, "mb")
153
111
  ] }) })
154
112
  ] });
155
113
  };
156
114
  export {
157
- Bt as default
115
+ q as default
158
116
  };
@@ -6,65 +6,23 @@ import "../../../_virtual/lodash.js";
6
6
  import { useTheme as j } from "../../../hooks/useTheme.js";
7
7
  import "react-hook-form";
8
8
  import g from "../../atoms/BoxContainer/BoxContainer.js";
9
- import "../../../_virtual/client.js";
10
- import "../../../dist/_virtual/jsx-runtime.js";
11
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
12
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
13
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
14
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
15
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
16
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
17
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
18
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
30
- import "../../../dist/_virtual/lodash.js";
31
- import "../../../dist/contexts/themeContext.js";
32
- import "../../../dist/constants/countries.js";
33
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
34
- import "react-dom";
35
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
36
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
37
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
38
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
39
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
40
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
41
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
42
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
43
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
44
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
45
- import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
46
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
47
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
48
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
49
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
50
- import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
51
- import o from "../../atoms/Button/Button.js";
9
+ import a from "../../atoms/Button/Button.js";
52
10
  import "../../../constants/countries.js";
53
11
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
54
12
  import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
55
- import { motion as e } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
56
- const Nt = ({
57
- title: m,
58
- description: a,
59
- open: p,
13
+ import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
14
+ const I = ({
15
+ title: s,
16
+ description: r,
17
+ open: l,
60
18
  onClose: i,
61
- onConfirm: n,
62
- onCancel: s
19
+ onConfirm: o,
20
+ onCancel: c
63
21
  }) => {
64
- const { t: r } = j(), l = {
22
+ const { t: e } = j(), m = {
65
23
  hidden: { opacity: 0 },
66
24
  visible: { opacity: 1 }
67
- }, c = {
25
+ }, x = {
68
26
  hidden: {
69
27
  opacity: 0,
70
28
  scale: 0.8,
@@ -88,32 +46,32 @@ const Nt = ({
88
46
  duration: 0.2
89
47
  }
90
48
  }
91
- }, x = () => {
92
- n(), i();
49
+ }, p = () => {
50
+ o(), i();
93
51
  }, d = () => {
94
- s(), i();
52
+ c(), i();
95
53
  };
96
- return /* @__PURE__ */ t.jsx(u, { children: p && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
97
- e.div,
54
+ return /* @__PURE__ */ t.jsx(u, { children: l && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
55
+ n.div,
98
56
  {
99
57
  className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
100
58
  initial: "hidden",
101
59
  animate: "visible",
102
60
  exit: "hidden",
103
- variants: l,
61
+ variants: m,
104
62
  onClick: i,
105
63
  children: /* @__PURE__ */ t.jsx(
106
- e.div,
64
+ n.div,
107
65
  {
108
66
  className: "w-full max-w-4xl mx-16 z-50",
109
- variants: c,
67
+ variants: x,
110
68
  initial: "hidden",
111
69
  animate: "visible",
112
70
  exit: "exit",
113
71
  onClick: (f) => f.stopPropagation(),
114
72
  children: /* @__PURE__ */ t.jsxs(g, { className: "flex flex-col gap-16 p-32", children: [
115
73
  /* @__PURE__ */ t.jsxs("div", { className: "flex justify-between items-center gap-16", children: [
116
- /* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children: m }),
74
+ /* @__PURE__ */ t.jsx("h3", { className: "text-black font-700 text-3xl", children: s }),
117
75
  /* @__PURE__ */ t.jsx(
118
76
  y,
119
77
  {
@@ -123,23 +81,23 @@ const Nt = ({
123
81
  }
124
82
  )
125
83
  ] }),
126
- /* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children: a }),
84
+ /* @__PURE__ */ t.jsx("p", { className: "text-gray-500 text-xl font-600", children: r }),
127
85
  /* @__PURE__ */ t.jsxs("div", { className: "flex justify-end w-full gap-16", children: [
128
86
  /* @__PURE__ */ t.jsx(
129
- o,
87
+ a,
130
88
  {
131
89
  onClick: d,
132
90
  variant: "transparent",
133
91
  className: "px-24 py-10! text-lg!",
134
- children: r("cancel")
92
+ children: e("cancel")
135
93
  }
136
94
  ),
137
95
  /* @__PURE__ */ t.jsx(
138
- o,
96
+ a,
139
97
  {
140
- onClick: x,
98
+ onClick: p,
141
99
  className: "px-24 py-16 text-lg!",
142
- children: r("confirm")
100
+ children: e("confirm")
143
101
  }
144
102
  )
145
103
  ] })
@@ -150,5 +108,5 @@ const Nt = ({
150
108
  ) }) });
151
109
  };
152
110
  export {
153
- Nt as default
111
+ I as default
154
112
  };