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
@@ -0,0 +1,33 @@
1
+ /*!
2
+ * Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Commercial License)
4
+ * Copyright 2024 Fonticons, Inc.
5
+ */
6
+ const c = {
7
+ prefix: "fal",
8
+ iconName: "circle-exclamation",
9
+ icon: [512, 512, ["exclamation-circle"], "f06a", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-8.8 0-16 7.2-16 16l0 128c0 8.8 7.2 16 16 16s16-7.2 16-16l0-128c0-8.8-7.2-16-16-16zm24 224a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]
10
+ }, a = {
11
+ prefix: "fal",
12
+ iconName: "circle-check",
13
+ icon: [512, 512, [61533, "check-circle"], "f058", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]
14
+ }, l = {
15
+ prefix: "fal",
16
+ iconName: "circle-info",
17
+ icon: [512, 512, ["info-circle"], "f05a", "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l24 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]
18
+ }, i = {
19
+ prefix: "fal",
20
+ iconName: "xmark",
21
+ icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]
22
+ }, e = {
23
+ prefix: "fal",
24
+ iconName: "triangle-exclamation",
25
+ icon: [512, 512, [9888, "exclamation-triangle", "warning"], "f071", "M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4l411.2 0c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4L50.4 480C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16l0 128c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]
26
+ };
27
+ export {
28
+ a as faCircleCheck,
29
+ c as faCircleExclamation,
30
+ l as faCircleInfo,
31
+ e as faTriangleExclamation,
32
+ i as faXmark
33
+ };
@@ -0,0 +1,266 @@
1
+ import { parse as A, icon as _ } from "../fontawesome-svg-core/index.js";
2
+ import n from "../../../_virtual/index.js";
3
+ import C from "react";
4
+ function E(t, r) {
5
+ var e = Object.keys(t);
6
+ if (Object.getOwnPropertySymbols) {
7
+ var o = Object.getOwnPropertySymbols(t);
8
+ r && (o = o.filter(function(a) {
9
+ return Object.getOwnPropertyDescriptor(t, a).enumerable;
10
+ })), e.push.apply(e, o);
11
+ }
12
+ return e;
13
+ }
14
+ function f(t) {
15
+ for (var r = 1; r < arguments.length; r++) {
16
+ var e = arguments[r] != null ? arguments[r] : {};
17
+ r % 2 ? E(Object(e), !0).forEach(function(o) {
18
+ b(t, o, e[o]);
19
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : E(Object(e)).forEach(function(o) {
20
+ Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(e, o));
21
+ });
22
+ }
23
+ return t;
24
+ }
25
+ function h(t) {
26
+ "@babel/helpers - typeof";
27
+ return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
28
+ return typeof r;
29
+ } : function(r) {
30
+ return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
31
+ }, h(t);
32
+ }
33
+ function b(t, r, e) {
34
+ return r in t ? Object.defineProperty(t, r, {
35
+ value: e,
36
+ enumerable: !0,
37
+ configurable: !0,
38
+ writable: !0
39
+ }) : t[r] = e, t;
40
+ }
41
+ function U(t, r) {
42
+ if (t == null) return {};
43
+ var e = {}, o = Object.keys(t), a, i;
44
+ for (i = 0; i < o.length; i++)
45
+ a = o[i], !(r.indexOf(a) >= 0) && (e[a] = t[a]);
46
+ return e;
47
+ }
48
+ function L(t, r) {
49
+ if (t == null) return {};
50
+ var e = U(t, r), o, a;
51
+ if (Object.getOwnPropertySymbols) {
52
+ var i = Object.getOwnPropertySymbols(t);
53
+ for (a = 0; a < i.length; a++)
54
+ o = i[a], !(r.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (e[o] = t[o]);
55
+ }
56
+ return e;
57
+ }
58
+ function P(t) {
59
+ return q(t) || K(t) || M(t) || V();
60
+ }
61
+ function q(t) {
62
+ if (Array.isArray(t)) return S(t);
63
+ }
64
+ function K(t) {
65
+ if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
66
+ }
67
+ function M(t, r) {
68
+ if (t) {
69
+ if (typeof t == "string") return S(t, r);
70
+ var e = Object.prototype.toString.call(t).slice(8, -1);
71
+ if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
72
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return S(t, r);
73
+ }
74
+ }
75
+ function S(t, r) {
76
+ (r == null || r > t.length) && (r = t.length);
77
+ for (var e = 0, o = new Array(r); e < r; e++) o[e] = t[e];
78
+ return o;
79
+ }
80
+ function V() {
81
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
82
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
83
+ }
84
+ function $(t) {
85
+ var r, e = t.beat, o = t.fade, a = t.beatFade, i = t.bounce, y = t.shake, m = t.flash, s = t.spin, l = t.spinPulse, u = t.spinReverse, v = t.pulse, x = t.fixedWidth, j = t.inverse, d = t.border, w = t.listItem, c = t.flip, p = t.size, O = t.rotation, k = t.pull, N = (r = {
86
+ "fa-beat": e,
87
+ "fa-fade": o,
88
+ "fa-beat-fade": a,
89
+ "fa-bounce": i,
90
+ "fa-shake": y,
91
+ "fa-flash": m,
92
+ "fa-spin": s,
93
+ "fa-spin-reverse": u,
94
+ "fa-spin-pulse": l,
95
+ "fa-pulse": v,
96
+ "fa-fw": x,
97
+ "fa-inverse": j,
98
+ "fa-border": d,
99
+ "fa-li": w,
100
+ "fa-flip": c === !0,
101
+ "fa-flip-horizontal": c === "horizontal" || c === "both",
102
+ "fa-flip-vertical": c === "vertical" || c === "both"
103
+ }, b(r, "fa-".concat(p), typeof p < "u" && p !== null), b(r, "fa-rotate-".concat(O), typeof O < "u" && O !== null && O !== 0), b(r, "fa-pull-".concat(k), typeof k < "u" && k !== null), b(r, "fa-swap-opacity", t.swapOpacity), r);
104
+ return Object.keys(N).map(function(g) {
105
+ return N[g] ? g : null;
106
+ }).filter(function(g) {
107
+ return g;
108
+ });
109
+ }
110
+ function B(t) {
111
+ return t = t - 0, t === t;
112
+ }
113
+ function D(t) {
114
+ return B(t) ? t : (t = t.replace(/[\-_\s]+(.)?/g, function(r, e) {
115
+ return e ? e.toUpperCase() : "";
116
+ }), t.substr(0, 1).toLowerCase() + t.substr(1));
117
+ }
118
+ var G = ["style"];
119
+ function H(t) {
120
+ return t.charAt(0).toUpperCase() + t.slice(1);
121
+ }
122
+ function J(t) {
123
+ return t.split(";").map(function(r) {
124
+ return r.trim();
125
+ }).filter(function(r) {
126
+ return r;
127
+ }).reduce(function(r, e) {
128
+ var o = e.indexOf(":"), a = D(e.slice(0, o)), i = e.slice(o + 1).trim();
129
+ return a.startsWith("webkit") ? r[H(a)] = i : r[a] = i, r;
130
+ }, {});
131
+ }
132
+ function R(t, r) {
133
+ var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
134
+ if (typeof r == "string")
135
+ return r;
136
+ var o = (r.children || []).map(function(s) {
137
+ return R(t, s);
138
+ }), a = Object.keys(r.attributes || {}).reduce(function(s, l) {
139
+ var u = r.attributes[l];
140
+ switch (l) {
141
+ case "class":
142
+ s.attrs.className = u, delete r.attributes.class;
143
+ break;
144
+ case "style":
145
+ s.attrs.style = J(u);
146
+ break;
147
+ default:
148
+ l.indexOf("aria-") === 0 || l.indexOf("data-") === 0 ? s.attrs[l.toLowerCase()] = u : s.attrs[D(l)] = u;
149
+ }
150
+ return s;
151
+ }, {
152
+ attrs: {}
153
+ }), i = e.style, y = i === void 0 ? {} : i, m = L(e, G);
154
+ return a.attrs.style = f(f({}, a.attrs.style), y), t.apply(void 0, [r.tag, f(f({}, a.attrs), m)].concat(P(o)));
155
+ }
156
+ var F = !1;
157
+ try {
158
+ F = process.env.NODE_ENV === "production";
159
+ } catch {
160
+ }
161
+ function Q() {
162
+ if (!F && console && typeof console.error == "function") {
163
+ var t;
164
+ (t = console).error.apply(t, arguments);
165
+ }
166
+ }
167
+ function z(t) {
168
+ if (t && h(t) === "object" && t.prefix && t.iconName && t.icon)
169
+ return t;
170
+ if (A.icon)
171
+ return A.icon(t);
172
+ if (t === null)
173
+ return null;
174
+ if (t && h(t) === "object" && t.prefix && t.iconName)
175
+ return t;
176
+ if (Array.isArray(t) && t.length === 2)
177
+ return {
178
+ prefix: t[0],
179
+ iconName: t[1]
180
+ };
181
+ if (typeof t == "string")
182
+ return {
183
+ prefix: "fas",
184
+ iconName: t
185
+ };
186
+ }
187
+ function I(t, r) {
188
+ return Array.isArray(r) && r.length > 0 || !Array.isArray(r) && r ? b({}, t, r) : {};
189
+ }
190
+ var T = {
191
+ border: !1,
192
+ className: "",
193
+ mask: null,
194
+ maskId: null,
195
+ fixedWidth: !1,
196
+ inverse: !1,
197
+ flip: !1,
198
+ icon: null,
199
+ listItem: !1,
200
+ pull: null,
201
+ pulse: !1,
202
+ rotation: null,
203
+ size: null,
204
+ spin: !1,
205
+ spinPulse: !1,
206
+ spinReverse: !1,
207
+ beat: !1,
208
+ fade: !1,
209
+ beatFade: !1,
210
+ bounce: !1,
211
+ shake: !1,
212
+ symbol: !1,
213
+ title: "",
214
+ titleId: null,
215
+ transform: null,
216
+ swapOpacity: !1
217
+ }, W = /* @__PURE__ */ C.forwardRef(function(t, r) {
218
+ var e = f(f({}, T), t), o = e.icon, a = e.mask, i = e.symbol, y = e.className, m = e.title, s = e.titleId, l = e.maskId, u = z(o), v = I("classes", [].concat(P($(e)), P((y || "").split(" ")))), x = I("transform", typeof e.transform == "string" ? A.transform(e.transform) : e.transform), j = I("mask", z(a)), d = _(u, f(f(f(f({}, v), x), j), {}, {
219
+ symbol: i,
220
+ title: m,
221
+ titleId: s,
222
+ maskId: l
223
+ }));
224
+ if (!d)
225
+ return Q("Could not find icon", u), null;
226
+ var w = d.abstract, c = {
227
+ ref: r
228
+ };
229
+ return Object.keys(e).forEach(function(p) {
230
+ T.hasOwnProperty(p) || (c[p] = e[p]);
231
+ }), X(w[0], c);
232
+ });
233
+ W.displayName = "FontAwesomeIcon";
234
+ W.propTypes = {
235
+ beat: n.bool,
236
+ border: n.bool,
237
+ beatFade: n.bool,
238
+ bounce: n.bool,
239
+ className: n.string,
240
+ fade: n.bool,
241
+ flash: n.bool,
242
+ mask: n.oneOfType([n.object, n.array, n.string]),
243
+ maskId: n.string,
244
+ fixedWidth: n.bool,
245
+ inverse: n.bool,
246
+ flip: n.oneOf([!0, !1, "horizontal", "vertical", "both"]),
247
+ icon: n.oneOfType([n.object, n.array, n.string]),
248
+ listItem: n.bool,
249
+ pull: n.oneOf(["right", "left"]),
250
+ pulse: n.bool,
251
+ rotation: n.oneOf([0, 90, 180, 270]),
252
+ shake: n.bool,
253
+ size: n.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
254
+ spin: n.bool,
255
+ spinPulse: n.bool,
256
+ spinReverse: n.bool,
257
+ symbol: n.oneOfType([n.bool, n.string]),
258
+ title: n.string,
259
+ titleId: n.string,
260
+ transform: n.oneOfType([n.string, n.object]),
261
+ swapOpacity: n.bool
262
+ };
263
+ var X = R.bind(null, C.createElement);
264
+ export {
265
+ W as FontAwesomeIcon
266
+ };
@@ -0,0 +1,11 @@
1
+ import "../../../../../motion-utils/dist/es/errors.js";
2
+ import { motionValue as n } from "../../../../../motion-dom/dist/es/value/index.js";
3
+ import { isMotionValue as m } from "../../value/utils/is-motion-value.js";
4
+ import { animateMotionValue as r } from "../interfaces/motion-value.js";
5
+ function l(t, o, i) {
6
+ const a = m(t) ? t : n(t);
7
+ return a.start(r("", a, o, i)), a.animation;
8
+ }
9
+ export {
10
+ l as animateSingleValue
11
+ };
@@ -0,0 +1,205 @@
1
+ import "../../../../../motion-utils/dist/es/errors.js";
2
+ import { noop as v } from "../../../../../motion-utils/dist/es/noop.js";
3
+ import { millisecondsToSeconds as T, secondsToMilliseconds as g } from "../../../../../motion-utils/dist/es/time-conversion.js";
4
+ import { isGenerator as P } from "../../../../../motion-dom/dist/es/animation/generators/utils/is-generator.js";
5
+ import { attachTimeline as k } from "../../../../../motion-dom/dist/es/animation/waapi/utils/attach-timeline.js";
6
+ import { isWaapiSupportedEasing as A } from "../../../../../motion-dom/dist/es/animation/waapi/utils/easing.js";
7
+ import { supportsLinearEasing as V } from "../../../../../motion-dom/dist/es/utils/supports/linear-easing.js";
8
+ import { anticipate as O } from "../../easing/anticipate.js";
9
+ import { backInOut as b } from "../../easing/back.js";
10
+ import { circInOut as F } from "../../easing/circ.js";
11
+ import { DOMKeyframesResolver as I } from "../../render/dom/DOMKeyframesResolver.js";
12
+ import { BaseAnimation as R } from "./BaseAnimation.js";
13
+ import { MainThreadAnimation as S } from "./MainThreadAnimation.js";
14
+ import { acceleratedValues as G } from "./utils/accelerated-values.js";
15
+ import { startWaapiAnimation as M } from "./waapi/index.js";
16
+ import { getFinalKeyframe as W } from "./waapi/utils/get-final-keyframe.js";
17
+ import { supportsWaapi as C } from "./waapi/utils/supports-waapi.js";
18
+ const f = 10, E = 2e4;
19
+ function K(r) {
20
+ return P(r.type) || r.type === "spring" || !A(r.ease);
21
+ }
22
+ function U(r, e) {
23
+ const t = new S({
24
+ ...e,
25
+ keyframes: r,
26
+ repeat: 0,
27
+ delay: 0,
28
+ isGenerator: !0
29
+ });
30
+ let i = { done: !1, value: r[0] };
31
+ const n = [];
32
+ let s = 0;
33
+ for (; !i.done && s < E; )
34
+ i = t.sample(s), n.push(i.value), s += f;
35
+ return {
36
+ times: void 0,
37
+ keyframes: n,
38
+ duration: s - f,
39
+ ease: "linear"
40
+ };
41
+ }
42
+ const $ = {
43
+ anticipate: O,
44
+ backInOut: b,
45
+ circInOut: F
46
+ };
47
+ function x(r) {
48
+ return r in $;
49
+ }
50
+ class se extends R {
51
+ constructor(e) {
52
+ super(e);
53
+ const { name: t, motionValue: i, element: n, keyframes: s } = this.options;
54
+ this.resolver = new I(s, (a, o) => this.onKeyframesResolved(a, o), t, i, n), this.resolver.scheduleResolve();
55
+ }
56
+ initPlayback(e, t) {
57
+ let { duration: i = 300, times: n, ease: s, type: a, motionValue: o, name: m, startTime: p } = this.options;
58
+ if (!o.owner || !o.owner.current)
59
+ return !1;
60
+ if (typeof s == "string" && V() && x(s) && (s = $[s]), K(this.options)) {
61
+ const { onComplete: c, onUpdate: w, motionValue: y, element: h, ...u } = this.options, d = U(e, u);
62
+ e = d.keyframes, e.length === 1 && (e[1] = e[0]), i = d.duration, n = d.times, s = d.ease, a = "keyframes";
63
+ }
64
+ const l = M(o.owner.current, m, e, { ...this.options, duration: i, times: n, ease: s });
65
+ return l.startTime = p ?? this.calcStartTime(), this.pendingTimeline ? (k(l, this.pendingTimeline), this.pendingTimeline = void 0) : l.onfinish = () => {
66
+ const { onComplete: c } = this.options;
67
+ o.set(W(e, this.options, t)), c && c(), this.cancel(), this.resolveFinishedPromise();
68
+ }, {
69
+ animation: l,
70
+ duration: i,
71
+ times: n,
72
+ type: a,
73
+ ease: s,
74
+ keyframes: e
75
+ };
76
+ }
77
+ get duration() {
78
+ const { resolved: e } = this;
79
+ if (!e)
80
+ return 0;
81
+ const { duration: t } = e;
82
+ return T(t);
83
+ }
84
+ get time() {
85
+ const { resolved: e } = this;
86
+ if (!e)
87
+ return 0;
88
+ const { animation: t } = e;
89
+ return T(t.currentTime || 0);
90
+ }
91
+ set time(e) {
92
+ const { resolved: t } = this;
93
+ if (!t)
94
+ return;
95
+ const { animation: i } = t;
96
+ i.currentTime = g(e);
97
+ }
98
+ get speed() {
99
+ const { resolved: e } = this;
100
+ if (!e)
101
+ return 1;
102
+ const { animation: t } = e;
103
+ return t.playbackRate;
104
+ }
105
+ set speed(e) {
106
+ const { resolved: t } = this;
107
+ if (!t)
108
+ return;
109
+ const { animation: i } = t;
110
+ i.playbackRate = e;
111
+ }
112
+ get state() {
113
+ const { resolved: e } = this;
114
+ if (!e)
115
+ return "idle";
116
+ const { animation: t } = e;
117
+ return t.playState;
118
+ }
119
+ get startTime() {
120
+ const { resolved: e } = this;
121
+ if (!e)
122
+ return null;
123
+ const { animation: t } = e;
124
+ return t.startTime;
125
+ }
126
+ /**
127
+ * Replace the default DocumentTimeline with another AnimationTimeline.
128
+ * Currently used for scroll animations.
129
+ */
130
+ attachTimeline(e) {
131
+ if (!this._resolved)
132
+ this.pendingTimeline = e;
133
+ else {
134
+ const { resolved: t } = this;
135
+ if (!t)
136
+ return v;
137
+ const { animation: i } = t;
138
+ k(i, e);
139
+ }
140
+ return v;
141
+ }
142
+ play() {
143
+ if (this.isStopped)
144
+ return;
145
+ const { resolved: e } = this;
146
+ if (!e)
147
+ return;
148
+ const { animation: t } = e;
149
+ t.playState === "finished" && this.updateFinishedPromise(), t.play();
150
+ }
151
+ pause() {
152
+ const { resolved: e } = this;
153
+ if (!e)
154
+ return;
155
+ const { animation: t } = e;
156
+ t.pause();
157
+ }
158
+ stop() {
159
+ if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
160
+ return;
161
+ this.resolveFinishedPromise(), this.updateFinishedPromise();
162
+ const { resolved: e } = this;
163
+ if (!e)
164
+ return;
165
+ const { animation: t, keyframes: i, duration: n, type: s, ease: a, times: o } = e;
166
+ if (t.playState === "idle" || t.playState === "finished")
167
+ return;
168
+ if (this.time) {
169
+ const { motionValue: p, onUpdate: l, onComplete: c, element: w, ...y } = this.options, h = new S({
170
+ ...y,
171
+ keyframes: i,
172
+ duration: n,
173
+ type: s,
174
+ ease: a,
175
+ times: o,
176
+ isGenerator: !0
177
+ }), u = g(this.time);
178
+ p.setWithVelocity(h.sample(u - f).value, h.sample(u).value, f);
179
+ }
180
+ const { onStop: m } = this.options;
181
+ m && m(), this.cancel();
182
+ }
183
+ complete() {
184
+ const { resolved: e } = this;
185
+ e && e.animation.finish();
186
+ }
187
+ cancel() {
188
+ const { resolved: e } = this;
189
+ e && e.animation.cancel();
190
+ }
191
+ static supports(e) {
192
+ const { motionValue: t, name: i, repeatDelay: n, repeatType: s, damping: a, type: o } = e;
193
+ if (!t || !t.owner || !(t.owner.current instanceof HTMLElement))
194
+ return !1;
195
+ const { onUpdate: m, transformTemplate: p } = t.owner.getProps();
196
+ return C() && i && G.has(i) && (i !== "transform" || !p) && /**
197
+ * If we're outputting values to onUpdate then we can't use WAAPI as there's
198
+ * no way to read the value from WAAPI every frame.
199
+ */
200
+ !m && !n && s !== "mirror" && a !== 0 && o !== "inertia";
201
+ }
202
+ }
203
+ export {
204
+ se as AcceleratedAnimation
205
+ };
@@ -0,0 +1,83 @@
1
+ import "../../../../../motion-utils/dist/es/errors.js";
2
+ import { time as l } from "../../../../../motion-dom/dist/es/frameloop/sync-time.js";
3
+ import { flushKeyframeResolvers as d } from "../../render/utils/KeyframesResolver.js";
4
+ import { canAnimate as m } from "./utils/can-animate.js";
5
+ import { getFinalKeyframe as y } from "./waapi/utils/get-final-keyframe.js";
6
+ const f = 40;
7
+ class R {
8
+ constructor({ autoplay: e = !0, delay: t = 0, type: i = "keyframes", repeat: o = 0, repeatDelay: r = 0, repeatType: a = "loop", ...s }) {
9
+ this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = l.now(), this.options = {
10
+ autoplay: e,
11
+ delay: t,
12
+ type: i,
13
+ repeat: o,
14
+ repeatDelay: r,
15
+ repeatType: a,
16
+ ...s
17
+ }, this.updateFinishedPromise();
18
+ }
19
+ /**
20
+ * This method uses the createdAt and resolvedAt to calculate the
21
+ * animation startTime. *Ideally*, we would use the createdAt time as t=0
22
+ * as the following frame would then be the first frame of the animation in
23
+ * progress, which would feel snappier.
24
+ *
25
+ * However, if there's a delay (main thread work) between the creation of
26
+ * the animation and the first commited frame, we prefer to use resolvedAt
27
+ * to avoid a sudden jump into the animation.
28
+ */
29
+ calcStartTime() {
30
+ return this.resolvedAt ? this.resolvedAt - this.createdAt > f ? this.resolvedAt : this.createdAt : this.createdAt;
31
+ }
32
+ /**
33
+ * A getter for resolved data. If keyframes are not yet resolved, accessing
34
+ * this.resolved will synchronously flush all pending keyframe resolvers.
35
+ * This is a deoptimisation, but at its worst still batches read/writes.
36
+ */
37
+ get resolved() {
38
+ return !this._resolved && !this.hasAttemptedResolve && d(), this._resolved;
39
+ }
40
+ /**
41
+ * A method to be called when the keyframes resolver completes. This method
42
+ * will check if its possible to run the animation and, if not, skip it.
43
+ * Otherwise, it will call initPlayback on the implementing class.
44
+ */
45
+ onKeyframesResolved(e, t) {
46
+ this.resolvedAt = l.now(), this.hasAttemptedResolve = !0;
47
+ const { name: i, type: o, velocity: r, delay: a, onComplete: s, onUpdate: n, isGenerator: p } = this.options;
48
+ if (!p && !m(e, i, o, r))
49
+ if (a)
50
+ this.options.duration = 0;
51
+ else {
52
+ n && n(y(e, this.options, t)), s && s(), this.resolveFinishedPromise();
53
+ return;
54
+ }
55
+ const h = this.initPlayback(e, t);
56
+ h !== !1 && (this._resolved = {
57
+ keyframes: e,
58
+ finalKeyframe: t,
59
+ ...h
60
+ }, this.onPostResolved());
61
+ }
62
+ onPostResolved() {
63
+ }
64
+ /**
65
+ * Allows the returned animation to be awaited or promise-chained. Currently
66
+ * resolves when the animation finishes at all but in a future update could/should
67
+ * reject if its cancels.
68
+ */
69
+ then(e, t) {
70
+ return this.currentFinishedPromise.then(e, t);
71
+ }
72
+ flatten() {
73
+ this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear");
74
+ }
75
+ updateFinishedPromise() {
76
+ this.currentFinishedPromise = new Promise((e) => {
77
+ this.resolveFinishedPromise = e;
78
+ });
79
+ }
80
+ }
81
+ export {
82
+ R as BaseAnimation
83
+ };