lawgic-dev-kit 0.12.8 → 0.13.0

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 (343) hide show
  1. package/dist/_virtual/client.js +22 -3
  2. package/dist/_virtual/index2.js +2 -3
  3. package/dist/_virtual/index3.js +2 -3
  4. package/dist/_virtual/index4.js +3 -5
  5. package/dist/_virtual/index5.js +3 -2
  6. package/dist/_virtual/index6.js +5 -2
  7. package/dist/components/atoms/Avatar/Avatar.js +31 -73
  8. package/dist/components/atoms/UploadContainer/UploadContainer.js +47 -89
  9. package/dist/components/molecules/AlertModal/AlertModal.js +26 -68
  10. package/dist/components/molecules/CalendarSelector/CalendarSelector.js +45 -87
  11. package/dist/components/molecules/DialogModal/DialogModal.js +37 -79
  12. package/dist/components/molecules/FloatingMenu/FloatingMenu.js +25 -67
  13. package/dist/components/molecules/Tabs/Tabs.js +41 -83
  14. package/dist/lawgic-dev-kit.umd.js +243 -884
  15. package/dist/node_modules/prop-types/index.js +1 -1
  16. package/dist/node_modules/scheduler/index.js +1 -1
  17. package/dist/node_modules/yup/index.esm.js +3 -3
  18. package/dist/utils/modal.js +59 -101
  19. package/dist/utils/toast.js +73 -106
  20. package/package.json +5 -5
  21. package/dist/dist/_virtual/_commonjsHelpers.js +0 -8
  22. package/dist/dist/_virtual/index.js +0 -7
  23. package/dist/dist/_virtual/index3.js +0 -5
  24. package/dist/dist/_virtual/index4.js +0 -5
  25. package/dist/dist/_virtual/index5.js +0 -7
  26. package/dist/dist/_virtual/index6.js +0 -4
  27. package/dist/dist/_virtual/index7.js +0 -4
  28. package/dist/dist/_virtual/index8.js +0 -4
  29. package/dist/dist/_virtual/jsx-runtime.js +0 -5
  30. package/dist/dist/_virtual/jsx-runtime2.js +0 -4
  31. package/dist/dist/_virtual/lodash.js +0 -2
  32. package/dist/dist/_virtual/lodash2.js +0 -4
  33. package/dist/dist/_virtual/react-is.development.js +0 -4
  34. package/dist/dist/_virtual/react-is.production.min.js +0 -4
  35. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -4
  36. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -4
  37. package/dist/dist/components/atoms/AsyncToast/index.js +0 -33
  38. package/dist/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +0 -5
  39. package/dist/dist/components/atoms/Toast/Toast.js +0 -113
  40. package/dist/dist/constants/countries.js +0 -8
  41. package/dist/dist/contexts/themeContext.js +0 -3
  42. package/dist/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -4
  43. package/dist/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -2661
  44. package/dist/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +0 -33
  45. package/dist/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +0 -266
  46. package/dist/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  47. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -205
  48. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  49. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -147
  50. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  51. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -12
  52. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -23
  53. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -18
  54. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -8
  55. package/dist/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -6
  56. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -37
  57. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -30
  58. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -32
  59. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -52
  60. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -92
  61. package/dist/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  62. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -47
  63. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -46
  64. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -33
  65. package/dist/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -22
  66. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  67. package/dist/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  68. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -22
  69. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -7
  70. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -6
  71. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -4
  72. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -7
  73. package/dist/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -6
  74. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -53
  75. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -41
  76. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -45
  77. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  78. package/dist/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  79. package/dist/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  80. package/dist/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  81. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  82. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  83. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  84. package/dist/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  85. package/dist/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  86. package/dist/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  87. package/dist/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -5
  88. package/dist/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -9
  89. package/dist/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -8
  90. package/dist/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -19
  91. package/dist/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -7
  92. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -4
  93. package/dist/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -4
  94. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -4
  95. package/dist/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -32
  96. package/dist/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -6
  97. package/dist/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  98. package/dist/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
  99. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
  100. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -19
  101. package/dist/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -68
  102. package/dist/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  103. package/dist/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
  104. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -85
  105. package/dist/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
  106. package/dist/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
  107. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -10
  108. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  109. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  110. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  111. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -27
  112. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  113. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  114. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  115. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  116. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
  117. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  118. package/dist/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  119. package/dist/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -59
  120. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  121. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  122. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -18
  123. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  124. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -53
  125. package/dist/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  126. package/dist/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -31
  127. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -25
  128. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -14
  129. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -52
  130. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -36
  131. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -25
  132. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -18
  133. package/dist/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -34
  134. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -13
  135. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  136. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -608
  137. package/dist/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -15
  138. package/dist/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  139. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -21
  140. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -16
  141. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  142. package/dist/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -13
  143. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -6
  144. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -20
  145. package/dist/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -13
  146. package/dist/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -229
  147. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -20
  148. package/dist/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  149. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -15
  150. package/dist/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -6
  151. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -66
  152. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -27
  153. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  154. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -18
  155. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  156. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -31
  157. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  158. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -5
  159. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  160. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -6
  161. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -31
  162. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -10
  163. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -24
  164. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -9
  165. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -8
  166. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -4
  167. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -41
  168. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -18
  169. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -4
  170. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -31
  171. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -7
  172. package/dist/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -8
  173. package/dist/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -37
  174. package/dist/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -12
  175. package/dist/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  176. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  177. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  178. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  179. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -13
  180. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  181. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -16
  182. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +0 -64
  183. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -8
  184. package/dist/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  185. package/dist/dist/node_modules/framer-motion/dist/es/render/store.js +0 -4
  186. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -48
  187. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -44
  188. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  189. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  190. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -26
  191. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  192. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  193. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  194. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +0 -15
  195. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  196. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -11
  197. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  198. package/dist/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -11
  199. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  200. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -128
  201. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -4
  202. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  203. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -20
  204. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -13
  205. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -6
  206. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  207. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  208. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -20
  209. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  210. package/dist/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -13
  211. package/dist/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -4
  212. package/dist/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -13
  213. package/dist/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  214. package/dist/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  215. package/dist/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -22
  216. package/dist/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -41
  217. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  218. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -4
  219. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  220. package/dist/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -4
  221. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -29
  222. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -52
  223. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -6
  224. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -8
  225. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -4
  226. package/dist/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -8
  227. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -8
  228. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -13
  229. package/dist/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -6
  230. package/dist/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -4
  231. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  232. package/dist/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -5
  233. package/dist/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -6
  234. package/dist/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -14
  235. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  236. package/dist/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  237. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -19
  238. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  239. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -11
  240. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  241. package/dist/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -18
  242. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -24
  243. package/dist/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -49
  244. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -17
  245. package/dist/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -17
  246. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  247. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  248. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  249. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  250. package/dist/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  251. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -9
  252. package/dist/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  253. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -4
  254. package/dist/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -9
  255. package/dist/dist/node_modules/lodash/lodash.js +0 -3677
  256. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -6
  257. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +0 -2
  258. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +0 -2
  259. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +0 -6
  260. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -2
  261. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +0 -12
  262. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  263. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -9
  264. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -5
  265. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -4
  266. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -23
  267. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +0 -4
  268. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +0 -19
  269. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +0 -12
  270. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +0 -11
  271. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +0 -16
  272. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +0 -18
  273. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +0 -4
  274. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +0 -49
  275. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +0 -16
  276. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +0 -11
  277. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +0 -4
  278. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +0 -4
  279. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -6
  280. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +0 -4
  281. package/dist/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -4
  282. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +0 -1
  283. package/dist/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +0 -4
  284. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -74
  285. package/dist/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -9
  286. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  287. package/dist/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  288. package/dist/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  289. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -6
  290. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -27
  291. package/dist/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
  292. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  293. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
  294. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  295. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -17
  296. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  297. package/dist/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -16
  298. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  299. package/dist/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  300. package/dist/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  301. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -32
  302. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  303. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  304. package/dist/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  305. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  306. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  307. package/dist/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  308. package/dist/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -4
  309. package/dist/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -14
  310. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
  311. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  312. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -13
  313. package/dist/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  314. package/dist/dist/node_modules/motion-dom/dist/es/value/index.js +0 -202
  315. package/dist/dist/node_modules/motion-utils/dist/es/array.js +0 -11
  316. package/dist/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
  317. package/dist/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
  318. package/dist/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  319. package/dist/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  320. package/dist/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  321. package/dist/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  322. package/dist/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  323. package/dist/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  324. package/dist/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -7
  325. package/dist/dist/node_modules/object-assign/index.js +0 -54
  326. package/dist/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  327. package/dist/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  328. package/dist/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  329. package/dist/dist/node_modules/prop-types/index.js +0 -17
  330. package/dist/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  331. package/dist/dist/node_modules/prop-types/lib/has.js +0 -7
  332. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  333. package/dist/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  334. package/dist/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  335. package/dist/dist/node_modules/property-expr/index.js +0 -82
  336. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
  337. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
  338. package/dist/dist/node_modules/react/jsx-runtime.js +0 -10
  339. package/dist/dist/node_modules/tiny-case/index.js +0 -22
  340. package/dist/dist/node_modules/toposort/index.js +0 -66
  341. package/dist/dist/node_modules/yup/index.esm.js +0 -1359
  342. package/dist/dist/themes/default.js +0 -9
  343. package/dist/src/utils/toast.d.ts +0 -15
