lawgic-dev-kit 0.12.6 → 0.12.8

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