@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,15 +0,0 @@
|
|
|
1
|
-
import { __exports as r } from "../../_virtual/server.browser2.js";
|
|
2
|
-
import { __require as i } from "./cjs/react-dom-server-legacy.browser.production.min.js";
|
|
3
|
-
import { __require as a } from "./cjs/react-dom-server.browser.production.min.js";
|
|
4
|
-
import { __require as n } from "./cjs/react-dom-server-legacy.browser.development.js";
|
|
5
|
-
import { __require as _ } from "./cjs/react-dom-server.browser.development.js";
|
|
6
|
-
var t;
|
|
7
|
-
function c() {
|
|
8
|
-
if (t) return r;
|
|
9
|
-
t = 1;
|
|
10
|
-
var e, o;
|
|
11
|
-
return process.env.NODE_ENV === "production" ? (e = i(), o = a()) : (e = n(), o = _()), r.version = e.version, r.renderToString = e.renderToString, r.renderToStaticMarkup = e.renderToStaticMarkup, r.renderToNodeStream = e.renderToNodeStream, r.renderToStaticNodeStream = e.renderToStaticNodeStream, r.renderToReadableStream = o.renderToReadableStream, r;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
c as __require
|
|
15
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import "../../imask/esm/controls/input.js";
|
|
2
|
-
import I from "../../imask/esm/core/holder.js";
|
|
3
|
-
import "../../imask/esm/masked/factory.js";
|
|
4
|
-
import "../../imask/esm/controls/mask-element.js";
|
|
5
|
-
import "../../imask/esm/controls/html-input-mask-element.js";
|
|
6
|
-
import "../../imask/esm/controls/html-mask-element.js";
|
|
7
|
-
import "../../imask/esm/controls/html-contenteditable-mask-element.js";
|
|
8
|
-
import "../../imask/esm/controls/input-history.js";
|
|
9
|
-
import { useRef as E, useState as i, useCallback as m, useEffect as o } from "react";
|
|
10
|
-
function w(a, M) {
|
|
11
|
-
let {
|
|
12
|
-
onAccept: p,
|
|
13
|
-
onComplete: k,
|
|
14
|
-
ref: R = E(null),
|
|
15
|
-
defaultValue: S,
|
|
16
|
-
defaultUnmaskedValue: T,
|
|
17
|
-
defaultTypedValue: U
|
|
18
|
-
} = M === void 0 ? {} : M;
|
|
19
|
-
const t = E(null), [V, d] = i({}), [r, v] = i(""), [s, y] = i(""), [c, A] = i(), f = m(() => {
|
|
20
|
-
var e;
|
|
21
|
-
(e = t.current) == null || e.destroy(), t.current = null;
|
|
22
|
-
}, []), _ = m(() => {
|
|
23
|
-
const e = t.current;
|
|
24
|
-
e && (d({
|
|
25
|
-
value: e.value,
|
|
26
|
-
unmaskedValue: e.unmaskedValue,
|
|
27
|
-
typedValue: e.typedValue
|
|
28
|
-
}), A(e.typedValue), y(e.unmaskedValue), v(e.value));
|
|
29
|
-
}, []), l = m((e) => {
|
|
30
|
-
const u = t.current;
|
|
31
|
-
u && (_(), p == null || p(u.value, u, e));
|
|
32
|
-
}, [p]), C = m((e) => t.current && (k == null ? void 0 : k(t.current.value, t.current, e)), [k]);
|
|
33
|
-
return o(() => {
|
|
34
|
-
const {
|
|
35
|
-
value: e,
|
|
36
|
-
...u
|
|
37
|
-
} = V, n = t.current;
|
|
38
|
-
!n || r === void 0 || (e !== r && (n.value = r, n.value !== r && l()), d(u));
|
|
39
|
-
}, [r]), o(() => {
|
|
40
|
-
const {
|
|
41
|
-
unmaskedValue: e,
|
|
42
|
-
...u
|
|
43
|
-
} = V, n = t.current;
|
|
44
|
-
!n || s === void 0 || (e !== s && (n.unmaskedValue = s, n.unmaskedValue !== s && l()), d(u));
|
|
45
|
-
}, [s]), o(() => {
|
|
46
|
-
const {
|
|
47
|
-
typedValue: e,
|
|
48
|
-
...u
|
|
49
|
-
} = V, n = t.current;
|
|
50
|
-
!n || c === void 0 || (e !== c && (n.typedValue = c, n.masked.typedValueEquals(c) || l()), d(u));
|
|
51
|
-
}, [c]), o(() => {
|
|
52
|
-
const e = R.current;
|
|
53
|
-
if (!e || !(a != null && a.mask)) return f();
|
|
54
|
-
const u = t.current;
|
|
55
|
-
u ? u == null || u.updateOptions(a) : e && a != null && a.mask && (t.current = I(e, a), _(), S !== void 0 && v(S), T !== void 0 && y(T), U !== void 0 && A(U));
|
|
56
|
-
}, [a, f, l]), o(() => {
|
|
57
|
-
if (!t.current) return;
|
|
58
|
-
const e = t.current;
|
|
59
|
-
return e.on("accept", l), e.on("complete", C), () => {
|
|
60
|
-
e.off("accept", l), e.off("complete", C);
|
|
61
|
-
};
|
|
62
|
-
}, [l, C]), o(() => f, [f]), {
|
|
63
|
-
ref: R,
|
|
64
|
-
maskRef: t,
|
|
65
|
-
value: r,
|
|
66
|
-
setValue: v,
|
|
67
|
-
unmaskedValue: s,
|
|
68
|
-
setUnmaskedValue: y,
|
|
69
|
-
typedValue: c,
|
|
70
|
-
setTypedValue: A
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
w as default
|
|
75
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import e from "react";
|
|
2
|
-
import p from "./mixin.js";
|
|
3
|
-
import "../../imask/esm/controls/input.js";
|
|
4
|
-
import "../../imask/esm/masked/factory.js";
|
|
5
|
-
import "../../imask/esm/controls/mask-element.js";
|
|
6
|
-
import "../../imask/esm/controls/html-input-mask-element.js";
|
|
7
|
-
import "../../imask/esm/controls/html-mask-element.js";
|
|
8
|
-
import "../../imask/esm/controls/html-contenteditable-mask-element.js";
|
|
9
|
-
import "../../imask/esm/controls/input-history.js";
|
|
10
|
-
const i = p((t) => {
|
|
11
|
-
let {
|
|
12
|
-
inputRef: r,
|
|
13
|
-
...o
|
|
14
|
-
} = t;
|
|
15
|
-
return e.createElement("input", {
|
|
16
|
-
...o,
|
|
17
|
-
ref: r
|
|
18
|
-
});
|
|
19
|
-
}), m = (t, r) => e.createElement(i, {
|
|
20
|
-
...t,
|
|
21
|
-
ref: r
|
|
22
|
-
});
|
|
23
|
-
e.forwardRef(m);
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import o from "react";
|
|
2
|
-
import e from "../../../_virtual/index.js";
|
|
3
|
-
import "../../imask/esm/controls/input.js";
|
|
4
|
-
import p from "../../imask/esm/core/holder.js";
|
|
5
|
-
import "../../imask/esm/masked/factory.js";
|
|
6
|
-
import "../../imask/esm/controls/mask-element.js";
|
|
7
|
-
import "../../imask/esm/controls/html-input-mask-element.js";
|
|
8
|
-
import "../../imask/esm/controls/html-mask-element.js";
|
|
9
|
-
import "../../imask/esm/controls/html-contenteditable-mask-element.js";
|
|
10
|
-
import "../../imask/esm/controls/input-history.js";
|
|
11
|
-
const m = {
|
|
12
|
-
// common
|
|
13
|
-
mask: e.oneOfType([e.array, e.func, e.string, e.instanceOf(RegExp), e.oneOf([Date, Number, p.Masked]), e.instanceOf(p.Masked)]),
|
|
14
|
-
value: e.any,
|
|
15
|
-
unmask: e.oneOfType([e.bool, e.oneOf(["typed"])]),
|
|
16
|
-
prepare: e.func,
|
|
17
|
-
prepareChar: e.func,
|
|
18
|
-
validate: e.func,
|
|
19
|
-
commit: e.func,
|
|
20
|
-
overwrite: e.oneOfType([e.bool, e.oneOf(["shift"])]),
|
|
21
|
-
eager: e.oneOfType([e.bool, e.oneOf(["append", "remove"])]),
|
|
22
|
-
skipInvalid: e.bool,
|
|
23
|
-
// events
|
|
24
|
-
onAccept: e.func,
|
|
25
|
-
onComplete: e.func,
|
|
26
|
-
// pattern
|
|
27
|
-
placeholderChar: e.string,
|
|
28
|
-
displayChar: e.string,
|
|
29
|
-
lazy: e.bool,
|
|
30
|
-
definitions: e.object,
|
|
31
|
-
blocks: e.object,
|
|
32
|
-
// enum
|
|
33
|
-
enum: e.arrayOf(e.string),
|
|
34
|
-
// range
|
|
35
|
-
maxLength: e.number,
|
|
36
|
-
from: e.number,
|
|
37
|
-
to: e.number,
|
|
38
|
-
// date
|
|
39
|
-
pattern: e.string,
|
|
40
|
-
format: e.func,
|
|
41
|
-
parse: e.func,
|
|
42
|
-
autofix: e.oneOfType([e.bool, e.oneOf(["pad"])]),
|
|
43
|
-
// number
|
|
44
|
-
radix: e.string,
|
|
45
|
-
thousandsSeparator: e.string,
|
|
46
|
-
mapToRadix: e.arrayOf(e.string),
|
|
47
|
-
scale: e.number,
|
|
48
|
-
normalizeZeros: e.bool,
|
|
49
|
-
padFractionalZeros: e.bool,
|
|
50
|
-
min: e.oneOfType([e.number, e.instanceOf(Date)]),
|
|
51
|
-
max: e.oneOfType([e.number, e.instanceOf(Date)]),
|
|
52
|
-
// dynamic
|
|
53
|
-
dispatch: e.func,
|
|
54
|
-
// ref
|
|
55
|
-
inputRef: e.oneOfType([e.func, e.shape({
|
|
56
|
-
current: e.object
|
|
57
|
-
})])
|
|
58
|
-
}, u = Object.keys(m).filter((i) => i !== "value"), h = ["value", "unmask", "onAccept", "onComplete", "inputRef"], c = u.filter((i) => h.indexOf(i) < 0);
|
|
59
|
-
function T(i) {
|
|
60
|
-
var a;
|
|
61
|
-
const r = (a = class extends o.Component {
|
|
62
|
-
constructor(t) {
|
|
63
|
-
super(t), this._inputRef = this._inputRef.bind(this);
|
|
64
|
-
}
|
|
65
|
-
componentDidMount() {
|
|
66
|
-
this.props.mask && this.initMask();
|
|
67
|
-
}
|
|
68
|
-
componentDidUpdate() {
|
|
69
|
-
const t = this.props, s = this._extractMaskOptionsFromProps(t);
|
|
70
|
-
if (s.mask)
|
|
71
|
-
this.maskRef ? (this.maskRef.updateOptions(s), "value" in t && t.value !== void 0 && (this.maskValue = t.value)) : this.initMask(s);
|
|
72
|
-
else if (this.destroyMask(), "value" in t && t.value !== void 0) {
|
|
73
|
-
var n;
|
|
74
|
-
(n = this.element) != null && n.isContentEditable && this.element.tagName !== "INPUT" && this.element.tagName !== "TEXTAREA" ? this.element.textContent = t.value : this.element.value = t.value;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
componentWillUnmount() {
|
|
78
|
-
this.destroyMask();
|
|
79
|
-
}
|
|
80
|
-
_inputRef(t) {
|
|
81
|
-
this.element = t, this.props.inputRef && (Object.prototype.hasOwnProperty.call(this.props.inputRef, "current") ? this.props.inputRef.current = t : this.props.inputRef(t));
|
|
82
|
-
}
|
|
83
|
-
initMask(t) {
|
|
84
|
-
t === void 0 && (t = this._extractMaskOptionsFromProps(this.props)), this.maskRef = p(this.element, t).on("accept", this._onAccept.bind(this)).on("complete", this._onComplete.bind(this)), "value" in this.props && this.props.value !== void 0 && (this.maskValue = this.props.value);
|
|
85
|
-
}
|
|
86
|
-
destroyMask() {
|
|
87
|
-
this.maskRef && (this.maskRef.destroy(), delete this.maskRef);
|
|
88
|
-
}
|
|
89
|
-
_extractMaskOptionsFromProps(t) {
|
|
90
|
-
const {
|
|
91
|
-
...s
|
|
92
|
-
} = t;
|
|
93
|
-
return Object.keys(s).filter((n) => c.indexOf(n) < 0).forEach((n) => {
|
|
94
|
-
delete s[n];
|
|
95
|
-
}), s;
|
|
96
|
-
}
|
|
97
|
-
_extractNonMaskProps(t) {
|
|
98
|
-
const {
|
|
99
|
-
...s
|
|
100
|
-
} = t;
|
|
101
|
-
return u.forEach((n) => {
|
|
102
|
-
n !== "maxLength" && delete s[n];
|
|
103
|
-
}), "defaultValue" in s || (s.defaultValue = t.mask ? "" : s.value), delete s.value, s;
|
|
104
|
-
}
|
|
105
|
-
get maskValue() {
|
|
106
|
-
return this.maskRef ? this.props.unmask === "typed" ? this.maskRef.typedValue : this.props.unmask ? this.maskRef.unmaskedValue : this.maskRef.value : "";
|
|
107
|
-
}
|
|
108
|
-
set maskValue(t) {
|
|
109
|
-
this.maskRef && (t = t == null && this.props.unmask !== "typed" ? "" : t, this.props.unmask === "typed" ? this.maskRef.typedValue = t : this.props.unmask ? this.maskRef.unmaskedValue = t : this.maskRef.value = t);
|
|
110
|
-
}
|
|
111
|
-
_onAccept(t) {
|
|
112
|
-
this.props.onAccept && this.maskRef && this.props.onAccept(this.maskValue, this.maskRef, t);
|
|
113
|
-
}
|
|
114
|
-
_onComplete(t) {
|
|
115
|
-
this.props.onComplete && this.maskRef && this.props.onComplete(this.maskValue, this.maskRef, t);
|
|
116
|
-
}
|
|
117
|
-
render() {
|
|
118
|
-
return o.createElement(i, {
|
|
119
|
-
...this._extractNonMaskProps(this.props),
|
|
120
|
-
inputRef: this._inputRef
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
}, a.displayName = void 0, a.propTypes = void 0, a), l = i.displayName || i.name || "Component";
|
|
124
|
-
return r.displayName = "IMask(" + l + ")", r.propTypes = m, o.forwardRef((f, t) => o.createElement(r, {
|
|
125
|
-
...f,
|
|
126
|
-
ref: t
|
|
127
|
-
}));
|
|
128
|
-
}
|
|
129
|
-
export {
|
|
130
|
-
T as default
|
|
131
|
-
};
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import q from "../../photoswipe/dist/photoswipe.esm.js";
|
|
2
|
-
import J, { useState as K, useRef as j, useCallback as m, useEffect as C, useMemo as U } from "react";
|
|
3
|
-
import { createPortal as D } from "react-dom";
|
|
4
|
-
import r from "../../../_virtual/index.js";
|
|
5
|
-
import tt from "./helpers/object-to-hash.js";
|
|
6
|
-
import et from "./helpers/hash-to-object.js";
|
|
7
|
-
import M from "./helpers/get-hash-without-gid-and-pid.js";
|
|
8
|
-
import y from "./helpers/get-hash-value.js";
|
|
9
|
-
import V from "./helpers/get-base-url.js";
|
|
10
|
-
import z from "./helpers/hash-includes-navigation-query-params.js";
|
|
11
|
-
import nt from "./helpers/get-initial-active-slide-index.js";
|
|
12
|
-
import { Context as ot } from "./context.js";
|
|
13
|
-
import rt from "./lightbox-stub.js";
|
|
14
|
-
import it from "./helpers/get-slides-and-index-from-data-source.js";
|
|
15
|
-
import st from "./helpers/get-slides-and-index-from-items-refs.js";
|
|
16
|
-
let l = null;
|
|
17
|
-
const at = ({
|
|
18
|
-
children: F,
|
|
19
|
-
dataSource: G,
|
|
20
|
-
options: E,
|
|
21
|
-
plugins: g,
|
|
22
|
-
uiElements: x,
|
|
23
|
-
id: i,
|
|
24
|
-
onBeforeOpen: P,
|
|
25
|
-
onOpen: A,
|
|
26
|
-
withCaption: O,
|
|
27
|
-
withDownloadButton: R
|
|
28
|
-
}) => {
|
|
29
|
-
const [N, H] = K(null), h = j(/* @__PURE__ */ new Map()), w = j(null), c = m((o, u, s, a) => {
|
|
30
|
-
if (l)
|
|
31
|
-
return;
|
|
32
|
-
const {
|
|
33
|
-
slides: S,
|
|
34
|
-
index: Y
|
|
35
|
-
} = G ? it(G, h, o, u, s) : st(
|
|
36
|
-
// eslint-disable-next-line prettier/prettier
|
|
37
|
-
h,
|
|
38
|
-
o,
|
|
39
|
-
u,
|
|
40
|
-
s
|
|
41
|
-
), Z = a && a.clientX !== void 0 && a.clientY !== void 0 ? {
|
|
42
|
-
x: a.clientX,
|
|
43
|
-
y: a.clientY
|
|
44
|
-
} : null, n = new q(Object.assign({
|
|
45
|
-
dataSource: S,
|
|
46
|
-
index: nt(Y, u),
|
|
47
|
-
initialPointerPos: Z
|
|
48
|
-
}, E || {}));
|
|
49
|
-
l = n, n.on("contentActivate", ({
|
|
50
|
-
content: e
|
|
51
|
-
}) => {
|
|
52
|
-
e.data.content ? H(D(e.data.content, e.element)) : H(null);
|
|
53
|
-
}), n.on("close", () => {
|
|
54
|
-
H(null);
|
|
55
|
-
}), R && n.on("uiRegister", () => {
|
|
56
|
-
var e;
|
|
57
|
-
(e = n.ui) === null || e === void 0 || e.registerElement({
|
|
58
|
-
name: "download-button",
|
|
59
|
-
ariaLabel: "Download",
|
|
60
|
-
order: 8,
|
|
61
|
-
isButton: !0,
|
|
62
|
-
tagName: "a",
|
|
63
|
-
appendTo: "bar",
|
|
64
|
-
html: {
|
|
65
|
-
isCustomSVG: !0,
|
|
66
|
-
inner: '<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1ZM23 23H9v2h14Z" id="pswp__icn-download"/>',
|
|
67
|
-
outlineID: "pswp__icn-download"
|
|
68
|
-
},
|
|
69
|
-
// can't test onInit callback correctly
|
|
70
|
-
onInit: (
|
|
71
|
-
/* istanbul ignore next */
|
|
72
|
-
(t, p) => {
|
|
73
|
-
t.setAttribute("download", ""), t.setAttribute("target", "_blank"), t.setAttribute("rel", "noopener"), n.on("change", () => {
|
|
74
|
-
var d;
|
|
75
|
-
if (!(!((d = p.currSlide) === null || d === void 0) && d.data.src))
|
|
76
|
-
return;
|
|
77
|
-
const f = t;
|
|
78
|
-
f.href = p.currSlide.data.src;
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
)
|
|
82
|
-
});
|
|
83
|
-
}), O && n.on("uiRegister", () => {
|
|
84
|
-
var e;
|
|
85
|
-
(e = n.ui) === null || e === void 0 || e.registerElement({
|
|
86
|
-
name: "default-caption",
|
|
87
|
-
order: 9,
|
|
88
|
-
isButton: !1,
|
|
89
|
-
appendTo: "root",
|
|
90
|
-
// can't test onInit callback correctly
|
|
91
|
-
onInit: (
|
|
92
|
-
/* istanbul ignore next */
|
|
93
|
-
(t, p) => {
|
|
94
|
-
t.style.position = "absolute", t.style.bottom = "15px", t.style.left = "0", t.style.right = "0", t.style.padding = "0 20px", t.style.color = "var(--pswp-icon-color)", t.style.textAlign = "center", t.style.fontSize = "14px", t.style.lineHeight = "1.5", t.style.textShadow = "1px 1px 3px var(--pswp-icon-color-secondary)", n.on("change", () => {
|
|
95
|
-
if (!p.currSlide)
|
|
96
|
-
return;
|
|
97
|
-
const {
|
|
98
|
-
caption: d,
|
|
99
|
-
alt: f
|
|
100
|
-
} = p.currSlide.data;
|
|
101
|
-
t.textContent = d || f || "";
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
)
|
|
105
|
-
});
|
|
106
|
-
}), Array.isArray(x) && x.forEach((e) => {
|
|
107
|
-
n.on("uiRegister", () => {
|
|
108
|
-
var t;
|
|
109
|
-
(t = n.ui) === null || t === void 0 || t.registerElement(e);
|
|
110
|
-
});
|
|
111
|
-
}), typeof g == "function" && g(new rt(n)), typeof P == "function" && P(n);
|
|
112
|
-
const _ = () => ({
|
|
113
|
-
gallery: {
|
|
114
|
-
galleryUID: i
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
n.on("beforeOpen", () => {
|
|
118
|
-
var e;
|
|
119
|
-
if (i === void 0)
|
|
120
|
-
return;
|
|
121
|
-
if (!z(y())) {
|
|
122
|
-
window.history.pushState(_(), document.title);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
if (!!(!((e = window.history.state) === null || e === void 0) && e.gallery))
|
|
126
|
-
return;
|
|
127
|
-
const d = V(), f = y(), b = M(f), I = `${d}${b ? `#${b}` : ""}`, Q = `${d}#${f}`;
|
|
128
|
-
window.history.replaceState(window.history.state, document.title, I), window.history.pushState(_(), document.title, Q);
|
|
129
|
-
}), n.on("change", () => {
|
|
130
|
-
var e;
|
|
131
|
-
if (i === void 0)
|
|
132
|
-
return;
|
|
133
|
-
const t = ((e = n.currSlide) === null || e === void 0 ? void 0 : e.data.pid) || n.currIndex + 1, p = V(), d = M(y()), f = tt({
|
|
134
|
-
gid: i,
|
|
135
|
-
pid: t
|
|
136
|
-
}), b = `${p}#${d}&${f}`;
|
|
137
|
-
window.history.replaceState(_(), document.title, b);
|
|
138
|
-
});
|
|
139
|
-
const B = () => {
|
|
140
|
-
i !== void 0 && l !== null && l.close();
|
|
141
|
-
};
|
|
142
|
-
window.addEventListener("popstate", B), n.on("destroy", () => {
|
|
143
|
-
i !== void 0 && (window.removeEventListener("popstate", B), z(y()) && window.history.back()), l = null;
|
|
144
|
-
}), n.init(), typeof A == "function" && A(n);
|
|
145
|
-
}, [E, g, x, i, P, A, O, R]);
|
|
146
|
-
C(() => () => {
|
|
147
|
-
l && l.close();
|
|
148
|
-
}, []);
|
|
149
|
-
const v = m(() => {
|
|
150
|
-
if (i === void 0 || l !== null)
|
|
151
|
-
return;
|
|
152
|
-
const o = y();
|
|
153
|
-
if (o.length < 5)
|
|
154
|
-
return;
|
|
155
|
-
const u = et(o), {
|
|
156
|
-
pid: s,
|
|
157
|
-
gid: a
|
|
158
|
-
} = u;
|
|
159
|
-
if (!(!s || !a)) {
|
|
160
|
-
if (h.current.size === 0) {
|
|
161
|
-
w.current = s;
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
s && a === String(i) && c(null, s);
|
|
165
|
-
}
|
|
166
|
-
}, [c, i]);
|
|
167
|
-
C(() => (v(), window.addEventListener("popstate", v), () => {
|
|
168
|
-
window.removeEventListener("popstate", v);
|
|
169
|
-
}), [v]);
|
|
170
|
-
const T = m((o) => {
|
|
171
|
-
h.current.delete(o);
|
|
172
|
-
}, []), $ = m((o, u) => {
|
|
173
|
-
if (h.current.set(o, u), w.current === null)
|
|
174
|
-
return;
|
|
175
|
-
const {
|
|
176
|
-
id: s
|
|
177
|
-
} = u;
|
|
178
|
-
if (s === w.current) {
|
|
179
|
-
c(o), w.current = null;
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
if (!s) {
|
|
183
|
-
const a = parseInt(w.current, 10) - 1, S = Array.from(h.current.keys())[a];
|
|
184
|
-
S && (c(S), w.current = null);
|
|
185
|
-
}
|
|
186
|
-
}, [c]), L = m((o) => h.current.has(o), []), W = m((o) => {
|
|
187
|
-
c(null, null, o);
|
|
188
|
-
}, [c]), k = m(() => {
|
|
189
|
-
l && l.close();
|
|
190
|
-
}, []), X = U(() => ({
|
|
191
|
-
remove: T,
|
|
192
|
-
set: $,
|
|
193
|
-
handleClick: c,
|
|
194
|
-
open: W,
|
|
195
|
-
close: k,
|
|
196
|
-
isRefRegistered: L
|
|
197
|
-
}), [T, $, c, W, k, L]);
|
|
198
|
-
return J.createElement(ot.Provider, {
|
|
199
|
-
value: X
|
|
200
|
-
}, F, N);
|
|
201
|
-
};
|
|
202
|
-
at.propTypes = {
|
|
203
|
-
children: r.any,
|
|
204
|
-
options: r.object,
|
|
205
|
-
plugins: r.func,
|
|
206
|
-
uiElements: r.array,
|
|
207
|
-
id: r.oneOfType([r.string, r.number]),
|
|
208
|
-
onBeforeOpen: r.func,
|
|
209
|
-
onOpen: r.func,
|
|
210
|
-
withCaption: r.bool,
|
|
211
|
-
withDownloadButton: r.bool,
|
|
212
|
-
dataSource: r.array
|
|
213
|
-
};
|
|
214
|
-
export {
|
|
215
|
-
at as Gallery
|
|
216
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import y from "./item-to-slide.js";
|
|
2
|
-
import { NoSourceIdError as m } from "../no-source-id-error.js";
|
|
3
|
-
var O = function(r, d) {
|
|
4
|
-
var o = {};
|
|
5
|
-
for (var e in r) Object.prototype.hasOwnProperty.call(r, e) && d.indexOf(e) < 0 && (o[e] = r[e]);
|
|
6
|
-
if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, e = Object.getOwnPropertySymbols(r); n < e.length; n++)
|
|
7
|
-
d.indexOf(e[n]) < 0 && Object.prototype.propertyIsEnumerable.call(r, e[n]) && (o[e[n]] = r[e[n]]);
|
|
8
|
-
return o;
|
|
9
|
-
};
|
|
10
|
-
const h = (r, d, o, e, n) => {
|
|
11
|
-
const l = Array.from(d.current).reduce((t, [i, {
|
|
12
|
-
sourceId: s
|
|
13
|
-
}]) => {
|
|
14
|
-
if (s === void 0)
|
|
15
|
-
throw new m("sourceId is missed on Item component");
|
|
16
|
-
return t.set(s, i), t;
|
|
17
|
-
}, /* @__PURE__ */ new Map()), {
|
|
18
|
-
slides: p,
|
|
19
|
-
index: a
|
|
20
|
-
} = r.reduce((t, i, s) => {
|
|
21
|
-
const {
|
|
22
|
-
sourceId: f
|
|
23
|
-
} = i, u = O(i, ["sourceId"]);
|
|
24
|
-
if (f === void 0)
|
|
25
|
-
throw new m("sourceId is missed in dataSource item");
|
|
26
|
-
const c = l.has(f) ? l.get(f) : void 0;
|
|
27
|
-
return (o === c || u.id !== void 0 && String(u.id) === e) && (t.index = s), t.slides.push(y(u, c)), t;
|
|
28
|
-
}, {
|
|
29
|
-
slides: [],
|
|
30
|
-
index: n || null
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
slides: p,
|
|
34
|
-
index: a
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
h as default
|
|
39
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import p from "./sort-nodes.js";
|
|
2
|
-
import a from "./ensure-ref-passed.js";
|
|
3
|
-
import c from "./entry-item-ref-is-element.js";
|
|
4
|
-
import R from "./item-to-slide.js";
|
|
5
|
-
import { NoRefError as y } from "../no-ref-error.js";
|
|
6
|
-
const A = (i, d, f, e) => {
|
|
7
|
-
const t = Array.from(i.current);
|
|
8
|
-
if (typeof e == "number" && (t[e] === void 0 || !c(t[e])))
|
|
9
|
-
throw new y(`Failed to open at index ${e}`);
|
|
10
|
-
const {
|
|
11
|
-
slides: m,
|
|
12
|
-
index: u
|
|
13
|
-
} = t.map(a).sort(([{
|
|
14
|
-
current: r
|
|
15
|
-
}], [{
|
|
16
|
-
current: o
|
|
17
|
-
}]) => p(r, o)).reduce((r, o, l) => {
|
|
18
|
-
const [s, n] = o;
|
|
19
|
-
return (d === s || n.id !== void 0 && String(n.id) === f) && (r.index = l), r.slides.push(R(n, s)), r;
|
|
20
|
-
}, {
|
|
21
|
-
slides: [],
|
|
22
|
-
index: e || null
|
|
23
|
-
});
|
|
24
|
-
return {
|
|
25
|
-
slides: m,
|
|
26
|
-
index: u
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
A as default
|
|
31
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var f = function(n, i) {
|
|
2
|
-
var r = {};
|
|
3
|
-
for (var e in n) Object.prototype.hasOwnProperty.call(n, e) && i.indexOf(e) < 0 && (r[e] = n[e]);
|
|
4
|
-
if (n != null && typeof Object.getOwnPropertySymbols == "function") for (var t = 0, e = Object.getOwnPropertySymbols(n); t < e.length; t++)
|
|
5
|
-
i.indexOf(e[t]) < 0 && Object.prototype.propertyIsEnumerable.call(n, e[t]) && (r[e[t]] = n[e[t]]);
|
|
6
|
-
return r;
|
|
7
|
-
};
|
|
8
|
-
const s = (n, i) => {
|
|
9
|
-
var r;
|
|
10
|
-
const {
|
|
11
|
-
width: e,
|
|
12
|
-
height: t,
|
|
13
|
-
original: l,
|
|
14
|
-
originalSrcset: c,
|
|
15
|
-
thumbnail: u,
|
|
16
|
-
cropped: a,
|
|
17
|
-
content: o,
|
|
18
|
-
id: d
|
|
19
|
-
} = n, p = f(n, ["width", "height", "original", "originalSrcset", "thumbnail", "cropped", "content", "id"]);
|
|
20
|
-
return Object.assign(Object.assign(Object.assign({
|
|
21
|
-
w: e ? Number(e) : void 0,
|
|
22
|
-
h: t ? Number(t) : void 0,
|
|
23
|
-
src: l,
|
|
24
|
-
srcset: c,
|
|
25
|
-
msrc: u,
|
|
26
|
-
element: (r = i == null ? void 0 : i.current) !== null && r !== void 0 ? r : void 0,
|
|
27
|
-
thumbCropped: a,
|
|
28
|
-
content: o
|
|
29
|
-
}, o !== void 0 ? {
|
|
30
|
-
type: "html"
|
|
31
|
-
} : {}), d !== void 0 ? {
|
|
32
|
-
pid: d
|
|
33
|
-
} : {}), p);
|
|
34
|
-
};
|
|
35
|
-
export {
|
|
36
|
-
s as default
|
|
37
|
-
};
|