@@ -1,64 +1,22 @@
1
1
  import { j as e } from "../../../_virtual/jsx-runtime.js";
2
2
  import { faChevronRight as oe } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
3
3
  import { faChevronLeft as ne } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
4
- import { useState as d, useEffect as $, useRef as H } from "react";
4
+ import { useState as p, useEffect as $, useRef as H } from "react";
5
5
  import { FontAwesomeIcon as se } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
6
6
  import "../../../_virtual/lodash.js";
7
- import { useTheme as ie } from "../../../hooks/useTheme.js";
7
+ import { useTheme as ae } from "../../../hooks/useTheme.js";
8
8
  import Y from "../FloatingMenu/FloatingMenu.js";
9
- import ae from "./PeriodToggle.js";
9
+ import ie from "./PeriodToggle.js";
10
10
  import le from "./TimeDisplay.js";
11
- import { faChevronDown as me } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
11
+ import { faChevronDown as ce } from "../../../node_modules/@fortawesome/pro-regular-svg-icons/index.js";
12
12
  import "react-hook-form";
13
- import "../../../_virtual/client.js";
14
- import "../../../dist/_virtual/jsx-runtime.js";
15
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
16
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
17
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
18
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
30
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
31
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
32
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
33
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
34
- import "../../../dist/_virtual/lodash.js";
35
- import "../../../dist/contexts/themeContext.js";
36
- import "../../../dist/constants/countries.js";
37
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
38
- import "react-dom";
39
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
40
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
41
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
42
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
43
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
44
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
45
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
46
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
47
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
48
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
49
- import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
50
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
51
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
52
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
53
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
54
- import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
55
13
  import "../../../constants/countries.js";
