@studiometa/js-toolkit 3.9.0-beta.0 → 3.9.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Base/Base.d.ts +278 -0
- package/dist/Base/Base.js +535 -0
- package/dist/Base/Base.js.map +7 -0
- package/dist/Base/features.js.map +7 -0
- package/dist/Base/index.js.map +7 -0
- package/dist/Base/managers/AbstractManager.d.ts +30 -0
- package/dist/Base/managers/AbstractManager.js.map +7 -0
- package/dist/Base/managers/ChildrenManager.d.ts +81 -0
- package/dist/Base/managers/ChildrenManager.js +168 -0
- package/dist/Base/managers/ChildrenManager.js.map +7 -0
- package/dist/Base/managers/EventsManager.d.ts +109 -0
- package/dist/Base/managers/EventsManager.js +254 -0
- package/dist/Base/managers/EventsManager.js.map +7 -0
- package/dist/Base/managers/OptionsManager.d.ts +80 -0
- package/dist/Base/managers/OptionsManager.js +163 -0
- package/dist/Base/managers/OptionsManager.js.map +7 -0
- package/dist/Base/managers/RefsManager.js +101 -0
- package/dist/Base/managers/RefsManager.js.map +7 -0
- package/dist/Base/managers/ResponsiveOptionsManager.d.ts +33 -0
- package/dist/Base/managers/ResponsiveOptionsManager.js +67 -0
- package/dist/Base/managers/ResponsiveOptionsManager.js.map +7 -0
- package/dist/Base/managers/ServicesManager.d.ts +85 -0
- package/dist/Base/managers/ServicesManager.js +137 -0
- package/dist/Base/managers/ServicesManager.js.map +7 -0
- package/dist/Base/managers/index.js.map +7 -0
- package/dist/Base/types.d.ts +1682 -0
- package/dist/Base/utils.d.ts +54 -0
- package/dist/Base/utils.js +172 -0
- package/dist/Base/utils.js.map +7 -0
- package/dist/autoload/autoload.js.map +7 -0
- package/dist/autoload/define-manifest.js.map +7 -0
- package/dist/autoload/index.js.map +7 -0
- package/dist/autoload/loader.d.ts +108 -0
- package/dist/autoload/loader.js.map +7 -0
- package/dist/autoload/modules.js.map +7 -0
- package/dist/autoload/runtime.js.map +7 -0
- package/dist/autoload/types.d.ts +49 -0
- package/dist/decorators/index.js.map +7 -0
- package/dist/decorators/withBreakpointManager.d.ts +7 -0
- package/dist/decorators/withBreakpointManager.js +82 -0
- package/dist/decorators/withBreakpointManager.js.map +7 -0
- package/dist/decorators/withBreakpointObserver.d.ts +15 -0
- package/dist/decorators/withBreakpointObserver.js +112 -0
- package/dist/decorators/withBreakpointObserver.js.map +7 -0
- package/dist/decorators/withDrag.d.ts +14 -0
- package/dist/decorators/withDrag.js +36 -0
- package/dist/decorators/withDrag.js.map +7 -0
- package/dist/decorators/withExtraConfig.d.ts +8 -0
- package/dist/decorators/withExtraConfig.js.map +7 -0
- package/dist/decorators/withFreezedOptions.d.ts +10 -0
- package/dist/decorators/withFreezedOptions.js.map +7 -0
- package/dist/decorators/withGroup.d.ts +39 -0
- package/dist/decorators/withGroup.js.map +7 -0
- package/dist/decorators/withIntersectionObserver.d.ts +17 -0
- package/dist/decorators/withIntersectionObserver.js +45 -0
- package/dist/decorators/withIntersectionObserver.js.map +7 -0
- package/dist/decorators/withMountOnMediaQuery.d.ts +18 -0
- package/dist/decorators/withMountOnMediaQuery.js.map +7 -0
- package/dist/decorators/withMountWhenInView.d.ts +22 -0
- package/dist/decorators/withMountWhenInView.js.map +7 -0
- package/dist/decorators/withMountWhenPrefersMotion.d.ts +6 -0
- package/dist/decorators/withMountWhenPrefersMotion.js.map +7 -0
- package/dist/decorators/withMutation.d.ts +14 -0
- package/dist/decorators/withMutation.js +36 -0
- package/dist/decorators/withMutation.js.map +7 -0
- package/dist/decorators/withName.d.ts +6 -0
- package/dist/decorators/withName.js.map +7 -0
- package/dist/decorators/withRelativePointer.d.ts +14 -0
- package/dist/decorators/withRelativePointer.js +34 -0
- package/dist/decorators/withRelativePointer.js.map +7 -0
- package/dist/decorators/withResponsiveOptions.d.ts +9 -0
- package/dist/decorators/withResponsiveOptions.js +39 -0
- package/dist/decorators/withResponsiveOptions.js.map +7 -0
- package/dist/decorators/withScrolledInView/index.js.map +7 -0
- package/dist/decorators/withScrolledInView/utils.js +78 -0
- package/dist/decorators/withScrolledInView/utils.js.map +7 -0
- package/dist/decorators/withScrolledInView/withScrolledInView.d.ts +59 -0
- package/dist/decorators/withScrolledInView/withScrolledInView.js +176 -0
- package/dist/decorators/withScrolledInView/withScrolledInView.js.map +7 -0
- package/dist/helpers/createApp.d.ts +11 -0
- package/dist/helpers/createApp.js +38 -0
- package/dist/helpers/createApp.js.map +7 -0
- package/dist/helpers/defineFeatures.d.ts +7 -0
- package/dist/helpers/defineFeatures.js +21 -0
- package/dist/helpers/defineFeatures.js.map +7 -0
- package/dist/helpers/getClosestParent.d.ts +6 -0
- package/dist/helpers/getClosestParent.js +13 -0
- package/dist/helpers/getClosestParent.js.map +7 -0
- package/dist/helpers/getDirectChildren.d.ts +23 -0
- package/dist/helpers/getDirectChildren.js +31 -0
- package/dist/helpers/getDirectChildren.js.map +7 -0
- package/dist/helpers/getInstanceFromElement.d.ts +6 -0
- package/dist/helpers/getInstanceFromElement.js.map +7 -0
- package/dist/helpers/importOnInteraction.d.ts +19 -0
- package/dist/helpers/importOnInteraction.js +27 -0
- package/dist/helpers/importOnInteraction.js.map +7 -0
- package/dist/helpers/importOnMediaQuery.d.ts +15 -0
- package/dist/helpers/importOnMediaQuery.js +22 -0
- package/dist/helpers/importOnMediaQuery.js.map +7 -0
- package/dist/helpers/importWhenIdle.d.ts +19 -0
- package/dist/helpers/importWhenIdle.js +24 -0
- package/dist/helpers/importWhenIdle.js.map +7 -0
- package/dist/helpers/importWhenPrefersMotion.d.ts +12 -0
- package/dist/helpers/importWhenPrefersMotion.js.map +7 -0
- package/dist/helpers/importWhenVisible.d.ts +19 -0
- package/dist/helpers/importWhenVisible.js +21 -0
- package/dist/helpers/importWhenVisible.js.map +7 -0
- package/dist/helpers/index.js.map +7 -0
- package/dist/helpers/logTree.js +59 -0
- package/dist/helpers/logTree.js.map +7 -0
- package/dist/helpers/queryComponent.d.ts +28 -0
- package/dist/helpers/queryComponent.js.map +7 -0
- package/dist/helpers/registerComponent.js +30 -0
- package/dist/helpers/registerComponent.js.map +7 -0
- package/dist/helpers/registerComponents.js +21 -0
- package/dist/helpers/registerComponents.js.map +7 -0
- package/dist/helpers/utils.js +15 -0
- package/dist/helpers/utils.js.map +7 -0
- package/dist/index.js.map +7 -0
- package/dist/services/AbstractService.js.map +7 -0
- package/dist/services/DragService.d.ts +138 -0
- package/dist/services/DragService.js +227 -0
- package/dist/services/DragService.js.map +7 -0
- package/dist/services/KeyService.js.map +7 -0
- package/dist/services/LoadService.js.map +7 -0
- package/dist/services/MutationService.js.map +7 -0
- package/dist/services/PointerService.js.map +7 -0
- package/dist/services/RafService.js.map +7 -0
- package/dist/services/ResizeService.js.map +7 -0
- package/dist/services/ScrollService.js.map +7 -0
- package/dist/services/index.js.map +7 -0
- package/dist/services/utils.js.map +7 -0
- package/dist/subpaths/AbstractService.d.ts +1 -0
- package/dist/subpaths/AbstractService.js +6 -0
- package/dist/subpaths/AbstractService.js.map +7 -0
- package/dist/subpaths/AutoloadHandle.d.ts +1 -0
- package/dist/subpaths/AutoloadOptions.d.ts +1 -0
- package/dist/subpaths/AutoloadRuntime.d.ts +1 -0
- package/dist/subpaths/Base.d.ts +1 -0
- package/dist/subpaths/Base.js +6 -0
- package/dist/subpaths/Base.js.map +7 -0
- package/dist/subpaths/BaseAsyncConstructor.d.ts +1 -0
- package/dist/subpaths/BaseChildren.d.ts +1 -0
- package/dist/subpaths/BaseConfig.d.ts +1 -0
- package/dist/subpaths/BaseConfigComponents.d.ts +1 -0
- package/dist/subpaths/BaseConstructor.d.ts +1 -0
- package/dist/subpaths/BaseEl.d.ts +1 -0
- package/dist/subpaths/BaseOptions.d.ts +1 -0
- package/dist/subpaths/BaseProps.d.ts +1 -0
- package/dist/subpaths/BaseRefs.d.ts +1 -0
- package/dist/subpaths/ComponentLoadStrategy.d.ts +1 -0
- package/dist/subpaths/ComponentLoader.d.ts +1 -0
- package/dist/subpaths/ComponentLoader.js +6 -0
- package/dist/subpaths/ComponentLoader.js.map +7 -0
- package/dist/subpaths/ComponentLoaderOptions.d.ts +1 -0
- package/dist/subpaths/ComponentLoaderStartOptions.d.ts +1 -0
- package/dist/subpaths/ComponentManifest.d.ts +1 -0
- package/dist/subpaths/ComponentManifestEntry.d.ts +1 -0
- package/dist/subpaths/ComponentOverride.d.ts +1 -0
- package/dist/subpaths/CreateAppOptions.d.ts +1 -0
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.d.ts +1 -0
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js +6 -0
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js.map +7 -0
- package/dist/subpaths/DefineManifestOptions.d.ts +1 -0
- package/dist/subpaths/DragDecoratorOptions.d.ts +1 -0
- package/dist/subpaths/DragService.d.ts +1 -0
- package/dist/subpaths/DragService.js +6 -0
- package/dist/subpaths/DragService.js.map +7 -0
- package/dist/subpaths/DragServiceInterface.d.ts +1 -0
- package/dist/subpaths/DragServiceOptions.d.ts +1 -0
- package/dist/subpaths/DragServiceProps.d.ts +1 -0
- package/dist/subpaths/IDLE_TIMEOUT.d.ts +1 -0
- package/dist/subpaths/IDLE_TIMEOUT.js +6 -0
- package/dist/subpaths/IDLE_TIMEOUT.js.map +7 -0
- package/dist/subpaths/KeyService.d.ts +1 -0
- package/dist/subpaths/KeyService.js +6 -0
- package/dist/subpaths/KeyService.js.map +7 -0
- package/dist/subpaths/KeyServiceInterface.d.ts +1 -0
- package/dist/subpaths/KeyServiceProps.d.ts +1 -0
- package/dist/subpaths/LoadService.d.ts +1 -0
- package/dist/subpaths/LoadService.js +6 -0
- package/dist/subpaths/LoadService.js.map +7 -0
- package/dist/subpaths/LoadServiceInterface.d.ts +1 -0
- package/dist/subpaths/LoadServiceProps.d.ts +1 -0
- package/dist/subpaths/LoaderDependencies.d.ts +1 -0
- package/dist/subpaths/Managers.d.ts +1 -0
- package/dist/subpaths/ModuleRecord.d.ts +1 -0
- package/dist/subpaths/MutationDecoratorOptions.d.ts +1 -0
- package/dist/subpaths/MutationService.d.ts +1 -0
- package/dist/subpaths/MutationService.js +6 -0
- package/dist/subpaths/MutationService.js.map +7 -0
- package/dist/subpaths/MutationServiceInterface.d.ts +1 -0
- package/dist/subpaths/MutationServiceOptions.d.ts +1 -0
- package/dist/subpaths/MutationServiceProps.d.ts +1 -0
- package/dist/subpaths/NormalizedOffset.d.ts +1 -0
- package/dist/subpaths/OffsetValue.d.ts +1 -0
- package/dist/subpaths/PointerService.d.ts +1 -0
- package/dist/subpaths/PointerService.js +6 -0
- package/dist/subpaths/PointerService.js.map +7 -0
- package/dist/subpaths/PointerServiceInterface.d.ts +1 -0
- package/dist/subpaths/PointerServiceProps.d.ts +1 -0
- package/dist/subpaths/QueryOptions.d.ts +1 -0
- package/dist/subpaths/RafService.d.ts +1 -0
- package/dist/subpaths/RafService.js +6 -0
- package/dist/subpaths/RafService.js.map +7 -0
- package/dist/subpaths/RafServiceInterface.d.ts +1 -0
- package/dist/subpaths/RafServiceProps.d.ts +1 -0
- package/dist/subpaths/RegisterManifestOptions.d.ts +1 -0
- package/dist/subpaths/RelativePointerDecoratorOptions.d.ts +1 -0
- package/dist/subpaths/RelativePointerInterface.d.ts +1 -0
- package/dist/subpaths/ResizeService.d.ts +1 -0
- package/dist/subpaths/ResizeService.js +6 -0
- package/dist/subpaths/ResizeService.js.map +7 -0
- package/dist/subpaths/ResizeServiceInterface.d.ts +1 -0
- package/dist/subpaths/ResizeServiceProps.d.ts +1 -0
- package/dist/subpaths/ScrollInViewProps.d.ts +1 -0
- package/dist/subpaths/ScrollService.d.ts +1 -0
- package/dist/subpaths/ScrollService.js +6 -0
- package/dist/subpaths/ScrollService.js.map +7 -0
- package/dist/subpaths/ScrollServiceInterface.d.ts +1 -0
- package/dist/subpaths/ScrollServiceProps.d.ts +1 -0
- package/dist/subpaths/ServiceConfig.d.ts +1 -0
- package/dist/subpaths/ServiceInterface.d.ts +1 -0
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.d.ts +1 -0
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.js +6 -0
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.js.map +7 -0
- package/dist/subpaths/WebpackContextLike.d.ts +1 -0
- package/dist/subpaths/WithBreakpointObserverInterface.d.ts +1 -0
- package/dist/subpaths/WithBreakpointObserverProps.d.ts +1 -0
- package/dist/subpaths/WithDragInterface.d.ts +1 -0
- package/dist/subpaths/WithFreezedOptionsInterface.d.ts +1 -0
- package/dist/subpaths/WithGroupInterface.d.ts +1 -0
- package/dist/subpaths/WithGroupOptions.d.ts +1 -0
- package/dist/subpaths/WithGroupProps.d.ts +1 -0
- package/dist/subpaths/WithIntersectionObserverInterface.d.ts +1 -0
- package/dist/subpaths/WithIntersectionObserverProps.d.ts +1 -0
- package/dist/subpaths/WithMountWhenInViewInterface.d.ts +1 -0
- package/dist/subpaths/WithMountWhenInViewProps.d.ts +1 -0
- package/dist/subpaths/WithMutationInterface.d.ts +1 -0
- package/dist/subpaths/WithScrolledInViewInterface.d.ts +1 -0
- package/dist/subpaths/WithScrolledInViewOptions.d.ts +1 -0
- package/dist/subpaths/WithScrolledInViewProps.d.ts +1 -0
- package/dist/subpaths/autoload.d.ts +1 -0
- package/dist/subpaths/autoload.js +6 -0
- package/dist/subpaths/autoload.js.map +7 -0
- package/dist/subpaths/closestComponent.d.ts +1 -0
- package/dist/subpaths/closestComponent.js +6 -0
- package/dist/subpaths/closestComponent.js.map +7 -0
- package/dist/subpaths/composeManifests.d.ts +1 -0
- package/dist/subpaths/composeManifests.js +6 -0
- package/dist/subpaths/composeManifests.js.map +7 -0
- package/dist/subpaths/createApp.d.ts +1 -0
- package/dist/subpaths/createApp.js +6 -0
- package/dist/subpaths/createApp.js.map +7 -0
- package/dist/subpaths/defineFeatures.d.ts +1 -0
- package/dist/subpaths/defineFeatures.js +6 -0
- package/dist/subpaths/defineFeatures.js.map +7 -0
- package/dist/subpaths/defineManifest.d.ts +1 -0
- package/dist/subpaths/defineManifest.js +6 -0
- package/dist/subpaths/defineManifest.js.map +7 -0
- package/dist/subpaths/fromMetaGlob.d.ts +1 -0
- package/dist/subpaths/fromMetaGlob.js +6 -0
- package/dist/subpaths/fromMetaGlob.js.map +7 -0
- package/dist/subpaths/fromWebpackContext.d.ts +1 -0
- package/dist/subpaths/fromWebpackContext.js +6 -0
- package/dist/subpaths/fromWebpackContext.js.map +7 -0
- package/dist/subpaths/getClosestParent.d.ts +1 -0
- package/dist/subpaths/getClosestParent.js +6 -0
- package/dist/subpaths/getClosestParent.js.map +7 -0
- package/dist/subpaths/getDirectChildren.d.ts +1 -0
- package/dist/subpaths/getDirectChildren.js +6 -0
- package/dist/subpaths/getDirectChildren.js.map +7 -0
- package/dist/subpaths/getInstanceFromElement.d.ts +1 -0
- package/dist/subpaths/getInstanceFromElement.js +6 -0
- package/dist/subpaths/getInstanceFromElement.js.map +7 -0
- package/dist/subpaths/getInstances.d.ts +1 -0
- package/dist/subpaths/getInstances.js +6 -0
- package/dist/subpaths/getInstances.js.map +7 -0
- package/dist/subpaths/getScopedGroups.d.ts +1 -0
- package/dist/subpaths/getScopedGroups.js +6 -0
- package/dist/subpaths/getScopedGroups.js.map +7 -0
- package/dist/subpaths/importOnInteraction.d.ts +1 -0
- package/dist/subpaths/importOnInteraction.js +6 -0
- package/dist/subpaths/importOnInteraction.js.map +7 -0
- package/dist/subpaths/importOnMediaQuery.d.ts +1 -0
- package/dist/subpaths/importOnMediaQuery.js +6 -0
- package/dist/subpaths/importOnMediaQuery.js.map +7 -0
- package/dist/subpaths/importWhenIdle.d.ts +1 -0
- package/dist/subpaths/importWhenIdle.js +6 -0
- package/dist/subpaths/importWhenIdle.js.map +7 -0
- package/dist/subpaths/importWhenPrefersMotion.d.ts +1 -0
- package/dist/subpaths/importWhenPrefersMotion.js +6 -0
- package/dist/subpaths/importWhenPrefersMotion.js.map +7 -0
- package/dist/subpaths/importWhenVisible.d.ts +1 -0
- package/dist/subpaths/importWhenVisible.js +6 -0
- package/dist/subpaths/importWhenVisible.js.map +7 -0
- package/dist/subpaths/isDirectChild.d.ts +1 -0
- package/dist/subpaths/isDirectChild.js +6 -0
- package/dist/subpaths/isDirectChild.js.map +7 -0
- package/dist/subpaths/logTree.d.ts +1 -0
- package/dist/subpaths/logTree.js +6 -0
- package/dist/subpaths/logTree.js.map +7 -0
- package/dist/subpaths/queryComponent.d.ts +1 -0
- package/dist/subpaths/queryComponent.js +6 -0
- package/dist/subpaths/queryComponent.js.map +7 -0
- package/dist/subpaths/queryComponentAll.d.ts +1 -0
- package/dist/subpaths/queryComponentAll.js +6 -0
- package/dist/subpaths/queryComponentAll.js.map +7 -0
- package/dist/subpaths/readEagerTokens.d.ts +1 -0
- package/dist/subpaths/readEagerTokens.js +6 -0
- package/dist/subpaths/readEagerTokens.js.map +7 -0
- package/dist/subpaths/registerComponent.d.ts +1 -0
- package/dist/subpaths/registerComponent.js +6 -0
- package/dist/subpaths/registerComponent.js.map +7 -0
- package/dist/subpaths/registerComponents.d.ts +1 -0
- package/dist/subpaths/registerComponents.js +6 -0
- package/dist/subpaths/registerComponents.js.map +7 -0
- package/dist/subpaths/registerManifest.d.ts +1 -0
- package/dist/subpaths/registerManifest.js +6 -0
- package/dist/subpaths/registerManifest.js.map +7 -0
- package/dist/subpaths/registerManifests.d.ts +1 -0
- package/dist/subpaths/registerManifests.js +6 -0
- package/dist/subpaths/registerManifests.js.map +7 -0
- package/dist/subpaths/useDrag.d.ts +1 -0
- package/dist/subpaths/useDrag.js +6 -0
- package/dist/subpaths/useDrag.js.map +7 -0
- package/dist/subpaths/useKey.d.ts +1 -0
- package/dist/subpaths/useKey.js +6 -0
- package/dist/subpaths/useKey.js.map +7 -0
- package/dist/subpaths/useLoad.d.ts +1 -0
- package/dist/subpaths/useLoad.js +6 -0
- package/dist/subpaths/useLoad.js.map +7 -0
- package/dist/subpaths/useMutation.d.ts +1 -0
- package/dist/subpaths/useMutation.js +6 -0
- package/dist/subpaths/useMutation.js.map +7 -0
- package/dist/subpaths/usePointer.d.ts +1 -0
- package/dist/subpaths/usePointer.js +6 -0
- package/dist/subpaths/usePointer.js.map +7 -0
- package/dist/subpaths/useRaf.d.ts +1 -0
- package/dist/subpaths/useRaf.js +6 -0
- package/dist/subpaths/useRaf.js.map +7 -0
- package/dist/subpaths/useResize.d.ts +1 -0
- package/dist/subpaths/useResize.js +6 -0
- package/dist/subpaths/useResize.js.map +7 -0
- package/dist/subpaths/useScroll.d.ts +1 -0
- package/dist/subpaths/useScroll.js +6 -0
- package/dist/subpaths/useScroll.js.map +7 -0
- package/dist/subpaths/utils/Animate.1.d.ts +1 -0
- package/dist/subpaths/utils/AnimateOptions.d.ts +1 -0
- package/dist/subpaths/utils/CSSCustomPropertyName.d.ts +1 -0
- package/dist/subpaths/utils/EasingFunction.d.ts +1 -0
- package/dist/subpaths/utils/Keyframe.d.ts +1 -0
- package/dist/subpaths/utils/NormalizedKeyframe.d.ts +1 -0
- package/dist/subpaths/utils/Queue.js.map +7 -0
- package/dist/subpaths/utils/SmartQueue.js.map +7 -0
- package/dist/subpaths/utils/StorageInstance.d.ts +1 -0
- package/dist/subpaths/utils/StorageOptions.d.ts +1 -0
- package/dist/subpaths/utils/StorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/StorageSerializer.d.ts +1 -0
- package/dist/subpaths/utils/TransformProps.d.ts +1 -0
- package/dist/subpaths/utils/UrlProviderOptions.d.ts +1 -0
- package/dist/subpaths/utils/addClass.d.ts +1 -0
- package/dist/subpaths/utils/addClass.js +6 -0
- package/dist/subpaths/utils/addClass.js.map +7 -0
- package/dist/subpaths/utils/addStyle.d.ts +1 -0
- package/dist/subpaths/utils/addStyle.js +6 -0
- package/dist/subpaths/utils/addStyle.js.map +7 -0
- package/dist/subpaths/utils/animate.d.ts +1 -0
- package/dist/subpaths/utils/animate.js +6 -0
- package/dist/subpaths/utils/animate.js.map +7 -0
- package/dist/subpaths/utils/boundingRectToCircle.d.ts +1 -0
- package/dist/subpaths/utils/boundingRectToCircle.js +6 -0
- package/dist/subpaths/utils/boundingRectToCircle.js.map +7 -0
- package/dist/subpaths/utils/cache.js.map +7 -0
- package/dist/subpaths/utils/camelCase.d.ts +1 -0
- package/dist/subpaths/utils/camelCase.js +6 -0
- package/dist/subpaths/utils/camelCase.js.map +7 -0
- package/dist/subpaths/utils/clamp.d.ts +1 -0
- package/dist/subpaths/utils/clamp.js +6 -0
- package/dist/subpaths/utils/clamp.js.map +7 -0
- package/dist/subpaths/utils/clamp01.d.ts +1 -0
- package/dist/subpaths/utils/clamp01.js +6 -0
- package/dist/subpaths/utils/clamp01.js.map +7 -0
- package/dist/subpaths/utils/collideCircleCircle.d.ts +1 -0
- package/dist/subpaths/utils/collideCircleCircle.js +6 -0
- package/dist/subpaths/utils/collideCircleCircle.js.map +7 -0
- package/dist/subpaths/utils/collideCircleRect.d.ts +1 -0
- package/dist/subpaths/utils/collideCircleRect.js +6 -0
- package/dist/subpaths/utils/collideCircleRect.js.map +7 -0
- package/dist/subpaths/utils/collidePointCircle.d.ts +1 -0
- package/dist/subpaths/utils/collidePointCircle.js +6 -0
- package/dist/subpaths/utils/collidePointCircle.js.map +7 -0
- package/dist/subpaths/utils/collidePointRect.d.ts +1 -0
- package/dist/subpaths/utils/collidePointRect.js +6 -0
- package/dist/subpaths/utils/collidePointRect.js.map +7 -0
- package/dist/subpaths/utils/collideRectRect.d.ts +1 -0
- package/dist/subpaths/utils/collideRectRect.js +6 -0
- package/dist/subpaths/utils/collideRectRect.js.map +7 -0
- package/dist/subpaths/utils/createEaseInOut.d.ts +1 -0
- package/dist/subpaths/utils/createEaseInOut.js +6 -0
- package/dist/subpaths/utils/createEaseInOut.js.map +7 -0
- package/dist/subpaths/utils/createEaseOut.d.ts +1 -0
- package/dist/subpaths/utils/createEaseOut.js +6 -0
- package/dist/subpaths/utils/createEaseOut.js.map +7 -0
- package/dist/subpaths/utils/createElement.d.ts +1 -0
- package/dist/subpaths/utils/createElement.js +6 -0
- package/dist/subpaths/utils/createElement.js.map +7 -0
- package/dist/subpaths/utils/createLocalStorage.d.ts +1 -0
- package/dist/subpaths/utils/createLocalStorage.js +6 -0
- package/dist/subpaths/utils/createLocalStorage.js.map +7 -0
- package/dist/subpaths/utils/createLocalStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/createLocalStorageProvider.js +6 -0
- package/dist/subpaths/utils/createLocalStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/createMemoryStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/createMemoryStorageProvider.js +6 -0
- package/dist/subpaths/utils/createMemoryStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/createNoopProvider.d.ts +1 -0
- package/dist/subpaths/utils/createNoopProvider.js +6 -0
- package/dist/subpaths/utils/createNoopProvider.js.map +7 -0
- package/dist/subpaths/utils/createRange.d.ts +1 -0
- package/dist/subpaths/utils/createRange.js +6 -0
- package/dist/subpaths/utils/createRange.js.map +7 -0
- package/dist/subpaths/utils/createSessionStorage.d.ts +1 -0
- package/dist/subpaths/utils/createSessionStorage.js +6 -0
- package/dist/subpaths/utils/createSessionStorage.js.map +7 -0
- package/dist/subpaths/utils/createSessionStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/createSessionStorageProvider.js +6 -0
- package/dist/subpaths/utils/createSessionStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/createStorage.d.ts +1 -0
- package/dist/subpaths/utils/createStorage.js +6 -0
- package/dist/subpaths/utils/createStorage.js.map +7 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.d.ts +1 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.js +6 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.js.map +7 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.d.ts +1 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.js +6 -0
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.js.map +7 -0
- package/dist/subpaths/utils/createUrlSearchParamsProvider.d.ts +1 -0
- package/dist/subpaths/utils/createUrlSearchParamsProvider.js +6 -0
- package/dist/subpaths/utils/createUrlSearchParamsProvider.js.map +7 -0
- package/dist/subpaths/utils/createUrlSearchParamsStorage.d.ts +1 -0
- package/dist/subpaths/utils/createUrlSearchParamsStorage.js +6 -0
- package/dist/subpaths/utils/createUrlSearchParamsStorage.js.map +7 -0
- package/dist/subpaths/utils/damp.d.ts +1 -0
- package/dist/subpaths/utils/damp.js +6 -0
- package/dist/subpaths/utils/damp.js.map +7 -0
- package/dist/subpaths/utils/dashCase.d.ts +1 -0
- package/dist/subpaths/utils/dashCase.js +6 -0
- package/dist/subpaths/utils/dashCase.js.map +7 -0
- package/dist/subpaths/utils/debounce.js.map +7 -0
- package/dist/subpaths/utils/domScheduler.js.map +7 -0
- package/dist/subpaths/utils/ease.js.map +7 -0
- package/dist/subpaths/utils/easeInCirc.d.ts +1 -0
- package/dist/subpaths/utils/easeInCirc.js +6 -0
- package/dist/subpaths/utils/easeInCirc.js.map +7 -0
- package/dist/subpaths/utils/easeInCubic.d.ts +1 -0
- package/dist/subpaths/utils/easeInCubic.js +6 -0
- package/dist/subpaths/utils/easeInCubic.js.map +7 -0
- package/dist/subpaths/utils/easeInExpo.d.ts +1 -0
- package/dist/subpaths/utils/easeInExpo.js +6 -0
- package/dist/subpaths/utils/easeInExpo.js.map +7 -0
- package/dist/subpaths/utils/easeInOutCirc.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutCirc.js +6 -0
- package/dist/subpaths/utils/easeInOutCirc.js.map +7 -0
- package/dist/subpaths/utils/easeInOutCubic.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutCubic.js +6 -0
- package/dist/subpaths/utils/easeInOutCubic.js.map +7 -0
- package/dist/subpaths/utils/easeInOutExpo.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutExpo.js +6 -0
- package/dist/subpaths/utils/easeInOutExpo.js.map +7 -0
- package/dist/subpaths/utils/easeInOutQuad.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutQuad.js +6 -0
- package/dist/subpaths/utils/easeInOutQuad.js.map +7 -0
- package/dist/subpaths/utils/easeInOutQuart.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutQuart.js +6 -0
- package/dist/subpaths/utils/easeInOutQuart.js.map +7 -0
- package/dist/subpaths/utils/easeInOutQuint.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutQuint.js +6 -0
- package/dist/subpaths/utils/easeInOutQuint.js.map +7 -0
- package/dist/subpaths/utils/easeInOutSine.d.ts +1 -0
- package/dist/subpaths/utils/easeInOutSine.js +6 -0
- package/dist/subpaths/utils/easeInOutSine.js.map +7 -0
- package/dist/subpaths/utils/easeInQuad.d.ts +1 -0
- package/dist/subpaths/utils/easeInQuad.js +6 -0
- package/dist/subpaths/utils/easeInQuad.js.map +7 -0
- package/dist/subpaths/utils/easeInQuart.d.ts +1 -0
- package/dist/subpaths/utils/easeInQuart.js +6 -0
- package/dist/subpaths/utils/easeInQuart.js.map +7 -0
- package/dist/subpaths/utils/easeInQuint.d.ts +1 -0
- package/dist/subpaths/utils/easeInQuint.js +6 -0
- package/dist/subpaths/utils/easeInQuint.js.map +7 -0
- package/dist/subpaths/utils/easeInSine.d.ts +1 -0
- package/dist/subpaths/utils/easeInSine.js +6 -0
- package/dist/subpaths/utils/easeInSine.js.map +7 -0
- package/dist/subpaths/utils/easeLinear.d.ts +1 -0
- package/dist/subpaths/utils/easeLinear.js +6 -0
- package/dist/subpaths/utils/easeLinear.js.map +7 -0
- package/dist/subpaths/utils/easeOutCirc.d.ts +1 -0
- package/dist/subpaths/utils/easeOutCirc.js +6 -0
- package/dist/subpaths/utils/easeOutCirc.js.map +7 -0
- package/dist/subpaths/utils/easeOutCubic.d.ts +1 -0
- package/dist/subpaths/utils/easeOutCubic.js +6 -0
- package/dist/subpaths/utils/easeOutCubic.js.map +7 -0
- package/dist/subpaths/utils/easeOutExpo.d.ts +1 -0
- package/dist/subpaths/utils/easeOutExpo.js +6 -0
- package/dist/subpaths/utils/easeOutExpo.js.map +7 -0
- package/dist/subpaths/utils/easeOutQuad.d.ts +1 -0
- package/dist/subpaths/utils/easeOutQuad.js +6 -0
- package/dist/subpaths/utils/easeOutQuad.js.map +7 -0
- package/dist/subpaths/utils/easeOutQuart.d.ts +1 -0
- package/dist/subpaths/utils/easeOutQuart.js +6 -0
- package/dist/subpaths/utils/easeOutQuart.js.map +7 -0
- package/dist/subpaths/utils/easeOutQuint.d.ts +1 -0
- package/dist/subpaths/utils/easeOutQuint.js +6 -0
- package/dist/subpaths/utils/easeOutQuint.js.map +7 -0
- package/dist/subpaths/utils/easeOutSine.d.ts +1 -0
- package/dist/subpaths/utils/easeOutSine.js +6 -0
- package/dist/subpaths/utils/easeOutSine.js.map +7 -0
- package/dist/subpaths/utils/endsWith.d.ts +1 -0
- package/dist/subpaths/utils/endsWith.js +6 -0
- package/dist/subpaths/utils/endsWith.js.map +7 -0
- package/dist/subpaths/utils/fold.d.ts +1 -0
- package/dist/subpaths/utils/fold.js +6 -0
- package/dist/subpaths/utils/fold.js.map +7 -0
- package/dist/subpaths/utils/getAncestorWhere.d.ts +1 -0
- package/dist/subpaths/utils/getAncestorWhere.js +6 -0
- package/dist/subpaths/utils/getAncestorWhere.js.map +7 -0
- package/dist/subpaths/utils/getAncestorWhereUntil.d.ts +1 -0
- package/dist/subpaths/utils/getAncestorWhereUntil.js +6 -0
- package/dist/subpaths/utils/getAncestorWhereUntil.js.map +7 -0
- package/dist/subpaths/utils/getComponentResolver.js.map +7 -0
- package/dist/subpaths/utils/getOffsetSizes.d.ts +1 -0
- package/dist/subpaths/utils/getOffsetSizes.js +6 -0
- package/dist/subpaths/utils/getOffsetSizes.js.map +7 -0
- package/dist/subpaths/utils/hasWindow.js.map +7 -0
- package/dist/subpaths/utils/historyPush.js.map +7 -0
- package/dist/subpaths/utils/historyReplace.js.map +7 -0
- package/dist/subpaths/utils/inertiaFinalValue.d.ts +1 -0
- package/dist/subpaths/utils/inertiaFinalValue.js +6 -0
- package/dist/subpaths/utils/inertiaFinalValue.js.map +7 -0
- package/dist/subpaths/utils/isArray.js.map +7 -0
- package/dist/subpaths/utils/isBoolean.js.map +7 -0
- package/dist/subpaths/utils/isDefined.js.map +7 -0
- package/dist/subpaths/utils/isDev.js.map +7 -0
- package/dist/subpaths/utils/isEmpty.js.map +7 -0
- package/dist/subpaths/utils/isEmptyString.js.map +7 -0
- package/dist/subpaths/utils/isFunction.js.map +7 -0
- package/dist/subpaths/utils/isNull.js.map +7 -0
- package/dist/subpaths/utils/isNumber.js.map +7 -0
- package/dist/subpaths/utils/isObject.js.map +7 -0
- package/dist/subpaths/utils/isString.js.map +7 -0
- package/dist/subpaths/utils/keyCodes.js.map +7 -0
- package/dist/subpaths/utils/lerp.d.ts +1 -0
- package/dist/subpaths/utils/lerp.js +6 -0
- package/dist/subpaths/utils/lerp.js.map +7 -0
- package/dist/subpaths/utils/loadElement.js.map +7 -0
- package/dist/subpaths/utils/loadIframe.js.map +7 -0
- package/dist/subpaths/utils/loadImage.js.map +7 -0
- package/dist/subpaths/utils/loadLink.js.map +7 -0
- package/dist/subpaths/utils/loadScript.js.map +7 -0
- package/dist/subpaths/utils/localStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/localStorageProvider.js +6 -0
- package/dist/subpaths/utils/localStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/lowerCase.d.ts +1 -0
- package/dist/subpaths/utils/lowerCase.js +6 -0
- package/dist/subpaths/utils/lowerCase.js.map +7 -0
- package/dist/subpaths/utils/map.d.ts +1 -0
- package/dist/subpaths/utils/map.js +6 -0
- package/dist/subpaths/utils/map.js.map +7 -0
- package/dist/subpaths/utils/matrix.d.ts +1 -0
- package/dist/subpaths/utils/matrix.js +6 -0
- package/dist/subpaths/utils/matrix.js.map +7 -0
- package/dist/subpaths/utils/mean.d.ts +1 -0
- package/dist/subpaths/utils/mean.js +6 -0
- package/dist/subpaths/utils/mean.js.map +7 -0
- package/dist/subpaths/utils/memo.js.map +7 -0
- package/dist/subpaths/utils/memoize.js.map +7 -0
- package/dist/subpaths/utils/memoryStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/memoryStorageProvider.js +6 -0
- package/dist/subpaths/utils/memoryStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/nextFrame.js.map +7 -0
- package/dist/subpaths/utils/nextMicrotask.js.map +7 -0
- package/dist/subpaths/utils/nextTick.js.map +7 -0
- package/dist/subpaths/utils/noop.js.map +7 -0
- package/dist/subpaths/utils/noopValue.js.map +7 -0
- package/dist/subpaths/utils/objectToURLSearchParams.js.map +7 -0
- package/dist/subpaths/utils/pascalCase.d.ts +1 -0
- package/dist/subpaths/utils/pascalCase.js +6 -0
- package/dist/subpaths/utils/pascalCase.js.map +7 -0
- package/dist/subpaths/utils/random.js.map +7 -0
- package/dist/subpaths/utils/randomInt.js.map +7 -0
- package/dist/subpaths/utils/randomItem.js.map +7 -0
- package/dist/subpaths/utils/removeClass.d.ts +1 -0
- package/dist/subpaths/utils/removeClass.js +6 -0
- package/dist/subpaths/utils/removeClass.js.map +7 -0
- package/dist/subpaths/utils/removeStyle.d.ts +1 -0
- package/dist/subpaths/utils/removeStyle.js +6 -0
- package/dist/subpaths/utils/removeStyle.js.map +7 -0
- package/dist/subpaths/utils/round.d.ts +1 -0
- package/dist/subpaths/utils/round.js +6 -0
- package/dist/subpaths/utils/round.js.map +7 -0
- package/dist/subpaths/utils/saveActiveElement.js.map +7 -0
- package/dist/subpaths/utils/scrollTo.js.map +7 -0
- package/dist/subpaths/utils/sessionStorageProvider.d.ts +1 -0
- package/dist/subpaths/utils/sessionStorageProvider.js +6 -0
- package/dist/subpaths/utils/sessionStorageProvider.js.map +7 -0
- package/dist/subpaths/utils/smoothTo.d.ts +1 -0
- package/dist/subpaths/utils/smoothTo.js +6 -0
- package/dist/subpaths/utils/smoothTo.js.map +7 -0
- package/dist/subpaths/utils/snakeCase.d.ts +1 -0
- package/dist/subpaths/utils/snakeCase.js +6 -0
- package/dist/subpaths/utils/snakeCase.js.map +7 -0
- package/dist/subpaths/utils/spring.d.ts +1 -0
- package/dist/subpaths/utils/spring.js +6 -0
- package/dist/subpaths/utils/spring.js.map +7 -0
- package/dist/subpaths/utils/startsWith.d.ts +1 -0
- package/dist/subpaths/utils/startsWith.js +6 -0
- package/dist/subpaths/utils/startsWith.js.map +7 -0
- package/dist/subpaths/utils/throttle.js.map +7 -0
- package/dist/subpaths/utils/toggleClass.d.ts +1 -0
- package/dist/subpaths/utils/toggleClass.js +6 -0
- package/dist/subpaths/utils/toggleClass.js.map +7 -0
- package/dist/subpaths/utils/transform.d.ts +1 -0
- package/dist/subpaths/utils/transform.js +6 -0
- package/dist/subpaths/utils/transform.js.map +7 -0
- package/dist/subpaths/utils/transition.d.ts +1 -0
- package/dist/subpaths/utils/transition.js +6 -0
- package/dist/subpaths/utils/transition.js.map +7 -0
- package/dist/subpaths/utils/trapFocus.js.map +7 -0
- package/dist/subpaths/utils/tween.js.map +7 -0
- package/dist/subpaths/utils/untrapFocus.js.map +7 -0
- package/dist/subpaths/utils/upperCase.d.ts +1 -0
- package/dist/subpaths/utils/upperCase.js +6 -0
- package/dist/subpaths/utils/upperCase.js.map +7 -0
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.d.ts +1 -0
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.js +6 -0
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.js.map +7 -0
- package/dist/subpaths/utils/urlSearchParamsProvider.d.ts +1 -0
- package/dist/subpaths/utils/urlSearchParamsProvider.js +6 -0
- package/dist/subpaths/utils/urlSearchParamsProvider.js.map +7 -0
- package/dist/subpaths/utils/useScheduler.js.map +7 -0
- package/dist/subpaths/utils/wait.js.map +7 -0
- package/dist/subpaths/utils/withLeadingCharacters.d.ts +1 -0
- package/dist/subpaths/utils/withLeadingCharacters.js +6 -0
- package/dist/subpaths/utils/withLeadingCharacters.js.map +7 -0
- package/dist/subpaths/utils/withLeadingSlash.d.ts +1 -0
- package/dist/subpaths/utils/withLeadingSlash.js +6 -0
- package/dist/subpaths/utils/withLeadingSlash.js.map +7 -0
- package/dist/subpaths/utils/withTrailingCharacters.d.ts +1 -0
- package/dist/subpaths/utils/withTrailingCharacters.js +6 -0
- package/dist/subpaths/utils/withTrailingCharacters.js.map +7 -0
- package/dist/subpaths/utils/withTrailingSlash.d.ts +1 -0
- package/dist/subpaths/utils/withTrailingSlash.js +6 -0
- package/dist/subpaths/utils/withTrailingSlash.js.map +7 -0
- package/dist/subpaths/utils/withoutLeadingCharacters.d.ts +1 -0
- package/dist/subpaths/utils/withoutLeadingCharacters.js +6 -0
- package/dist/subpaths/utils/withoutLeadingCharacters.js.map +7 -0
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.d.ts +1 -0
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.js +6 -0
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.js.map +7 -0
- package/dist/subpaths/utils/withoutLeadingSlash.d.ts +1 -0
- package/dist/subpaths/utils/withoutLeadingSlash.js +6 -0
- package/dist/subpaths/utils/withoutLeadingSlash.js.map +7 -0
- package/dist/subpaths/utils/withoutTrailingCharacters.d.ts +1 -0
- package/dist/subpaths/utils/withoutTrailingCharacters.js +6 -0
- package/dist/subpaths/utils/withoutTrailingCharacters.js.map +7 -0
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.d.ts +1 -0
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.js +6 -0
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.js.map +7 -0
- package/dist/subpaths/utils/withoutTrailingSlash.d.ts +1 -0
- package/dist/subpaths/utils/withoutTrailingSlash.js +6 -0
- package/dist/subpaths/utils/withoutTrailingSlash.js.map +7 -0
- package/dist/subpaths/utils/wrap.d.ts +1 -0
- package/dist/subpaths/utils/wrap.js +6 -0
- package/dist/subpaths/utils/wrap.js.map +7 -0
- package/dist/subpaths/version.js.map +7 -0
- package/dist/subpaths/withBreakpointManager.d.ts +1 -0
- package/dist/subpaths/withBreakpointManager.js +6 -0
- package/dist/subpaths/withBreakpointManager.js.map +7 -0
- package/dist/subpaths/withBreakpointObserver.d.ts +1 -0
- package/dist/subpaths/withBreakpointObserver.js +6 -0
- package/dist/subpaths/withBreakpointObserver.js.map +7 -0
- package/dist/subpaths/withDrag.d.ts +1 -0
- package/dist/subpaths/withDrag.js +6 -0
- package/dist/subpaths/withDrag.js.map +7 -0
- package/dist/subpaths/withExtraConfig.d.ts +1 -0
- package/dist/subpaths/withExtraConfig.js +6 -0
- package/dist/subpaths/withExtraConfig.js.map +7 -0
- package/dist/subpaths/withFreezedOptions.d.ts +1 -0
- package/dist/subpaths/withFreezedOptions.js +6 -0
- package/dist/subpaths/withFreezedOptions.js.map +7 -0
- package/dist/subpaths/withGroup.d.ts +1 -0
- package/dist/subpaths/withGroup.js +6 -0
- package/dist/subpaths/withGroup.js.map +7 -0
- package/dist/subpaths/withIntersectionObserver.d.ts +1 -0
- package/dist/subpaths/withIntersectionObserver.js +6 -0
- package/dist/subpaths/withIntersectionObserver.js.map +7 -0
- package/dist/subpaths/withMountOnMediaQuery.d.ts +1 -0
- package/dist/subpaths/withMountOnMediaQuery.js +6 -0
- package/dist/subpaths/withMountOnMediaQuery.js.map +7 -0
- package/dist/subpaths/withMountOnMediaQueryInterface.d.ts +1 -0
- package/dist/subpaths/withMountOnMediaQueryProps.d.ts +1 -0
- package/dist/subpaths/withMountWhenInView.d.ts +1 -0
- package/dist/subpaths/withMountWhenInView.js +6 -0
- package/dist/subpaths/withMountWhenInView.js.map +7 -0
- package/dist/subpaths/withMountWhenPrefersMotion.d.ts +1 -0
- package/dist/subpaths/withMountWhenPrefersMotion.js +6 -0
- package/dist/subpaths/withMountWhenPrefersMotion.js.map +7 -0
- package/dist/subpaths/withMutation.d.ts +1 -0
- package/dist/subpaths/withMutation.js +6 -0
- package/dist/subpaths/withMutation.js.map +7 -0
- package/dist/subpaths/withName.d.ts +1 -0
- package/dist/subpaths/withName.js +6 -0
- package/dist/subpaths/withName.js.map +7 -0
- package/dist/subpaths/withRelativePointer.d.ts +1 -0
- package/dist/subpaths/withRelativePointer.js +6 -0
- package/dist/subpaths/withRelativePointer.js.map +7 -0
- package/dist/subpaths/withResponsiveOptions.d.ts +1 -0
- package/dist/subpaths/withResponsiveOptions.js +6 -0
- package/dist/subpaths/withResponsiveOptions.js.map +7 -0
- package/dist/subpaths/withScrolledInView.d.ts +1 -0
- package/dist/subpaths/withScrolledInView.js +6 -0
- package/dist/subpaths/withScrolledInView.js.map +7 -0
- package/dist/utils/Queue.js.map +7 -0
- package/dist/utils/SmartQueue.js.map +7 -0
- package/dist/utils/cache.js.map +7 -0
- package/dist/utils/collide/boundingRectToCircle.js.map +7 -0
- package/dist/utils/collide/collideCircleCircle.js.map +7 -0
- package/dist/utils/collide/collideCircleRect.js.map +7 -0
- package/dist/utils/collide/collidePointCircle.js.map +7 -0
- package/dist/utils/collide/collidePointRect.js.map +7 -0
- package/dist/utils/collide/collideRectRect.js.map +7 -0
- package/dist/utils/collide/index.js.map +7 -0
- package/dist/utils/css/animate.d.ts +46 -0
- package/dist/utils/css/animate.js +279 -0
- package/dist/utils/css/animate.js.map +7 -0
- package/dist/utils/css/classes.js.map +7 -0
- package/dist/utils/css/getOffsetSizes.js.map +7 -0
- package/dist/utils/css/index.js.map +7 -0
- package/dist/utils/css/matrix.js.map +7 -0
- package/dist/utils/css/styles.js.map +7 -0
- package/dist/utils/css/transform.js.map +7 -0
- package/dist/utils/css/transition.js.map +7 -0
- package/dist/utils/css/utils.js.map +7 -0
- package/dist/utils/debounce.js.map +7 -0
- package/dist/utils/dom/ancestors.js.map +7 -0
- package/dist/utils/dom/createElement.js.map +7 -0
- package/dist/utils/dom/index.js.map +7 -0
- package/dist/utils/getComponentResolver.js.map +7 -0
- package/dist/utils/has.js.map +7 -0
- package/dist/utils/history.js +70 -0
- package/dist/utils/history.js.map +7 -0
- package/dist/utils/index.js.map +7 -0
- package/dist/utils/is.js.map +7 -0
- package/dist/utils/keyCodes.js.map +7 -0
- package/dist/utils/loadElement.js.map +7 -0
- package/dist/utils/math/clamp.js.map +7 -0
- package/dist/utils/math/clamp01.js.map +7 -0
- package/dist/utils/math/createEases.js.map +7 -0
- package/dist/utils/math/createRange.js.map +7 -0
- package/dist/utils/math/damp.js.map +7 -0
- package/dist/utils/math/ease.js.map +7 -0
- package/dist/utils/math/fold.js.map +7 -0
- package/dist/utils/math/index.js.map +7 -0
- package/dist/utils/math/inertiaFinalValue.js.map +7 -0
- package/dist/utils/math/lerp.js.map +7 -0
- package/dist/utils/math/map.js.map +7 -0
- package/dist/utils/math/mean.js.map +7 -0
- package/dist/utils/math/round.js.map +7 -0
- package/dist/utils/math/smoothTo.js.map +7 -0
- package/dist/utils/math/spring.js.map +7 -0
- package/dist/utils/math/wrap.js.map +7 -0
- package/dist/utils/memo.js.map +7 -0
- package/dist/utils/memoize.js.map +7 -0
- package/dist/utils/nextFrame.js.map +7 -0
- package/dist/utils/nextMicrotask.js.map +7 -0
- package/dist/utils/nextTick.js.map +7 -0
- package/dist/utils/noop.js.map +7 -0
- package/dist/utils/object/getAllProperties.js.map +7 -0
- package/dist/utils/random.js.map +7 -0
- package/dist/utils/scheduler.js.map +7 -0
- package/dist/utils/scrollTo.d.ts +34 -0
- package/dist/utils/scrollTo.js +111 -0
- package/dist/utils/scrollTo.js.map +7 -0
- package/dist/utils/storage/createLocalStorageProvider.js.map +7 -0
- package/dist/utils/storage/createMemoryStorageProvider.js.map +7 -0
- package/dist/utils/storage/createNoopProvider.js.map +7 -0
- package/dist/utils/storage/createSessionStorageProvider.js.map +7 -0
- package/dist/utils/storage/createStorage.js.map +7 -0
- package/dist/utils/storage/createUrlSearchParamsInHashProvider.js.map +7 -0
- package/dist/utils/storage/createUrlSearchParamsProvider.js.map +7 -0
- package/dist/utils/storage/getBrowserContext.js.map +7 -0
- package/dist/utils/storage/getGlobalStorage.js.map +7 -0
- package/dist/utils/storage/getStorageKeys.js.map +7 -0
- package/dist/utils/storage/index.js.map +7 -0
- package/dist/utils/storage/providers.js.map +7 -0
- package/dist/utils/storage/serializers.js.map +7 -0
- package/dist/utils/storage.js.map +7 -0
- package/dist/utils/string/changeCase.js.map +7 -0
- package/dist/utils/string/endsWith.js.map +7 -0
- package/dist/utils/string/index.js.map +7 -0
- package/dist/utils/string/startsWith.js.map +7 -0
- package/dist/utils/string/withLeadingCharacters.js.map +7 -0
- package/dist/utils/string/withLeadingSlash.js.map +7 -0
- package/dist/utils/string/withTrailingCharacters.js.map +7 -0
- package/dist/utils/string/withTrailingSlash.js.map +7 -0
- package/dist/utils/string/withoutLeadingCharacters.js.map +7 -0
- package/dist/utils/string/withoutLeadingCharactersRecursive.js.map +7 -0
- package/dist/utils/string/withoutLeadingSlash.js.map +7 -0
- package/dist/utils/string/withoutTrailingCharacters.js.map +7 -0
- package/dist/utils/string/withoutTrailingCharactersRecursive.js.map +7 -0
- package/dist/utils/string/withoutTrailingSlash.js.map +7 -0
- package/dist/utils/throttle.js.map +7 -0
- package/dist/utils/trapFocus.js.map +7 -0
- package/dist/utils/tween.js +119 -0
- package/dist/utils/tween.js.map +7 -0
- package/dist/utils/wait.js.map +7 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +7 -0
- package/package.json +590 -590
- package/Base/Base.d.ts +0 -274
- package/Base/Base.js +0 -536
- package/Base/Base.js.map +0 -7
- package/Base/features.js.map +0 -7
- package/Base/index.js.map +0 -7
- package/Base/managers/AbstractManager.d.ts +0 -30
- package/Base/managers/AbstractManager.js.map +0 -7
- package/Base/managers/ChildrenManager.d.ts +0 -81
- package/Base/managers/ChildrenManager.js +0 -168
- package/Base/managers/ChildrenManager.js.map +0 -7
- package/Base/managers/EventsManager.d.ts +0 -109
- package/Base/managers/EventsManager.js +0 -253
- package/Base/managers/EventsManager.js.map +0 -7
- package/Base/managers/OptionsManager.d.ts +0 -80
- package/Base/managers/OptionsManager.js +0 -170
- package/Base/managers/OptionsManager.js.map +0 -7
- package/Base/managers/RefsManager.js +0 -104
- package/Base/managers/RefsManager.js.map +0 -7
- package/Base/managers/ResponsiveOptionsManager.d.ts +0 -34
- package/Base/managers/ResponsiveOptionsManager.js +0 -67
- package/Base/managers/ResponsiveOptionsManager.js.map +0 -7
- package/Base/managers/ServicesManager.d.ts +0 -81
- package/Base/managers/ServicesManager.js +0 -132
- package/Base/managers/ServicesManager.js.map +0 -7
- package/Base/managers/index.js.map +0 -7
- package/Base/types.d.ts +0 -1678
- package/Base/utils.d.ts +0 -54
- package/Base/utils.js +0 -170
- package/Base/utils.js.map +0 -7
- package/autoload/autoload.js.map +0 -7
- package/autoload/define-manifest.js.map +0 -7
- package/autoload/index.js.map +0 -7
- package/autoload/loader.d.ts +0 -108
- package/autoload/loader.js.map +0 -7
- package/autoload/modules.js.map +0 -7
- package/autoload/runtime.js.map +0 -7
- package/autoload/types.d.ts +0 -49
- package/decorators/index.js.map +0 -7
- package/decorators/withBreakpointManager.d.ts +0 -7
- package/decorators/withBreakpointManager.js +0 -82
- package/decorators/withBreakpointManager.js.map +0 -7
- package/decorators/withBreakpointObserver.d.ts +0 -15
- package/decorators/withBreakpointObserver.js +0 -111
- package/decorators/withBreakpointObserver.js.map +0 -7
- package/decorators/withDrag.d.ts +0 -14
- package/decorators/withDrag.js +0 -34
- package/decorators/withDrag.js.map +0 -7
- package/decorators/withExtraConfig.d.ts +0 -8
- package/decorators/withExtraConfig.js.map +0 -7
- package/decorators/withFreezedOptions.d.ts +0 -10
- package/decorators/withFreezedOptions.js.map +0 -7
- package/decorators/withGroup.d.ts +0 -39
- package/decorators/withGroup.js.map +0 -7
- package/decorators/withIntersectionObserver.d.ts +0 -17
- package/decorators/withIntersectionObserver.js +0 -45
- package/decorators/withIntersectionObserver.js.map +0 -7
- package/decorators/withMountOnMediaQuery.d.ts +0 -18
- package/decorators/withMountOnMediaQuery.js.map +0 -7
- package/decorators/withMountWhenInView.d.ts +0 -22
- package/decorators/withMountWhenInView.js.map +0 -7
- package/decorators/withMountWhenPrefersMotion.d.ts +0 -6
- package/decorators/withMountWhenPrefersMotion.js.map +0 -7
- package/decorators/withMutation.d.ts +0 -14
- package/decorators/withMutation.js +0 -34
- package/decorators/withMutation.js.map +0 -7
- package/decorators/withName.d.ts +0 -6
- package/decorators/withName.js.map +0 -7
- package/decorators/withRelativePointer.d.ts +0 -14
- package/decorators/withRelativePointer.js +0 -34
- package/decorators/withRelativePointer.js.map +0 -7
- package/decorators/withResponsiveOptions.d.ts +0 -9
- package/decorators/withResponsiveOptions.js +0 -39
- package/decorators/withResponsiveOptions.js.map +0 -7
- package/decorators/withScrolledInView/index.js.map +0 -7
- package/decorators/withScrolledInView/utils.js +0 -77
- package/decorators/withScrolledInView/utils.js.map +0 -7
- package/decorators/withScrolledInView/withScrolledInView.d.ts +0 -57
- package/decorators/withScrolledInView/withScrolledInView.js +0 -178
- package/decorators/withScrolledInView/withScrolledInView.js.map +0 -7
- package/helpers/createApp.d.ts +0 -11
- package/helpers/createApp.js +0 -38
- package/helpers/createApp.js.map +0 -7
- package/helpers/defineFeatures.d.ts +0 -7
- package/helpers/defineFeatures.js +0 -21
- package/helpers/defineFeatures.js.map +0 -7
- package/helpers/getClosestParent.d.ts +0 -6
- package/helpers/getClosestParent.js +0 -13
- package/helpers/getClosestParent.js.map +0 -7
- package/helpers/getDirectChildren.d.ts +0 -23
- package/helpers/getDirectChildren.js +0 -31
- package/helpers/getDirectChildren.js.map +0 -7
- package/helpers/getInstanceFromElement.d.ts +0 -6
- package/helpers/getInstanceFromElement.js.map +0 -7
- package/helpers/importOnInteraction.d.ts +0 -19
- package/helpers/importOnInteraction.js +0 -26
- package/helpers/importOnInteraction.js.map +0 -7
- package/helpers/importOnMediaQuery.d.ts +0 -15
- package/helpers/importOnMediaQuery.js +0 -22
- package/helpers/importOnMediaQuery.js.map +0 -7
- package/helpers/importWhenIdle.d.ts +0 -19
- package/helpers/importWhenIdle.js +0 -24
- package/helpers/importWhenIdle.js.map +0 -7
- package/helpers/importWhenPrefersMotion.d.ts +0 -12
- package/helpers/importWhenPrefersMotion.js.map +0 -7
- package/helpers/importWhenVisible.d.ts +0 -19
- package/helpers/importWhenVisible.js +0 -21
- package/helpers/importWhenVisible.js.map +0 -7
- package/helpers/index.js.map +0 -7
- package/helpers/logTree.js +0 -59
- package/helpers/logTree.js.map +0 -7
- package/helpers/queryComponent.d.ts +0 -28
- package/helpers/queryComponent.js.map +0 -7
- package/helpers/registerComponent.js +0 -30
- package/helpers/registerComponent.js.map +0 -7
- package/helpers/registerComponents.js +0 -21
- package/helpers/registerComponents.js.map +0 -7
- package/helpers/utils.js +0 -15
- package/helpers/utils.js.map +0 -7
- package/index.js.map +0 -7
- package/services/AbstractService.js.map +0 -7
- package/services/DragService.d.ts +0 -139
- package/services/DragService.js +0 -227
- package/services/DragService.js.map +0 -7
- package/services/KeyService.js.map +0 -7
- package/services/LoadService.js.map +0 -7
- package/services/MutationService.js.map +0 -7
- package/services/PointerService.js.map +0 -7
- package/services/RafService.js.map +0 -7
- package/services/ResizeService.js.map +0 -7
- package/services/ScrollService.js.map +0 -7
- package/services/index.js.map +0 -7
- package/services/utils.js.map +0 -7
- package/subpaths/AbstractService.d.ts +0 -1
- package/subpaths/AbstractService.js +0 -6
- package/subpaths/AbstractService.js.map +0 -7
- package/subpaths/AutoloadHandle.d.ts +0 -1
- package/subpaths/AutoloadOptions.d.ts +0 -1
- package/subpaths/AutoloadRuntime.d.ts +0 -1
- package/subpaths/Base.d.ts +0 -1
- package/subpaths/Base.js +0 -6
- package/subpaths/Base.js.map +0 -7
- package/subpaths/BaseAsyncConstructor.d.ts +0 -1
- package/subpaths/BaseChildren.d.ts +0 -1
- package/subpaths/BaseConfig.d.ts +0 -1
- package/subpaths/BaseConfigComponents.d.ts +0 -1
- package/subpaths/BaseConstructor.d.ts +0 -1
- package/subpaths/BaseEl.d.ts +0 -1
- package/subpaths/BaseOptions.d.ts +0 -1
- package/subpaths/BaseProps.d.ts +0 -1
- package/subpaths/BaseRefs.d.ts +0 -1
- package/subpaths/ComponentLoadStrategy.d.ts +0 -1
- package/subpaths/ComponentLoader.d.ts +0 -1
- package/subpaths/ComponentLoader.js +0 -6
- package/subpaths/ComponentLoader.js.map +0 -7
- package/subpaths/ComponentLoaderOptions.d.ts +0 -1
- package/subpaths/ComponentLoaderStartOptions.d.ts +0 -1
- package/subpaths/ComponentManifest.d.ts +0 -1
- package/subpaths/ComponentManifestEntry.d.ts +0 -1
- package/subpaths/ComponentOverride.d.ts +0 -1
- package/subpaths/CreateAppOptions.d.ts +0 -1
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.d.ts +0 -1
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js +0 -6
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js.map +0 -7
- package/subpaths/DefineManifestOptions.d.ts +0 -1
- package/subpaths/DragDecoratorOptions.d.ts +0 -1
- package/subpaths/DragService.d.ts +0 -1
- package/subpaths/DragService.js +0 -6
- package/subpaths/DragService.js.map +0 -7
- package/subpaths/DragServiceInterface.d.ts +0 -1
- package/subpaths/DragServiceOptions.d.ts +0 -1
- package/subpaths/DragServiceProps.d.ts +0 -1
- package/subpaths/IDLE_TIMEOUT.d.ts +0 -1
- package/subpaths/IDLE_TIMEOUT.js +0 -6
- package/subpaths/IDLE_TIMEOUT.js.map +0 -7
- package/subpaths/KeyService.d.ts +0 -1
- package/subpaths/KeyService.js +0 -6
- package/subpaths/KeyService.js.map +0 -7
- package/subpaths/KeyServiceInterface.d.ts +0 -1
- package/subpaths/KeyServiceProps.d.ts +0 -1
- package/subpaths/LoadService.d.ts +0 -1
- package/subpaths/LoadService.js +0 -6
- package/subpaths/LoadService.js.map +0 -7
- package/subpaths/LoadServiceInterface.d.ts +0 -1
- package/subpaths/LoadServiceProps.d.ts +0 -1
- package/subpaths/LoaderDependencies.d.ts +0 -1
- package/subpaths/Managers.d.ts +0 -1
- package/subpaths/ModuleRecord.d.ts +0 -1
- package/subpaths/MutationDecoratorOptions.d.ts +0 -1
- package/subpaths/MutationService.d.ts +0 -1
- package/subpaths/MutationService.js +0 -6
- package/subpaths/MutationService.js.map +0 -7
- package/subpaths/MutationServiceInterface.d.ts +0 -1
- package/subpaths/MutationServiceOptions.d.ts +0 -1
- package/subpaths/MutationServiceProps.d.ts +0 -1
- package/subpaths/NormalizedOffset.d.ts +0 -1
- package/subpaths/OffsetValue.d.ts +0 -1
- package/subpaths/PointerService.d.ts +0 -1
- package/subpaths/PointerService.js +0 -6
- package/subpaths/PointerService.js.map +0 -7
- package/subpaths/PointerServiceInterface.d.ts +0 -1
- package/subpaths/PointerServiceProps.d.ts +0 -1
- package/subpaths/QueryOptions.d.ts +0 -1
- package/subpaths/RafService.d.ts +0 -1
- package/subpaths/RafService.js +0 -6
- package/subpaths/RafService.js.map +0 -7
- package/subpaths/RafServiceInterface.d.ts +0 -1
- package/subpaths/RafServiceProps.d.ts +0 -1
- package/subpaths/RegisterManifestOptions.d.ts +0 -1
- package/subpaths/RelativePointerDecoratorOptions.d.ts +0 -1
- package/subpaths/RelativePointerInterface.d.ts +0 -1
- package/subpaths/ResizeService.d.ts +0 -1
- package/subpaths/ResizeService.js +0 -6
- package/subpaths/ResizeService.js.map +0 -7
- package/subpaths/ResizeServiceInterface.d.ts +0 -1
- package/subpaths/ResizeServiceProps.d.ts +0 -1
- package/subpaths/ScrollInViewProps.d.ts +0 -1
- package/subpaths/ScrollService.d.ts +0 -1
- package/subpaths/ScrollService.js +0 -6
- package/subpaths/ScrollService.js.map +0 -7
- package/subpaths/ScrollServiceInterface.d.ts +0 -1
- package/subpaths/ScrollServiceProps.d.ts +0 -1
- package/subpaths/ServiceConfig.d.ts +0 -1
- package/subpaths/ServiceInterface.d.ts +0 -1
- package/subpaths/VISIBLE_ROOT_MARGIN.d.ts +0 -1
- package/subpaths/VISIBLE_ROOT_MARGIN.js +0 -6
- package/subpaths/VISIBLE_ROOT_MARGIN.js.map +0 -7
- package/subpaths/WebpackContextLike.d.ts +0 -1
- package/subpaths/WithBreakpointObserverInterface.d.ts +0 -1
- package/subpaths/WithBreakpointObserverProps.d.ts +0 -1
- package/subpaths/WithDragInterface.d.ts +0 -1
- package/subpaths/WithFreezedOptionsInterface.d.ts +0 -1
- package/subpaths/WithGroupInterface.d.ts +0 -1
- package/subpaths/WithGroupOptions.d.ts +0 -1
- package/subpaths/WithGroupProps.d.ts +0 -1
- package/subpaths/WithIntersectionObserverInterface.d.ts +0 -1
- package/subpaths/WithIntersectionObserverProps.d.ts +0 -1
- package/subpaths/WithMountWhenInViewInterface.d.ts +0 -1
- package/subpaths/WithMountWhenInViewProps.d.ts +0 -1
- package/subpaths/WithMutationInterface.d.ts +0 -1
- package/subpaths/WithScrolledInViewInterface.d.ts +0 -1
- package/subpaths/WithScrolledInViewOptions.d.ts +0 -1
- package/subpaths/WithScrolledInViewProps.d.ts +0 -1
- package/subpaths/autoload.d.ts +0 -1
- package/subpaths/autoload.js +0 -6
- package/subpaths/autoload.js.map +0 -7
- package/subpaths/closestComponent.d.ts +0 -1
- package/subpaths/closestComponent.js +0 -6
- package/subpaths/closestComponent.js.map +0 -7
- package/subpaths/composeManifests.d.ts +0 -1
- package/subpaths/composeManifests.js +0 -6
- package/subpaths/composeManifests.js.map +0 -7
- package/subpaths/createApp.d.ts +0 -1
- package/subpaths/createApp.js +0 -6
- package/subpaths/createApp.js.map +0 -7
- package/subpaths/defineFeatures.d.ts +0 -1
- package/subpaths/defineFeatures.js +0 -6
- package/subpaths/defineFeatures.js.map +0 -7
- package/subpaths/defineManifest.d.ts +0 -1
- package/subpaths/defineManifest.js +0 -6
- package/subpaths/defineManifest.js.map +0 -7
- package/subpaths/fromMetaGlob.d.ts +0 -1
- package/subpaths/fromMetaGlob.js +0 -6
- package/subpaths/fromMetaGlob.js.map +0 -7
- package/subpaths/fromWebpackContext.d.ts +0 -1
- package/subpaths/fromWebpackContext.js +0 -6
- package/subpaths/fromWebpackContext.js.map +0 -7
- package/subpaths/getClosestParent.d.ts +0 -1
- package/subpaths/getClosestParent.js +0 -6
- package/subpaths/getClosestParent.js.map +0 -7
- package/subpaths/getDirectChildren.d.ts +0 -1
- package/subpaths/getDirectChildren.js +0 -6
- package/subpaths/getDirectChildren.js.map +0 -7
- package/subpaths/getInstanceFromElement.d.ts +0 -1
- package/subpaths/getInstanceFromElement.js +0 -6
- package/subpaths/getInstanceFromElement.js.map +0 -7
- package/subpaths/getInstances.d.ts +0 -1
- package/subpaths/getInstances.js +0 -6
- package/subpaths/getInstances.js.map +0 -7
- package/subpaths/getScopedGroups.d.ts +0 -1
- package/subpaths/getScopedGroups.js +0 -6
- package/subpaths/getScopedGroups.js.map +0 -7
- package/subpaths/importOnInteraction.d.ts +0 -1
- package/subpaths/importOnInteraction.js +0 -6
- package/subpaths/importOnInteraction.js.map +0 -7
- package/subpaths/importOnMediaQuery.d.ts +0 -1
- package/subpaths/importOnMediaQuery.js +0 -6
- package/subpaths/importOnMediaQuery.js.map +0 -7
- package/subpaths/importWhenIdle.d.ts +0 -1
- package/subpaths/importWhenIdle.js +0 -6
- package/subpaths/importWhenIdle.js.map +0 -7
- package/subpaths/importWhenPrefersMotion.d.ts +0 -1
- package/subpaths/importWhenPrefersMotion.js +0 -6
- package/subpaths/importWhenPrefersMotion.js.map +0 -7
- package/subpaths/importWhenVisible.d.ts +0 -1
- package/subpaths/importWhenVisible.js +0 -6
- package/subpaths/importWhenVisible.js.map +0 -7
- package/subpaths/isDirectChild.d.ts +0 -1
- package/subpaths/isDirectChild.js +0 -6
- package/subpaths/isDirectChild.js.map +0 -7
- package/subpaths/logTree.d.ts +0 -1
- package/subpaths/logTree.js +0 -6
- package/subpaths/logTree.js.map +0 -7
- package/subpaths/queryComponent.d.ts +0 -1
- package/subpaths/queryComponent.js +0 -6
- package/subpaths/queryComponent.js.map +0 -7
- package/subpaths/queryComponentAll.d.ts +0 -1
- package/subpaths/queryComponentAll.js +0 -6
- package/subpaths/queryComponentAll.js.map +0 -7
- package/subpaths/readEagerTokens.d.ts +0 -1
- package/subpaths/readEagerTokens.js +0 -6
- package/subpaths/readEagerTokens.js.map +0 -7
- package/subpaths/registerComponent.d.ts +0 -1
- package/subpaths/registerComponent.js +0 -6
- package/subpaths/registerComponent.js.map +0 -7
- package/subpaths/registerComponents.d.ts +0 -1
- package/subpaths/registerComponents.js +0 -6
- package/subpaths/registerComponents.js.map +0 -7
- package/subpaths/registerManifest.d.ts +0 -1
- package/subpaths/registerManifest.js +0 -6
- package/subpaths/registerManifest.js.map +0 -7
- package/subpaths/registerManifests.d.ts +0 -1
- package/subpaths/registerManifests.js +0 -6
- package/subpaths/registerManifests.js.map +0 -7
- package/subpaths/useDrag.d.ts +0 -1
- package/subpaths/useDrag.js +0 -6
- package/subpaths/useDrag.js.map +0 -7
- package/subpaths/useKey.d.ts +0 -1
- package/subpaths/useKey.js +0 -6
- package/subpaths/useKey.js.map +0 -7
- package/subpaths/useLoad.d.ts +0 -1
- package/subpaths/useLoad.js +0 -6
- package/subpaths/useLoad.js.map +0 -7
- package/subpaths/useMutation.d.ts +0 -1
- package/subpaths/useMutation.js +0 -6
- package/subpaths/useMutation.js.map +0 -7
- package/subpaths/usePointer.d.ts +0 -1
- package/subpaths/usePointer.js +0 -6
- package/subpaths/usePointer.js.map +0 -7
- package/subpaths/useRaf.d.ts +0 -1
- package/subpaths/useRaf.js +0 -6
- package/subpaths/useRaf.js.map +0 -7
- package/subpaths/useResize.d.ts +0 -1
- package/subpaths/useResize.js +0 -6
- package/subpaths/useResize.js.map +0 -7
- package/subpaths/useScroll.d.ts +0 -1
- package/subpaths/useScroll.js +0 -6
- package/subpaths/useScroll.js.map +0 -7
- package/subpaths/utils/Animate.1.d.ts +0 -1
- package/subpaths/utils/AnimateOptions.d.ts +0 -1
- package/subpaths/utils/CSSCustomPropertyName.d.ts +0 -1
- package/subpaths/utils/EasingFunction.d.ts +0 -1
- package/subpaths/utils/Keyframe.d.ts +0 -1
- package/subpaths/utils/NormalizedKeyframe.d.ts +0 -1
- package/subpaths/utils/Queue.js.map +0 -7
- package/subpaths/utils/SmartQueue.js.map +0 -7
- package/subpaths/utils/StorageInstance.d.ts +0 -1
- package/subpaths/utils/StorageOptions.d.ts +0 -1
- package/subpaths/utils/StorageProvider.d.ts +0 -1
- package/subpaths/utils/StorageSerializer.d.ts +0 -1
- package/subpaths/utils/TransformProps.d.ts +0 -1
- package/subpaths/utils/UrlProviderOptions.d.ts +0 -1
- package/subpaths/utils/addClass.d.ts +0 -1
- package/subpaths/utils/addClass.js +0 -6
- package/subpaths/utils/addClass.js.map +0 -7
- package/subpaths/utils/addStyle.d.ts +0 -1
- package/subpaths/utils/addStyle.js +0 -6
- package/subpaths/utils/addStyle.js.map +0 -7
- package/subpaths/utils/animate.d.ts +0 -1
- package/subpaths/utils/animate.js +0 -6
- package/subpaths/utils/animate.js.map +0 -7
- package/subpaths/utils/boundingRectToCircle.d.ts +0 -1
- package/subpaths/utils/boundingRectToCircle.js +0 -6
- package/subpaths/utils/boundingRectToCircle.js.map +0 -7
- package/subpaths/utils/cache.js.map +0 -7
- package/subpaths/utils/camelCase.d.ts +0 -1
- package/subpaths/utils/camelCase.js +0 -6
- package/subpaths/utils/camelCase.js.map +0 -7
- package/subpaths/utils/clamp.d.ts +0 -1
- package/subpaths/utils/clamp.js +0 -6
- package/subpaths/utils/clamp.js.map +0 -7
- package/subpaths/utils/clamp01.d.ts +0 -1
- package/subpaths/utils/clamp01.js +0 -6
- package/subpaths/utils/clamp01.js.map +0 -7
- package/subpaths/utils/collideCircleCircle.d.ts +0 -1
- package/subpaths/utils/collideCircleCircle.js +0 -6
- package/subpaths/utils/collideCircleCircle.js.map +0 -7
- package/subpaths/utils/collideCircleRect.d.ts +0 -1
- package/subpaths/utils/collideCircleRect.js +0 -6
- package/subpaths/utils/collideCircleRect.js.map +0 -7
- package/subpaths/utils/collidePointCircle.d.ts +0 -1
- package/subpaths/utils/collidePointCircle.js +0 -6
- package/subpaths/utils/collidePointCircle.js.map +0 -7
- package/subpaths/utils/collidePointRect.d.ts +0 -1
- package/subpaths/utils/collidePointRect.js +0 -6
- package/subpaths/utils/collidePointRect.js.map +0 -7
- package/subpaths/utils/collideRectRect.d.ts +0 -1
- package/subpaths/utils/collideRectRect.js +0 -6
- package/subpaths/utils/collideRectRect.js.map +0 -7
- package/subpaths/utils/createEaseInOut.d.ts +0 -1
- package/subpaths/utils/createEaseInOut.js +0 -6
- package/subpaths/utils/createEaseInOut.js.map +0 -7
- package/subpaths/utils/createEaseOut.d.ts +0 -1
- package/subpaths/utils/createEaseOut.js +0 -6
- package/subpaths/utils/createEaseOut.js.map +0 -7
- package/subpaths/utils/createElement.d.ts +0 -1
- package/subpaths/utils/createElement.js +0 -6
- package/subpaths/utils/createElement.js.map +0 -7
- package/subpaths/utils/createLocalStorage.d.ts +0 -1
- package/subpaths/utils/createLocalStorage.js +0 -6
- package/subpaths/utils/createLocalStorage.js.map +0 -7
- package/subpaths/utils/createLocalStorageProvider.d.ts +0 -1
- package/subpaths/utils/createLocalStorageProvider.js +0 -6
- package/subpaths/utils/createLocalStorageProvider.js.map +0 -7
- package/subpaths/utils/createMemoryStorageProvider.d.ts +0 -1
- package/subpaths/utils/createMemoryStorageProvider.js +0 -6
- package/subpaths/utils/createMemoryStorageProvider.js.map +0 -7
- package/subpaths/utils/createNoopProvider.d.ts +0 -1
- package/subpaths/utils/createNoopProvider.js +0 -6
- package/subpaths/utils/createNoopProvider.js.map +0 -7
- package/subpaths/utils/createRange.d.ts +0 -1
- package/subpaths/utils/createRange.js +0 -6
- package/subpaths/utils/createRange.js.map +0 -7
- package/subpaths/utils/createSessionStorage.d.ts +0 -1
- package/subpaths/utils/createSessionStorage.js +0 -6
- package/subpaths/utils/createSessionStorage.js.map +0 -7
- package/subpaths/utils/createSessionStorageProvider.d.ts +0 -1
- package/subpaths/utils/createSessionStorageProvider.js +0 -6
- package/subpaths/utils/createSessionStorageProvider.js.map +0 -7
- package/subpaths/utils/createStorage.d.ts +0 -1
- package/subpaths/utils/createStorage.js +0 -6
- package/subpaths/utils/createStorage.js.map +0 -7
- package/subpaths/utils/createUrlSearchParamsInHashProvider.d.ts +0 -1
- package/subpaths/utils/createUrlSearchParamsInHashProvider.js +0 -6
- package/subpaths/utils/createUrlSearchParamsInHashProvider.js.map +0 -7
- package/subpaths/utils/createUrlSearchParamsInHashStorage.d.ts +0 -1
- package/subpaths/utils/createUrlSearchParamsInHashStorage.js +0 -6
- package/subpaths/utils/createUrlSearchParamsInHashStorage.js.map +0 -7
- package/subpaths/utils/createUrlSearchParamsProvider.d.ts +0 -1
- package/subpaths/utils/createUrlSearchParamsProvider.js +0 -6
- package/subpaths/utils/createUrlSearchParamsProvider.js.map +0 -7
- package/subpaths/utils/createUrlSearchParamsStorage.d.ts +0 -1
- package/subpaths/utils/createUrlSearchParamsStorage.js +0 -6
- package/subpaths/utils/createUrlSearchParamsStorage.js.map +0 -7
- package/subpaths/utils/damp.d.ts +0 -1
- package/subpaths/utils/damp.js +0 -6
- package/subpaths/utils/damp.js.map +0 -7
- package/subpaths/utils/dashCase.d.ts +0 -1
- package/subpaths/utils/dashCase.js +0 -6
- package/subpaths/utils/dashCase.js.map +0 -7
- package/subpaths/utils/debounce.js.map +0 -7
- package/subpaths/utils/domScheduler.js.map +0 -7
- package/subpaths/utils/ease.js.map +0 -7
- package/subpaths/utils/easeInCirc.d.ts +0 -1
- package/subpaths/utils/easeInCirc.js +0 -6
- package/subpaths/utils/easeInCirc.js.map +0 -7
- package/subpaths/utils/easeInCubic.d.ts +0 -1
- package/subpaths/utils/easeInCubic.js +0 -6
- package/subpaths/utils/easeInCubic.js.map +0 -7
- package/subpaths/utils/easeInExpo.d.ts +0 -1
- package/subpaths/utils/easeInExpo.js +0 -6
- package/subpaths/utils/easeInExpo.js.map +0 -7
- package/subpaths/utils/easeInOutCirc.d.ts +0 -1
- package/subpaths/utils/easeInOutCirc.js +0 -6
- package/subpaths/utils/easeInOutCirc.js.map +0 -7
- package/subpaths/utils/easeInOutCubic.d.ts +0 -1
- package/subpaths/utils/easeInOutCubic.js +0 -6
- package/subpaths/utils/easeInOutCubic.js.map +0 -7
- package/subpaths/utils/easeInOutExpo.d.ts +0 -1
- package/subpaths/utils/easeInOutExpo.js +0 -6
- package/subpaths/utils/easeInOutExpo.js.map +0 -7
- package/subpaths/utils/easeInOutQuad.d.ts +0 -1
- package/subpaths/utils/easeInOutQuad.js +0 -6
- package/subpaths/utils/easeInOutQuad.js.map +0 -7
- package/subpaths/utils/easeInOutQuart.d.ts +0 -1
- package/subpaths/utils/easeInOutQuart.js +0 -6
- package/subpaths/utils/easeInOutQuart.js.map +0 -7
- package/subpaths/utils/easeInOutQuint.d.ts +0 -1
- package/subpaths/utils/easeInOutQuint.js +0 -6
- package/subpaths/utils/easeInOutQuint.js.map +0 -7
- package/subpaths/utils/easeInOutSine.d.ts +0 -1
- package/subpaths/utils/easeInOutSine.js +0 -6
- package/subpaths/utils/easeInOutSine.js.map +0 -7
- package/subpaths/utils/easeInQuad.d.ts +0 -1
- package/subpaths/utils/easeInQuad.js +0 -6
- package/subpaths/utils/easeInQuad.js.map +0 -7
- package/subpaths/utils/easeInQuart.d.ts +0 -1
- package/subpaths/utils/easeInQuart.js +0 -6
- package/subpaths/utils/easeInQuart.js.map +0 -7
- package/subpaths/utils/easeInQuint.d.ts +0 -1
- package/subpaths/utils/easeInQuint.js +0 -6
- package/subpaths/utils/easeInQuint.js.map +0 -7
- package/subpaths/utils/easeInSine.d.ts +0 -1
- package/subpaths/utils/easeInSine.js +0 -6
- package/subpaths/utils/easeInSine.js.map +0 -7
- package/subpaths/utils/easeLinear.d.ts +0 -1
- package/subpaths/utils/easeLinear.js +0 -6
- package/subpaths/utils/easeLinear.js.map +0 -7
- package/subpaths/utils/easeOutCirc.d.ts +0 -1
- package/subpaths/utils/easeOutCirc.js +0 -6
- package/subpaths/utils/easeOutCirc.js.map +0 -7
- package/subpaths/utils/easeOutCubic.d.ts +0 -1
- package/subpaths/utils/easeOutCubic.js +0 -6
- package/subpaths/utils/easeOutCubic.js.map +0 -7
- package/subpaths/utils/easeOutExpo.d.ts +0 -1
- package/subpaths/utils/easeOutExpo.js +0 -6
- package/subpaths/utils/easeOutExpo.js.map +0 -7
- package/subpaths/utils/easeOutQuad.d.ts +0 -1
- package/subpaths/utils/easeOutQuad.js +0 -6
- package/subpaths/utils/easeOutQuad.js.map +0 -7
- package/subpaths/utils/easeOutQuart.d.ts +0 -1
- package/subpaths/utils/easeOutQuart.js +0 -6
- package/subpaths/utils/easeOutQuart.js.map +0 -7
- package/subpaths/utils/easeOutQuint.d.ts +0 -1
- package/subpaths/utils/easeOutQuint.js +0 -6
- package/subpaths/utils/easeOutQuint.js.map +0 -7
- package/subpaths/utils/easeOutSine.d.ts +0 -1
- package/subpaths/utils/easeOutSine.js +0 -6
- package/subpaths/utils/easeOutSine.js.map +0 -7
- package/subpaths/utils/endsWith.d.ts +0 -1
- package/subpaths/utils/endsWith.js +0 -6
- package/subpaths/utils/endsWith.js.map +0 -7
- package/subpaths/utils/fold.d.ts +0 -1
- package/subpaths/utils/fold.js +0 -6
- package/subpaths/utils/fold.js.map +0 -7
- package/subpaths/utils/getAncestorWhere.d.ts +0 -1
- package/subpaths/utils/getAncestorWhere.js +0 -6
- package/subpaths/utils/getAncestorWhere.js.map +0 -7
- package/subpaths/utils/getAncestorWhereUntil.d.ts +0 -1
- package/subpaths/utils/getAncestorWhereUntil.js +0 -6
- package/subpaths/utils/getAncestorWhereUntil.js.map +0 -7
- package/subpaths/utils/getComponentResolver.js.map +0 -7
- package/subpaths/utils/getOffsetSizes.d.ts +0 -1
- package/subpaths/utils/getOffsetSizes.js +0 -6
- package/subpaths/utils/getOffsetSizes.js.map +0 -7
- package/subpaths/utils/hasWindow.js.map +0 -7
- package/subpaths/utils/historyPush.js.map +0 -7
- package/subpaths/utils/historyReplace.js.map +0 -7
- package/subpaths/utils/inertiaFinalValue.d.ts +0 -1
- package/subpaths/utils/inertiaFinalValue.js +0 -6
- package/subpaths/utils/inertiaFinalValue.js.map +0 -7
- package/subpaths/utils/isArray.js.map +0 -7
- package/subpaths/utils/isBoolean.js.map +0 -7
- package/subpaths/utils/isDefined.js.map +0 -7
- package/subpaths/utils/isDev.js.map +0 -7
- package/subpaths/utils/isEmpty.js.map +0 -7
- package/subpaths/utils/isEmptyString.js.map +0 -7
- package/subpaths/utils/isFunction.js.map +0 -7
- package/subpaths/utils/isNull.js.map +0 -7
- package/subpaths/utils/isNumber.js.map +0 -7
- package/subpaths/utils/isObject.js.map +0 -7
- package/subpaths/utils/isString.js.map +0 -7
- package/subpaths/utils/keyCodes.js.map +0 -7
- package/subpaths/utils/lerp.d.ts +0 -1
- package/subpaths/utils/lerp.js +0 -6
- package/subpaths/utils/lerp.js.map +0 -7
- package/subpaths/utils/loadElement.js.map +0 -7
- package/subpaths/utils/loadIframe.js.map +0 -7
- package/subpaths/utils/loadImage.js.map +0 -7
- package/subpaths/utils/loadLink.js.map +0 -7
- package/subpaths/utils/loadScript.js.map +0 -7
- package/subpaths/utils/localStorageProvider.d.ts +0 -1
- package/subpaths/utils/localStorageProvider.js +0 -6
- package/subpaths/utils/localStorageProvider.js.map +0 -7
- package/subpaths/utils/lowerCase.d.ts +0 -1
- package/subpaths/utils/lowerCase.js +0 -6
- package/subpaths/utils/lowerCase.js.map +0 -7
- package/subpaths/utils/map.d.ts +0 -1
- package/subpaths/utils/map.js +0 -6
- package/subpaths/utils/map.js.map +0 -7
- package/subpaths/utils/matrix.d.ts +0 -1
- package/subpaths/utils/matrix.js +0 -6
- package/subpaths/utils/matrix.js.map +0 -7
- package/subpaths/utils/mean.d.ts +0 -1
- package/subpaths/utils/mean.js +0 -6
- package/subpaths/utils/mean.js.map +0 -7
- package/subpaths/utils/memo.js.map +0 -7
- package/subpaths/utils/memoize.js.map +0 -7
- package/subpaths/utils/memoryStorageProvider.d.ts +0 -1
- package/subpaths/utils/memoryStorageProvider.js +0 -6
- package/subpaths/utils/memoryStorageProvider.js.map +0 -7
- package/subpaths/utils/nextFrame.js.map +0 -7
- package/subpaths/utils/nextMicrotask.js.map +0 -7
- package/subpaths/utils/nextTick.js.map +0 -7
- package/subpaths/utils/noop.js.map +0 -7
- package/subpaths/utils/noopValue.js.map +0 -7
- package/subpaths/utils/objectToURLSearchParams.js.map +0 -7
- package/subpaths/utils/pascalCase.d.ts +0 -1
- package/subpaths/utils/pascalCase.js +0 -6
- package/subpaths/utils/pascalCase.js.map +0 -7
- package/subpaths/utils/random.js.map +0 -7
- package/subpaths/utils/randomInt.js.map +0 -7
- package/subpaths/utils/randomItem.js.map +0 -7
- package/subpaths/utils/removeClass.d.ts +0 -1
- package/subpaths/utils/removeClass.js +0 -6
- package/subpaths/utils/removeClass.js.map +0 -7
- package/subpaths/utils/removeStyle.d.ts +0 -1
- package/subpaths/utils/removeStyle.js +0 -6
- package/subpaths/utils/removeStyle.js.map +0 -7
- package/subpaths/utils/round.d.ts +0 -1
- package/subpaths/utils/round.js +0 -6
- package/subpaths/utils/round.js.map +0 -7
- package/subpaths/utils/saveActiveElement.js.map +0 -7
- package/subpaths/utils/scrollTo.js.map +0 -7
- package/subpaths/utils/sessionStorageProvider.d.ts +0 -1
- package/subpaths/utils/sessionStorageProvider.js +0 -6
- package/subpaths/utils/sessionStorageProvider.js.map +0 -7
- package/subpaths/utils/smoothTo.d.ts +0 -1
- package/subpaths/utils/smoothTo.js +0 -6
- package/subpaths/utils/smoothTo.js.map +0 -7
- package/subpaths/utils/snakeCase.d.ts +0 -1
- package/subpaths/utils/snakeCase.js +0 -6
- package/subpaths/utils/snakeCase.js.map +0 -7
- package/subpaths/utils/spring.d.ts +0 -1
- package/subpaths/utils/spring.js +0 -6
- package/subpaths/utils/spring.js.map +0 -7
- package/subpaths/utils/startsWith.d.ts +0 -1
- package/subpaths/utils/startsWith.js +0 -6
- package/subpaths/utils/startsWith.js.map +0 -7
- package/subpaths/utils/throttle.js.map +0 -7
- package/subpaths/utils/toggleClass.d.ts +0 -1
- package/subpaths/utils/toggleClass.js +0 -6
- package/subpaths/utils/toggleClass.js.map +0 -7
- package/subpaths/utils/transform.d.ts +0 -1
- package/subpaths/utils/transform.js +0 -6
- package/subpaths/utils/transform.js.map +0 -7
- package/subpaths/utils/transition.d.ts +0 -1
- package/subpaths/utils/transition.js +0 -6
- package/subpaths/utils/transition.js.map +0 -7
- package/subpaths/utils/trapFocus.js.map +0 -7
- package/subpaths/utils/tween.js.map +0 -7
- package/subpaths/utils/untrapFocus.js.map +0 -7
- package/subpaths/utils/upperCase.d.ts +0 -1
- package/subpaths/utils/upperCase.js +0 -6
- package/subpaths/utils/upperCase.js.map +0 -7
- package/subpaths/utils/urlSearchParamsInHashProvider.d.ts +0 -1
- package/subpaths/utils/urlSearchParamsInHashProvider.js +0 -6
- package/subpaths/utils/urlSearchParamsInHashProvider.js.map +0 -7
- package/subpaths/utils/urlSearchParamsProvider.d.ts +0 -1
- package/subpaths/utils/urlSearchParamsProvider.js +0 -6
- package/subpaths/utils/urlSearchParamsProvider.js.map +0 -7
- package/subpaths/utils/useScheduler.js.map +0 -7
- package/subpaths/utils/wait.js.map +0 -7
- package/subpaths/utils/withLeadingCharacters.d.ts +0 -1
- package/subpaths/utils/withLeadingCharacters.js +0 -6
- package/subpaths/utils/withLeadingCharacters.js.map +0 -7
- package/subpaths/utils/withLeadingSlash.d.ts +0 -1
- package/subpaths/utils/withLeadingSlash.js +0 -6
- package/subpaths/utils/withLeadingSlash.js.map +0 -7
- package/subpaths/utils/withTrailingCharacters.d.ts +0 -1
- package/subpaths/utils/withTrailingCharacters.js +0 -6
- package/subpaths/utils/withTrailingCharacters.js.map +0 -7
- package/subpaths/utils/withTrailingSlash.d.ts +0 -1
- package/subpaths/utils/withTrailingSlash.js +0 -6
- package/subpaths/utils/withTrailingSlash.js.map +0 -7
- package/subpaths/utils/withoutLeadingCharacters.d.ts +0 -1
- package/subpaths/utils/withoutLeadingCharacters.js +0 -6
- package/subpaths/utils/withoutLeadingCharacters.js.map +0 -7
- package/subpaths/utils/withoutLeadingCharactersRecursive.d.ts +0 -1
- package/subpaths/utils/withoutLeadingCharactersRecursive.js +0 -6
- package/subpaths/utils/withoutLeadingCharactersRecursive.js.map +0 -7
- package/subpaths/utils/withoutLeadingSlash.d.ts +0 -1
- package/subpaths/utils/withoutLeadingSlash.js +0 -6
- package/subpaths/utils/withoutLeadingSlash.js.map +0 -7
- package/subpaths/utils/withoutTrailingCharacters.d.ts +0 -1
- package/subpaths/utils/withoutTrailingCharacters.js +0 -6
- package/subpaths/utils/withoutTrailingCharacters.js.map +0 -7
- package/subpaths/utils/withoutTrailingCharactersRecursive.d.ts +0 -1
- package/subpaths/utils/withoutTrailingCharactersRecursive.js +0 -6
- package/subpaths/utils/withoutTrailingCharactersRecursive.js.map +0 -7
- package/subpaths/utils/withoutTrailingSlash.d.ts +0 -1
- package/subpaths/utils/withoutTrailingSlash.js +0 -6
- package/subpaths/utils/withoutTrailingSlash.js.map +0 -7
- package/subpaths/utils/wrap.d.ts +0 -1
- package/subpaths/utils/wrap.js +0 -6
- package/subpaths/utils/wrap.js.map +0 -7
- package/subpaths/version.js.map +0 -7
- package/subpaths/withBreakpointManager.d.ts +0 -1
- package/subpaths/withBreakpointManager.js +0 -6
- package/subpaths/withBreakpointManager.js.map +0 -7
- package/subpaths/withBreakpointObserver.d.ts +0 -1
- package/subpaths/withBreakpointObserver.js +0 -6
- package/subpaths/withBreakpointObserver.js.map +0 -7
- package/subpaths/withDrag.d.ts +0 -1
- package/subpaths/withDrag.js +0 -6
- package/subpaths/withDrag.js.map +0 -7
- package/subpaths/withExtraConfig.d.ts +0 -1
- package/subpaths/withExtraConfig.js +0 -6
- package/subpaths/withExtraConfig.js.map +0 -7
- package/subpaths/withFreezedOptions.d.ts +0 -1
- package/subpaths/withFreezedOptions.js +0 -6
- package/subpaths/withFreezedOptions.js.map +0 -7
- package/subpaths/withGroup.d.ts +0 -1
- package/subpaths/withGroup.js +0 -6
- package/subpaths/withGroup.js.map +0 -7
- package/subpaths/withIntersectionObserver.d.ts +0 -1
- package/subpaths/withIntersectionObserver.js +0 -6
- package/subpaths/withIntersectionObserver.js.map +0 -7
- package/subpaths/withMountOnMediaQuery.d.ts +0 -1
- package/subpaths/withMountOnMediaQuery.js +0 -6
- package/subpaths/withMountOnMediaQuery.js.map +0 -7
- package/subpaths/withMountOnMediaQueryInterface.d.ts +0 -1
- package/subpaths/withMountOnMediaQueryProps.d.ts +0 -1
- package/subpaths/withMountWhenInView.d.ts +0 -1
- package/subpaths/withMountWhenInView.js +0 -6
- package/subpaths/withMountWhenInView.js.map +0 -7
- package/subpaths/withMountWhenPrefersMotion.d.ts +0 -1
- package/subpaths/withMountWhenPrefersMotion.js +0 -6
- package/subpaths/withMountWhenPrefersMotion.js.map +0 -7
- package/subpaths/withMutation.d.ts +0 -1
- package/subpaths/withMutation.js +0 -6
- package/subpaths/withMutation.js.map +0 -7
- package/subpaths/withName.d.ts +0 -1
- package/subpaths/withName.js +0 -6
- package/subpaths/withName.js.map +0 -7
- package/subpaths/withRelativePointer.d.ts +0 -1
- package/subpaths/withRelativePointer.js +0 -6
- package/subpaths/withRelativePointer.js.map +0 -7
- package/subpaths/withResponsiveOptions.d.ts +0 -1
- package/subpaths/withResponsiveOptions.js +0 -6
- package/subpaths/withResponsiveOptions.js.map +0 -7
- package/subpaths/withScrolledInView.d.ts +0 -1
- package/subpaths/withScrolledInView.js +0 -6
- package/subpaths/withScrolledInView.js.map +0 -7
- package/utils/Queue.js.map +0 -7
- package/utils/SmartQueue.js.map +0 -7
- package/utils/cache.js.map +0 -7
- package/utils/collide/boundingRectToCircle.js.map +0 -7
- package/utils/collide/collideCircleCircle.js.map +0 -7
- package/utils/collide/collideCircleRect.js.map +0 -7
- package/utils/collide/collidePointCircle.js.map +0 -7
- package/utils/collide/collidePointRect.js.map +0 -7
- package/utils/collide/collideRectRect.js.map +0 -7
- package/utils/collide/index.js.map +0 -7
- package/utils/css/animate.d.ts +0 -46
- package/utils/css/animate.js +0 -277
- package/utils/css/animate.js.map +0 -7
- package/utils/css/classes.js.map +0 -7
- package/utils/css/getOffsetSizes.js.map +0 -7
- package/utils/css/index.js.map +0 -7
- package/utils/css/matrix.js.map +0 -7
- package/utils/css/styles.js.map +0 -7
- package/utils/css/transform.js.map +0 -7
- package/utils/css/transition.js.map +0 -7
- package/utils/css/utils.js.map +0 -7
- package/utils/debounce.js.map +0 -7
- package/utils/dom/ancestors.js.map +0 -7
- package/utils/dom/createElement.js.map +0 -7
- package/utils/dom/index.js.map +0 -7
- package/utils/getComponentResolver.js.map +0 -7
- package/utils/has.js.map +0 -7
- package/utils/history.js +0 -70
- package/utils/history.js.map +0 -7
- package/utils/index.js.map +0 -7
- package/utils/is.js.map +0 -7
- package/utils/keyCodes.js.map +0 -7
- package/utils/loadElement.js.map +0 -7
- package/utils/math/clamp.js.map +0 -7
- package/utils/math/clamp01.js.map +0 -7
- package/utils/math/createEases.js.map +0 -7
- package/utils/math/createRange.js.map +0 -7
- package/utils/math/damp.js.map +0 -7
- package/utils/math/ease.js.map +0 -7
- package/utils/math/fold.js.map +0 -7
- package/utils/math/index.js.map +0 -7
- package/utils/math/inertiaFinalValue.js.map +0 -7
- package/utils/math/lerp.js.map +0 -7
- package/utils/math/map.js.map +0 -7
- package/utils/math/mean.js.map +0 -7
- package/utils/math/round.js.map +0 -7
- package/utils/math/smoothTo.js.map +0 -7
- package/utils/math/spring.js.map +0 -7
- package/utils/math/wrap.js.map +0 -7
- package/utils/memo.js.map +0 -7
- package/utils/memoize.js.map +0 -7
- package/utils/nextFrame.js.map +0 -7
- package/utils/nextMicrotask.js.map +0 -7
- package/utils/nextTick.js.map +0 -7
- package/utils/noop.js.map +0 -7
- package/utils/object/getAllProperties.js.map +0 -7
- package/utils/random.js.map +0 -7
- package/utils/scheduler.js.map +0 -7
- package/utils/scrollTo.d.ts +0 -34
- package/utils/scrollTo.js +0 -111
- package/utils/scrollTo.js.map +0 -7
- package/utils/storage/createLocalStorageProvider.js.map +0 -7
- package/utils/storage/createMemoryStorageProvider.js.map +0 -7
- package/utils/storage/createNoopProvider.js.map +0 -7
- package/utils/storage/createSessionStorageProvider.js.map +0 -7
- package/utils/storage/createStorage.js.map +0 -7
- package/utils/storage/createUrlSearchParamsInHashProvider.js.map +0 -7
- package/utils/storage/createUrlSearchParamsProvider.js.map +0 -7
- package/utils/storage/getBrowserContext.js.map +0 -7
- package/utils/storage/getGlobalStorage.js.map +0 -7
- package/utils/storage/getStorageKeys.js.map +0 -7
- package/utils/storage/index.js.map +0 -7
- package/utils/storage/providers.js.map +0 -7
- package/utils/storage/serializers.js.map +0 -7
- package/utils/storage.js.map +0 -7
- package/utils/string/changeCase.js.map +0 -7
- package/utils/string/endsWith.js.map +0 -7
- package/utils/string/index.js.map +0 -7
- package/utils/string/startsWith.js.map +0 -7
- package/utils/string/withLeadingCharacters.js.map +0 -7
- package/utils/string/withLeadingSlash.js.map +0 -7
- package/utils/string/withTrailingCharacters.js.map +0 -7
- package/utils/string/withTrailingSlash.js.map +0 -7
- package/utils/string/withoutLeadingCharacters.js.map +0 -7
- package/utils/string/withoutLeadingCharactersRecursive.js.map +0 -7
- package/utils/string/withoutLeadingSlash.js.map +0 -7
- package/utils/string/withoutTrailingCharacters.js.map +0 -7
- package/utils/string/withoutTrailingCharactersRecursive.js.map +0 -7
- package/utils/string/withoutTrailingSlash.js.map +0 -7
- package/utils/throttle.js.map +0 -7
- package/utils/trapFocus.js.map +0 -7
- package/utils/tween.js +0 -114
- package/utils/tween.js.map +0 -7
- package/utils/wait.js.map +0 -7
- package/version.d.ts +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -7
- /package/{Base → dist/Base}/features.d.ts +0 -0
- /package/{Base → dist/Base}/features.js +0 -0
- /package/{Base → dist/Base}/index.d.ts +0 -0
- /package/{Base → dist/Base}/index.js +0 -0
- /package/{Base → dist/Base}/managers/AbstractManager.js +0 -0
- /package/{Base → dist/Base}/managers/RefsManager.d.ts +0 -0
- /package/{Base → dist/Base}/managers/index.d.ts +0 -0
- /package/{Base → dist/Base}/managers/index.js +0 -0
- /package/{Base → dist/Base}/types.js +0 -0
- /package/{Base → dist/Base}/types.js.map +0 -0
- /package/{autoload → dist/autoload}/autoload.d.ts +0 -0
- /package/{autoload → dist/autoload}/autoload.js +0 -0
- /package/{autoload → dist/autoload}/define-manifest.d.ts +0 -0
- /package/{autoload → dist/autoload}/define-manifest.js +0 -0
- /package/{autoload → dist/autoload}/index.d.ts +0 -0
- /package/{autoload → dist/autoload}/index.js +0 -0
- /package/{autoload → dist/autoload}/loader.js +0 -0
- /package/{autoload → dist/autoload}/modules.d.ts +0 -0
- /package/{autoload → dist/autoload}/modules.js +0 -0
- /package/{autoload → dist/autoload}/runtime.d.ts +0 -0
- /package/{autoload → dist/autoload}/runtime.js +0 -0
- /package/{autoload → dist/autoload}/types.js +0 -0
- /package/{autoload → dist/autoload}/types.js.map +0 -0
- /package/{decorators → dist/decorators}/index.d.ts +0 -0
- /package/{decorators → dist/decorators}/index.js +0 -0
- /package/{decorators → dist/decorators}/withExtraConfig.js +0 -0
- /package/{decorators → dist/decorators}/withFreezedOptions.js +0 -0
- /package/{decorators → dist/decorators}/withGroup.js +0 -0
- /package/{decorators → dist/decorators}/withMountOnMediaQuery.js +0 -0
- /package/{decorators → dist/decorators}/withMountWhenInView.js +0 -0
- /package/{decorators → dist/decorators}/withMountWhenPrefersMotion.js +0 -0
- /package/{decorators → dist/decorators}/withName.js +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/index.d.ts +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/index.js +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/types.d.ts +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/types.js +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/types.js.map +0 -0
- /package/{decorators → dist/decorators}/withScrolledInView/utils.d.ts +0 -0
- /package/{helpers → dist/helpers}/getInstanceFromElement.js +0 -0
- /package/{helpers → dist/helpers}/importWhenPrefersMotion.js +0 -0
- /package/{helpers → dist/helpers}/index.d.ts +0 -0
- /package/{helpers → dist/helpers}/index.js +0 -0
- /package/{helpers → dist/helpers}/logTree.d.ts +0 -0
- /package/{helpers → dist/helpers}/queryComponent.js +0 -0
- /package/{helpers → dist/helpers}/registerComponent.d.ts +0 -0
- /package/{helpers → dist/helpers}/registerComponents.d.ts +0 -0
- /package/{helpers → dist/helpers}/utils.d.ts +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{services → dist/services}/AbstractService.d.ts +0 -0
- /package/{services → dist/services}/AbstractService.js +0 -0
- /package/{services → dist/services}/KeyService.d.ts +0 -0
- /package/{services → dist/services}/KeyService.js +0 -0
- /package/{services → dist/services}/LoadService.d.ts +0 -0
- /package/{services → dist/services}/LoadService.js +0 -0
- /package/{services → dist/services}/MutationService.d.ts +0 -0
- /package/{services → dist/services}/MutationService.js +0 -0
- /package/{services → dist/services}/PointerService.d.ts +0 -0
- /package/{services → dist/services}/PointerService.js +0 -0
- /package/{services → dist/services}/RafService.d.ts +0 -0
- /package/{services → dist/services}/RafService.js +0 -0
- /package/{services → dist/services}/ResizeService.d.ts +0 -0
- /package/{services → dist/services}/ResizeService.js +0 -0
- /package/{services → dist/services}/ScrollService.d.ts +0 -0
- /package/{services → dist/services}/ScrollService.js +0 -0
- /package/{services → dist/services}/index.d.ts +0 -0
- /package/{services → dist/services}/index.js +0 -0
- /package/{services → dist/services}/utils.d.ts +0 -0
- /package/{services → dist/services}/utils.js +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadHandle.js +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadHandle.js.map +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadRuntime.js +0 -0
- /package/{subpaths → dist/subpaths}/AutoloadRuntime.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseAsyncConstructor.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseAsyncConstructor.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseChildren.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseChildren.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseConfig.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseConfig.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseConfigComponents.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseConfigComponents.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseConstructor.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseConstructor.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseDecorator.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/BaseDecorator.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseDecorator.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseEl.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseEl.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseEventHookParams.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/BaseEventHookParams.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseEventHookParams.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseInterface.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/BaseInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseProps.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/BaseRefs.js +0 -0
- /package/{subpaths → dist/subpaths}/BaseRefs.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoadStrategy.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoadStrategy.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoaderOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoaderOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoaderStartOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentLoaderStartOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentManifest.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentManifest.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentManifestEntry.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentManifestEntry.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ComponentOverride.js +0 -0
- /package/{subpaths → dist/subpaths}/ComponentOverride.js.map +0 -0
- /package/{subpaths → dist/subpaths}/CreateAppOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/CreateAppOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/DefineManifestOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/DefineManifestOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/DragDecoratorOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/DragDecoratorOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/DragServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/KeyServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/KeyServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/KeyServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/KeyServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/LoadServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/LoadServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/LoadServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/LoadServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/LoaderDependencies.js +0 -0
- /package/{subpaths → dist/subpaths}/LoaderDependencies.js.map +0 -0
- /package/{subpaths → dist/subpaths}/Managers.js +0 -0
- /package/{subpaths → dist/subpaths}/Managers.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ModuleRecord.js +0 -0
- /package/{subpaths → dist/subpaths}/ModuleRecord.js.map +0 -0
- /package/{subpaths → dist/subpaths}/MutationDecoratorOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/MutationDecoratorOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/MutationServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/NormalizedOffset.js +0 -0
- /package/{subpaths → dist/subpaths}/NormalizedOffset.js.map +0 -0
- /package/{subpaths → dist/subpaths}/OffsetValue.js +0 -0
- /package/{subpaths → dist/subpaths}/OffsetValue.js.map +0 -0
- /package/{subpaths → dist/subpaths}/PointerServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/PointerServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/PointerServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/PointerServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/QueryOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/QueryOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/RafServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/RafServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/RafServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/RafServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/RegisterManifestOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/RegisterManifestOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/RelativePointerDecoratorOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/RelativePointerDecoratorOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/RelativePointerInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/RelativePointerInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ResizeServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/ResizeServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ResizeServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/ResizeServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ScrollInViewProps.js +0 -0
- /package/{subpaths → dist/subpaths}/ScrollInViewProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ScrollServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/ScrollServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ScrollServiceProps.js +0 -0
- /package/{subpaths → dist/subpaths}/ScrollServiceProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ServiceConfig.js +0 -0
- /package/{subpaths → dist/subpaths}/ServiceConfig.js.map +0 -0
- /package/{subpaths → dist/subpaths}/ServiceInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/ServiceInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WebpackContextLike.js +0 -0
- /package/{subpaths → dist/subpaths}/WebpackContextLike.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithBreakpointObserverInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithBreakpointObserverInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithBreakpointObserverProps.js +0 -0
- /package/{subpaths → dist/subpaths}/WithBreakpointObserverProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithDragInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithDragInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithFreezedOptionsInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithFreezedOptionsInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupProps.js +0 -0
- /package/{subpaths → dist/subpaths}/WithGroupProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithIntersectionObserverInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithIntersectionObserverInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithIntersectionObserverProps.js +0 -0
- /package/{subpaths → dist/subpaths}/WithIntersectionObserverProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithMountWhenInViewInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithMountWhenInViewInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithMountWhenInViewProps.js +0 -0
- /package/{subpaths → dist/subpaths}/WithMountWhenInViewProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithMutationInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithMutationInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewProps.js +0 -0
- /package/{subpaths → dist/subpaths}/WithScrolledInViewProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/Animate.1.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/Animate.1.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/AnimateOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/AnimateOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/CSSCustomPropertyName.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/CSSCustomPropertyName.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/EasingFunction.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/EasingFunction.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/Keyframe.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/Keyframe.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsOptions.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsReturnType.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsReturnType.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadElementsReturnType.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElements.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElements.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElements.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElementsNames.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElementsNames.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/LoadableElementsNames.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/NormalizedKeyframe.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/NormalizedKeyframe.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/Queue.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/Queue.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/SmartQueue.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/SmartQueue.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageInstance.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageInstance.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageProvider.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageProvider.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageSerializer.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/StorageSerializer.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/TransformProps.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/TransformProps.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/UrlProviderOptions.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/UrlProviderOptions.js.map +0 -0
- /package/{subpaths → dist/subpaths}/utils/cache.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/cache.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/debounce.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/debounce.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/domScheduler.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/domScheduler.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/ease.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/ease.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/getComponentResolver.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/getComponentResolver.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/hasWindow.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/hasWindow.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/historyPush.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/historyPush.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/historyReplace.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/historyReplace.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isArray.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isArray.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isBoolean.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isBoolean.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isDefined.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isDefined.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isDev.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isDev.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isEmpty.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isEmpty.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isEmptyString.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isEmptyString.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isFunction.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isFunction.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isNull.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isNull.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isNumber.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isNumber.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isObject.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isObject.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/isString.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/isString.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/keyCodes.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/keyCodes.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadElement.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadElement.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadIframe.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadIframe.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadImage.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadImage.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadLink.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadLink.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadScript.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/loadScript.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/memo.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/memo.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/memoize.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/memoize.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextFrame.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextFrame.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextMicrotask.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextMicrotask.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextTick.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/nextTick.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/noop.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/noop.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/noopValue.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/noopValue.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/objectToURLSearchParams.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/objectToURLSearchParams.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/random.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/random.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/randomInt.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/randomInt.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/randomItem.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/randomItem.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/saveActiveElement.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/saveActiveElement.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/scrollTo.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/scrollTo.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/throttle.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/throttle.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/trapFocus.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/trapFocus.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/tween.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/tween.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/untrapFocus.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/untrapFocus.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/useScheduler.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/useScheduler.js +0 -0
- /package/{subpaths → dist/subpaths}/utils/wait.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/utils/wait.js +0 -0
- /package/{subpaths → dist/subpaths}/version.d.ts +0 -0
- /package/{subpaths → dist/subpaths}/version.js +0 -0
- /package/{subpaths → dist/subpaths}/withMountOnMediaQueryInterface.js +0 -0
- /package/{subpaths → dist/subpaths}/withMountOnMediaQueryInterface.js.map +0 -0
- /package/{subpaths → dist/subpaths}/withMountOnMediaQueryProps.js +0 -0
- /package/{subpaths → dist/subpaths}/withMountOnMediaQueryProps.js.map +0 -0
- /package/{utils → dist/utils}/Queue.d.ts +0 -0
- /package/{utils → dist/utils}/Queue.js +0 -0
- /package/{utils → dist/utils}/SmartQueue.d.ts +0 -0
- /package/{utils → dist/utils}/SmartQueue.js +0 -0
- /package/{utils → dist/utils}/cache.d.ts +0 -0
- /package/{utils → dist/utils}/cache.js +0 -0
- /package/{utils → dist/utils}/collide/boundingRectToCircle.d.ts +0 -0
- /package/{utils → dist/utils}/collide/boundingRectToCircle.js +0 -0
- /package/{utils → dist/utils}/collide/collideCircleCircle.d.ts +0 -0
- /package/{utils → dist/utils}/collide/collideCircleCircle.js +0 -0
- /package/{utils → dist/utils}/collide/collideCircleRect.d.ts +0 -0
- /package/{utils → dist/utils}/collide/collideCircleRect.js +0 -0
- /package/{utils → dist/utils}/collide/collidePointCircle.d.ts +0 -0
- /package/{utils → dist/utils}/collide/collidePointCircle.js +0 -0
- /package/{utils → dist/utils}/collide/collidePointRect.d.ts +0 -0
- /package/{utils → dist/utils}/collide/collidePointRect.js +0 -0
- /package/{utils → dist/utils}/collide/collideRectRect.d.ts +0 -0
- /package/{utils → dist/utils}/collide/collideRectRect.js +0 -0
- /package/{utils → dist/utils}/collide/index.d.ts +0 -0
- /package/{utils → dist/utils}/collide/index.js +0 -0
- /package/{utils → dist/utils}/css/classes.d.ts +0 -0
- /package/{utils → dist/utils}/css/classes.js +0 -0
- /package/{utils → dist/utils}/css/getOffsetSizes.d.ts +0 -0
- /package/{utils → dist/utils}/css/getOffsetSizes.js +0 -0
- /package/{utils → dist/utils}/css/index.d.ts +0 -0
- /package/{utils → dist/utils}/css/index.js +0 -0
- /package/{utils → dist/utils}/css/matrix.d.ts +0 -0
- /package/{utils → dist/utils}/css/matrix.js +0 -0
- /package/{utils → dist/utils}/css/styles.d.ts +0 -0
- /package/{utils → dist/utils}/css/styles.js +0 -0
- /package/{utils → dist/utils}/css/transform.d.ts +0 -0
- /package/{utils → dist/utils}/css/transform.js +0 -0
- /package/{utils → dist/utils}/css/transition.d.ts +0 -0
- /package/{utils → dist/utils}/css/transition.js +0 -0
- /package/{utils → dist/utils}/css/utils.d.ts +0 -0
- /package/{utils → dist/utils}/css/utils.js +0 -0
- /package/{utils → dist/utils}/debounce.d.ts +0 -0
- /package/{utils → dist/utils}/debounce.js +0 -0
- /package/{utils → dist/utils}/dom/ancestors.d.ts +0 -0
- /package/{utils → dist/utils}/dom/ancestors.js +0 -0
- /package/{utils → dist/utils}/dom/createElement.d.ts +0 -0
- /package/{utils → dist/utils}/dom/createElement.js +0 -0
- /package/{utils → dist/utils}/dom/index.d.ts +0 -0
- /package/{utils → dist/utils}/dom/index.js +0 -0
- /package/{utils → dist/utils}/getComponentResolver.d.ts +0 -0
- /package/{utils → dist/utils}/getComponentResolver.js +0 -0
- /package/{utils → dist/utils}/has.d.ts +0 -0
- /package/{utils → dist/utils}/has.js +0 -0
- /package/{utils → dist/utils}/history.d.ts +0 -0
- /package/{utils → dist/utils}/index.d.ts +0 -0
- /package/{utils → dist/utils}/index.js +0 -0
- /package/{utils → dist/utils}/is.d.ts +0 -0
- /package/{utils → dist/utils}/is.js +0 -0
- /package/{utils → dist/utils}/keyCodes.d.ts +0 -0
- /package/{utils → dist/utils}/keyCodes.js +0 -0
- /package/{utils → dist/utils}/loadElement.d.ts +0 -0
- /package/{utils → dist/utils}/loadElement.js +0 -0
- /package/{utils → dist/utils}/math/clamp.d.ts +0 -0
- /package/{utils → dist/utils}/math/clamp.js +0 -0
- /package/{utils → dist/utils}/math/clamp01.d.ts +0 -0
- /package/{utils → dist/utils}/math/clamp01.js +0 -0
- /package/{utils → dist/utils}/math/createEases.d.ts +0 -0
- /package/{utils → dist/utils}/math/createEases.js +0 -0
- /package/{utils → dist/utils}/math/createRange.d.ts +0 -0
- /package/{utils → dist/utils}/math/createRange.js +0 -0
- /package/{utils → dist/utils}/math/damp.d.ts +0 -0
- /package/{utils → dist/utils}/math/damp.js +0 -0
- /package/{utils → dist/utils}/math/ease.d.ts +0 -0
- /package/{utils → dist/utils}/math/ease.js +0 -0
- /package/{utils → dist/utils}/math/fold.d.ts +0 -0
- /package/{utils → dist/utils}/math/fold.js +0 -0
- /package/{utils → dist/utils}/math/index.d.ts +0 -0
- /package/{utils → dist/utils}/math/index.js +0 -0
- /package/{utils → dist/utils}/math/inertiaFinalValue.d.ts +0 -0
- /package/{utils → dist/utils}/math/inertiaFinalValue.js +0 -0
- /package/{utils → dist/utils}/math/lerp.d.ts +0 -0
- /package/{utils → dist/utils}/math/lerp.js +0 -0
- /package/{utils → dist/utils}/math/map.d.ts +0 -0
- /package/{utils → dist/utils}/math/map.js +0 -0
- /package/{utils → dist/utils}/math/mean.d.ts +0 -0
- /package/{utils → dist/utils}/math/mean.js +0 -0
- /package/{utils → dist/utils}/math/round.d.ts +0 -0
- /package/{utils → dist/utils}/math/round.js +0 -0
- /package/{utils → dist/utils}/math/smoothTo.d.ts +0 -0
- /package/{utils → dist/utils}/math/smoothTo.js +0 -0
- /package/{utils → dist/utils}/math/spring.d.ts +0 -0
- /package/{utils → dist/utils}/math/spring.js +0 -0
- /package/{utils → dist/utils}/math/wrap.d.ts +0 -0
- /package/{utils → dist/utils}/math/wrap.js +0 -0
- /package/{utils → dist/utils}/memo.d.ts +0 -0
- /package/{utils → dist/utils}/memo.js +0 -0
- /package/{utils → dist/utils}/memoize.d.ts +0 -0
- /package/{utils → dist/utils}/memoize.js +0 -0
- /package/{utils → dist/utils}/nextFrame.d.ts +0 -0
- /package/{utils → dist/utils}/nextFrame.js +0 -0
- /package/{utils → dist/utils}/nextMicrotask.d.ts +0 -0
- /package/{utils → dist/utils}/nextMicrotask.js +0 -0
- /package/{utils → dist/utils}/nextTick.d.ts +0 -0
- /package/{utils → dist/utils}/nextTick.js +0 -0
- /package/{utils → dist/utils}/noop.d.ts +0 -0
- /package/{utils → dist/utils}/noop.js +0 -0
- /package/{utils → dist/utils}/object/getAllProperties.d.ts +0 -0
- /package/{utils → dist/utils}/object/getAllProperties.js +0 -0
- /package/{utils → dist/utils}/random.d.ts +0 -0
- /package/{utils → dist/utils}/random.js +0 -0
- /package/{utils → dist/utils}/scheduler.d.ts +0 -0
- /package/{utils → dist/utils}/scheduler.js +0 -0
- /package/{utils → dist/utils}/storage/createLocalStorageProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createLocalStorageProvider.js +0 -0
- /package/{utils → dist/utils}/storage/createMemoryStorageProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createMemoryStorageProvider.js +0 -0
- /package/{utils → dist/utils}/storage/createNoopProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createNoopProvider.js +0 -0
- /package/{utils → dist/utils}/storage/createSessionStorageProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createSessionStorageProvider.js +0 -0
- /package/{utils → dist/utils}/storage/createStorage.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createStorage.js +0 -0
- /package/{utils → dist/utils}/storage/createUrlSearchParamsInHashProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createUrlSearchParamsInHashProvider.js +0 -0
- /package/{utils → dist/utils}/storage/createUrlSearchParamsProvider.d.ts +0 -0
- /package/{utils → dist/utils}/storage/createUrlSearchParamsProvider.js +0 -0
- /package/{utils → dist/utils}/storage/getBrowserContext.d.ts +0 -0
- /package/{utils → dist/utils}/storage/getBrowserContext.js +0 -0
- /package/{utils → dist/utils}/storage/getGlobalStorage.d.ts +0 -0
- /package/{utils → dist/utils}/storage/getGlobalStorage.js +0 -0
- /package/{utils → dist/utils}/storage/getStorageKeys.d.ts +0 -0
- /package/{utils → dist/utils}/storage/getStorageKeys.js +0 -0
- /package/{utils → dist/utils}/storage/index.d.ts +0 -0
- /package/{utils → dist/utils}/storage/index.js +0 -0
- /package/{utils → dist/utils}/storage/providers.d.ts +0 -0
- /package/{utils → dist/utils}/storage/providers.js +0 -0
- /package/{utils → dist/utils}/storage/serializers.d.ts +0 -0
- /package/{utils → dist/utils}/storage/serializers.js +0 -0
- /package/{utils → dist/utils}/storage/types.d.ts +0 -0
- /package/{utils → dist/utils}/storage/types.js +0 -0
- /package/{utils → dist/utils}/storage/types.js.map +0 -0
- /package/{utils → dist/utils}/storage.d.ts +0 -0
- /package/{utils → dist/utils}/storage.js +0 -0
- /package/{utils → dist/utils}/string/changeCase.d.ts +0 -0
- /package/{utils → dist/utils}/string/changeCase.js +0 -0
- /package/{utils → dist/utils}/string/endsWith.d.ts +0 -0
- /package/{utils → dist/utils}/string/endsWith.js +0 -0
- /package/{utils → dist/utils}/string/index.d.ts +0 -0
- /package/{utils → dist/utils}/string/index.js +0 -0
- /package/{utils → dist/utils}/string/startsWith.d.ts +0 -0
- /package/{utils → dist/utils}/string/startsWith.js +0 -0
- /package/{utils → dist/utils}/string/withLeadingCharacters.d.ts +0 -0
- /package/{utils → dist/utils}/string/withLeadingCharacters.js +0 -0
- /package/{utils → dist/utils}/string/withLeadingSlash.d.ts +0 -0
- /package/{utils → dist/utils}/string/withLeadingSlash.js +0 -0
- /package/{utils → dist/utils}/string/withTrailingCharacters.d.ts +0 -0
- /package/{utils → dist/utils}/string/withTrailingCharacters.js +0 -0
- /package/{utils → dist/utils}/string/withTrailingSlash.d.ts +0 -0
- /package/{utils → dist/utils}/string/withTrailingSlash.js +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingCharacters.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingCharacters.js +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingCharactersRecursive.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingCharactersRecursive.js +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingSlash.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutLeadingSlash.js +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingCharacters.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingCharacters.js +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingCharactersRecursive.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingCharactersRecursive.js +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingSlash.d.ts +0 -0
- /package/{utils → dist/utils}/string/withoutTrailingSlash.js +0 -0
- /package/{utils → dist/utils}/throttle.d.ts +0 -0
- /package/{utils → dist/utils}/throttle.js +0 -0
- /package/{utils → dist/utils}/trapFocus.d.ts +0 -0
- /package/{utils → dist/utils}/trapFocus.js +0 -0
- /package/{utils → dist/utils}/tween.d.ts +0 -0
- /package/{utils → dist/utils}/wait.d.ts +0 -0
- /package/{utils → dist/utils}/wait.js +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { useResize } from "../services/ResizeService.js";
|
|
2
|
+
import { isArray, isDev } from "../utils/is.js";
|
|
3
|
+
function testBreakpoints(breakpoints) {
|
|
4
|
+
const { breakpoint } = useResize().props();
|
|
5
|
+
for (const [breakpointKeys, instance] of breakpoints) {
|
|
6
|
+
if (breakpointKeys.includes(breakpoint) && !instance.$isMounted) {
|
|
7
|
+
setTimeout(() => instance.$mount(), 0);
|
|
8
|
+
} else if (!breakpointKeys.includes(breakpoint) && instance.$isMounted) {
|
|
9
|
+
instance.$destroy();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
function mountComponents(instance, breakpoints) {
|
|
14
|
+
return breakpoints.map(([bk, ComponentClass]) => {
|
|
15
|
+
const child = new ComponentClass(instance.$el);
|
|
16
|
+
Object.defineProperty(child, "$parent", { get: () => instance.__parent });
|
|
17
|
+
return [bk.split(" "), child];
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
const instances = /* @__PURE__ */ new WeakMap();
|
|
21
|
+
function withBreakpointManager(BaseClass, breakpoints) {
|
|
22
|
+
if (!isArray(breakpoints)) {
|
|
23
|
+
if (isDev) {
|
|
24
|
+
throw new Error("[withBreakpointManager] The `breakpoints` parameter must be an array.");
|
|
25
|
+
}
|
|
26
|
+
return BaseClass;
|
|
27
|
+
}
|
|
28
|
+
if (breakpoints.length < 2) {
|
|
29
|
+
if (isDev) {
|
|
30
|
+
throw new Error("[withBreakpointManager] You must define at least 2 breakpoints.");
|
|
31
|
+
}
|
|
32
|
+
return BaseClass;
|
|
33
|
+
}
|
|
34
|
+
const { add, props } = useResize();
|
|
35
|
+
if (!props().breakpoint) {
|
|
36
|
+
if (isDev) {
|
|
37
|
+
throw new Error("The `BreakpointManager` class requires breakpoints to be defined.");
|
|
38
|
+
}
|
|
39
|
+
return BaseClass;
|
|
40
|
+
}
|
|
41
|
+
class WithBreakpointManager extends BaseClass {
|
|
42
|
+
/**
|
|
43
|
+
* Watch for the document resize to test the breakpoints.
|
|
44
|
+
*/
|
|
45
|
+
constructor(element) {
|
|
46
|
+
super(element);
|
|
47
|
+
if (!instances.has(this)) {
|
|
48
|
+
instances.set(this, mountComponents(this, breakpoints));
|
|
49
|
+
}
|
|
50
|
+
add(`BreakpointManager-${this.$id}`, () => {
|
|
51
|
+
testBreakpoints(instances.get(this));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Override the default $mount method to prevent component's from being
|
|
56
|
+
* mounted when they should not.
|
|
57
|
+
*/
|
|
58
|
+
async $mount() {
|
|
59
|
+
await super.$mount();
|
|
60
|
+
testBreakpoints(instances.get(this));
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Destroy all instances when the main one is destroyed.
|
|
65
|
+
*/
|
|
66
|
+
async $destroy() {
|
|
67
|
+
const promises = [];
|
|
68
|
+
if (isArray(instances.get(this))) {
|
|
69
|
+
for (const [, instance] of instances.get(this)) {
|
|
70
|
+
promises.push(instance.$destroy());
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
await Promise.all(promises);
|
|
74
|
+
return super.$destroy();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return WithBreakpointManager;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
withBreakpointManager
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=withBreakpointManager.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withBreakpointManager.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConstructor, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\nimport { useResize } from '../services/ResizeService.js';\nimport { isArray, isDev } from '../utils/is.js';\n\n/**\n * Test the breakpoins of the given Base instance and return the hook to call.\n */\nfunction testBreakpoints(breakpoints: Array<[string[], Base]>) {\n const { breakpoint } = useResize().props();\n for (const [breakpointKeys, instance] of breakpoints) {\n if (breakpointKeys.includes(breakpoint) && !instance.$isMounted) {\n setTimeout(() => instance.$mount(), 0);\n } else if (!breakpointKeys.includes(breakpoint) && instance.$isMounted) {\n instance.$destroy();\n }\n }\n}\n\n/**\n * Prepare the components.\n */\nfunction mountComponents(\n instance: Base,\n breakpoints: Array<[string, BaseConstructor]>,\n): Array<[string[], Base]> {\n return breakpoints.map(([bk, ComponentClass]) => {\n const child = new ComponentClass(instance.$el);\n Object.defineProperty(child, '$parent', { get: () => instance.__parent });\n return [bk.split(' '), child];\n });\n}\n\n/**\n * A cache object to hold each Base sub-instances.\n */\nconst instances: WeakMap<Base, Array<[string[], Base]>> = new WeakMap();\n\n/**\n * BreakpointManager class.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withBreakpointManager.html\n */\nexport function withBreakpointManager<S extends Base>(\n BaseClass: typeof Base,\n breakpoints: Array<[string, BaseConstructor<Base>]>,\n): BaseDecorator<BaseInterface, S> {\n if (!isArray(breakpoints)) {\n if (isDev) {\n throw new Error('[withBreakpointManager] The `breakpoints` parameter must be an array.');\n }\n\n // @ts-ignore\n return BaseClass;\n }\n\n if (breakpoints.length < 2) {\n if (isDev) {\n throw new Error('[withBreakpointManager] You must define at least 2 breakpoints.');\n }\n\n // @ts-ignore\n return BaseClass;\n }\n\n const { add, props } = useResize();\n\n // Do nothing if no breakpoint has been defined.\n // @link https://js-toolkit.studiometa.dev/api/services/useResize.html#breakpoint\n if (!props().breakpoint) {\n if (isDev) {\n throw new Error('The `BreakpointManager` class requires breakpoints to be defined.');\n }\n\n // @ts-ignore\n return BaseClass;\n }\n\n /**\n * Class.\n */\n class WithBreakpointManager<T extends BaseProps = BaseProps> extends BaseClass<T> {\n /**\n * Watch for the document resize to test the breakpoints.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n if (!instances.has(this)) {\n instances.set(this, mountComponents(this, breakpoints));\n }\n\n add(`BreakpointManager-${this.$id}`, () => {\n testBreakpoints(instances.get(this));\n });\n }\n\n /**\n * Override the default $mount method to prevent component's from being\n * mounted when they should not.\n */\n async $mount() {\n await super.$mount();\n\n testBreakpoints(instances.get(this));\n\n return this;\n }\n\n /**\n * Destroy all instances when the main one is destroyed.\n */\n async $destroy() {\n const promises = [];\n if (isArray(instances.get(this))) {\n for (const [, instance] of instances.get(this)) {\n promises.push(instance.$destroy());\n }\n }\n\n await Promise.all(promises);\n\n return super.$destroy();\n }\n }\n\n // @ts-ignore\n return WithBreakpointManager;\n}\n"],
|
|
5
|
+
"mappings": "AAEA,SAAS,iBAAiB;AAC1B,SAAS,SAAS,aAAa;AAK/B,SAAS,gBAAgB,aAAsC;AAC7D,QAAM,EAAE,WAAW,IAAI,UAAU,EAAE,MAAM;AACzC,aAAW,CAAC,gBAAgB,QAAQ,KAAK,aAAa;AACpD,QAAI,eAAe,SAAS,UAAU,KAAK,CAAC,SAAS,YAAY;AAC/D,iBAAW,MAAM,SAAS,OAAO,GAAG,CAAC;AAAA,IACvC,WAAW,CAAC,eAAe,SAAS,UAAU,KAAK,SAAS,YAAY;AACtE,eAAS,SAAS;AAAA,IACpB;AAAA,EACF;AACF;AAKA,SAAS,gBACP,UACA,aACyB;AACzB,SAAO,YAAY,IAAI,CAAC,CAAC,IAAI,cAAc,MAAM;AAC/C,UAAM,QAAQ,IAAI,eAAe,SAAS,GAAG;AAC7C,WAAO,eAAe,OAAO,WAAW,EAAE,KAAK,MAAM,SAAS,SAAS,CAAC;AACxE,WAAO,CAAC,GAAG,MAAM,GAAG,GAAG,KAAK;AAAA,EAC9B,CAAC;AACH;AAKA,MAAM,YAAoD,oBAAI,QAAQ;AAM/D,SAAS,sBACd,WACA,aACiC;AACjC,MAAI,CAAC,QAAQ,WAAW,GAAG;AACzB,QAAI,OAAO;AACT,YAAM,IAAI,MAAM,uEAAuE;AAAA,IACzF;AAGA,WAAO;AAAA,EACT;AAEA,MAAI,YAAY,SAAS,GAAG;AAC1B,QAAI,OAAO;AACT,YAAM,IAAI,MAAM,iEAAiE;AAAA,IACnF;AAGA,WAAO;AAAA,EACT;AAEA,QAAM,EAAE,KAAK,MAAM,IAAI,UAAU;AAIjC,MAAI,CAAC,MAAM,EAAE,YAAY;AACvB,QAAI,OAAO;AACT,YAAM,IAAI,MAAM,mEAAmE;AAAA,IACrF;AAGA,WAAO;AAAA,EACT;AAAA,EAKA,MAAM,8BAA+D,UAAa;AAAA;AAAA;AAAA;AAAA,IAIhF,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,UAAI,CAAC,UAAU,IAAI,IAAI,GAAG;AACxB,kBAAU,IAAI,MAAM,gBAAgB,MAAM,WAAW,CAAC;AAAA,MACxD;AAEA,UAAI,qBAAqB,KAAK,GAAG,IAAI,MAAM;AACzC,wBAAgB,UAAU,IAAI,IAAI,CAAC;AAAA,MACrC,CAAC;AAAA,IACH;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAM,SAAS;AACb,YAAM,MAAM,OAAO;AAEnB,sBAAgB,UAAU,IAAI,IAAI,CAAC;AAEnC,aAAO;AAAA,IACT;AAAA;AAAA;AAAA;AAAA,IAKA,MAAM,WAAW;AACf,YAAM,WAAW,CAAC;AAClB,UAAI,QAAQ,UAAU,IAAI,IAAI,CAAC,GAAG;AAChC,mBAAW,CAAC,EAAE,QAAQ,KAAK,UAAU,IAAI,IAAI,GAAG;AAC9C,mBAAS,KAAK,SAAS,SAAS,CAAC;AAAA,QACnC;AAAA,MACF;AAEA,YAAM,QAAQ,IAAI,QAAQ;AAE1B,aAAO,MAAM,SAAS;AAAA,IACxB;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Base, BaseProps } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface WithBreakpointObserverProps extends BaseProps {
|
|
4
|
+
$options: {
|
|
5
|
+
activeBreakpoints?: string;
|
|
6
|
+
inactiveBreakpoints?: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export interface WithBreakpointObserverInterface extends BaseInterface {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* BreakpointObserver class.
|
|
13
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withBreakpointObserver.html
|
|
14
|
+
*/
|
|
15
|
+
export declare function withBreakpointObserver<S extends Base>(BaseClass: typeof Base): BaseDecorator<WithBreakpointObserverInterface, S, WithBreakpointObserverProps>;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { useResize } from "../services/ResizeService.js";
|
|
2
|
+
import { isDev } from "../utils/is.js";
|
|
3
|
+
import { startsWith } from "../utils/string/startsWith.js";
|
|
4
|
+
import { features } from "../Base/features.js";
|
|
5
|
+
function testBreakpoints(instance, breakpoint = useResize().props().breakpoint) {
|
|
6
|
+
const { activeBreakpoints, inactiveBreakpoints } = instance.$options;
|
|
7
|
+
const isInActiveBreakpoint = activeBreakpoints && activeBreakpoints.split(" ").includes(breakpoint);
|
|
8
|
+
const isInInactiveBreakpoint = inactiveBreakpoints && inactiveBreakpoints.split(" ").includes(breakpoint);
|
|
9
|
+
if (activeBreakpoints && isInActiveBreakpoint || inactiveBreakpoints && !isInInactiveBreakpoint) {
|
|
10
|
+
return "$mount";
|
|
11
|
+
}
|
|
12
|
+
return "$destroy";
|
|
13
|
+
}
|
|
14
|
+
function hasBreakpointConfiguration(instance) {
|
|
15
|
+
const { activeBreakpoints, inactiveBreakpoints } = instance.$options;
|
|
16
|
+
return Boolean(activeBreakpoints || inactiveBreakpoints);
|
|
17
|
+
}
|
|
18
|
+
function testConflictingBreakpointConfiguration(instance) {
|
|
19
|
+
const { activeBreakpoints, inactiveBreakpoints, name } = instance.$options;
|
|
20
|
+
if (activeBreakpoints && inactiveBreakpoints) {
|
|
21
|
+
throw new Error(
|
|
22
|
+
`[${name}] Incorrect configuration: the \`activeBreakpoints\` and \`inactiveBreakpoints\` are not compatible.`
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function createResizeCallback(instance) {
|
|
27
|
+
return ({ breakpoint }) => {
|
|
28
|
+
const action = testBreakpoints(instance, breakpoint);
|
|
29
|
+
if (action === "$destroy" && instance.$isMounted) {
|
|
30
|
+
instance[action]();
|
|
31
|
+
} else if (action === "$mount" && !instance.$isMounted) {
|
|
32
|
+
setTimeout(() => instance[action](), 0);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function addToResize(key, instance) {
|
|
37
|
+
if (isDev) {
|
|
38
|
+
testConflictingBreakpointConfiguration(instance);
|
|
39
|
+
}
|
|
40
|
+
const { add, has, props } = useResize();
|
|
41
|
+
if (!has(key)) {
|
|
42
|
+
const callback = createResizeCallback(instance);
|
|
43
|
+
add(key, callback);
|
|
44
|
+
callback(props());
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function withBreakpointObserver(BaseClass) {
|
|
48
|
+
class WithBreakpointObserver extends BaseClass {
|
|
49
|
+
/**
|
|
50
|
+
* Config.
|
|
51
|
+
*/
|
|
52
|
+
static config = {
|
|
53
|
+
...BaseClass.config,
|
|
54
|
+
options: {
|
|
55
|
+
activeBreakpoints: String,
|
|
56
|
+
inactiveBreakpoints: String
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Watch for the document resize to test the breakpoints.
|
|
61
|
+
*/
|
|
62
|
+
constructor(element) {
|
|
63
|
+
super(element);
|
|
64
|
+
const { remove, props } = useResize();
|
|
65
|
+
const { name } = this.$options;
|
|
66
|
+
if (!props().breakpoint) {
|
|
67
|
+
if (isDev) {
|
|
68
|
+
throw new Error(
|
|
69
|
+
`[${name}] The \`BreakpointObserver\` class requires breakpoints to be defined.`
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const key = `BreakpointObserver-${this.$id}`;
|
|
75
|
+
const attributes = features.get("attributes");
|
|
76
|
+
const mutationObserver = new MutationObserver(([mutation]) => {
|
|
77
|
+
if (mutation.type === "attributes" && startsWith(mutation.attributeName, `${attributes.option}-`)) {
|
|
78
|
+
if (!hasBreakpointConfiguration(this)) {
|
|
79
|
+
this.$mount();
|
|
80
|
+
remove(key);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
addToResize(key, this);
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
mutationObserver.observe(this.$el, { attributes: true });
|
|
87
|
+
if (!hasBreakpointConfiguration(this)) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
addToResize(key, this);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Override the default $mount method to prevent component's from being
|
|
94
|
+
* mounted when they should not.
|
|
95
|
+
*/
|
|
96
|
+
async $mount() {
|
|
97
|
+
if (!hasBreakpointConfiguration(this)) {
|
|
98
|
+
return super.$mount();
|
|
99
|
+
}
|
|
100
|
+
const action = testBreakpoints(this);
|
|
101
|
+
if (action === "$mount") {
|
|
102
|
+
return super.$mount();
|
|
103
|
+
}
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return WithBreakpointObserver;
|
|
108
|
+
}
|
|
109
|
+
export {
|
|
110
|
+
withBreakpointObserver
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=withBreakpointObserver.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withBreakpointObserver.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\nimport { type ResizeServiceProps, useResize } from '../services/ResizeService.js';\nimport { isDev } from '../utils/is.js';\nimport { startsWith } from '../utils/string/startsWith.js';\nimport { features } from '../Base/features.js';\n\nexport interface WithBreakpointObserverProps extends BaseProps {\n $options: {\n activeBreakpoints?: string;\n inactiveBreakpoints?: string;\n };\n}\n\nexport interface WithBreakpointObserverInterface extends BaseInterface {}\n\n/**\n * Test the breakpoins of the given Base instance and return the hook to call.\n *\n * @param {Base<WithBreakpointObserverProps>} instance The component's instance.\n * @param {string} [breakpoint] The breakpoint to test.\n * @return {string} The action to trigger.\n */\nfunction testBreakpoints(\n instance: Base<WithBreakpointObserverProps>,\n breakpoint: string = useResize().props().breakpoint,\n): string {\n const { activeBreakpoints, inactiveBreakpoints } = instance.$options;\n const isInActiveBreakpoint =\n activeBreakpoints && activeBreakpoints.split(' ').includes(breakpoint);\n const isInInactiveBreakpoint =\n inactiveBreakpoints && inactiveBreakpoints.split(' ').includes(breakpoint);\n\n if (\n (activeBreakpoints && isInActiveBreakpoint) ||\n (inactiveBreakpoints && !isInInactiveBreakpoint)\n ) {\n return '$mount';\n }\n\n return '$destroy';\n}\n\n/**\n * Test if the given instance is configured for breakpoints.\n *\n * @param {Base<WithBreakpointObserverProps>} instance A Base class instance.\n * @return {boolean} True if configured correctly, false otherwise.\n */\nfunction hasBreakpointConfiguration(instance: Base<WithBreakpointObserverProps>): boolean {\n const { activeBreakpoints, inactiveBreakpoints } = instance.$options;\n return Boolean(activeBreakpoints || inactiveBreakpoints);\n}\n\n/**\n * Test if the given instance has a conflicting configuration for breakpoints.\n *\n * @param {Base<WithBreakpointObserverProps>} instance A Base class instance.\n * @return {void}\n */\nfunction testConflictingBreakpointConfiguration(instance: Base<WithBreakpointObserverProps>): void {\n const { activeBreakpoints, inactiveBreakpoints, name } = instance.$options;\n if (activeBreakpoints && inactiveBreakpoints) {\n throw new Error(\n `[${name}] Incorrect configuration: the \\`activeBreakpoints\\` and \\`inactiveBreakpoints\\` are not compatible.`,\n );\n }\n}\n\n/**\n * Callback triggered when the window is resized.\n */\nfunction createResizeCallback(\n instance: Base<WithBreakpointObserverProps>,\n): (resizeProps: ResizeServiceProps) => void {\n return ({ breakpoint }) => {\n const action = testBreakpoints(instance, breakpoint);\n\n // Always destroy before mounting\n if (action === '$destroy' && instance.$isMounted) {\n instance[action]();\n } else if (action === '$mount' && !instance.$isMounted) {\n setTimeout(() => instance[action](), 0);\n }\n };\n}\n\n/**\n * Add the current instance to the resize service.\n *\n * @param {string} key The key for the resize service callback.\n * @param {Base} instance The instance to observe.\n */\nfunction addToResize(key, instance) {\n if (isDev) {\n testConflictingBreakpointConfiguration(instance);\n }\n\n const { add, has, props } = useResize();\n\n if (!has(key)) {\n const callback = createResizeCallback(instance);\n add(key, callback);\n callback(props());\n }\n}\n\n/**\n * BreakpointObserver class.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withBreakpointObserver.html\n */\nexport function withBreakpointObserver<S extends Base>(\n BaseClass: typeof Base,\n): BaseDecorator<WithBreakpointObserverInterface, S, WithBreakpointObserverProps> {\n /**\n * Class.\n */\n class WithBreakpointObserver<T extends BaseProps = BaseProps> extends BaseClass<\n T & WithBreakpointObserverProps\n > {\n /**\n * Config.\n */\n static config: BaseConfig = {\n ...BaseClass.config,\n options: {\n activeBreakpoints: String,\n inactiveBreakpoints: String,\n },\n };\n\n /**\n * Watch for the document resize to test the breakpoints.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n const { remove, props } = useResize();\n const { name } = this.$options;\n\n // Do nothing if no breakpoint has been defined.\n // @link https://js-toolkit.studiometa.dev/api/services/useResize.html#breakpoint\n if (!props().breakpoint) {\n if (isDev) {\n throw new Error(\n `[${name}] The \\`BreakpointObserver\\` class requires breakpoints to be defined.`,\n );\n }\n return;\n }\n\n const key = `BreakpointObserver-${this.$id}`;\n const attributes = features.get('attributes');\n\n // Watch change on the `data-options` attribute to emit the `set:options` event.\n const mutationObserver = new MutationObserver(([mutation]) => {\n if (\n mutation.type === 'attributes' &&\n startsWith(mutation.attributeName, `${attributes.option}-`)\n ) {\n // Stop here silently when no breakpoint configuration given.\n if (!hasBreakpointConfiguration(this)) {\n this.$mount();\n remove(key);\n return;\n }\n\n addToResize(key, this);\n }\n });\n mutationObserver.observe(this.$el, { attributes: true });\n\n // Stop here silently when no breakpoint configuration given.\n if (!hasBreakpointConfiguration(this)) {\n return;\n }\n\n addToResize(key, this);\n }\n\n /**\n * Override the default $mount method to prevent component's from being\n * mounted when they should not.\n */\n async $mount() {\n // Execute normal behavior when no breakpoint configuration given.\n if (!hasBreakpointConfiguration(this)) {\n return super.$mount();\n }\n\n const action = testBreakpoints(this);\n if (action === '$mount') {\n return super.$mount();\n }\n\n return this;\n }\n }\n\n // @ts-ignore\n return WithBreakpointObserver;\n}\n"],
|
|
5
|
+
"mappings": "AAEA,SAAkC,iBAAiB;AACnD,SAAS,aAAa;AACtB,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AAkBzB,SAAS,gBACP,UACA,aAAqB,UAAU,EAAE,MAAM,EAAE,YACjC;AACR,QAAM,EAAE,mBAAmB,oBAAoB,IAAI,SAAS;AAC5D,QAAM,uBACJ,qBAAqB,kBAAkB,MAAM,GAAG,EAAE,SAAS,UAAU;AACvE,QAAM,yBACJ,uBAAuB,oBAAoB,MAAM,GAAG,EAAE,SAAS,UAAU;AAE3E,MACG,qBAAqB,wBACrB,uBAAuB,CAAC,wBACzB;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAQA,SAAS,2BAA2B,UAAsD;AACxF,QAAM,EAAE,mBAAmB,oBAAoB,IAAI,SAAS;AAC5D,SAAO,QAAQ,qBAAqB,mBAAmB;AACzD;AAQA,SAAS,uCAAuC,UAAmD;AACjG,QAAM,EAAE,mBAAmB,qBAAqB,KAAK,IAAI,SAAS;AAClE,MAAI,qBAAqB,qBAAqB;AAC5C,UAAM,IAAI;AAAA,MACR,IAAI,IAAI;AAAA,IACV;AAAA,EACF;AACF;AAKA,SAAS,qBACP,UAC2C;AAC3C,SAAO,CAAC,EAAE,WAAW,MAAM;AACzB,UAAM,SAAS,gBAAgB,UAAU,UAAU;AAGnD,QAAI,WAAW,cAAc,SAAS,YAAY;AAChD,eAAS,MAAM,EAAE;AAAA,IACnB,WAAW,WAAW,YAAY,CAAC,SAAS,YAAY;AACtD,iBAAW,MAAM,SAAS,MAAM,EAAE,GAAG,CAAC;AAAA,IACxC;AAAA,EACF;AACF;AAQA,SAAS,YAAY,KAAK,UAAU;AAClC,MAAI,OAAO;AACT,2CAAuC,QAAQ;AAAA,EACjD;AAEA,QAAM,EAAE,KAAK,KAAK,MAAM,IAAI,UAAU;AAEtC,MAAI,CAAC,IAAI,GAAG,GAAG;AACb,UAAM,WAAW,qBAAqB,QAAQ;AAC9C,QAAI,KAAK,QAAQ;AACjB,aAAS,MAAM,CAAC;AAAA,EAClB;AACF;AAMO,SAAS,uBACd,WACgF;AAAA,EAIhF,MAAM,+BAAgE,UAEpE;AAAA;AAAA;AAAA;AAAA,IAIA,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,SAAS;AAAA,QACP,mBAAmB;AAAA,QACnB,qBAAqB;AAAA,MACvB;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKA,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,YAAM,EAAE,QAAQ,MAAM,IAAI,UAAU;AACpC,YAAM,EAAE,KAAK,IAAI,KAAK;AAItB,UAAI,CAAC,MAAM,EAAE,YAAY;AACvB,YAAI,OAAO;AACT,gBAAM,IAAI;AAAA,YACR,IAAI,IAAI;AAAA,UACV;AAAA,QACF;AACA;AAAA,MACF;AAEA,YAAM,MAAM,sBAAsB,KAAK,GAAG;AAC1C,YAAM,aAAa,SAAS,IAAI,YAAY;AAG5C,YAAM,mBAAmB,IAAI,iBAAiB,CAAC,CAAC,QAAQ,MAAM;AAC5D,YACE,SAAS,SAAS,gBAClB,WAAW,SAAS,eAAe,GAAG,WAAW,MAAM,GAAG,GAC1D;AAEA,cAAI,CAAC,2BAA2B,IAAI,GAAG;AACrC,iBAAK,OAAO;AACZ,mBAAO,GAAG;AACV;AAAA,UACF;AAEA,sBAAY,KAAK,IAAI;AAAA,QACvB;AAAA,MACF,CAAC;AACD,uBAAiB,QAAQ,KAAK,KAAK,EAAE,YAAY,KAAK,CAAC;AAGvD,UAAI,CAAC,2BAA2B,IAAI,GAAG;AACrC;AAAA,MACF;AAEA,kBAAY,KAAK,IAAI;AAAA,IACvB;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAM,SAAS;AAEb,UAAI,CAAC,2BAA2B,IAAI,GAAG;AACrC,eAAO,MAAM,OAAO;AAAA,MACtB;AAEA,YAAM,SAAS,gBAAgB,IAAI;AACnC,UAAI,WAAW,UAAU;AACvB,eAAO,MAAM,OAAO;AAAA,MACtB;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Base } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
import { type DragServiceOptions, type DragServiceProps } from '../services/DragService.js';
|
|
4
|
+
export type DragDecoratorOptions = DragServiceOptions & {
|
|
5
|
+
target?: (this: Base, instance: Base) => HTMLElement;
|
|
6
|
+
};
|
|
7
|
+
export interface WithDragInterface extends BaseInterface {
|
|
8
|
+
dragged?(props: DragServiceProps): void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Add dragging capabilities to a component.
|
|
12
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withDrag.html
|
|
13
|
+
*/
|
|
14
|
+
export declare function withDrag<S extends Base>(BaseClass: typeof Base, { target, ...options }?: DragDecoratorOptions): BaseDecorator<BaseInterface, S>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useDrag
|
|
3
|
+
} from "../services/DragService.js";
|
|
4
|
+
function withDrag(BaseClass, { target = (instance) => instance.$el, ...options } = {}) {
|
|
5
|
+
class WithDrag extends BaseClass {
|
|
6
|
+
/**
|
|
7
|
+
* Config.
|
|
8
|
+
*/
|
|
9
|
+
static config = {
|
|
10
|
+
...BaseClass.config,
|
|
11
|
+
emits: ["dragged"]
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Class constructor.
|
|
15
|
+
*/
|
|
16
|
+
constructor(element) {
|
|
17
|
+
super(element);
|
|
18
|
+
this.$on("mounted", () => {
|
|
19
|
+
this.$services.register(
|
|
20
|
+
"dragged",
|
|
21
|
+
useDrag.bind(void 0, target.call(this, this), options)
|
|
22
|
+
);
|
|
23
|
+
this.$services.enable("dragged");
|
|
24
|
+
});
|
|
25
|
+
this.$on("destroyed", () => {
|
|
26
|
+
this.$services.disable("dragged");
|
|
27
|
+
this.$services.unregister("dragged");
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return WithDrag;
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
withDrag
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=withDrag.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withDrag.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\nimport {\n type DragServiceOptions,\n type DragServiceProps,\n useDrag,\n} from '../services/DragService.js';\n\nexport type DragDecoratorOptions = DragServiceOptions & {\n target?: (this: Base, instance: Base) => HTMLElement;\n};\n\nexport interface WithDragInterface extends BaseInterface {\n dragged?(props: DragServiceProps): void;\n}\n\n/**\n * Add dragging capabilities to a component.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withDrag.html\n */\nexport function withDrag<S extends Base>(\n BaseClass: typeof Base,\n { target = (instance) => instance.$el, ...options }: DragDecoratorOptions = {},\n): BaseDecorator<BaseInterface, S> {\n /**\n * Class.\n */\n class WithDrag<T extends BaseProps = BaseProps> extends BaseClass<T & WithDragInterface> {\n /**\n * Config.\n */\n static config: BaseConfig = {\n ...BaseClass.config,\n emits: ['dragged'],\n };\n\n /**\n * Class constructor.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n this.$on('mounted', () => {\n this.$services.register(\n 'dragged',\n useDrag.bind(undefined, target.call(this, this), options),\n );\n this.$services.enable('dragged');\n });\n\n this.$on('destroyed', () => {\n this.$services.disable('dragged');\n this.$services.unregister('dragged');\n });\n }\n }\n\n // @ts-ignore\n return WithDrag;\n}\n"],
|
|
5
|
+
"mappings": "AAEA;AAAA,EAGE;AAAA,OACK;AAcA,SAAS,SACd,WACA,EAAE,SAAS,CAAC,aAAa,SAAS,KAAK,GAAG,QAAQ,IAA0B,CAAC,GAC5C;AAAA,EAIjC,MAAM,iBAAkD,UAAiC;AAAA;AAAA;AAAA;AAAA,IAIvF,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,OAAO,CAAC,SAAS;AAAA,IACnB;AAAA;AAAA;AAAA;AAAA,IAKA,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,WAAK,IAAI,WAAW,MAAM;AACxB,aAAK,UAAU;AAAA,UACb;AAAA,UACA,QAAQ,KAAK,QAAW,OAAO,KAAK,MAAM,IAAI,GAAG,OAAO;AAAA,QAC1D;AACA,aAAK,UAAU,OAAO,SAAS;AAAA,MACjC,CAAC;AAED,WAAK,IAAI,aAAa,MAAM;AAC1B,aAAK,UAAU,QAAQ,SAAS;AAChC,aAAK,UAAU,WAAW,SAAS;AAAA,MACrC,CAAC;AAAA,IACH;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Base, BaseConfig } from '../Base/Base.js';
|
|
2
|
+
import type { Options as DeepmergeOptions } from 'deepmerge';
|
|
3
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
4
|
+
/**
|
|
5
|
+
* Extends the configuration of an existing class.
|
|
6
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withExtraConfig.html
|
|
7
|
+
*/
|
|
8
|
+
export declare function withExtraConfig<S extends Base>(BaseClass: typeof Base, config: Partial<BaseConfig>, options?: DeepmergeOptions): BaseDecorator<BaseInterface, S>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withExtraConfig.ts"],
|
|
4
|
+
"sourcesContent": ["import merge from 'deepmerge';\nimport type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport type { Options as DeepmergeOptions } from 'deepmerge';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\n\n/**\n * Extends the configuration of an existing class.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withExtraConfig.html\n */\nexport function withExtraConfig<S extends Base>(\n BaseClass: typeof Base,\n config: Partial<BaseConfig>,\n options: DeepmergeOptions = {},\n): BaseDecorator<BaseInterface, S> {\n const newConfig = merge(BaseClass.config, config, options);\n\n if (newConfig.name === BaseClass.config.name) {\n newConfig.name = `${BaseClass.config.name}WithExtraConfig`;\n }\n\n /**\n * Class.\n */\n class WithExtraConfig<T extends BaseProps = BaseProps> extends BaseClass<T> {\n /**\n * Config.\n */\n static config: BaseConfig = newConfig;\n }\n\n // @ts-ignore\n return WithExtraConfig;\n}\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AASX,SAAS,gBACd,WACA,QACA,UAA4B,CAAC,GACI;AACjC,QAAM,YAAY,MAAM,UAAU,QAAQ,QAAQ,OAAO;AAEzD,MAAI,UAAU,SAAS,UAAU,OAAO,MAAM;AAC5C,cAAU,OAAO,GAAG,UAAU,OAAO,IAAI;AAAA,EAC3C;AAAA,EAKA,MAAM,wBAAyD,UAAa;AAAA;AAAA;AAAA;AAAA,IAI1E,OAAO,SAAqB;AAAA,EAC9B;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Base, BaseOptions } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface WithFreezedOptionsInterface extends BaseInterface {
|
|
4
|
+
readonly $options: Readonly<BaseOptions>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Freeze the `$options` property to improve performance.
|
|
8
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withFreezedOptions.html
|
|
9
|
+
*/
|
|
10
|
+
export declare function withFreezedOptions<S extends Base>(BaseClass: typeof Base): BaseDecorator<WithFreezedOptionsInterface, S>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withFreezedOptions.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseOptions, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\n\nexport interface WithFreezedOptionsInterface extends BaseInterface {\n readonly $options: Readonly<BaseOptions>;\n}\n\n/**\n * Freeze the `$options` property to improve performance.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withFreezedOptions.html\n */\nexport function withFreezedOptions<S extends Base>(\n BaseClass: typeof Base,\n): BaseDecorator<WithFreezedOptionsInterface, S> {\n /**\n * Class.\n */\n class WithFreezedOptions<T extends BaseProps = BaseProps> extends BaseClass<T> {\n /**\n * Hold freezed options\n *\n * @private\n */\n __freezedOptions;\n\n /**\n * Lazyly freeze the `$options` property.\n */\n get $options() {\n if (!this.__freezedOptions) {\n Object.defineProperty(this, '__freezedOptions', {\n value: Object.freeze({ ...super.$options }),\n enumerable: false,\n configurable: true,\n });\n }\n\n return this.__freezedOptions;\n }\n }\n\n // @ts-ignore\n return WithFreezedOptions;\n}\n"],
|
|
5
|
+
"mappings": "AAWO,SAAS,mBACd,WAC+C;AAAA,EAI/C,MAAM,2BAA4D,UAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM7E;AAAA;AAAA;AAAA;AAAA,IAKA,IAAI,WAAW;AACb,UAAI,CAAC,KAAK,kBAAkB;AAC1B,eAAO,eAAe,MAAM,oBAAoB;AAAA,UAC9C,OAAO,OAAO,OAAO,EAAE,GAAG,MAAM,SAAS,CAAC;AAAA,UAC1C,YAAY;AAAA,UACZ,cAAc;AAAA,QAChB,CAAC;AAAA,MACH;AAEA,aAAO,KAAK;AAAA,IACd;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Base, BaseProps } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface WithGroupProps extends BaseProps {
|
|
4
|
+
$options: {
|
|
5
|
+
group: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface WithGroupInterface extends BaseInterface {
|
|
9
|
+
get $group(): Set<Base>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Options for the `withGroup` decorator.
|
|
13
|
+
*/
|
|
14
|
+
export interface WithGroupOptions<T extends Base = Base, Scope extends object = object> {
|
|
15
|
+
/**
|
|
16
|
+
* Resolve the scope an instance belongs to. Return `undefined` to fall back
|
|
17
|
+
* to the global (unscoped) registry.
|
|
18
|
+
*/
|
|
19
|
+
getScope?: (instance: T) => Scope | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Resolve the group name of an instance, optionally using its resolved scope.
|
|
22
|
+
* Defaults to `instance.$options.group`.
|
|
23
|
+
*/
|
|
24
|
+
getGroup?: (instance: T, scope: Scope | undefined) => string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Enumerate the scoped groups registered for a given scope.
|
|
28
|
+
*
|
|
29
|
+
* Returns the live `Map` of `${namespace}${group}` keys to their members set
|
|
30
|
+
* for the given scope, or an empty `Map` for unknown scopes. Unknown scopes are
|
|
31
|
+
* NOT registered as a side effect of reading.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getScopedGroups(scope: object): Map<string, Set<Base>>;
|
|
34
|
+
/**
|
|
35
|
+
* Add group features to easily bind multiple components together.
|
|
36
|
+
*
|
|
37
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withGroup.html
|
|
38
|
+
*/
|
|
39
|
+
export declare function withGroup<S extends Base = Base, Scope extends object = object>(BaseClass: typeof Base, namespace?: string, options?: WithGroupOptions<S, Scope>): BaseDecorator<WithGroupInterface, S, WithGroupProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withGroup.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\n\nexport interface WithGroupProps extends BaseProps {\n $options: {\n group: string;\n };\n}\n\nexport interface WithGroupInterface extends BaseInterface {\n get $group(): Set<Base>;\n}\n\n/**\n * Options for the `withGroup` decorator.\n */\nexport interface WithGroupOptions<T extends Base = Base, Scope extends object = object> {\n /**\n * Resolve the scope an instance belongs to. Return `undefined` to fall back\n * to the global (unscoped) registry.\n */\n getScope?: (instance: T) => Scope | undefined;\n /**\n * Resolve the group name of an instance, optionally using its resolved scope.\n * Defaults to `instance.$options.group`.\n */\n getGroup?: (instance: T, scope: Scope | undefined) => string;\n}\n\n/**\n * Get global groups map.\n */\nfunction groups<T extends Base = Base>(): Map<string, Set<T>> {\n return (globalThis.__JS_TOOLKIT_GROUPS__ ??= new Map<string, Set<T>>());\n}\n\n/**\n * Scoped groups registry, keyed by scope identity. Scopes are stored in a\n * `WeakMap` so they can be garbage-collected once no longer referenced.\n */\nconst scopedGroups = new WeakMap<object, Map<string, Set<Base>>>();\n\n/**\n * Enumerate the scoped groups registered for a given scope.\n *\n * Returns the live `Map` of `${namespace}${group}` keys to their members set\n * for the given scope, or an empty `Map` for unknown scopes. Unknown scopes are\n * NOT registered as a side effect of reading.\n */\nexport function getScopedGroups(scope: object): Map<string, Set<Base>> {\n return scopedGroups.get(scope) ?? new Map<string, Set<Base>>();\n}\n\n/**\n * Get the members set for a given `(scope, key)` pair, creating it if needed.\n * When `scope` is `undefined`, the global (unscoped) registry is used.\n */\nfunction resolveGroupSet(scope: object | undefined, key: string): Set<Base> {\n if (scope) {\n let map = scopedGroups.get(scope);\n if (!map) {\n map = new Map<string, Set<Base>>();\n scopedGroups.set(scope, map);\n }\n let set = map.get(key);\n if (!set) {\n set = new Set<Base>();\n map.set(key, set);\n }\n return set;\n }\n\n const registry = groups();\n return registry.get(key) ?? registry.set(key, new Set()).get(key)!;\n}\n\n/**\n * Add group features to easily bind multiple components together.\n *\n * @link https://js-toolkit.studiometa.dev/api/decorators/withGroup.html\n */\nexport function withGroup<S extends Base = Base, Scope extends object = object>(\n BaseClass: typeof Base,\n namespace = '',\n options: WithGroupOptions<S, Scope> = {},\n): BaseDecorator<WithGroupInterface, S, WithGroupProps> {\n const getScope = options.getScope;\n const getGroup = options.getGroup ?? ((instance: S) => instance.$options.group);\n\n // @ts-expect-error Decorators can not be typed.\n return class WithGroup<T extends BaseProps = BaseProps> extends BaseClass<T & WithGroupProps> {\n static config: BaseConfig = {\n ...BaseClass.config,\n options: {\n group: String,\n },\n };\n\n /**\n * The members set remembered at mount time, if any.\n *\n * @private\n */\n __groupSnapshot: Set<Base> | undefined = undefined;\n\n /**\n * Resolve the members set for the current scope and group.\n *\n * @private\n */\n __resolveGroup() {\n const scope = getScope?.(this as unknown as S);\n const group = `${namespace}${getGroup(this as unknown as S, scope)}`;\n return resolveGroupSet(scope, group);\n }\n\n /**\n * Get the group set.\n */\n get $group() {\n const instances = this.__groupSnapshot ?? this.__resolveGroup();\n\n for (const instance of instances) {\n if (!instance.$el.isConnected) {\n instances.delete(instance);\n }\n }\n\n return instances;\n }\n\n constructor(element: HTMLElement) {\n super(element);\n\n this.$on('mounted', () => {\n // Resolve the members set through the public `$group` getter so that\n // subclasses overriding it keep receiving the membership writes. At this\n // point `__groupSnapshot` is still `undefined`, so the base getter\n // resolves fresh (identical behaviour for non-overriding classes).\n // Remember the exact set the instance was added to so that on destroy a\n // member is always removed from the set it joined, even if the scope or\n // group would now resolve differently.\n const instances = this.$group;\n instances.add(this);\n this.__groupSnapshot = instances;\n });\n this.$on('destroyed', () => {\n this.__groupSnapshot?.delete(this);\n this.__groupSnapshot = undefined;\n });\n }\n };\n}\n"],
|
|
5
|
+
"mappings": "AAgCA,SAAS,SAAqD;AAC5D,SAAQ,WAAW,0BAA0B,oBAAI,IAAoB;AACvE;AAMA,MAAM,eAAe,oBAAI,QAAwC;AAS1D,SAAS,gBAAgB,OAAuC;AACrE,SAAO,aAAa,IAAI,KAAK,KAAK,oBAAI,IAAuB;AAC/D;AAMA,SAAS,gBAAgB,OAA2B,KAAwB;AAC1E,MAAI,OAAO;AACT,QAAI,MAAM,aAAa,IAAI,KAAK;AAChC,QAAI,CAAC,KAAK;AACR,YAAM,oBAAI,IAAuB;AACjC,mBAAa,IAAI,OAAO,GAAG;AAAA,IAC7B;AACA,QAAI,MAAM,IAAI,IAAI,GAAG;AACrB,QAAI,CAAC,KAAK;AACR,YAAM,oBAAI,IAAU;AACpB,UAAI,IAAI,KAAK,GAAG;AAAA,IAClB;AACA,WAAO;AAAA,EACT;AAEA,QAAM,WAAW,OAAO;AACxB,SAAO,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,KAAK,oBAAI,IAAI,CAAC,EAAE,IAAI,GAAG;AAClE;AAOO,SAAS,UACd,WACA,YAAY,IACZ,UAAsC,CAAC,GACe;AACtD,QAAM,WAAW,QAAQ;AACzB,QAAM,WAAW,QAAQ,aAAa,CAAC,aAAgB,SAAS,SAAS;AAGzE,SAAO,MAAM,kBAAmD,UAA8B;AAAA,IAC5F,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,SAAS;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,kBAAyC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOzC,iBAAiB;AACf,YAAM,QAAQ,WAAW,IAAoB;AAC7C,YAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,MAAsB,KAAK,CAAC;AAClE,aAAO,gBAAgB,OAAO,KAAK;AAAA,IACrC;AAAA;AAAA;AAAA;AAAA,IAKA,IAAI,SAAS;AACX,YAAM,YAAY,KAAK,mBAAmB,KAAK,eAAe;AAE9D,iBAAW,YAAY,WAAW;AAChC,YAAI,CAAC,SAAS,IAAI,aAAa;AAC7B,oBAAU,OAAO,QAAQ;AAAA,QAC3B;AAAA,MACF;AAEA,aAAO;AAAA,IACT;AAAA,IAEA,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,WAAK,IAAI,WAAW,MAAM;AAQxB,cAAM,YAAY,KAAK;AACvB,kBAAU,IAAI,IAAI;AAClB,aAAK,kBAAkB;AAAA,MACzB,CAAC;AACD,WAAK,IAAI,aAAa,MAAM;AAC1B,aAAK,iBAAiB,OAAO,IAAI;AACjC,aAAK,kBAAkB;AAAA,MACzB,CAAC;AAAA,IACH;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Base, BaseProps } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface WithIntersectionObserverProps extends BaseProps {
|
|
4
|
+
$options: {
|
|
5
|
+
intersectionObserver: IntersectionObserverInit;
|
|
6
|
+
};
|
|
7
|
+
$observer: IntersectionObserver;
|
|
8
|
+
intersected(entries: IntersectionObserverEntry[]): void;
|
|
9
|
+
}
|
|
10
|
+
export interface WithIntersectionObserverInterface extends BaseInterface {
|
|
11
|
+
$observer: IntersectionObserver;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* IntersectionObserver decoration.
|
|
15
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withIntersectionObserver.html
|
|
16
|
+
*/
|
|
17
|
+
export declare function withIntersectionObserver<S extends Base>(BaseClass: typeof Base, defaultOptions?: IntersectionObserverInit): BaseDecorator<WithIntersectionObserverInterface, S, WithIntersectionObserverProps>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createRange } from "../utils/math/createRange.js";
|
|
2
|
+
function withIntersectionObserver(BaseClass, defaultOptions = { threshold: createRange(0, 1, 0.01) }) {
|
|
3
|
+
class WithIntersectionObserver extends BaseClass {
|
|
4
|
+
/**
|
|
5
|
+
* Config
|
|
6
|
+
*/
|
|
7
|
+
static config = {
|
|
8
|
+
...BaseClass.config,
|
|
9
|
+
options: {
|
|
10
|
+
intersectionObserver: Object
|
|
11
|
+
},
|
|
12
|
+
emits: ["intersected"]
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Intersection observer instance.
|
|
16
|
+
*/
|
|
17
|
+
$observer;
|
|
18
|
+
/**
|
|
19
|
+
* Create an observer when the class in instantiated.
|
|
20
|
+
*/
|
|
21
|
+
constructor(element) {
|
|
22
|
+
super(element);
|
|
23
|
+
this.$observer = new IntersectionObserver(
|
|
24
|
+
(entries) => {
|
|
25
|
+
this.__callMethod("intersected", entries);
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
...defaultOptions,
|
|
29
|
+
...this.$options.intersectionObserver
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
this.$on("mounted", () => {
|
|
33
|
+
this.$observer.observe(this.$el);
|
|
34
|
+
});
|
|
35
|
+
this.$on("destroyed", () => {
|
|
36
|
+
this.$observer.unobserve(this.$el);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return WithIntersectionObserver;
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
withIntersectionObserver
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=withIntersectionObserver.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withIntersectionObserver.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport type { BaseDecorator, BaseInterface } from '../Base/types.js';\nimport { createRange } from '../utils/math/createRange.js';\n\nexport interface WithIntersectionObserverProps extends BaseProps {\n $options: {\n intersectionObserver: IntersectionObserverInit;\n };\n $observer: IntersectionObserver;\n intersected(entries: IntersectionObserverEntry[]): void;\n}\n\nexport interface WithIntersectionObserverInterface extends BaseInterface {\n $observer: IntersectionObserver;\n}\n\n/**\n * IntersectionObserver decoration.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withIntersectionObserver.html\n */\nexport function withIntersectionObserver<S extends Base>(\n BaseClass: typeof Base,\n // eslint-disable-next-line unicorn/no-object-as-default-parameter\n defaultOptions: IntersectionObserverInit = { threshold: createRange(0, 1, 0.01) },\n): BaseDecorator<WithIntersectionObserverInterface, S, WithIntersectionObserverProps> {\n /**\n * Class.\n */\n class WithIntersectionObserver<T extends BaseProps = BaseProps> extends BaseClass<\n T & WithIntersectionObserverProps\n > {\n /**\n * Config\n */\n static config: BaseConfig = {\n ...BaseClass.config,\n options: {\n intersectionObserver: Object,\n },\n emits: ['intersected'],\n };\n\n /**\n * Intersection observer instance.\n */\n $observer: IntersectionObserver;\n\n /**\n * Create an observer when the class in instantiated.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n this.$observer = new IntersectionObserver(\n (entries) => {\n this.__callMethod('intersected', entries);\n },\n {\n ...defaultOptions,\n ...(this.$options.intersectionObserver as IntersectionObserverInit),\n },\n );\n\n this.$on('mounted', () => {\n this.$observer.observe(this.$el);\n });\n\n this.$on('destroyed', () => {\n this.$observer.unobserve(this.$el);\n });\n }\n }\n\n // @ts-ignore\n return WithIntersectionObserver;\n}\n"],
|
|
5
|
+
"mappings": "AAEA,SAAS,mBAAmB;AAkBrB,SAAS,yBACd,WAEA,iBAA2C,EAAE,WAAW,YAAY,GAAG,GAAG,IAAI,EAAE,GACI;AAAA,EAIpF,MAAM,iCAAkE,UAEtE;AAAA;AAAA;AAAA;AAAA,IAIA,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,SAAS;AAAA,QACP,sBAAsB;AAAA,MACxB;AAAA,MACA,OAAO,CAAC,aAAa;AAAA,IACvB;AAAA;AAAA;AAAA;AAAA,IAKA;AAAA;AAAA;AAAA;AAAA,IAKA,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,WAAK,YAAY,IAAI;AAAA,QACnB,CAAC,YAAY;AACX,eAAK,aAAa,eAAe,OAAO;AAAA,QAC1C;AAAA,QACA;AAAA,UACE,GAAG;AAAA,UACH,GAAI,KAAK,SAAS;AAAA,QACpB;AAAA,MACF;AAEA,WAAK,IAAI,WAAW,MAAM;AACxB,aAAK,UAAU,QAAQ,KAAK,GAAG;AAAA,MACjC,CAAC;AAED,WAAK,IAAI,aAAa,MAAM;AAC1B,aAAK,UAAU,UAAU,KAAK,GAAG;AAAA,MACnC,CAAC;AAAA,IACH;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Base, BaseProps } from '../Base/Base.js';
|
|
2
|
+
import { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface withMountOnMediaQueryProps extends BaseProps {
|
|
4
|
+
$options: {
|
|
5
|
+
media: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface withMountOnMediaQueryInterface extends BaseInterface {
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
12
|
+
__matches: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* IntersectionObserver decoration.
|
|
16
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withMountOnMediaQuery.html
|
|
17
|
+
*/
|
|
18
|
+
export declare function withMountOnMediaQuery<S extends Base = Base>(BaseClass: typeof Base, media: any): BaseDecorator<withMountOnMediaQueryInterface, S, withMountOnMediaQueryProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withMountOnMediaQuery.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport { BaseDecorator, BaseInterface } from '../Base/types.js';\nimport { isDev } from '../utils/is.js';\n\nexport interface withMountOnMediaQueryProps extends BaseProps {\n $options: {\n media: string;\n };\n}\n\nexport interface withMountOnMediaQueryInterface extends BaseInterface {\n /**\n * @private\n */\n __matches: boolean;\n}\n\n/**\n * IntersectionObserver decoration.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withMountOnMediaQuery.html\n */\nexport function withMountOnMediaQuery<S extends Base = Base>(\n BaseClass: typeof Base,\n media,\n): BaseDecorator<withMountOnMediaQueryInterface, S, withMountOnMediaQueryProps> {\n /**\n * Class.\n */\n class WithMountOnMediaQuery<T extends BaseProps = BaseProps> extends BaseClass<\n T & withMountOnMediaQueryProps\n > {\n /**\n * Config.\n */\n static config: BaseConfig = {\n ...BaseClass.config,\n options: {\n media: String,\n },\n };\n\n /**\n * Is the media query matches?\n *\n * @private\n */\n __matches = false;\n\n /**\n * Listen for media query changes when the class in instantiated.\n *\n * @param {HTMLElement} element The component's root element.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n if (isDev && !this.$options.media && !media) {\n this.$warn(\n 'Missing either \"$options.media\" or \"media\" argument in withMountOnMediaQuery decorator.',\n );\n return;\n }\n\n const mediaQueryList = window.matchMedia(this.$options.media || media);\n\n // Set initial value\n this.__matches = mediaQueryList.matches;\n\n const changeHandler = (event: MediaQueryListEvent) => {\n this.__matches = event.matches;\n\n if (event.matches && !this.$isMounted) {\n this.$mount();\n } else if (this.$isMounted) {\n setTimeout(() => this.$destroy());\n }\n };\n\n // Start listening for changes\n mediaQueryList.addEventListener('change', changeHandler);\n\n this.$on('terminated', () => {\n mediaQueryList.removeEventListener('change', changeHandler);\n });\n }\n\n /**\n * Override the mounting of the component.\n */\n async $mount() {\n if (this.__matches) {\n return super.$mount();\n }\n\n return this;\n }\n }\n\n // @ts-ignore\n return WithMountOnMediaQuery;\n}\n"],
|
|
5
|
+
"mappings": "AAEA,SAAS,aAAa;AAmBf,SAAS,sBACd,WACA,OAC8E;AAAA,EAI9E,MAAM,8BAA+D,UAEnE;AAAA;AAAA;AAAA;AAAA,IAIA,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,SAAS;AAAA,QACP,OAAO;AAAA,MACT;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOZ,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,UAAI,SAAS,CAAC,KAAK,SAAS,SAAS,CAAC,OAAO;AAC3C,aAAK;AAAA,UACH;AAAA,QACF;AACA;AAAA,MACF;AAEA,YAAM,iBAAiB,OAAO,WAAW,KAAK,SAAS,SAAS,KAAK;AAGrE,WAAK,YAAY,eAAe;AAEhC,YAAM,gBAAgB,CAAC,UAA+B;AACpD,aAAK,YAAY,MAAM;AAEvB,YAAI,MAAM,WAAW,CAAC,KAAK,YAAY;AACrC,eAAK,OAAO;AAAA,QACd,WAAW,KAAK,YAAY;AAC1B,qBAAW,MAAM,KAAK,SAAS,CAAC;AAAA,QAClC;AAAA,MACF;AAGA,qBAAe,iBAAiB,UAAU,aAAa;AAEvD,WAAK,IAAI,cAAc,MAAM;AAC3B,uBAAe,oBAAoB,UAAU,aAAa;AAAA,MAC5D,CAAC;AAAA,IACH;AAAA;AAAA;AAAA;AAAA,IAKA,MAAM,SAAS;AACb,UAAI,KAAK,WAAW;AAClB,eAAO,MAAM,OAAO;AAAA,MACtB;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Base, BaseProps } from '../Base/Base.js';
|
|
2
|
+
import { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
export interface WithMountWhenInViewProps extends BaseProps {
|
|
4
|
+
$options: {
|
|
5
|
+
intersectionObserver: IntersectionObserverInit;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface WithMountWhenInViewInterface extends BaseInterface {
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
12
|
+
__isVisible: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
__observer: IntersectionObserver;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* IntersectionObserver decoration.
|
|
20
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withMountWhenInView.html
|
|
21
|
+
*/
|
|
22
|
+
export declare function withMountWhenInView<S extends Base = Base>(BaseClass: typeof Base, defaultOptions?: IntersectionObserverInit): BaseDecorator<WithMountWhenInViewInterface, S, WithMountWhenInViewProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withMountWhenInView.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base, BaseConfig, BaseProps } from '../Base/Base.js';\nimport { BaseDecorator, BaseInterface } from '../Base/types.js';\n\nexport interface WithMountWhenInViewProps extends BaseProps {\n $options: {\n intersectionObserver: IntersectionObserverInit;\n };\n}\n\nexport interface WithMountWhenInViewInterface extends BaseInterface {\n /**\n * @private\n */\n __isVisible: boolean;\n /**\n * @private\n */\n __observer: IntersectionObserver;\n}\n\n/**\n * IntersectionObserver decoration.\n * @link https://js-toolkit.studiometa.dev/api/decorators/withMountWhenInView.html\n */\nexport function withMountWhenInView<S extends Base = Base>(\n BaseClass: typeof Base,\n // eslint-disable-next-line unicorn/no-object-as-default-parameter\n defaultOptions: IntersectionObserverInit = { threshold: [0, 1] },\n): BaseDecorator<WithMountWhenInViewInterface, S, WithMountWhenInViewProps> {\n /**\n * Class.\n */\n class WithMountWhenInView<T extends BaseProps = BaseProps> extends BaseClass<\n T & WithMountWhenInViewProps\n > {\n /**\n * Config.\n */\n static config: BaseConfig = {\n ...BaseClass.config,\n options: {\n intersectionObserver: Object,\n },\n };\n\n /**\n * Is the component visible?\n *\n * @private\n */\n __isVisible = false;\n\n /**\n * The component's observer.\n *\n * @private\n */\n __observer: IntersectionObserver;\n\n /**\n * Create an observer when the class in instantiated.\n *\n * @param {HTMLElement} element The component's root element.\n */\n constructor(element: HTMLElement) {\n super(element);\n\n this.__observer = new IntersectionObserver(\n (entries) => {\n const isVisible = entries.reduce((acc, entry) => acc || entry.isIntersecting, false);\n if (this.__isVisible !== isVisible) {\n this.__isVisible = isVisible;\n\n if (isVisible) {\n this.$mount();\n } else {\n setTimeout(() => this.$destroy());\n }\n }\n },\n {\n ...defaultOptions,\n ...(this.$options as typeof this.$options & WithMountWhenInViewProps['$options'])\n .intersectionObserver,\n },\n );\n\n this.__observer.observe(this.$el);\n\n this.$on('terminated', () => {\n this.__observer.disconnect();\n });\n }\n\n /**\n * Override the mounting of the component.\n */\n async $mount() {\n if (this.__isVisible) {\n return super.$mount();\n }\n\n return this;\n }\n }\n\n // @ts-ignore\n return WithMountWhenInView;\n}\n"],
|
|
5
|
+
"mappings": "AAwBO,SAAS,oBACd,WAEA,iBAA2C,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,GACW;AAAA,EAI1E,MAAM,4BAA6D,UAEjE;AAAA;AAAA;AAAA;AAAA,IAIA,OAAO,SAAqB;AAAA,MAC1B,GAAG,UAAU;AAAA,MACb,SAAS;AAAA,QACP,sBAAsB;AAAA,MACxB;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,YAAY,SAAsB;AAChC,YAAM,OAAO;AAEb,WAAK,aAAa,IAAI;AAAA,QACpB,CAAC,YAAY;AACX,gBAAM,YAAY,QAAQ,OAAO,CAAC,KAAK,UAAU,OAAO,MAAM,gBAAgB,KAAK;AACnF,cAAI,KAAK,gBAAgB,WAAW;AAClC,iBAAK,cAAc;AAEnB,gBAAI,WAAW;AACb,mBAAK,OAAO;AAAA,YACd,OAAO;AACL,yBAAW,MAAM,KAAK,SAAS,CAAC;AAAA,YAClC;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,GAAG;AAAA,UACH,GAAI,KAAK,SACN;AAAA,QACL;AAAA,MACF;AAEA,WAAK,WAAW,QAAQ,KAAK,GAAG;AAEhC,WAAK,IAAI,cAAc,MAAM;AAC3B,aAAK,WAAW,WAAW;AAAA,MAC7B,CAAC;AAAA,IACH;AAAA;AAAA;AAAA;AAAA,IAKA,MAAM,SAAS;AACb,UAAI,KAAK,aAAa;AACpB,eAAO,MAAM,OAAO;AAAA,MACtB;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AAGA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Base } from '../Base/Base.js';
|
|
2
|
+
import { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
/**
|
|
4
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withMountWhenPrefersMotion.html
|
|
5
|
+
*/
|
|
6
|
+
export declare function withMountWhenPrefersMotion<S extends Base = Base>(BaseClass: typeof Base): BaseDecorator<BaseInterface, S>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/js-toolkit/decorators/withMountWhenPrefersMotion.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Base } from '../Base/Base.js';\nimport { withMountOnMediaQuery } from './withMountOnMediaQuery.js';\nimport { BaseDecorator, BaseInterface } from '../Base/types.js';\n\n/**\n * @link https://js-toolkit.studiometa.dev/api/decorators/withMountWhenPrefersMotion.html\n */\nexport function withMountWhenPrefersMotion<S extends Base = Base>(\n BaseClass: typeof Base,\n): BaseDecorator<BaseInterface, S> {\n return withMountOnMediaQuery(BaseClass, 'not (prefers-reduced-motion)');\n}\n"],
|
|
5
|
+
"mappings": "AACA,SAAS,6BAA6B;AAM/B,SAAS,2BACd,WACiC;AACjC,SAAO,sBAAsB,WAAW,8BAA8B;AACxE;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Base } from '../Base/Base.js';
|
|
2
|
+
import type { BaseDecorator, BaseInterface } from '../Base/types.js';
|
|
3
|
+
import { type MutationServiceOptions, type MutationServiceProps } from '../services/MutationService.js';
|
|
4
|
+
export type MutationDecoratorOptions = MutationServiceOptions & {
|
|
5
|
+
target?: (this: Base, instance: Base) => Node;
|
|
6
|
+
};
|
|
7
|
+
export interface WithMutationInterface extends BaseInterface {
|
|
8
|
+
mutated?(props: MutationServiceProps): void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Add a mutation observer to a component.
|
|
12
|
+
* @link https://js-toolkit.studiometa.dev/api/decorators/withMutation.html
|
|
13
|
+
*/
|
|
14
|
+
export declare function withMutation<S extends Base>(BaseClass: typeof Base, { target, ...options }?: MutationDecoratorOptions): BaseDecorator<BaseInterface, S>;
|