vevet 3.20.0 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -18
- package/lib/cjs/{Application → Vevet}/events/createOnPageLoad/index.js +7 -7
- package/lib/cjs/Vevet/events/createOnPageLoad/index.js.map +1 -0
- package/lib/cjs/Vevet/events/createOnPageLoad/types.js.map +1 -0
- package/lib/cjs/{Application → Vevet}/events/createViewport/index.js +19 -25
- package/lib/cjs/Vevet/events/createViewport/index.js.map +1 -0
- package/lib/cjs/Vevet/events/createViewport/types.js.map +1 -0
- package/lib/cjs/Vevet/exported.js +3 -0
- package/lib/cjs/Vevet/exported.js.map +1 -0
- package/lib/cjs/Vevet/global.js +3 -0
- package/lib/cjs/Vevet/global.js.map +1 -0
- package/lib/cjs/Vevet/index.js +94 -0
- package/lib/cjs/Vevet/index.js.map +1 -0
- package/lib/cjs/{Application → Vevet}/types.js.map +1 -1
- package/lib/cjs/{utils/internal → Vevet/utils}/fetchWebpSupport.js +1 -1
- package/lib/cjs/Vevet/utils/fetchWebpSupport.js.map +1 -0
- package/lib/cjs/Vevet/utils/getDeviceInfo.js.map +1 -0
- package/lib/cjs/base/Callbacks/index.js +65 -48
- package/lib/cjs/base/Callbacks/index.js.map +1 -1
- package/lib/cjs/base/Component/index.js +15 -4
- package/lib/cjs/base/Component/index.js.map +1 -1
- package/lib/cjs/base/Module/index.js +118 -64
- package/lib/cjs/base/Module/index.js.map +1 -1
- package/lib/cjs/base/MutableProps/index.js +30 -55
- package/lib/cjs/base/MutableProps/index.js.map +1 -1
- package/lib/cjs/base/Plugin/index.js +20 -1
- package/lib/cjs/base/Plugin/index.js.map +1 -1
- package/lib/cjs/components/AnimationFrame/index.js +14 -21
- package/lib/cjs/components/AnimationFrame/index.js.map +1 -1
- package/lib/cjs/components/Ctx2D/index.js +40 -25
- package/lib/cjs/components/Ctx2D/index.js.map +1 -1
- package/lib/cjs/components/Ctx2DPrerender/index.js +17 -7
- package/lib/cjs/components/Ctx2DPrerender/index.js.map +1 -1
- package/lib/cjs/components/CustomCursor/index.js +75 -51
- package/lib/cjs/components/CustomCursor/index.js.map +1 -1
- package/lib/cjs/components/{SmoothScroll → CustomScroll}/AnimatonFrame.js +2 -2
- package/lib/cjs/components/{SmoothScroll → CustomScroll}/AnimatonFrame.js.map +1 -1
- package/lib/cjs/components/{SmoothScroll → CustomScroll}/Elements.js +9 -9
- package/lib/cjs/components/{SmoothScroll → CustomScroll}/Elements.js.map +1 -1
- package/lib/cjs/components/{SmoothScroll → CustomScroll}/index.js +68 -62
- package/lib/cjs/components/CustomScroll/index.js.map +1 -0
- package/lib/cjs/components/CustomScroll/types.js.map +1 -0
- package/lib/cjs/components/{SmoothScrollDragPlugin → CustomScrollDragPlugin}/index.js +45 -44
- package/lib/cjs/components/CustomScrollDragPlugin/index.js.map +1 -0
- package/lib/cjs/components/CustomScrollDragPlugin/types.js.map +1 -0
- package/lib/cjs/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/index.js +51 -47
- package/lib/cjs/components/CustomScrollKeyboardPlugin/index.js.map +1 -0
- package/lib/cjs/components/CustomScrollKeyboardPlugin/types.js.map +1 -0
- package/lib/cjs/components/DraggerBase/index.js +74 -26
- package/lib/cjs/components/DraggerBase/index.js.map +1 -1
- package/lib/cjs/components/DraggerDirection/index.js +12 -6
- package/lib/cjs/components/DraggerDirection/index.js.map +1 -1
- package/lib/cjs/components/DraggerMove/index.js +44 -13
- package/lib/cjs/components/DraggerMove/index.js.map +1 -1
- package/lib/cjs/components/Marquee/index.js +240 -160
- package/lib/cjs/components/Marquee/index.js.map +1 -1
- package/lib/cjs/components/Preloader/index.js +45 -16
- package/lib/cjs/components/Preloader/index.js.map +1 -1
- package/lib/cjs/components/ProgressPreloader/index.js +79 -41
- package/lib/cjs/components/ProgressPreloader/index.js.map +1 -1
- package/lib/cjs/components/ProgressPreloader/utils/preloadCustomElement.js +12 -1
- package/lib/cjs/components/ProgressPreloader/utils/preloadCustomElement.js.map +1 -1
- package/lib/cjs/components/ScrollBar/Bar/index.js +90 -36
- package/lib/cjs/components/ScrollBar/Bar/index.js.map +1 -1
- package/lib/cjs/components/ScrollBar/index.js +66 -35
- package/lib/cjs/components/ScrollBar/index.js.map +1 -1
- package/lib/cjs/components/ScrollView/index.js +56 -20
- package/lib/cjs/components/ScrollView/index.js.map +1 -1
- package/lib/cjs/components/SectionScrollProgress/index.js +68 -31
- package/lib/cjs/components/SectionScrollProgress/index.js.map +1 -1
- package/lib/cjs/components/SlideProgress/index.js +72 -38
- package/lib/cjs/components/SlideProgress/index.js.map +1 -1
- package/lib/cjs/components/SplitText/index.js +52 -23
- package/lib/cjs/components/SplitText/index.js.map +1 -1
- package/lib/cjs/components/SplitText/utils/splitBase.js +6 -1
- package/lib/cjs/components/SplitText/utils/splitBase.js.map +1 -1
- package/lib/cjs/components/SplitText/utils/wrapLetters.js +11 -3
- package/lib/cjs/components/SplitText/utils/wrapLetters.js.map +1 -1
- package/lib/cjs/components/SplitText/utils/wrapLines.js +11 -5
- package/lib/cjs/components/SplitText/utils/wrapLines.js.map +1 -1
- package/lib/cjs/components/SplitText/utils/wrapWords.js +13 -2
- package/lib/cjs/components/SplitText/utils/wrapWords.js.map +1 -1
- package/lib/cjs/components/Timeline/index.js +77 -21
- package/lib/cjs/components/Timeline/index.js.map +1 -1
- package/lib/cjs/components/index.js +4 -4
- package/lib/cjs/components/index.js.map +1 -1
- package/lib/cjs/index.js +10 -3
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/types/index.js +19 -0
- package/lib/cjs/types/index.js.map +1 -0
- package/lib/cjs/utils/common/PCancelable.js +16 -0
- package/lib/cjs/utils/common/PCancelable.js.map +1 -1
- package/lib/cjs/utils/common/normalizedTimeoutCallback.js +19 -4
- package/lib/cjs/utils/common/normalizedTimeoutCallback.js.map +1 -1
- package/lib/cjs/utils/common/objectKeys.js +11 -1
- package/lib/cjs/utils/common/objectKeys.js.map +1 -1
- package/lib/cjs/utils/common/pickObjectProps.js +14 -2
- package/lib/cjs/utils/common/pickObjectProps.js.map +1 -1
- package/lib/cjs/utils/common/times.js +12 -3
- package/lib/cjs/utils/common/times.js.map +1 -1
- package/lib/cjs/utils/common/uid.js +4 -2
- package/lib/cjs/utils/common/uid.js.map +1 -1
- package/lib/cjs/utils/image/load.js +3 -3
- package/lib/cjs/utils/image/load.js.map +1 -1
- package/lib/cjs/utils/image/pathsToProps.js +10 -4
- package/lib/cjs/utils/image/pathsToProps.js.map +1 -1
- package/lib/cjs/utils/image/sizesToSrcSet.js +7 -3
- package/lib/cjs/utils/image/sizesToSrcSet.js.map +1 -1
- package/lib/cjs/utils/internal/getApp.js +12 -0
- package/lib/cjs/utils/internal/getApp.js.map +1 -1
- package/lib/cjs/utils/listeners/isIntersectionObserverSupported.js +1 -1
- package/lib/cjs/utils/listeners/onResize.js +8 -10
- package/lib/cjs/utils/listeners/onResize.js.map +1 -1
- package/lib/cjs/utils/math/clamp.js +10 -5
- package/lib/cjs/utils/math/clamp.js.map +1 -1
- package/lib/cjs/utils/math/clampScope.js +8 -1
- package/lib/cjs/utils/math/clampScope.js.map +1 -1
- package/lib/cjs/utils/math/easing.js +4 -1
- package/lib/cjs/utils/math/easing.js.map +1 -1
- package/lib/cjs/utils/math/inScope.js +6 -3
- package/lib/cjs/utils/math/inScope.js.map +1 -1
- package/lib/cjs/utils/math/lerp.js +11 -3
- package/lib/cjs/utils/math/lerp.js.map +1 -1
- package/lib/cjs/utils/math/normalizeNestedScope.js +12 -3
- package/lib/cjs/utils/math/normalizeNestedScope.js.map +1 -1
- package/lib/cjs/utils/math/scoped.js +18 -7
- package/lib/cjs/utils/math/scoped.js.map +1 -1
- package/lib/cjs/utils/math/spreadScope.js +17 -3
- package/lib/cjs/utils/math/spreadScope.js.map +1 -1
- package/lib/cjs/utils/math/wrap.js +9 -3
- package/lib/cjs/utils/math/wrap.js.map +1 -1
- package/lib/cjs/utils/scroll/getScrollValues.js +13 -1
- package/lib/cjs/utils/scroll/getScrollValues.js.map +1 -1
- package/lib/cjs/utils/scroll/isPageScrolling.js +30 -0
- package/lib/cjs/utils/scroll/isPageScrolling.js.map +1 -1
- package/lib/cjs/utils/scroll/normalizeWheel.js +7 -2
- package/lib/cjs/utils/scroll/normalizeWheel.js.map +1 -1
- package/lib/cjs/utils/scroll/onScroll.js +14 -7
- package/lib/cjs/utils/scroll/onScroll.js.map +1 -1
- package/lib/cjs/utils/scroll/scrollTo.js +8 -7
- package/lib/cjs/utils/scroll/scrollTo.js.map +1 -1
- package/lib/cjs/utils/scroll/scrollToElement.js +8 -6
- package/lib/cjs/utils/scroll/scrollToElement.js.map +1 -1
- package/lib/esm/{Application → Vevet}/events/createOnPageLoad/index.js +7 -7
- package/lib/esm/Vevet/events/createOnPageLoad/index.js.map +1 -0
- package/lib/esm/Vevet/events/createOnPageLoad/types.js.map +1 -0
- package/lib/esm/{Application → Vevet}/events/createViewport/index.js +20 -26
- package/lib/esm/Vevet/events/createViewport/index.js.map +1 -0
- package/lib/esm/Vevet/events/createViewport/types.js.map +1 -0
- package/lib/esm/Vevet/exported.js +2 -0
- package/lib/esm/Vevet/exported.js.map +1 -0
- package/lib/esm/Vevet/global.js +2 -0
- package/lib/esm/Vevet/global.js.map +1 -0
- package/lib/esm/Vevet/index.js +72 -0
- package/lib/esm/Vevet/index.js.map +1 -0
- package/lib/esm/{Application → Vevet}/types.js.map +1 -1
- package/lib/esm/{utils/internal → Vevet/utils}/fetchWebpSupport.js +1 -1
- package/lib/esm/Vevet/utils/fetchWebpSupport.js.map +1 -0
- package/lib/esm/Vevet/utils/getDeviceInfo.js.map +1 -0
- package/lib/esm/base/Callbacks/index.js +66 -48
- package/lib/esm/base/Callbacks/index.js.map +1 -1
- package/lib/esm/base/Component/index.js +15 -4
- package/lib/esm/base/Component/index.js.map +1 -1
- package/lib/esm/base/Module/index.js +119 -65
- package/lib/esm/base/Module/index.js.map +1 -1
- package/lib/esm/base/MutableProps/index.js +35 -60
- package/lib/esm/base/MutableProps/index.js.map +1 -1
- package/lib/esm/base/Plugin/index.js +20 -1
- package/lib/esm/base/Plugin/index.js.map +1 -1
- package/lib/esm/components/AnimationFrame/index.js +14 -21
- package/lib/esm/components/AnimationFrame/index.js.map +1 -1
- package/lib/esm/components/Ctx2D/index.js +40 -25
- package/lib/esm/components/Ctx2D/index.js.map +1 -1
- package/lib/esm/components/Ctx2DPrerender/index.js +17 -7
- package/lib/esm/components/Ctx2DPrerender/index.js.map +1 -1
- package/lib/esm/components/CustomCursor/index.js +75 -51
- package/lib/esm/components/CustomCursor/index.js.map +1 -1
- package/lib/esm/components/{SmoothScroll → CustomScroll}/AnimatonFrame.js +2 -2
- package/lib/esm/components/{SmoothScroll → CustomScroll}/AnimatonFrame.js.map +1 -1
- package/lib/esm/components/{SmoothScroll → CustomScroll}/Elements.js +8 -8
- package/lib/esm/components/{SmoothScroll → CustomScroll}/Elements.js.map +1 -1
- package/lib/esm/components/{SmoothScroll → CustomScroll}/index.js +26 -20
- package/lib/esm/components/CustomScroll/index.js.map +1 -0
- package/lib/esm/components/CustomScroll/types.js.map +1 -0
- package/lib/esm/components/{SmoothScrollDragPlugin → CustomScrollDragPlugin}/index.js +28 -27
- package/lib/esm/components/CustomScrollDragPlugin/index.js.map +1 -0
- package/lib/esm/components/CustomScrollDragPlugin/types.js.map +1 -0
- package/lib/esm/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/index.js +37 -33
- package/lib/esm/components/CustomScrollKeyboardPlugin/index.js.map +1 -0
- package/lib/esm/components/CustomScrollKeyboardPlugin/types.js.map +1 -0
- package/lib/esm/components/DraggerBase/index.js +74 -28
- package/lib/esm/components/DraggerBase/index.js.map +1 -1
- package/lib/esm/components/DraggerDirection/index.js +12 -6
- package/lib/esm/components/DraggerDirection/index.js.map +1 -1
- package/lib/esm/components/DraggerMove/index.js +44 -13
- package/lib/esm/components/DraggerMove/index.js.map +1 -1
- package/lib/esm/components/Marquee/index.js +220 -161
- package/lib/esm/components/Marquee/index.js.map +1 -1
- package/lib/esm/components/Preloader/index.js +45 -16
- package/lib/esm/components/Preloader/index.js.map +1 -1
- package/lib/esm/components/ProgressPreloader/index.js +79 -40
- package/lib/esm/components/ProgressPreloader/index.js.map +1 -1
- package/lib/esm/components/ProgressPreloader/utils/preloadCustomElement.js +12 -1
- package/lib/esm/components/ProgressPreloader/utils/preloadCustomElement.js.map +1 -1
- package/lib/esm/components/ScrollBar/Bar/index.js +89 -32
- package/lib/esm/components/ScrollBar/Bar/index.js.map +1 -1
- package/lib/esm/components/ScrollBar/index.js +56 -26
- package/lib/esm/components/ScrollBar/index.js.map +1 -1
- package/lib/esm/components/ScrollView/index.js +56 -20
- package/lib/esm/components/ScrollView/index.js.map +1 -1
- package/lib/esm/components/SectionScrollProgress/index.js +68 -31
- package/lib/esm/components/SectionScrollProgress/index.js.map +1 -1
- package/lib/esm/components/SlideProgress/index.js +72 -38
- package/lib/esm/components/SlideProgress/index.js.map +1 -1
- package/lib/esm/components/SplitText/index.js +52 -23
- package/lib/esm/components/SplitText/index.js.map +1 -1
- package/lib/esm/components/SplitText/utils/splitBase.js +6 -1
- package/lib/esm/components/SplitText/utils/splitBase.js.map +1 -1
- package/lib/esm/components/SplitText/utils/wrapLetters.js +11 -3
- package/lib/esm/components/SplitText/utils/wrapLetters.js.map +1 -1
- package/lib/esm/components/SplitText/utils/wrapLines.js +11 -5
- package/lib/esm/components/SplitText/utils/wrapLines.js.map +1 -1
- package/lib/esm/components/SplitText/utils/wrapWords.js +13 -2
- package/lib/esm/components/SplitText/utils/wrapWords.js.map +1 -1
- package/lib/esm/components/Timeline/index.js +70 -22
- package/lib/esm/components/Timeline/index.js.map +1 -1
- package/lib/esm/components/index.js +4 -4
- package/lib/esm/components/index.js.map +1 -1
- package/lib/esm/index.js +9 -3
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/types/index.js +3 -0
- package/lib/esm/types/index.js.map +1 -0
- package/lib/esm/utils/common/PCancelable.js +16 -0
- package/lib/esm/utils/common/PCancelable.js.map +1 -1
- package/lib/esm/utils/common/normalizedTimeoutCallback.js +19 -4
- package/lib/esm/utils/common/normalizedTimeoutCallback.js.map +1 -1
- package/lib/esm/utils/common/objectKeys.js +11 -1
- package/lib/esm/utils/common/objectKeys.js.map +1 -1
- package/lib/esm/utils/common/pickObjectProps.js +14 -2
- package/lib/esm/utils/common/pickObjectProps.js.map +1 -1
- package/lib/esm/utils/common/times.js +12 -3
- package/lib/esm/utils/common/times.js.map +1 -1
- package/lib/esm/utils/common/uid.js +4 -2
- package/lib/esm/utils/common/uid.js.map +1 -1
- package/lib/esm/utils/image/load.js +3 -3
- package/lib/esm/utils/image/load.js.map +1 -1
- package/lib/esm/utils/image/pathsToProps.js +10 -4
- package/lib/esm/utils/image/pathsToProps.js.map +1 -1
- package/lib/esm/utils/image/sizesToSrcSet.js +7 -3
- package/lib/esm/utils/image/sizesToSrcSet.js.map +1 -1
- package/lib/esm/utils/internal/getApp.js +12 -0
- package/lib/esm/utils/internal/getApp.js.map +1 -1
- package/lib/esm/utils/listeners/isIntersectionObserverSupported.js +1 -1
- package/lib/esm/utils/listeners/onResize.js +8 -10
- package/lib/esm/utils/listeners/onResize.js.map +1 -1
- package/lib/esm/utils/math/clamp.js +10 -5
- package/lib/esm/utils/math/clamp.js.map +1 -1
- package/lib/esm/utils/math/clampScope.js +8 -1
- package/lib/esm/utils/math/clampScope.js.map +1 -1
- package/lib/esm/utils/math/easing.js +4 -1
- package/lib/esm/utils/math/easing.js.map +1 -1
- package/lib/esm/utils/math/inScope.js +6 -3
- package/lib/esm/utils/math/inScope.js.map +1 -1
- package/lib/esm/utils/math/lerp.js +11 -3
- package/lib/esm/utils/math/lerp.js.map +1 -1
- package/lib/esm/utils/math/normalizeNestedScope.js +12 -3
- package/lib/esm/utils/math/normalizeNestedScope.js.map +1 -1
- package/lib/esm/utils/math/scoped.js +17 -6
- package/lib/esm/utils/math/scoped.js.map +1 -1
- package/lib/esm/utils/math/spreadScope.js +17 -3
- package/lib/esm/utils/math/spreadScope.js.map +1 -1
- package/lib/esm/utils/math/wrap.js +9 -3
- package/lib/esm/utils/math/wrap.js.map +1 -1
- package/lib/esm/utils/scroll/getScrollValues.js +13 -1
- package/lib/esm/utils/scroll/getScrollValues.js.map +1 -1
- package/lib/esm/utils/scroll/isPageScrolling.js +30 -0
- package/lib/esm/utils/scroll/isPageScrolling.js.map +1 -1
- package/lib/esm/utils/scroll/normalizeWheel.js +7 -2
- package/lib/esm/utils/scroll/normalizeWheel.js.map +1 -1
- package/lib/esm/utils/scroll/onScroll.js +14 -7
- package/lib/esm/utils/scroll/onScroll.js.map +1 -1
- package/lib/esm/utils/scroll/scrollTo.js +8 -7
- package/lib/esm/utils/scroll/scrollTo.js.map +1 -1
- package/lib/esm/utils/scroll/scrollToElement.js +8 -6
- package/lib/esm/utils/scroll/scrollToElement.js.map +1 -1
- package/lib/styles/base.scss +0 -2
- package/lib/styles/components/CustomCursor.scss +7 -7
- package/{src/styles/components/SmoothScroll.scss → lib/styles/components/CustomScroll.scss} +3 -3
- package/lib/styles/components/Preloader.scss +1 -1
- package/lib/styles/components/ScrollBar.scss +4 -4
- package/lib/styles/components/index.scss +1 -1
- package/lib/styles/index.scss +0 -1
- package/lib/types/Vevet/events/createOnPageLoad/index.d.ts +3 -0
- package/lib/types/Vevet/events/createOnPageLoad/index.d.ts.map +1 -0
- package/lib/types/Vevet/events/createOnPageLoad/types.d.ts +20 -0
- package/lib/types/Vevet/events/createOnPageLoad/types.d.ts.map +1 -0
- package/lib/types/Vevet/events/createViewport/index.d.ts +4 -0
- package/lib/types/Vevet/events/createViewport/index.d.ts.map +1 -0
- package/lib/types/Vevet/events/createViewport/types.d.ts +85 -0
- package/lib/types/Vevet/events/createViewport/types.d.ts.map +1 -0
- package/lib/types/Vevet/exported.d.ts +6 -0
- package/lib/types/Vevet/exported.d.ts.map +1 -0
- package/lib/types/Vevet/global.d.ts +51 -0
- package/lib/types/Vevet/global.d.ts.map +1 -0
- package/lib/types/Vevet/index.d.ts +4 -0
- package/lib/types/Vevet/index.d.ts.map +1 -0
- package/lib/types/Vevet/types.d.ts +43 -0
- package/lib/types/Vevet/types.d.ts.map +1 -0
- package/lib/types/Vevet/utils/fetchWebpSupport.d.ts +3 -0
- package/lib/types/Vevet/utils/fetchWebpSupport.d.ts.map +1 -0
- package/lib/types/Vevet/utils/getDeviceInfo.d.ts.map +1 -0
- package/lib/types/base/Callbacks/index.d.ts +67 -46
- package/lib/types/base/Callbacks/index.d.ts.map +1 -1
- package/lib/types/base/Callbacks/types.d.ts +46 -14
- package/lib/types/base/Callbacks/types.d.ts.map +1 -1
- package/lib/types/base/Component/index.d.ts +19 -5
- package/lib/types/base/Component/index.d.ts.map +1 -1
- package/lib/types/base/Component/types.d.ts +15 -3
- package/lib/types/base/Component/types.d.ts.map +1 -1
- package/lib/types/base/Module/index.d.ts +124 -74
- package/lib/types/base/Module/index.d.ts.map +1 -1
- package/lib/types/base/Module/types.d.ts +29 -3
- package/lib/types/base/Module/types.d.ts.map +1 -1
- package/lib/types/base/MutableProps/index.d.ts +34 -77
- package/lib/types/base/MutableProps/index.d.ts.map +1 -1
- package/lib/types/base/MutableProps/types.d.ts +14 -8
- package/lib/types/base/MutableProps/types.d.ts.map +1 -1
- package/lib/types/base/Plugin/index.d.ts +24 -1
- package/lib/types/base/Plugin/index.d.ts.map +1 -1
- package/lib/types/base/Plugin/types.d.ts +11 -0
- package/lib/types/base/Plugin/types.d.ts.map +1 -1
- package/lib/types/components/AnimationFrame/index.d.ts +20 -18
- package/lib/types/components/AnimationFrame/index.d.ts.map +1 -1
- package/lib/types/components/AnimationFrame/types.d.ts +18 -3
- package/lib/types/components/AnimationFrame/types.d.ts.map +1 -1
- package/lib/types/components/Ctx2D/index.d.ts +37 -15
- package/lib/types/components/Ctx2D/index.d.ts.map +1 -1
- package/lib/types/components/Ctx2D/types.d.ts +40 -13
- package/lib/types/components/Ctx2D/types.d.ts.map +1 -1
- package/lib/types/components/Ctx2DPrerender/index.d.ts +13 -4
- package/lib/types/components/Ctx2DPrerender/index.d.ts.map +1 -1
- package/lib/types/components/Ctx2DPrerender/types.d.ts +13 -2
- package/lib/types/components/Ctx2DPrerender/types.d.ts.map +1 -1
- package/lib/types/components/CustomCursor/index.d.ts +59 -36
- package/lib/types/components/CustomCursor/index.d.ts.map +1 -1
- package/lib/types/components/CustomCursor/types.d.ts +52 -12
- package/lib/types/components/CustomCursor/types.d.ts.map +1 -1
- package/lib/types/components/{SmoothScroll → CustomScroll}/AnimatonFrame.d.ts.map +1 -1
- package/lib/types/components/{SmoothScroll → CustomScroll}/Elements.d.ts +3 -3
- package/lib/types/components/{SmoothScroll → CustomScroll}/Elements.d.ts.map +1 -1
- package/lib/types/components/{SmoothScroll → CustomScroll}/index.d.ts +45 -32
- package/lib/types/components/CustomScroll/index.d.ts.map +1 -0
- package/lib/types/components/CustomScroll/types.d.ts +137 -0
- package/lib/types/components/CustomScroll/types.d.ts.map +1 -0
- package/lib/types/components/CustomScrollDragPlugin/index.d.ts +62 -0
- package/lib/types/components/CustomScrollDragPlugin/index.d.ts.map +1 -0
- package/lib/types/components/CustomScrollDragPlugin/types.d.ts +52 -0
- package/lib/types/components/CustomScrollDragPlugin/types.d.ts.map +1 -0
- package/lib/types/components/CustomScrollKeyboardPlugin/index.d.ts +47 -0
- package/lib/types/components/CustomScrollKeyboardPlugin/index.d.ts.map +1 -0
- package/lib/types/components/CustomScrollKeyboardPlugin/types.d.ts +16 -0
- package/lib/types/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/types.d.ts.map +1 -1
- package/lib/types/components/DraggerBase/index.d.ts +93 -28
- package/lib/types/components/DraggerBase/index.d.ts.map +1 -1
- package/lib/types/components/DraggerBase/types.d.ts +21 -3
- package/lib/types/components/DraggerBase/types.d.ts.map +1 -1
- package/lib/types/components/DraggerDirection/index.d.ts +6 -2
- package/lib/types/components/DraggerDirection/index.d.ts.map +1 -1
- package/lib/types/components/DraggerDirection/types.d.ts +15 -1
- package/lib/types/components/DraggerDirection/types.d.ts.map +1 -1
- package/lib/types/components/DraggerMove/index.d.ts +38 -8
- package/lib/types/components/DraggerMove/index.d.ts.map +1 -1
- package/lib/types/components/DraggerMove/types.d.ts +15 -2
- package/lib/types/components/DraggerMove/types.d.ts.map +1 -1
- package/lib/types/components/Marquee/index.d.ts +59 -36
- package/lib/types/components/Marquee/index.d.ts.map +1 -1
- package/lib/types/components/Marquee/types.d.ts +18 -8
- package/lib/types/components/Marquee/types.d.ts.map +1 -1
- package/lib/types/components/Preloader/index.d.ts +52 -15
- package/lib/types/components/Preloader/index.d.ts.map +1 -1
- package/lib/types/components/Preloader/types.d.ts +16 -5
- package/lib/types/components/Preloader/types.d.ts.map +1 -1
- package/lib/types/components/ProgressPreloader/index.d.ts +85 -25
- package/lib/types/components/ProgressPreloader/index.d.ts.map +1 -1
- package/lib/types/components/ProgressPreloader/types.d.ts +51 -14
- package/lib/types/components/ProgressPreloader/types.d.ts.map +1 -1
- package/lib/types/components/ProgressPreloader/utils/preloadCustomElement.d.ts +3 -0
- package/lib/types/components/ProgressPreloader/utils/preloadCustomElement.d.ts.map +1 -1
- package/lib/types/components/ScrollBar/Bar/index.d.ts +81 -16
- package/lib/types/components/ScrollBar/Bar/index.d.ts.map +1 -1
- package/lib/types/components/ScrollBar/Bar/types.d.ts +38 -16
- package/lib/types/components/ScrollBar/Bar/types.d.ts.map +1 -1
- package/lib/types/components/ScrollBar/index.d.ts +46 -13
- package/lib/types/components/ScrollBar/index.d.ts.map +1 -1
- package/lib/types/components/ScrollBar/types.d.ts +8 -6
- package/lib/types/components/ScrollBar/types.d.ts.map +1 -1
- package/lib/types/components/ScrollView/index.d.ts +65 -21
- package/lib/types/components/ScrollView/index.d.ts.map +1 -1
- package/lib/types/components/SectionScrollProgress/index.d.ts +83 -28
- package/lib/types/components/SectionScrollProgress/index.d.ts.map +1 -1
- package/lib/types/components/SectionScrollProgress/types.d.ts +15 -6
- package/lib/types/components/SectionScrollProgress/types.d.ts.map +1 -1
- package/lib/types/components/SlideProgress/index.d.ts +59 -24
- package/lib/types/components/SlideProgress/index.d.ts.map +1 -1
- package/lib/types/components/SlideProgress/types.d.ts +24 -15
- package/lib/types/components/SlideProgress/types.d.ts.map +1 -1
- package/lib/types/components/SplitText/index.d.ts +64 -18
- package/lib/types/components/SplitText/index.d.ts.map +1 -1
- package/lib/types/components/SplitText/types.d.ts +36 -8
- package/lib/types/components/SplitText/types.d.ts.map +1 -1
- package/lib/types/components/SplitText/utils/splitBase.d.ts +3 -1
- package/lib/types/components/SplitText/utils/splitBase.d.ts.map +1 -1
- package/lib/types/components/SplitText/utils/wrapLetters.d.ts +3 -1
- package/lib/types/components/SplitText/utils/wrapLetters.d.ts.map +1 -1
- package/lib/types/components/SplitText/utils/wrapLines.d.ts +3 -1
- package/lib/types/components/SplitText/utils/wrapLines.d.ts.map +1 -1
- package/lib/types/components/SplitText/utils/wrapWords.d.ts +3 -1
- package/lib/types/components/SplitText/utils/wrapWords.d.ts.map +1 -1
- package/lib/types/components/Timeline/index.d.ts +69 -21
- package/lib/types/components/Timeline/index.d.ts.map +1 -1
- package/lib/types/components/Timeline/types.d.ts +32 -7
- package/lib/types/components/Timeline/types.d.ts.map +1 -1
- package/lib/types/components/index.d.ts +4 -4
- package/lib/types/components/index.d.ts.map +1 -1
- package/lib/types/index.d.ts +16 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/types/index.d.ts +3 -0
- package/lib/types/types/index.d.ts.map +1 -0
- package/lib/types/types/utility.d.ts +2 -3
- package/lib/types/types/utility.d.ts.map +1 -1
- package/lib/types/utils/common/PCancelable.d.ts +16 -0
- package/lib/types/utils/common/PCancelable.d.ts.map +1 -1
- package/lib/types/utils/common/normalizedTimeoutCallback.d.ts +19 -4
- package/lib/types/utils/common/normalizedTimeoutCallback.d.ts.map +1 -1
- package/lib/types/utils/common/objectKeys.d.ts +11 -1
- package/lib/types/utils/common/objectKeys.d.ts.map +1 -1
- package/lib/types/utils/common/pickObjectProps.d.ts +14 -2
- package/lib/types/utils/common/pickObjectProps.d.ts.map +1 -1
- package/lib/types/utils/common/times.d.ts +12 -3
- package/lib/types/utils/common/times.d.ts.map +1 -1
- package/lib/types/utils/common/uid.d.ts +4 -2
- package/lib/types/utils/common/uid.d.ts.map +1 -1
- package/lib/types/utils/image/load.d.ts +8 -5
- package/lib/types/utils/image/load.d.ts.map +1 -1
- package/lib/types/utils/image/pathsToProps.d.ts +10 -4
- package/lib/types/utils/image/pathsToProps.d.ts.map +1 -1
- package/lib/types/utils/image/sizesToSrcSet.d.ts +7 -3
- package/lib/types/utils/image/sizesToSrcSet.d.ts.map +1 -1
- package/lib/types/utils/internal/getApp.d.ts +1 -1
- package/lib/types/utils/internal/getApp.d.ts.map +1 -1
- package/lib/types/utils/listeners/isIntersectionObserverSupported.d.ts +1 -1
- package/lib/types/utils/listeners/onResize.d.ts +11 -12
- package/lib/types/utils/listeners/onResize.d.ts.map +1 -1
- package/lib/types/utils/math/clamp.d.ts +7 -2
- package/lib/types/utils/math/clamp.d.ts.map +1 -1
- package/lib/types/utils/math/clampScope.d.ts +8 -1
- package/lib/types/utils/math/clampScope.d.ts.map +1 -1
- package/lib/types/utils/math/easing.d.ts +4 -1
- package/lib/types/utils/math/easing.d.ts.map +1 -1
- package/lib/types/utils/math/inScope.d.ts +5 -2
- package/lib/types/utils/math/inScope.d.ts.map +1 -1
- package/lib/types/utils/math/lerp.d.ts +10 -2
- package/lib/types/utils/math/lerp.d.ts.map +1 -1
- package/lib/types/utils/math/normalizeNestedScope.d.ts +12 -3
- package/lib/types/utils/math/normalizeNestedScope.d.ts.map +1 -1
- package/lib/types/utils/math/scoped.d.ts +16 -5
- package/lib/types/utils/math/scoped.d.ts.map +1 -1
- package/lib/types/utils/math/spreadScope.d.ts +17 -3
- package/lib/types/utils/math/spreadScope.d.ts.map +1 -1
- package/lib/types/utils/math/wrap.d.ts +9 -3
- package/lib/types/utils/math/wrap.d.ts.map +1 -1
- package/lib/types/utils/scroll/getScrollValues.d.ts +13 -1
- package/lib/types/utils/scroll/getScrollValues.d.ts.map +1 -1
- package/lib/types/utils/scroll/isPageScrolling.d.ts +20 -0
- package/lib/types/utils/scroll/isPageScrolling.d.ts.map +1 -1
- package/lib/types/utils/scroll/normalizeWheel.d.ts +10 -2
- package/lib/types/utils/scroll/normalizeWheel.d.ts.map +1 -1
- package/lib/types/utils/scroll/onScroll.d.ts +10 -5
- package/lib/types/utils/scroll/onScroll.d.ts.map +1 -1
- package/lib/types/utils/scroll/scrollTo.d.ts +12 -9
- package/lib/types/utils/scroll/scrollTo.d.ts.map +1 -1
- package/lib/types/utils/scroll/scrollToElement.d.ts +9 -7
- package/lib/types/utils/scroll/scrollToElement.d.ts.map +1 -1
- package/package.json +7 -8
- package/src/{Application → Vevet}/events/createOnPageLoad/index.ts +8 -8
- package/src/Vevet/events/createOnPageLoad/types.ts +21 -0
- package/src/{Application → Vevet}/events/createViewport/index.ts +33 -35
- package/src/{Application → Vevet}/events/createViewport/stories/index.tsx +7 -5
- package/src/Vevet/events/createViewport/types.ts +93 -0
- package/src/Vevet/exported.ts +15 -0
- package/src/Vevet/global.ts +51 -0
- package/src/Vevet/index.ts +98 -0
- package/src/{Application → Vevet}/stories/index.tsx +2 -2
- package/src/Vevet/types.ts +48 -0
- package/src/base/Callbacks/index.ts +70 -51
- package/src/base/Callbacks/types.ts +53 -14
- package/src/base/Component/index.ts +19 -5
- package/src/base/Component/types.ts +15 -3
- package/src/base/Module/index.ts +125 -78
- package/src/base/Module/types.ts +32 -3
- package/src/base/MutableProps/index.ts +44 -73
- package/src/base/MutableProps/types.ts +15 -8
- package/src/base/Plugin/index.ts +24 -1
- package/src/base/Plugin/types.ts +11 -0
- package/src/components/AnimationFrame/index.ts +21 -28
- package/src/components/AnimationFrame/types.ts +23 -3
- package/src/components/Ctx2D/index.ts +46 -34
- package/src/components/Ctx2D/types.ts +53 -13
- package/src/components/Ctx2DPrerender/index.ts +18 -7
- package/src/components/Ctx2DPrerender/types.ts +13 -2
- package/src/components/CustomCursor/index.ts +85 -60
- package/src/components/CustomCursor/stories/index.tsx +0 -3
- package/src/components/CustomCursor/types.ts +63 -12
- package/src/components/{SmoothScroll → CustomScroll}/AnimatonFrame.ts +2 -2
- package/src/components/{SmoothScroll → CustomScroll}/Elements.ts +14 -14
- package/src/components/{SmoothScroll → CustomScroll}/index.ts +55 -42
- package/src/components/{SmoothScroll → CustomScroll}/stories/Default.tsx +8 -8
- package/src/components/{SmoothScroll → CustomScroll}/stories/WithHorizontal.tsx +9 -9
- package/src/components/{SmoothScroll → CustomScroll}/stories/WithInnerLerp.tsx +9 -9
- package/src/components/{SmoothScroll → CustomScroll}/stories/index.stories.tsx +1 -1
- package/src/components/CustomScroll/types.ts +165 -0
- package/src/components/{SmoothScrollDragPlugin → CustomScrollDragPlugin}/index.ts +41 -41
- package/src/components/{SmoothScrollDragPlugin → CustomScrollDragPlugin}/stories/index.stories.tsx +1 -1
- package/src/components/{SmoothScrollDragPlugin → CustomScrollDragPlugin}/stories/index.tsx +10 -10
- package/src/components/CustomScrollDragPlugin/types.ts +59 -0
- package/src/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/index.ts +47 -43
- package/src/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/stories/index.stories.tsx +1 -1
- package/src/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/stories/index.tsx +10 -10
- package/src/components/{SmoothScrollKeyboardPlugin → CustomScrollKeyboardPlugin}/types.ts +6 -2
- package/src/components/DraggerBase/index.ts +101 -37
- package/src/components/DraggerBase/types.ts +25 -3
- package/src/components/DraggerDirection/index.ts +12 -6
- package/src/components/DraggerDirection/types.ts +18 -1
- package/src/components/DraggerMove/index.ts +44 -13
- package/src/components/DraggerMove/types.ts +17 -2
- package/src/components/Marquee/index.ts +255 -186
- package/src/components/Marquee/stories/index.tsx +16 -2
- package/src/components/Marquee/types.ts +18 -8
- package/src/components/Preloader/index.ts +56 -20
- package/src/components/Preloader/types.ts +18 -5
- package/src/components/ProgressPreloader/index.ts +104 -48
- package/src/components/ProgressPreloader/types.ts +65 -14
- package/src/components/ProgressPreloader/utils/preloadCustomElement.ts +13 -2
- package/src/components/ScrollBar/Bar/index.ts +112 -62
- package/src/components/ScrollBar/Bar/types.ts +46 -17
- package/src/components/ScrollBar/index.ts +74 -39
- package/src/components/ScrollBar/stories/{WithSmoothScrollComponent.tsx → WithCustomScrollComponent.tsx} +5 -5
- package/src/components/ScrollBar/stories/index.stories.tsx +3 -3
- package/src/components/ScrollBar/types.ts +10 -6
- package/src/components/ScrollView/index.ts +73 -27
- package/src/components/ScrollView/stories/index.tsx +5 -2
- package/src/components/SectionScrollProgress/index.ts +97 -41
- package/src/components/SectionScrollProgress/stories/WithCustomScroll.tsx +6 -6
- package/src/components/SectionScrollProgress/types.ts +19 -6
- package/src/components/SlideProgress/index.ts +78 -45
- package/src/components/SlideProgress/types.ts +24 -15
- package/src/components/SplitText/index.ts +71 -31
- package/src/components/SplitText/types.ts +48 -8
- package/src/components/SplitText/utils/splitBase.ts +6 -2
- package/src/components/SplitText/utils/wrapLetters.ts +11 -3
- package/src/components/SplitText/utils/wrapLines.ts +11 -5
- package/src/components/SplitText/utils/wrapWords.ts +14 -3
- package/src/components/Timeline/index.ts +98 -26
- package/src/components/Timeline/stories/index.stories.tsx +0 -5
- package/src/components/Timeline/types.ts +37 -7
- package/src/components/index.ts +4 -4
- package/src/index.ts +22 -4
- package/src/styles/base.scss +0 -2
- package/src/styles/components/CustomCursor.scss +7 -7
- package/{lib/styles/components/SmoothScroll.scss → src/styles/components/CustomScroll.scss} +3 -3
- package/src/styles/components/Preloader.scss +1 -1
- package/src/styles/components/ScrollBar.scss +4 -4
- package/src/styles/components/index.scss +1 -1
- package/src/styles/index.scss +0 -1
- package/src/types/index.ts +2 -0
- package/src/types/utility.ts +2 -2
- package/src/utils/common/PCancelable.ts +17 -0
- package/src/utils/common/normalizedTimeoutCallback.ts +19 -4
- package/src/utils/common/objectKeys.ts +12 -2
- package/src/utils/common/pickObjectProps.ts +16 -4
- package/src/utils/common/times.ts +12 -3
- package/src/utils/common/uid.ts +5 -3
- package/src/utils/image/load.ts +9 -4
- package/src/utils/image/pathsToProps.ts +10 -4
- package/src/utils/image/sizesToSrcSet.ts +7 -3
- package/src/utils/internal/getApp.ts +16 -0
- package/src/utils/listeners/isIntersectionObserverSupported.ts +1 -1
- package/src/utils/listeners/onResize.ts +12 -17
- package/src/utils/math/clamp.ts +10 -5
- package/src/utils/math/clampScope.ts +9 -2
- package/src/utils/math/easing.ts +4 -1
- package/src/utils/math/inScope.ts +6 -3
- package/src/utils/math/lerp.ts +11 -3
- package/src/utils/math/normalizeNestedScope.ts +12 -3
- package/src/utils/math/scoped.ts +17 -6
- package/src/utils/math/spreadScope.ts +17 -3
- package/src/utils/math/wrap.ts +9 -3
- package/src/utils/scroll/getScrollValues.ts +13 -1
- package/src/utils/scroll/isPageScrolling.ts +31 -0
- package/src/utils/scroll/normalizeWheel.ts +10 -2
- package/src/utils/scroll/onScroll.ts +18 -11
- package/src/utils/scroll/scrollTo.ts +16 -10
- package/src/utils/scroll/scrollToElement.ts +9 -7
- package/lib/cjs/Application/events/createOnPageLoad/index.js.map +0 -1
- package/lib/cjs/Application/events/createOnPageLoad/types.js.map +0 -1
- package/lib/cjs/Application/events/createViewport/index.js.map +0 -1
- package/lib/cjs/Application/events/createViewport/types.js.map +0 -1
- package/lib/cjs/Application/index.js +0 -222
- package/lib/cjs/Application/index.js.map +0 -1
- package/lib/cjs/components/BaseTimeline/index.js +0 -125
- package/lib/cjs/components/BaseTimeline/index.js.map +0 -1
- package/lib/cjs/components/BaseTimeline/types.js.map +0 -1
- package/lib/cjs/components/SmoothScroll/index.js.map +0 -1
- package/lib/cjs/components/SmoothScroll/types.js.map +0 -1
- package/lib/cjs/components/SmoothScrollDragPlugin/index.js.map +0 -1
- package/lib/cjs/components/SmoothScrollDragPlugin/types.js.map +0 -1
- package/lib/cjs/components/SmoothScrollKeyboardPlugin/index.js.map +0 -1
- package/lib/cjs/components/SmoothScrollKeyboardPlugin/types.js +0 -3
- package/lib/cjs/components/SmoothScrollKeyboardPlugin/types.js.map +0 -1
- package/lib/cjs/utils/internal/fetchWebpSupport.js.map +0 -1
- package/lib/cjs/utils/internal/getDeviceInfo.js.map +0 -1
- package/lib/cjs/vevet.js +0 -6
- package/lib/cjs/vevet.js.map +0 -1
- package/lib/esm/Application/events/createOnPageLoad/index.js.map +0 -1
- package/lib/esm/Application/events/createOnPageLoad/types.js.map +0 -1
- package/lib/esm/Application/events/createViewport/index.js.map +0 -1
- package/lib/esm/Application/events/createViewport/types.js.map +0 -1
- package/lib/esm/Application/index.js +0 -134
- package/lib/esm/Application/index.js.map +0 -1
- package/lib/esm/components/BaseTimeline/index.js +0 -75
- package/lib/esm/components/BaseTimeline/index.js.map +0 -1
- package/lib/esm/components/BaseTimeline/types.js.map +0 -1
- package/lib/esm/components/SmoothScroll/index.js.map +0 -1
- package/lib/esm/components/SmoothScroll/types.js.map +0 -1
- package/lib/esm/components/SmoothScrollDragPlugin/index.js.map +0 -1
- package/lib/esm/components/SmoothScrollDragPlugin/types.js.map +0 -1
- package/lib/esm/components/SmoothScrollKeyboardPlugin/index.js.map +0 -1
- package/lib/esm/components/SmoothScrollKeyboardPlugin/types.js +0 -2
- package/lib/esm/components/SmoothScrollKeyboardPlugin/types.js.map +0 -1
- package/lib/esm/utils/internal/fetchWebpSupport.js.map +0 -1
- package/lib/esm/utils/internal/getDeviceInfo.js.map +0 -1
- package/lib/esm/vevet.js +0 -3
- package/lib/esm/vevet.js.map +0 -1
- package/lib/styles/globals/index.scss +0 -18
- package/lib/types/Application/events/createOnPageLoad/index.d.ts +0 -5
- package/lib/types/Application/events/createOnPageLoad/index.d.ts.map +0 -1
- package/lib/types/Application/events/createOnPageLoad/types.d.ts +0 -5
- package/lib/types/Application/events/createOnPageLoad/types.d.ts.map +0 -1
- package/lib/types/Application/events/createViewport/index.d.ts +0 -20
- package/lib/types/Application/events/createViewport/index.d.ts.map +0 -1
- package/lib/types/Application/events/createViewport/types.d.ts +0 -52
- package/lib/types/Application/events/createViewport/types.d.ts.map +0 -1
- package/lib/types/Application/index.d.ts +0 -89
- package/lib/types/Application/index.d.ts.map +0 -1
- package/lib/types/Application/types.d.ts +0 -41
- package/lib/types/Application/types.d.ts.map +0 -1
- package/lib/types/components/BaseTimeline/index.d.ts +0 -40
- package/lib/types/components/BaseTimeline/index.d.ts.map +0 -1
- package/lib/types/components/BaseTimeline/types.d.ts +0 -34
- package/lib/types/components/BaseTimeline/types.d.ts.map +0 -1
- package/lib/types/components/SmoothScroll/index.d.ts.map +0 -1
- package/lib/types/components/SmoothScroll/types.d.ts +0 -110
- package/lib/types/components/SmoothScroll/types.d.ts.map +0 -1
- package/lib/types/components/SmoothScrollDragPlugin/index.d.ts +0 -50
- package/lib/types/components/SmoothScrollDragPlugin/index.d.ts.map +0 -1
- package/lib/types/components/SmoothScrollDragPlugin/types.d.ts +0 -39
- package/lib/types/components/SmoothScrollDragPlugin/types.d.ts.map +0 -1
- package/lib/types/components/SmoothScrollKeyboardPlugin/index.d.ts +0 -31
- package/lib/types/components/SmoothScrollKeyboardPlugin/index.d.ts.map +0 -1
- package/lib/types/components/SmoothScrollKeyboardPlugin/types.d.ts +0 -12
- package/lib/types/utils/internal/fetchWebpSupport.d.ts +0 -3
- package/lib/types/utils/internal/fetchWebpSupport.d.ts.map +0 -1
- package/lib/types/utils/internal/getDeviceInfo.d.ts.map +0 -1
- package/lib/types/vevet.d.ts +0 -3
- package/lib/types/vevet.d.ts.map +0 -1
- package/src/Application/events/createOnPageLoad/types.ts +0 -5
- package/src/Application/events/createViewport/types.ts +0 -55
- package/src/Application/index.ts +0 -204
- package/src/Application/types.ts +0 -41
- package/src/components/BaseTimeline/index.ts +0 -123
- package/src/components/BaseTimeline/stories/Basic.tsx +0 -65
- package/src/components/BaseTimeline/stories/Nested.tsx +0 -108
- package/src/components/BaseTimeline/stories/index.stories.tsx +0 -16
- package/src/components/BaseTimeline/types.ts +0 -36
- package/src/components/SmoothScroll/types.ts +0 -119
- package/src/components/SmoothScrollDragPlugin/types.ts +0 -40
- package/src/components/Timeline/stories/Nested.tsx +0 -135
- package/src/styles/globals/index.scss +0 -18
- package/src/vevet.ts +0 -4
- /package/lib/cjs/{Application → Vevet}/events/createOnPageLoad/types.js +0 -0
- /package/lib/cjs/{Application → Vevet}/events/createViewport/types.js +0 -0
- /package/lib/cjs/{Application → Vevet}/types.js +0 -0
- /package/lib/cjs/{utils/internal → Vevet/utils}/getDeviceInfo.js +0 -0
- /package/lib/cjs/components/{BaseTimeline → CustomScroll}/types.js +0 -0
- /package/lib/cjs/components/{SmoothScroll → CustomScrollDragPlugin}/types.js +0 -0
- /package/lib/cjs/components/{SmoothScrollDragPlugin → CustomScrollKeyboardPlugin}/types.js +0 -0
- /package/lib/esm/{Application → Vevet}/events/createOnPageLoad/types.js +0 -0
- /package/lib/esm/{Application → Vevet}/events/createViewport/types.js +0 -0
- /package/lib/esm/{Application → Vevet}/types.js +0 -0
- /package/lib/esm/{utils/internal → Vevet/utils}/getDeviceInfo.js +0 -0
- /package/lib/esm/components/{BaseTimeline → CustomScroll}/types.js +0 -0
- /package/lib/esm/components/{SmoothScroll → CustomScrollDragPlugin}/types.js +0 -0
- /package/lib/esm/components/{SmoothScrollDragPlugin → CustomScrollKeyboardPlugin}/types.js +0 -0
- /package/lib/types/{utils/internal → Vevet/utils}/getDeviceInfo.d.ts +0 -0
- /package/lib/types/components/{SmoothScroll → CustomScroll}/AnimatonFrame.d.ts +0 -0
- /package/src/{Application → Vevet}/events/.eslintrc +0 -0
- /package/src/{Application → Vevet}/events/createViewport/stories/index.stories.tsx +0 -0
- /package/src/{Application → Vevet}/stories/index.stories.tsx +0 -0
- /package/src/{utils/internal → Vevet/utils}/fetchWebpSupport.ts +0 -0
- /package/src/{utils/internal → Vevet/utils}/getDeviceInfo.ts +0 -0
|
@@ -2,44 +2,39 @@ import { NPreloader } from '../Preloader';
|
|
|
2
2
|
export declare namespace NProgressPreloader {
|
|
3
3
|
interface IStaticProps extends NPreloader.IStaticProps {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* The default number of resources to preload. This can be incremented using custom logic.
|
|
6
6
|
* @default 0
|
|
7
7
|
*/
|
|
8
8
|
resourcesQuantity?: number;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Whether to preload images automatically.
|
|
11
11
|
* @default true
|
|
12
12
|
*/
|
|
13
13
|
canPreloadImages?: boolean;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Whether to preload videos automatically.
|
|
16
16
|
* @default false
|
|
17
17
|
*/
|
|
18
18
|
canPreloadVideos?: boolean;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* Custom elements may also have the attribute `data-load-count` (number) which means the element weight.
|
|
20
|
+
* The selector for custom resources to be preloaded. These elements should have properties such as `isLoaded`, `isComplete`, or the attribute `data-is-loaded` (from 0 to 1 or a boolean) for tracking loading status.
|
|
21
|
+
* Custom elements may also use the `data-load-count` attribute to indicate their weight.
|
|
22
|
+
*
|
|
24
23
|
* @default '.js-preload'
|
|
25
24
|
*/
|
|
26
25
|
preloadCustomSelector?: string;
|
|
27
26
|
/**
|
|
28
|
-
*
|
|
29
|
-
* all these resources will be preloaded. In cases when you may want not
|
|
30
|
-
* to preload some resources, you may add to it the classname specified here.
|
|
27
|
+
* A class name that can be added to elements (such as images, videos, or custom resources) that should be ignored during the preload process.
|
|
31
28
|
* @default 'js-preload-ignore'
|
|
32
29
|
*/
|
|
33
30
|
preloadIgnoreClassName?: string;
|
|
34
31
|
/**
|
|
35
|
-
*
|
|
32
|
+
* The amount of linear interpolation to apply to the loading progress. If set to `false`, no interpolation will be used, and the progress will update instantly.
|
|
36
33
|
* @default 0.1
|
|
37
34
|
*/
|
|
38
35
|
lerp?: number | false;
|
|
39
36
|
/**
|
|
40
|
-
* If `true` and
|
|
41
|
-
* and a `Timeline` will be launched to end the progress calculation.
|
|
42
|
-
* If `false`, the progress smooth calculation will end via linear interpolation.
|
|
37
|
+
* If `true` and the animated progress is less than `1`, a timeline will automatically complete the progress when nearing the end. If `false`, progress will continue using linear interpolation until it completes.
|
|
43
38
|
* @default 500
|
|
44
39
|
*/
|
|
45
40
|
forceEnd?: number | false;
|
|
@@ -47,29 +42,71 @@ export declare namespace NProgressPreloader {
|
|
|
47
42
|
interface IChangeableProps extends NPreloader.IChangeableProps {
|
|
48
43
|
}
|
|
49
44
|
interface ICallbacksTypes extends NPreloader.ICallbacksTypes {
|
|
45
|
+
/**
|
|
46
|
+
* Triggered when the preloader's progress is updated.
|
|
47
|
+
*/
|
|
50
48
|
progress: IProgressParameter;
|
|
49
|
+
/**
|
|
50
|
+
* Triggered each time a resource is loaded during the preload process.
|
|
51
|
+
*/
|
|
51
52
|
resourceLoad: IResourceLoadParameter;
|
|
52
53
|
}
|
|
53
54
|
interface IProgressParameter {
|
|
55
|
+
/**
|
|
56
|
+
* The current preloader progress (between 0 and 1).
|
|
57
|
+
*/
|
|
54
58
|
progress: number;
|
|
59
|
+
/**
|
|
60
|
+
* The current progress based on loaded resources (between 0 and 1).
|
|
61
|
+
*/
|
|
55
62
|
loadProgress: number;
|
|
56
63
|
}
|
|
57
64
|
interface IResourceLoadParameter {
|
|
65
|
+
/**
|
|
66
|
+
* The resource element that was loaded, if applicable.
|
|
67
|
+
*/
|
|
58
68
|
element?: Element;
|
|
69
|
+
/**
|
|
70
|
+
* The progress value when the resource was loaded.
|
|
71
|
+
*/
|
|
59
72
|
atProgress: number;
|
|
73
|
+
/**
|
|
74
|
+
* The overall load progress when this resource was loaded.
|
|
75
|
+
*/
|
|
60
76
|
loadProgress: number;
|
|
77
|
+
/**
|
|
78
|
+
* Whether the resource was successfully loaded.
|
|
79
|
+
*/
|
|
61
80
|
isSuccess: boolean;
|
|
62
81
|
}
|
|
63
82
|
interface IHandleLoadedResourceParameter {
|
|
83
|
+
/**
|
|
84
|
+
* The resource element that was loaded, if applicable.
|
|
85
|
+
*/
|
|
64
86
|
element?: Element;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the resource was successfully loaded.
|
|
89
|
+
*/
|
|
65
90
|
isSuccess: boolean;
|
|
66
91
|
}
|
|
67
92
|
interface ICustomResource extends Element {
|
|
93
|
+
/**
|
|
94
|
+
* Indicates whether the custom resource has been fully loaded. Can be a boolean or a number representing the loading progress.
|
|
95
|
+
*/
|
|
68
96
|
isLoaded?: boolean | number;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates whether the custom resource is complete. Can be a boolean or a number representing the loading progress.
|
|
99
|
+
*/
|
|
69
100
|
isComplete?: boolean | number;
|
|
70
101
|
}
|
|
71
102
|
interface ICustomResourceData {
|
|
103
|
+
/**
|
|
104
|
+
* The custom resource element to be preloaded.
|
|
105
|
+
*/
|
|
72
106
|
element: ICustomResource;
|
|
107
|
+
/**
|
|
108
|
+
* The target progress value (between 0 and 1) for this resource, based on its `data-load-count` attribute.
|
|
109
|
+
*/
|
|
73
110
|
targetProgress: number;
|
|
74
111
|
}
|
|
75
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressPreloader/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,YAAa,SAAQ,UAAU,CAAC,YAAY;QAC3D;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressPreloader/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,YAAa,SAAQ,UAAU,CAAC,YAAY;QAC3D;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAE3B;;;WAGG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAE3B;;;;;WAKG;QACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAE/B;;;WAGG;QACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAEhC;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;QAEtB;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;KAC3B;IAED,UAAiB,gBAAiB,SAAQ,UAAU,CAAC,gBAAgB;KAAG;IAExE,UAAiB,eAAgB,SAAQ,UAAU,CAAC,eAAe;QACjE;;WAEG;QACH,QAAQ,EAAE,kBAAkB,CAAC;QAE7B;;WAEG;QACH,YAAY,EAAE,sBAAsB,CAAC;KACtC;IAED,UAAiB,kBAAkB;QACjC;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,sBAAsB;QACrC;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,OAAO,CAAC;KACpB;IAED,UAAiB,8BAA8B;QAC7C;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,SAAS,EAAE,OAAO,CAAC;KACpB;IAED,UAAiB,eAAgB,SAAQ,OAAO;QAC9C;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAE5B;;WAEG;QACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;KAC/B;IAED,UAAiB,mBAAmB;QAClC;;WAEG;QACH,OAAO,EAAE,eAAe,CAAC;QAEzB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;KACxB;CACF"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Module } from '../../../base/Module';
|
|
2
2
|
import { NProgressPreloader } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Preloads a custom resource element by recursively checking its load progress until the target progress is reached.
|
|
5
|
+
*/
|
|
3
6
|
export declare function preloadCustomElement(data: NProgressPreloader.ICustomResourceData, instance: Module<any, any, any>): Promise<void>;
|
|
4
7
|
//# sourceMappingURL=preloadCustomElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preloadCustomElement.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressPreloader/utils/preloadCustomElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"preloadCustomElement.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressPreloader/utils/preloadCustomElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAqD9C;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,kBAAkB,CAAC,mBAAmB,EAC5C,QAAQ,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,iBAwBhC"}
|
|
@@ -1,44 +1,109 @@
|
|
|
1
1
|
import { IBarProps } from './types';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Represents a custom scroll bar with a draggable thumb.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Bar {
|
|
3
6
|
private _props;
|
|
7
|
+
/** The outer container element of the scroll bar */
|
|
4
8
|
private _outer;
|
|
9
|
+
/**
|
|
10
|
+
* Gets the outer container of the scroll bar.
|
|
11
|
+
*/
|
|
5
12
|
get outer(): HTMLElement;
|
|
13
|
+
/** The scroll bar thumb element */
|
|
6
14
|
private _thumb;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the thumb element of the scroll bar.
|
|
17
|
+
*/
|
|
7
18
|
get thumb(): HTMLElement;
|
|
8
|
-
|
|
9
|
-
get isHorizontal(): boolean;
|
|
10
|
-
get isVertical(): boolean;
|
|
11
|
-
get scrollElement(): Element | import("../..").SmoothScroll<import("../..").NSmoothScroll.IStaticProps, import("../..").NSmoothScroll.IChangeableProps, import("../..").NSmoothScroll.ICallbacksTypes>;
|
|
12
|
-
get scrollLine(): number;
|
|
13
|
-
get scrollWidth(): number;
|
|
14
|
-
get scrollHeight(): number;
|
|
19
|
+
/** The outer height of the scroll bar container */
|
|
15
20
|
private _outerHeight;
|
|
21
|
+
/** The outer width of the scroll bar container */
|
|
16
22
|
private _outerWidth;
|
|
23
|
+
/** The thumb's height */
|
|
17
24
|
private _thumbHeight;
|
|
25
|
+
/** The thumb's width */
|
|
18
26
|
private _thumbWidth;
|
|
27
|
+
/** Stores the previous scroll value for comparison */
|
|
19
28
|
private _prevScrollValue;
|
|
29
|
+
/** Stores the coordinates of the scroll element at the start of dragging */
|
|
20
30
|
private _coordsAtDragStart;
|
|
21
|
-
|
|
31
|
+
/** Stores the list of event listeners */
|
|
32
|
+
private _listeners;
|
|
33
|
+
/** The scroll event handler */
|
|
22
34
|
private _scrollEvent?;
|
|
35
|
+
/** Timeout for handling auto-hide behavior */
|
|
23
36
|
private _actionTimeout?;
|
|
37
|
+
/** Dragger instance for handling thumb dragging */
|
|
24
38
|
private _dragger?;
|
|
39
|
+
/**
|
|
40
|
+
* Determines if the scroll bar is horizontal.
|
|
41
|
+
*/
|
|
42
|
+
get isHorizontal(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Determines if the scroll bar is vertical.
|
|
45
|
+
*/
|
|
46
|
+
get isVertical(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the scrollable element.
|
|
49
|
+
*/
|
|
50
|
+
get scrollElement(): Element | import("../..").CustomScroll<import("../..").NCustomScroll.IStaticProps, import("../..").NCustomScroll.IChangeableProps, import("../..").NCustomScroll.ICallbacksTypes>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the total scrollable distance (scroll line) for the scroll bar.
|
|
53
|
+
*/
|
|
54
|
+
get scrollLine(): number;
|
|
55
|
+
/**
|
|
56
|
+
* Gets the total width of the scrollable element.
|
|
57
|
+
*/
|
|
58
|
+
get scrollWidth(): number;
|
|
59
|
+
/**
|
|
60
|
+
* Gets the total height of the scrollable element.
|
|
61
|
+
*/
|
|
62
|
+
get scrollHeight(): number;
|
|
63
|
+
/**
|
|
64
|
+
* Gets the scroll bar properties.
|
|
65
|
+
*/
|
|
25
66
|
get props(): IBarProps;
|
|
26
67
|
constructor(_props: IBarProps);
|
|
68
|
+
/**
|
|
69
|
+
* Generates the scroll bar's class name based on the prefix and value.
|
|
70
|
+
* @param value - The suffix to add to the prefix for the class name.
|
|
71
|
+
*/
|
|
27
72
|
private className;
|
|
28
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Sets the necessary events for the scroll bar, such as hover and scroll events.
|
|
75
|
+
*/
|
|
29
76
|
private _setEvents;
|
|
30
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Removes all the event listeners for the scroll bar.
|
|
79
|
+
*/
|
|
31
80
|
private _removeEvents;
|
|
32
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Handles the hover state of the scroll bar.
|
|
83
|
+
* @param isHovered - Whether the scroll bar is hovered or not.
|
|
84
|
+
*/
|
|
33
85
|
private _handleHover;
|
|
34
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Handles the scroll event by updating the thumb position and auto-hide behavior.
|
|
88
|
+
* @param param - The scroll position of the container.
|
|
89
|
+
*/
|
|
35
90
|
private _handleScroll;
|
|
36
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Handles the thumb dragging event by calculating new scroll values based on the drag movement.
|
|
93
|
+
* @param param - The drag event data.
|
|
94
|
+
*/
|
|
37
95
|
private _handleThumbDrag;
|
|
38
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Renders the thumb position based on the current scroll position.
|
|
98
|
+
*/
|
|
39
99
|
private _renderThumb;
|
|
40
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Resizes the scroll bar by recalculating the thumb and outer container sizes.
|
|
102
|
+
*/
|
|
41
103
|
resize(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Destroys the scroll bar by removing events and clearing timeouts.
|
|
106
|
+
*/
|
|
42
107
|
destroy(): void;
|
|
43
108
|
}
|
|
44
109
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollBar/Bar/index.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollBar/Bar/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAOpC;;GAEG;AACH,qBAAa,GAAG;IA0GF,OAAO,CAAC,MAAM;IAzG1B,oDAAoD;IACpD,OAAO,CAAC,MAAM,CAAc;IAE5B;;OAEG;IACH,IAAI,KAAK,gBAER;IAED,mCAAmC;IACnC,OAAO,CAAC,MAAM,CAAc;IAE5B;;OAEG;IACH,IAAI,KAAK,gBAER;IAED,mDAAmD;IACnD,OAAO,CAAC,YAAY,CAAK;IAEzB,kDAAkD;IAClD,OAAO,CAAC,WAAW,CAAK;IAExB,yBAAyB;IACzB,OAAO,CAAC,YAAY,CAAK;IAEzB,wBAAwB;IACxB,OAAO,CAAC,WAAW,CAAK;IAExB,sDAAsD;IACtD,OAAO,CAAC,gBAAgB,CAAK;IAE7B,4EAA4E;IAC5E,OAAO,CAAC,kBAAkB,CAAmC;IAE7D,yCAAyC;IACzC,OAAO,CAAC,UAAU,CAA2B;IAE7C,+BAA+B;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAa;IAElC,8CAA8C;IAC9C,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC,mDAAmD;IACnD,OAAO,CAAC,QAAQ,CAAC,CAAc;IAE/B;;OAEG;IACH,IAAI,YAAY,YAEf;IAED;;OAEG;IACH,IAAI,UAAU,YAEb;IAED;;OAEG;IACH,IAAI,aAAa,sLAIhB;IAED;;OAEG;IACH,IAAI,UAAU,WAMb;IAED;;OAEG;IACH,IAAI,WAAW,WAEd;IAED;;OAEG;IACH,IAAI,YAAY,WAEf;IAED;;OAEG;IACH,IAAI,KAAK,cAER;gBAEmB,MAAM,EAAE,SAAS;IAyBrC;;;OAGG;IACH,OAAO,CAAC,SAAS;IAIjB;;OAEG;IACH,OAAO,CAAC,UAAU;IA6BlB;;OAEG;IACH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAKpB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAoCrB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAoCxB;;OAEG;IACH,OAAO,CAAC,YAAY;IAapB;;OAEG;IACI,MAAM;IA4Cb;;OAEG;IACI,OAAO;CASf"}
|
|
@@ -1,29 +1,51 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CustomScroll } from '../../CustomScroll';
|
|
2
|
+
/**
|
|
3
|
+
* Properties for configuring the behavior and appearance of a custom scroll bar.
|
|
4
|
+
*/
|
|
2
5
|
export interface IBarProps {
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
/**
|
|
7
|
+
* The scrollable container element.
|
|
8
|
+
* It can be the browser `window`, a custom scroll instance, or an HTML element.
|
|
9
|
+
*/
|
|
10
|
+
container: Window | CustomScroll | Element;
|
|
11
|
+
/**
|
|
12
|
+
* The parent element where the scroll bar will be appended.
|
|
13
|
+
* This is the DOM element that will contain the scroll bar.
|
|
14
|
+
*/
|
|
6
15
|
domParent: Element;
|
|
7
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The scroll bar's orientation or direction.
|
|
18
|
+
* Can be either horizontal ('x') or vertical ('y').
|
|
19
|
+
*/
|
|
8
20
|
direction: 'x' | 'y';
|
|
9
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, the scroll bars will be hidden when inactive.
|
|
23
|
+
* The scroll bar will only become visible during scrolling or interactions.
|
|
24
|
+
*/
|
|
10
25
|
canAutoHide: boolean;
|
|
11
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, the size of the scroll bar's thumb will adjust automatically
|
|
28
|
+
* based on the content length and the viewport size.
|
|
29
|
+
*/
|
|
12
30
|
shouldAutoSize: boolean;
|
|
13
31
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
32
|
+
* The minimum size of the scroll bar's thumb.
|
|
33
|
+
* This property is only applied when `shouldAutoSize` is `true`.
|
|
16
34
|
*/
|
|
17
35
|
minSize: number;
|
|
18
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* A prefix used for generating class names or other identifiers for the scroll bar elements.
|
|
38
|
+
*/
|
|
19
39
|
prefix: string;
|
|
20
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* If `true`, the scroll bars will be draggable, allowing users to drag the thumb to scroll.
|
|
42
|
+
*/
|
|
21
43
|
isDraggable: boolean;
|
|
22
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Defines the scroll behavior during dragging for custom scroll instances.
|
|
46
|
+
* This property determines whether the scroll will be smooth or immediate ('auto').
|
|
47
|
+
* This option is only applicable for `CustomScroll` instances.
|
|
48
|
+
*/
|
|
23
49
|
scrollBehavior: 'smooth' | 'auto';
|
|
24
50
|
}
|
|
25
|
-
export interface ICoords {
|
|
26
|
-
scrollLeft: number;
|
|
27
|
-
scrollTop: number;
|
|
28
|
-
}
|
|
29
51
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollBar/Bar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollBar/Bar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,SAAS,EAAE,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC;IAE3C;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,SAAS,EAAE,GAAG,GAAG,GAAG,CAAC;IAErB;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,cAAc,EAAE,QAAQ,GAAG,MAAM,CAAC;CACnC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import Bar from './Bar';
|
|
1
|
+
import type { CustomScroll } from '../CustomScroll';
|
|
2
|
+
import { Bar } from './Bar';
|
|
3
3
|
import { NScrollBar } from './types';
|
|
4
4
|
import { Component as ComponentClass } from '../../base/Component';
|
|
5
5
|
export type { NScrollBar };
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* A custom scroll bar component that can be added to custom or native scroll containers.
|
|
8
|
+
* It supports both horizontal and vertical scroll bars, auto-hide functionality,
|
|
9
|
+
* and drag-to-scroll.
|
|
10
|
+
*
|
|
11
|
+
* @requires Requires styles: `@import '~vevet/lib/styles/components/ScrollBar';`
|
|
8
12
|
*/
|
|
9
13
|
export declare class ScrollBar<StaticProps extends NScrollBar.IStaticProps = NScrollBar.IStaticProps, ChangeableProps extends NScrollBar.IChangeableProps = NScrollBar.IChangeableProps, CallbacksTypes extends NScrollBar.ICallbacksTypes = NScrollBar.ICallbacksTypes> extends ComponentClass<StaticProps, ChangeableProps, CallbacksTypes> {
|
|
10
14
|
protected _getDefaultProps(): {
|
|
@@ -19,26 +23,55 @@ export declare class ScrollBar<StaticProps extends NScrollBar.IStaticProps = NSc
|
|
|
19
23
|
};
|
|
20
24
|
get prefix(): string;
|
|
21
25
|
/** Scroll container */
|
|
22
|
-
protected _container: Element | Window |
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
get
|
|
26
|
+
protected _container: Element | Window | CustomScroll;
|
|
27
|
+
/**
|
|
28
|
+
* The container element or window where the scroll is applied.
|
|
29
|
+
*/
|
|
30
|
+
get container(): Window | Element | CustomScroll<import("../CustomScroll").NCustomScroll.IStaticProps, import("../CustomScroll").NCustomScroll.IChangeableProps, import("../CustomScroll").NCustomScroll.ICallbacksTypes>;
|
|
27
31
|
/**
|
|
28
|
-
*
|
|
32
|
+
* Returns the DOM element where the scroll bars will be appended.
|
|
29
33
|
*/
|
|
30
34
|
get domParent(): Element;
|
|
31
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Horizontal scrollbar instance
|
|
37
|
+
* @ignore
|
|
38
|
+
*/
|
|
32
39
|
protected _xBar: Bar;
|
|
33
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Returns the horizontal scroll bar instance.
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
44
|
+
get xBar(): Bar;
|
|
45
|
+
/**
|
|
46
|
+
* Vertical scrollbar instance
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
34
49
|
protected _yBar: Bar;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the vertical scroll bar instance.
|
|
52
|
+
* @ignore
|
|
53
|
+
*/
|
|
54
|
+
get yBar(): Bar;
|
|
35
55
|
constructor(initialProps?: StaticProps & ChangeableProps, canInit?: boolean);
|
|
56
|
+
/**
|
|
57
|
+
* Initializes the ScrollBar component.
|
|
58
|
+
*/
|
|
36
59
|
protected _init(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Sets event listeners for the component.
|
|
62
|
+
*/
|
|
37
63
|
protected _setEvents(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Handles the mutation of the properties and updates the component accordingly.
|
|
66
|
+
*/
|
|
38
67
|
protected _onPropsMutate(): void;
|
|
39
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Resizes the scene and updates the scroll bars.
|
|
70
|
+
*/
|
|
40
71
|
resize(): void;
|
|
41
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Destroys the scroll bar component and cleans up.
|
|
74
|
+
*/
|
|
42
75
|
protected _destroy(): void;
|
|
43
76
|
}
|
|
44
77
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollBar/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,GAAG,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollBar/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAK/D,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B;;;;;;GAMG;AACH,qBAAa,SAAS,CACpB,WAAW,SAAS,UAAU,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,EACrE,eAAe,SACb,UAAU,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,EAC3D,cAAc,SACZ,UAAU,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CACzD,SAAQ,cAAc,CAAC,WAAW,EAAE,eAAe,EAAE,cAAc,CAAC;IACpE,SAAS,CAAC,gBAAgB;;;;;;;;;;IAc1B,IAAI,MAAM,WAET;IAED,uBAAuB;IACvB,SAAS,CAAC,UAAU,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC;IAEtD;;OAEG;IACH,IAAI,SAAS,6MAEZ;IAED;;OAEG;IACH,IAAI,SAAS,YAkBZ;IAED;;;OAGG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IAErB;;;OAGG;IACH,IAAI,IAAI,QAEP;IAED;;;OAGG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IAErB;;;OAGG;IACH,IAAI,IAAI,QAEP;gBAEW,YAAY,CAAC,EAAE,WAAW,GAAG,eAAe,EAAE,OAAO,UAAO;IAuDxE;;OAEG;IACH,SAAS,CAAC,KAAK;IAMf;;OAEG;IACH,SAAS,CAAC,UAAU;IA+BpB;;OAEG;IACH,SAAS,CAAC,cAAc;IAMxB;;OAEG;IACI,MAAM;IAKb;;OAEG;IACH,SAAS,CAAC,QAAQ;CAOnB"}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { NComponent } from '../../base/Component/types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CustomScroll } from '../CustomScroll';
|
|
3
3
|
import { IBarProps } from './Bar/types';
|
|
4
4
|
type TPickedProps = 'isDraggable' | 'shouldAutoSize' | 'canAutoHide' | 'minSize' | 'scrollBehavior';
|
|
5
5
|
export declare namespace NScrollBar {
|
|
6
6
|
interface IStaticProps extends NComponent.IStaticProps, Partial<Pick<IBarProps, TPickedProps>> {
|
|
7
7
|
/**
|
|
8
|
-
* The scrollable element
|
|
8
|
+
* The scrollable element to which the scroll bar will be applied.
|
|
9
|
+
* Can be the window, a custom scroll instance, or an HTML element.
|
|
9
10
|
* @default window
|
|
10
11
|
*/
|
|
11
|
-
container?: Window |
|
|
12
|
+
container?: Window | CustomScroll | Element | string;
|
|
12
13
|
/**
|
|
13
|
-
* The element
|
|
14
|
-
* If false
|
|
14
|
+
* The element where the scroll bars will be rendered.
|
|
15
|
+
* If `false`, the scroll bar will be appended to the `container`.
|
|
15
16
|
* @default false
|
|
16
17
|
*/
|
|
17
18
|
domParent?: false | Element;
|
|
18
19
|
/**
|
|
19
|
-
* Timeout
|
|
20
|
+
* Timeout value (in milliseconds) to debounce the resize event.
|
|
21
|
+
* This helps avoid multiple rapid invocations of resize handling.
|
|
20
22
|
* @default 16
|
|
21
23
|
*/
|
|
22
24
|
resizeDebounce?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,YAAY,GACb,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,SAAS,GACT,gBAAgB,CAAC;AAErB,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,YACf,SAAQ,UAAU,CAAC,YAAY,EAC7B,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACxC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,YAAY,GACb,aAAa,GACb,gBAAgB,GAChB,aAAa,GACb,SAAS,GACT,gBAAgB,CAAC;AAErB,yBAAiB,UAAU,CAAC;IAC1B,UAAiB,YACf,SAAQ,UAAU,CAAC,YAAY,EAC7B,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QACxC;;;;WAIG;QACH,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;QAErD;;;;WAIG;QACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;QAE5B;;;;WAIG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB;IAED,UAAiB,gBAAiB,SAAQ,UAAU,CAAC,gBAAgB;KAAG;IAExE,UAAiB,eAAgB,SAAQ,UAAU,CAAC,eAAe;KAAG;CACvE"}
|
|
@@ -3,7 +3,9 @@ import { NScrollView } from './types';
|
|
|
3
3
|
import { IRemovable } from '../../types/general';
|
|
4
4
|
export type { NScrollView };
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* `ScrollView` detects when elements enter or leave the viewport.
|
|
7
|
+
* It uses the `IntersectionObserver` API for efficient detection and triggers events when elements are visible or hidden.
|
|
8
|
+
* Supports adding custom delay and class toggling when elements are in view.
|
|
7
9
|
*/
|
|
8
10
|
export declare class ScrollView<StaticProps extends NScrollView.IStaticProps = NScrollView.IStaticProps, ChangeableProps extends NScrollView.IChangeableProps = NScrollView.IChangeableProps, CallbacksTypes extends NScrollView.ICallbacksTypes = NScrollView.ICallbacksTypes> extends ComponentClass<StaticProps, ChangeableProps, CallbacksTypes> {
|
|
9
11
|
protected _getDefaultProps(): {
|
|
@@ -18,55 +20,97 @@ export declare class ScrollView<StaticProps extends NScrollView.IStaticProps = N
|
|
|
18
20
|
viewportTarget: string;
|
|
19
21
|
resizeDebounce: number;
|
|
20
22
|
};
|
|
21
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Intersection observer for detecting when elements come into view.
|
|
25
|
+
*/
|
|
22
26
|
protected _intersectionObserverIn?: IntersectionObserver;
|
|
23
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Intersection observer for detecting when elements leave the view.
|
|
29
|
+
*/
|
|
24
30
|
protected _intersectionObserverOut?: IntersectionObserver;
|
|
25
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Tracks if this is the first time the elements are being observed.
|
|
33
|
+
*/
|
|
26
34
|
protected _isFirstStart: boolean;
|
|
27
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Returns whether this is the first start of observing elements.
|
|
37
|
+
*/
|
|
28
38
|
get isFirstStart(): boolean;
|
|
29
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Stores the elements being observed for entering and leaving the viewport.
|
|
41
|
+
*/
|
|
30
42
|
protected _elements: NScrollView.IElement[];
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Returns the elements being observed by the `ScrollView`.
|
|
45
|
+
*/
|
|
34
46
|
get elements(): NScrollView.IElement[];
|
|
47
|
+
/**
|
|
48
|
+
* Indicates whether the `IntersectionObserver` API is supported in the current environment.
|
|
49
|
+
*/
|
|
50
|
+
protected _isIntersectionObserverSupported: boolean;
|
|
35
51
|
constructor(initialProps?: StaticProps & ChangeableProps, canInit?: boolean);
|
|
36
52
|
protected _init(): void;
|
|
37
53
|
protected _onPropsMutate(): void;
|
|
38
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Sets up the events needed for viewport resizing and element observation.
|
|
56
|
+
*/
|
|
39
57
|
protected _setEvents(): void;
|
|
40
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Triggers a resize event to update the `ScrollView` tracking of elements.
|
|
60
|
+
*/
|
|
41
61
|
resize(): void;
|
|
42
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Returns the bounding rectangle for the root element or the viewport.
|
|
64
|
+
*/
|
|
43
65
|
protected get rootBounding(): {
|
|
44
66
|
top: number;
|
|
45
67
|
left: number;
|
|
46
68
|
width: number;
|
|
47
69
|
height: number;
|
|
48
70
|
};
|
|
49
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Sets up the `IntersectionObserver` to detect when elements come into view.
|
|
73
|
+
*/
|
|
50
74
|
protected _setViewEvents(): void;
|
|
51
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Removes the view observation events by disconnecting the `IntersectionObserver`.
|
|
77
|
+
*/
|
|
52
78
|
protected _removeViewEvents(): void;
|
|
53
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Handles when elements come into the viewport.
|
|
81
|
+
*
|
|
82
|
+
* @param data - The intersection data for the observed elements.
|
|
83
|
+
*/
|
|
54
84
|
protected _handleIntersectionIn(data: IntersectionObserverEntry[]): void;
|
|
55
85
|
/** Get element delay */
|
|
56
86
|
protected _getElementDelay(element: NScrollView.IElement): number;
|
|
57
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Handles when elements leave the viewport.
|
|
89
|
+
*
|
|
90
|
+
* @param data - The intersection data for the observed elements.
|
|
91
|
+
*/
|
|
58
92
|
protected _handleIntersectionOut(data: IntersectionObserverEntry[]): void;
|
|
59
93
|
/**
|
|
60
|
-
*
|
|
94
|
+
* Toggles classes and triggers callbacks when elements enter or leave the viewport.
|
|
61
95
|
*/
|
|
62
96
|
protected _handleInOut(elementProp: NScrollView.IElement, isInViewport: boolean, delay?: number): void;
|
|
63
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Adds an element to the observer list and starts tracking its visibility in the viewport.
|
|
99
|
+
*/
|
|
64
100
|
addElement(elementProp: Element): IRemovable;
|
|
65
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Stops observing an element and removes it from the observer list.
|
|
103
|
+
*
|
|
104
|
+
* @param {Element} elementProp - The element to stop observing.
|
|
105
|
+
*/
|
|
66
106
|
removeElement(elementProp: Element): void;
|
|
67
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* Stops observing all elements and clears the observer list.
|
|
109
|
+
*/
|
|
68
110
|
removeElements(): void;
|
|
69
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Destroys the `ScrollView` and disconnects all observers and listeners.
|
|
113
|
+
*/
|
|
70
114
|
protected _destroy(): void;
|
|
71
115
|
}
|
|
72
116
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;GAIG;AACH,qBAAa,UAAU,CACrB,WAAW,SAAS,WAAW,CAAC,YAAY,GAAG,WAAW,CAAC,YAAY,EACvE,eAAe,SACb,WAAW,CAAC,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,EAC7D,cAAc,SACZ,WAAW,CAAC,eAAe,GAAG,WAAW,CAAC,eAAe,CAC3D,SAAQ,cAAc,CAAC,WAAW,EAAE,eAAe,EAAE,cAAc,CAAC;IACpE,SAAS,CAAC,gBAAgB;;;;;;;;;;;;IAgB1B;;OAEG;IACH,SAAS,CAAC,uBAAuB,CAAC,EAAE,oBAAoB,CAAC;IAEzD;;OAEG;IACH,SAAS,CAAC,wBAAwB,CAAC,EAAE,oBAAoB,CAAC;IAE1D;;OAEG;IACH,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,IAAI,YAAY,YAEf;IAED;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC;IAE5C;;OAEG;IACH,IAAI,QAAQ,2BAEX;IAED;;OAEG;IACH,SAAS,CAAC,gCAAgC,EAAE,OAAO,CAAC;gBAExC,YAAY,CAAC,EAAE,WAAW,GAAG,eAAe,EAAE,OAAO,UAAO;IAaxE,SAAS,CAAC,KAAK;IAMf,SAAS,CAAC,cAAc;IAMxB;;OAEG;IACH,SAAS,CAAC,UAAU;IAWpB;;OAEG;IACI,MAAM;IAQb;;OAEG;IACH,SAAS,KAAK,YAAY;;;;;MAsBzB;IAED;;OAEG;IACH,SAAS,CAAC,cAAc;IA6CxB;;OAEG;IACH,SAAS,CAAC,iBAAiB;IAQ3B;;;;OAIG;IACH,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE;IAuBjE,wBAAwB;IACxB,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,QAAQ;IAoBxD;;;;OAIG;IACH,SAAS,CAAC,sBAAsB,CAAC,IAAI,EAAE,yBAAyB,EAAE;IAWlE;;OAEG;IACH,SAAS,CAAC,YAAY,CACpB,WAAW,EAAE,WAAW,CAAC,QAAQ,EACjC,YAAY,EAAE,OAAO,EACrB,KAAK,SAAI;IAkCX;;OAEG;IACI,UAAU,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU;IAmBnD;;;;OAIG;IACI,aAAa,CAAC,WAAW,EAAE,OAAO;IAUzC;;OAEG;IACI,cAAc;IAKrB;;OAEG;IACH,SAAS,CAAC,QAAQ;CAKnB"}
|