56
14
  import I from "../../atoms/IconButton/IconButton.js";
57
15
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
58
- import { AnimatePresence as ce } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
16
+ import { AnimatePresence as me } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
59
17
  import { motion as B } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
60
- import { startOfWeek as pe } from "../../../node_modules/date-fns/startOfWeek.js";
61
- import { startOfMonth as de } from "../../../node_modules/date-fns/startOfMonth.js";
18
+ import { startOfWeek as de } from "../../../node_modules/date-fns/startOfWeek.js";
19
+ import { startOfMonth as pe } from "../../../node_modules/date-fns/startOfMonth.js";
62
20
  import { endOfWeek as ue } from "../../../node_modules/date-fns/endOfWeek.js";
63
21
  import { endOfMonth as fe } from "../../../node_modules/date-fns/endOfMonth.js";
64
22
  import { eachDayOfInterval as xe } from "../../../node_modules/date-fns/eachDayOfInterval.js";
@@ -72,25 +30,25 @@ import { setMinutes as R } from "../../../node_modules/date-fns/setMinutes.js";
72
30
  import { setSeconds as L } from "../../../node_modules/date-fns/setSeconds.js";
73
31
  import { formatDate as u } from "../../../node_modules/date-fns/format.js";
74
32
  import { es as h } from "../../../node_modules/date-fns/locale/es.js";
