@vkzstudio/muza-ui 1.0.47 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +173 -171
- package/dist/Muza_BP_logo.svg +26 -26
- package/dist/components/Accordion/Accordion.d.ts +112 -18
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +208 -110
- package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +3 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +28 -24
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
- package/dist/components/Calendar/Calendar.js +10 -11
- package/dist/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
- package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.d.ts +30 -3
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.js +112 -92
- package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +6 -2
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +10 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
- package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
- package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
- package/dist/components/DatePickerButton/index.d.ts +2 -0
- package/dist/components/DatePickerButton/index.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.d.ts +5 -0
- package/dist/components/Icons/CustomBadges.d.ts.map +1 -1
- package/dist/components/Icons/CustomBadges.js +216 -13
- package/dist/components/Icons/CustomLogos.d.ts +18 -2
- package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
- package/dist/components/Icons/CustomLogos.js +103 -97
- package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
- package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
- package/dist/components/Input/Input.js +22 -32
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +2 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/components/Lightbox/Lightbox.js +70 -54
- package/dist/components/Lightbox/Lightbox.stories.d.ts +1 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -1
- package/dist/components/Lightbox/LightboxOverrides.css +5 -5
- package/dist/components/LoginScreen/LoginScreen.js +8 -8
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +10 -9
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +21 -22
- package/dist/components/LoginScreen/LoginScreenItem.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +8 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +7 -6
- package/dist/components/Popover/Popover.stories.d.ts +1 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/components/Reorderable/Reorderable.js +74 -78
- package/dist/components/Reorderable/Reorderable.stories.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/Select/Select.stories.d.ts +1 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.stories.d.ts +1 -0
- package/dist/components/Sheet/Sheet.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +37 -42
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TextEditor/LinkBubbleMenu.js +2 -2
- package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.js +17 -14
- package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
- package/dist/components/Toast/Toast.stories.d.ts +1 -0
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +10 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +82 -67
- package/dist/components/Typography/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
- package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
- package/dist/components/TypographyLink/TypographyLink.js +103 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
- package/dist/components/TypographyLink/index.d.ts +2 -0
- package/dist/components/TypographyLink/index.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
- package/dist/components/UniversalFooter/index.d.ts +2 -0
- package/dist/components/UniversalFooter/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fonts/Objectivity/OFL.txt +92 -92
- package/dist/globals.css +12 -12
- package/dist/index.js +354 -322
- package/dist/muza-ui.css +1 -1
- package/dist/styles/3rd-parties.css +5 -5
- package/dist/styles/animations.css +21 -21
- package/dist/styles/breakpoints.css +4 -4
- package/dist/styles/primitives.css +163 -161
- package/dist/styles/token-colors.css +1445 -1437
- package/dist/styles/token-sizes.css +1553 -1513
- package/dist/styles/typography.css +113 -113
- package/dist/styles/utilities.css +66 -66
- package/dist/styles/white-label.css +26 -26
- package/dist/translations/TranslationContext.js +22 -24
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +9 -1
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +9 -1
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +9 -1
- package/dist/translations/types.d.ts +20 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/llms-full.md +584 -584
- package/llms.txt +37 -37
- package/package.json +20 -24
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/constants.js +0 -5
- package/dist/_virtual/constants2.js +0 -4
- package/dist/_virtual/index.js +0 -7
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -7
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +0 -4
- package/dist/_virtual/react-dom-server.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server.browser.production.min.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-reconciler-constants.development.js +0 -4
- package/dist/_virtual/react-reconciler-constants.production.min.js +0 -4
- package/dist/_virtual/react-reconciler.development.js +0 -4
- package/dist/_virtual/scheduler.development.js +0 -4
- package/dist/_virtual/scheduler.production.min.js +0 -4
- package/dist/_virtual/server.browser.js +0 -5
- package/dist/_virtual/server.browser2.js +0 -4
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -122
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -23
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -32
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -18
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -20
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -37
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -99
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -26
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -74
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -44
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -33
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -15
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +0 -34
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +0 -18
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +0 -1311
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +0 -145
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +0 -47
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -2857
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -45
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -76
- package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +0 -129
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -54
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -136
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -56
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -59
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -75
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -272
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -53
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -64
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -709
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -30
- package/dist/node_modules/color/index.js +0 -262
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +0 -421
- package/dist/node_modules/color/node_modules/color-convert/index.js +0 -35
- package/dist/node_modules/color/node_modules/color-convert/route.js +0 -46
- package/dist/node_modules/color/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/color-string/index.js +0 -105
- package/dist/node_modules/color-string/node_modules/color-name/index.js +0 -153
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/constants.js +0 -4
- package/dist/node_modules/date-fns/constructFrom.js +0 -8
- package/dist/node_modules/date-fns/isSameWeek.js +0 -14
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
- package/dist/node_modules/date-fns/locale/cs/_lib/formatDistance.js +0 -275
- package/dist/node_modules/date-fns/locale/cs/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/cs/_lib/formatRelative.js +0 -25
- package/dist/node_modules/date-fns/locale/cs/_lib/localize.js +0 -167
- package/dist/node_modules/date-fns/locale/cs/_lib/match.js +0 -109
- package/dist/node_modules/date-fns/locale/cs.js +0 -21
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
- package/dist/node_modules/date-fns/locale/en-US.js +0 -21
- package/dist/node_modules/date-fns/locale/sk/_lib/formatDistance.js +0 -158
- package/dist/node_modules/date-fns/locale/sk/_lib/formatLong.js +0 -33
- package/dist/node_modules/date-fns/locale/sk/_lib/formatRelative.js +0 -60
- package/dist/node_modules/date-fns/locale/sk/_lib/localize.js +0 -175
- package/dist/node_modules/date-fns/locale/sk/_lib/match.js +0 -111
- package/dist/node_modules/date-fns/locale/sk.js +0 -21
- package/dist/node_modules/date-fns/startOfWeek.js +0 -11
- package/dist/node_modules/date-fns/toDate.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +0 -128
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +0 -46
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +0 -64
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +0 -70
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -34
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
- package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
- package/dist/node_modules/imask/esm/controls/input.js +0 -222
- package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
- package/dist/node_modules/imask/esm/core/action-details.js +0 -51
- package/dist/node_modules/imask/esm/core/change-details.js +0 -36
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -42
- package/dist/node_modules/imask/esm/core/holder.js +0 -6
- package/dist/node_modules/imask/esm/core/utils.js +0 -67
- package/dist/node_modules/imask/esm/index.js +0 -50
- package/dist/node_modules/imask/esm/masked/base.js +0 -252
- package/dist/node_modules/imask/esm/masked/date.js +0 -117
- package/dist/node_modules/imask/esm/masked/dynamic.js +0 -222
- package/dist/node_modules/imask/esm/masked/enum.js +0 -69
- package/dist/node_modules/imask/esm/masked/factory.js +0 -46
- package/dist/node_modules/imask/esm/masked/function.js +0 -23
- package/dist/node_modules/imask/esm/masked/number.js +0 -212
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -103
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -100
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -102
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -133
- package/dist/node_modules/imask/esm/masked/pattern.js +0 -322
- package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
- package/dist/node_modules/imask/esm/masked/range.js +0 -78
- package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
- package/dist/node_modules/imask/esm/masked/repeat.js +0 -104
- package/dist/node_modules/its-fine/dist/index.js +0 -116
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -707
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +0 -76
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -108
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -218
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -20
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/wrap.js +0 -7
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/orderedmap/dist/index.js +0 -103
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +0 -2956
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -388
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -86
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -204
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -248
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -62
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -2733
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -88
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -822
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1520
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -3794
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -229
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -222
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -44
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3621
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1234
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3600
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1255
- package/dist/node_modules/react-dom/server.browser.js +0 -15
- package/dist/node_modules/react-imask/esm/hook.js +0 -75
- package/dist/node_modules/react-imask/esm/input.js +0 -23
- package/dist/node_modules/react-imask/esm/mixin.js +0 -131
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +0 -17
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +0 -216
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +0 -10
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +0 -4
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +0 -39
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +0 -31
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +0 -9
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +0 -37
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +0 -6
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +0 -22
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +0 -54
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +0 -8
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +0 -14
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +0 -18
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -32
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -17
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -9139
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -3778
- package/dist/node_modules/react-reconciler/constants.js +0 -10
- package/dist/node_modules/react-reconciler/index.js +0 -10
- package/dist/node_modules/react-use-measure/dist/index.js +0 -60
- package/dist/node_modules/rope-sequence/dist/index.js +0 -100
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -277
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -213
- package/dist/node_modules/scheduler/index.js +0 -10
- package/dist/node_modules/three/build/three.module.js +0 -20599
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +0 -15
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +0 -5
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +0 -201
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +0 -246
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +0 -1670
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +0 -34
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -813
- package/dist/node_modules/w3c-keyname/index.js +0 -93
- package/dist/node_modules/zustand/esm/index.js +0 -61
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
import k from "../core/change-details.js";
|
|
2
|
-
import x from "../core/holder.js";
|
|
3
|
-
import { DIRECTION as r } from "../core/utils.js";
|
|
4
|
-
import y from "./base.js";
|
|
5
|
-
import T, { normalizeOpts as b } from "./factory.js";
|
|
6
|
-
import m from "./pattern/chunk-tail-details.js";
|
|
7
|
-
import I from "./pattern/cursor.js";
|
|
8
|
-
import C from "./pattern/fixed-definition.js";
|
|
9
|
-
import _ from "./pattern/input-definition.js";
|
|
10
|
-
import "./regexp.js";
|
|
11
|
-
class h extends y {
|
|
12
|
-
/** */
|
|
13
|
-
/** */
|
|
14
|
-
/** Single char for empty input */
|
|
15
|
-
/** Single char for filled input */
|
|
16
|
-
/** Show placeholder only when needed */
|
|
17
|
-
/** Enable characters overwriting */
|
|
18
|
-
/** */
|
|
19
|
-
/** */
|
|
20
|
-
/** */
|
|
21
|
-
constructor(e) {
|
|
22
|
-
super({
|
|
23
|
-
...h.DEFAULTS,
|
|
24
|
-
...e,
|
|
25
|
-
definitions: Object.assign({}, _.DEFAULT_DEFINITIONS, e == null ? void 0 : e.definitions)
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateOptions(e) {
|
|
29
|
-
super.updateOptions(e);
|
|
30
|
-
}
|
|
31
|
-
_update(e) {
|
|
32
|
-
e.definitions = Object.assign({}, this.definitions, e.definitions), super._update(e), this._rebuildMask();
|
|
33
|
-
}
|
|
34
|
-
_rebuildMask() {
|
|
35
|
-
const e = this.definitions;
|
|
36
|
-
this._blocks = [], this.exposeBlock = void 0, this._stops = [], this._maskedBlocks = {};
|
|
37
|
-
const s = this.mask;
|
|
38
|
-
if (!s || !e) return;
|
|
39
|
-
let t = !1, l = !1;
|
|
40
|
-
for (let i = 0; i < s.length; ++i) {
|
|
41
|
-
if (this.blocks) {
|
|
42
|
-
const p = s.slice(i), g = Object.keys(this.blocks).filter((u) => p.indexOf(u) === 0);
|
|
43
|
-
g.sort((u, d) => d.length - u.length);
|
|
44
|
-
const c = g[0];
|
|
45
|
-
if (c) {
|
|
46
|
-
const {
|
|
47
|
-
expose: u,
|
|
48
|
-
repeat: d,
|
|
49
|
-
...E
|
|
50
|
-
} = b(this.blocks[c]), B = {
|
|
51
|
-
lazy: this.lazy,
|
|
52
|
-
eager: this.eager,
|
|
53
|
-
placeholderChar: this.placeholderChar,
|
|
54
|
-
displayChar: this.displayChar,
|
|
55
|
-
overwrite: this.overwrite,
|
|
56
|
-
autofix: this.autofix,
|
|
57
|
-
...E,
|
|
58
|
-
repeat: d,
|
|
59
|
-
parent: this
|
|
60
|
-
}, f = d != null ? new x.RepeatBlock(
|
|
61
|
-
B
|
|
62
|
-
/* TODO */
|
|
63
|
-
) : T(B);
|
|
64
|
-
f && (this._blocks.push(f), u && (this.exposeBlock = f), this._maskedBlocks[c] || (this._maskedBlocks[c] = []), this._maskedBlocks[c].push(this._blocks.length - 1)), i += c.length - 1;
|
|
65
|
-
continue;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
let o = s[i], a = o in e;
|
|
69
|
-
if (o === h.STOP_CHAR) {
|
|
70
|
-
this._stops.push(this._blocks.length);
|
|
71
|
-
continue;
|
|
72
|
-
}
|
|
73
|
-
if (o === "{" || o === "}") {
|
|
74
|
-
t = !t;
|
|
75
|
-
continue;
|
|
76
|
-
}
|
|
77
|
-
if (o === "[" || o === "]") {
|
|
78
|
-
l = !l;
|
|
79
|
-
continue;
|
|
80
|
-
}
|
|
81
|
-
if (o === h.ESCAPE_CHAR) {
|
|
82
|
-
if (++i, o = s[i], !o) break;
|
|
83
|
-
a = !1;
|
|
84
|
-
}
|
|
85
|
-
const n = a ? new _({
|
|
86
|
-
isOptional: l,
|
|
87
|
-
lazy: this.lazy,
|
|
88
|
-
eager: this.eager,
|
|
89
|
-
placeholderChar: this.placeholderChar,
|
|
90
|
-
displayChar: this.displayChar,
|
|
91
|
-
...b(e[o]),
|
|
92
|
-
parent: this
|
|
93
|
-
}) : new C({
|
|
94
|
-
char: o,
|
|
95
|
-
eager: this.eager,
|
|
96
|
-
isUnmasking: t
|
|
97
|
-
});
|
|
98
|
-
this._blocks.push(n);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
get state() {
|
|
102
|
-
return {
|
|
103
|
-
...super.state,
|
|
104
|
-
_blocks: this._blocks.map((e) => e.state)
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
set state(e) {
|
|
108
|
-
if (!e) {
|
|
109
|
-
this.reset();
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
const {
|
|
113
|
-
_blocks: s,
|
|
114
|
-
...t
|
|
115
|
-
} = e;
|
|
116
|
-
this._blocks.forEach((l, i) => l.state = s[i]), super.state = t;
|
|
117
|
-
}
|
|
118
|
-
reset() {
|
|
119
|
-
super.reset(), this._blocks.forEach((e) => e.reset());
|
|
120
|
-
}
|
|
121
|
-
get isComplete() {
|
|
122
|
-
return this.exposeBlock ? this.exposeBlock.isComplete : this._blocks.every((e) => e.isComplete);
|
|
123
|
-
}
|
|
124
|
-
get isFilled() {
|
|
125
|
-
return this._blocks.every((e) => e.isFilled);
|
|
126
|
-
}
|
|
127
|
-
get isFixed() {
|
|
128
|
-
return this._blocks.every((e) => e.isFixed);
|
|
129
|
-
}
|
|
130
|
-
get isOptional() {
|
|
131
|
-
return this._blocks.every((e) => e.isOptional);
|
|
132
|
-
}
|
|
133
|
-
doCommit() {
|
|
134
|
-
this._blocks.forEach((e) => e.doCommit()), super.doCommit();
|
|
135
|
-
}
|
|
136
|
-
get unmaskedValue() {
|
|
137
|
-
return this.exposeBlock ? this.exposeBlock.unmaskedValue : this._blocks.reduce((e, s) => e += s.unmaskedValue, "");
|
|
138
|
-
}
|
|
139
|
-
set unmaskedValue(e) {
|
|
140
|
-
if (this.exposeBlock) {
|
|
141
|
-
const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
|
|
142
|
-
this.exposeBlock.unmaskedValue = e, this.appendTail(s), this.doCommit();
|
|
143
|
-
} else super.unmaskedValue = e;
|
|
144
|
-
}
|
|
145
|
-
get value() {
|
|
146
|
-
return this.exposeBlock ? this.exposeBlock.value : (
|
|
147
|
-
// TODO return _value when not in change?
|
|
148
|
-
this._blocks.reduce((e, s) => e += s.value, "")
|
|
149
|
-
);
|
|
150
|
-
}
|
|
151
|
-
set value(e) {
|
|
152
|
-
if (this.exposeBlock) {
|
|
153
|
-
const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
|
|
154
|
-
this.exposeBlock.value = e, this.appendTail(s), this.doCommit();
|
|
155
|
-
} else super.value = e;
|
|
156
|
-
}
|
|
157
|
-
get typedValue() {
|
|
158
|
-
return this.exposeBlock ? this.exposeBlock.typedValue : super.typedValue;
|
|
159
|
-
}
|
|
160
|
-
set typedValue(e) {
|
|
161
|
-
if (this.exposeBlock) {
|
|
162
|
-
const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
|
|
163
|
-
this.exposeBlock.typedValue = e, this.appendTail(s), this.doCommit();
|
|
164
|
-
} else super.typedValue = e;
|
|
165
|
-
}
|
|
166
|
-
get displayValue() {
|
|
167
|
-
return this._blocks.reduce((e, s) => e += s.displayValue, "");
|
|
168
|
-
}
|
|
169
|
-
appendTail(e) {
|
|
170
|
-
return super.appendTail(e).aggregate(this._appendPlaceholder());
|
|
171
|
-
}
|
|
172
|
-
_appendEager() {
|
|
173
|
-
var e;
|
|
174
|
-
const s = new k();
|
|
175
|
-
let t = (e = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : e.index;
|
|
176
|
-
if (t == null) return s;
|
|
177
|
-
this._blocks[t].isFilled && ++t;
|
|
178
|
-
for (let l = t; l < this._blocks.length; ++l) {
|
|
179
|
-
const i = this._blocks[l]._appendEager();
|
|
180
|
-
if (!i.inserted) break;
|
|
181
|
-
s.aggregate(i);
|
|
182
|
-
}
|
|
183
|
-
return s;
|
|
184
|
-
}
|
|
185
|
-
_appendCharRaw(e, s) {
|
|
186
|
-
s === void 0 && (s = {});
|
|
187
|
-
const t = this._mapPosToBlock(this.displayValue.length), l = new k();
|
|
188
|
-
if (!t) return l;
|
|
189
|
-
for (let o = t.index, a; a = this._blocks[o]; ++o) {
|
|
190
|
-
var i;
|
|
191
|
-
const n = a._appendChar(e, {
|
|
192
|
-
...s,
|
|
193
|
-
_beforeTailState: (i = s._beforeTailState) == null || (i = i._blocks) == null ? void 0 : i[o]
|
|
194
|
-
});
|
|
195
|
-
if (l.aggregate(n), n.consumed) break;
|
|
196
|
-
}
|
|
197
|
-
return l;
|
|
198
|
-
}
|
|
199
|
-
extractTail(e, s) {
|
|
200
|
-
e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
|
|
201
|
-
const t = new m();
|
|
202
|
-
return e === s || this._forEachBlocksInRange(e, s, (l, i, o, a) => {
|
|
203
|
-
const n = l.extractTail(o, a);
|
|
204
|
-
n.stop = this._findStopBefore(i), n.from = this._blockStartPos(i), n instanceof m && (n.blockIndex = i), t.extend(n);
|
|
205
|
-
}), t;
|
|
206
|
-
}
|
|
207
|
-
extractInput(e, s, t) {
|
|
208
|
-
if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), t === void 0 && (t = {}), e === s) return "";
|
|
209
|
-
let l = "";
|
|
210
|
-
return this._forEachBlocksInRange(e, s, (i, o, a, n) => {
|
|
211
|
-
l += i.extractInput(a, n, t);
|
|
212
|
-
}), l;
|
|
213
|
-
}
|
|
214
|
-
_findStopBefore(e) {
|
|
215
|
-
let s;
|
|
216
|
-
for (let t = 0; t < this._stops.length; ++t) {
|
|
217
|
-
const l = this._stops[t];
|
|
218
|
-
if (l <= e) s = l;
|
|
219
|
-
else break;
|
|
220
|
-
}
|
|
221
|
-
return s;
|
|
222
|
-
}
|
|
223
|
-
/** Appends placeholder depending on laziness */
|
|
224
|
-
_appendPlaceholder(e) {
|
|
225
|
-
const s = new k();
|
|
226
|
-
if (this.lazy && e == null) return s;
|
|
227
|
-
const t = this._mapPosToBlock(this.displayValue.length);
|
|
228
|
-
if (!t) return s;
|
|
229
|
-
const l = t.index, i = e ?? this._blocks.length;
|
|
230
|
-
return this._blocks.slice(l, i).forEach((o) => {
|
|
231
|
-
if (!o.lazy || e != null) {
|
|
232
|
-
var a;
|
|
233
|
-
s.aggregate(o._appendPlaceholder((a = o._blocks) == null ? void 0 : a.length));
|
|
234
|
-
}
|
|
235
|
-
}), s;
|
|
236
|
-
}
|
|
237
|
-
/** Finds block in pos */
|
|
238
|
-
_mapPosToBlock(e) {
|
|
239
|
-
let s = "";
|
|
240
|
-
for (let t = 0; t < this._blocks.length; ++t) {
|
|
241
|
-
const l = this._blocks[t], i = s.length;
|
|
242
|
-
if (s += l.displayValue, e <= s.length)
|
|
243
|
-
return {
|
|
244
|
-
index: t,
|
|
245
|
-
offset: e - i
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
_blockStartPos(e) {
|
|
250
|
-
return this._blocks.slice(0, e).reduce((s, t) => s += t.displayValue.length, 0);
|
|
251
|
-
}
|
|
252
|
-
_forEachBlocksInRange(e, s, t) {
|
|
253
|
-
s === void 0 && (s = this.displayValue.length);
|
|
254
|
-
const l = this._mapPosToBlock(e);
|
|
255
|
-
if (l) {
|
|
256
|
-
const i = this._mapPosToBlock(s), o = i && l.index === i.index, a = l.offset, n = i && o ? i.offset : this._blocks[l.index].displayValue.length;
|
|
257
|
-
if (t(this._blocks[l.index], l.index, a, n), i && !o) {
|
|
258
|
-
for (let p = l.index + 1; p < i.index; ++p)
|
|
259
|
-
t(this._blocks[p], p, 0, this._blocks[p].displayValue.length);
|
|
260
|
-
t(this._blocks[i.index], i.index, 0, i.offset);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
remove(e, s) {
|
|
265
|
-
e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
|
|
266
|
-
const t = super.remove(e, s);
|
|
267
|
-
return this._forEachBlocksInRange(e, s, (l, i, o, a) => {
|
|
268
|
-
t.aggregate(l.remove(o, a));
|
|
269
|
-
}), t;
|
|
270
|
-
}
|
|
271
|
-
nearestInputPos(e, s) {
|
|
272
|
-
if (s === void 0 && (s = r.NONE), !this._blocks.length) return 0;
|
|
273
|
-
const t = new I(this, e);
|
|
274
|
-
if (s === r.NONE)
|
|
275
|
-
return t.pushRightBeforeInput() || (t.popState(), t.pushLeftBeforeInput()) ? t.pos : this.displayValue.length;
|
|
276
|
-
if (s === r.LEFT || s === r.FORCE_LEFT) {
|
|
277
|
-
if (s === r.LEFT) {
|
|
278
|
-
if (t.pushRightBeforeFilled(), t.ok && t.pos === e) return e;
|
|
279
|
-
t.popState();
|
|
280
|
-
}
|
|
281
|
-
if (t.pushLeftBeforeInput(), t.pushLeftBeforeRequired(), t.pushLeftBeforeFilled(), s === r.LEFT) {
|
|
282
|
-
if (t.pushRightBeforeInput(), t.pushRightBeforeRequired(), t.ok && t.pos <= e || (t.popState(), t.ok && t.pos <= e)) return t.pos;
|
|
283
|
-
t.popState();
|
|
284
|
-
}
|
|
285
|
-
return t.ok ? t.pos : s === r.FORCE_LEFT ? 0 : (t.popState(), t.ok || (t.popState(), t.ok) ? t.pos : 0);
|
|
286
|
-
}
|
|
287
|
-
return s === r.RIGHT || s === r.FORCE_RIGHT ? (t.pushRightBeforeInput(), t.pushRightBeforeRequired(), t.pushRightBeforeFilled() ? t.pos : s === r.FORCE_RIGHT ? this.displayValue.length : (t.popState(), t.ok || (t.popState(), t.ok) ? t.pos : this.nearestInputPos(e, r.LEFT))) : e;
|
|
288
|
-
}
|
|
289
|
-
totalInputPositions(e, s) {
|
|
290
|
-
e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
|
|
291
|
-
let t = 0;
|
|
292
|
-
return this._forEachBlocksInRange(e, s, (l, i, o, a) => {
|
|
293
|
-
t += l.totalInputPositions(o, a);
|
|
294
|
-
}), t;
|
|
295
|
-
}
|
|
296
|
-
/** Get block by name */
|
|
297
|
-
maskedBlock(e) {
|
|
298
|
-
return this.maskedBlocks(e)[0];
|
|
299
|
-
}
|
|
300
|
-
/** Get all blocks by name */
|
|
301
|
-
maskedBlocks(e) {
|
|
302
|
-
const s = this._maskedBlocks[e];
|
|
303
|
-
return s ? s.map((t) => this._blocks[t]) : [];
|
|
304
|
-
}
|
|
305
|
-
pad(e) {
|
|
306
|
-
const s = new k();
|
|
307
|
-
return this._forEachBlocksInRange(0, this.displayValue.length, (t) => s.aggregate(t.pad(e))), s;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
h.DEFAULTS = {
|
|
311
|
-
...y.DEFAULTS,
|
|
312
|
-
lazy: !0,
|
|
313
|
-
placeholderChar: "_"
|
|
314
|
-
};
|
|
315
|
-
h.STOP_CHAR = "`";
|
|
316
|
-
h.ESCAPE_CHAR = "\\";
|
|
317
|
-
h.InputDefinition = _;
|
|
318
|
-
h.FixedDefinition = C;
|
|
319
|
-
x.MaskedPattern = h;
|
|
320
|
-
export {
|
|
321
|
-
h as default
|
|
322
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import P from "./factory.js";
|
|
2
|
-
import n from "../core/holder.js";
|
|
3
|
-
const a = {
|
|
4
|
-
MASKED: "value",
|
|
5
|
-
UNMASKED: "unmaskedValue",
|
|
6
|
-
TYPED: "typedValue"
|
|
7
|
-
};
|
|
8
|
-
function u(t, e, r) {
|
|
9
|
-
e === void 0 && (e = a.MASKED), r === void 0 && (r = a.MASKED);
|
|
10
|
-
const i = P(t);
|
|
11
|
-
return (E) => i.runIsolated((p) => (p[e] = E, p[r]));
|
|
12
|
-
}
|
|
13
|
-
function o(t, e, r, i) {
|
|
14
|
-
return u(e, r, i)(t);
|
|
15
|
-
}
|
|
16
|
-
n.PIPE_TYPE = a;
|
|
17
|
-
n.createPipe = u;
|
|
18
|
-
n.pipe = o;
|
|
19
|
-
export {
|
|
20
|
-
a as PIPE_TYPE,
|
|
21
|
-
u as createPipe,
|
|
22
|
-
o as pipe
|
|
23
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import p from "../core/change-details.js";
|
|
2
|
-
import u from "../core/holder.js";
|
|
3
|
-
import m from "./pattern.js";
|
|
4
|
-
import "./base.js";
|
|
5
|
-
import "./factory.js";
|
|
6
|
-
import "./pattern/input-definition.js";
|
|
7
|
-
import "./regexp.js";
|
|
8
|
-
class d extends m {
|
|
9
|
-
/**
|
|
10
|
-
Optionally sets max length of pattern.
|
|
11
|
-
Used when pattern length is longer then `to` param length. Pads zeros at start in this case.
|
|
12
|
-
*/
|
|
13
|
-
/** Min bound */
|
|
14
|
-
/** Max bound */
|
|
15
|
-
get _matchFrom() {
|
|
16
|
-
return this.maxLength - String(this.from).length;
|
|
17
|
-
}
|
|
18
|
-
constructor(e) {
|
|
19
|
-
super(e);
|
|
20
|
-
}
|
|
21
|
-
updateOptions(e) {
|
|
22
|
-
super.updateOptions(e);
|
|
23
|
-
}
|
|
24
|
-
_update(e) {
|
|
25
|
-
const {
|
|
26
|
-
to: t = this.to || 0,
|
|
27
|
-
from: r = this.from || 0,
|
|
28
|
-
maxLength: i = this.maxLength || 0,
|
|
29
|
-
autofix: a = this.autofix,
|
|
30
|
-
...h
|
|
31
|
-
} = e;
|
|
32
|
-
this.to = t, this.from = r, this.maxLength = Math.max(String(t).length, i), this.autofix = a;
|
|
33
|
-
const o = String(this.from).padStart(this.maxLength, "0"), n = String(this.to).padStart(this.maxLength, "0");
|
|
34
|
-
let s = 0;
|
|
35
|
-
for (; s < n.length && n[s] === o[s]; ) ++s;
|
|
36
|
-
h.mask = n.slice(0, s).replace(/0/g, "\\0") + "0".repeat(this.maxLength - s), super._update(h);
|
|
37
|
-
}
|
|
38
|
-
get isComplete() {
|
|
39
|
-
return super.isComplete && !!this.value;
|
|
40
|
-
}
|
|
41
|
-
boundaries(e) {
|
|
42
|
-
let t = "", r = "";
|
|
43
|
-
const [, i, a] = e.match(/^(\D*)(\d*)(\D*)/) || [];
|
|
44
|
-
return a && (t = "0".repeat(i.length) + a, r = "9".repeat(i.length) + a), t = t.padEnd(this.maxLength, "0"), r = r.padEnd(this.maxLength, "9"), [t, r];
|
|
45
|
-
}
|
|
46
|
-
doPrepareChar(e, t) {
|
|
47
|
-
t === void 0 && (t = {});
|
|
48
|
-
let r;
|
|
49
|
-
return [e, r] = super.doPrepareChar(e.replace(/\D/g, ""), t), e || (r.skip = !this.isComplete), [e, r];
|
|
50
|
-
}
|
|
51
|
-
_appendCharRaw(e, t) {
|
|
52
|
-
if (t === void 0 && (t = {}), !this.autofix || this.value.length + 1 > this.maxLength) return super._appendCharRaw(e, t);
|
|
53
|
-
const r = String(this.from).padStart(this.maxLength, "0"), i = String(this.to).padStart(this.maxLength, "0"), [a, h] = this.boundaries(this.value + e);
|
|
54
|
-
return Number(h) < this.from ? super._appendCharRaw(r[this.value.length], t) : Number(a) > this.to ? !t.tail && this.autofix === "pad" && this.value.length + 1 < this.maxLength ? super._appendCharRaw(r[this.value.length], t).aggregate(this._appendCharRaw(e, t)) : super._appendCharRaw(i[this.value.length], t) : super._appendCharRaw(e, t);
|
|
55
|
-
}
|
|
56
|
-
doValidate(e) {
|
|
57
|
-
const t = this.value;
|
|
58
|
-
if (t.search(/[^0]/) === -1 && t.length <= this._matchFrom) return !0;
|
|
59
|
-
const [i, a] = this.boundaries(t);
|
|
60
|
-
return this.from <= Number(a) && Number(i) <= this.to && super.doValidate(e);
|
|
61
|
-
}
|
|
62
|
-
pad(e) {
|
|
63
|
-
const t = new p();
|
|
64
|
-
if (this.value.length === this.maxLength) return t;
|
|
65
|
-
const r = this.value, i = this.maxLength - this.value.length;
|
|
66
|
-
if (i) {
|
|
67
|
-
this.reset();
|
|
68
|
-
for (let a = 0; a < i; ++a)
|
|
69
|
-
t.aggregate(super._appendCharRaw("0", e));
|
|
70
|
-
r.split("").forEach((a) => this._appendCharRaw(a));
|
|
71
|
-
}
|
|
72
|
-
return t;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
u.MaskedRange = d;
|
|
76
|
-
export {
|
|
77
|
-
d as default
|
|
78
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import p from "./base.js";
|
|
2
|
-
import t from "../core/holder.js";
|
|
3
|
-
import "../core/change-details.js";
|
|
4
|
-
class d extends p {
|
|
5
|
-
/** */
|
|
6
|
-
/** Enable characters overwriting */
|
|
7
|
-
/** */
|
|
8
|
-
/** */
|
|
9
|
-
/** */
|
|
10
|
-
updateOptions(e) {
|
|
11
|
-
super.updateOptions(e);
|
|
12
|
-
}
|
|
13
|
-
_update(e) {
|
|
14
|
-
const a = e.mask;
|
|
15
|
-
a && (e.validate = (s) => s.search(a) >= 0), super._update(e);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
t.MaskedRegExp = d;
|
|
19
|
-
export {
|
|
20
|
-
d as default
|
|
21
|
-
};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import k from "../core/change-details.js";
|
|
2
|
-
import u from "../core/holder.js";
|
|
3
|
-
import c, { normalizeOpts as d } from "./factory.js";
|
|
4
|
-
import m from "./pattern.js";
|
|
5
|
-
import "./base.js";
|
|
6
|
-
import "./pattern/input-definition.js";
|
|
7
|
-
import "./regexp.js";
|
|
8
|
-
class _ extends m {
|
|
9
|
-
get repeatFrom() {
|
|
10
|
-
var t;
|
|
11
|
-
return (t = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? t : 0;
|
|
12
|
-
}
|
|
13
|
-
get repeatTo() {
|
|
14
|
-
var t;
|
|
15
|
-
return (t = Array.isArray(this.repeat) ? this.repeat[1] : this.repeat) != null ? t : 1 / 0;
|
|
16
|
-
}
|
|
17
|
-
constructor(t) {
|
|
18
|
-
super(t);
|
|
19
|
-
}
|
|
20
|
-
updateOptions(t) {
|
|
21
|
-
super.updateOptions(t);
|
|
22
|
-
}
|
|
23
|
-
_update(t) {
|
|
24
|
-
var i, s, r;
|
|
25
|
-
const {
|
|
26
|
-
repeat: n,
|
|
27
|
-
...l
|
|
28
|
-
} = d(t);
|
|
29
|
-
this._blockOpts = Object.assign({}, this._blockOpts, l);
|
|
30
|
-
const e = c(this._blockOpts);
|
|
31
|
-
this.repeat = (i = (s = n ?? e.repeat) != null ? s : this.repeat) != null ? i : 1 / 0, super._update({
|
|
32
|
-
mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((r = this._blocks) == null ? void 0 : r.length) || 0, this.repeatFrom)),
|
|
33
|
-
blocks: {
|
|
34
|
-
m: e
|
|
35
|
-
},
|
|
36
|
-
eager: e.eager,
|
|
37
|
-
overwrite: e.overwrite,
|
|
38
|
-
skipInvalid: e.skipInvalid,
|
|
39
|
-
lazy: e.lazy,
|
|
40
|
-
placeholderChar: e.placeholderChar,
|
|
41
|
-
displayChar: e.displayChar
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
_allocateBlock(t) {
|
|
45
|
-
if (t < this._blocks.length) return this._blocks[t];
|
|
46
|
-
if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
|
|
47
|
-
return this._blocks.push(c(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
|
|
48
|
-
}
|
|
49
|
-
_appendCharRaw(t, i) {
|
|
50
|
-
i === void 0 && (i = {});
|
|
51
|
-
const s = new k();
|
|
52
|
-
for (
|
|
53
|
-
let a = (r = (n = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : n.index) != null ? r : Math.max(this._blocks.length - 1, 0), h, o;
|
|
54
|
-
// try to get a block or
|
|
55
|
-
// try to allocate a new block if not allocated already
|
|
56
|
-
h = (l = this._blocks[a]) != null ? l : o = !o && this._allocateBlock(a);
|
|
57
|
-
++a
|
|
58
|
-
) {
|
|
59
|
-
var r, n, l, e;
|
|
60
|
-
const p = h._appendChar(t, {
|
|
61
|
-
...i,
|
|
62
|
-
_beforeTailState: (e = i._beforeTailState) == null || (e = e._blocks) == null ? void 0 : e[a]
|
|
63
|
-
});
|
|
64
|
-
if (p.skip && o) {
|
|
65
|
-
this._blocks.pop(), this.mask = this.mask.slice(1);
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
if (s.aggregate(p), p.consumed) break;
|
|
69
|
-
}
|
|
70
|
-
return s;
|
|
71
|
-
}
|
|
72
|
-
_trimEmptyTail(t, i) {
|
|
73
|
-
var s, r;
|
|
74
|
-
t === void 0 && (t = 0);
|
|
75
|
-
const n = Math.max(((s = this._mapPosToBlock(t)) == null ? void 0 : s.index) || 0, this.repeatFrom, 0);
|
|
76
|
-
let l;
|
|
77
|
-
i != null && (l = (r = this._mapPosToBlock(i)) == null ? void 0 : r.index), l == null && (l = this._blocks.length - 1);
|
|
78
|
-
let e = 0;
|
|
79
|
-
for (let a = l; n <= a && !this._blocks[a].unmaskedValue; --a, ++e)
|
|
80
|
-
;
|
|
81
|
-
e && (this._blocks.splice(l - e + 1, e), this.mask = this.mask.slice(e));
|
|
82
|
-
}
|
|
83
|
-
reset() {
|
|
84
|
-
super.reset(), this._trimEmptyTail();
|
|
85
|
-
}
|
|
86
|
-
remove(t, i) {
|
|
87
|
-
t === void 0 && (t = 0), i === void 0 && (i = this.displayValue.length);
|
|
88
|
-
const s = super.remove(t, i);
|
|
89
|
-
return this._trimEmptyTail(t, i), s;
|
|
90
|
-
}
|
|
91
|
-
totalInputPositions(t, i) {
|
|
92
|
-
return t === void 0 && (t = 0), i == null && this.repeatTo === 1 / 0 ? 1 / 0 : super.totalInputPositions(t, i);
|
|
93
|
-
}
|
|
94
|
-
get state() {
|
|
95
|
-
return super.state;
|
|
96
|
-
}
|
|
97
|
-
set state(t) {
|
|
98
|
-
this._blocks.length = t._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = t;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
u.RepeatBlock = _;
|
|
102
|
-
export {
|
|
103
|
-
_ as default
|
|
104
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import * as n from "react";
|
|
2
|
-
var b = Object.defineProperty, y = Object.defineProperties, w = Object.getOwnPropertyDescriptors, u = Object.getOwnPropertySymbols, P = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable, c = (e, t, r) => t in e ? b(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, l = (e, t) => {
|
|
3
|
-
for (var r in t || (t = {}))
|
|
4
|
-
P.call(t, r) && c(e, r, t[r]);
|
|
5
|
-
if (u)
|
|
6
|
-
for (var r of u(t))
|
|
7
|
-
h.call(t, r) && c(e, r, t[r]);
|
|
8
|
-
return e;
|
|
9
|
-
}, x = (e, t) => y(e, w(t)), p, d;
|
|
10
|
-
typeof window < "u" && ((p = window.document) != null && p.createElement || ((d = window.navigator) == null ? void 0 : d.product) === "ReactNative") ? n.useLayoutEffect : n.useEffect;
|
|
11
|
-
function m(e, t, r) {
|
|
12
|
-
if (!e)
|
|
13
|
-
return;
|
|
14
|
-
if (r(e) === !0)
|
|
15
|
-
return e;
|
|
16
|
-
let i = e.child;
|
|
17
|
-
for (; i; ) {
|
|
18
|
-
const o = m(i, t, r);
|
|
19
|
-
if (o)
|
|
20
|
-
return o;
|
|
21
|
-
i = i.sibling;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function v(e) {
|
|
25
|
-
try {
|
|
26
|
-
return Object.defineProperties(e, {
|
|
27
|
-
_currentRenderer: {
|
|
28
|
-
get() {
|
|
29
|
-
return null;
|
|
30
|
-
},
|
|
31
|
-
set() {
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
_currentRenderer2: {
|
|
35
|
-
get() {
|
|
36
|
-
return null;
|
|
37
|
-
},
|
|
38
|
-
set() {
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
} catch {
|
|
43
|
-
return e;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
const f = console.error;
|
|
47
|
-
console.error = function() {
|
|
48
|
-
const e = [...arguments].join("");
|
|
49
|
-
if (e != null && e.startsWith("Warning:") && e.includes("useContext")) {
|
|
50
|
-
console.error = f;
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
return f.apply(this, arguments);
|
|
54
|
-
};
|
|
55
|
-
const a = v(n.createContext(null));
|
|
56
|
-
class g extends n.Component {
|
|
57
|
-
render() {
|
|
58
|
-
return /* @__PURE__ */ n.createElement(a.Provider, {
|
|
59
|
-
value: this._reactInternals
|
|
60
|
-
}, this.props.children);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function O() {
|
|
64
|
-
const e = n.useContext(a);
|
|
65
|
-
if (e === null)
|
|
66
|
-
throw new Error("its-fine: useFiber must be called within a <FiberProvider />!");
|
|
67
|
-
const t = n.useId();
|
|
68
|
-
return n.useMemo(() => {
|
|
69
|
-
for (const i of [e, e == null ? void 0 : e.alternate]) {
|
|
70
|
-
if (!i)
|
|
71
|
-
continue;
|
|
72
|
-
const o = m(i, !1, (_) => {
|
|
73
|
-
let s = _.memoizedState;
|
|
74
|
-
for (; s; ) {
|
|
75
|
-
if (s.memoizedState === t)
|
|
76
|
-
return !0;
|
|
77
|
-
s = s.next;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
if (o)
|
|
81
|
-
return o;
|
|
82
|
-
}
|
|
83
|
-
}, [e, t]);
|
|
84
|
-
}
|
|
85
|
-
function C() {
|
|
86
|
-
const e = O(), [t] = n.useState(() => /* @__PURE__ */ new Map());
|
|
87
|
-
t.clear();
|
|
88
|
-
let r = e;
|
|
89
|
-
for (; r; ) {
|
|
90
|
-
if (r.type && typeof r.type == "object") {
|
|
91
|
-
const o = r.type._context === void 0 && r.type.Provider === r.type ? r.type : r.type._context;
|
|
92
|
-
o && o !== a && !t.has(o) && t.set(o, n.useContext(v(o)));
|
|
93
|
-
}
|
|
94
|
-
r = r.return;
|
|
95
|
-
}
|
|
96
|
-
return t;
|
|
97
|
-
}
|
|
98
|
-
function E() {
|
|
99
|
-
const e = C();
|
|
100
|
-
return n.useMemo(
|
|
101
|
-
() => Array.from(e.keys()).reduce(
|
|
102
|
-
(t, r) => (i) => /* @__PURE__ */ n.createElement(t, null, /* @__PURE__ */ n.createElement(r.Provider, x(l({}, i), {
|
|
103
|
-
value: e.get(r)
|
|
104
|
-
}))),
|
|
105
|
-
(t) => /* @__PURE__ */ n.createElement(g, l({}, t))
|
|
106
|
-
),
|
|
107
|
-
[e]
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
export {
|
|
111
|
-
g as FiberProvider,
|
|
112
|
-
m as traverseFiber,
|
|
113
|
-
E as useContextBridge,
|
|
114
|
-
C as useContextMap,
|
|
115
|
-
O as useFiber
|
|
116
|
-
};
|