@studiometa/js-toolkit 3.8.2 → 3.9.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autoload/autoload.d.ts +37 -0
- package/autoload/autoload.js +29 -0
- package/autoload/autoload.js.map +7 -0
- package/autoload/define-manifest.d.ts +60 -0
- package/autoload/define-manifest.js +51 -0
- package/autoload/define-manifest.js.map +7 -0
- package/autoload/index.d.ts +6 -0
- package/autoload/index.js +34 -0
- package/autoload/index.js.map +7 -0
- package/autoload/loader.d.ts +108 -0
- package/autoload/loader.js +381 -0
- package/autoload/loader.js.map +7 -0
- package/autoload/modules.d.ts +31 -0
- package/autoload/modules.js +21 -0
- package/autoload/modules.js.map +7 -0
- package/autoload/runtime.d.ts +93 -0
- package/autoload/runtime.js +100 -0
- package/autoload/runtime.js.map +7 -0
- package/autoload/types.d.ts +49 -0
- package/autoload/types.js +1 -0
- package/autoload/types.js.map +7 -0
- package/index.d.ts +2 -1
- package/index.js +27 -1
- package/index.js.map +2 -2
- package/package.json +1162 -1
- package/subpaths/AbstractService.d.ts +1 -0
- package/subpaths/AbstractService.js +6 -0
- package/subpaths/AbstractService.js.map +7 -0
- package/subpaths/AutoloadHandle.d.ts +1 -0
- package/subpaths/AutoloadHandle.js +1 -0
- package/subpaths/AutoloadHandle.js.map +7 -0
- package/subpaths/AutoloadOptions.d.ts +1 -0
- package/subpaths/AutoloadOptions.js +1 -0
- package/subpaths/AutoloadOptions.js.map +7 -0
- package/subpaths/AutoloadRuntime.d.ts +1 -0
- package/subpaths/AutoloadRuntime.js +1 -0
- package/subpaths/AutoloadRuntime.js.map +7 -0
- package/subpaths/Base.d.ts +1 -0
- package/subpaths/Base.js +6 -0
- package/subpaths/Base.js.map +7 -0
- package/subpaths/BaseAsyncConstructor.d.ts +1 -0
- package/subpaths/BaseAsyncConstructor.js +1 -0
- package/subpaths/BaseAsyncConstructor.js.map +7 -0
- package/subpaths/BaseChildren.d.ts +1 -0
- package/subpaths/BaseChildren.js +1 -0
- package/subpaths/BaseChildren.js.map +7 -0
- package/subpaths/BaseConfig.d.ts +1 -0
- package/subpaths/BaseConfig.js +1 -0
- package/subpaths/BaseConfig.js.map +7 -0
- package/subpaths/BaseConfigComponents.d.ts +1 -0
- package/subpaths/BaseConfigComponents.js +1 -0
- package/subpaths/BaseConfigComponents.js.map +7 -0
- package/subpaths/BaseConstructor.d.ts +1 -0
- package/subpaths/BaseConstructor.js +1 -0
- package/subpaths/BaseConstructor.js.map +7 -0
- package/subpaths/BaseDecorator.d.ts +1 -0
- package/subpaths/BaseDecorator.js +1 -0
- package/subpaths/BaseDecorator.js.map +7 -0
- package/subpaths/BaseEl.d.ts +1 -0
- package/subpaths/BaseEl.js +1 -0
- package/subpaths/BaseEl.js.map +7 -0
- package/subpaths/BaseEventHookParams.d.ts +1 -0
- package/subpaths/BaseEventHookParams.js +1 -0
- package/subpaths/BaseEventHookParams.js.map +7 -0
- package/subpaths/BaseInterface.d.ts +1 -0
- package/subpaths/BaseInterface.js +1 -0
- package/subpaths/BaseInterface.js.map +7 -0
- package/subpaths/BaseOptions.d.ts +1 -0
- package/subpaths/BaseOptions.js +1 -0
- package/subpaths/BaseOptions.js.map +7 -0
- package/subpaths/BaseProps.d.ts +1 -0
- package/subpaths/BaseProps.js +1 -0
- package/subpaths/BaseProps.js.map +7 -0
- package/subpaths/BaseRefs.d.ts +1 -0
- package/subpaths/BaseRefs.js +1 -0
- package/subpaths/BaseRefs.js.map +7 -0
- package/subpaths/ComponentLoadStrategy.d.ts +1 -0
- package/subpaths/ComponentLoadStrategy.js +1 -0
- package/subpaths/ComponentLoadStrategy.js.map +7 -0
- package/subpaths/ComponentLoader.d.ts +1 -0
- package/subpaths/ComponentLoader.js +6 -0
- package/subpaths/ComponentLoader.js.map +7 -0
- package/subpaths/ComponentLoaderOptions.d.ts +1 -0
- package/subpaths/ComponentLoaderOptions.js +1 -0
- package/subpaths/ComponentLoaderOptions.js.map +7 -0
- package/subpaths/ComponentLoaderStartOptions.d.ts +1 -0
- package/subpaths/ComponentLoaderStartOptions.js +1 -0
- package/subpaths/ComponentLoaderStartOptions.js.map +7 -0
- package/subpaths/ComponentManifest.d.ts +1 -0
- package/subpaths/ComponentManifest.js +1 -0
- package/subpaths/ComponentManifest.js.map +7 -0
- package/subpaths/ComponentManifestEntry.d.ts +1 -0
- package/subpaths/ComponentManifestEntry.js +1 -0
- package/subpaths/ComponentManifestEntry.js.map +7 -0
- package/subpaths/ComponentOverride.d.ts +1 -0
- package/subpaths/ComponentOverride.js +1 -0
- package/subpaths/ComponentOverride.js.map +7 -0
- package/subpaths/CreateAppOptions.d.ts +1 -0
- package/subpaths/CreateAppOptions.js +1 -0
- package/subpaths/CreateAppOptions.js.map +7 -0
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.d.ts +1 -0
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js +6 -0
- package/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js.map +7 -0
- package/subpaths/DefineManifestOptions.d.ts +1 -0
- package/subpaths/DefineManifestOptions.js +1 -0
- package/subpaths/DefineManifestOptions.js.map +7 -0
- package/subpaths/DragDecoratorOptions.d.ts +1 -0
- package/subpaths/DragDecoratorOptions.js +1 -0
- package/subpaths/DragDecoratorOptions.js.map +7 -0
- package/subpaths/DragService.d.ts +1 -0
- package/subpaths/DragService.js +6 -0
- package/subpaths/DragService.js.map +7 -0
- package/subpaths/DragServiceInterface.d.ts +1 -0
- package/subpaths/DragServiceInterface.js +1 -0
- package/subpaths/DragServiceInterface.js.map +7 -0
- package/subpaths/DragServiceOptions.d.ts +1 -0
- package/subpaths/DragServiceOptions.js +1 -0
- package/subpaths/DragServiceOptions.js.map +7 -0
- package/subpaths/DragServiceProps.d.ts +1 -0
- package/subpaths/DragServiceProps.js +1 -0
- package/subpaths/DragServiceProps.js.map +7 -0
- package/subpaths/IDLE_TIMEOUT.d.ts +1 -0
- package/subpaths/IDLE_TIMEOUT.js +6 -0
- package/subpaths/IDLE_TIMEOUT.js.map +7 -0
- package/subpaths/KeyService.d.ts +1 -0
- package/subpaths/KeyService.js +6 -0
- package/subpaths/KeyService.js.map +7 -0
- package/subpaths/KeyServiceInterface.d.ts +1 -0
- package/subpaths/KeyServiceInterface.js +1 -0
- package/subpaths/KeyServiceInterface.js.map +7 -0
- package/subpaths/KeyServiceProps.d.ts +1 -0
- package/subpaths/KeyServiceProps.js +1 -0
- package/subpaths/KeyServiceProps.js.map +7 -0
- package/subpaths/LoadService.d.ts +1 -0
- package/subpaths/LoadService.js +6 -0
- package/subpaths/LoadService.js.map +7 -0
- package/subpaths/LoadServiceInterface.d.ts +1 -0
- package/subpaths/LoadServiceInterface.js +1 -0
- package/subpaths/LoadServiceInterface.js.map +7 -0
- package/subpaths/LoadServiceProps.d.ts +1 -0
- package/subpaths/LoadServiceProps.js +1 -0
- package/subpaths/LoadServiceProps.js.map +7 -0
- package/subpaths/LoaderDependencies.d.ts +1 -0
- package/subpaths/LoaderDependencies.js +1 -0
- package/subpaths/LoaderDependencies.js.map +7 -0
- package/subpaths/Managers.d.ts +1 -0
- package/subpaths/Managers.js +1 -0
- package/subpaths/Managers.js.map +7 -0
- package/subpaths/ModuleRecord.d.ts +1 -0
- package/subpaths/ModuleRecord.js +1 -0
- package/subpaths/ModuleRecord.js.map +7 -0
- package/subpaths/MutationDecoratorOptions.d.ts +1 -0
- package/subpaths/MutationDecoratorOptions.js +1 -0
- package/subpaths/MutationDecoratorOptions.js.map +7 -0
- package/subpaths/MutationService.d.ts +1 -0
- package/subpaths/MutationService.js +6 -0
- package/subpaths/MutationService.js.map +7 -0
- package/subpaths/MutationServiceInterface.d.ts +1 -0
- package/subpaths/MutationServiceInterface.js +1 -0
- package/subpaths/MutationServiceInterface.js.map +7 -0
- package/subpaths/MutationServiceOptions.d.ts +1 -0
- package/subpaths/MutationServiceOptions.js +1 -0
- package/subpaths/MutationServiceOptions.js.map +7 -0
- package/subpaths/MutationServiceProps.d.ts +1 -0
- package/subpaths/MutationServiceProps.js +1 -0
- package/subpaths/MutationServiceProps.js.map +7 -0
- package/subpaths/NormalizedOffset.d.ts +1 -0
- package/subpaths/NormalizedOffset.js +1 -0
- package/subpaths/NormalizedOffset.js.map +7 -0
- package/subpaths/OffsetValue.d.ts +1 -0
- package/subpaths/OffsetValue.js +1 -0
- package/subpaths/OffsetValue.js.map +7 -0
- package/subpaths/PointerService.d.ts +1 -0
- package/subpaths/PointerService.js +6 -0
- package/subpaths/PointerService.js.map +7 -0
- package/subpaths/PointerServiceInterface.d.ts +1 -0
- package/subpaths/PointerServiceInterface.js +1 -0
- package/subpaths/PointerServiceInterface.js.map +7 -0
- package/subpaths/PointerServiceProps.d.ts +1 -0
- package/subpaths/PointerServiceProps.js +1 -0
- package/subpaths/PointerServiceProps.js.map +7 -0
- package/subpaths/QueryOptions.d.ts +1 -0
- package/subpaths/QueryOptions.js +1 -0
- package/subpaths/QueryOptions.js.map +7 -0
- package/subpaths/RafService.d.ts +1 -0
- package/subpaths/RafService.js +6 -0
- package/subpaths/RafService.js.map +7 -0
- package/subpaths/RafServiceInterface.d.ts +1 -0
- package/subpaths/RafServiceInterface.js +1 -0
- package/subpaths/RafServiceInterface.js.map +7 -0
- package/subpaths/RafServiceProps.d.ts +1 -0
- package/subpaths/RafServiceProps.js +1 -0
- package/subpaths/RafServiceProps.js.map +7 -0
- package/subpaths/RegisterManifestOptions.d.ts +1 -0
- package/subpaths/RegisterManifestOptions.js +1 -0
- package/subpaths/RegisterManifestOptions.js.map +7 -0
- package/subpaths/RelativePointerDecoratorOptions.d.ts +1 -0
- package/subpaths/RelativePointerDecoratorOptions.js +1 -0
- package/subpaths/RelativePointerDecoratorOptions.js.map +7 -0
- package/subpaths/RelativePointerInterface.d.ts +1 -0
- package/subpaths/RelativePointerInterface.js +1 -0
- package/subpaths/RelativePointerInterface.js.map +7 -0
- package/subpaths/ResizeService.d.ts +1 -0
- package/subpaths/ResizeService.js +6 -0
- package/subpaths/ResizeService.js.map +7 -0
- package/subpaths/ResizeServiceInterface.d.ts +1 -0
- package/subpaths/ResizeServiceInterface.js +1 -0
- package/subpaths/ResizeServiceInterface.js.map +7 -0
- package/subpaths/ResizeServiceProps.d.ts +1 -0
- package/subpaths/ResizeServiceProps.js +1 -0
- package/subpaths/ResizeServiceProps.js.map +7 -0
- package/subpaths/ScrollInViewProps.d.ts +1 -0
- package/subpaths/ScrollInViewProps.js +1 -0
- package/subpaths/ScrollInViewProps.js.map +7 -0
- package/subpaths/ScrollService.d.ts +1 -0
- package/subpaths/ScrollService.js +6 -0
- package/subpaths/ScrollService.js.map +7 -0
- package/subpaths/ScrollServiceInterface.d.ts +1 -0
- package/subpaths/ScrollServiceInterface.js +1 -0
- package/subpaths/ScrollServiceInterface.js.map +7 -0
- package/subpaths/ScrollServiceProps.d.ts +1 -0
- package/subpaths/ScrollServiceProps.js +1 -0
- package/subpaths/ScrollServiceProps.js.map +7 -0
- package/subpaths/ServiceConfig.d.ts +1 -0
- package/subpaths/ServiceConfig.js +1 -0
- package/subpaths/ServiceConfig.js.map +7 -0
- package/subpaths/ServiceInterface.d.ts +1 -0
- package/subpaths/ServiceInterface.js +1 -0
- package/subpaths/ServiceInterface.js.map +7 -0
- package/subpaths/VISIBLE_ROOT_MARGIN.d.ts +1 -0
- package/subpaths/VISIBLE_ROOT_MARGIN.js +6 -0
- package/subpaths/VISIBLE_ROOT_MARGIN.js.map +7 -0
- package/subpaths/WebpackContextLike.d.ts +1 -0
- package/subpaths/WebpackContextLike.js +1 -0
- package/subpaths/WebpackContextLike.js.map +7 -0
- package/subpaths/WithBreakpointObserverInterface.d.ts +1 -0
- package/subpaths/WithBreakpointObserverInterface.js +1 -0
- package/subpaths/WithBreakpointObserverInterface.js.map +7 -0
- package/subpaths/WithBreakpointObserverProps.d.ts +1 -0
- package/subpaths/WithBreakpointObserverProps.js +1 -0
- package/subpaths/WithBreakpointObserverProps.js.map +7 -0
- package/subpaths/WithDragInterface.d.ts +1 -0
- package/subpaths/WithDragInterface.js +1 -0
- package/subpaths/WithDragInterface.js.map +7 -0
- package/subpaths/WithFreezedOptionsInterface.d.ts +1 -0
- package/subpaths/WithFreezedOptionsInterface.js +1 -0
- package/subpaths/WithFreezedOptionsInterface.js.map +7 -0
- package/subpaths/WithGroupInterface.d.ts +1 -0
- package/subpaths/WithGroupInterface.js +1 -0
- package/subpaths/WithGroupInterface.js.map +7 -0
- package/subpaths/WithGroupOptions.d.ts +1 -0
- package/subpaths/WithGroupOptions.js +1 -0
- package/subpaths/WithGroupOptions.js.map +7 -0
- package/subpaths/WithGroupProps.d.ts +1 -0
- package/subpaths/WithGroupProps.js +1 -0
- package/subpaths/WithGroupProps.js.map +7 -0
- package/subpaths/WithIntersectionObserverInterface.d.ts +1 -0
- package/subpaths/WithIntersectionObserverInterface.js +1 -0
- package/subpaths/WithIntersectionObserverInterface.js.map +7 -0
- package/subpaths/WithIntersectionObserverProps.d.ts +1 -0
- package/subpaths/WithIntersectionObserverProps.js +1 -0
- package/subpaths/WithIntersectionObserverProps.js.map +7 -0
- package/subpaths/WithMountWhenInViewInterface.d.ts +1 -0
- package/subpaths/WithMountWhenInViewInterface.js +1 -0
- package/subpaths/WithMountWhenInViewInterface.js.map +7 -0
- package/subpaths/WithMountWhenInViewProps.d.ts +1 -0
- package/subpaths/WithMountWhenInViewProps.js +1 -0
- package/subpaths/WithMountWhenInViewProps.js.map +7 -0
- package/subpaths/WithMutationInterface.d.ts +1 -0
- package/subpaths/WithMutationInterface.js +1 -0
- package/subpaths/WithMutationInterface.js.map +7 -0
- package/subpaths/WithScrolledInViewInterface.d.ts +1 -0
- package/subpaths/WithScrolledInViewInterface.js +1 -0
- package/subpaths/WithScrolledInViewInterface.js.map +7 -0
- package/subpaths/WithScrolledInViewOptions.d.ts +1 -0
- package/subpaths/WithScrolledInViewOptions.js +1 -0
- package/subpaths/WithScrolledInViewOptions.js.map +7 -0
- package/subpaths/WithScrolledInViewProps.d.ts +1 -0
- package/subpaths/WithScrolledInViewProps.js +1 -0
- package/subpaths/WithScrolledInViewProps.js.map +7 -0
- package/subpaths/autoload.d.ts +1 -0
- package/subpaths/autoload.js +6 -0
- package/subpaths/autoload.js.map +7 -0
- package/subpaths/closestComponent.d.ts +1 -0
- package/subpaths/closestComponent.js +6 -0
- package/subpaths/closestComponent.js.map +7 -0
- package/subpaths/composeManifests.d.ts +1 -0
- package/subpaths/composeManifests.js +6 -0
- package/subpaths/composeManifests.js.map +7 -0
- package/subpaths/createApp.d.ts +1 -0
- package/subpaths/createApp.js +6 -0
- package/subpaths/createApp.js.map +7 -0
- package/subpaths/defineFeatures.d.ts +1 -0
- package/subpaths/defineFeatures.js +6 -0
- package/subpaths/defineFeatures.js.map +7 -0
- package/subpaths/defineManifest.d.ts +1 -0
- package/subpaths/defineManifest.js +6 -0
- package/subpaths/defineManifest.js.map +7 -0
- package/subpaths/fromMetaGlob.d.ts +1 -0
- package/subpaths/fromMetaGlob.js +6 -0
- package/subpaths/fromMetaGlob.js.map +7 -0
- package/subpaths/fromWebpackContext.d.ts +1 -0
- package/subpaths/fromWebpackContext.js +6 -0
- package/subpaths/fromWebpackContext.js.map +7 -0
- package/subpaths/getClosestParent.d.ts +1 -0
- package/subpaths/getClosestParent.js +6 -0
- package/subpaths/getClosestParent.js.map +7 -0
- package/subpaths/getDirectChildren.d.ts +1 -0
- package/subpaths/getDirectChildren.js +6 -0
- package/subpaths/getDirectChildren.js.map +7 -0
- package/subpaths/getInstanceFromElement.d.ts +1 -0
- package/subpaths/getInstanceFromElement.js +6 -0
- package/subpaths/getInstanceFromElement.js.map +7 -0
- package/subpaths/getInstances.d.ts +1 -0
- package/subpaths/getInstances.js +6 -0
- package/subpaths/getInstances.js.map +7 -0
- package/subpaths/getScopedGroups.d.ts +1 -0
- package/subpaths/getScopedGroups.js +6 -0
- package/subpaths/getScopedGroups.js.map +7 -0
- package/subpaths/importOnInteraction.d.ts +1 -0
- package/subpaths/importOnInteraction.js +6 -0
- package/subpaths/importOnInteraction.js.map +7 -0
- package/subpaths/importOnMediaQuery.d.ts +1 -0
- package/subpaths/importOnMediaQuery.js +6 -0
- package/subpaths/importOnMediaQuery.js.map +7 -0
- package/subpaths/importWhenIdle.d.ts +1 -0
- package/subpaths/importWhenIdle.js +6 -0
- package/subpaths/importWhenIdle.js.map +7 -0
- package/subpaths/importWhenPrefersMotion.d.ts +1 -0
- package/subpaths/importWhenPrefersMotion.js +6 -0
- package/subpaths/importWhenPrefersMotion.js.map +7 -0
- package/subpaths/importWhenVisible.d.ts +1 -0
- package/subpaths/importWhenVisible.js +6 -0
- package/subpaths/importWhenVisible.js.map +7 -0
- package/subpaths/isDirectChild.d.ts +1 -0
- package/subpaths/isDirectChild.js +6 -0
- package/subpaths/isDirectChild.js.map +7 -0
- package/subpaths/logTree.d.ts +1 -0
- package/subpaths/logTree.js +6 -0
- package/subpaths/logTree.js.map +7 -0
- package/subpaths/queryComponent.d.ts +1 -0
- package/subpaths/queryComponent.js +6 -0
- package/subpaths/queryComponent.js.map +7 -0
- package/subpaths/queryComponentAll.d.ts +1 -0
- package/subpaths/queryComponentAll.js +6 -0
- package/subpaths/queryComponentAll.js.map +7 -0
- package/subpaths/readEagerTokens.d.ts +1 -0
- package/subpaths/readEagerTokens.js +6 -0
- package/subpaths/readEagerTokens.js.map +7 -0
- package/subpaths/registerComponent.d.ts +1 -0
- package/subpaths/registerComponent.js +6 -0
- package/subpaths/registerComponent.js.map +7 -0
- package/subpaths/registerComponents.d.ts +1 -0
- package/subpaths/registerComponents.js +6 -0
- package/subpaths/registerComponents.js.map +7 -0
- package/subpaths/registerManifest.d.ts +1 -0
- package/subpaths/registerManifest.js +6 -0
- package/subpaths/registerManifest.js.map +7 -0
- package/subpaths/registerManifests.d.ts +1 -0
- package/subpaths/registerManifests.js +6 -0
- package/subpaths/registerManifests.js.map +7 -0
- package/subpaths/useDrag.d.ts +1 -0
- package/subpaths/useDrag.js +6 -0
- package/subpaths/useDrag.js.map +7 -0
- package/subpaths/useKey.d.ts +1 -0
- package/subpaths/useKey.js +6 -0
- package/subpaths/useKey.js.map +7 -0
- package/subpaths/useLoad.d.ts +1 -0
- package/subpaths/useLoad.js +6 -0
- package/subpaths/useLoad.js.map +7 -0
- package/subpaths/useMutation.d.ts +1 -0
- package/subpaths/useMutation.js +6 -0
- package/subpaths/useMutation.js.map +7 -0
- package/subpaths/usePointer.d.ts +1 -0
- package/subpaths/usePointer.js +6 -0
- package/subpaths/usePointer.js.map +7 -0
- package/subpaths/useRaf.d.ts +1 -0
- package/subpaths/useRaf.js +6 -0
- package/subpaths/useRaf.js.map +7 -0
- package/subpaths/useResize.d.ts +1 -0
- package/subpaths/useResize.js +6 -0
- package/subpaths/useResize.js.map +7 -0
- package/subpaths/useScroll.d.ts +1 -0
- package/subpaths/useScroll.js +6 -0
- package/subpaths/useScroll.js.map +7 -0
- package/subpaths/utils/Animate.1.d.ts +1 -0
- package/subpaths/utils/Animate.1.js +1 -0
- package/subpaths/utils/Animate.1.js.map +7 -0
- package/subpaths/utils/AnimateOptions.d.ts +1 -0
- package/subpaths/utils/AnimateOptions.js +1 -0
- package/subpaths/utils/AnimateOptions.js.map +7 -0
- package/subpaths/utils/CSSCustomPropertyName.d.ts +1 -0
- package/subpaths/utils/CSSCustomPropertyName.js +1 -0
- package/subpaths/utils/CSSCustomPropertyName.js.map +7 -0
- package/subpaths/utils/EasingFunction.d.ts +1 -0
- package/subpaths/utils/EasingFunction.js +1 -0
- package/subpaths/utils/EasingFunction.js.map +7 -0
- package/subpaths/utils/Keyframe.d.ts +1 -0
- package/subpaths/utils/Keyframe.js +1 -0
- package/subpaths/utils/Keyframe.js.map +7 -0
- package/subpaths/utils/LoadElementsOptions.d.ts +1 -0
- package/subpaths/utils/LoadElementsOptions.js +1 -0
- package/subpaths/utils/LoadElementsOptions.js.map +7 -0
- package/subpaths/utils/LoadElementsReturnType.d.ts +1 -0
- package/subpaths/utils/LoadElementsReturnType.js +1 -0
- package/subpaths/utils/LoadElementsReturnType.js.map +7 -0
- package/subpaths/utils/LoadableElements.d.ts +1 -0
- package/subpaths/utils/LoadableElements.js +1 -0
- package/subpaths/utils/LoadableElements.js.map +7 -0
- package/subpaths/utils/LoadableElementsNames.d.ts +1 -0
- package/subpaths/utils/LoadableElementsNames.js +1 -0
- package/subpaths/utils/LoadableElementsNames.js.map +7 -0
- package/subpaths/utils/NormalizedKeyframe.d.ts +1 -0
- package/subpaths/utils/NormalizedKeyframe.js +1 -0
- package/subpaths/utils/NormalizedKeyframe.js.map +7 -0
- package/subpaths/utils/Queue.d.ts +1 -0
- package/subpaths/utils/Queue.js +6 -0
- package/subpaths/utils/Queue.js.map +7 -0
- package/subpaths/utils/SmartQueue.d.ts +1 -0
- package/subpaths/utils/SmartQueue.js +6 -0
- package/subpaths/utils/SmartQueue.js.map +7 -0
- package/subpaths/utils/StorageInstance.d.ts +1 -0
- package/subpaths/utils/StorageInstance.js +1 -0
- package/subpaths/utils/StorageInstance.js.map +7 -0
- package/subpaths/utils/StorageOptions.d.ts +1 -0
- package/subpaths/utils/StorageOptions.js +1 -0
- package/subpaths/utils/StorageOptions.js.map +7 -0
- package/subpaths/utils/StorageProvider.d.ts +1 -0
- package/subpaths/utils/StorageProvider.js +1 -0
- package/subpaths/utils/StorageProvider.js.map +7 -0
- package/subpaths/utils/StorageSerializer.d.ts +1 -0
- package/subpaths/utils/StorageSerializer.js +1 -0
- package/subpaths/utils/StorageSerializer.js.map +7 -0
- package/subpaths/utils/TransformProps.d.ts +1 -0
- package/subpaths/utils/TransformProps.js +1 -0
- package/subpaths/utils/TransformProps.js.map +7 -0
- package/subpaths/utils/UrlProviderOptions.d.ts +1 -0
- package/subpaths/utils/UrlProviderOptions.js +1 -0
- package/subpaths/utils/UrlProviderOptions.js.map +7 -0
- package/subpaths/utils/addClass.d.ts +1 -0
- package/subpaths/utils/addClass.js +6 -0
- package/subpaths/utils/addClass.js.map +7 -0
- package/subpaths/utils/addStyle.d.ts +1 -0
- package/subpaths/utils/addStyle.js +6 -0
- package/subpaths/utils/addStyle.js.map +7 -0
- package/subpaths/utils/animate.d.ts +1 -0
- package/subpaths/utils/animate.js +6 -0
- package/subpaths/utils/animate.js.map +7 -0
- package/subpaths/utils/boundingRectToCircle.d.ts +1 -0
- package/subpaths/utils/boundingRectToCircle.js +6 -0
- package/subpaths/utils/boundingRectToCircle.js.map +7 -0
- package/subpaths/utils/cache.d.ts +1 -0
- package/subpaths/utils/cache.js +6 -0
- package/subpaths/utils/cache.js.map +7 -0
- package/subpaths/utils/camelCase.d.ts +1 -0
- package/subpaths/utils/camelCase.js +6 -0
- package/subpaths/utils/camelCase.js.map +7 -0
- package/subpaths/utils/clamp.d.ts +1 -0
- package/subpaths/utils/clamp.js +6 -0
- package/subpaths/utils/clamp.js.map +7 -0
- package/subpaths/utils/clamp01.d.ts +1 -0
- package/subpaths/utils/clamp01.js +6 -0
- package/subpaths/utils/clamp01.js.map +7 -0
- package/subpaths/utils/collideCircleCircle.d.ts +1 -0
- package/subpaths/utils/collideCircleCircle.js +6 -0
- package/subpaths/utils/collideCircleCircle.js.map +7 -0
- package/subpaths/utils/collideCircleRect.d.ts +1 -0
- package/subpaths/utils/collideCircleRect.js +6 -0
- package/subpaths/utils/collideCircleRect.js.map +7 -0
- package/subpaths/utils/collidePointCircle.d.ts +1 -0
- package/subpaths/utils/collidePointCircle.js +6 -0
- package/subpaths/utils/collidePointCircle.js.map +7 -0
- package/subpaths/utils/collidePointRect.d.ts +1 -0
- package/subpaths/utils/collidePointRect.js +6 -0
- package/subpaths/utils/collidePointRect.js.map +7 -0
- package/subpaths/utils/collideRectRect.d.ts +1 -0
- package/subpaths/utils/collideRectRect.js +6 -0
- package/subpaths/utils/collideRectRect.js.map +7 -0
- package/subpaths/utils/createEaseInOut.d.ts +1 -0
- package/subpaths/utils/createEaseInOut.js +6 -0
- package/subpaths/utils/createEaseInOut.js.map +7 -0
- package/subpaths/utils/createEaseOut.d.ts +1 -0
- package/subpaths/utils/createEaseOut.js +6 -0
- package/subpaths/utils/createEaseOut.js.map +7 -0
- package/subpaths/utils/createElement.d.ts +1 -0
- package/subpaths/utils/createElement.js +6 -0
- package/subpaths/utils/createElement.js.map +7 -0
- package/subpaths/utils/createLocalStorage.d.ts +1 -0
- package/subpaths/utils/createLocalStorage.js +6 -0
- package/subpaths/utils/createLocalStorage.js.map +7 -0
- package/subpaths/utils/createLocalStorageProvider.d.ts +1 -0
- package/subpaths/utils/createLocalStorageProvider.js +6 -0
- package/subpaths/utils/createLocalStorageProvider.js.map +7 -0
- package/subpaths/utils/createMemoryStorageProvider.d.ts +1 -0
- package/subpaths/utils/createMemoryStorageProvider.js +6 -0
- package/subpaths/utils/createMemoryStorageProvider.js.map +7 -0
- package/subpaths/utils/createNoopProvider.d.ts +1 -0
- package/subpaths/utils/createNoopProvider.js +6 -0
- package/subpaths/utils/createNoopProvider.js.map +7 -0
- package/subpaths/utils/createRange.d.ts +1 -0
- package/subpaths/utils/createRange.js +6 -0
- package/subpaths/utils/createRange.js.map +7 -0
- package/subpaths/utils/createSessionStorage.d.ts +1 -0
- package/subpaths/utils/createSessionStorage.js +6 -0
- package/subpaths/utils/createSessionStorage.js.map +7 -0
- package/subpaths/utils/createSessionStorageProvider.d.ts +1 -0
- package/subpaths/utils/createSessionStorageProvider.js +6 -0
- package/subpaths/utils/createSessionStorageProvider.js.map +7 -0
- package/subpaths/utils/createStorage.d.ts +1 -0
- package/subpaths/utils/createStorage.js +6 -0
- package/subpaths/utils/createStorage.js.map +7 -0
- package/subpaths/utils/createUrlSearchParamsInHashProvider.d.ts +1 -0
- package/subpaths/utils/createUrlSearchParamsInHashProvider.js +6 -0
- package/subpaths/utils/createUrlSearchParamsInHashProvider.js.map +7 -0
- package/subpaths/utils/createUrlSearchParamsInHashStorage.d.ts +1 -0
- package/subpaths/utils/createUrlSearchParamsInHashStorage.js +6 -0
- package/subpaths/utils/createUrlSearchParamsInHashStorage.js.map +7 -0
- package/subpaths/utils/createUrlSearchParamsProvider.d.ts +1 -0
- package/subpaths/utils/createUrlSearchParamsProvider.js +6 -0
- package/subpaths/utils/createUrlSearchParamsProvider.js.map +7 -0
- package/subpaths/utils/createUrlSearchParamsStorage.d.ts +1 -0
- package/subpaths/utils/createUrlSearchParamsStorage.js +6 -0
- package/subpaths/utils/createUrlSearchParamsStorage.js.map +7 -0
- package/subpaths/utils/damp.d.ts +1 -0
- package/subpaths/utils/damp.js +6 -0
- package/subpaths/utils/damp.js.map +7 -0
- package/subpaths/utils/dashCase.d.ts +1 -0
- package/subpaths/utils/dashCase.js +6 -0
- package/subpaths/utils/dashCase.js.map +7 -0
- package/subpaths/utils/debounce.d.ts +1 -0
- package/subpaths/utils/debounce.js +6 -0
- package/subpaths/utils/debounce.js.map +7 -0
- package/subpaths/utils/domScheduler.d.ts +1 -0
- package/subpaths/utils/domScheduler.js +6 -0
- package/subpaths/utils/domScheduler.js.map +7 -0
- package/subpaths/utils/ease.d.ts +1 -0
- package/subpaths/utils/ease.js +6 -0
- package/subpaths/utils/ease.js.map +7 -0
- package/subpaths/utils/easeInCirc.d.ts +1 -0
- package/subpaths/utils/easeInCirc.js +6 -0
- package/subpaths/utils/easeInCirc.js.map +7 -0
- package/subpaths/utils/easeInCubic.d.ts +1 -0
- package/subpaths/utils/easeInCubic.js +6 -0
- package/subpaths/utils/easeInCubic.js.map +7 -0
- package/subpaths/utils/easeInExpo.d.ts +1 -0
- package/subpaths/utils/easeInExpo.js +6 -0
- package/subpaths/utils/easeInExpo.js.map +7 -0
- package/subpaths/utils/easeInOutCirc.d.ts +1 -0
- package/subpaths/utils/easeInOutCirc.js +6 -0
- package/subpaths/utils/easeInOutCirc.js.map +7 -0
- package/subpaths/utils/easeInOutCubic.d.ts +1 -0
- package/subpaths/utils/easeInOutCubic.js +6 -0
- package/subpaths/utils/easeInOutCubic.js.map +7 -0
- package/subpaths/utils/easeInOutExpo.d.ts +1 -0
- package/subpaths/utils/easeInOutExpo.js +6 -0
- package/subpaths/utils/easeInOutExpo.js.map +7 -0
- package/subpaths/utils/easeInOutQuad.d.ts +1 -0
- package/subpaths/utils/easeInOutQuad.js +6 -0
- package/subpaths/utils/easeInOutQuad.js.map +7 -0
- package/subpaths/utils/easeInOutQuart.d.ts +1 -0
- package/subpaths/utils/easeInOutQuart.js +6 -0
- package/subpaths/utils/easeInOutQuart.js.map +7 -0
- package/subpaths/utils/easeInOutQuint.d.ts +1 -0
- package/subpaths/utils/easeInOutQuint.js +6 -0
- package/subpaths/utils/easeInOutQuint.js.map +7 -0
- package/subpaths/utils/easeInOutSine.d.ts +1 -0
- package/subpaths/utils/easeInOutSine.js +6 -0
- package/subpaths/utils/easeInOutSine.js.map +7 -0
- package/subpaths/utils/easeInQuad.d.ts +1 -0
- package/subpaths/utils/easeInQuad.js +6 -0
- package/subpaths/utils/easeInQuad.js.map +7 -0
- package/subpaths/utils/easeInQuart.d.ts +1 -0
- package/subpaths/utils/easeInQuart.js +6 -0
- package/subpaths/utils/easeInQuart.js.map +7 -0
- package/subpaths/utils/easeInQuint.d.ts +1 -0
- package/subpaths/utils/easeInQuint.js +6 -0
- package/subpaths/utils/easeInQuint.js.map +7 -0
- package/subpaths/utils/easeInSine.d.ts +1 -0
- package/subpaths/utils/easeInSine.js +6 -0
- package/subpaths/utils/easeInSine.js.map +7 -0
- package/subpaths/utils/easeLinear.d.ts +1 -0
- package/subpaths/utils/easeLinear.js +6 -0
- package/subpaths/utils/easeLinear.js.map +7 -0
- package/subpaths/utils/easeOutCirc.d.ts +1 -0
- package/subpaths/utils/easeOutCirc.js +6 -0
- package/subpaths/utils/easeOutCirc.js.map +7 -0
- package/subpaths/utils/easeOutCubic.d.ts +1 -0
- package/subpaths/utils/easeOutCubic.js +6 -0
- package/subpaths/utils/easeOutCubic.js.map +7 -0
- package/subpaths/utils/easeOutExpo.d.ts +1 -0
- package/subpaths/utils/easeOutExpo.js +6 -0
- package/subpaths/utils/easeOutExpo.js.map +7 -0
- package/subpaths/utils/easeOutQuad.d.ts +1 -0
- package/subpaths/utils/easeOutQuad.js +6 -0
- package/subpaths/utils/easeOutQuad.js.map +7 -0
- package/subpaths/utils/easeOutQuart.d.ts +1 -0
- package/subpaths/utils/easeOutQuart.js +6 -0
- package/subpaths/utils/easeOutQuart.js.map +7 -0
- package/subpaths/utils/easeOutQuint.d.ts +1 -0
- package/subpaths/utils/easeOutQuint.js +6 -0
- package/subpaths/utils/easeOutQuint.js.map +7 -0
- package/subpaths/utils/easeOutSine.d.ts +1 -0
- package/subpaths/utils/easeOutSine.js +6 -0
- package/subpaths/utils/easeOutSine.js.map +7 -0
- package/subpaths/utils/endsWith.d.ts +1 -0
- package/subpaths/utils/endsWith.js +6 -0
- package/subpaths/utils/endsWith.js.map +7 -0
- package/subpaths/utils/fold.d.ts +1 -0
- package/subpaths/utils/fold.js +6 -0
- package/subpaths/utils/fold.js.map +7 -0
- package/subpaths/utils/getAncestorWhere.d.ts +1 -0
- package/subpaths/utils/getAncestorWhere.js +6 -0
- package/subpaths/utils/getAncestorWhere.js.map +7 -0
- package/subpaths/utils/getAncestorWhereUntil.d.ts +1 -0
- package/subpaths/utils/getAncestorWhereUntil.js +6 -0
- package/subpaths/utils/getAncestorWhereUntil.js.map +7 -0
- package/subpaths/utils/getComponentResolver.d.ts +1 -0
- package/subpaths/utils/getComponentResolver.js +6 -0
- package/subpaths/utils/getComponentResolver.js.map +7 -0
- package/subpaths/utils/getOffsetSizes.d.ts +1 -0
- package/subpaths/utils/getOffsetSizes.js +6 -0
- package/subpaths/utils/getOffsetSizes.js.map +7 -0
- package/subpaths/utils/hasWindow.d.ts +1 -0
- package/subpaths/utils/hasWindow.js +6 -0
- package/subpaths/utils/hasWindow.js.map +7 -0
- package/subpaths/utils/historyPush.d.ts +1 -0
- package/subpaths/utils/historyPush.js +6 -0
- package/subpaths/utils/historyPush.js.map +7 -0
- package/subpaths/utils/historyReplace.d.ts +1 -0
- package/subpaths/utils/historyReplace.js +6 -0
- package/subpaths/utils/historyReplace.js.map +7 -0
- package/subpaths/utils/inertiaFinalValue.d.ts +1 -0
- package/subpaths/utils/inertiaFinalValue.js +6 -0
- package/subpaths/utils/inertiaFinalValue.js.map +7 -0
- package/subpaths/utils/isArray.d.ts +1 -0
- package/subpaths/utils/isArray.js +6 -0
- package/subpaths/utils/isArray.js.map +7 -0
- package/subpaths/utils/isBoolean.d.ts +1 -0
- package/subpaths/utils/isBoolean.js +6 -0
- package/subpaths/utils/isBoolean.js.map +7 -0
- package/subpaths/utils/isDefined.d.ts +1 -0
- package/subpaths/utils/isDefined.js +6 -0
- package/subpaths/utils/isDefined.js.map +7 -0
- package/subpaths/utils/isDev.d.ts +1 -0
- package/subpaths/utils/isDev.js +6 -0
- package/subpaths/utils/isDev.js.map +7 -0
- package/subpaths/utils/isEmpty.d.ts +1 -0
- package/subpaths/utils/isEmpty.js +6 -0
- package/subpaths/utils/isEmpty.js.map +7 -0
- package/subpaths/utils/isEmptyString.d.ts +1 -0
- package/subpaths/utils/isEmptyString.js +6 -0
- package/subpaths/utils/isEmptyString.js.map +7 -0
- package/subpaths/utils/isFunction.d.ts +1 -0
- package/subpaths/utils/isFunction.js +6 -0
- package/subpaths/utils/isFunction.js.map +7 -0
- package/subpaths/utils/isNull.d.ts +1 -0
- package/subpaths/utils/isNull.js +6 -0
- package/subpaths/utils/isNull.js.map +7 -0
- package/subpaths/utils/isNumber.d.ts +1 -0
- package/subpaths/utils/isNumber.js +6 -0
- package/subpaths/utils/isNumber.js.map +7 -0
- package/subpaths/utils/isObject.d.ts +1 -0
- package/subpaths/utils/isObject.js +6 -0
- package/subpaths/utils/isObject.js.map +7 -0
- package/subpaths/utils/isString.d.ts +1 -0
- package/subpaths/utils/isString.js +6 -0
- package/subpaths/utils/isString.js.map +7 -0
- package/subpaths/utils/keyCodes.d.ts +1 -0
- package/subpaths/utils/keyCodes.js +6 -0
- package/subpaths/utils/keyCodes.js.map +7 -0
- package/subpaths/utils/lerp.d.ts +1 -0
- package/subpaths/utils/lerp.js +6 -0
- package/subpaths/utils/lerp.js.map +7 -0
- package/subpaths/utils/loadElement.d.ts +1 -0
- package/subpaths/utils/loadElement.js +6 -0
- package/subpaths/utils/loadElement.js.map +7 -0
- package/subpaths/utils/loadIframe.d.ts +1 -0
- package/subpaths/utils/loadIframe.js +6 -0
- package/subpaths/utils/loadIframe.js.map +7 -0
- package/subpaths/utils/loadImage.d.ts +1 -0
- package/subpaths/utils/loadImage.js +6 -0
- package/subpaths/utils/loadImage.js.map +7 -0
- package/subpaths/utils/loadLink.d.ts +1 -0
- package/subpaths/utils/loadLink.js +6 -0
- package/subpaths/utils/loadLink.js.map +7 -0
- package/subpaths/utils/loadScript.d.ts +1 -0
- package/subpaths/utils/loadScript.js +6 -0
- package/subpaths/utils/loadScript.js.map +7 -0
- package/subpaths/utils/localStorageProvider.d.ts +1 -0
- package/subpaths/utils/localStorageProvider.js +6 -0
- package/subpaths/utils/localStorageProvider.js.map +7 -0
- package/subpaths/utils/lowerCase.d.ts +1 -0
- package/subpaths/utils/lowerCase.js +6 -0
- package/subpaths/utils/lowerCase.js.map +7 -0
- package/subpaths/utils/map.d.ts +1 -0
- package/subpaths/utils/map.js +6 -0
- package/subpaths/utils/map.js.map +7 -0
- package/subpaths/utils/matrix.d.ts +1 -0
- package/subpaths/utils/matrix.js +6 -0
- package/subpaths/utils/matrix.js.map +7 -0
- package/subpaths/utils/mean.d.ts +1 -0
- package/subpaths/utils/mean.js +6 -0
- package/subpaths/utils/mean.js.map +7 -0
- package/subpaths/utils/memo.d.ts +1 -0
- package/subpaths/utils/memo.js +6 -0
- package/subpaths/utils/memo.js.map +7 -0
- package/subpaths/utils/memoize.d.ts +1 -0
- package/subpaths/utils/memoize.js +6 -0
- package/subpaths/utils/memoize.js.map +7 -0
- package/subpaths/utils/memoryStorageProvider.d.ts +1 -0
- package/subpaths/utils/memoryStorageProvider.js +6 -0
- package/subpaths/utils/memoryStorageProvider.js.map +7 -0
- package/subpaths/utils/nextFrame.d.ts +1 -0
- package/subpaths/utils/nextFrame.js +6 -0
- package/subpaths/utils/nextFrame.js.map +7 -0
- package/subpaths/utils/nextMicrotask.d.ts +1 -0
- package/subpaths/utils/nextMicrotask.js +6 -0
- package/subpaths/utils/nextMicrotask.js.map +7 -0
- package/subpaths/utils/nextTick.d.ts +1 -0
- package/subpaths/utils/nextTick.js +6 -0
- package/subpaths/utils/nextTick.js.map +7 -0
- package/subpaths/utils/noop.d.ts +1 -0
- package/subpaths/utils/noop.js +6 -0
- package/subpaths/utils/noop.js.map +7 -0
- package/subpaths/utils/noopValue.d.ts +1 -0
- package/subpaths/utils/noopValue.js +6 -0
- package/subpaths/utils/noopValue.js.map +7 -0
- package/subpaths/utils/objectToURLSearchParams.d.ts +1 -0
- package/subpaths/utils/objectToURLSearchParams.js +6 -0
- package/subpaths/utils/objectToURLSearchParams.js.map +7 -0
- package/subpaths/utils/pascalCase.d.ts +1 -0
- package/subpaths/utils/pascalCase.js +6 -0
- package/subpaths/utils/pascalCase.js.map +7 -0
- package/subpaths/utils/random.d.ts +1 -0
- package/subpaths/utils/random.js +6 -0
- package/subpaths/utils/random.js.map +7 -0
- package/subpaths/utils/randomInt.d.ts +1 -0
- package/subpaths/utils/randomInt.js +6 -0
- package/subpaths/utils/randomInt.js.map +7 -0
- package/subpaths/utils/randomItem.d.ts +1 -0
- package/subpaths/utils/randomItem.js +6 -0
- package/subpaths/utils/randomItem.js.map +7 -0
- package/subpaths/utils/removeClass.d.ts +1 -0
- package/subpaths/utils/removeClass.js +6 -0
- package/subpaths/utils/removeClass.js.map +7 -0
- package/subpaths/utils/removeStyle.d.ts +1 -0
- package/subpaths/utils/removeStyle.js +6 -0
- package/subpaths/utils/removeStyle.js.map +7 -0
- package/subpaths/utils/round.d.ts +1 -0
- package/subpaths/utils/round.js +6 -0
- package/subpaths/utils/round.js.map +7 -0
- package/subpaths/utils/saveActiveElement.d.ts +1 -0
- package/subpaths/utils/saveActiveElement.js +6 -0
- package/subpaths/utils/saveActiveElement.js.map +7 -0
- package/subpaths/utils/scrollTo.d.ts +1 -0
- package/subpaths/utils/scrollTo.js +6 -0
- package/subpaths/utils/scrollTo.js.map +7 -0
- package/subpaths/utils/sessionStorageProvider.d.ts +1 -0
- package/subpaths/utils/sessionStorageProvider.js +6 -0
- package/subpaths/utils/sessionStorageProvider.js.map +7 -0
- package/subpaths/utils/smoothTo.d.ts +1 -0
- package/subpaths/utils/smoothTo.js +6 -0
- package/subpaths/utils/smoothTo.js.map +7 -0
- package/subpaths/utils/snakeCase.d.ts +1 -0
- package/subpaths/utils/snakeCase.js +6 -0
- package/subpaths/utils/snakeCase.js.map +7 -0
- package/subpaths/utils/spring.d.ts +1 -0
- package/subpaths/utils/spring.js +6 -0
- package/subpaths/utils/spring.js.map +7 -0
- package/subpaths/utils/startsWith.d.ts +1 -0
- package/subpaths/utils/startsWith.js +6 -0
- package/subpaths/utils/startsWith.js.map +7 -0
- package/subpaths/utils/throttle.d.ts +1 -0
- package/subpaths/utils/throttle.js +6 -0
- package/subpaths/utils/throttle.js.map +7 -0
- package/subpaths/utils/toggleClass.d.ts +1 -0
- package/subpaths/utils/toggleClass.js +6 -0
- package/subpaths/utils/toggleClass.js.map +7 -0
- package/subpaths/utils/transform.d.ts +1 -0
- package/subpaths/utils/transform.js +6 -0
- package/subpaths/utils/transform.js.map +7 -0
- package/subpaths/utils/transition.d.ts +1 -0
- package/subpaths/utils/transition.js +6 -0
- package/subpaths/utils/transition.js.map +7 -0
- package/subpaths/utils/trapFocus.d.ts +1 -0
- package/subpaths/utils/trapFocus.js +6 -0
- package/subpaths/utils/trapFocus.js.map +7 -0
- package/subpaths/utils/tween.d.ts +1 -0
- package/subpaths/utils/tween.js +6 -0
- package/subpaths/utils/tween.js.map +7 -0
- package/subpaths/utils/untrapFocus.d.ts +1 -0
- package/subpaths/utils/untrapFocus.js +6 -0
- package/subpaths/utils/untrapFocus.js.map +7 -0
- package/subpaths/utils/upperCase.d.ts +1 -0
- package/subpaths/utils/upperCase.js +6 -0
- package/subpaths/utils/upperCase.js.map +7 -0
- package/subpaths/utils/urlSearchParamsInHashProvider.d.ts +1 -0
- package/subpaths/utils/urlSearchParamsInHashProvider.js +6 -0
- package/subpaths/utils/urlSearchParamsInHashProvider.js.map +7 -0
- package/subpaths/utils/urlSearchParamsProvider.d.ts +1 -0
- package/subpaths/utils/urlSearchParamsProvider.js +6 -0
- package/subpaths/utils/urlSearchParamsProvider.js.map +7 -0
- package/subpaths/utils/useScheduler.d.ts +1 -0
- package/subpaths/utils/useScheduler.js +6 -0
- package/subpaths/utils/useScheduler.js.map +7 -0
- package/subpaths/utils/wait.d.ts +1 -0
- package/subpaths/utils/wait.js +6 -0
- package/subpaths/utils/wait.js.map +7 -0
- package/subpaths/utils/withLeadingCharacters.d.ts +1 -0
- package/subpaths/utils/withLeadingCharacters.js +6 -0
- package/subpaths/utils/withLeadingCharacters.js.map +7 -0
- package/subpaths/utils/withLeadingSlash.d.ts +1 -0
- package/subpaths/utils/withLeadingSlash.js +6 -0
- package/subpaths/utils/withLeadingSlash.js.map +7 -0
- package/subpaths/utils/withTrailingCharacters.d.ts +1 -0
- package/subpaths/utils/withTrailingCharacters.js +6 -0
- package/subpaths/utils/withTrailingCharacters.js.map +7 -0
- package/subpaths/utils/withTrailingSlash.d.ts +1 -0
- package/subpaths/utils/withTrailingSlash.js +6 -0
- package/subpaths/utils/withTrailingSlash.js.map +7 -0
- package/subpaths/utils/withoutLeadingCharacters.d.ts +1 -0
- package/subpaths/utils/withoutLeadingCharacters.js +6 -0
- package/subpaths/utils/withoutLeadingCharacters.js.map +7 -0
- package/subpaths/utils/withoutLeadingCharactersRecursive.d.ts +1 -0
- package/subpaths/utils/withoutLeadingCharactersRecursive.js +6 -0
- package/subpaths/utils/withoutLeadingCharactersRecursive.js.map +7 -0
- package/subpaths/utils/withoutLeadingSlash.d.ts +1 -0
- package/subpaths/utils/withoutLeadingSlash.js +6 -0
- package/subpaths/utils/withoutLeadingSlash.js.map +7 -0
- package/subpaths/utils/withoutTrailingCharacters.d.ts +1 -0
- package/subpaths/utils/withoutTrailingCharacters.js +6 -0
- package/subpaths/utils/withoutTrailingCharacters.js.map +7 -0
- package/subpaths/utils/withoutTrailingCharactersRecursive.d.ts +1 -0
- package/subpaths/utils/withoutTrailingCharactersRecursive.js +6 -0
- package/subpaths/utils/withoutTrailingCharactersRecursive.js.map +7 -0
- package/subpaths/utils/withoutTrailingSlash.d.ts +1 -0
- package/subpaths/utils/withoutTrailingSlash.js +6 -0
- package/subpaths/utils/withoutTrailingSlash.js.map +7 -0
- package/subpaths/utils/wrap.d.ts +1 -0
- package/subpaths/utils/wrap.js +6 -0
- package/subpaths/utils/wrap.js.map +7 -0
- package/subpaths/version.d.ts +1 -0
- package/subpaths/version.js +6 -0
- package/subpaths/version.js.map +7 -0
- package/subpaths/withBreakpointManager.d.ts +1 -0
- package/subpaths/withBreakpointManager.js +6 -0
- package/subpaths/withBreakpointManager.js.map +7 -0
- package/subpaths/withBreakpointObserver.d.ts +1 -0
- package/subpaths/withBreakpointObserver.js +6 -0
- package/subpaths/withBreakpointObserver.js.map +7 -0
- package/subpaths/withDrag.d.ts +1 -0
- package/subpaths/withDrag.js +6 -0
- package/subpaths/withDrag.js.map +7 -0
- package/subpaths/withExtraConfig.d.ts +1 -0
- package/subpaths/withExtraConfig.js +6 -0
- package/subpaths/withExtraConfig.js.map +7 -0
- package/subpaths/withFreezedOptions.d.ts +1 -0
- package/subpaths/withFreezedOptions.js +6 -0
- package/subpaths/withFreezedOptions.js.map +7 -0
- package/subpaths/withGroup.d.ts +1 -0
- package/subpaths/withGroup.js +6 -0
- package/subpaths/withGroup.js.map +7 -0
- package/subpaths/withIntersectionObserver.d.ts +1 -0
- package/subpaths/withIntersectionObserver.js +6 -0
- package/subpaths/withIntersectionObserver.js.map +7 -0
- package/subpaths/withMountOnMediaQuery.d.ts +1 -0
- package/subpaths/withMountOnMediaQuery.js +6 -0
- package/subpaths/withMountOnMediaQuery.js.map +7 -0
- package/subpaths/withMountOnMediaQueryInterface.d.ts +1 -0
- package/subpaths/withMountOnMediaQueryInterface.js +1 -0
- package/subpaths/withMountOnMediaQueryInterface.js.map +7 -0
- package/subpaths/withMountOnMediaQueryProps.d.ts +1 -0
- package/subpaths/withMountOnMediaQueryProps.js +1 -0
- package/subpaths/withMountOnMediaQueryProps.js.map +7 -0
- package/subpaths/withMountWhenInView.d.ts +1 -0
- package/subpaths/withMountWhenInView.js +6 -0
- package/subpaths/withMountWhenInView.js.map +7 -0
- package/subpaths/withMountWhenPrefersMotion.d.ts +1 -0
- package/subpaths/withMountWhenPrefersMotion.js +6 -0
- package/subpaths/withMountWhenPrefersMotion.js.map +7 -0
- package/subpaths/withMutation.d.ts +1 -0
- package/subpaths/withMutation.js +6 -0
- package/subpaths/withMutation.js.map +7 -0
- package/subpaths/withName.d.ts +1 -0
- package/subpaths/withName.js +6 -0
- package/subpaths/withName.js.map +7 -0
- package/subpaths/withRelativePointer.d.ts +1 -0
- package/subpaths/withRelativePointer.js +6 -0
- package/subpaths/withRelativePointer.js.map +7 -0
- package/subpaths/withResponsiveOptions.d.ts +1 -0
- package/subpaths/withResponsiveOptions.js +6 -0
- package/subpaths/withResponsiveOptions.js.map +7 -0
- package/subpaths/withScrolledInView.d.ts +1 -0
- package/subpaths/withScrolledInView.js +6 -0
- package/subpaths/withScrolledInView.js.map +7 -0
- package/utils/math/ease.d.ts +14 -14
- package/utils/storage/providers.d.ts +5 -5
- package/version.d.ts +1 -0
- package/version.js +5 -0
- package/version.js.map +7 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { autoload } from "./autoload.js";
|
|
2
|
+
import { version } from "../version.js";
|
|
3
|
+
const PACKAGE_NAME = "@studiometa/js-toolkit";
|
|
4
|
+
const RUNTIME_KEY = Symbol.for("@studiometa/js-toolkit/autoload/runtime");
|
|
5
|
+
const DIAGNOSTIC_PREFIX = "[@studiometa/js-toolkit/autoload]";
|
|
6
|
+
const EAGER_META_SELECTOR = 'meta[name="js-toolkit:eager"]';
|
|
7
|
+
function resolveOptions(options) {
|
|
8
|
+
const documentObject = options.document ?? document;
|
|
9
|
+
return {
|
|
10
|
+
documentObject,
|
|
11
|
+
globalObject: options.globalObject ?? globalThis,
|
|
12
|
+
version: options.version ?? version,
|
|
13
|
+
root: options.root ?? documentObject,
|
|
14
|
+
dependencies: options.dependencies,
|
|
15
|
+
logger: options.console ?? console,
|
|
16
|
+
scheduleMicrotask: options.scheduleMicrotask ?? ((callback) => queueMicrotask(callback))
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function readEagerTokens(documentObject) {
|
|
20
|
+
const metas = [...documentObject.querySelectorAll(EAGER_META_SELECTOR)];
|
|
21
|
+
return [
|
|
22
|
+
...new Set(
|
|
23
|
+
metas.flatMap((meta) => (meta.getAttribute("content") ?? "").split(",")).map((token) => token.trim()).filter(Boolean)
|
|
24
|
+
)
|
|
25
|
+
];
|
|
26
|
+
}
|
|
27
|
+
function ensureRuntime(resolved) {
|
|
28
|
+
const host = resolved.globalObject;
|
|
29
|
+
const existing = host[RUNTIME_KEY];
|
|
30
|
+
if (existing) {
|
|
31
|
+
if (existing.packageName === PACKAGE_NAME && existing.version === resolved.version) {
|
|
32
|
+
return existing;
|
|
33
|
+
}
|
|
34
|
+
resolved.logger.warn(
|
|
35
|
+
`${DIAGNOSTIC_PREFIX} A conflicting runtime (version ${existing.version}) is already active; version ${resolved.version} was ignored.`
|
|
36
|
+
);
|
|
37
|
+
return void 0;
|
|
38
|
+
}
|
|
39
|
+
const runtime = {
|
|
40
|
+
packageName: PACKAGE_NAME,
|
|
41
|
+
version: resolved.version,
|
|
42
|
+
manifests: [],
|
|
43
|
+
pending: false
|
|
44
|
+
};
|
|
45
|
+
host[RUNTIME_KEY] = runtime;
|
|
46
|
+
return runtime;
|
|
47
|
+
}
|
|
48
|
+
function flushStart(runtime) {
|
|
49
|
+
runtime.pending = false;
|
|
50
|
+
const resolved = runtime.__pendingOptions;
|
|
51
|
+
if (!resolved) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const manifests = [...runtime.manifests];
|
|
55
|
+
const eager = readEagerTokens(resolved.documentObject);
|
|
56
|
+
runtime.handle?.stop();
|
|
57
|
+
runtime.handle = autoload({
|
|
58
|
+
manifests,
|
|
59
|
+
root: resolved.root,
|
|
60
|
+
eager,
|
|
61
|
+
dependencies: {
|
|
62
|
+
document: resolved.documentObject,
|
|
63
|
+
diagnosticPrefix: DIAGNOSTIC_PREFIX,
|
|
64
|
+
...resolved.dependencies
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function scheduleStart(runtime, resolved) {
|
|
69
|
+
runtime.__pendingOptions = resolved;
|
|
70
|
+
if (runtime.pending) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
runtime.pending = true;
|
|
74
|
+
resolved.scheduleMicrotask(() => flushStart(runtime));
|
|
75
|
+
}
|
|
76
|
+
function registerManifest(manifest, options = {}) {
|
|
77
|
+
const resolved = resolveOptions(options);
|
|
78
|
+
const runtime = ensureRuntime(resolved);
|
|
79
|
+
if (!runtime) {
|
|
80
|
+
return void 0;
|
|
81
|
+
}
|
|
82
|
+
if (!runtime.manifests.includes(manifest)) {
|
|
83
|
+
runtime.manifests.push(manifest);
|
|
84
|
+
}
|
|
85
|
+
scheduleStart(runtime, resolved);
|
|
86
|
+
return runtime;
|
|
87
|
+
}
|
|
88
|
+
function registerManifests(...manifests) {
|
|
89
|
+
let runtime;
|
|
90
|
+
for (const manifest of manifests) {
|
|
91
|
+
runtime = registerManifest(manifest);
|
|
92
|
+
}
|
|
93
|
+
return runtime;
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
readEagerTokens,
|
|
97
|
+
registerManifest,
|
|
98
|
+
registerManifests
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=runtime.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../packages/js-toolkit/autoload/runtime.ts"],
|
|
4
|
+
"sourcesContent": ["import { autoload, type AutoloadHandle } from './autoload.js';\nimport type { LoaderDependencies } from './loader.js';\nimport type { ComponentManifest } from './types.js';\nimport { version } from '../version.js';\n\n/** The identity every copy of this package advertises on the shared global runtime. */\nconst PACKAGE_NAME = '@studiometa/js-toolkit';\n/**\n * The `globalThis` key the shared runtime is stored under. `Symbol.for` guarantees the same symbol\n * across module graphs and bundle copies, so multiple side-effect entries \u2014 even from duplicated\n * copies of this package \u2014 coordinate through a single runtime object.\n */\nconst RUNTIME_KEY = Symbol.for('@studiometa/js-toolkit/autoload/runtime');\n/** The prefix prepended to every diagnostic message emitted by the shared runtime. */\nconst DIAGNOSTIC_PREFIX = '[@studiometa/js-toolkit/autoload]';\n/** The `<meta>` element carrying the comma-separated list of tokens to mount eagerly. */\nconst EAGER_META_SELECTOR = 'meta[name=\"js-toolkit:eager\"]';\n\n/** Options accepted by {@link registerManifest}; every seam is optional and testability-oriented. */\nexport interface RegisterManifestOptions {\n /** The document to scan and to read the eager `<meta>` from. Defaults to the global `document`. */\n document?: Document;\n /** The object the shared runtime is stored on. Defaults to `globalThis`. */\n globalObject?: object;\n /** The identity used by the duplicate/conflict guard. Defaults to this package's version. */\n version?: string;\n /** The DOM scope handed to the loader. Defaults to the resolved document. */\n root?: Document | Element;\n /** Loader dependency-injection seams, forwarded to {@link autoload}. */\n dependencies?: Partial<LoaderDependencies>;\n /** The logger used by the duplicate/conflict guard. Defaults to the global `console`. */\n console?: Pick<Console, 'warn'>;\n /** Schedules the single coalesced start. Defaults to `queueMicrotask`. */\n scheduleMicrotask?: (callback: () => void) => void;\n}\n\n/** The shared, cross-copy runtime object stored on `globalThis` under {@link RUNTIME_KEY}. */\nexport interface AutoloadRuntime {\n /** The owning package name, used by the conflict guard. */\n readonly packageName: typeof PACKAGE_NAME;\n /** The version that first claimed this runtime; conflicting versions are ignored. */\n readonly version: string;\n /** Every manifest registered so far, in registration order. */\n manifests: ComponentManifest[];\n /** The active autoload handle, present once a start has flushed. */\n handle?: AutoloadHandle;\n /** True while a (re)start is scheduled through a microtask but has not flushed yet. */\n pending: boolean;\n /**\n * The resolved options for the next flush. The freshest registration wins so a late import can\n * refresh the document/root before the coalesced start runs.\n *\n * @private\n */\n __pendingOptions?: ResolvedOptions;\n}\n\ninterface ResolvedOptions {\n documentObject: Document;\n globalObject: object;\n version: string;\n root: Document | Element;\n dependencies?: Partial<LoaderDependencies>;\n logger: Pick<Console, 'warn'>;\n scheduleMicrotask: (callback: () => void) => void;\n}\n\nfunction resolveOptions(options: RegisterManifestOptions): ResolvedOptions {\n const documentObject = options.document ?? document;\n return {\n documentObject,\n globalObject: options.globalObject ?? globalThis,\n version: options.version ?? version,\n root: options.root ?? documentObject,\n dependencies: options.dependencies,\n logger: options.console ?? console,\n scheduleMicrotask: options.scheduleMicrotask ?? ((callback) => queueMicrotask(callback)),\n };\n}\n\n/**\n * Read the eager tokens declared by `<meta name=\"js-toolkit:eager\" content=\"A, B, C\">`.\n *\n * The `content` values of every matching meta (in document order) are concatenated, split on\n * commas, trimmed, stripped of empties and deduplicated. When no such meta exists the list is\n * empty.\n */\nexport function readEagerTokens(documentObject: Document): string[] {\n const metas = [...documentObject.querySelectorAll(EAGER_META_SELECTOR)];\n return [\n ...new Set(\n metas\n .flatMap((meta) => (meta.getAttribute('content') ?? '').split(','))\n .map((token) => token.trim())\n .filter(Boolean),\n ),\n ];\n}\n\nfunction ensureRuntime(resolved: ResolvedOptions): AutoloadRuntime | undefined {\n const host = resolved.globalObject as Record<PropertyKey, unknown>;\n const existing = host[RUNTIME_KEY] as AutoloadRuntime | undefined;\n if (existing) {\n if (existing.packageName === PACKAGE_NAME && existing.version === resolved.version) {\n return existing;\n }\n\n resolved.logger.warn(\n `${DIAGNOSTIC_PREFIX} A conflicting runtime (version ${existing.version}) is already active; version ${resolved.version} was ignored.`,\n );\n return undefined;\n }\n\n const runtime: AutoloadRuntime = {\n packageName: PACKAGE_NAME,\n version: resolved.version,\n manifests: [],\n pending: false,\n };\n host[RUNTIME_KEY] = runtime;\n return runtime;\n}\n\nfunction flushStart(runtime: AutoloadRuntime): void {\n runtime.pending = false;\n const resolved = runtime.__pendingOptions;\n if (!resolved) {\n return;\n }\n\n const manifests = [...runtime.manifests];\n const eager = readEagerTokens(resolved.documentObject);\n\n // A previous flush may already have produced a loader when a manifest is registered late (after\n // the coalescing microtask fired). Stop it and start a fresh loader over the accumulated set:\n // js-toolkit's `$register` reuses the instance already mounted on an element, so re-scanning never\n // double-mounts, while a single active loader keeps exactly one MutationObserver on the DOM.\n runtime.handle?.stop();\n runtime.handle = autoload({\n manifests,\n root: resolved.root,\n eager,\n dependencies: {\n document: resolved.documentObject,\n diagnosticPrefix: DIAGNOSTIC_PREFIX,\n ...resolved.dependencies,\n },\n });\n}\n\nfunction scheduleStart(runtime: AutoloadRuntime, resolved: ResolvedOptions): void {\n // The freshest registration wins so a late import can refresh the document/root before the flush.\n runtime.__pendingOptions = resolved;\n if (runtime.pending) {\n return;\n }\n runtime.pending = true;\n resolved.scheduleMicrotask(() => flushStart(runtime));\n}\n\n/**\n * Register a component manifest with the shared runtime and ensure the autoloader starts.\n *\n * This is the shared engine behind side-effect entries that activate a manifest. It is safe to call\n * from several entries and several bundle copies at once:\n *\n * - The first registration schedules a single start through a microtask. Because every ES module\n * import in a graph evaluates before microtasks flush, importing several manifest-activating\n * entries at the top of a module registers every manifest synchronously and results in exactly\n * ONE {@link autoload} call over the COMPOSED set \u2014 never two loaders both scanning the DOM.\n * - A manifest registered after the start already fired is not dropped: it triggers a fresh start\n * over the accumulated manifests. The previous loader is stopped first, so a single loader stays\n * active, and js-toolkit's idempotent `$register` prevents any double-mount.\n * - A conflicting activation \u2014 a different {@link RegisterManifestOptions.version} claiming an\n * already-owned runtime \u2014 warns and no-ops.\n *\n * Returns the shared runtime, or `undefined` when a conflicting version already owns it.\n */\nexport function registerManifest(\n manifest: ComponentManifest,\n options: RegisterManifestOptions = {},\n): AutoloadRuntime | undefined {\n const resolved = resolveOptions(options);\n const runtime = ensureRuntime(resolved);\n if (!runtime) {\n return undefined;\n }\n\n if (!runtime.manifests.includes(manifest)) {\n runtime.manifests.push(manifest);\n }\n scheduleStart(runtime, resolved);\n return runtime;\n}\n\n/**\n * Register several manifests with the shared runtime in order, then let the single coalesced start\n * flush over the composed set.\n *\n * This is the convenience wrapper an app uses to layer its own components on top of the packaged\n * ones: `registerManifests(baseManifest, custom)`. Because {@link registerManifest} pushes each\n * manifest onto the shared runtime in call order and the loader composes them later-wins, the LAST\n * manifest wins on token collisions \u2014 so a custom manifest passed last can override any component\n * that shares a token.\n *\n * Returns the shared runtime from the final registration, or `undefined` when a conflicting version\n * already owns the runtime (or when no manifest was passed).\n */\nexport function registerManifests(...manifests: ComponentManifest[]): AutoloadRuntime | undefined {\n let runtime: AutoloadRuntime | undefined;\n for (const manifest of manifests) {\n runtime = registerManifest(manifest);\n }\n return runtime;\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,gBAAqC;AAG9C,SAAS,eAAe;AAGxB,MAAM,eAAe;AAMrB,MAAM,cAAc,OAAO,IAAI,yCAAyC;AAExE,MAAM,oBAAoB;AAE1B,MAAM,sBAAsB;AAmD5B,SAAS,eAAe,SAAmD;AACzE,QAAM,iBAAiB,QAAQ,YAAY;AAC3C,SAAO;AAAA,IACL;AAAA,IACA,cAAc,QAAQ,gBAAgB;AAAA,IACtC,SAAS,QAAQ,WAAW;AAAA,IAC5B,MAAM,QAAQ,QAAQ;AAAA,IACtB,cAAc,QAAQ;AAAA,IACtB,QAAQ,QAAQ,WAAW;AAAA,IAC3B,mBAAmB,QAAQ,sBAAsB,CAAC,aAAa,eAAe,QAAQ;AAAA,EACxF;AACF;AASO,SAAS,gBAAgB,gBAAoC;AAClE,QAAM,QAAQ,CAAC,GAAG,eAAe,iBAAiB,mBAAmB,CAAC;AACtE,SAAO;AAAA,IACL,GAAG,IAAI;AAAA,MACL,MACG,QAAQ,CAAC,UAAU,KAAK,aAAa,SAAS,KAAK,IAAI,MAAM,GAAG,CAAC,EACjE,IAAI,CAAC,UAAU,MAAM,KAAK,CAAC,EAC3B,OAAO,OAAO;AAAA,IACnB;AAAA,EACF;AACF;AAEA,SAAS,cAAc,UAAwD;AAC7E,QAAM,OAAO,SAAS;AACtB,QAAM,WAAW,KAAK,WAAW;AACjC,MAAI,UAAU;AACZ,QAAI,SAAS,gBAAgB,gBAAgB,SAAS,YAAY,SAAS,SAAS;AAClF,aAAO;AAAA,IACT;AAEA,aAAS,OAAO;AAAA,MACd,GAAG,iBAAiB,mCAAmC,SAAS,OAAO,gCAAgC,SAAS,OAAO;AAAA,IACzH;AACA,WAAO;AAAA,EACT;AAEA,QAAM,UAA2B;AAAA,IAC/B,aAAa;AAAA,IACb,SAAS,SAAS;AAAA,IAClB,WAAW,CAAC;AAAA,IACZ,SAAS;AAAA,EACX;AACA,OAAK,WAAW,IAAI;AACpB,SAAO;AACT;AAEA,SAAS,WAAW,SAAgC;AAClD,UAAQ,UAAU;AAClB,QAAM,WAAW,QAAQ;AACzB,MAAI,CAAC,UAAU;AACb;AAAA,EACF;AAEA,QAAM,YAAY,CAAC,GAAG,QAAQ,SAAS;AACvC,QAAM,QAAQ,gBAAgB,SAAS,cAAc;AAMrD,UAAQ,QAAQ,KAAK;AACrB,UAAQ,SAAS,SAAS;AAAA,IACxB;AAAA,IACA,MAAM,SAAS;AAAA,IACf;AAAA,IACA,cAAc;AAAA,MACZ,UAAU,SAAS;AAAA,MACnB,kBAAkB;AAAA,MAClB,GAAG,SAAS;AAAA,IACd;AAAA,EACF,CAAC;AACH;AAEA,SAAS,cAAc,SAA0B,UAAiC;AAEhF,UAAQ,mBAAmB;AAC3B,MAAI,QAAQ,SAAS;AACnB;AAAA,EACF;AACA,UAAQ,UAAU;AAClB,WAAS,kBAAkB,MAAM,WAAW,OAAO,CAAC;AACtD;AAoBO,SAAS,iBACd,UACA,UAAmC,CAAC,GACP;AAC7B,QAAM,WAAW,eAAe,OAAO;AACvC,QAAM,UAAU,cAAc,QAAQ;AACtC,MAAI,CAAC,SAAS;AACZ,WAAO;AAAA,EACT;AAEA,MAAI,CAAC,QAAQ,UAAU,SAAS,QAAQ,GAAG;AACzC,YAAQ,UAAU,KAAK,QAAQ;AAAA,EACjC;AACA,gBAAc,SAAS,QAAQ;AAC/B,SAAO;AACT;AAeO,SAAS,qBAAqB,WAA6D;AAChG,MAAI;AACJ,aAAW,YAAY,WAAW;AAChC,cAAU,iBAAiB,QAAQ;AAAA,EACrC;AACA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { BaseConstructor } from '../Base/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* The load strategy that controls when a component's constructor is imported and registered.
|
|
4
|
+
*
|
|
5
|
+
* These four values are deliberately richer than a plain eager/lazy split: `eager` loads
|
|
6
|
+
* immediately, while `visible`, `idle` and `interaction` defer the import until the matching
|
|
7
|
+
* browser signal fires. A `data-load` attribute may override the default per element.
|
|
8
|
+
*/
|
|
9
|
+
export type ComponentLoadStrategy = 'eager' | 'visible' | 'idle' | 'interaction';
|
|
10
|
+
/**
|
|
11
|
+
* A single entry of a component manifest: everything the loader needs to discover a
|
|
12
|
+
* `data-component` token and load its constructor on demand.
|
|
13
|
+
*/
|
|
14
|
+
export interface ComponentManifestEntry {
|
|
15
|
+
/** The `data-component` token that identifies this component in the DOM. */
|
|
16
|
+
token: string;
|
|
17
|
+
/**
|
|
18
|
+
* The npm package the component is exported from. Optional informational metadata: the loader
|
|
19
|
+
* never reads it, so hand-authored or helper-built manifests may omit it.
|
|
20
|
+
*/
|
|
21
|
+
packageName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The package subpath the component is exported from. Optional informational metadata never read
|
|
24
|
+
* by the loader.
|
|
25
|
+
*/
|
|
26
|
+
subpath?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The named export resolved by {@link ComponentManifestEntry.load}. Optional informational
|
|
29
|
+
* metadata never read by the loader.
|
|
30
|
+
*/
|
|
31
|
+
exportName?: string;
|
|
32
|
+
/** The default load strategy for this component, overridable per element with `data-load`. */
|
|
33
|
+
strategy: ComponentLoadStrategy;
|
|
34
|
+
/**
|
|
35
|
+
* A grouping key shared by every component of the same family. Optional informational metadata
|
|
36
|
+
* never read by the loader.
|
|
37
|
+
*/
|
|
38
|
+
group?: string;
|
|
39
|
+
/** The tokens of the constructor's configured child components, for recursive registration. */
|
|
40
|
+
children?: readonly string[];
|
|
41
|
+
/** Stylesheet paths associated with this component (informational). */
|
|
42
|
+
styles?: readonly string[];
|
|
43
|
+
/** Optional integration keys associated with this component (informational). */
|
|
44
|
+
integrations?: readonly string[];
|
|
45
|
+
/** Imports and resolves the component's `Base` constructor. */
|
|
46
|
+
load: () => Promise<BaseConstructor>;
|
|
47
|
+
}
|
|
48
|
+
/** A map of `data-component` tokens to their manifest entries. */
|
|
49
|
+
export type ComponentManifest = Record<string, ComponentManifestEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { version } from './version.js';
|
|
2
2
|
export { Base, getInstances, type BaseAsyncConstructor, type BaseChildren, type BaseConfig, type BaseConfigComponents, type BaseConstructor, type BaseEl, type BaseOptions, type BaseProps, type BaseRefs, type Managers, } from './Base/index.js';
|
|
3
3
|
export { type BaseDecorator, type BaseEventHookParams, type BaseInterface } from './Base/types.js';
|
|
4
4
|
export { getScopedGroups, withBreakpointManager, withBreakpointObserver, withDrag, withExtraConfig, withFreezedOptions, withGroup, withIntersectionObserver, withMountOnMediaQuery, withMountWhenInView, withMountWhenPrefersMotion, withMutation, withName, withRelativePointer, withResponsiveOptions, withScrolledInView, type DragDecoratorOptions, type MutationDecoratorOptions, type NormalizedOffset, type OffsetValue, type RelativePointerDecoratorOptions, type RelativePointerInterface, type ScrollInViewProps, type WithBreakpointObserverInterface, type WithBreakpointObserverProps, type WithDragInterface, type WithFreezedOptionsInterface, type WithGroupInterface, type WithGroupOptions, type WithGroupProps, type WithIntersectionObserverInterface, type WithIntersectionObserverProps, type WithMountWhenInViewInterface, type WithMountWhenInViewProps, type WithMutationInterface, type WithScrolledInViewInterface, type WithScrolledInViewOptions, type WithScrolledInViewProps, type withMountOnMediaQueryInterface, type withMountOnMediaQueryProps, } from './decorators/index.js';
|
|
5
5
|
export { closestComponent, createApp, defineFeatures, getClosestParent, getDirectChildren, getInstanceFromElement, importOnInteraction, importOnMediaQuery, importWhenIdle, importWhenPrefersMotion, importWhenVisible, isDirectChild, logTree, queryComponent, queryComponentAll, registerComponent, registerComponents, type CreateAppOptions, type QueryOptions, } from './helpers/index.js';
|
|
6
6
|
export { AbstractService, DragService, KeyService, LoadService, MutationService, PointerService, RafService, ResizeService, ScrollService, useDrag, useKey, useLoad, useMutation, usePointer, useRaf, useResize, useScroll, type DragServiceInterface, type DragServiceOptions, type DragServiceProps, type KeyServiceInterface, type KeyServiceProps, type LoadServiceInterface, type LoadServiceProps, type MutationServiceInterface, type MutationServiceOptions, type MutationServiceProps, type PointerServiceInterface, type PointerServiceProps, type RafServiceInterface, type RafServiceProps, type ResizeServiceInterface, type ResizeServiceProps, type ScrollServiceInterface, type ScrollServiceProps, type ServiceConfig, type ServiceInterface, } from './services/index.js';
|
|
7
|
+
export { ComponentLoader, DEFAULT_DIAGNOSTIC_PREFIX, VISIBLE_ROOT_MARGIN, IDLE_TIMEOUT, autoload, composeManifests, registerManifest, registerManifests, readEagerTokens, defineManifest, fromMetaGlob, fromWebpackContext, type ComponentLoadStrategy, type ComponentManifestEntry, type ComponentManifest, type LoaderDependencies, type ComponentLoaderOptions, type ComponentLoaderStartOptions, type AutoloadOptions, type AutoloadHandle, type AutoloadRuntime, type RegisterManifestOptions, type ModuleRecord, type ComponentOverride, type DefineManifestOptions, type WebpackContextLike, } from './autoload/index.js';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { version } from "./version.js";
|
|
2
2
|
import {
|
|
3
3
|
Base,
|
|
4
4
|
getInstances
|
|
@@ -59,10 +59,27 @@ import {
|
|
|
59
59
|
useResize,
|
|
60
60
|
useScroll
|
|
61
61
|
} from "./services/index.js";
|
|
62
|
+
import {
|
|
63
|
+
ComponentLoader,
|
|
64
|
+
DEFAULT_DIAGNOSTIC_PREFIX,
|
|
65
|
+
VISIBLE_ROOT_MARGIN,
|
|
66
|
+
IDLE_TIMEOUT,
|
|
67
|
+
autoload,
|
|
68
|
+
composeManifests,
|
|
69
|
+
registerManifest,
|
|
70
|
+
registerManifests,
|
|
71
|
+
readEagerTokens,
|
|
72
|
+
defineManifest,
|
|
73
|
+
fromMetaGlob,
|
|
74
|
+
fromWebpackContext
|
|
75
|
+
} from "./autoload/index.js";
|
|
62
76
|
export {
|
|
63
77
|
AbstractService,
|
|
64
78
|
Base,
|
|
79
|
+
ComponentLoader,
|
|
80
|
+
DEFAULT_DIAGNOSTIC_PREFIX,
|
|
65
81
|
DragService,
|
|
82
|
+
IDLE_TIMEOUT,
|
|
66
83
|
KeyService,
|
|
67
84
|
LoadService,
|
|
68
85
|
MutationService,
|
|
@@ -70,9 +87,15 @@ export {
|
|
|
70
87
|
RafService,
|
|
71
88
|
ResizeService,
|
|
72
89
|
ScrollService,
|
|
90
|
+
VISIBLE_ROOT_MARGIN,
|
|
91
|
+
autoload,
|
|
73
92
|
closestComponent,
|
|
93
|
+
composeManifests,
|
|
74
94
|
createApp,
|
|
75
95
|
defineFeatures,
|
|
96
|
+
defineManifest,
|
|
97
|
+
fromMetaGlob,
|
|
98
|
+
fromWebpackContext,
|
|
76
99
|
getClosestParent,
|
|
77
100
|
getDirectChildren,
|
|
78
101
|
getInstanceFromElement,
|
|
@@ -87,8 +110,11 @@ export {
|
|
|
87
110
|
logTree,
|
|
88
111
|
queryComponent,
|
|
89
112
|
queryComponentAll,
|
|
113
|
+
readEagerTokens,
|
|
90
114
|
registerComponent,
|
|
91
115
|
registerComponents,
|
|
116
|
+
registerManifest,
|
|
117
|
+
registerManifests,
|
|
92
118
|
useDrag,
|
|
93
119
|
useKey,
|
|
94
120
|
useLoad,
|
package/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../packages/js-toolkit/index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["export { version } from './version.js';\n\nexport {\n Base,\n getInstances,\n type BaseAsyncConstructor,\n type BaseChildren,\n type BaseConfig,\n type BaseConfigComponents,\n type BaseConstructor,\n type BaseEl,\n type BaseOptions,\n type BaseProps,\n type BaseRefs,\n type Managers,\n} from './Base/index.js';\nexport { type BaseDecorator, type BaseEventHookParams, type BaseInterface } from './Base/types.js';\nexport {\n getScopedGroups,\n withBreakpointManager,\n withBreakpointObserver,\n withDrag,\n withExtraConfig,\n withFreezedOptions,\n withGroup,\n withIntersectionObserver,\n withMountOnMediaQuery,\n withMountWhenInView,\n withMountWhenPrefersMotion,\n withMutation,\n withName,\n withRelativePointer,\n withResponsiveOptions,\n withScrolledInView,\n type DragDecoratorOptions,\n type MutationDecoratorOptions,\n type NormalizedOffset,\n type OffsetValue,\n type RelativePointerDecoratorOptions,\n type RelativePointerInterface,\n type ScrollInViewProps,\n type WithBreakpointObserverInterface,\n type WithBreakpointObserverProps,\n type WithDragInterface,\n type WithFreezedOptionsInterface,\n type WithGroupInterface,\n type WithGroupOptions,\n type WithGroupProps,\n type WithIntersectionObserverInterface,\n type WithIntersectionObserverProps,\n type WithMountWhenInViewInterface,\n type WithMountWhenInViewProps,\n type WithMutationInterface,\n type WithScrolledInViewInterface,\n type WithScrolledInViewOptions,\n type WithScrolledInViewProps,\n type withMountOnMediaQueryInterface,\n type withMountOnMediaQueryProps,\n} from './decorators/index.js';\nexport {\n closestComponent,\n createApp,\n defineFeatures,\n getClosestParent,\n getDirectChildren,\n getInstanceFromElement,\n importOnInteraction,\n importOnMediaQuery,\n importWhenIdle,\n importWhenPrefersMotion,\n importWhenVisible,\n isDirectChild,\n logTree,\n queryComponent,\n queryComponentAll,\n registerComponent,\n registerComponents,\n type CreateAppOptions,\n type QueryOptions,\n} from './helpers/index.js';\nexport {\n AbstractService,\n DragService,\n KeyService,\n LoadService,\n MutationService,\n PointerService,\n RafService,\n ResizeService,\n ScrollService,\n useDrag,\n useKey,\n useLoad,\n useMutation,\n usePointer,\n useRaf,\n useResize,\n useScroll,\n type DragServiceInterface,\n type DragServiceOptions,\n type DragServiceProps,\n type KeyServiceInterface,\n type KeyServiceProps,\n type LoadServiceInterface,\n type LoadServiceProps,\n type MutationServiceInterface,\n type MutationServiceOptions,\n type MutationServiceProps,\n type PointerServiceInterface,\n type PointerServiceProps,\n type RafServiceInterface,\n type RafServiceProps,\n type ResizeServiceInterface,\n type ResizeServiceProps,\n type ScrollServiceInterface,\n type ScrollServiceProps,\n type ServiceConfig,\n type ServiceInterface,\n} from './services/index.js';\nexport {\n ComponentLoader,\n DEFAULT_DIAGNOSTIC_PREFIX,\n VISIBLE_ROOT_MARGIN,\n IDLE_TIMEOUT,\n autoload,\n composeManifests,\n registerManifest,\n registerManifests,\n readEagerTokens,\n defineManifest,\n fromMetaGlob,\n fromWebpackContext,\n type ComponentLoadStrategy,\n type ComponentManifestEntry,\n type ComponentManifest,\n type LoaderDependencies,\n type ComponentLoaderOptions,\n type ComponentLoaderStartOptions,\n type AutoloadOptions,\n type AutoloadHandle,\n type AutoloadRuntime,\n type RegisterManifestOptions,\n type ModuleRecord,\n type ComponentOverride,\n type DefineManifestOptions,\n type WebpackContextLike,\n} from './autoload/index.js';\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,eAAe;AAExB;AAAA,EACE;AAAA,EACA;AAAA,OAWK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAyBK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAqBK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAeK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|