75
- const Lt = ({
76
- date: m,
33
+ const et = ({
34
+ date: c,
77
35
  onDateChange: S,
78
36
  showTimeSelector: _ = !0,
79
37
  maxDate: g
80
38
  }) => {
81
- const [i, M] = d(m), [E, w] = d(m), [y, k] = d(m.getHours() % 12 || 12), [b, A] = d(
82
- m.getHours() >= 12 ? "PM" : "AM"
83
- ), [C, O] = d(0), { t: W } = ie(), [P, j] = d(!1), [T, N] = d(!1);
39
+ const [a, M] = p(c), [E, w] = p(c), [y, k] = p(c.getHours() % 12 || 12), [b, A] = p(
40
+ c.getHours() >= 12 ? "PM" : "AM"
41
+ ), [C, O] = p(0), { t: W } = ae(), [P, j] = p(!1), [T, N] = p(!1);
84
42
  $(() => {
85
- M(m), w(m), k(m.getHours() % 12 || 12), A(m.getHours() >= 12 ? "PM" : "AM");
86
- }, [m]);
43
+ M(c), w(c), k(c.getHours() % 12 || 12), A(c.getHours() >= 12 ? "PM" : "AM");
44
+ }, [c]);
87
45
  const q = () => {
88
46
  O(-1), setTimeout(() => {
89
- M(ye(i));
47
+ M(ye(a));
90
48
  }, 10);
91
49
  }, z = () => {
92
50
  O(1), setTimeout(() => {
93
- M(ve(i, 1));
51
+ M(ve(a, 1));
94
52
  }, 10);
95
53
  }, G = (t) => {
96
54
  if (g && t > g)
@@ -110,7 +68,7 @@ const Lt = ({
110
68
  }, K = (t) => {
111
69
  A(t);
112
70
  }, Q = () => {
113
- const t = /* @__PURE__ */ new Date(), s = 20, c = 5, [n, D] = d(() => Array.from({ length: s + 1 }, (r, l) => {
71
+ const t = /* @__PURE__ */ new Date(), s = 20, m = 5, [n, D] = p(() => Array.from({ length: s + 1 }, (r, l) => {
114
72
  const o = new Date(t.getFullYear(), t.getMonth() - l, 1);
115
73
  return {
116
74
  name: u(o, "MMMM", { locale: h }).replace(/^./, (f) => f.toUpperCase()),
@@ -121,11 +79,11 @@ const Lt = ({
121
79
  (f) => f.toUpperCase()
122
80
  )} ${o.getFullYear()}`
123
81
  };
124
- })), a = H(null), p = H(null);
82
+ })), i = H(null), d = H(null);
125
83
  $(() => {
126
- a.current && a.current.disconnect(), a.current = new IntersectionObserver((r) => {
84
+ i.current && i.current.disconnect(), i.current = new IntersectionObserver((r) => {
127
85
  r[0].isIntersecting && D((l) => {
128
- const o = l[l.length - 1], f = new Date(o.year, o.index - 1, 1), te = Array.from({ length: c }, (we, re) => {
86
+ const o = l[l.length - 1], f = new Date(o.year, o.index - 1, 1), te = Array.from({ length: m }, (we, re) => {
129
87
  const x = new Date(f.getFullYear(), f.getMonth() - re, 1);
130
88
  return {
131
89
  name: u(x, "MMMM", { locale: h }).replace(/^./, (F) => F.toUpperCase()),
@@ -139,10 +97,10 @@ const Lt = ({
139
97
  });
140
98
  return [...l, ...te];
141
99
  });
142
- }), p.current && a.current.observe(p.current);
100
+ }), d.current && i.current.observe(d.current);
143
101
  }, [n]);
144
102
  const v = (r, l) => {
145
- const o = new Date(i);
103
+ const o = new Date(a);
146
104
  o.setMonth(r), o.setFullYear(l), M(o), N(!1);
147
105
  };
148
106
  return /* @__PURE__ */ e.jsx("div", { className: "flex flex-col p-8 max-h-200 overflow-y-auto bg-light gap-4", children: n.map((r, l) => {
@@ -150,9 +108,9 @@ const Lt = ({
150
108
  return /* @__PURE__ */ e.jsx(
151
109
  "button",
152
110
  {
153
- ref: o ? p : null,
111
+ ref: o ? d : null,
154
112
  onClick: () => v(r.index, r.year),
155
- className: `text-start p-6 font-600 transition-all duration-100 rounded-lg hover:bg-gray-100 ${i.getMonth() === r.index && i.getFullYear() === r.year ? "bg-blue-100" : ""}`,
113
+ className: `text-start p-6 font-600 transition-all duration-100 rounded-lg hover:bg-gray-100 ${a.getMonth() === r.index && a.getFullYear() === r.year ? "bg-blue-100" : ""}`,
156
114
  children: r.displayName
157
115
  },
158
116
  `${r.name}-${r.year}-${l}`
@@ -174,11 +132,11 @@ const Lt = ({
174
132
  onClick: () => N(!T),
175
133
  className: "hover:text-blue-500 transition-colors duration-150 flex gap-6 items-center",
176
134
  children: [
177
- /* @__PURE__ */ e.jsx("h4", { className: "text-header-4", children: u(i, "MMMM yyyy", { locale: h }).replace(
135
+ /* @__PURE__ */ e.jsx("h4", { className: "text-header-4", children: u(a, "MMMM yyyy", { locale: h }).replace(
178
136
  /^./,
179
137
  (t) => t.toUpperCase()
180
138
  ) }),
181
- /* @__PURE__ */ e.jsx(se, { icon: me, className: "w-12 h-12" })
139
+ /* @__PURE__ */ e.jsx(se, { icon: ce, className: "w-12 h-12" })
182
140
  ]
183
141
  }
184
142
  )
@@ -205,22 +163,22 @@ const Lt = ({
205
163
  )
206
164
  ] })
207
165
  ] }), X = () => {
208
- const t = pe(de(i)), s = ue(fe(i)), c = xe({ start: t, end: s });
209
- return /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-7 gap-2", children: c.map((n, D) => {
210
- const a = he(n, E), p = ge(n, i), v = Me(n), r = g ? n > g : !1;
166
+ const t = de(pe(a)), s = ue(fe(a)), m = xe({ start: t, end: s });
167
+ return /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-7 gap-2", children: m.map((n, D) => {
168
+ const i = he(n, E), d = ge(n, a), v = Me(n), r = g ? n > g : !1;
211
169
  return /* @__PURE__ */ e.jsx(
212
170
  B.div,
213
171
  {
214
172
  className: `
215
173
  p-2 text-center w-[40px] h-[40px] rounded-full flex items-center justify-center font-600 select-none
216
- ${!p || r ? "text-gray-400 pointer-events-none" : "cursor-pointer"}
217
- ${v && !a ? "text-blue-600" : ""}
174
+ ${!d || r ? "text-gray-400 pointer-events-none" : "cursor-pointer"}
175
+ ${v && !i ? "text-blue-600" : ""}
218
176
  `,
219
177
  onClick: () => G(n),
220
178
  initial: !1,
221
179
  animate: {
222
- backgroundColor: a ? "#93C5FD" : "transparent",
223
- color: a ? "#FFFFFF" : v ? "#2563EB" : p && !r ? "#000000" : "#9CA3AF"
180
+ backgroundColor: i ? "#93C5FD" : "transparent",
181
+ color: i ? "#FFFFFF" : v ? "#2563EB" : d && !r ? "#000000" : "#9CA3AF"
224
182
  },
225
183
  transition: {
226
184
  duration: 0.2,
@@ -230,11 +188,11 @@ const Lt = ({
230
188
  ease: "easeOut"
231
189
  }
232
190
  },
233
- whileHover: p && !a && !r ? {
191
+ whileHover: d && !i && !r ? {
234
192
  backgroundColor: "#E5E7EB"
235
193
  } : {},
236
- whileTap: p && !r ? {
237
- backgroundColor: a ? "#7AA5E0" : "#D1D5DB"
194
+ whileTap: d && !r ? {
195
+ backgroundColor: i ? "#7AA5E0" : "#D1D5DB"
238
196
  } : {},
239
197
  children: u(n, "d")
240
198
  },
@@ -242,17 +200,17 @@ const Lt = ({
242
200
  );
243
201
  }) });
244
202
  }, Z = () => {
245
- const t = Array.from({ length: 12 }, (c, n) => n + 1), s = () => /* @__PURE__ */ e.jsx("div", { className: "bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4", children: t.map((c) => /* @__PURE__ */ e.jsxs(
203
+ const t = Array.from({ length: 12 }, (m, n) => n + 1), s = () => /* @__PURE__ */ e.jsx("div", { className: "bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4", children: t.map((m) => /* @__PURE__ */ e.jsxs(
246
204
  "button",
247
205
  {
248
- onClick: () => J(c),
249
- className: `w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${c === y ? "text-blue-500 font-medium" : ""}`,
206
+ onClick: () => J(m),
207
+ className: `w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${m === y ? "text-blue-500 font-medium" : ""}`,
250
208
  children: [
251
- String(c).padStart(2, "0"),
209
+ String(m).padStart(2, "0"),
252
210
  ":00"
253
211
  ]
254
212
  },
255
- c
213
+ m
256
214
  )) });
257
215
  return /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mt-4 mb-4", children: [
258
216
  /* @__PURE__ */ e.jsx("h4", { className: "text-body-m font-medium", children: W("time") }),
@@ -277,7 +235,7 @@ const Lt = ({
277
235
  }
278
236
  ),
279
237
  /* @__PURE__ */ e.jsx(
280
- ae,
238
+ ie,
281
239
  {
282
240
  selectedPeriod: b,
283
241
  handlePeriodChange: K
@@ -321,7 +279,7 @@ const Lt = ({
321
279
  };
322
280
  return /* @__PURE__ */ e.jsxs("div", { className: "rounded-3xl max-w-[300px] mx-auto bg-white p-24 relative overflow-hidden", children: [
323
281
  V(),
324
- /* @__PURE__ */ e.jsx(ce, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ e.jsx(
282
+ /* @__PURE__ */ e.jsx(me, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ e.jsx(
325
283
  B.div,
326
284
  {
327
285
  variants: ee,
@@ -331,11 +289,11 @@ const Lt = ({
331
289
  className: "w-full",
332
290
  children: X()
333
291
  },
334
- u(i, "yyyy-MM")
292
+ u(a, "yyyy-MM")
335
293
  ) }),
336
294
  _ && Z()
337
295
  ] });
338
296
  };
339
297
  export {
340
- Lt as default
298
+ et as default
341
299
  };
@@ -1,72 +1,30 @@
1
1
  import { j as i } from "../../../_virtual/jsx-runtime.js";
2
2
  import { faX as u } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
3
- import { FontAwesomeIcon as o } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
3
+ import { FontAwesomeIcon as a } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
4
4
  import "react";
5
5
  import "../../../_virtual/lodash.js";
6
6
  import { useTheme as y } from "../../../hooks/useTheme.js";
7
7
  import { faCheck as v } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
8
8
  import "react-hook-form";
9
9
  import g from "../../atoms/BoxContainer/BoxContainer.js";
10
- import "../../../_virtual/client.js";
11
- import "../../../dist/_virtual/jsx-runtime.js";
12
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
13
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
14
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
15
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
16
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
17
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
18
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
30
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
31
- import "../../../dist/_virtual/lodash.js";
32
- import "../../../dist/contexts/themeContext.js";
33
- import "../../../dist/constants/countries.js";
34
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
35
- import "react-dom";
36
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js";
37
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js";
38
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js";
39
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js";
40
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js";
41
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js";
42
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js";
43
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js";
44
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js";
45
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
46
- import "../../../dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js";
47
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
48
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js";
49
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js";
50
- import "../../../dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js";
51
- import "../../../dist/node_modules/@floating-ui/react/dist/floating-ui.react.js";
52
- import m from "../../atoms/Button/Button.js";
10
+ import l from "../../atoms/Button/Button.js";
53
11
  import "../../../constants/countries.js";
54
12
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
55
13
  import { AnimatePresence as N } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
56
- import { motion as s } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
57
- const ki = ({
58
- title: a,
59
- description: l,
60
- open: n,
61
- onClose: t,
62
- onConfirm: p,
63
- onCancel: r,
64
- icon: c = v
14
+ import { motion as r } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
15
+ const R = ({
16
+ title: n,
17
+ description: c,
18
+ open: o,
19
+ onClose: e,
20
+ onConfirm: m,
21
+ onCancel: t,
22
+ icon: x = v
65
23
  }) => {
66
- const x = {
24
+ const d = {
67
25
  hidden: { opacity: 0 },
68
26
  visible: { opacity: 1 }
69
- }, d = {
27
+ }, f = {
70
28
  hidden: {
71
29
  opacity: 0,
72
30
  scale: 0.8,
@@ -90,25 +48,25 @@ const ki = ({
90
48
  duration: 0.2
91
49
  }
92
50
  }
93
- }, f = () => {
94
- p(), t();
51
+ }, p = () => {
52
+ m(), e();
95
53
  }, h = () => {
96
- r == null || r(), t();
97
- }, { t: e } = y();
98
- return /* @__PURE__ */ i.jsx(N, { children: n && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
99
- s.div,
54
+ t == null || t(), e();
55
+ }, { t: s } = y();
56
+ return /* @__PURE__ */ i.jsx(N, { children: o && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
57
+ r.div,
100
58
  {
101
59
  className: "fixed inset-0 bg-black/50 z-9999 flex items-center justify-center",
102
60
  initial: "hidden",
103
61
  animate: "visible",
104
62
  exit: "hidden",
105
- variants: x,
106
- onClick: t,
63
+ variants: d,
64
+ onClick: e,
107
65
  children: /* @__PURE__ */ i.jsx(
108
- s.div,
66
+ r.div,
109
67
  {
110
68
  className: "w-full max-w-sm mx-16 z-50",
111
- variants: d,
69
+ variants: f,
112
70
  initial: "hidden",
113
71
  animate: "visible",
114
72
  exit: "exit",
@@ -116,43 +74,43 @@ const ki = ({
116
74
  children: /* @__PURE__ */ i.jsxs(g, { className: "flex flex-col gap-20 p-32", children: [
117
75
  /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", children: [
118
76
  /* @__PURE__ */ i.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ i.jsx(
119
- o,
77
+ a,
120
78
  {
121
79
  icon: u,
122
80
  className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",
123
- onClick: t
81
+ onClick: e
124
82
  }
125
83
  ) }),
126
84
  /* @__PURE__ */ i.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ i.jsx("div", { className: "bg-blue-100 rounded-full w-76 h-76 flex justify-center items-center", children: /* @__PURE__ */ i.jsx(
127
- o,
85
+ a,
128
86
  {
129
- icon: c,
87
+ icon: x,
130
88
  className: "w-32 h-36 min-h-36 min-w-36 text-blue-500",
131
- onClick: t
89
+ onClick: e
132
90
  }
133
91
  ) }) })
134
92
  ] }),
135
93
  /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-20 items-center justify-center", children: [
136
94
  /* @__PURE__ */ i.jsxs("div", { className: "text-center w-full", children: [
137
- /* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children: a }),
138
- /* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children: l })
95
+ /* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl w-full", children: n }),
96
+ /* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600 w-full", children: c })
139
97
  ] }),
140
98
  /* @__PURE__ */ i.jsxs("div", { className: "flex justify-center w-full gap-16", children: [
141
- !!r && /* @__PURE__ */ i.jsx(
142
- m,
99
+ !!t && /* @__PURE__ */ i.jsx(
100
+ l,
143
101
  {
144
102
  size: "lg",
145
103
  onClick: h,
146
104
  variant: "transparent",
147
- children: e("cancel")
105
+ children: s("cancel")
148
106
  }
149
107
  ),
150
108
  /* @__PURE__ */ i.jsx(
151
- m,
109
+ l,
152
110
  {
153
111
  size: "lg",
154
- onClick: f,
155
- children: e("confirm")
112
+ onClick: p,
113
+ children: s("confirm")
156
114
  }
157
115
  )
158
116
  ] })
@@ -164,5 +122,5 @@ const ki = ({
164
122
  ) }) });
165
123
  };
166
124
  export {
167
- ki as default
125
+ R as default
168
126
  };
@@ -6,82 +6,40 @@ import "../../../_virtual/lodash.js";
6
6
  import "../../../contexts/themeContext.js";
7
7
  import "react-hook-form";
8
8
  import _ from "../../atoms/BoxContainer/BoxContainer.js";
9
- import "../../../_virtual/client.js";
10
- import "../../../dist/_virtual/jsx-runtime.js";
11
- import "../../../dist/node_modules/@fortawesome/react-fontawesome/index.es.js";
12
- import "../../../dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js";
13
- import "../../../dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js";
14
- import "../../../dist/node_modules/motion-utils/dist/es/errors.js";
15
- import "../../../dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js";
16
- import "../../../dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js";
17
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/hex.js";
18
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js";
19
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js";
20
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js";
21
- import "../../../dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js";
22
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js";
23
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js";
24
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js";
25
- import "../../../dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js";
26
- import "../../../dist/node_modules/framer-motion/dist/es/context/LazyContext.js";
27
- import "../../../dist/node_modules/framer-motion/dist/es/motion/features/definitions.js";
28
- import "../../../dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js";
29
- import "../../../dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js";
30
- import "../../../dist/_virtual/lodash.js";
31
- import "../../../dist/contexts/themeContext.js";
32
- import "../../../dist/constants/countries.js";
33
- import "../../../dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js";
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
9
  import "../../../constants/countries.js";
52
10
  import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
53
11
  import { autoUpdate as z } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
54
12
  import { offset as B, flip as D, shift as T } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
55
- const Ut = ({
56
- open: i,
57
- onClose: o,
58
- component: r,
59
- children: s,
60
- placement: n = "bottom",
61
- className: a = "",
62
- strategy: l = "absolute",
63
- offset: f = 8,
64
- padding: c = 8
13
+ const W = ({
14
+ open: e,
15
+ onClose: s,
16
+ component: i,
17
+ children: a,
18
+ placement: l = "bottom",
19
+ className: f = "",
20
+ strategy: m = "absolute",
21
+ offset: c = 8,
22
+ padding: p = 8
65
23
  }) => {
66
- const [d, m] = w(i);
24
+ const [d, r] = w(e);
67
25
  P(() => {
68
- m(i);
69
- }, [i]);
26
+ r(e);
27
+ }, [e]);
70
28
  const u = () => {
71
- m(!1), o == null || o();
72
- }, { x: g, y: x, strategy: y, refs: p, context: e } = M({
73
- strategy: l,
29
+ r(!1), s == null || s();
30
+ }, { x: g, y: x, strategy: y, refs: n, context: o } = M({
31
+ strategy: m,
74
32
  open: d,
75
33
  onOpenChange: (I) => {
76
34
  I || u();
77
35
  },
78
- middleware: [B(f), D(), T({ padding: c })],
36
+ middleware: [B(c), D(), T({ padding: p })],
79
37
  whileElementsMounted: z,
80
- placement: n
81
- }), h = N(e), j = O(e), { getReferenceProps: v, getFloatingProps: E } = S([
38
+ placement: l
39
+ }), h = N(o), j = O(o), { getReferenceProps: v, getFloatingProps: E } = S([
82
40
  h,
83
41
  j
84
- ]), { isMounted: F, styles: R } = b(e, {
42
+ ]), { isMounted: F, styles: R } = b(o, {
85
43
  duration: {
86
44
  open: 200,
87
45
  close: 150
@@ -95,16 +53,16 @@ const Ut = ({
95
53
  /* @__PURE__ */ t.jsx(
96
54
  "div",
97
55
  {
98
- ref: p.setReference,
56
+ ref: n.setReference,
99
57
  ...v(),
100
58
  className: "reference-element",
101
- children: s
59
+ children: a
102
60
  }
103
61
  ),
104
62
  F && /* @__PURE__ */ t.jsx(
105
63
  "div",
106
64
  {
107
- ref: p.setFloating,
65
+ ref: n.setFloating,
108
66
  style: {
109
67
  position: y,
110
68
  top: x ?? 0,
@@ -114,11 +72,11 @@ const Ut = ({
114
72
  },
115
73
  ...E(),
116
74
  className: "floating-element",
117
- children: /* @__PURE__ */ t.jsx(_, { className: a, children: typeof r == "function" ? k.createElement(r) : r })
75
+ children: /* @__PURE__ */ t.jsx(_, { className: f, children: typeof i == "function" ? k.createElement(i) : i })
118
76
  }
119
77
  )
120
78
  ] });
121
79
  };
122
80
  export {
123
- Ut as default
81
+ W as default
124
82
  };