lawgic-dev-kit 0.2.4 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/client.js +5 -0
- package/dist/_virtual/client2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index5.js +7 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/_virtual/lodash.js +5 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/react-dom-client.development.js +4 -0
- package/dist/_virtual/react-dom-client.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.js +4 -0
- package/dist/components/atoms/ActionButton/ActionButton.js +51 -0
- package/dist/components/atoms/AsyncToast/index.js +33 -0
- package/dist/components/atoms/Avatar/Avatar.js +100 -0
- package/dist/components/atoms/BoxContainer/BoxContainer.js +18 -0
- package/dist/components/atoms/Button/Button.js +25 -0
- package/dist/components/atoms/Button/Button.styles.js +43 -0
- package/dist/components/atoms/CenterModal/CenterModal.js +79 -0
- package/dist/components/atoms/CountrySelectInput/CountryDropdown.js +256 -0
- package/dist/components/atoms/Divider/Divider.js +5 -0
- package/dist/components/atoms/FullLogo/FullLogo.js +21 -0
- package/dist/components/atoms/IconButton/IconButton.js +35 -0
- package/dist/components/atoms/IconButton/IconButton.styles.js +34 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.js +115 -0
- package/dist/components/atoms/ImageProfileInput/ImageProfileInput.validators.js +8 -0
- package/dist/components/atoms/InfoCard/InfoCard.js +17 -0
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.js +20 -0
- package/dist/components/atoms/PasswordInput/PasswordInput.js +91 -0
- package/dist/components/atoms/ProgressBar/ProgressBar.js +23 -0
- package/dist/components/atoms/SearchBar/index.js +44 -0
- package/dist/components/atoms/SectionButton/SectionButton.js +10 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.js +60 -0
- package/dist/components/atoms/SectionButton/desktop/SectionButton.styles.js +11 -0
- package/dist/components/atoms/SectionButton/mobile/MobileSectionButton.styles.js +19 -0
- package/dist/components/atoms/SectionButton/mobile/SectionButton.js +59 -0
- package/dist/components/atoms/SelectDropdown/SelectDropdown.js +178 -0
- package/dist/components/atoms/Tab/Tab.js +23 -0
- package/dist/components/atoms/Tab/Tab.styles.js +15 -0
- package/dist/components/atoms/TextButton/TextButton.js +23 -0
- package/dist/components/atoms/TextButton/TextButton.styles.js +13 -0
- package/dist/components/atoms/TextInput/TextInput.js +81 -0
- package/dist/components/atoms/Toast/Toast.js +113 -0
- package/dist/components/atoms/UncontrolledSelector/UncontrolledSelector.js +58 -0
- package/dist/components/atoms/UncontrolledTextInput/UncontrolledTextInput.js +80 -0
- package/dist/components/atoms/UploadContainer/UploadContainer.js +115 -0
- package/dist/components/molecules/AlertModal/AlertModal.js +112 -0
- package/dist/components/molecules/CalendarSelector/CalendarSelector.js +221 -0
- package/dist/components/molecules/CalendarSelector/PeriodToggle.js +51 -0
- package/dist/components/molecules/CalendarSelector/TimeDisplay.js +16 -0
- package/dist/components/molecules/DateInput/DateInput.js +73 -0
- package/dist/components/molecules/DialogModal/DialogModal.js +125 -0
- package/dist/components/molecules/Dropdown/Dropdown.js +77 -0
- package/dist/components/molecules/FileUpload/FileUpload.js +121 -0
- package/dist/components/molecules/FileUpload/FileUpload.types.js +8 -0
- package/dist/components/molecules/FloatingMenu/FloatingMenu.js +82 -0
- package/dist/components/molecules/SearchModal/SearchModal.js +64 -0
- package/dist/components/molecules/Stepper/Stepper.js +225 -0
- package/dist/components/molecules/Tabs/Tabs.js +36 -0
- package/dist/components/organisms/index.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +106 -0
- package/dist/lawgic-dev-kit.css +1 -0
- package/dist/lawgic-dev-kit.umd.js +136 -136
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +428 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +393 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +586 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +55 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +199 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +2661 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +23 -0
- package/dist/node_modules/@fortawesome/pro-light-svg-icons/index.js +73 -0
- package/dist/node_modules/@fortawesome/pro-regular-svg-icons/index.js +13 -0
- package/dist/node_modules/@fortawesome/pro-solid-svg-icons/index.js +28 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +266 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/constants.js +6 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/constructNow.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfMonth.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js +13 -0
- package/dist/node_modules/date-fns/isToday.js +13 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -0
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +143 -0
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +116 -0
- package/dist/node_modules/date-fns/locale/es.js +21 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +205 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +83 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +92 -0
- package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +68 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +608 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +59 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +229 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +77 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/lodash/lodash.js +3677 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +204 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/BaseAnimation.js +82 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +147 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/utils/can-animate.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/spring/index.js +91 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-target.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +33 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-none.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PopChild.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +256 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/gestures/press.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +74 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/index.js +59 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/use-visual-state.js +53 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/create-projection-node.js +607 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/shared/stack.js +58 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/VisualElement.js +228 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-factory.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/create-proxy.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/create.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +66 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/use-render.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/animatable-none.js +10 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/defaults.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/dimensions.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/find.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/get-as-type.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number-browser.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/number.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/test.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-auto.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/dom/value-types/type-int.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/config-motion.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-position.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/parse-transform.js +64 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/render.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/SVGVisualElement.js +47 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/config-motion.js +43 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/build-attrs.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/measure.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/svg/utils/transform-origin.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/KeyframesResolver.js +76 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/animation-state.js +128 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/motion-values.js +26 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/setters.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/clamp.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/interpolate.js +41 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-numerical-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/complex.js +52 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/default.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/fill.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/offsets/time.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/pipe.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/resolve-value.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/index.js +11 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/add-will-change.js +9 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion/dist/es/framer-motion/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/animation/waapi/utils/linear.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/batcher.js +26 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/memo.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-dom/dist/es/value/index.js +201 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion/dist/es/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +202 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-expr/index.js +82 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
- package/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.development.js +15314 -0
- package/dist/node_modules/react-dom/cjs/react-dom-client.production.js +9408 -0
- package/dist/node_modules/react-dom/client.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +203 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +236 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.js +233 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/tiny-case/index.js +22 -0
- package/dist/node_modules/toposort/index.js +66 -0
- package/dist/node_modules/yup/index.esm.js +1359 -0
- package/dist/providers/ThemeProvider.js +19 -0
- package/dist/themes/default.js +9 -0
- package/dist/utils/dates.js +14 -0
- package/dist/utils/files.js +29 -0
- package/dist/utils/images.js +4 -0
- package/dist/utils/modal.js +87 -0
- package/dist/utils/renderContentOptions.js +15 -0
- package/dist/utils/strings.js +16 -0
- package/dist/utils/toast.js +114 -0
- package/package.json +15 -14
- package/dist/lawgic-dev-kit.es.js +0 -50777
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { useState as x } from "react";
|
|
3
|
+
import { useController as C } from "../../../node_modules/react-hook-form/dist/index.esm.js";
|
|
4
|
+
import g from "../CalendarSelector/CalendarSelector.js";
|
|
5
|
+
import h from "../../atoms/UncontrolledTextInput/UncontrolledTextInput.js";
|
|
6
|
+
import j from "../FloatingMenu/FloatingMenu.js";
|
|
7
|
+
import { FontAwesomeIcon as D } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
8
|
+
import { faX as S } from "../../../node_modules/@fortawesome/free-solid-svg-icons/index.js";
|
|
9
|
+
import { useTheme as I } from "../../../providers/ThemeProvider.js";
|
|
10
|
+
import { formatLocalizedDate as v } from "../../../utils/dates.js";
|
|
11
|
+
import "../../../utils/files.js";
|
|
12
|
+
import "../../../_virtual/lodash.js";
|
|
13
|
+
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
14
|
+
import "../../../_virtual/client.js";
|
|
15
|
+
const O = ({ control: l, name: n, showTimeSelector: m = !1, label: p, placeholder: i }) => {
|
|
16
|
+
const {
|
|
17
|
+
field: { value: e = /* @__PURE__ */ new Date(), onChange: a, onBlur: u },
|
|
18
|
+
fieldState: { error: o }
|
|
19
|
+
} = C({ name: n, control: l }), { t: f } = I(), c = f(n), [d, s] = x(!1);
|
|
20
|
+
return /* @__PURE__ */ t.jsx(
|
|
21
|
+
j,
|
|
22
|
+
{
|
|
23
|
+
open: d,
|
|
24
|
+
strategy: "fixed",
|
|
25
|
+
padding: 0,
|
|
26
|
+
offset: 0,
|
|
27
|
+
onClose: () => s(!1),
|
|
28
|
+
className: "!p-0",
|
|
29
|
+
component: /* @__PURE__ */ t.jsx(
|
|
30
|
+
g,
|
|
31
|
+
{
|
|
32
|
+
date: e || /* @__PURE__ */ new Date(),
|
|
33
|
+
onDateChange: (r) => {
|
|
34
|
+
a(r);
|
|
35
|
+
},
|
|
36
|
+
showTimeSelector: m
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
children: /* @__PURE__ */ t.jsx(
|
|
40
|
+
h,
|
|
41
|
+
{
|
|
42
|
+
onBlur: u,
|
|
43
|
+
name: c,
|
|
44
|
+
label: p,
|
|
45
|
+
onFocus: (r) => {
|
|
46
|
+
r.preventDefault(), s(!0);
|
|
47
|
+
},
|
|
48
|
+
value: e && v(e) || "",
|
|
49
|
+
disabledInput: !0,
|
|
50
|
+
onChange: () => {
|
|
51
|
+
},
|
|
52
|
+
onSelect: () => {
|
|
53
|
+
},
|
|
54
|
+
onSelectCapture: () => {
|
|
55
|
+
},
|
|
56
|
+
placeholder: i,
|
|
57
|
+
error: o == null ? void 0 : o.message,
|
|
58
|
+
rightSide: e && /* @__PURE__ */ t.jsx(
|
|
59
|
+
D,
|
|
60
|
+
{
|
|
61
|
+
icon: S,
|
|
62
|
+
className: "text-gray-500 cursor-pointer",
|
|
63
|
+
onClick: () => a(null)
|
|
64
|
+
}
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
O as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { faX as j } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
3
|
+
import { FontAwesomeIcon as t } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../../utils/files.js";
|
|
6
|
+
import "../../../_virtual/lodash.js";
|
|
7
|
+
import "../../../providers/ThemeProvider.js";
|
|
8
|
+
import y from "../../atoms/BoxContainer/BoxContainer.js";
|
|
9
|
+
import "../../../_virtual/client.js";
|
|
10
|
+
import a from "../../atoms/Button/Button.js";
|
|
11
|
+
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
12
|
+
import { AnimatePresence as u } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
13
|
+
import { motion as s } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
14
|
+
const D = ({
|
|
15
|
+
title: n,
|
|
16
|
+
description: l,
|
|
17
|
+
open: r,
|
|
18
|
+
onClose: e,
|
|
19
|
+
onConfirm: c,
|
|
20
|
+
onCancel: o,
|
|
21
|
+
icon: x
|
|
22
|
+
}) => {
|
|
23
|
+
const m = {
|
|
24
|
+
hidden: { opacity: 0 },
|
|
25
|
+
visible: { opacity: 1 }
|
|
26
|
+
}, d = {
|
|
27
|
+
hidden: {
|
|
28
|
+
opacity: 0,
|
|
29
|
+
scale: 0.8,
|
|
30
|
+
y: -20
|
|
31
|
+
},
|
|
32
|
+
visible: {
|
|
33
|
+
opacity: 1,
|
|
34
|
+
scale: 1,
|
|
35
|
+
y: 0,
|
|
36
|
+
transition: {
|
|
37
|
+
type: "spring",
|
|
38
|
+
stiffness: 300,
|
|
39
|
+
damping: 25
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
exit: {
|
|
43
|
+
opacity: 0,
|
|
44
|
+
scale: 0.8,
|
|
45
|
+
y: 20,
|
|
46
|
+
transition: {
|
|
47
|
+
duration: 0.2
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}, p = () => {
|
|
51
|
+
c(), e();
|
|
52
|
+
}, f = () => {
|
|
53
|
+
o(), e();
|
|
54
|
+
};
|
|
55
|
+
return /* @__PURE__ */ i.jsx(u, { children: r && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
56
|
+
s.div,
|
|
57
|
+
{
|
|
58
|
+
className: "fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",
|
|
59
|
+
initial: "hidden",
|
|
60
|
+
animate: "visible",
|
|
61
|
+
exit: "hidden",
|
|
62
|
+
variants: m,
|
|
63
|
+
onClick: e,
|
|
64
|
+
children: /* @__PURE__ */ i.jsx(
|
|
65
|
+
s.div,
|
|
66
|
+
{
|
|
67
|
+
className: "w-full max-w-4xl mx-16 z-50",
|
|
68
|
+
variants: d,
|
|
69
|
+
initial: "hidden",
|
|
70
|
+
animate: "visible",
|
|
71
|
+
exit: "exit",
|
|
72
|
+
onClick: (h) => h.stopPropagation(),
|
|
73
|
+
children: /* @__PURE__ */ i.jsxs(y, { className: "flex flex-col gap-20 p-32", children: [
|
|
74
|
+
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", children: [
|
|
75
|
+
/* @__PURE__ */ i.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ i.jsx(
|
|
76
|
+
t,
|
|
77
|
+
{
|
|
78
|
+
icon: j,
|
|
79
|
+
className: "cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",
|
|
80
|
+
onClick: e
|
|
81
|
+
}
|
|
82
|
+
) }),
|
|
83
|
+
/* @__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(
|
|
84
|
+
t,
|
|
85
|
+
{
|
|
86
|
+
icon: x,
|
|
87
|
+
className: "w-32 h-36 min-h-36 min-w-36 text-blue-500",
|
|
88
|
+
onClick: e
|
|
89
|
+
}
|
|
90
|
+
) }) })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-20 items-center", children: [
|
|
93
|
+
/* @__PURE__ */ i.jsxs("div", { children: [
|
|
94
|
+
/* @__PURE__ */ i.jsx("h3", { className: "text-black font-700 text-3xl", children: n }),
|
|
95
|
+
/* @__PURE__ */ i.jsx("p", { className: "text-gray-500 text-xl font-600", children: l })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ i.jsxs("div", { className: "flex justify-center w-full gap-16", children: [
|
|
98
|
+
/* @__PURE__ */ i.jsx(
|
|
99
|
+
a,
|
|
100
|
+
{
|
|
101
|
+
onClick: f,
|
|
102
|
+
variant: "transparent",
|
|
103
|
+
className: "px-36 !py-10 !text-lg",
|
|
104
|
+
children: "Cancel"
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
/* @__PURE__ */ i.jsx(
|
|
108
|
+
a,
|
|
109
|
+
{
|
|
110
|
+
onClick: p,
|
|
111
|
+
className: "px-32 py-16 !text-lg",
|
|
112
|
+
children: "Confirm"
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] })
|
|
116
|
+
] })
|
|
117
|
+
] })
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
}
|
|
121
|
+
) }) });
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
D as default
|
|
125
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { j as e } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { faChevronDown as u } from "../../../node_modules/@fortawesome/pro-solid-svg-icons/index.js";
|
|
3
|
+
import { FontAwesomeIcon as h } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
|
+
import { useState as p } from "react";
|
|
5
|
+
import { useTheme as f } from "../../../providers/ThemeProvider.js";
|
|
6
|
+
import { motion as n } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
7
|
+
import { AnimatePresence as b } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
8
|
+
const i = {
|
|
9
|
+
duration: 0.3,
|
|
10
|
+
ease: [0.32, 0.72, 0, 1]
|
|
11
|
+
}, g = {
|
|
12
|
+
initial: { opacity: 0, height: 0, y: -8 },
|
|
13
|
+
animate: { opacity: 1, height: "auto", y: 0 },
|
|
14
|
+
exit: { opacity: 0, height: 0, y: -8 }
|
|
15
|
+
}, w = ({ isOpen: t }) => /* @__PURE__ */ e.jsx(
|
|
16
|
+
n.div,
|
|
17
|
+
{
|
|
18
|
+
animate: { rotate: t ? 180 : 0 },
|
|
19
|
+
transition: { duration: 0.5, ease: [0.16, 1, 0.3, 1] },
|
|
20
|
+
children: /* @__PURE__ */ e.jsx(
|
|
21
|
+
h,
|
|
22
|
+
{
|
|
23
|
+
icon: u,
|
|
24
|
+
className: "text-gray-500 w-12 h-12 max-w-12 max-h-12"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
), A = ({
|
|
29
|
+
label: t,
|
|
30
|
+
children: s,
|
|
31
|
+
subtitle: l,
|
|
32
|
+
open: a,
|
|
33
|
+
onClick: c
|
|
34
|
+
}) => {
|
|
35
|
+
const { t: m } = f(), [r, d] = p(!1), o = a !== void 0 ? a : r, x = c || (() => d(!r));
|
|
36
|
+
return /* @__PURE__ */ e.jsxs(n.div, { className: "relative w-full bg-white border border-blue-100 rounded-2xl overflow-hidden", children: [
|
|
37
|
+
/* @__PURE__ */ e.jsxs(
|
|
38
|
+
"button",
|
|
39
|
+
{
|
|
40
|
+
onClick: x,
|
|
41
|
+
className: `py-24 px-32 text-black font-semibold border-b
|
|
42
|
+
${o ? "border-blue-100 bg-gray-50/50" : "border-transparent"}
|
|
43
|
+
transition-all duration-200 ease-in-out
|
|
44
|
+
focus:outline-none hover:bg-gray-50/50
|
|
45
|
+
flex items-center gap-2 group w-full justify-between`,
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate text-nowrap text-lg md:text-xl font-[700]", children: m(t) }),
|
|
48
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-10 items-center", children: [
|
|
49
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-gray-500 font-normal text-base md:text-lg", children: l }),
|
|
50
|
+
/* @__PURE__ */ e.jsx(w, { isOpen: o })
|
|
51
|
+
] })
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ e.jsx(b, { mode: "wait", children: o && /* @__PURE__ */ e.jsx(
|
|
56
|
+
n.div,
|
|
57
|
+
{
|
|
58
|
+
...g,
|
|
59
|
+
transition: {
|
|
60
|
+
height: {
|
|
61
|
+
duration: i.duration,
|
|
62
|
+
ease: i.ease
|
|
63
|
+
},
|
|
64
|
+
opacity: {
|
|
65
|
+
duration: 0.15,
|
|
66
|
+
ease: "easeOut"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
className: "w-full bg-white overflow-hidden",
|
|
70
|
+
children: s
|
|
71
|
+
}
|
|
72
|
+
) })
|
|
73
|
+
] });
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
A as default
|
|
77
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { j as e } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { faFile as R, faTrash as I, faArrowsRotate as O } from "../../../node_modules/@fortawesome/pro-light-svg-icons/index.js";
|
|
3
|
+
import { FontAwesomeIcon as c } from "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
4
|
+
import { useState as d, useEffect as S } from "react";
|
|
5
|
+
import { FileStatus as t } from "./FileUpload.types.js";
|
|
6
|
+
import { useTheme as L } from "../../../providers/ThemeProvider.js";
|
|
7
|
+
import { motion as M } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
8
|
+
const G = ({
|
|
9
|
+
file: s,
|
|
10
|
+
onDelete: f,
|
|
11
|
+
onRetry: h,
|
|
12
|
+
uploadDuration: u = 4e3
|
|
13
|
+
}) => {
|
|
14
|
+
const { t: n } = L(), l = () => s.error ? t.ERROR : s.loading ? t.LOADING : t.COMPLETE, [a, g] = d(l()), [o, m] = d(0), [p, j] = d(10);
|
|
15
|
+
S(() => {
|
|
16
|
+
const r = l();
|
|
17
|
+
g(r);
|
|
18
|
+
let i;
|
|
19
|
+
if (r === t.LOADING && o < 100) {
|
|
20
|
+
const w = 100 / (u / 100);
|
|
21
|
+
i = setInterval(() => {
|
|
22
|
+
m((E) => {
|
|
23
|
+
const x = Math.min(E + w, 99), v = Math.max(
|
|
24
|
+
0,
|
|
25
|
+
Math.round((100 - x) / 10)
|
|
26
|
+
);
|
|
27
|
+
return j(v), x;
|
|
28
|
+
});
|
|
29
|
+
}, 100);
|
|
30
|
+
} else r === t.COMPLETE && o < 100 && m(100);
|
|
31
|
+
return () => {
|
|
32
|
+
i && clearInterval(i);
|
|
33
|
+
};
|
|
34
|
+
}, [s.loading, s.error, u, l, o]);
|
|
35
|
+
const N = () => {
|
|
36
|
+
switch (a) {
|
|
37
|
+
case t.LOADING:
|
|
38
|
+
return `${Math.round(o)}% (${p} ${n("seconds_left")})`;
|
|
39
|
+
case t.COMPLETE:
|
|
40
|
+
return n("file_uploaded");
|
|
41
|
+
case t.ERROR:
|
|
42
|
+
return n("upload_error");
|
|
43
|
+
default:
|
|
44
|
+
return "";
|
|
45
|
+
}
|
|
46
|
+
}, b = () => {
|
|
47
|
+
switch (a) {
|
|
48
|
+
case t.COMPLETE:
|
|
49
|
+
return "text-green-500 font-600";
|
|
50
|
+
case t.ERROR:
|
|
51
|
+
return "text-red-500 font-600";
|
|
52
|
+
default:
|
|
53
|
+
return "text-gray-300 font-400";
|
|
54
|
+
}
|
|
55
|
+
}, y = () => {
|
|
56
|
+
if (!(s != null && s.file_size)) return n("unknown");
|
|
57
|
+
const r = s.file_size / 1024;
|
|
58
|
+
return r < 1024 ? `${r.toFixed(1)} KB` : `${(r / 1024).toFixed(1)} MB`;
|
|
59
|
+
};
|
|
60
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "border border-gray-100 bg-white rounded-lg p-16 shadow-sm w-full", children: [
|
|
61
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
62
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
63
|
+
/* @__PURE__ */ e.jsx(
|
|
64
|
+
c,
|
|
65
|
+
{
|
|
66
|
+
icon: R,
|
|
67
|
+
className: "w-12 h-12 min-w-12 min-h-12 text-gray-400"
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ e.jsx("span", { className: "text-gray-500 text-sm", children: s.user_file_name })
|
|
71
|
+
] }),
|
|
72
|
+
a === t.COMPLETE && /* @__PURE__ */ e.jsx(
|
|
73
|
+
"button",
|
|
74
|
+
{
|
|
75
|
+
onClick: f,
|
|
76
|
+
className: "text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",
|
|
77
|
+
children: /* @__PURE__ */ e.jsx(c, { icon: I })
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
a === t.ERROR && /* @__PURE__ */ e.jsx(
|
|
81
|
+
"button",
|
|
82
|
+
{
|
|
83
|
+
onClick: h,
|
|
84
|
+
className: "text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",
|
|
85
|
+
children: /* @__PURE__ */ e.jsx(c, { icon: O })
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
] }),
|
|
89
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex items-center mt-2", children: s != null && s.analyzing ? /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
90
|
+
/* @__PURE__ */ e.jsx(
|
|
91
|
+
M.div,
|
|
92
|
+
{
|
|
93
|
+
className: "h-14 w-14 rounded-full border-2 border-t-blue-500 border-r-blue-300 border-b-blue-200 border-l-blue-400",
|
|
94
|
+
animate: { rotate: 360 },
|
|
95
|
+
transition: { duration: 1, repeat: 1 / 0, ease: "linear" }
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ e.jsxs("span", { className: "text-sm text-gray-500", children: [
|
|
99
|
+
n("analyzing_file_with_ai"),
|
|
100
|
+
"..."
|
|
101
|
+
] })
|
|
102
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { className: "text-sm", children: [
|
|
103
|
+
/* @__PURE__ */ e.jsxs("span", { className: "text-gray-500", children: [
|
|
104
|
+
y(),
|
|
105
|
+
" |"
|
|
106
|
+
] }),
|
|
107
|
+
" ",
|
|
108
|
+
/* @__PURE__ */ e.jsx("span", { className: b(), children: N() })
|
|
109
|
+
] }) }),
|
|
110
|
+
a === t.LOADING && /* @__PURE__ */ e.jsx("div", { className: "mt-2 bg-gray-200 rounded-full h-2", children: /* @__PURE__ */ e.jsx(
|
|
111
|
+
"div",
|
|
112
|
+
{
|
|
113
|
+
className: "h-2 rounded-full transition-all duration-100 ease-linear bg-blue-500",
|
|
114
|
+
style: { width: `${o}%` }
|
|
115
|
+
}
|
|
116
|
+
) })
|
|
117
|
+
] });
|
|
118
|
+
};
|
|
119
|
+
export {
|
|
120
|
+
G as default
|
|
121
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { useFloating as N, useClick as O, useDismiss as R, useInteractions as S, useTransitionStyles as b } from "../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
|
|
3
|
+
import { useState as k, useEffect as w } from "react";
|
|
4
|
+
import "../../../node_modules/@fortawesome/react-fontawesome/index.es.js";
|
|
5
|
+
import "../../../utils/files.js";
|
|
6
|
+
import "../../../_virtual/lodash.js";
|
|
7
|
+
import "../../../providers/ThemeProvider.js";
|
|
8
|
+
import P from "../../atoms/BoxContainer/BoxContainer.js";
|
|
9
|
+
import "../../../_virtual/client.js";
|
|
10
|
+
import "../../atoms/ImageProfileInput/ImageProfileInput.validators.js";
|
|
11
|
+
import { autoUpdate as z } from "../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
12
|
+
import { offset as B, flip as D, shift as T } from "../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
|
|
13
|
+
const W = ({
|
|
14
|
+
open: e,
|
|
15
|
+
onClose: s,
|
|
16
|
+
component: i,
|
|
17
|
+
children: a,
|
|
18
|
+
placement: l = "bottom",
|
|
19
|
+
className: f = "",
|
|
20
|
+
strategy: m = "absolute",
|
|
21
|
+
offset: p = 8,
|
|
22
|
+
padding: c = 8
|
|
23
|
+
}) => {
|
|
24
|
+
const [d, r] = k(e);
|
|
25
|
+
w(() => {
|
|
26
|
+
r(e);
|
|
27
|
+
}, [e]);
|
|
28
|
+
const u = () => {
|
|
29
|
+
r(!1), s == null || s();
|
|
30
|
+
}, { x: g, y: x, strategy: y, refs: n, context: o } = N({
|
|
31
|
+
strategy: m,
|
|
32
|
+
open: d,
|
|
33
|
+
onOpenChange: (M) => {
|
|
34
|
+
M || u();
|
|
35
|
+
},
|
|
36
|
+
middleware: [B(p), D(), T({ padding: c })],
|
|
37
|
+
whileElementsMounted: z,
|
|
38
|
+
placement: l
|
|
39
|
+
}), h = O(o), j = R(o), { getReferenceProps: v, getFloatingProps: F } = S([
|
|
40
|
+
h,
|
|
41
|
+
j
|
|
42
|
+
]), { isMounted: E, styles: I } = b(o, {
|
|
43
|
+
duration: {
|
|
44
|
+
open: 200,
|
|
45
|
+
close: 150
|
|
46
|
+
},
|
|
47
|
+
initial: {
|
|
48
|
+
opacity: 0,
|
|
49
|
+
transform: "translateY(-4px) scale(0.95)"
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "relative", children: [
|
|
53
|
+
/* @__PURE__ */ t.jsx(
|
|
54
|
+
"div",
|
|
55
|
+
{
|
|
56
|
+
ref: n.setReference,
|
|
57
|
+
...v(),
|
|
58
|
+
className: "reference-element",
|
|
59
|
+
children: a
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
E && /* @__PURE__ */ t.jsx(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
ref: n.setFloating,
|
|
66
|
+
style: {
|
|
67
|
+
position: y,
|
|
68
|
+
top: x ?? 0,
|
|
69
|
+
left: g ?? 0,
|
|
70
|
+
...I,
|
|
71
|
+
zIndex: 9999
|
|
72
|
+
},
|
|
73
|
+
...F(),
|
|
74
|
+
className: "floating-element",
|
|
75
|
+
children: /* @__PURE__ */ t.jsx(P, { className: f, children: typeof i == "function" ? i() : i })
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
] });
|
|
79
|
+
};
|
|
80
|
+
export {
|
|
81
|
+
W as default
|
|
82
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import r from "../../atoms/BoxContainer/BoxContainer.js";
|
|
3
|
+
import { AnimatePresence as l } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
4
|
+
import { motion as e } from "../../../node_modules/motion/dist/es/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
5
|
+
const p = ({
|
|
6
|
+
isOpen: a,
|
|
7
|
+
onClose: t
|
|
8
|
+
// onSearch,
|
|
9
|
+
}) => {
|
|
10
|
+
const n = {
|
|
11
|
+
hidden: { opacity: 0 },
|
|
12
|
+
visible: { opacity: 1 }
|
|
13
|
+
}, s = {
|
|
14
|
+
hidden: {
|
|
15
|
+
opacity: 0,
|
|
16
|
+
scale: 0.8,
|
|
17
|
+
y: -20
|
|
18
|
+
},
|
|
19
|
+
visible: {
|
|
20
|
+
opacity: 1,
|
|
21
|
+
scale: 1,
|
|
22
|
+
y: 0,
|
|
23
|
+
transition: {
|
|
24
|
+
type: "spring",
|
|
25
|
+
stiffness: 300,
|
|
26
|
+
damping: 25
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
exit: {
|
|
30
|
+
opacity: 0,
|
|
31
|
+
scale: 0.8,
|
|
32
|
+
y: 20,
|
|
33
|
+
transition: {
|
|
34
|
+
duration: 0.2
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ i.jsx(l, { children: a && /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
39
|
+
e.div,
|
|
40
|
+
{
|
|
41
|
+
className: "fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center",
|
|
42
|
+
initial: "hidden",
|
|
43
|
+
animate: "visible",
|
|
44
|
+
exit: "hidden",
|
|
45
|
+
variants: n,
|
|
46
|
+
onClick: t,
|
|
47
|
+
children: /* @__PURE__ */ i.jsx(
|
|
48
|
+
e.div,
|
|
49
|
+
{
|
|
50
|
+
className: "w-full max-w-4xl mx-16 z-50",
|
|
51
|
+
variants: s,
|
|
52
|
+
initial: "hidden",
|
|
53
|
+
animate: "visible",
|
|
54
|
+
exit: "exit",
|
|
55
|
+
onClick: (o) => o.stopPropagation(),
|
|
56
|
+
children: /* @__PURE__ */ i.jsx(r, { className: "flex flex-col gap-16 md:gap-24 !p-0", children: /* @__PURE__ */ i.jsx(i.Fragment, {}) })
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
) }) });
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
p as default
|
|
64
|
+
};
|