@vkzstudio/muza-ui 1.0.0 → 1.0.1
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/CLAUDE_CONSUMER.md +238 -0
- package/README.md +168 -160
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/constants.js +5 -0
- package/dist/_virtual/constants2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.min.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-reconciler-constants.development.js +4 -0
- package/dist/_virtual/react-reconciler-constants.production.min.js +4 -0
- package/dist/_virtual/react-reconciler.development.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/components/Accordion/Accordion.d.ts +5 -5
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +116 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +83 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +3 -3
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.js +106 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +4 -7
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -8
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +126 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +67 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.d.ts +2 -3
- package/dist/components/Button/buttonVariants.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.js +383 -0
- package/dist/components/Calendar/Calendar.d.ts +35 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.js +338 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts +13 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.d.ts +2 -0
- package/dist/components/Calendar/utils/formatDate.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.js +5 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts +3 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDateRange.js +8 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -5
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +92 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +45 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.js +156 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +17 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts +4 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.js +40 -0
- package/dist/components/Dialog/Dialog.d.ts +14 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +66 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +16 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +22 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +285 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +62 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.d.ts +2 -0
- package/dist/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.js +72 -0
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts +0 -1
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +12 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.js +59 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +10 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts +25 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.js +231 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts +21 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.d.ts +18 -0
- package/dist/components/ExpandableTable/Table.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.js +122 -0
- package/dist/components/ExpandableTable/index.d.ts +2 -0
- package/dist/components/ExpandableTable/index.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.d.ts +15 -0
- package/dist/components/FileUpload/FileItem.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.js +199 -0
- package/dist/components/FileUpload/FileUpload.d.ts +36 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/components/FileUpload/FileUpload.js +212 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts +18 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -0
- package/dist/components/Flex/Flex.d.ts +27 -30
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.js +90 -0
- package/dist/components/Flex/Flex.stories.d.ts +5 -0
- package/dist/components/Flex/Flex.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.d.ts +15 -1
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.js +665 -0
- package/dist/components/Icons/Icons.stories.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +9 -8
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +172 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +14 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +64 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +8 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/index.d.ts +2 -0
- package/dist/components/LanguageSwitcher/index.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.d.ts +19 -0
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.js +90 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts +14 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -0
- package/dist/components/Lightbox/LightboxOverrides.css +5 -0
- package/dist/components/Lightbox/index.d.ts +2 -0
- package/dist/components/Lightbox/index.d.ts.map +1 -0
- package/dist/components/Loader/Loader.d.ts +1 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.js +43 -0
- package/dist/components/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.d.ts +12 -0
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen.js +45 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts +14 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts +3 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.js +9 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts +5 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.js +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts +23 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +93 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +63 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts +7 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreenItem.js +19 -0
- package/dist/components/LoginScreen/index.d.ts +4 -0
- package/dist/components/LoginScreen/index.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.js +156 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +18 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.d.ts +2 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.js +36 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts.map +1 -0
- package/dist/components/PasswordInput/index.d.ts +2 -0
- package/dist/components/PasswordInput/index.d.ts.map +1 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts +1 -1
- package/dist/components/PinIndicator/PinIndicator.d.ts.map +1 -1
- package/dist/components/PinIndicator/PinIndicator.js +33 -0
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +7 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.js +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +11 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +4 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/Radio.js +95 -0
- package/dist/components/Radio/Radio.stories.d.ts +1 -0
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.d.ts +13 -0
- package/dist/components/Searchbar/Searchbar.d.ts.map +1 -0
- package/dist/components/Searchbar/Searchbar.js +104 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts +11 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts.map +1 -0
- package/dist/components/Searchbar/index.d.ts +2 -0
- package/dist/components/Searchbar/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +60 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts +2 -2
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.js +47 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +24 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.js +159 -0
- package/dist/components/Select/Select.stories.d.ts +18 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Select/utils.d.ts +7 -0
- package/dist/components/Select/utils.d.ts.map +1 -0
- package/dist/components/Select/utils.js +35 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.js +27 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +9 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.d.ts.map +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.js +53 -0
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.js +6 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.d.ts +2 -2
- package/dist/components/Snackbar/Toast.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.js +69 -0
- package/dist/components/Stepper/Stepper.d.ts +1 -1
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.js +84 -0
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.d.ts +1 -1
- package/dist/components/Stepper/StepperButton.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.js +29 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts +3 -2
- package/dist/components/SwipeButton/SwipeButton.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +205 -0
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts +3 -3
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeLoadingIcon.js +46 -0
- package/dist/components/SwipeButton/index.d.ts +2 -0
- package/dist/components/SwipeButton/index.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts +2 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.js +75 -0
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.js +74 -0
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts +2 -2
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonVariants.js +50 -0
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.js +32 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +5 -3
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +94 -0
- package/dist/components/Tag/Tag.stories.d.ts +2 -12
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +4 -4
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +102 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +1 -1
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +4 -0
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/components/TimePicker/TimePicker.js +19 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +11 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts.map +1 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/index.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.js +88 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +55 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +27 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +99 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/index.d.ts +37 -17
- package/dist/components/index.d.ts.map +1 -1
- package/dist/globals.css +12 -0
- package/dist/hooks/use-is-breakpoint.d.ts +13 -0
- package/dist/hooks/use-is-breakpoint.d.ts.map +1 -0
- package/dist/hooks/use-is-breakpoint.js +7 -0
- package/dist/hooks/use-is-desktop.d.ts +3 -0
- package/dist/hooks/use-is-desktop.d.ts.map +1 -0
- package/dist/hooks/use-is-desktop.js +6 -0
- package/dist/hooks/use-is-mobile.d.ts +2 -0
- package/dist/hooks/use-is-mobile.d.ts.map +1 -0
- package/dist/hooks/use-is-mobile.js +6 -0
- package/dist/hooks/use-is-tablet.d.ts +3 -0
- package/dist/hooks/use-is-tablet.d.ts.map +1 -0
- package/dist/hooks/use-is-tablet.js +6 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/hooks/use-isomorphic-layout-effect.js +5 -0
- package/dist/hooks/use-media-query.d.ts +7 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +188 -42251
- package/dist/models/Login3D.glb +0 -0
- package/dist/muza-ui.css +1 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +34 -0
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +18 -0
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +1311 -0
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +145 -0
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +47 -0
- package/dist/node_modules/color/index.js +262 -0
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +421 -0
- package/dist/node_modules/color/node_modules/color-convert/index.js +35 -0
- package/dist/node_modules/color/node_modules/color-convert/route.js +46 -0
- package/dist/node_modules/color/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/color-string/index.js +105 -0
- package/dist/node_modules/color-string/node_modules/color-name/index.js +153 -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/framer-motion/dist/es/animation/animate/index.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +32 -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/interfaces/motion-value.js +46 -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 +30 -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/sequence/create.js +123 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +40 -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-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.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-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +34 -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/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 +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +266 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +70 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -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 +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +23 -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 +63 -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 +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -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 +27 -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 +623 -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 +58 -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 +239 -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/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -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 +16 -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/filter-props.js +20 -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/html/HTMLVisualElement.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -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/render.js +12 -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/object/ObjectVisualElement.js +37 -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 +40 -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/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +23 -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/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/utils/animation-state.js +141 -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 +19 -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 +25 -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 +21 -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/delay.js +12 -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/is-browser.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/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/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +28 -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/utils/use-motion-value-event.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +14 -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/resolve-motion-value.js +7 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +34 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +31 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +48 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +30 -0
- package/dist/node_modules/imask/esm/controls/input.js +222 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +43 -0
- package/dist/node_modules/imask/esm/core/action-details.js +51 -0
- package/dist/node_modules/imask/esm/core/change-details.js +36 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +42 -0
- package/dist/node_modules/imask/esm/core/holder.js +6 -0
- package/dist/node_modules/imask/esm/core/utils.js +67 -0
- package/dist/node_modules/imask/esm/index.js +50 -0
- package/dist/node_modules/imask/esm/masked/base.js +252 -0
- package/dist/node_modules/imask/esm/masked/date.js +117 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +222 -0
- package/dist/node_modules/imask/esm/masked/enum.js +69 -0
- package/dist/node_modules/imask/esm/masked/factory.js +46 -0
- package/dist/node_modules/imask/esm/masked/function.js +23 -0
- package/dist/node_modules/imask/esm/masked/number.js +212 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +103 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +100 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +102 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +133 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +322 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +23 -0
- package/dist/node_modules/imask/esm/masked/range.js +78 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +21 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +104 -0
- package/dist/node_modules/its-fine/dist/index.js +116 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +103 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +76 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +133 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +108 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +98 -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/create-generator-easing.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/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +75 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -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/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -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 +9 -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 +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -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 +33 -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/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -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 +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +218 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +50 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -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/pipe.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 +8 -0
- package/dist/node_modules/motion-utils/dist/es/wrap.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +2956 -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/react-day-picker/dist/esm/DayPicker.js +229 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +222 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +3621 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +1234 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +3600 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +1255 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- package/dist/node_modules/react-imask/esm/hook.js +75 -0
- package/dist/node_modules/react-imask/esm/input.js +23 -0
- package/dist/node_modules/react-imask/esm/mixin.js +131 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +17 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +216 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +10 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +4 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +39 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +31 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +37 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +22 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +54 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +14 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +18 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +32 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +17 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +9139 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +3778 -0
- package/dist/node_modules/react-reconciler/constants.js +10 -0
- package/dist/node_modules/react-reconciler/index.js +10 -0
- package/dist/node_modules/react-use-measure/dist/index.js +60 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +277 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +213 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/three/build/three.module.js +20599 -0
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +15 -0
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +5 -0
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +201 -0
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +246 -0
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +1670 -0
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +34 -0
- package/dist/node_modules/zustand/esm/index.js +61 -0
- package/dist/styles/3rd-parties.css +5 -0
- package/dist/styles/animations.css +41 -0
- package/dist/styles/breakpoints.css +4 -0
- package/dist/styles/primitives.css +155 -0
- package/dist/styles/token-colors.css +1201 -0
- package/dist/styles/token-sizes.css +676 -0
- package/dist/styles/typography.css +84 -0
- package/dist/styles/utilities.css +66 -0
- package/dist/styles/white-label.css +25 -0
- package/dist/utils/cn.d.ts +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +159 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/spacing.d.ts +378 -0
- package/dist/utils/spacing.d.ts.map +1 -0
- package/dist/utils/spacing.js +352 -0
- package/package.json +83 -40
- package/dist/fonts/Objectivity/Objectivity-Black.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Black.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Bold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Light.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Medium.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Regular.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.woff2 +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { time as s } from "../../../../motion-dom/dist/es/frameloop/sync-time.js";
|
|
2
|
+
import { frame as m, cancelFrame as o } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
3
|
+
function i(c, r) {
|
|
4
|
+
const n = s.now(), e = ({ timestamp: a }) => {
|
|
5
|
+
const t = a - n;
|
|
6
|
+
t >= r && (o(e), c(t - r));
|
|
7
|
+
};
|
|
8
|
+
return m.setup(e, !0), () => o(e);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
i as delay
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { isBrowser as o } from "../is-browser.js";
|
|
2
|
+
import { hasReducedMotionListener as n, prefersReducedMotion as t } from "./state.js";
|
|
3
|
+
function c() {
|
|
4
|
+
if (n.current = !0, !!o)
|
|
5
|
+
if (window.matchMedia) {
|
|
6
|
+
const e = window.matchMedia("(prefers-reduced-motion)"), r = () => t.current = e.matches;
|
|
7
|
+
e.addEventListener("change", r), r();
|
|
8
|
+
} else
|
|
9
|
+
t.current = !1;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
c as initPrefersReducedMotion
|
|
13
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
function f(n, u) {
|
|
3
|
+
if (typeof n == "function")
|
|
4
|
+
return n(u);
|
|
5
|
+
n != null && (n.current = u);
|
|
6
|
+
}
|
|
7
|
+
function i(...n) {
|
|
8
|
+
return (u) => {
|
|
9
|
+
let o = !1;
|
|
10
|
+
const c = n.map((e) => {
|
|
11
|
+
const t = f(e, u);
|
|
12
|
+
return !o && typeof t == "function" && (o = !0), t;
|
|
13
|
+
});
|
|
14
|
+
if (o)
|
|
15
|
+
return () => {
|
|
16
|
+
for (let e = 0; e < c.length; e++) {
|
|
17
|
+
const t = c[e];
|
|
18
|
+
typeof t == "function" ? t() : f(n[e], null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function s(...n) {
|
|
24
|
+
return l.useCallback(i(...n), n);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
s as useComposedRefs
|
|
28
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useIsomorphicLayoutEffect as a } from "../utils/use-isomorphic-effect.js";
|
|
2
|
+
import { useMotionValue as c } from "./use-motion-value.js";
|
|
3
|
+
import { frame as m, cancelFrame as p } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
4
|
+
function d(n, t) {
|
|
5
|
+
const r = c(t()), e = () => r.set(t());
|
|
6
|
+
return e(), a(() => {
|
|
7
|
+
const s = () => m.preRender(e, !1, !0), u = n.map((o) => o.on("change", s));
|
|
8
|
+
return () => {
|
|
9
|
+
u.forEach((o) => o()), p(e);
|
|
10
|
+
};
|
|
11
|
+
}), r;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
d as useCombineMotionValues
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useCombineMotionValues as n } from "./use-combine-values.js";
|
|
2
|
+
import { collectMotionValues as e } from "../../../../motion-dom/dist/es/value/index.js";
|
|
3
|
+
function i(o) {
|
|
4
|
+
e.current = [], o();
|
|
5
|
+
const r = n(e.current, o);
|
|
6
|
+
return e.current = void 0, r;
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
i as useComputed
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useContext as s, useState as r, useEffect as u } from "react";
|
|
2
|
+
import { MotionConfigContext as f } from "../context/MotionConfigContext.js";
|
|
3
|
+
import { useConstant as i } from "../utils/use-constant.js";
|
|
4
|
+
import { motionValue as m } from "../../../../motion-dom/dist/es/value/index.js";
|
|
5
|
+
function x(t) {
|
|
6
|
+
const o = i(() => m(t)), { isStatic: e } = s(f);
|
|
7
|
+
if (e) {
|
|
8
|
+
const [, n] = r(t);
|
|
9
|
+
u(() => o.on("change", n), []);
|
|
10
|
+
}
|
|
11
|
+
return o;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
x as useMotionValue
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useConstant as m } from "../utils/use-constant.js";
|
|
2
|
+
import { useCombineMotionValues as u } from "./use-combine-values.js";
|
|
3
|
+
import { useComputed as i } from "./use-computed.js";
|
|
4
|
+
import { transform as c } from "../../../../motion-dom/dist/es/utils/transform.js";
|
|
5
|
+
function h(o, r, e, n) {
|
|
6
|
+
if (typeof o == "function")
|
|
7
|
+
return i(o);
|
|
8
|
+
const t = typeof r == "function" ? r : c(r, e, n);
|
|
9
|
+
return Array.isArray(o) ? f(o, t) : f([o], ([s]) => t(s));
|
|
10
|
+
}
|
|
11
|
+
function f(o, r) {
|
|
12
|
+
const e = m(() => []);
|
|
13
|
+
return u(o, () => {
|
|
14
|
+
e.length = 0;
|
|
15
|
+
const n = o.length;
|
|
16
|
+
for (let t = 0; t < n; t++)
|
|
17
|
+
e[t] = o[t].get();
|
|
18
|
+
return r(e);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
h as useTransform
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isWillChangeMotionValue as o } from "./is.js";
|
|
2
|
+
import { MotionGlobalConfig as i } from "../../../../../motion-utils/dist/es/global-config.js";
|
|
3
|
+
function C(a, n) {
|
|
4
|
+
const l = a.getValue("willChange");
|
|
5
|
+
if (o(l))
|
|
6
|
+
return l.add(n);
|
|
7
|
+
if (!l && i.WillChange) {
|
|
8
|
+
const e = new i.WillChange("auto");
|
|
9
|
+
a.addValue("willChange", e), e.add(n);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
C as addValueToWillChange
|
|
14
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import i from "./html-mask-element.js";
|
|
2
|
+
import l from "../core/holder.js";
|
|
3
|
+
import "./mask-element.js";
|
|
4
|
+
class r extends i {
|
|
5
|
+
/** Returns HTMLElement selection start */
|
|
6
|
+
get _unsafeSelectionStart() {
|
|
7
|
+
const o = this.rootElement, t = o.getSelection && o.getSelection(), e = t && t.anchorOffset, n = t && t.focusOffset;
|
|
8
|
+
return n == null || e == null || e < n ? e : n;
|
|
9
|
+
}
|
|
10
|
+
/** Returns HTMLElement selection end */
|
|
11
|
+
get _unsafeSelectionEnd() {
|
|
12
|
+
const o = this.rootElement, t = o.getSelection && o.getSelection(), e = t && t.anchorOffset, n = t && t.focusOffset;
|
|
13
|
+
return n == null || e == null || e > n ? e : n;
|
|
14
|
+
}
|
|
15
|
+
/** Sets HTMLElement selection */
|
|
16
|
+
_unsafeSelect(o, t) {
|
|
17
|
+
if (!this.rootElement.createRange) return;
|
|
18
|
+
const e = this.rootElement.createRange();
|
|
19
|
+
e.setStart(this.input.firstChild || this.input, o), e.setEnd(this.input.lastChild || this.input, t);
|
|
20
|
+
const n = this.rootElement, s = n.getSelection && n.getSelection();
|
|
21
|
+
s && (s.removeAllRanges(), s.addRange(e));
|
|
22
|
+
}
|
|
23
|
+
/** HTMLElement value */
|
|
24
|
+
get value() {
|
|
25
|
+
return this.input.textContent || "";
|
|
26
|
+
}
|
|
27
|
+
set value(o) {
|
|
28
|
+
this.input.textContent = o;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
l.HTMLContenteditableMaskElement = r;
|
|
32
|
+
export {
|
|
33
|
+
r as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import e from "./html-mask-element.js";
|
|
2
|
+
import s from "../core/holder.js";
|
|
3
|
+
import "./mask-element.js";
|
|
4
|
+
class r extends e {
|
|
5
|
+
/** InputElement to use mask on */
|
|
6
|
+
constructor(t) {
|
|
7
|
+
super(t), this.input = t;
|
|
8
|
+
}
|
|
9
|
+
/** Returns InputElement selection start */
|
|
10
|
+
get _unsafeSelectionStart() {
|
|
11
|
+
return this.input.selectionStart != null ? this.input.selectionStart : this.value.length;
|
|
12
|
+
}
|
|
13
|
+
/** Returns InputElement selection end */
|
|
14
|
+
get _unsafeSelectionEnd() {
|
|
15
|
+
return this.input.selectionEnd;
|
|
16
|
+
}
|
|
17
|
+
/** Sets InputElement selection */
|
|
18
|
+
_unsafeSelect(t, n) {
|
|
19
|
+
this.input.setSelectionRange(t, n);
|
|
20
|
+
}
|
|
21
|
+
get value() {
|
|
22
|
+
return this.input.value;
|
|
23
|
+
}
|
|
24
|
+
set value(t) {
|
|
25
|
+
this.input.value = t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
s.HTMLMaskElement = e;
|
|
29
|
+
export {
|
|
30
|
+
r as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import s from "./mask-element.js";
|
|
2
|
+
import o from "../core/holder.js";
|
|
3
|
+
const e = 90, r = 89;
|
|
4
|
+
class h extends s {
|
|
5
|
+
/** HTMLElement to use mask on */
|
|
6
|
+
constructor(t) {
|
|
7
|
+
super(), this.input = t, this._onKeydown = this._onKeydown.bind(this), this._onInput = this._onInput.bind(this), this._onBeforeinput = this._onBeforeinput.bind(this), this._onCompositionEnd = this._onCompositionEnd.bind(this);
|
|
8
|
+
}
|
|
9
|
+
get rootElement() {
|
|
10
|
+
var t, n, i;
|
|
11
|
+
return (t = (n = (i = this.input).getRootNode) == null ? void 0 : n.call(i)) != null ? t : document;
|
|
12
|
+
}
|
|
13
|
+
/** Is element in focus */
|
|
14
|
+
get isActive() {
|
|
15
|
+
return this.input === this.rootElement.activeElement;
|
|
16
|
+
}
|
|
17
|
+
/** Binds HTMLElement events to mask internal events */
|
|
18
|
+
bindEvents(t) {
|
|
19
|
+
this.input.addEventListener("keydown", this._onKeydown), this.input.addEventListener("input", this._onInput), this.input.addEventListener("beforeinput", this._onBeforeinput), this.input.addEventListener("compositionend", this._onCompositionEnd), this.input.addEventListener("drop", t.drop), this.input.addEventListener("click", t.click), this.input.addEventListener("focus", t.focus), this.input.addEventListener("blur", t.commit), this._handlers = t;
|
|
20
|
+
}
|
|
21
|
+
_onKeydown(t) {
|
|
22
|
+
if (this._handlers.redo && (t.keyCode === e && t.shiftKey && (t.metaKey || t.ctrlKey) || t.keyCode === r && t.ctrlKey))
|
|
23
|
+
return t.preventDefault(), this._handlers.redo(t);
|
|
24
|
+
if (this._handlers.undo && t.keyCode === e && (t.metaKey || t.ctrlKey))
|
|
25
|
+
return t.preventDefault(), this._handlers.undo(t);
|
|
26
|
+
t.isComposing || this._handlers.selectionChange(t);
|
|
27
|
+
}
|
|
28
|
+
_onBeforeinput(t) {
|
|
29
|
+
if (t.inputType === "historyUndo" && this._handlers.undo)
|
|
30
|
+
return t.preventDefault(), this._handlers.undo(t);
|
|
31
|
+
if (t.inputType === "historyRedo" && this._handlers.redo)
|
|
32
|
+
return t.preventDefault(), this._handlers.redo(t);
|
|
33
|
+
}
|
|
34
|
+
_onCompositionEnd(t) {
|
|
35
|
+
this._handlers.input(t);
|
|
36
|
+
}
|
|
37
|
+
_onInput(t) {
|
|
38
|
+
t.isComposing || this._handlers.input(t);
|
|
39
|
+
}
|
|
40
|
+
/** Unbinds HTMLElement events to mask internal events */
|
|
41
|
+
unbindEvents() {
|
|
42
|
+
this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
o.HTMLMaskElement = h;
|
|
46
|
+
export {
|
|
47
|
+
h as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
class s {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.states = [], this.currentIndex = 0;
|
|
4
|
+
}
|
|
5
|
+
get currentState() {
|
|
6
|
+
return this.states[this.currentIndex];
|
|
7
|
+
}
|
|
8
|
+
get isEmpty() {
|
|
9
|
+
return this.states.length === 0;
|
|
10
|
+
}
|
|
11
|
+
push(t) {
|
|
12
|
+
this.currentIndex < this.states.length - 1 && (this.states.length = this.currentIndex + 1), this.states.push(t), this.states.length > s.MAX_LENGTH && this.states.shift(), this.currentIndex = this.states.length - 1;
|
|
13
|
+
}
|
|
14
|
+
go(t) {
|
|
15
|
+
return this.currentIndex = Math.min(Math.max(this.currentIndex + t, 0), this.states.length - 1), this.currentState;
|
|
16
|
+
}
|
|
17
|
+
undo() {
|
|
18
|
+
return this.go(-1);
|
|
19
|
+
}
|
|
20
|
+
redo() {
|
|
21
|
+
return this.go(1);
|
|
22
|
+
}
|
|
23
|
+
clear() {
|
|
24
|
+
this.states.length = 0, this.currentIndex = 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
s.MAX_LENGTH = 100;
|
|
28
|
+
export {
|
|
29
|
+
s as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { DIRECTION as r } from "../core/utils.js";
|
|
2
|
+
import h from "../core/action-details.js";
|
|
3
|
+
import u, { maskedClass as l } from "../masked/factory.js";
|
|
4
|
+
import d from "./mask-element.js";
|
|
5
|
+
import p from "./html-input-mask-element.js";
|
|
6
|
+
import _ from "./html-contenteditable-mask-element.js";
|
|
7
|
+
import o from "../core/holder.js";
|
|
8
|
+
import m from "./input-history.js";
|
|
9
|
+
import "./html-mask-element.js";
|
|
10
|
+
class c {
|
|
11
|
+
/**
|
|
12
|
+
View element
|
|
13
|
+
*/
|
|
14
|
+
/** Internal {@link Masked} model */
|
|
15
|
+
constructor(t, s) {
|
|
16
|
+
this.el = t instanceof d ? t : t.isContentEditable && t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" ? new _(t) : new p(t), this.masked = u(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new m(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
|
|
17
|
+
}
|
|
18
|
+
maskEquals(t) {
|
|
19
|
+
var s;
|
|
20
|
+
return t == null || ((s = this.masked) == null ? void 0 : s.maskEquals(t));
|
|
21
|
+
}
|
|
22
|
+
/** Masked */
|
|
23
|
+
get mask() {
|
|
24
|
+
return this.masked.mask;
|
|
25
|
+
}
|
|
26
|
+
set mask(t) {
|
|
27
|
+
if (this.maskEquals(t)) return;
|
|
28
|
+
if (!(t instanceof o.Masked) && this.masked.constructor === l(t)) {
|
|
29
|
+
this.masked.updateOptions({
|
|
30
|
+
mask: t
|
|
31
|
+
});
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const s = t instanceof o.Masked ? t : u({
|
|
35
|
+
mask: t
|
|
36
|
+
});
|
|
37
|
+
s.unmaskedValue = this.masked.unmaskedValue, this.masked = s;
|
|
38
|
+
}
|
|
39
|
+
/** Raw value */
|
|
40
|
+
get value() {
|
|
41
|
+
return this._value;
|
|
42
|
+
}
|
|
43
|
+
set value(t) {
|
|
44
|
+
this.value !== t && (this.masked.value = t, this.updateControl("auto"));
|
|
45
|
+
}
|
|
46
|
+
/** Unmasked value */
|
|
47
|
+
get unmaskedValue() {
|
|
48
|
+
return this._unmaskedValue;
|
|
49
|
+
}
|
|
50
|
+
set unmaskedValue(t) {
|
|
51
|
+
this.unmaskedValue !== t && (this.masked.unmaskedValue = t, this.updateControl("auto"));
|
|
52
|
+
}
|
|
53
|
+
/** Raw input value */
|
|
54
|
+
get rawInputValue() {
|
|
55
|
+
return this._rawInputValue;
|
|
56
|
+
}
|
|
57
|
+
set rawInputValue(t) {
|
|
58
|
+
this.rawInputValue !== t && (this.masked.rawInputValue = t, this.updateControl(), this.alignCursor());
|
|
59
|
+
}
|
|
60
|
+
/** Typed unmasked value */
|
|
61
|
+
get typedValue() {
|
|
62
|
+
return this.masked.typedValue;
|
|
63
|
+
}
|
|
64
|
+
set typedValue(t) {
|
|
65
|
+
this.masked.typedValueEquals(t) || (this.masked.typedValue = t, this.updateControl("auto"));
|
|
66
|
+
}
|
|
67
|
+
/** Display value */
|
|
68
|
+
get displayValue() {
|
|
69
|
+
return this.masked.displayValue;
|
|
70
|
+
}
|
|
71
|
+
/** Starts listening to element events */
|
|
72
|
+
_bindEvents() {
|
|
73
|
+
this.el.bindEvents({
|
|
74
|
+
selectionChange: this._saveSelection,
|
|
75
|
+
input: this._onInput,
|
|
76
|
+
drop: this._onDrop,
|
|
77
|
+
click: this._onClick,
|
|
78
|
+
focus: this._onFocus,
|
|
79
|
+
commit: this._onChange,
|
|
80
|
+
undo: this._onUndo,
|
|
81
|
+
redo: this._onRedo
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/** Stops listening to element events */
|
|
85
|
+
_unbindEvents() {
|
|
86
|
+
this.el && this.el.unbindEvents();
|
|
87
|
+
}
|
|
88
|
+
/** Fires custom event */
|
|
89
|
+
_fireEvent(t, s) {
|
|
90
|
+
const e = this._listeners[t];
|
|
91
|
+
e && e.forEach((i) => i(s));
|
|
92
|
+
}
|
|
93
|
+
/** Current selection start */
|
|
94
|
+
get selectionStart() {
|
|
95
|
+
return this._cursorChanging ? this._changingCursorPos : this.el.selectionStart;
|
|
96
|
+
}
|
|
97
|
+
/** Current cursor position */
|
|
98
|
+
get cursorPos() {
|
|
99
|
+
return this._cursorChanging ? this._changingCursorPos : this.el.selectionEnd;
|
|
100
|
+
}
|
|
101
|
+
set cursorPos(t) {
|
|
102
|
+
!this.el || !this.el.isActive || (this.el.select(t, t), this._saveSelection());
|
|
103
|
+
}
|
|
104
|
+
/** Stores current selection */
|
|
105
|
+
_saveSelection() {
|
|
106
|
+
this.displayValue !== this.el.value && console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."), this._selection = {
|
|
107
|
+
start: this.selectionStart,
|
|
108
|
+
end: this.cursorPos
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/** Syncronizes model value from view */
|
|
112
|
+
updateValue() {
|
|
113
|
+
this.masked.value = this.el.value, this._value = this.masked.value, this._unmaskedValue = this.masked.unmaskedValue, this._rawInputValue = this.masked.rawInputValue;
|
|
114
|
+
}
|
|
115
|
+
/** Syncronizes view from model value, fires change events */
|
|
116
|
+
updateControl(t) {
|
|
117
|
+
const s = this.masked.unmaskedValue, e = this.masked.value, i = this.masked.rawInputValue, n = this.displayValue, a = this.unmaskedValue !== s || this.value !== e || this._rawInputValue !== i;
|
|
118
|
+
this._unmaskedValue = s, this._value = e, this._rawInputValue = i, this.el.value !== n && (this.el.value = n), t === "auto" ? this.alignCursor() : t != null && (this.cursorPos = t), a && this._fireChangeEvents(), !this._historyChanging && (a || this.history.isEmpty) && this.history.push({
|
|
119
|
+
unmaskedValue: s,
|
|
120
|
+
selection: {
|
|
121
|
+
start: this.selectionStart,
|
|
122
|
+
end: this.cursorPos
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
/** Updates options with deep equal check, recreates {@link Masked} model if mask type changes */
|
|
127
|
+
updateOptions(t) {
|
|
128
|
+
const {
|
|
129
|
+
mask: s,
|
|
130
|
+
...e
|
|
131
|
+
} = t, i = !this.maskEquals(s), n = this.masked.optionsIsChanged(e);
|
|
132
|
+
i && (this.mask = s), n && this.masked.updateOptions(e), (i || n) && this.updateControl();
|
|
133
|
+
}
|
|
134
|
+
/** Updates cursor */
|
|
135
|
+
updateCursor(t) {
|
|
136
|
+
t != null && (this.cursorPos = t, this._delayUpdateCursor(t));
|
|
137
|
+
}
|
|
138
|
+
/** Delays cursor update to support mobile browsers */
|
|
139
|
+
_delayUpdateCursor(t) {
|
|
140
|
+
this._abortUpdateCursor(), this._changingCursorPos = t, this._cursorChanging = setTimeout(() => {
|
|
141
|
+
this.el && (this.cursorPos = this._changingCursorPos, this._abortUpdateCursor());
|
|
142
|
+
}, 10);
|
|
143
|
+
}
|
|
144
|
+
/** Fires custom events */
|
|
145
|
+
_fireChangeEvents() {
|
|
146
|
+
this._fireEvent("accept", this._inputEvent), this.masked.isComplete && this._fireEvent("complete", this._inputEvent);
|
|
147
|
+
}
|
|
148
|
+
/** Aborts delayed cursor update */
|
|
149
|
+
_abortUpdateCursor() {
|
|
150
|
+
this._cursorChanging && (clearTimeout(this._cursorChanging), delete this._cursorChanging);
|
|
151
|
+
}
|
|
152
|
+
/** Aligns cursor to nearest available position */
|
|
153
|
+
alignCursor() {
|
|
154
|
+
this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, r.LEFT));
|
|
155
|
+
}
|
|
156
|
+
/** Aligns cursor only if selection is empty */
|
|
157
|
+
alignCursorFriendly() {
|
|
158
|
+
this.selectionStart === this.cursorPos && this.alignCursor();
|
|
159
|
+
}
|
|
160
|
+
/** Adds listener on custom event */
|
|
161
|
+
on(t, s) {
|
|
162
|
+
return this._listeners[t] || (this._listeners[t] = []), this._listeners[t].push(s), this;
|
|
163
|
+
}
|
|
164
|
+
/** Removes custom event listener */
|
|
165
|
+
off(t, s) {
|
|
166
|
+
if (!this._listeners[t]) return this;
|
|
167
|
+
if (!s)
|
|
168
|
+
return delete this._listeners[t], this;
|
|
169
|
+
const e = this._listeners[t].indexOf(s);
|
|
170
|
+
return e >= 0 && this._listeners[t].splice(e, 1), this;
|
|
171
|
+
}
|
|
172
|
+
/** Handles view input event */
|
|
173
|
+
_onInput(t) {
|
|
174
|
+
this._inputEvent = t, this._abortUpdateCursor();
|
|
175
|
+
const s = new h({
|
|
176
|
+
// new state
|
|
177
|
+
value: this.el.value,
|
|
178
|
+
cursorPos: this.cursorPos,
|
|
179
|
+
// old state
|
|
180
|
+
oldValue: this.displayValue,
|
|
181
|
+
oldSelection: this._selection
|
|
182
|
+
}), e = this.masked.rawInputValue, i = this.masked.splice(s.startChangePos, s.removed.length, s.inserted, s.removeDirection, {
|
|
183
|
+
input: !0,
|
|
184
|
+
raw: !0
|
|
185
|
+
}).offset, n = e === this.masked.rawInputValue ? s.removeDirection : r.NONE;
|
|
186
|
+
let a = this.masked.nearestInputPos(s.startChangePos + i, n);
|
|
187
|
+
n !== r.NONE && (a = this.masked.nearestInputPos(a, r.NONE)), this.updateControl(a), delete this._inputEvent;
|
|
188
|
+
}
|
|
189
|
+
/** Handles view change event and commits model value */
|
|
190
|
+
_onChange() {
|
|
191
|
+
this.displayValue !== this.el.value && this.updateValue(), this.masked.doCommit(), this.updateControl(), this._saveSelection();
|
|
192
|
+
}
|
|
193
|
+
/** Handles view drop event, prevents by default */
|
|
194
|
+
_onDrop(t) {
|
|
195
|
+
t.preventDefault(), t.stopPropagation();
|
|
196
|
+
}
|
|
197
|
+
/** Restore last selection on focus */
|
|
198
|
+
_onFocus(t) {
|
|
199
|
+
this.alignCursorFriendly();
|
|
200
|
+
}
|
|
201
|
+
/** Restore last selection on focus */
|
|
202
|
+
_onClick(t) {
|
|
203
|
+
this.alignCursorFriendly();
|
|
204
|
+
}
|
|
205
|
+
_onUndo() {
|
|
206
|
+
this._applyHistoryState(this.history.undo());
|
|
207
|
+
}
|
|
208
|
+
_onRedo() {
|
|
209
|
+
this._applyHistoryState(this.history.redo());
|
|
210
|
+
}
|
|
211
|
+
_applyHistoryState(t) {
|
|
212
|
+
t && (this._historyChanging = !0, this.unmaskedValue = t.unmaskedValue, this.el.select(t.selection.start, t.selection.end), this._saveSelection(), this._historyChanging = !1);
|
|
213
|
+
}
|
|
214
|
+
/** Unbind view events and removes element reference */
|
|
215
|
+
destroy() {
|
|
216
|
+
this._unbindEvents(), this._listeners.length = 0, delete this.el;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
o.InputMask = c;
|
|
220
|
+
export {
|
|
221
|
+
c as default
|
|
222
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import l from "../core/holder.js";
|
|
2
|
+
class n {
|
|
3
|
+
/** */
|
|
4
|
+
/** */
|
|
5
|
+
/** */
|
|
6
|
+
/** Safely returns selection start */
|
|
7
|
+
get selectionStart() {
|
|
8
|
+
let t;
|
|
9
|
+
try {
|
|
10
|
+
t = this._unsafeSelectionStart;
|
|
11
|
+
} catch {
|
|
12
|
+
}
|
|
13
|
+
return t ?? this.value.length;
|
|
14
|
+
}
|
|
15
|
+
/** Safely returns selection end */
|
|
16
|
+
get selectionEnd() {
|
|
17
|
+
let t;
|
|
18
|
+
try {
|
|
19
|
+
t = this._unsafeSelectionEnd;
|
|
20
|
+
} catch {
|
|
21
|
+
}
|
|
22
|
+
return t ?? this.value.length;
|
|
23
|
+
}
|
|
24
|
+
/** Safely sets element selection */
|
|
25
|
+
select(t, e) {
|
|
26
|
+
if (!(t == null || e == null || t === this.selectionStart && e === this.selectionEnd))
|
|
27
|
+
try {
|
|
28
|
+
this._unsafeSelect(t, e);
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** */
|
|
33
|
+
get isActive() {
|
|
34
|
+
return !1;
|
|
35
|
+
}
|
|
36
|
+
/** */
|
|
37
|
+
/** */
|
|
38
|
+
/** */
|
|
39
|
+
}
|
|
40
|
+
l.MaskElement = n;
|
|
41
|
+
export {
|
|
42
|
+
n as default
|
|
43
|
+
};
|