@studiometa/js-toolkit 3.9.0 → 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -101
- package/dist/Base.d.ts +371 -0
- package/dist/Base.js +907 -0
- package/dist/Base.js.map +1 -0
- package/dist/attribute-namespaces.d.ts +67 -0
- package/dist/attribute-namespaces.js +97 -0
- package/dist/attribute-namespaces.js.map +1 -0
- package/dist/attributes.d.ts +137 -0
- package/dist/attributes.js +166 -0
- package/dist/attributes.js.map +1 -0
- package/dist/children-watchers.d.ts +23 -0
- package/dist/children-watchers.js +48 -0
- package/dist/children-watchers.js.map +1 -0
- package/dist/component-brand.d.ts +11 -0
- package/dist/component-brand.js +17 -0
- package/dist/component-brand.js.map +1 -0
- package/dist/component-declarations.d.ts +15 -0
- package/dist/component-declarations.js +31 -0
- package/dist/component-declarations.js.map +1 -0
- package/dist/context-subscription.d.ts +24 -0
- package/dist/context-subscription.js +123 -0
- package/dist/context-subscription.js.map +1 -0
- package/dist/context.d.ts +82 -0
- package/dist/context.js +173 -0
- package/dist/context.js.map +1 -0
- package/dist/decorators.d.ts +70 -0
- package/dist/decorators.js +189 -0
- package/dist/decorators.js.map +1 -0
- package/dist/diagnostic-contract.d.ts +104 -0
- package/dist/diagnostic-contract.js +66 -0
- package/dist/diagnostic-contract.js.map +1 -0
- package/dist/diagnostics.d.ts +41 -0
- package/dist/diagnostics.js +102 -0
- package/dist/diagnostics.js.map +1 -0
- package/dist/document-order.d.ts +10 -0
- package/dist/document-order.js +17 -0
- package/dist/document-order.js.map +1 -0
- package/dist/dom-mutations.d.ts +77 -0
- package/dist/dom-mutations.js +238 -0
- package/dist/dom-mutations.js.map +1 -0
- package/dist/events.d.ts +17 -0
- package/dist/events.js +19 -0
- package/dist/events.js.map +1 -0
- package/dist/group.d.ts +55 -0
- package/dist/group.js +34 -0
- package/dist/group.js.map +1 -0
- package/dist/index.d.ts +40 -7
- package/dist/index.js +38 -143
- package/dist/instances.d.ts +86 -0
- package/dist/instances.js +71 -0
- package/dist/instances.js.map +1 -0
- package/dist/manifest.d.ts +36 -0
- package/dist/manifest.js +49 -0
- package/dist/manifest.js.map +1 -0
- package/dist/mount-strategies.d.ts +46 -0
- package/dist/mount-strategies.js +213 -0
- package/dist/mount-strategies.js.map +1 -0
- package/dist/negotiated-events.d.ts +43 -0
- package/dist/negotiated-events.js +98 -0
- package/dist/negotiated-events.js.map +1 -0
- package/dist/protocol-symbols.d.ts +24 -0
- package/dist/protocol-symbols.js +26 -0
- package/dist/protocol-symbols.js.map +1 -0
- package/dist/registry.d.ts +68 -0
- package/dist/registry.js +442 -0
- package/dist/registry.js.map +1 -0
- package/dist/responsive-options.d.ts +34 -0
- package/dist/responsive-options.js +106 -0
- package/dist/responsive-options.js.map +1 -0
- package/dist/scheduler.d.ts +51 -0
- package/dist/scheduler.js +217 -0
- package/dist/scheduler.js.map +1 -0
- package/dist/services/breakpoint.d.ts +35 -0
- package/dist/services/breakpoint.js +130 -0
- package/dist/services/breakpoint.js.map +1 -0
- package/dist/services/drag.d.ts +65 -0
- package/dist/services/drag.js +271 -0
- package/dist/services/drag.js.map +1 -0
- package/dist/services/in-view.d.ts +26 -0
- package/dist/services/in-view.js +83 -0
- package/dist/services/in-view.js.map +1 -0
- package/dist/services/key.d.ts +70 -0
- package/dist/services/key.js +92 -0
- package/dist/services/key.js.map +1 -0
- package/dist/services/media.d.ts +18 -0
- package/dist/services/media.js +50 -0
- package/dist/services/media.js.map +1 -0
- package/dist/services/mixin.d.ts +82 -0
- package/dist/services/mixin.js +141 -0
- package/dist/services/mixin.js.map +1 -0
- package/dist/services/mutation.d.ts +41 -0
- package/dist/services/mutation.js +95 -0
- package/dist/services/mutation.js.map +1 -0
- package/dist/services/pointer.d.ts +49 -0
- package/dist/services/pointer.js +167 -0
- package/dist/services/pointer.js.map +1 -0
- package/dist/services/raf.d.ts +27 -0
- package/dist/services/raf.js +70 -0
- package/dist/services/raf.js.map +1 -0
- package/dist/services/resize.d.ts +38 -0
- package/dist/services/resize.js +82 -0
- package/dist/services/resize.js.map +1 -0
- package/dist/services/scroll-progress-offset.d.ts +17 -0
- package/dist/services/scroll-progress-offset.js +35 -0
- package/dist/services/scroll-progress-offset.js.map +1 -0
- package/dist/services/scroll-progress.d.ts +41 -0
- package/dist/services/scroll-progress.js +125 -0
- package/dist/services/scroll-progress.js.map +1 -0
- package/dist/services/scroll.d.ts +47 -0
- package/dist/services/scroll.js +170 -0
- package/dist/services/scroll.js.map +1 -0
- package/dist/services/service.d.ts +60 -0
- package/dist/services/service.js +110 -0
- package/dist/services/service.js.map +1 -0
- package/dist/services/toggle.d.ts +20 -0
- package/dist/services/toggle.js +42 -0
- package/dist/services/toggle.js.map +1 -0
- package/dist/services/until.d.ts +11 -0
- package/dist/services/until.js +25 -0
- package/dist/services/until.js.map +1 -0
- package/dist/shared-runtime.d.ts +8 -0
- package/dist/shared-runtime.js +43 -0
- package/dist/shared-runtime.js.map +1 -0
- package/dist/storage/createStorage.d.ts +12 -0
- package/dist/storage/createStorage.js +120 -0
- package/dist/storage/createStorage.js.map +1 -0
- package/dist/storage/index.d.ts +28 -0
- package/dist/storage/index.js +50 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/providers.d.ts +52 -0
- package/dist/storage/providers.js +172 -0
- package/dist/storage/providers.js.map +1 -0
- package/dist/storage/serializers.d.ts +10 -0
- package/dist/storage/serializers.js +14 -0
- package/dist/storage/serializers.js.map +1 -0
- package/dist/storage/sync.d.ts +19 -0
- package/dist/storage/sync.js +39 -0
- package/dist/storage/sync.js.map +1 -0
- package/dist/storage/types.d.ts +65 -0
- package/dist/storage/types.js +0 -0
- package/dist/subpaths/BREAKPOINTS.d.ts +2 -0
- package/dist/subpaths/BREAKPOINTS.js +2 -0
- package/dist/subpaths/Base.d.ts +2 -1
- package/dist/subpaths/Base.js +2 -6
- package/dist/subpaths/DIAGNOSTICS.d.ts +2 -0
- package/dist/subpaths/DIAGNOSTICS.js +2 -0
- package/dist/subpaths/DRAG_MODES.d.ts +2 -0
- package/dist/subpaths/DRAG_MODES.js +2 -0
- package/dist/subpaths/EVENTS.d.ts +2 -0
- package/dist/subpaths/EVENTS.js +2 -0
- package/dist/subpaths/MOUNT_ATTRIBUTE.d.ts +2 -0
- package/dist/subpaths/MOUNT_ATTRIBUTE.js +2 -0
- package/dist/subpaths/SWAP_MODES.d.ts +2 -0
- package/dist/subpaths/SWAP_MODES.js +2 -0
- package/dist/subpaths/children.d.ts +2 -0
- package/dist/subpaths/children.js +2 -0
- package/dist/subpaths/component.d.ts +2 -0
- package/dist/subpaths/component.js +2 -0
- package/dist/subpaths/createContext.d.ts +2 -0
- package/dist/subpaths/createContext.js +2 -0
- package/dist/subpaths/createFallbackProvider.d.ts +2 -0
- package/dist/subpaths/createFallbackProvider.js +2 -0
- package/dist/subpaths/createGroup.d.ts +2 -0
- package/dist/subpaths/createGroup.js +2 -0
- package/dist/subpaths/createLocalStorage.d.ts +2 -0
- package/dist/subpaths/createLocalStorage.js +2 -0
- package/dist/subpaths/createMemoryStorageProvider.d.ts +2 -0
- package/dist/subpaths/createMemoryStorageProvider.js +2 -0
- package/dist/subpaths/createService.d.ts +2 -0
- package/dist/subpaths/createService.js +2 -0
- package/dist/subpaths/createServiceMixin.d.ts +2 -0
- package/dist/subpaths/createServiceMixin.js +2 -0
- package/dist/subpaths/createSessionStorage.d.ts +2 -0
- package/dist/subpaths/createSessionStorage.js +2 -0
- package/dist/subpaths/createStorage.d.ts +2 -0
- package/dist/subpaths/createStorage.js +2 -0
- package/dist/subpaths/createUrlSearchParamsInHashProvider.d.ts +2 -0
- package/dist/subpaths/createUrlSearchParamsInHashProvider.js +2 -0
- package/dist/subpaths/createUrlSearchParamsInHashStorage.d.ts +2 -0
- package/dist/subpaths/createUrlSearchParamsInHashStorage.js +2 -0
- package/dist/subpaths/createUrlSearchParamsProvider.d.ts +2 -0
- package/dist/subpaths/createUrlSearchParamsProvider.js +2 -0
- package/dist/subpaths/createUrlSearchParamsStorage.d.ts +2 -0
- package/dist/subpaths/createUrlSearchParamsStorage.js +2 -0
- package/dist/subpaths/defaultScheduler.d.ts +2 -0
- package/dist/subpaths/defaultScheduler.js +2 -0
- package/dist/subpaths/defineManifest.d.ts +2 -1
- package/dist/subpaths/defineManifest.js +2 -6
- package/dist/subpaths/domUpdate.d.ts +2 -0
- package/dist/subpaths/domUpdate.js +2 -0
- package/dist/subpaths/emitExtendable.d.ts +2 -0
- package/dist/subpaths/emitExtendable.js +2 -0
- package/dist/subpaths/fromMetaGlob.d.ts +2 -1
- package/dist/subpaths/fromMetaGlob.js +2 -6
- package/dist/subpaths/fromWebpackContext.d.ts +2 -1
- package/dist/subpaths/fromWebpackContext.js +2 -6
- package/dist/subpaths/getBreakpoints.d.ts +2 -0
- package/dist/subpaths/getBreakpoints.js +2 -0
- package/dist/subpaths/getInstance.d.ts +2 -0
- package/dist/subpaths/getInstance.js +2 -0
- package/dist/subpaths/getInstances.d.ts +2 -1
- package/dist/subpaths/getInstances.js +2 -6
- package/dist/subpaths/getMountedInstances.d.ts +2 -0
- package/dist/subpaths/getMountedInstances.js +2 -0
- package/dist/subpaths/getUnmountedInstances.d.ts +2 -0
- package/dist/subpaths/getUnmountedInstances.js +2 -0
- package/dist/subpaths/inject.d.ts +2 -0
- package/dist/subpaths/inject.js +2 -0
- package/dist/subpaths/injectContext.d.ts +2 -0
- package/dist/subpaths/injectContext.js +2 -0
- package/dist/subpaths/injectContextSync.d.ts +2 -0
- package/dist/subpaths/injectContextSync.js +2 -0
- package/dist/subpaths/jsonSerializer.d.ts +2 -0
- package/dist/subpaths/jsonSerializer.js +2 -0
- package/dist/subpaths/localStorageProvider.d.ts +2 -0
- package/dist/subpaths/localStorageProvider.js +2 -0
- package/dist/subpaths/memoryStorageProvider.d.ts +2 -0
- package/dist/subpaths/memoryStorageProvider.js +2 -0
- package/dist/subpaths/namespaceQualifier.d.ts +2 -0
- package/dist/subpaths/namespaceQualifier.js +2 -0
- package/dist/subpaths/nextFrame.d.ts +2 -0
- package/dist/subpaths/nextFrame.js +2 -0
- package/dist/subpaths/on.d.ts +2 -0
- package/dist/subpaths/on.js +2 -0
- package/dist/subpaths/perTarget.d.ts +2 -0
- package/dist/subpaths/perTarget.js +2 -0
- package/dist/subpaths/provide.d.ts +2 -0
- package/dist/subpaths/provide.js +2 -0
- package/dist/subpaths/provideContext.d.ts +2 -0
- package/dist/subpaths/provideContext.js +2 -0
- package/dist/subpaths/provideRootContext.d.ts +2 -0
- package/dist/subpaths/provideRootContext.js +2 -0
- package/dist/subpaths/read.d.ts +2 -0
- package/dist/subpaths/read.js +2 -0
- package/dist/subpaths/registerComponent.d.ts +2 -1
- package/dist/subpaths/registerComponent.js +2 -6
- package/dist/subpaths/registerComponents.d.ts +2 -1
- package/dist/subpaths/registerComponents.js +2 -6
- package/dist/subpaths/registerManifest.d.ts +2 -1
- package/dist/subpaths/registerManifest.js +2 -6
- package/dist/subpaths/reportDiagnostic.d.ts +2 -0
- package/dist/subpaths/reportDiagnostic.js +2 -0
- package/dist/subpaths/sessionStorageProvider.d.ts +2 -0
- package/dist/subpaths/sessionStorageProvider.js +2 -0
- package/dist/subpaths/setBreakpoints.d.ts +2 -0
- package/dist/subpaths/setBreakpoints.js +2 -0
- package/dist/subpaths/signal.d.ts +2 -0
- package/dist/subpaths/signal.js +2 -0
- package/dist/subpaths/subscribeContext.d.ts +2 -0
- package/dist/subpaths/subscribeContext.js +2 -0
- package/dist/subpaths/swap.d.ts +2 -0
- package/dist/subpaths/swap.js +2 -0
- package/dist/subpaths/toggle.d.ts +2 -0
- package/dist/subpaths/toggle.js +2 -0
- package/dist/subpaths/until.d.ts +2 -0
- package/dist/subpaths/until.js +2 -0
- package/dist/subpaths/urlSearchParamsInHashProvider.d.ts +2 -0
- package/dist/subpaths/urlSearchParamsInHashProvider.js +2 -0
- package/dist/subpaths/urlSearchParamsProvider.d.ts +2 -0
- package/dist/subpaths/urlSearchParamsProvider.js +2 -0
- package/dist/subpaths/useBreakpoint.d.ts +2 -0
- package/dist/subpaths/useBreakpoint.js +2 -0
- package/dist/subpaths/useDrag.d.ts +2 -1
- package/dist/subpaths/useDrag.js +2 -6
- package/dist/subpaths/useInView.d.ts +2 -0
- package/dist/subpaths/useInView.js +2 -0
- package/dist/subpaths/useKey.d.ts +2 -1
- package/dist/subpaths/useKey.js +2 -6
- package/dist/subpaths/useMediaQuery.d.ts +2 -0
- package/dist/subpaths/useMediaQuery.js +2 -0
- package/dist/subpaths/useMutation.d.ts +2 -1
- package/dist/subpaths/useMutation.js +2 -6
- package/dist/subpaths/usePointer.d.ts +2 -1
- package/dist/subpaths/usePointer.js +2 -6
- package/dist/subpaths/usePrefersReducedMotion.d.ts +2 -0
- package/dist/subpaths/usePrefersReducedMotion.js +2 -0
- package/dist/subpaths/useRaf.d.ts +2 -1
- package/dist/subpaths/useRaf.js +2 -6
- package/dist/subpaths/useResize.d.ts +2 -1
- package/dist/subpaths/useResize.js +2 -6
- package/dist/subpaths/useScroll.d.ts +2 -1
- package/dist/subpaths/useScroll.js +2 -6
- package/dist/subpaths/useScrollProgress.d.ts +2 -0
- package/dist/subpaths/useScrollProgress.js +2 -0
- package/dist/subpaths/useWindowScroll.d.ts +2 -0
- package/dist/subpaths/useWindowScroll.js +2 -0
- package/dist/subpaths/useWindowSize.d.ts +2 -0
- package/dist/subpaths/useWindowSize.js +2 -0
- package/dist/subpaths/utils/DEFAULT_DAMP_FACTOR.d.ts +2 -0
- package/dist/subpaths/utils/DEFAULT_DAMP_FACTOR.js +2 -0
- package/dist/subpaths/utils/INERTIA_FRAME.d.ts +2 -0
- package/dist/subpaths/utils/INERTIA_FRAME.js +2 -0
- package/dist/subpaths/utils/MAX_SPRING_RATIO.d.ts +2 -0
- package/dist/subpaths/utils/MAX_SPRING_RATIO.js +2 -0
- package/dist/subpaths/utils/SCROLL_ALIGNMENTS.d.ts +2 -0
- package/dist/subpaths/utils/SCROLL_ALIGNMENTS.js +2 -0
- package/dist/subpaths/utils/SCROLL_AXES.d.ts +2 -0
- package/dist/subpaths/utils/SCROLL_AXES.js +2 -0
- package/dist/subpaths/utils/TRANSFORM_PROPS.d.ts +2 -0
- package/dist/subpaths/utils/TRANSFORM_PROPS.js +2 -0
- package/dist/subpaths/utils/TRANSITION_OPTIONS.d.ts +2 -0
- package/dist/subpaths/utils/TRANSITION_OPTIONS.js +2 -0
- package/dist/subpaths/utils/camelCase.d.ts +2 -1
- package/dist/subpaths/utils/camelCase.js +2 -6
- package/dist/subpaths/utils/capitalize.d.ts +2 -0
- package/dist/subpaths/utils/capitalize.js +2 -0
- package/dist/subpaths/utils/clamp.d.ts +2 -1
- package/dist/subpaths/utils/clamp.js +2 -6
- package/dist/subpaths/utils/clamp01.d.ts +2 -1
- package/dist/subpaths/utils/clamp01.js +2 -6
- package/dist/subpaths/utils/clampDampFactor.d.ts +2 -0
- package/dist/subpaths/utils/clampDampFactor.js +2 -0
- package/dist/subpaths/utils/createEaseInOut.d.ts +2 -1
- package/dist/subpaths/utils/createEaseInOut.js +2 -6
- package/dist/subpaths/utils/createEaseOut.d.ts +2 -1
- package/dist/subpaths/utils/createEaseOut.js +2 -6
- package/dist/subpaths/utils/createElement.d.ts +2 -1
- package/dist/subpaths/utils/createElement.js +2 -6
- package/dist/subpaths/utils/createRange.d.ts +2 -1
- package/dist/subpaths/utils/createRange.js +2 -6
- package/dist/subpaths/utils/damp.d.ts +2 -1
- package/dist/subpaths/utils/damp.js +2 -6
- package/dist/subpaths/utils/debounce.d.ts +2 -1
- package/dist/subpaths/utils/debounce.js +2 -6
- package/dist/subpaths/utils/decayOver.d.ts +2 -0
- package/dist/subpaths/utils/decayOver.js +2 -0
- package/dist/subpaths/utils/deepmerge.d.ts +2 -0
- package/dist/subpaths/utils/deepmerge.js +2 -0
- package/dist/subpaths/utils/easeInCirc.d.ts +2 -1
- package/dist/subpaths/utils/easeInCirc.js +2 -6
- package/dist/subpaths/utils/easeInCubic.d.ts +2 -1
- package/dist/subpaths/utils/easeInCubic.js +2 -6
- package/dist/subpaths/utils/easeInExpo.d.ts +2 -1
- package/dist/subpaths/utils/easeInExpo.js +2 -6
- package/dist/subpaths/utils/easeInOutCirc.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutCirc.js +2 -6
- package/dist/subpaths/utils/easeInOutCubic.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutCubic.js +2 -6
- package/dist/subpaths/utils/easeInOutExpo.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutExpo.js +2 -6
- package/dist/subpaths/utils/easeInOutQuad.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutQuad.js +2 -6
- package/dist/subpaths/utils/easeInOutQuart.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutQuart.js +2 -6
- package/dist/subpaths/utils/easeInOutQuint.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutQuint.js +2 -6
- package/dist/subpaths/utils/easeInOutSine.d.ts +2 -1
- package/dist/subpaths/utils/easeInOutSine.js +2 -6
- package/dist/subpaths/utils/easeInQuad.d.ts +2 -1
- package/dist/subpaths/utils/easeInQuad.js +2 -6
- package/dist/subpaths/utils/easeInQuart.d.ts +2 -1
- package/dist/subpaths/utils/easeInQuart.js +2 -6
- package/dist/subpaths/utils/easeInQuint.d.ts +2 -1
- package/dist/subpaths/utils/easeInQuint.js +2 -6
- package/dist/subpaths/utils/easeInSine.d.ts +2 -1
- package/dist/subpaths/utils/easeInSine.js +2 -6
- package/dist/subpaths/utils/easeLinear.d.ts +2 -1
- package/dist/subpaths/utils/easeLinear.js +2 -6
- package/dist/subpaths/utils/easeOutCirc.d.ts +2 -1
- package/dist/subpaths/utils/easeOutCirc.js +2 -6
- package/dist/subpaths/utils/easeOutCubic.d.ts +2 -1
- package/dist/subpaths/utils/easeOutCubic.js +2 -6
- package/dist/subpaths/utils/easeOutExpo.d.ts +2 -1
- package/dist/subpaths/utils/easeOutExpo.js +2 -6
- package/dist/subpaths/utils/easeOutQuad.d.ts +2 -1
- package/dist/subpaths/utils/easeOutQuad.js +2 -6
- package/dist/subpaths/utils/easeOutQuart.d.ts +2 -1
- package/dist/subpaths/utils/easeOutQuart.js +2 -6
- package/dist/subpaths/utils/easeOutQuint.d.ts +2 -1
- package/dist/subpaths/utils/easeOutQuint.js +2 -6
- package/dist/subpaths/utils/easeOutSine.d.ts +2 -1
- package/dist/subpaths/utils/easeOutSine.js +2 -6
- package/dist/subpaths/utils/enterTransition.d.ts +2 -0
- package/dist/subpaths/utils/enterTransition.js +2 -0
- package/dist/subpaths/utils/fold.d.ts +2 -1
- package/dist/subpaths/utils/fold.js +2 -6
- package/dist/subpaths/utils/getOffsetSizes.d.ts +2 -1
- package/dist/subpaths/utils/getOffsetSizes.js +2 -6
- package/dist/subpaths/utils/historyPush.d.ts +2 -1
- package/dist/subpaths/utils/historyPush.js +2 -6
- package/dist/subpaths/utils/historyReplace.d.ts +2 -1
- package/dist/subpaths/utils/historyReplace.js +2 -6
- package/dist/subpaths/utils/inertiaDecay.d.ts +2 -0
- package/dist/subpaths/utils/inertiaDecay.js +2 -0
- package/dist/subpaths/utils/inertiaFinalValue.d.ts +2 -1
- package/dist/subpaths/utils/inertiaFinalValue.js +2 -6
- package/dist/subpaths/utils/inertiaStep.d.ts +2 -0
- package/dist/subpaths/utils/inertiaStep.js +2 -0
- package/dist/subpaths/utils/inertiaTimeConstant.d.ts +2 -0
- package/dist/subpaths/utils/inertiaTimeConstant.js +2 -0
- package/dist/subpaths/utils/isBoolean.d.ts +2 -1
- package/dist/subpaths/utils/isBoolean.js +2 -6
- package/dist/subpaths/utils/isDefined.d.ts +2 -1
- package/dist/subpaths/utils/isDefined.js +2 -6
- package/dist/subpaths/utils/isFunction.d.ts +2 -1
- package/dist/subpaths/utils/isFunction.js +2 -6
- package/dist/subpaths/utils/isNull.d.ts +2 -1
- package/dist/subpaths/utils/isNull.js +2 -6
- package/dist/subpaths/utils/isNumber.d.ts +2 -1
- package/dist/subpaths/utils/isNumber.js +2 -6
- package/dist/subpaths/utils/isObject.d.ts +2 -1
- package/dist/subpaths/utils/isObject.js +2 -6
- package/dist/subpaths/utils/isString.d.ts +2 -1
- package/dist/subpaths/utils/isString.js +2 -6
- package/dist/subpaths/utils/kebabCase.d.ts +2 -0
- package/dist/subpaths/utils/kebabCase.js +2 -0
- package/dist/subpaths/utils/leaveTransition.d.ts +2 -0
- package/dist/subpaths/utils/leaveTransition.js +2 -0
- package/dist/subpaths/utils/lerp.d.ts +2 -1
- package/dist/subpaths/utils/lerp.js +2 -6
- package/dist/subpaths/utils/loadImage.d.ts +2 -1
- package/dist/subpaths/utils/loadImage.js +2 -6
- package/dist/subpaths/utils/loadLink.d.ts +2 -1
- package/dist/subpaths/utils/loadLink.js +2 -6
- package/dist/subpaths/utils/loadScript.d.ts +2 -1
- package/dist/subpaths/utils/loadScript.js +2 -6
- package/dist/subpaths/utils/lockScroll.d.ts +2 -0
- package/dist/subpaths/utils/lockScroll.js +2 -0
- package/dist/subpaths/utils/lowerCase.d.ts +2 -1
- package/dist/subpaths/utils/lowerCase.js +2 -6
- package/dist/subpaths/utils/map.d.ts +2 -1
- package/dist/subpaths/utils/map.js +2 -6
- package/dist/subpaths/utils/matrix.d.ts +2 -1
- package/dist/subpaths/utils/matrix.js +2 -6
- package/dist/subpaths/utils/mean.d.ts +2 -1
- package/dist/subpaths/utils/mean.js +2 -6
- package/dist/subpaths/utils/memo.d.ts +2 -1
- package/dist/subpaths/utils/memo.js +2 -6
- package/dist/subpaths/utils/noop.d.ts +2 -1
- package/dist/subpaths/utils/noop.js +2 -6
- package/dist/subpaths/utils/noopValue.d.ts +2 -1
- package/dist/subpaths/utils/noopValue.js +2 -6
- package/dist/subpaths/utils/objectToURLSearchParams.d.ts +2 -1
- package/dist/subpaths/utils/objectToURLSearchParams.js +2 -6
- package/dist/subpaths/utils/pascalCase.d.ts +2 -1
- package/dist/subpaths/utils/pascalCase.js +2 -6
- package/dist/subpaths/utils/random.d.ts +2 -1
- package/dist/subpaths/utils/random.js +2 -6
- package/dist/subpaths/utils/randomInt.d.ts +2 -1
- package/dist/subpaths/utils/randomInt.js +2 -6
- package/dist/subpaths/utils/randomItem.d.ts +2 -1
- package/dist/subpaths/utils/randomItem.js +2 -6
- package/dist/subpaths/utils/round.d.ts +2 -1
- package/dist/subpaths/utils/round.js +2 -6
- package/dist/subpaths/utils/saveActiveElement.d.ts +2 -1
- package/dist/subpaths/utils/saveActiveElement.js +2 -6
- package/dist/subpaths/utils/scrollPosition.d.ts +2 -0
- package/dist/subpaths/utils/scrollPosition.js +2 -0
- package/dist/subpaths/utils/scrollTo.d.ts +2 -1
- package/dist/subpaths/utils/scrollTo.js +2 -6
- package/dist/subpaths/utils/selectorFor.d.ts +2 -0
- package/dist/subpaths/utils/selectorFor.js +2 -0
- package/dist/subpaths/utils/setClassesOrStyles.d.ts +2 -0
- package/dist/subpaths/utils/setClassesOrStyles.js +2 -0
- package/dist/subpaths/utils/smoothTo.d.ts +2 -1
- package/dist/subpaths/utils/smoothTo.js +2 -6
- package/dist/subpaths/utils/snakeCase.d.ts +2 -1
- package/dist/subpaths/utils/snakeCase.js +2 -6
- package/dist/subpaths/utils/spring.d.ts +2 -1
- package/dist/subpaths/utils/spring.js +2 -6
- package/dist/subpaths/utils/throttle.d.ts +2 -1
- package/dist/subpaths/utils/throttle.js +2 -6
- package/dist/subpaths/utils/transform.d.ts +2 -1
- package/dist/subpaths/utils/transform.js +2 -6
- package/dist/subpaths/utils/transition.d.ts +2 -1
- package/dist/subpaths/utils/transition.js +2 -6
- package/dist/subpaths/utils/trapFocus.d.ts +2 -1
- package/dist/subpaths/utils/trapFocus.js +2 -6
- package/dist/subpaths/utils/untrapFocus.d.ts +2 -1
- package/dist/subpaths/utils/untrapFocus.js +2 -6
- package/dist/subpaths/utils/upperCase.d.ts +2 -1
- package/dist/subpaths/utils/upperCase.js +2 -6
- package/dist/subpaths/utils/wait.d.ts +2 -1
- package/dist/subpaths/utils/wait.js +2 -6
- package/dist/subpaths/utils/withLeadingCharacters.d.ts +2 -1
- package/dist/subpaths/utils/withLeadingCharacters.js +2 -6
- package/dist/subpaths/utils/withLeadingSlash.d.ts +2 -1
- package/dist/subpaths/utils/withLeadingSlash.js +2 -6
- package/dist/subpaths/utils/withTrailingCharacters.d.ts +2 -1
- package/dist/subpaths/utils/withTrailingCharacters.js +2 -6
- package/dist/subpaths/utils/withTrailingSlash.d.ts +2 -1
- package/dist/subpaths/utils/withTrailingSlash.js +2 -6
- package/dist/subpaths/utils/withoutLeadingCharacters.d.ts +2 -1
- package/dist/subpaths/utils/withoutLeadingCharacters.js +2 -6
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.d.ts +2 -1
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.js +2 -6
- package/dist/subpaths/utils/withoutLeadingSlash.d.ts +2 -1
- package/dist/subpaths/utils/withoutLeadingSlash.js +2 -6
- package/dist/subpaths/utils/withoutTrailingCharacters.d.ts +2 -1
- package/dist/subpaths/utils/withoutTrailingCharacters.js +2 -6
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.d.ts +2 -1
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.js +2 -6
- package/dist/subpaths/utils/withoutTrailingSlash.d.ts +2 -1
- package/dist/subpaths/utils/withoutTrailingSlash.js +2 -6
- package/dist/subpaths/utils/wrap.d.ts +2 -1
- package/dist/subpaths/utils/wrap.js +2 -6
- package/dist/subpaths/viewTransition.d.ts +2 -0
- package/dist/subpaths/viewTransition.js +2 -0
- package/dist/subpaths/warn.d.ts +2 -0
- package/dist/subpaths/warn.js +2 -0
- package/dist/subpaths/watchAttributeNamespace.d.ts +2 -0
- package/dist/subpaths/watchAttributeNamespace.js +2 -0
- package/dist/subpaths/watchAttributes.d.ts +2 -0
- package/dist/subpaths/watchAttributes.js +2 -0
- package/dist/subpaths/whenDOMSettled.d.ts +2 -0
- package/dist/subpaths/whenDOMSettled.js +2 -0
- package/dist/subpaths/withDrag.d.ts +2 -1
- package/dist/subpaths/withDrag.js +2 -6
- package/dist/subpaths/withInView.d.ts +2 -0
- package/dist/subpaths/withInView.js +2 -0
- package/dist/subpaths/withKey.d.ts +2 -0
- package/dist/subpaths/withKey.js +2 -0
- package/dist/subpaths/withMutation.d.ts +2 -1
- package/dist/subpaths/withMutation.js +2 -6
- package/dist/subpaths/withPointer.d.ts +2 -0
- package/dist/subpaths/withPointer.js +2 -0
- package/dist/subpaths/withRaf.d.ts +2 -0
- package/dist/subpaths/withRaf.js +2 -0
- package/dist/subpaths/withResize.d.ts +2 -0
- package/dist/subpaths/withResize.js +2 -0
- package/dist/subpaths/withScroll.d.ts +2 -0
- package/dist/subpaths/withScroll.js +2 -0
- package/dist/subpaths/withScrollProgress.d.ts +2 -0
- package/dist/subpaths/withScrollProgress.js +2 -0
- package/dist/subpaths/write.d.ts +2 -0
- package/dist/subpaths/write.js +2 -0
- package/dist/swap.d.ts +45 -0
- package/dist/swap.js +84 -0
- package/dist/swap.js.map +1 -0
- package/dist/test/index.d.ts +205 -0
- package/dist/test/index.js +249 -0
- package/dist/test/index.js.map +1 -0
- package/dist/utils/deepmerge.d.ts +31 -0
- package/dist/utils/deepmerge.js +76 -0
- package/dist/utils/deepmerge.js.map +1 -0
- package/dist/utils/dom.d.ts +51 -0
- package/dist/utils/dom.js +55 -0
- package/dist/utils/dom.js.map +1 -0
- package/dist/utils/easings.d.ts +130 -0
- package/dist/utils/easings.js +148 -0
- package/dist/utils/easings.js.map +1 -0
- package/dist/utils/focus.d.ts +18 -0
- package/dist/utils/focus.js +63 -0
- package/dist/utils/focus.js.map +1 -0
- package/dist/utils/history.d.ts +29 -28
- package/dist/utils/history.js +60 -64
- package/dist/utils/history.js.map +1 -7
- package/dist/utils/index.d.ts +20 -29
- package/dist/utils/index.js +18 -281
- package/dist/utils/is.d.ts +29 -40
- package/dist/utils/is.js +59 -36
- package/dist/utils/is.js.map +1 -7
- package/dist/utils/load.d.ts +46 -0
- package/dist/utils/load.js +144 -0
- package/dist/utils/load.js.map +1 -0
- package/dist/utils/maths.d.ts +122 -0
- package/dist/utils/maths.js +177 -0
- package/dist/utils/maths.js.map +1 -0
- package/dist/utils/memo.d.ts +14 -4
- package/dist/utils/memo.js +33 -12
- package/dist/utils/memo.js.map +1 -7
- package/dist/utils/noop.d.ts +10 -6
- package/dist/utils/noop.js +16 -8
- package/dist/utils/noop.js.map +1 -7
- package/dist/utils/random.d.ts +17 -19
- package/dist/utils/random.js +22 -13
- package/dist/utils/random.js.map +1 -7
- package/dist/utils/scroll-lock.d.ts +27 -0
- package/dist/utils/scroll-lock.js +58 -0
- package/dist/utils/scroll-lock.js.map +1 -0
- package/dist/utils/scrollTo.d.ts +82 -29
- package/dist/utils/scrollTo.js +158 -106
- package/dist/utils/scrollTo.js.map +1 -7
- package/dist/utils/selectors.d.ts +19 -0
- package/dist/utils/selectors.js +25 -0
- package/dist/utils/selectors.js.map +1 -0
- package/dist/utils/smoothTo.d.ts +77 -0
- package/dist/utils/smoothTo.js +93 -0
- package/dist/utils/smoothTo.js.map +1 -0
- package/dist/utils/strings.d.ts +101 -0
- package/dist/utils/strings.js +169 -0
- package/dist/utils/strings.js.map +1 -0
- package/dist/utils/timing.d.ts +21 -0
- package/dist/utils/timing.js +41 -0
- package/dist/utils/timing.js.map +1 -0
- package/dist/utils/transform.d.ts +67 -0
- package/dist/utils/transform.js +74 -0
- package/dist/utils/transform.js.map +1 -0
- package/dist/utils/transition.d.ts +61 -0
- package/dist/utils/transition.js +134 -0
- package/dist/utils/transition.js.map +1 -0
- package/dist/viewTransition.d.ts +17 -0
- package/dist/viewTransition.js +52 -0
- package/dist/viewTransition.js.map +1 -0
- package/package.json +520 -870
- package/dist/Base/Base.d.ts +0 -278
- package/dist/Base/Base.js +0 -535
- package/dist/Base/Base.js.map +0 -7
- package/dist/Base/features.d.ts +0 -16
- package/dist/Base/features.js +0 -36
- package/dist/Base/features.js.map +0 -7
- package/dist/Base/index.d.ts +0 -2
- package/dist/Base/index.js +0 -9
- package/dist/Base/index.js.map +0 -7
- package/dist/Base/managers/AbstractManager.d.ts +0 -30
- package/dist/Base/managers/AbstractManager.js +0 -38
- package/dist/Base/managers/AbstractManager.js.map +0 -7
- package/dist/Base/managers/ChildrenManager.d.ts +0 -81
- package/dist/Base/managers/ChildrenManager.js +0 -168
- package/dist/Base/managers/ChildrenManager.js.map +0 -7
- package/dist/Base/managers/EventsManager.d.ts +0 -109
- package/dist/Base/managers/EventsManager.js +0 -254
- package/dist/Base/managers/EventsManager.js.map +0 -7
- package/dist/Base/managers/OptionsManager.d.ts +0 -80
- package/dist/Base/managers/OptionsManager.js +0 -163
- package/dist/Base/managers/OptionsManager.js.map +0 -7
- package/dist/Base/managers/RefsManager.d.ts +0 -34
- package/dist/Base/managers/RefsManager.js +0 -101
- package/dist/Base/managers/RefsManager.js.map +0 -7
- package/dist/Base/managers/ResponsiveOptionsManager.d.ts +0 -33
- package/dist/Base/managers/ResponsiveOptionsManager.js +0 -67
- package/dist/Base/managers/ResponsiveOptionsManager.js.map +0 -7
- package/dist/Base/managers/ServicesManager.d.ts +0 -85
- package/dist/Base/managers/ServicesManager.js +0 -137
- package/dist/Base/managers/ServicesManager.js.map +0 -7
- package/dist/Base/managers/index.d.ts +0 -7
- package/dist/Base/managers/index.js +0 -17
- package/dist/Base/managers/index.js.map +0 -7
- package/dist/Base/types.d.ts +0 -1682
- package/dist/Base/types.js +0 -1
- package/dist/Base/types.js.map +0 -7
- package/dist/Base/utils.d.ts +0 -54
- package/dist/Base/utils.js +0 -172
- package/dist/Base/utils.js.map +0 -7
- package/dist/autoload/autoload.d.ts +0 -37
- package/dist/autoload/autoload.js +0 -29
- package/dist/autoload/autoload.js.map +0 -7
- package/dist/autoload/define-manifest.d.ts +0 -60
- package/dist/autoload/define-manifest.js +0 -51
- package/dist/autoload/define-manifest.js.map +0 -7
- package/dist/autoload/index.d.ts +0 -6
- package/dist/autoload/index.js +0 -34
- package/dist/autoload/index.js.map +0 -7
- package/dist/autoload/loader.d.ts +0 -108
- package/dist/autoload/loader.js +0 -381
- package/dist/autoload/loader.js.map +0 -7
- package/dist/autoload/modules.d.ts +0 -31
- package/dist/autoload/modules.js +0 -21
- package/dist/autoload/modules.js.map +0 -7
- package/dist/autoload/runtime.d.ts +0 -93
- package/dist/autoload/runtime.js +0 -100
- package/dist/autoload/runtime.js.map +0 -7
- package/dist/autoload/types.d.ts +0 -49
- package/dist/autoload/types.js +0 -1
- package/dist/autoload/types.js.map +0 -7
- package/dist/decorators/index.d.ts +0 -15
- package/dist/decorators/index.js +0 -51
- package/dist/decorators/index.js.map +0 -7
- package/dist/decorators/withBreakpointManager.d.ts +0 -7
- package/dist/decorators/withBreakpointManager.js +0 -82
- package/dist/decorators/withBreakpointManager.js.map +0 -7
- package/dist/decorators/withBreakpointObserver.d.ts +0 -15
- package/dist/decorators/withBreakpointObserver.js +0 -112
- package/dist/decorators/withBreakpointObserver.js.map +0 -7
- package/dist/decorators/withDrag.d.ts +0 -14
- package/dist/decorators/withDrag.js +0 -36
- package/dist/decorators/withDrag.js.map +0 -7
- package/dist/decorators/withExtraConfig.d.ts +0 -8
- package/dist/decorators/withExtraConfig.js +0 -18
- package/dist/decorators/withExtraConfig.js.map +0 -7
- package/dist/decorators/withFreezedOptions.d.ts +0 -10
- package/dist/decorators/withFreezedOptions.js +0 -28
- package/dist/decorators/withFreezedOptions.js.map +0 -7
- package/dist/decorators/withGroup.d.ts +0 -39
- package/dist/decorators/withGroup.js +0 -81
- package/dist/decorators/withGroup.js.map +0 -7
- package/dist/decorators/withIntersectionObserver.d.ts +0 -17
- package/dist/decorators/withIntersectionObserver.js +0 -45
- package/dist/decorators/withIntersectionObserver.js.map +0 -7
- package/dist/decorators/withMountOnMediaQuery.d.ts +0 -18
- package/dist/decorators/withMountOnMediaQuery.js +0 -62
- package/dist/decorators/withMountOnMediaQuery.js.map +0 -7
- package/dist/decorators/withMountWhenInView.d.ts +0 -22
- package/dist/decorators/withMountWhenInView.js +0 -68
- package/dist/decorators/withMountWhenInView.js.map +0 -7
- package/dist/decorators/withMountWhenPrefersMotion.d.ts +0 -6
- package/dist/decorators/withMountWhenPrefersMotion.js +0 -8
- package/dist/decorators/withMountWhenPrefersMotion.js.map +0 -7
- package/dist/decorators/withMutation.d.ts +0 -14
- package/dist/decorators/withMutation.js +0 -36
- package/dist/decorators/withMutation.js.map +0 -7
- package/dist/decorators/withName.d.ts +0 -6
- package/dist/decorators/withName.js +0 -12
- package/dist/decorators/withName.js.map +0 -7
- package/dist/decorators/withRelativePointer.d.ts +0 -14
- package/dist/decorators/withRelativePointer.js +0 -34
- package/dist/decorators/withRelativePointer.js.map +0 -7
- package/dist/decorators/withResponsiveOptions.d.ts +0 -9
- package/dist/decorators/withResponsiveOptions.js +0 -39
- package/dist/decorators/withResponsiveOptions.js.map +0 -7
- package/dist/decorators/withScrolledInView/index.d.ts +0 -2
- package/dist/decorators/withScrolledInView/index.js +0 -7
- package/dist/decorators/withScrolledInView/index.js.map +0 -7
- package/dist/decorators/withScrolledInView/types.d.ts +0 -2
- package/dist/decorators/withScrolledInView/types.js +0 -1
- package/dist/decorators/withScrolledInView/types.js.map +0 -7
- package/dist/decorators/withScrolledInView/utils.d.ts +0 -28
- package/dist/decorators/withScrolledInView/utils.js +0 -78
- package/dist/decorators/withScrolledInView/utils.js.map +0 -7
- package/dist/decorators/withScrolledInView/withScrolledInView.d.ts +0 -59
- package/dist/decorators/withScrolledInView/withScrolledInView.js +0 -176
- package/dist/decorators/withScrolledInView/withScrolledInView.js.map +0 -7
- package/dist/helpers/createApp.d.ts +0 -11
- package/dist/helpers/createApp.js +0 -38
- package/dist/helpers/createApp.js.map +0 -7
- package/dist/helpers/defineFeatures.d.ts +0 -7
- package/dist/helpers/defineFeatures.js +0 -21
- package/dist/helpers/defineFeatures.js.map +0 -7
- package/dist/helpers/getClosestParent.d.ts +0 -6
- package/dist/helpers/getClosestParent.js +0 -13
- package/dist/helpers/getClosestParent.js.map +0 -7
- package/dist/helpers/getDirectChildren.d.ts +0 -23
- package/dist/helpers/getDirectChildren.js +0 -31
- package/dist/helpers/getDirectChildren.js.map +0 -7
- package/dist/helpers/getInstanceFromElement.d.ts +0 -6
- package/dist/helpers/getInstanceFromElement.js +0 -10
- package/dist/helpers/getInstanceFromElement.js.map +0 -7
- package/dist/helpers/importOnInteraction.d.ts +0 -19
- package/dist/helpers/importOnInteraction.js +0 -27
- package/dist/helpers/importOnInteraction.js.map +0 -7
- package/dist/helpers/importOnMediaQuery.d.ts +0 -15
- package/dist/helpers/importOnMediaQuery.js +0 -22
- package/dist/helpers/importOnMediaQuery.js.map +0 -7
- package/dist/helpers/importWhenIdle.d.ts +0 -19
- package/dist/helpers/importWhenIdle.js +0 -24
- package/dist/helpers/importWhenIdle.js.map +0 -7
- package/dist/helpers/importWhenPrefersMotion.d.ts +0 -12
- package/dist/helpers/importWhenPrefersMotion.js +0 -8
- package/dist/helpers/importWhenPrefersMotion.js.map +0 -7
- package/dist/helpers/importWhenVisible.d.ts +0 -19
- package/dist/helpers/importWhenVisible.js +0 -21
- package/dist/helpers/importWhenVisible.js.map +0 -7
- package/dist/helpers/index.d.ts +0 -14
- package/dist/helpers/index.js +0 -38
- package/dist/helpers/index.js.map +0 -7
- package/dist/helpers/logTree.d.ts +0 -17
- package/dist/helpers/logTree.js +0 -59
- package/dist/helpers/logTree.js.map +0 -7
- package/dist/helpers/queryComponent.d.ts +0 -28
- package/dist/helpers/queryComponent.js +0 -88
- package/dist/helpers/queryComponent.js.map +0 -7
- package/dist/helpers/registerComponent.d.ts +0 -24
- package/dist/helpers/registerComponent.js +0 -30
- package/dist/helpers/registerComponent.js.map +0 -7
- package/dist/helpers/registerComponents.d.ts +0 -22
- package/dist/helpers/registerComponents.js +0 -21
- package/dist/helpers/registerComponents.js.map +0 -7
- package/dist/helpers/utils.d.ts +0 -10
- package/dist/helpers/utils.js +0 -15
- package/dist/helpers/utils.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/services/AbstractService.d.ts +0 -98
- package/dist/services/AbstractService.js +0 -114
- package/dist/services/AbstractService.js.map +0 -7
- package/dist/services/DragService.d.ts +0 -138
- package/dist/services/DragService.js +0 -227
- package/dist/services/DragService.js.map +0 -7
- package/dist/services/KeyService.d.ts +0 -30
- package/dist/services/KeyService.js +0 -48
- package/dist/services/KeyService.js.map +0 -7
- package/dist/services/LoadService.d.ts +0 -16
- package/dist/services/LoadService.js +0 -19
- package/dist/services/LoadService.js.map +0 -7
- package/dist/services/MutationService.d.ts +0 -21
- package/dist/services/MutationService.js +0 -34
- package/dist/services/MutationService.js.map +0 -7
- package/dist/services/PointerService.d.ts +0 -57
- package/dist/services/PointerService.js +0 -129
- package/dist/services/PointerService.js.map +0 -7
- package/dist/services/RafService.d.ts +0 -27
- package/dist/services/RafService.js +0 -60
- package/dist/services/RafService.js.map +0 -7
- package/dist/services/ResizeService.d.ts +0 -30
- package/dist/services/ResizeService.js +0 -70
- package/dist/services/ResizeService.js.map +0 -7
- package/dist/services/ScrollService.d.ts +0 -87
- package/dist/services/ScrollService.js +0 -142
- package/dist/services/ScrollService.js.map +0 -7
- package/dist/services/index.d.ts +0 -9
- package/dist/services/index.js +0 -53
- package/dist/services/index.js.map +0 -7
- package/dist/services/utils.d.ts +0 -14
- package/dist/services/utils.js +0 -11
- package/dist/services/utils.js.map +0 -7
- package/dist/subpaths/AbstractService.d.ts +0 -1
- package/dist/subpaths/AbstractService.js +0 -6
- package/dist/subpaths/AbstractService.js.map +0 -7
- package/dist/subpaths/AutoloadHandle.d.ts +0 -1
- package/dist/subpaths/AutoloadHandle.js +0 -1
- package/dist/subpaths/AutoloadHandle.js.map +0 -7
- package/dist/subpaths/AutoloadOptions.d.ts +0 -1
- package/dist/subpaths/AutoloadOptions.js +0 -1
- package/dist/subpaths/AutoloadOptions.js.map +0 -7
- package/dist/subpaths/AutoloadRuntime.d.ts +0 -1
- package/dist/subpaths/AutoloadRuntime.js +0 -1
- package/dist/subpaths/AutoloadRuntime.js.map +0 -7
- package/dist/subpaths/Base.js.map +0 -7
- package/dist/subpaths/BaseAsyncConstructor.d.ts +0 -1
- package/dist/subpaths/BaseAsyncConstructor.js +0 -1
- package/dist/subpaths/BaseAsyncConstructor.js.map +0 -7
- package/dist/subpaths/BaseChildren.d.ts +0 -1
- package/dist/subpaths/BaseChildren.js +0 -1
- package/dist/subpaths/BaseChildren.js.map +0 -7
- package/dist/subpaths/BaseConfig.d.ts +0 -1
- package/dist/subpaths/BaseConfig.js +0 -1
- package/dist/subpaths/BaseConfig.js.map +0 -7
- package/dist/subpaths/BaseConfigComponents.d.ts +0 -1
- package/dist/subpaths/BaseConfigComponents.js +0 -1
- package/dist/subpaths/BaseConfigComponents.js.map +0 -7
- package/dist/subpaths/BaseConstructor.d.ts +0 -1
- package/dist/subpaths/BaseConstructor.js +0 -1
- package/dist/subpaths/BaseConstructor.js.map +0 -7
- package/dist/subpaths/BaseDecorator.d.ts +0 -1
- package/dist/subpaths/BaseDecorator.js +0 -1
- package/dist/subpaths/BaseDecorator.js.map +0 -7
- package/dist/subpaths/BaseEl.d.ts +0 -1
- package/dist/subpaths/BaseEl.js +0 -1
- package/dist/subpaths/BaseEl.js.map +0 -7
- package/dist/subpaths/BaseEventHookParams.d.ts +0 -1
- package/dist/subpaths/BaseEventHookParams.js +0 -1
- package/dist/subpaths/BaseEventHookParams.js.map +0 -7
- package/dist/subpaths/BaseInterface.d.ts +0 -1
- package/dist/subpaths/BaseInterface.js +0 -1
- package/dist/subpaths/BaseInterface.js.map +0 -7
- package/dist/subpaths/BaseOptions.d.ts +0 -1
- package/dist/subpaths/BaseOptions.js +0 -1
- package/dist/subpaths/BaseOptions.js.map +0 -7
- package/dist/subpaths/BaseProps.d.ts +0 -1
- package/dist/subpaths/BaseProps.js +0 -1
- package/dist/subpaths/BaseProps.js.map +0 -7
- package/dist/subpaths/BaseRefs.d.ts +0 -1
- package/dist/subpaths/BaseRefs.js +0 -1
- package/dist/subpaths/BaseRefs.js.map +0 -7
- package/dist/subpaths/ComponentLoadStrategy.d.ts +0 -1
- package/dist/subpaths/ComponentLoadStrategy.js +0 -1
- package/dist/subpaths/ComponentLoadStrategy.js.map +0 -7
- package/dist/subpaths/ComponentLoader.d.ts +0 -1
- package/dist/subpaths/ComponentLoader.js +0 -6
- package/dist/subpaths/ComponentLoader.js.map +0 -7
- package/dist/subpaths/ComponentLoaderOptions.d.ts +0 -1
- package/dist/subpaths/ComponentLoaderOptions.js +0 -1
- package/dist/subpaths/ComponentLoaderOptions.js.map +0 -7
- package/dist/subpaths/ComponentLoaderStartOptions.d.ts +0 -1
- package/dist/subpaths/ComponentLoaderStartOptions.js +0 -1
- package/dist/subpaths/ComponentLoaderStartOptions.js.map +0 -7
- package/dist/subpaths/ComponentManifest.d.ts +0 -1
- package/dist/subpaths/ComponentManifest.js +0 -1
- package/dist/subpaths/ComponentManifest.js.map +0 -7
- package/dist/subpaths/ComponentManifestEntry.d.ts +0 -1
- package/dist/subpaths/ComponentManifestEntry.js +0 -1
- package/dist/subpaths/ComponentManifestEntry.js.map +0 -7
- package/dist/subpaths/ComponentOverride.d.ts +0 -1
- package/dist/subpaths/ComponentOverride.js +0 -1
- package/dist/subpaths/ComponentOverride.js.map +0 -7
- package/dist/subpaths/CreateAppOptions.d.ts +0 -1
- package/dist/subpaths/CreateAppOptions.js +0 -1
- package/dist/subpaths/CreateAppOptions.js.map +0 -7
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.d.ts +0 -1
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js +0 -6
- package/dist/subpaths/DEFAULT_DIAGNOSTIC_PREFIX.js.map +0 -7
- package/dist/subpaths/DefineManifestOptions.d.ts +0 -1
- package/dist/subpaths/DefineManifestOptions.js +0 -1
- package/dist/subpaths/DefineManifestOptions.js.map +0 -7
- package/dist/subpaths/DragDecoratorOptions.d.ts +0 -1
- package/dist/subpaths/DragDecoratorOptions.js +0 -1
- package/dist/subpaths/DragDecoratorOptions.js.map +0 -7
- package/dist/subpaths/DragService.d.ts +0 -1
- package/dist/subpaths/DragService.js +0 -6
- package/dist/subpaths/DragService.js.map +0 -7
- package/dist/subpaths/DragServiceInterface.d.ts +0 -1
- package/dist/subpaths/DragServiceInterface.js +0 -1
- package/dist/subpaths/DragServiceInterface.js.map +0 -7
- package/dist/subpaths/DragServiceOptions.d.ts +0 -1
- package/dist/subpaths/DragServiceOptions.js +0 -1
- package/dist/subpaths/DragServiceOptions.js.map +0 -7
- package/dist/subpaths/DragServiceProps.d.ts +0 -1
- package/dist/subpaths/DragServiceProps.js +0 -1
- package/dist/subpaths/DragServiceProps.js.map +0 -7
- package/dist/subpaths/IDLE_TIMEOUT.d.ts +0 -1
- package/dist/subpaths/IDLE_TIMEOUT.js +0 -6
- package/dist/subpaths/IDLE_TIMEOUT.js.map +0 -7
- package/dist/subpaths/KeyService.d.ts +0 -1
- package/dist/subpaths/KeyService.js +0 -6
- package/dist/subpaths/KeyService.js.map +0 -7
- package/dist/subpaths/KeyServiceInterface.d.ts +0 -1
- package/dist/subpaths/KeyServiceInterface.js +0 -1
- package/dist/subpaths/KeyServiceInterface.js.map +0 -7
- package/dist/subpaths/KeyServiceProps.d.ts +0 -1
- package/dist/subpaths/KeyServiceProps.js +0 -1
- package/dist/subpaths/KeyServiceProps.js.map +0 -7
- package/dist/subpaths/LoadService.d.ts +0 -1
- package/dist/subpaths/LoadService.js +0 -6
- package/dist/subpaths/LoadService.js.map +0 -7
- package/dist/subpaths/LoadServiceInterface.d.ts +0 -1
- package/dist/subpaths/LoadServiceInterface.js +0 -1
- package/dist/subpaths/LoadServiceInterface.js.map +0 -7
- package/dist/subpaths/LoadServiceProps.d.ts +0 -1
- package/dist/subpaths/LoadServiceProps.js +0 -1
- package/dist/subpaths/LoadServiceProps.js.map +0 -7
- package/dist/subpaths/LoaderDependencies.d.ts +0 -1
- package/dist/subpaths/LoaderDependencies.js +0 -1
- package/dist/subpaths/LoaderDependencies.js.map +0 -7
- package/dist/subpaths/Managers.d.ts +0 -1
- package/dist/subpaths/Managers.js +0 -1
- package/dist/subpaths/Managers.js.map +0 -7
- package/dist/subpaths/ModuleRecord.d.ts +0 -1
- package/dist/subpaths/ModuleRecord.js +0 -1
- package/dist/subpaths/ModuleRecord.js.map +0 -7
- package/dist/subpaths/MutationDecoratorOptions.d.ts +0 -1
- package/dist/subpaths/MutationDecoratorOptions.js +0 -1
- package/dist/subpaths/MutationDecoratorOptions.js.map +0 -7
- package/dist/subpaths/MutationService.d.ts +0 -1
- package/dist/subpaths/MutationService.js +0 -6
- package/dist/subpaths/MutationService.js.map +0 -7
- package/dist/subpaths/MutationServiceInterface.d.ts +0 -1
- package/dist/subpaths/MutationServiceInterface.js +0 -1
- package/dist/subpaths/MutationServiceInterface.js.map +0 -7
- package/dist/subpaths/MutationServiceOptions.d.ts +0 -1
- package/dist/subpaths/MutationServiceOptions.js +0 -1
- package/dist/subpaths/MutationServiceOptions.js.map +0 -7
- package/dist/subpaths/MutationServiceProps.d.ts +0 -1
- package/dist/subpaths/MutationServiceProps.js +0 -1
- package/dist/subpaths/MutationServiceProps.js.map +0 -7
- package/dist/subpaths/NormalizedOffset.d.ts +0 -1
- package/dist/subpaths/NormalizedOffset.js +0 -1
- package/dist/subpaths/NormalizedOffset.js.map +0 -7
- package/dist/subpaths/OffsetValue.d.ts +0 -1
- package/dist/subpaths/OffsetValue.js +0 -1
- package/dist/subpaths/OffsetValue.js.map +0 -7
- package/dist/subpaths/PointerService.d.ts +0 -1
- package/dist/subpaths/PointerService.js +0 -6
- package/dist/subpaths/PointerService.js.map +0 -7
- package/dist/subpaths/PointerServiceInterface.d.ts +0 -1
- package/dist/subpaths/PointerServiceInterface.js +0 -1
- package/dist/subpaths/PointerServiceInterface.js.map +0 -7
- package/dist/subpaths/PointerServiceProps.d.ts +0 -1
- package/dist/subpaths/PointerServiceProps.js +0 -1
- package/dist/subpaths/PointerServiceProps.js.map +0 -7
- package/dist/subpaths/QueryOptions.d.ts +0 -1
- package/dist/subpaths/QueryOptions.js +0 -1
- package/dist/subpaths/QueryOptions.js.map +0 -7
- package/dist/subpaths/RafService.d.ts +0 -1
- package/dist/subpaths/RafService.js +0 -6
- package/dist/subpaths/RafService.js.map +0 -7
- package/dist/subpaths/RafServiceInterface.d.ts +0 -1
- package/dist/subpaths/RafServiceInterface.js +0 -1
- package/dist/subpaths/RafServiceInterface.js.map +0 -7
- package/dist/subpaths/RafServiceProps.d.ts +0 -1
- package/dist/subpaths/RafServiceProps.js +0 -1
- package/dist/subpaths/RafServiceProps.js.map +0 -7
- package/dist/subpaths/RegisterManifestOptions.d.ts +0 -1
- package/dist/subpaths/RegisterManifestOptions.js +0 -1
- package/dist/subpaths/RegisterManifestOptions.js.map +0 -7
- package/dist/subpaths/RelativePointerDecoratorOptions.d.ts +0 -1
- package/dist/subpaths/RelativePointerDecoratorOptions.js +0 -1
- package/dist/subpaths/RelativePointerDecoratorOptions.js.map +0 -7
- package/dist/subpaths/RelativePointerInterface.d.ts +0 -1
- package/dist/subpaths/RelativePointerInterface.js +0 -1
- package/dist/subpaths/RelativePointerInterface.js.map +0 -7
- package/dist/subpaths/ResizeService.d.ts +0 -1
- package/dist/subpaths/ResizeService.js +0 -6
- package/dist/subpaths/ResizeService.js.map +0 -7
- package/dist/subpaths/ResizeServiceInterface.d.ts +0 -1
- package/dist/subpaths/ResizeServiceInterface.js +0 -1
- package/dist/subpaths/ResizeServiceInterface.js.map +0 -7
- package/dist/subpaths/ResizeServiceProps.d.ts +0 -1
- package/dist/subpaths/ResizeServiceProps.js +0 -1
- package/dist/subpaths/ResizeServiceProps.js.map +0 -7
- package/dist/subpaths/ScrollInViewProps.d.ts +0 -1
- package/dist/subpaths/ScrollInViewProps.js +0 -1
- package/dist/subpaths/ScrollInViewProps.js.map +0 -7
- package/dist/subpaths/ScrollService.d.ts +0 -1
- package/dist/subpaths/ScrollService.js +0 -6
- package/dist/subpaths/ScrollService.js.map +0 -7
- package/dist/subpaths/ScrollServiceInterface.d.ts +0 -1
- package/dist/subpaths/ScrollServiceInterface.js +0 -1
- package/dist/subpaths/ScrollServiceInterface.js.map +0 -7
- package/dist/subpaths/ScrollServiceProps.d.ts +0 -1
- package/dist/subpaths/ScrollServiceProps.js +0 -1
- package/dist/subpaths/ScrollServiceProps.js.map +0 -7
- package/dist/subpaths/ServiceConfig.d.ts +0 -1
- package/dist/subpaths/ServiceConfig.js +0 -1
- package/dist/subpaths/ServiceConfig.js.map +0 -7
- package/dist/subpaths/ServiceInterface.d.ts +0 -1
- package/dist/subpaths/ServiceInterface.js +0 -1
- package/dist/subpaths/ServiceInterface.js.map +0 -7
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.d.ts +0 -1
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.js +0 -6
- package/dist/subpaths/VISIBLE_ROOT_MARGIN.js.map +0 -7
- package/dist/subpaths/WebpackContextLike.d.ts +0 -1
- package/dist/subpaths/WebpackContextLike.js +0 -1
- package/dist/subpaths/WebpackContextLike.js.map +0 -7
- package/dist/subpaths/WithBreakpointObserverInterface.d.ts +0 -1
- package/dist/subpaths/WithBreakpointObserverInterface.js +0 -1
- package/dist/subpaths/WithBreakpointObserverInterface.js.map +0 -7
- package/dist/subpaths/WithBreakpointObserverProps.d.ts +0 -1
- package/dist/subpaths/WithBreakpointObserverProps.js +0 -1
- package/dist/subpaths/WithBreakpointObserverProps.js.map +0 -7
- package/dist/subpaths/WithDragInterface.d.ts +0 -1
- package/dist/subpaths/WithDragInterface.js +0 -1
- package/dist/subpaths/WithDragInterface.js.map +0 -7
- package/dist/subpaths/WithFreezedOptionsInterface.d.ts +0 -1
- package/dist/subpaths/WithFreezedOptionsInterface.js +0 -1
- package/dist/subpaths/WithFreezedOptionsInterface.js.map +0 -7
- package/dist/subpaths/WithGroupInterface.d.ts +0 -1
- package/dist/subpaths/WithGroupInterface.js +0 -1
- package/dist/subpaths/WithGroupInterface.js.map +0 -7
- package/dist/subpaths/WithGroupOptions.d.ts +0 -1
- package/dist/subpaths/WithGroupOptions.js +0 -1
- package/dist/subpaths/WithGroupOptions.js.map +0 -7
- package/dist/subpaths/WithGroupProps.d.ts +0 -1
- package/dist/subpaths/WithGroupProps.js +0 -1
- package/dist/subpaths/WithGroupProps.js.map +0 -7
- package/dist/subpaths/WithIntersectionObserverInterface.d.ts +0 -1
- package/dist/subpaths/WithIntersectionObserverInterface.js +0 -1
- package/dist/subpaths/WithIntersectionObserverInterface.js.map +0 -7
- package/dist/subpaths/WithIntersectionObserverProps.d.ts +0 -1
- package/dist/subpaths/WithIntersectionObserverProps.js +0 -1
- package/dist/subpaths/WithIntersectionObserverProps.js.map +0 -7
- package/dist/subpaths/WithMountWhenInViewInterface.d.ts +0 -1
- package/dist/subpaths/WithMountWhenInViewInterface.js +0 -1
- package/dist/subpaths/WithMountWhenInViewInterface.js.map +0 -7
- package/dist/subpaths/WithMountWhenInViewProps.d.ts +0 -1
- package/dist/subpaths/WithMountWhenInViewProps.js +0 -1
- package/dist/subpaths/WithMountWhenInViewProps.js.map +0 -7
- package/dist/subpaths/WithMutationInterface.d.ts +0 -1
- package/dist/subpaths/WithMutationInterface.js +0 -1
- package/dist/subpaths/WithMutationInterface.js.map +0 -7
- package/dist/subpaths/WithScrolledInViewInterface.d.ts +0 -1
- package/dist/subpaths/WithScrolledInViewInterface.js +0 -1
- package/dist/subpaths/WithScrolledInViewInterface.js.map +0 -7
- package/dist/subpaths/WithScrolledInViewOptions.d.ts +0 -1
- package/dist/subpaths/WithScrolledInViewOptions.js +0 -1
- package/dist/subpaths/WithScrolledInViewOptions.js.map +0 -7
- package/dist/subpaths/WithScrolledInViewProps.d.ts +0 -1
- package/dist/subpaths/WithScrolledInViewProps.js +0 -1
- package/dist/subpaths/WithScrolledInViewProps.js.map +0 -7
- package/dist/subpaths/autoload.d.ts +0 -1
- package/dist/subpaths/autoload.js +0 -6
- package/dist/subpaths/autoload.js.map +0 -7
- package/dist/subpaths/closestComponent.d.ts +0 -1
- package/dist/subpaths/closestComponent.js +0 -6
- package/dist/subpaths/closestComponent.js.map +0 -7
- package/dist/subpaths/composeManifests.d.ts +0 -1
- package/dist/subpaths/composeManifests.js +0 -6
- package/dist/subpaths/composeManifests.js.map +0 -7
- package/dist/subpaths/createApp.d.ts +0 -1
- package/dist/subpaths/createApp.js +0 -6
- package/dist/subpaths/createApp.js.map +0 -7
- package/dist/subpaths/defineFeatures.d.ts +0 -1
- package/dist/subpaths/defineFeatures.js +0 -6
- package/dist/subpaths/defineFeatures.js.map +0 -7
- package/dist/subpaths/defineManifest.js.map +0 -7
- package/dist/subpaths/fromMetaGlob.js.map +0 -7
- package/dist/subpaths/fromWebpackContext.js.map +0 -7
- package/dist/subpaths/getClosestParent.d.ts +0 -1
- package/dist/subpaths/getClosestParent.js +0 -6
- package/dist/subpaths/getClosestParent.js.map +0 -7
- package/dist/subpaths/getDirectChildren.d.ts +0 -1
- package/dist/subpaths/getDirectChildren.js +0 -6
- package/dist/subpaths/getDirectChildren.js.map +0 -7
- package/dist/subpaths/getInstanceFromElement.d.ts +0 -1
- package/dist/subpaths/getInstanceFromElement.js +0 -6
- package/dist/subpaths/getInstanceFromElement.js.map +0 -7
- package/dist/subpaths/getInstances.js.map +0 -7
- package/dist/subpaths/getScopedGroups.d.ts +0 -1
- package/dist/subpaths/getScopedGroups.js +0 -6
- package/dist/subpaths/getScopedGroups.js.map +0 -7
- package/dist/subpaths/importOnInteraction.d.ts +0 -1
- package/dist/subpaths/importOnInteraction.js +0 -6
- package/dist/subpaths/importOnInteraction.js.map +0 -7
- package/dist/subpaths/importOnMediaQuery.d.ts +0 -1
- package/dist/subpaths/importOnMediaQuery.js +0 -6
- package/dist/subpaths/importOnMediaQuery.js.map +0 -7
- package/dist/subpaths/importWhenIdle.d.ts +0 -1
- package/dist/subpaths/importWhenIdle.js +0 -6
- package/dist/subpaths/importWhenIdle.js.map +0 -7
- package/dist/subpaths/importWhenPrefersMotion.d.ts +0 -1
- package/dist/subpaths/importWhenPrefersMotion.js +0 -6
- package/dist/subpaths/importWhenPrefersMotion.js.map +0 -7
- package/dist/subpaths/importWhenVisible.d.ts +0 -1
- package/dist/subpaths/importWhenVisible.js +0 -6
- package/dist/subpaths/importWhenVisible.js.map +0 -7
- package/dist/subpaths/isDirectChild.d.ts +0 -1
- package/dist/subpaths/isDirectChild.js +0 -6
- package/dist/subpaths/isDirectChild.js.map +0 -7
- package/dist/subpaths/logTree.d.ts +0 -1
- package/dist/subpaths/logTree.js +0 -6
- package/dist/subpaths/logTree.js.map +0 -7
- package/dist/subpaths/queryComponent.d.ts +0 -1
- package/dist/subpaths/queryComponent.js +0 -6
- package/dist/subpaths/queryComponent.js.map +0 -7
- package/dist/subpaths/queryComponentAll.d.ts +0 -1
- package/dist/subpaths/queryComponentAll.js +0 -6
- package/dist/subpaths/queryComponentAll.js.map +0 -7
- package/dist/subpaths/readEagerTokens.d.ts +0 -1
- package/dist/subpaths/readEagerTokens.js +0 -6
- package/dist/subpaths/readEagerTokens.js.map +0 -7
- package/dist/subpaths/registerComponent.js.map +0 -7
- package/dist/subpaths/registerComponents.js.map +0 -7
- package/dist/subpaths/registerManifest.js.map +0 -7
- package/dist/subpaths/registerManifests.d.ts +0 -1
- package/dist/subpaths/registerManifests.js +0 -6
- package/dist/subpaths/registerManifests.js.map +0 -7
- package/dist/subpaths/useDrag.js.map +0 -7
- package/dist/subpaths/useKey.js.map +0 -7
- package/dist/subpaths/useLoad.d.ts +0 -1
- package/dist/subpaths/useLoad.js +0 -6
- package/dist/subpaths/useLoad.js.map +0 -7
- package/dist/subpaths/useMutation.js.map +0 -7
- package/dist/subpaths/usePointer.js.map +0 -7
- package/dist/subpaths/useRaf.js.map +0 -7
- package/dist/subpaths/useResize.js.map +0 -7
- package/dist/subpaths/useScroll.js.map +0 -7
- package/dist/subpaths/utils/Animate.1.d.ts +0 -1
- package/dist/subpaths/utils/Animate.1.js +0 -1
- package/dist/subpaths/utils/Animate.1.js.map +0 -7
- package/dist/subpaths/utils/AnimateOptions.d.ts +0 -1
- package/dist/subpaths/utils/AnimateOptions.js +0 -1
- package/dist/subpaths/utils/AnimateOptions.js.map +0 -7
- package/dist/subpaths/utils/CSSCustomPropertyName.d.ts +0 -1
- package/dist/subpaths/utils/CSSCustomPropertyName.js +0 -1
- package/dist/subpaths/utils/CSSCustomPropertyName.js.map +0 -7
- package/dist/subpaths/utils/EasingFunction.d.ts +0 -1
- package/dist/subpaths/utils/EasingFunction.js +0 -1
- package/dist/subpaths/utils/EasingFunction.js.map +0 -7
- package/dist/subpaths/utils/Keyframe.d.ts +0 -1
- package/dist/subpaths/utils/Keyframe.js +0 -1
- package/dist/subpaths/utils/Keyframe.js.map +0 -7
- package/dist/subpaths/utils/LoadElementsOptions.d.ts +0 -1
- package/dist/subpaths/utils/LoadElementsOptions.js +0 -1
- package/dist/subpaths/utils/LoadElementsOptions.js.map +0 -7
- package/dist/subpaths/utils/LoadElementsReturnType.d.ts +0 -1
- package/dist/subpaths/utils/LoadElementsReturnType.js +0 -1
- package/dist/subpaths/utils/LoadElementsReturnType.js.map +0 -7
- package/dist/subpaths/utils/LoadableElements.d.ts +0 -1
- package/dist/subpaths/utils/LoadableElements.js +0 -1
- package/dist/subpaths/utils/LoadableElements.js.map +0 -7
- package/dist/subpaths/utils/LoadableElementsNames.d.ts +0 -1
- package/dist/subpaths/utils/LoadableElementsNames.js +0 -1
- package/dist/subpaths/utils/LoadableElementsNames.js.map +0 -7
- package/dist/subpaths/utils/NormalizedKeyframe.d.ts +0 -1
- package/dist/subpaths/utils/NormalizedKeyframe.js +0 -1
- package/dist/subpaths/utils/NormalizedKeyframe.js.map +0 -7
- package/dist/subpaths/utils/Queue.d.ts +0 -1
- package/dist/subpaths/utils/Queue.js +0 -6
- package/dist/subpaths/utils/Queue.js.map +0 -7
- package/dist/subpaths/utils/SmartQueue.d.ts +0 -1
- package/dist/subpaths/utils/SmartQueue.js +0 -6
- package/dist/subpaths/utils/SmartQueue.js.map +0 -7
- package/dist/subpaths/utils/StorageInstance.d.ts +0 -1
- package/dist/subpaths/utils/StorageInstance.js +0 -1
- package/dist/subpaths/utils/StorageInstance.js.map +0 -7
- package/dist/subpaths/utils/StorageOptions.d.ts +0 -1
- package/dist/subpaths/utils/StorageOptions.js +0 -1
- package/dist/subpaths/utils/StorageOptions.js.map +0 -7
- package/dist/subpaths/utils/StorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/StorageProvider.js +0 -1
- package/dist/subpaths/utils/StorageProvider.js.map +0 -7
- package/dist/subpaths/utils/StorageSerializer.d.ts +0 -1
- package/dist/subpaths/utils/StorageSerializer.js +0 -1
- package/dist/subpaths/utils/StorageSerializer.js.map +0 -7
- package/dist/subpaths/utils/TransformProps.d.ts +0 -1
- package/dist/subpaths/utils/TransformProps.js +0 -1
- package/dist/subpaths/utils/TransformProps.js.map +0 -7
- package/dist/subpaths/utils/UrlProviderOptions.d.ts +0 -1
- package/dist/subpaths/utils/UrlProviderOptions.js +0 -1
- package/dist/subpaths/utils/UrlProviderOptions.js.map +0 -7
- package/dist/subpaths/utils/addClass.d.ts +0 -1
- package/dist/subpaths/utils/addClass.js +0 -6
- package/dist/subpaths/utils/addClass.js.map +0 -7
- package/dist/subpaths/utils/addStyle.d.ts +0 -1
- package/dist/subpaths/utils/addStyle.js +0 -6
- package/dist/subpaths/utils/addStyle.js.map +0 -7
- package/dist/subpaths/utils/animate.d.ts +0 -1
- package/dist/subpaths/utils/animate.js +0 -6
- package/dist/subpaths/utils/animate.js.map +0 -7
- package/dist/subpaths/utils/boundingRectToCircle.d.ts +0 -1
- package/dist/subpaths/utils/boundingRectToCircle.js +0 -6
- package/dist/subpaths/utils/boundingRectToCircle.js.map +0 -7
- package/dist/subpaths/utils/cache.d.ts +0 -1
- package/dist/subpaths/utils/cache.js +0 -6
- package/dist/subpaths/utils/cache.js.map +0 -7
- package/dist/subpaths/utils/camelCase.js.map +0 -7
- package/dist/subpaths/utils/clamp.js.map +0 -7
- package/dist/subpaths/utils/clamp01.js.map +0 -7
- package/dist/subpaths/utils/collideCircleCircle.d.ts +0 -1
- package/dist/subpaths/utils/collideCircleCircle.js +0 -6
- package/dist/subpaths/utils/collideCircleCircle.js.map +0 -7
- package/dist/subpaths/utils/collideCircleRect.d.ts +0 -1
- package/dist/subpaths/utils/collideCircleRect.js +0 -6
- package/dist/subpaths/utils/collideCircleRect.js.map +0 -7
- package/dist/subpaths/utils/collidePointCircle.d.ts +0 -1
- package/dist/subpaths/utils/collidePointCircle.js +0 -6
- package/dist/subpaths/utils/collidePointCircle.js.map +0 -7
- package/dist/subpaths/utils/collidePointRect.d.ts +0 -1
- package/dist/subpaths/utils/collidePointRect.js +0 -6
- package/dist/subpaths/utils/collidePointRect.js.map +0 -7
- package/dist/subpaths/utils/collideRectRect.d.ts +0 -1
- package/dist/subpaths/utils/collideRectRect.js +0 -6
- package/dist/subpaths/utils/collideRectRect.js.map +0 -7
- package/dist/subpaths/utils/createEaseInOut.js.map +0 -7
- package/dist/subpaths/utils/createEaseOut.js.map +0 -7
- package/dist/subpaths/utils/createElement.js.map +0 -7
- package/dist/subpaths/utils/createLocalStorage.d.ts +0 -1
- package/dist/subpaths/utils/createLocalStorage.js +0 -6
- package/dist/subpaths/utils/createLocalStorage.js.map +0 -7
- package/dist/subpaths/utils/createLocalStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/createLocalStorageProvider.js +0 -6
- package/dist/subpaths/utils/createLocalStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/createMemoryStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/createMemoryStorageProvider.js +0 -6
- package/dist/subpaths/utils/createMemoryStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/createNoopProvider.d.ts +0 -1
- package/dist/subpaths/utils/createNoopProvider.js +0 -6
- package/dist/subpaths/utils/createNoopProvider.js.map +0 -7
- package/dist/subpaths/utils/createRange.js.map +0 -7
- package/dist/subpaths/utils/createSessionStorage.d.ts +0 -1
- package/dist/subpaths/utils/createSessionStorage.js +0 -6
- package/dist/subpaths/utils/createSessionStorage.js.map +0 -7
- package/dist/subpaths/utils/createSessionStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/createSessionStorageProvider.js +0 -6
- package/dist/subpaths/utils/createSessionStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/createStorage.d.ts +0 -1
- package/dist/subpaths/utils/createStorage.js +0 -6
- package/dist/subpaths/utils/createStorage.js.map +0 -7
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.d.ts +0 -1
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.js +0 -6
- package/dist/subpaths/utils/createUrlSearchParamsInHashProvider.js.map +0 -7
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.d.ts +0 -1
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.js +0 -6
- package/dist/subpaths/utils/createUrlSearchParamsInHashStorage.js.map +0 -7
- package/dist/subpaths/utils/createUrlSearchParamsProvider.d.ts +0 -1
- package/dist/subpaths/utils/createUrlSearchParamsProvider.js +0 -6
- package/dist/subpaths/utils/createUrlSearchParamsProvider.js.map +0 -7
- package/dist/subpaths/utils/createUrlSearchParamsStorage.d.ts +0 -1
- package/dist/subpaths/utils/createUrlSearchParamsStorage.js +0 -6
- package/dist/subpaths/utils/createUrlSearchParamsStorage.js.map +0 -7
- package/dist/subpaths/utils/damp.js.map +0 -7
- package/dist/subpaths/utils/dashCase.d.ts +0 -1
- package/dist/subpaths/utils/dashCase.js +0 -6
- package/dist/subpaths/utils/dashCase.js.map +0 -7
- package/dist/subpaths/utils/debounce.js.map +0 -7
- package/dist/subpaths/utils/domScheduler.d.ts +0 -1
- package/dist/subpaths/utils/domScheduler.js +0 -6
- package/dist/subpaths/utils/domScheduler.js.map +0 -7
- package/dist/subpaths/utils/ease.d.ts +0 -1
- package/dist/subpaths/utils/ease.js +0 -6
- package/dist/subpaths/utils/ease.js.map +0 -7
- package/dist/subpaths/utils/easeInCirc.js.map +0 -7
- package/dist/subpaths/utils/easeInCubic.js.map +0 -7
- package/dist/subpaths/utils/easeInExpo.js.map +0 -7
- package/dist/subpaths/utils/easeInOutCirc.js.map +0 -7
- package/dist/subpaths/utils/easeInOutCubic.js.map +0 -7
- package/dist/subpaths/utils/easeInOutExpo.js.map +0 -7
- package/dist/subpaths/utils/easeInOutQuad.js.map +0 -7
- package/dist/subpaths/utils/easeInOutQuart.js.map +0 -7
- package/dist/subpaths/utils/easeInOutQuint.js.map +0 -7
- package/dist/subpaths/utils/easeInOutSine.js.map +0 -7
- package/dist/subpaths/utils/easeInQuad.js.map +0 -7
- package/dist/subpaths/utils/easeInQuart.js.map +0 -7
- package/dist/subpaths/utils/easeInQuint.js.map +0 -7
- package/dist/subpaths/utils/easeInSine.js.map +0 -7
- package/dist/subpaths/utils/easeLinear.js.map +0 -7
- package/dist/subpaths/utils/easeOutCirc.js.map +0 -7
- package/dist/subpaths/utils/easeOutCubic.js.map +0 -7
- package/dist/subpaths/utils/easeOutExpo.js.map +0 -7
- package/dist/subpaths/utils/easeOutQuad.js.map +0 -7
- package/dist/subpaths/utils/easeOutQuart.js.map +0 -7
- package/dist/subpaths/utils/easeOutQuint.js.map +0 -7
- package/dist/subpaths/utils/easeOutSine.js.map +0 -7
- package/dist/subpaths/utils/endsWith.d.ts +0 -1
- package/dist/subpaths/utils/endsWith.js +0 -6
- package/dist/subpaths/utils/endsWith.js.map +0 -7
- package/dist/subpaths/utils/fold.js.map +0 -7
- package/dist/subpaths/utils/getAncestorWhere.d.ts +0 -1
- package/dist/subpaths/utils/getAncestorWhere.js +0 -6
- package/dist/subpaths/utils/getAncestorWhere.js.map +0 -7
- package/dist/subpaths/utils/getAncestorWhereUntil.d.ts +0 -1
- package/dist/subpaths/utils/getAncestorWhereUntil.js +0 -6
- package/dist/subpaths/utils/getAncestorWhereUntil.js.map +0 -7
- package/dist/subpaths/utils/getComponentResolver.d.ts +0 -1
- package/dist/subpaths/utils/getComponentResolver.js +0 -6
- package/dist/subpaths/utils/getComponentResolver.js.map +0 -7
- package/dist/subpaths/utils/getOffsetSizes.js.map +0 -7
- package/dist/subpaths/utils/hasWindow.d.ts +0 -1
- package/dist/subpaths/utils/hasWindow.js +0 -6
- package/dist/subpaths/utils/hasWindow.js.map +0 -7
- package/dist/subpaths/utils/historyPush.js.map +0 -7
- package/dist/subpaths/utils/historyReplace.js.map +0 -7
- package/dist/subpaths/utils/inertiaFinalValue.js.map +0 -7
- package/dist/subpaths/utils/isArray.d.ts +0 -1
- package/dist/subpaths/utils/isArray.js +0 -6
- package/dist/subpaths/utils/isArray.js.map +0 -7
- package/dist/subpaths/utils/isBoolean.js.map +0 -7
- package/dist/subpaths/utils/isDefined.js.map +0 -7
- package/dist/subpaths/utils/isDev.d.ts +0 -1
- package/dist/subpaths/utils/isDev.js +0 -6
- package/dist/subpaths/utils/isDev.js.map +0 -7
- package/dist/subpaths/utils/isEmpty.d.ts +0 -1
- package/dist/subpaths/utils/isEmpty.js +0 -6
- package/dist/subpaths/utils/isEmpty.js.map +0 -7
- package/dist/subpaths/utils/isEmptyString.d.ts +0 -1
- package/dist/subpaths/utils/isEmptyString.js +0 -6
- package/dist/subpaths/utils/isEmptyString.js.map +0 -7
- package/dist/subpaths/utils/isFunction.js.map +0 -7
- package/dist/subpaths/utils/isNull.js.map +0 -7
- package/dist/subpaths/utils/isNumber.js.map +0 -7
- package/dist/subpaths/utils/isObject.js.map +0 -7
- package/dist/subpaths/utils/isString.js.map +0 -7
- package/dist/subpaths/utils/keyCodes.d.ts +0 -1
- package/dist/subpaths/utils/keyCodes.js +0 -6
- package/dist/subpaths/utils/keyCodes.js.map +0 -7
- package/dist/subpaths/utils/lerp.js.map +0 -7
- package/dist/subpaths/utils/loadElement.d.ts +0 -1
- package/dist/subpaths/utils/loadElement.js +0 -6
- package/dist/subpaths/utils/loadElement.js.map +0 -7
- package/dist/subpaths/utils/loadIframe.d.ts +0 -1
- package/dist/subpaths/utils/loadIframe.js +0 -6
- package/dist/subpaths/utils/loadIframe.js.map +0 -7
- package/dist/subpaths/utils/loadImage.js.map +0 -7
- package/dist/subpaths/utils/loadLink.js.map +0 -7
- package/dist/subpaths/utils/loadScript.js.map +0 -7
- package/dist/subpaths/utils/localStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/localStorageProvider.js +0 -6
- package/dist/subpaths/utils/localStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/lowerCase.js.map +0 -7
- package/dist/subpaths/utils/map.js.map +0 -7
- package/dist/subpaths/utils/matrix.js.map +0 -7
- package/dist/subpaths/utils/mean.js.map +0 -7
- package/dist/subpaths/utils/memo.js.map +0 -7
- package/dist/subpaths/utils/memoize.d.ts +0 -1
- package/dist/subpaths/utils/memoize.js +0 -6
- package/dist/subpaths/utils/memoize.js.map +0 -7
- package/dist/subpaths/utils/memoryStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/memoryStorageProvider.js +0 -6
- package/dist/subpaths/utils/memoryStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/nextFrame.d.ts +0 -1
- package/dist/subpaths/utils/nextFrame.js +0 -6
- package/dist/subpaths/utils/nextFrame.js.map +0 -7
- package/dist/subpaths/utils/nextMicrotask.d.ts +0 -1
- package/dist/subpaths/utils/nextMicrotask.js +0 -6
- package/dist/subpaths/utils/nextMicrotask.js.map +0 -7
- package/dist/subpaths/utils/nextTick.d.ts +0 -1
- package/dist/subpaths/utils/nextTick.js +0 -6
- package/dist/subpaths/utils/nextTick.js.map +0 -7
- package/dist/subpaths/utils/noop.js.map +0 -7
- package/dist/subpaths/utils/noopValue.js.map +0 -7
- package/dist/subpaths/utils/objectToURLSearchParams.js.map +0 -7
- package/dist/subpaths/utils/pascalCase.js.map +0 -7
- package/dist/subpaths/utils/random.js.map +0 -7
- package/dist/subpaths/utils/randomInt.js.map +0 -7
- package/dist/subpaths/utils/randomItem.js.map +0 -7
- package/dist/subpaths/utils/removeClass.d.ts +0 -1
- package/dist/subpaths/utils/removeClass.js +0 -6
- package/dist/subpaths/utils/removeClass.js.map +0 -7
- package/dist/subpaths/utils/removeStyle.d.ts +0 -1
- package/dist/subpaths/utils/removeStyle.js +0 -6
- package/dist/subpaths/utils/removeStyle.js.map +0 -7
- package/dist/subpaths/utils/round.js.map +0 -7
- package/dist/subpaths/utils/saveActiveElement.js.map +0 -7
- package/dist/subpaths/utils/scrollTo.js.map +0 -7
- package/dist/subpaths/utils/sessionStorageProvider.d.ts +0 -1
- package/dist/subpaths/utils/sessionStorageProvider.js +0 -6
- package/dist/subpaths/utils/sessionStorageProvider.js.map +0 -7
- package/dist/subpaths/utils/smoothTo.js.map +0 -7
- package/dist/subpaths/utils/snakeCase.js.map +0 -7
- package/dist/subpaths/utils/spring.js.map +0 -7
- package/dist/subpaths/utils/startsWith.d.ts +0 -1
- package/dist/subpaths/utils/startsWith.js +0 -6
- package/dist/subpaths/utils/startsWith.js.map +0 -7
- package/dist/subpaths/utils/throttle.js.map +0 -7
- package/dist/subpaths/utils/toggleClass.d.ts +0 -1
- package/dist/subpaths/utils/toggleClass.js +0 -6
- package/dist/subpaths/utils/toggleClass.js.map +0 -7
- package/dist/subpaths/utils/transform.js.map +0 -7
- package/dist/subpaths/utils/transition.js.map +0 -7
- package/dist/subpaths/utils/trapFocus.js.map +0 -7
- package/dist/subpaths/utils/tween.d.ts +0 -1
- package/dist/subpaths/utils/tween.js +0 -6
- package/dist/subpaths/utils/tween.js.map +0 -7
- package/dist/subpaths/utils/untrapFocus.js.map +0 -7
- package/dist/subpaths/utils/upperCase.js.map +0 -7
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.d.ts +0 -1
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.js +0 -6
- package/dist/subpaths/utils/urlSearchParamsInHashProvider.js.map +0 -7
- package/dist/subpaths/utils/urlSearchParamsProvider.d.ts +0 -1
- package/dist/subpaths/utils/urlSearchParamsProvider.js +0 -6
- package/dist/subpaths/utils/urlSearchParamsProvider.js.map +0 -7
- package/dist/subpaths/utils/useScheduler.d.ts +0 -1
- package/dist/subpaths/utils/useScheduler.js +0 -6
- package/dist/subpaths/utils/useScheduler.js.map +0 -7
- package/dist/subpaths/utils/wait.js.map +0 -7
- package/dist/subpaths/utils/withLeadingCharacters.js.map +0 -7
- package/dist/subpaths/utils/withLeadingSlash.js.map +0 -7
- package/dist/subpaths/utils/withTrailingCharacters.js.map +0 -7
- package/dist/subpaths/utils/withTrailingSlash.js.map +0 -7
- package/dist/subpaths/utils/withoutLeadingCharacters.js.map +0 -7
- package/dist/subpaths/utils/withoutLeadingCharactersRecursive.js.map +0 -7
- package/dist/subpaths/utils/withoutLeadingSlash.js.map +0 -7
- package/dist/subpaths/utils/withoutTrailingCharacters.js.map +0 -7
- package/dist/subpaths/utils/withoutTrailingCharactersRecursive.js.map +0 -7
- package/dist/subpaths/utils/withoutTrailingSlash.js.map +0 -7
- package/dist/subpaths/utils/wrap.js.map +0 -7
- package/dist/subpaths/version.d.ts +0 -1
- package/dist/subpaths/version.js +0 -6
- package/dist/subpaths/version.js.map +0 -7
- package/dist/subpaths/withBreakpointManager.d.ts +0 -1
- package/dist/subpaths/withBreakpointManager.js +0 -6
- package/dist/subpaths/withBreakpointManager.js.map +0 -7
- package/dist/subpaths/withBreakpointObserver.d.ts +0 -1
- package/dist/subpaths/withBreakpointObserver.js +0 -6
- package/dist/subpaths/withBreakpointObserver.js.map +0 -7
- package/dist/subpaths/withDrag.js.map +0 -7
- package/dist/subpaths/withExtraConfig.d.ts +0 -1
- package/dist/subpaths/withExtraConfig.js +0 -6
- package/dist/subpaths/withExtraConfig.js.map +0 -7
- package/dist/subpaths/withFreezedOptions.d.ts +0 -1
- package/dist/subpaths/withFreezedOptions.js +0 -6
- package/dist/subpaths/withFreezedOptions.js.map +0 -7
- package/dist/subpaths/withGroup.d.ts +0 -1
- package/dist/subpaths/withGroup.js +0 -6
- package/dist/subpaths/withGroup.js.map +0 -7
- package/dist/subpaths/withIntersectionObserver.d.ts +0 -1
- package/dist/subpaths/withIntersectionObserver.js +0 -6
- package/dist/subpaths/withIntersectionObserver.js.map +0 -7
- package/dist/subpaths/withMountOnMediaQuery.d.ts +0 -1
- package/dist/subpaths/withMountOnMediaQuery.js +0 -6
- package/dist/subpaths/withMountOnMediaQuery.js.map +0 -7
- package/dist/subpaths/withMountOnMediaQueryInterface.d.ts +0 -1
- package/dist/subpaths/withMountOnMediaQueryInterface.js +0 -1
- package/dist/subpaths/withMountOnMediaQueryInterface.js.map +0 -7
- package/dist/subpaths/withMountOnMediaQueryProps.d.ts +0 -1
- package/dist/subpaths/withMountOnMediaQueryProps.js +0 -1
- package/dist/subpaths/withMountOnMediaQueryProps.js.map +0 -7
- package/dist/subpaths/withMountWhenInView.d.ts +0 -1
- package/dist/subpaths/withMountWhenInView.js +0 -6
- package/dist/subpaths/withMountWhenInView.js.map +0 -7
- package/dist/subpaths/withMountWhenPrefersMotion.d.ts +0 -1
- package/dist/subpaths/withMountWhenPrefersMotion.js +0 -6
- package/dist/subpaths/withMountWhenPrefersMotion.js.map +0 -7
- package/dist/subpaths/withMutation.js.map +0 -7
- package/dist/subpaths/withName.d.ts +0 -1
- package/dist/subpaths/withName.js +0 -6
- package/dist/subpaths/withName.js.map +0 -7
- package/dist/subpaths/withRelativePointer.d.ts +0 -1
- package/dist/subpaths/withRelativePointer.js +0 -6
- package/dist/subpaths/withRelativePointer.js.map +0 -7
- package/dist/subpaths/withResponsiveOptions.d.ts +0 -1
- package/dist/subpaths/withResponsiveOptions.js +0 -6
- package/dist/subpaths/withResponsiveOptions.js.map +0 -7
- package/dist/subpaths/withScrolledInView.d.ts +0 -1
- package/dist/subpaths/withScrolledInView.js +0 -6
- package/dist/subpaths/withScrolledInView.js.map +0 -7
- package/dist/utils/Queue.d.ts +0 -44
- package/dist/utils/Queue.js +0 -71
- package/dist/utils/Queue.js.map +0 -7
- package/dist/utils/SmartQueue.d.ts +0 -25
- package/dist/utils/SmartQueue.js +0 -41
- package/dist/utils/SmartQueue.js.map +0 -7
- package/dist/utils/cache.d.ts +0 -5
- package/dist/utils/cache.js +0 -19
- package/dist/utils/cache.js.map +0 -7
- package/dist/utils/collide/boundingRectToCircle.d.ts +0 -24
- package/dist/utils/collide/boundingRectToCircle.js +0 -14
- package/dist/utils/collide/boundingRectToCircle.js.map +0 -7
- package/dist/utils/collide/collideCircleCircle.d.ts +0 -16
- package/dist/utils/collide/collideCircleCircle.js +0 -13
- package/dist/utils/collide/collideCircleCircle.js.map +0 -7
- package/dist/utils/collide/collideCircleRect.d.ts +0 -23
- package/dist/utils/collide/collideCircleRect.js +0 -25
- package/dist/utils/collide/collideCircleRect.js.map +0 -7
- package/dist/utils/collide/collidePointCircle.d.ts +0 -21
- package/dist/utils/collide/collidePointCircle.js +0 -10
- package/dist/utils/collide/collidePointCircle.js.map +0 -7
- package/dist/utils/collide/collidePointRect.d.ts +0 -22
- package/dist/utils/collide/collidePointRect.js +0 -10
- package/dist/utils/collide/collidePointRect.js.map +0 -7
- package/dist/utils/collide/collideRectRect.d.ts +0 -17
- package/dist/utils/collide/collideRectRect.js +0 -10
- package/dist/utils/collide/collideRectRect.js.map +0 -7
- package/dist/utils/collide/index.d.ts +0 -9
- package/dist/utils/collide/index.js +0 -15
- package/dist/utils/collide/index.js.map +0 -7
- package/dist/utils/css/animate.d.ts +0 -46
- package/dist/utils/css/animate.js +0 -279
- package/dist/utils/css/animate.js.map +0 -7
- package/dist/utils/css/classes.d.ts +0 -15
- package/dist/utils/css/classes.js +0 -29
- package/dist/utils/css/classes.js.map +0 -7
- package/dist/utils/css/getOffsetSizes.d.ts +0 -14
- package/dist/utils/css/getOffsetSizes.js +0 -26
- package/dist/utils/css/getOffsetSizes.js.map +0 -7
- package/dist/utils/css/index.d.ts +0 -8
- package/dist/utils/css/index.js +0 -22
- package/dist/utils/css/index.js.map +0 -7
- package/dist/utils/css/matrix.d.ts +0 -28
- package/dist/utils/css/matrix.js +0 -8
- package/dist/utils/css/matrix.js.map +0 -7
- package/dist/utils/css/styles.d.ts +0 -10
- package/dist/utils/css/styles.js +0 -23
- package/dist/utils/css/styles.js.map +0 -7
- package/dist/utils/css/transform.d.ts +0 -22
- package/dist/utils/css/transform.js +0 -69
- package/dist/utils/css/transform.js.map +0 -7
- package/dist/utils/css/transition.d.ts +0 -20
- package/dist/utils/css/transition.js +0 -113
- package/dist/utils/css/transition.js.map +0 -7
- package/dist/utils/css/utils.d.ts +0 -1
- package/dist/utils/css/utils.js +0 -10
- package/dist/utils/css/utils.js.map +0 -7
- package/dist/utils/debounce.d.ts +0 -11
- package/dist/utils/debounce.js +0 -13
- package/dist/utils/debounce.js.map +0 -7
- package/dist/utils/dom/ancestors.d.ts +0 -8
- package/dist/utils/dom/ancestors.js +0 -15
- package/dist/utils/dom/ancestors.js.map +0 -7
- package/dist/utils/dom/createElement.d.ts +0 -33
- package/dist/utils/dom/createElement.js +0 -27
- package/dist/utils/dom/createElement.js.map +0 -7
- package/dist/utils/dom/index.d.ts +0 -2
- package/dist/utils/dom/index.js +0 -8
- package/dist/utils/dom/index.js.map +0 -7
- package/dist/utils/getComponentResolver.d.ts +0 -7
- package/dist/utils/getComponentResolver.js +0 -16
- package/dist/utils/getComponentResolver.js.map +0 -7
- package/dist/utils/has.d.ts +0 -4
- package/dist/utils/has.js +0 -7
- package/dist/utils/has.js.map +0 -7
- package/dist/utils/index.js.map +0 -7
- package/dist/utils/keyCodes.d.ts +0 -13
- package/dist/utils/keyCodes.js +0 -14
- package/dist/utils/keyCodes.js.map +0 -7
- package/dist/utils/loadElement.d.ts +0 -47
- package/dist/utils/loadElement.js +0 -33
- package/dist/utils/loadElement.js.map +0 -7
- package/dist/utils/math/clamp.d.ts +0 -5
- package/dist/utils/math/clamp.js +0 -7
- package/dist/utils/math/clamp.js.map +0 -7
- package/dist/utils/math/clamp01.d.ts +0 -5
- package/dist/utils/math/clamp01.js +0 -8
- package/dist/utils/math/clamp01.js.map +0 -7
- package/dist/utils/math/createEases.d.ts +0 -23
- package/dist/utils/math/createEases.js +0 -11
- package/dist/utils/math/createEases.js.map +0 -7
- package/dist/utils/math/createRange.d.ts +0 -5
- package/dist/utils/math/createRange.js +0 -13
- package/dist/utils/math/createRange.js.map +0 -7
- package/dist/utils/math/damp.d.ts +0 -11
- package/dist/utils/math/damp.js +0 -7
- package/dist/utils/math/damp.js.map +0 -7
- package/dist/utils/math/ease.d.ts +0 -71
- package/dist/utils/math/ease.js +0 -62
- package/dist/utils/math/ease.js.map +0 -7
- package/dist/utils/math/fold.d.ts +0 -5
- package/dist/utils/math/fold.js +0 -14
- package/dist/utils/math/fold.js.map +0 -7
- package/dist/utils/math/index.d.ts +0 -16
- package/dist/utils/math/index.js +0 -80
- package/dist/utils/math/index.js.map +0 -7
- package/dist/utils/math/inertiaFinalValue.d.ts +0 -10
- package/dist/utils/math/inertiaFinalValue.js +0 -15
- package/dist/utils/math/inertiaFinalValue.js.map +0 -7
- package/dist/utils/math/lerp.d.ts +0 -10
- package/dist/utils/math/lerp.js +0 -7
- package/dist/utils/math/lerp.js.map +0 -7
- package/dist/utils/math/map.d.ts +0 -12
- package/dist/utils/math/map.js +0 -7
- package/dist/utils/math/map.js.map +0 -7
- package/dist/utils/math/mean.d.ts +0 -4
- package/dist/utils/math/mean.js +0 -17
- package/dist/utils/math/mean.js.map +0 -7
- package/dist/utils/math/round.d.ts +0 -9
- package/dist/utils/math/round.js +0 -7
- package/dist/utils/math/round.js.map +0 -7
- package/dist/utils/math/smoothTo.d.ts +0 -69
- package/dist/utils/math/smoothTo.js +0 -56
- package/dist/utils/math/smoothTo.js.map +0 -7
- package/dist/utils/math/spring.d.ts +0 -13
- package/dist/utils/math/spring.js +0 -11
- package/dist/utils/math/spring.js.map +0 -7
- package/dist/utils/math/wrap.d.ts +0 -5
- package/dist/utils/math/wrap.js +0 -11
- package/dist/utils/math/wrap.js.map +0 -7
- package/dist/utils/memoize.d.ts +0 -21
- package/dist/utils/memoize.js +0 -26
- package/dist/utils/memoize.js.map +0 -7
- package/dist/utils/nextFrame.d.ts +0 -8
- package/dist/utils/nextFrame.js +0 -12
- package/dist/utils/nextFrame.js.map +0 -7
- package/dist/utils/nextMicrotask.d.ts +0 -8
- package/dist/utils/nextMicrotask.js +0 -8
- package/dist/utils/nextMicrotask.js.map +0 -7
- package/dist/utils/nextTick.d.ts +0 -8
- package/dist/utils/nextTick.js +0 -9
- package/dist/utils/nextTick.js.map +0 -7
- package/dist/utils/object/getAllProperties.d.ts +0 -11
- package/dist/utils/object/getAllProperties.js +0 -19
- package/dist/utils/object/getAllProperties.js.map +0 -7
- package/dist/utils/scheduler.d.ts +0 -15
- package/dist/utils/scheduler.js +0 -53
- package/dist/utils/scheduler.js.map +0 -7
- package/dist/utils/storage/createLocalStorageProvider.d.ts +0 -2
- package/dist/utils/storage/createLocalStorageProvider.js +0 -32
- package/dist/utils/storage/createLocalStorageProvider.js.map +0 -7
- package/dist/utils/storage/createMemoryStorageProvider.d.ts +0 -2
- package/dist/utils/storage/createMemoryStorageProvider.js +0 -27
- package/dist/utils/storage/createMemoryStorageProvider.js.map +0 -7
- package/dist/utils/storage/createNoopProvider.d.ts +0 -2
- package/dist/utils/storage/createNoopProvider.js +0 -23
- package/dist/utils/storage/createNoopProvider.js.map +0 -7
- package/dist/utils/storage/createSessionStorageProvider.d.ts +0 -2
- package/dist/utils/storage/createSessionStorageProvider.js +0 -31
- package/dist/utils/storage/createSessionStorageProvider.js.map +0 -7
- package/dist/utils/storage/createStorage.d.ts +0 -2
- package/dist/utils/storage/createStorage.js +0 -96
- package/dist/utils/storage/createStorage.js.map +0 -7
- package/dist/utils/storage/createUrlSearchParamsInHashProvider.d.ts +0 -2
- package/dist/utils/storage/createUrlSearchParamsInHashProvider.js +0 -57
- package/dist/utils/storage/createUrlSearchParamsInHashProvider.js.map +0 -7
- package/dist/utils/storage/createUrlSearchParamsProvider.d.ts +0 -2
- package/dist/utils/storage/createUrlSearchParamsProvider.js +0 -41
- package/dist/utils/storage/createUrlSearchParamsProvider.js.map +0 -7
- package/dist/utils/storage/getBrowserContext.d.ts +0 -1
- package/dist/utils/storage/getBrowserContext.js +0 -17
- package/dist/utils/storage/getBrowserContext.js.map +0 -7
- package/dist/utils/storage/getGlobalStorage.d.ts +0 -1
- package/dist/utils/storage/getGlobalStorage.js +0 -7
- package/dist/utils/storage/getGlobalStorage.js.map +0 -7
- package/dist/utils/storage/getStorageKeys.d.ts +0 -1
- package/dist/utils/storage/getStorageKeys.js +0 -12
- package/dist/utils/storage/getStorageKeys.js.map +0 -7
- package/dist/utils/storage/index.d.ts +0 -8
- package/dist/utils/storage/index.js +0 -62
- package/dist/utils/storage/index.js.map +0 -7
- package/dist/utils/storage/providers.d.ts +0 -11
- package/dist/utils/storage/providers.js +0 -30
- package/dist/utils/storage/providers.js.map +0 -7
- package/dist/utils/storage/serializers.d.ts +0 -2
- package/dist/utils/storage/serializers.js +0 -14
- package/dist/utils/storage/serializers.js.map +0 -7
- package/dist/utils/storage/types.d.ts +0 -33
- package/dist/utils/storage/types.js +0 -1
- package/dist/utils/storage/types.js.map +0 -7
- package/dist/utils/storage.d.ts +0 -1
- package/dist/utils/storage.js +0 -37
- package/dist/utils/storage.js.map +0 -7
- package/dist/utils/string/changeCase.d.ts +0 -30
- package/dist/utils/string/changeCase.js +0 -47
- package/dist/utils/string/changeCase.js.map +0 -7
- package/dist/utils/string/endsWith.d.ts +0 -9
- package/dist/utils/string/endsWith.js +0 -13
- package/dist/utils/string/endsWith.js.map +0 -7
- package/dist/utils/string/index.d.ts +0 -13
- package/dist/utils/string/index.js +0 -34
- package/dist/utils/string/index.js.map +0 -7
- package/dist/utils/string/startsWith.d.ts +0 -9
- package/dist/utils/string/startsWith.js +0 -13
- package/dist/utils/string/startsWith.js.map +0 -7
- package/dist/utils/string/withLeadingCharacters.d.ts +0 -9
- package/dist/utils/string/withLeadingCharacters.js +0 -8
- package/dist/utils/string/withLeadingCharacters.js.map +0 -7
- package/dist/utils/string/withLeadingSlash.d.ts +0 -8
- package/dist/utils/string/withLeadingSlash.js +0 -8
- package/dist/utils/string/withLeadingSlash.js.map +0 -7
- package/dist/utils/string/withTrailingCharacters.d.ts +0 -9
- package/dist/utils/string/withTrailingCharacters.js +0 -8
- package/dist/utils/string/withTrailingCharacters.js.map +0 -7
- package/dist/utils/string/withTrailingSlash.d.ts +0 -8
- package/dist/utils/string/withTrailingSlash.js +0 -8
- package/dist/utils/string/withTrailingSlash.js.map +0 -7
- package/dist/utils/string/withoutLeadingCharacters.d.ts +0 -9
- package/dist/utils/string/withoutLeadingCharacters.js +0 -7
- package/dist/utils/string/withoutLeadingCharacters.js.map +0 -7
- package/dist/utils/string/withoutLeadingCharactersRecursive.d.ts +0 -9
- package/dist/utils/string/withoutLeadingCharactersRecursive.js +0 -13
- package/dist/utils/string/withoutLeadingCharactersRecursive.js.map +0 -7
- package/dist/utils/string/withoutLeadingSlash.d.ts +0 -8
- package/dist/utils/string/withoutLeadingSlash.js +0 -8
- package/dist/utils/string/withoutLeadingSlash.js.map +0 -7
- package/dist/utils/string/withoutTrailingCharacters.d.ts +0 -9
- package/dist/utils/string/withoutTrailingCharacters.js +0 -7
- package/dist/utils/string/withoutTrailingCharacters.js.map +0 -7
- package/dist/utils/string/withoutTrailingCharactersRecursive.d.ts +0 -9
- package/dist/utils/string/withoutTrailingCharactersRecursive.js +0 -13
- package/dist/utils/string/withoutTrailingCharactersRecursive.js.map +0 -7
- package/dist/utils/string/withoutTrailingSlash.d.ts +0 -8
- package/dist/utils/string/withoutTrailingSlash.js +0 -8
- package/dist/utils/string/withoutTrailingSlash.js.map +0 -7
- package/dist/utils/throttle.d.ts +0 -9
- package/dist/utils/throttle.js +0 -15
- package/dist/utils/throttle.js.map +0 -7
- package/dist/utils/trapFocus.d.ts +0 -17
- package/dist/utils/trapFocus.js +0 -57
- package/dist/utils/trapFocus.js.map +0 -7
- package/dist/utils/tween.d.ts +0 -83
- package/dist/utils/tween.js +0 -119
- package/dist/utils/tween.js.map +0 -7
- package/dist/utils/wait.d.ts +0 -1
- package/dist/utils/wait.js +0 -9
- package/dist/utils/wait.js.map +0 -7
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -5
- package/dist/version.js.map +0 -7
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
//#region src/diagnostic-contract.ts
|
|
2
|
+
const attribute = Object.freeze({ unknownQualifier: "attribute.unknown-qualifier" });
|
|
3
|
+
const callback = Object.freeze({
|
|
4
|
+
signalFailed: "callback.signal-failed",
|
|
5
|
+
contextSubscriptionFailed: "callback.context-subscription-failed",
|
|
6
|
+
contextTeardownFailed: "callback.context-teardown-failed",
|
|
7
|
+
attributeWatcherFailed: "callback.attribute-watcher-failed",
|
|
8
|
+
serviceFailed: "callback.service-failed",
|
|
9
|
+
schedulerTickFailed: "callback.scheduler-tick-failed",
|
|
10
|
+
scheduledTaskFailed: "callback.scheduled-task-failed",
|
|
11
|
+
domUpdateRunnerFailed: "callback.dom-update-runner-failed",
|
|
12
|
+
extendableEventExtensionFailed: "callback.extendable-event-extension-failed"
|
|
13
|
+
});
|
|
14
|
+
const component = Object.freeze({
|
|
15
|
+
loadFailed: "component.load-failed",
|
|
16
|
+
mountFailed: "component.mount-failed",
|
|
17
|
+
lifecycleFailed: "component.lifecycle-failed",
|
|
18
|
+
invalidMountStrategy: "component.invalid-mount-strategy",
|
|
19
|
+
invalidFamilyDeclaration: "component.invalid-family-declaration",
|
|
20
|
+
configConflict: "component.config-conflict"
|
|
21
|
+
});
|
|
22
|
+
const event = Object.freeze({ invalidEmitPayload: "event.invalid-emit-payload" });
|
|
23
|
+
const manifest = Object.freeze({ duplicateToken: "manifest.duplicate-token" });
|
|
24
|
+
const option = Object.freeze({ literalDefault: "option.literal-default" });
|
|
25
|
+
const protocol = Object.freeze({
|
|
26
|
+
lateRegistration: "protocol.late-registration",
|
|
27
|
+
unappliedDomUpdate: "protocol.unapplied-dom-update"
|
|
28
|
+
});
|
|
29
|
+
const ref = Object.freeze({ mismatch: "ref.mismatch" });
|
|
30
|
+
const registry = Object.freeze({
|
|
31
|
+
conflict: "registry.conflict",
|
|
32
|
+
lazyNameMismatch: "registry.lazy-name-mismatch"
|
|
33
|
+
});
|
|
34
|
+
const responsive = Object.freeze({ unknownBreakpoint: "responsive.unknown-breakpoint" });
|
|
35
|
+
const scheduler = Object.freeze({ backgroundPostFailed: "scheduler.background-post-failed" });
|
|
36
|
+
const swap = Object.freeze({ selfIgnored: "swap.self-ignored" });
|
|
37
|
+
const service = Object.freeze({ missingTarget: "service.missing-target" });
|
|
38
|
+
const storage = Object.freeze({
|
|
39
|
+
accessFailed: "storage.access-failed",
|
|
40
|
+
deserializeFailed: "storage.deserialize-failed",
|
|
41
|
+
serializeFailed: "storage.serialize-failed"
|
|
42
|
+
});
|
|
43
|
+
/**
|
|
44
|
+
* Stable codes carried by toolkit diagnostics.
|
|
45
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/DIAGNOSTICS.html
|
|
46
|
+
*/
|
|
47
|
+
const DIAGNOSTICS = Object.freeze({
|
|
48
|
+
attribute,
|
|
49
|
+
callback,
|
|
50
|
+
component,
|
|
51
|
+
event,
|
|
52
|
+
manifest,
|
|
53
|
+
option,
|
|
54
|
+
protocol,
|
|
55
|
+
ref,
|
|
56
|
+
registry,
|
|
57
|
+
responsive,
|
|
58
|
+
scheduler,
|
|
59
|
+
service,
|
|
60
|
+
storage,
|
|
61
|
+
swap
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { DIAGNOSTICS };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=diagnostic-contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnostic-contract.js","names":[],"sources":["../src/diagnostic-contract.ts"],"sourcesContent":["const attribute = Object.freeze({\n unknownQualifier: 'attribute.unknown-qualifier',\n} as const);\n\nconst callback = Object.freeze({\n signalFailed: 'callback.signal-failed',\n contextSubscriptionFailed: 'callback.context-subscription-failed',\n contextTeardownFailed: 'callback.context-teardown-failed',\n attributeWatcherFailed: 'callback.attribute-watcher-failed',\n serviceFailed: 'callback.service-failed',\n schedulerTickFailed: 'callback.scheduler-tick-failed',\n scheduledTaskFailed: 'callback.scheduled-task-failed',\n domUpdateRunnerFailed: 'callback.dom-update-runner-failed',\n extendableEventExtensionFailed: 'callback.extendable-event-extension-failed',\n} as const);\n\nconst component = Object.freeze({\n loadFailed: 'component.load-failed',\n mountFailed: 'component.mount-failed',\n lifecycleFailed: 'component.lifecycle-failed',\n invalidMountStrategy: 'component.invalid-mount-strategy',\n invalidFamilyDeclaration: 'component.invalid-family-declaration',\n configConflict: 'component.config-conflict',\n} as const);\n\nconst event = Object.freeze({\n invalidEmitPayload: 'event.invalid-emit-payload',\n} as const);\n\nconst manifest = Object.freeze({\n duplicateToken: 'manifest.duplicate-token',\n} as const);\n\nconst option = Object.freeze({\n literalDefault: 'option.literal-default',\n} as const);\n\nconst protocol = Object.freeze({\n lateRegistration: 'protocol.late-registration',\n unappliedDomUpdate: 'protocol.unapplied-dom-update',\n} as const);\n\nconst ref = Object.freeze({\n mismatch: 'ref.mismatch',\n} as const);\n\nconst registry = Object.freeze({\n conflict: 'registry.conflict',\n lazyNameMismatch: 'registry.lazy-name-mismatch',\n} as const);\n\nconst responsive = Object.freeze({\n unknownBreakpoint: 'responsive.unknown-breakpoint',\n} as const);\n\nconst scheduler = Object.freeze({\n backgroundPostFailed: 'scheduler.background-post-failed',\n} as const);\n\nconst swap = Object.freeze({\n selfIgnored: 'swap.self-ignored',\n} as const);\n\nconst service = Object.freeze({\n missingTarget: 'service.missing-target',\n} as const);\n\nconst storage = Object.freeze({\n accessFailed: 'storage.access-failed',\n deserializeFailed: 'storage.deserialize-failed',\n serializeFailed: 'storage.serialize-failed',\n} as const);\n\n/**\n * Stable codes carried by toolkit diagnostics.\n * @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/DIAGNOSTICS.html\n */\nexport const DIAGNOSTICS = Object.freeze({\n attribute,\n callback,\n component,\n event,\n manifest,\n option,\n protocol,\n ref,\n registry,\n responsive,\n scheduler,\n service,\n storage,\n swap,\n} as const);\n\nexport type ToolkitDiagnosticSeverity = 'warning' | 'error';\n\ntype NestedValue<T> = T extends string ? T : { [K in keyof T]: NestedValue<T[K]> }[keyof T];\n\n/** One stable value from {@link DIAGNOSTICS}. */\nexport type ToolkitCoreDiagnosticCode = NestedValue<typeof DIAGNOSTICS>;\n\n/**\n * A code minted outside core, in the same `namespace.detail` shape.\n *\n * The channel is only worth having if a consumer can be told apart on it: a\n * listener filters by code, so a component reporting through a shared generic\n * code would be unfilterable, and one reporting through a core code would be\n * indistinguishable from core itself. The template literal is the loosest\n * thing that still keeps the shape a filter can rely on — `startsWith('figure.')`\n * works because the namespace is mandatory.\n */\nexport type ToolkitConsumerDiagnosticCode = `${string}.${string}`;\n\n/**\n * A diagnostic code: one of core's own, or a consumer's namespaced one.\n *\n * Core's set stays enumerated and documented as {@link DIAGNOSTICS}; the union\n * with the wider shape is what lets a component outside core report on the same\n * channel rather than reaching for `console.warn`.\n */\nexport type ToolkitDiagnosticCode = ToolkitCoreDiagnosticCode | ToolkitConsumerDiagnosticCode;\n\ninterface ToolkitDiagnosticBaseDetail {\n readonly code: ToolkitDiagnosticCode;\n readonly message: string;\n readonly component?: string;\n}\n\n/** The payload of the public diagnostic event. */\nexport type ToolkitDiagnosticDetail =\n | (ToolkitDiagnosticBaseDetail & {\n readonly severity: 'warning';\n readonly error?: never;\n })\n | (ToolkitDiagnosticBaseDetail & {\n readonly severity: 'error';\n readonly error: unknown;\n });\n"],"mappings":";AAAA,MAAM,YAAY,OAAO,OAAO,EAC9B,kBAAkB,8BACpB,CAAU;AAEV,MAAM,WAAW,OAAO,OAAO;CAC7B,cAAc;CACd,2BAA2B;CAC3B,uBAAuB;CACvB,wBAAwB;CACxB,eAAe;CACf,qBAAqB;CACrB,qBAAqB;CACrB,uBAAuB;CACvB,gCAAgC;AAClC,CAAU;AAEV,MAAM,YAAY,OAAO,OAAO;CAC9B,YAAY;CACZ,aAAa;CACb,iBAAiB;CACjB,sBAAsB;CACtB,0BAA0B;CAC1B,gBAAgB;AAClB,CAAU;AAEV,MAAM,QAAQ,OAAO,OAAO,EAC1B,oBAAoB,6BACtB,CAAU;AAEV,MAAM,WAAW,OAAO,OAAO,EAC7B,gBAAgB,2BAClB,CAAU;AAEV,MAAM,SAAS,OAAO,OAAO,EAC3B,gBAAgB,yBAClB,CAAU;AAEV,MAAM,WAAW,OAAO,OAAO;CAC7B,kBAAkB;CAClB,oBAAoB;AACtB,CAAU;AAEV,MAAM,MAAM,OAAO,OAAO,EACxB,UAAU,eACZ,CAAU;AAEV,MAAM,WAAW,OAAO,OAAO;CAC7B,UAAU;CACV,kBAAkB;AACpB,CAAU;AAEV,MAAM,aAAa,OAAO,OAAO,EAC/B,mBAAmB,gCACrB,CAAU;AAEV,MAAM,YAAY,OAAO,OAAO,EAC9B,sBAAsB,mCACxB,CAAU;AAEV,MAAM,OAAO,OAAO,OAAO,EACzB,aAAa,oBACf,CAAU;AAEV,MAAM,UAAU,OAAO,OAAO,EAC5B,eAAe,yBACjB,CAAU;AAEV,MAAM,UAAU,OAAO,OAAO;CAC5B,cAAc;CACd,mBAAmB;CACnB,iBAAiB;AACnB,CAAU;;;;;AAMV,MAAa,cAAc,OAAO,OAAO;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAU"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ToolkitDiagnosticCode, ToolkitDiagnosticDetail } from "./diagnostic-contract.js";
|
|
2
|
+
//#region src/diagnostics.d.ts
|
|
3
|
+
interface DiagnosticContext {
|
|
4
|
+
component?: string;
|
|
5
|
+
target?: Element;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Report a recovered failure on the diagnostic channel.
|
|
9
|
+
*
|
|
10
|
+
* A component reports through {@link Base.$error}, which fills in its own name
|
|
11
|
+
* and element. This is the form for code with no instance to report as — a
|
|
12
|
+
* module-level helper, or a class which is not a `Base`.
|
|
13
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/reportDiagnostic.html
|
|
14
|
+
*/
|
|
15
|
+
declare function reportDiagnostic(code: ToolkitDiagnosticCode, message: string, error: unknown, { component, target }?: DiagnosticContext): CustomEvent<ToolkitDiagnosticDetail>;
|
|
16
|
+
/**
|
|
17
|
+
* Run a callback the framework does not own, and report a throw instead of
|
|
18
|
+
* letting it out: one failing subscriber must not stop delivery to the others,
|
|
19
|
+
* nor turn a subscription into a failure for the caller.
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
declare function isolateCallbackFailure(code: ToolkitDiagnosticCode, message: string, run: () => void): void;
|
|
24
|
+
/**
|
|
25
|
+
* Report a warning on the diagnostic channel.
|
|
26
|
+
*
|
|
27
|
+
* A component reports through {@link Base.$warn}, which fills in its own name
|
|
28
|
+
* and element. This is the form for code with no instance to report as — a
|
|
29
|
+
* module-level helper, or a class which is not a `Base`.
|
|
30
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/warn.html
|
|
31
|
+
*/
|
|
32
|
+
declare function warn(code: ToolkitDiagnosticCode, message: string, { component, target }?: DiagnosticContext): CustomEvent<ToolkitDiagnosticDetail>;
|
|
33
|
+
/**
|
|
34
|
+
* Report one warning per weak owner and misuse key across evaluated package
|
|
35
|
+
* copies in this realm.
|
|
36
|
+
*
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
declare function warnOnce(owner: object, key: string, code: ToolkitDiagnosticCode, message: string, context?: DiagnosticContext): CustomEvent<ToolkitDiagnosticDetail> | undefined;
|
|
40
|
+
//#endregion
|
|
41
|
+
export { isolateCallbackFailure, reportDiagnostic, warn, warnOnce };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { getSharedRuntimeSlot } from "./shared-runtime.js";
|
|
2
|
+
//#region src/diagnostics.ts
|
|
3
|
+
function warningOwners() {
|
|
4
|
+
return getSharedRuntimeSlot("diagnostics:warnings", 1, () => ({ owners: /* @__PURE__ */ new WeakMap() })).owners;
|
|
5
|
+
}
|
|
6
|
+
function dispatchDiagnostic(detail, target) {
|
|
7
|
+
let runDefaultSink;
|
|
8
|
+
if (detail.severity === "warning") {
|
|
9
|
+
const output = `[js-toolkit:${detail.code}] ${detail.message}`;
|
|
10
|
+
runDefaultSink = () => console.warn(output);
|
|
11
|
+
} else {
|
|
12
|
+
const error = detail.error;
|
|
13
|
+
runDefaultSink = () => reportError(error);
|
|
14
|
+
}
|
|
15
|
+
const event = new CustomEvent("js-toolkit:diagnostic", {
|
|
16
|
+
bubbles: true,
|
|
17
|
+
composed: true,
|
|
18
|
+
cancelable: true,
|
|
19
|
+
detail
|
|
20
|
+
});
|
|
21
|
+
(target?.isConnected ? target : document).dispatchEvent(event);
|
|
22
|
+
if (!event.defaultPrevented) runDefaultSink();
|
|
23
|
+
return event;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Report a recovered failure on the diagnostic channel.
|
|
27
|
+
*
|
|
28
|
+
* A component reports through {@link Base.$error}, which fills in its own name
|
|
29
|
+
* and element. This is the form for code with no instance to report as — a
|
|
30
|
+
* module-level helper, or a class which is not a `Base`.
|
|
31
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/reportDiagnostic.html
|
|
32
|
+
*/
|
|
33
|
+
function reportDiagnostic(code, message, error, { component, target } = {}) {
|
|
34
|
+
return dispatchDiagnostic(component === void 0 ? {
|
|
35
|
+
severity: "error",
|
|
36
|
+
code,
|
|
37
|
+
message,
|
|
38
|
+
error
|
|
39
|
+
} : {
|
|
40
|
+
severity: "error",
|
|
41
|
+
code,
|
|
42
|
+
message,
|
|
43
|
+
component,
|
|
44
|
+
error
|
|
45
|
+
}, target);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Run a callback the framework does not own, and report a throw instead of
|
|
49
|
+
* letting it out: one failing subscriber must not stop delivery to the others,
|
|
50
|
+
* nor turn a subscription into a failure for the caller.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
function isolateCallbackFailure(code, message, run) {
|
|
55
|
+
try {
|
|
56
|
+
run();
|
|
57
|
+
} catch (error) {
|
|
58
|
+
reportDiagnostic(code, message, error);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Report a warning on the diagnostic channel.
|
|
63
|
+
*
|
|
64
|
+
* A component reports through {@link Base.$warn}, which fills in its own name
|
|
65
|
+
* and element. This is the form for code with no instance to report as — a
|
|
66
|
+
* module-level helper, or a class which is not a `Base`.
|
|
67
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/warn.html
|
|
68
|
+
*/
|
|
69
|
+
function warn(code, message, { component, target } = {}) {
|
|
70
|
+
return dispatchDiagnostic(component === void 0 ? {
|
|
71
|
+
severity: "warning",
|
|
72
|
+
code,
|
|
73
|
+
message
|
|
74
|
+
} : {
|
|
75
|
+
severity: "warning",
|
|
76
|
+
code,
|
|
77
|
+
message,
|
|
78
|
+
component
|
|
79
|
+
}, target);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Report one warning per weak owner and misuse key across evaluated package
|
|
83
|
+
* copies in this realm.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
function warnOnce(owner, key, code, message, context) {
|
|
88
|
+
const owners = warningOwners();
|
|
89
|
+
let keys = owners.get(owner);
|
|
90
|
+
if (!keys) {
|
|
91
|
+
keys = /* @__PURE__ */ new Set();
|
|
92
|
+
owners.set(owner, keys);
|
|
93
|
+
}
|
|
94
|
+
const warningKey = `${code}\0${key}`;
|
|
95
|
+
if (keys.has(warningKey)) return;
|
|
96
|
+
keys.add(warningKey);
|
|
97
|
+
return warn(code, message, context);
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { isolateCallbackFailure, reportDiagnostic, warn, warnOnce };
|
|
101
|
+
|
|
102
|
+
//# sourceMappingURL=diagnostics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnostics.js","names":[],"sources":["../src/diagnostics.ts"],"sourcesContent":["import { type ToolkitDiagnosticCode, type ToolkitDiagnosticDetail } from './diagnostic-contract.js';\nimport { getSharedRuntimeSlot } from './shared-runtime.js';\n\ninterface DiagnosticContext {\n component?: string;\n target?: Element;\n}\n\ninterface DiagnosticWarningState {\n owners: WeakMap<object, Set<string>>;\n}\n\nfunction warningOwners(): WeakMap<object, Set<string>> {\n return getSharedRuntimeSlot<DiagnosticWarningState>('diagnostics:warnings', 1, () => ({\n owners: new WeakMap(),\n })).owners;\n}\n\nfunction dispatchDiagnostic(\n detail: ToolkitDiagnosticDetail,\n target?: Element,\n): CustomEvent<ToolkitDiagnosticDetail> {\n let runDefaultSink: () => void;\n if (detail.severity === 'warning') {\n const output = `[js-toolkit:${detail.code}] ${detail.message}`;\n runDefaultSink = () => console.warn(output);\n } else {\n const error = detail.error;\n runDefaultSink = () => reportError(error);\n }\n const event = new CustomEvent<ToolkitDiagnosticDetail>('js-toolkit:diagnostic', {\n bubbles: true,\n composed: true,\n cancelable: true,\n detail,\n });\n (target?.isConnected ? target : document).dispatchEvent(event);\n\n if (!event.defaultPrevented) {\n runDefaultSink();\n }\n\n return event;\n}\n\n/**\n * Report a recovered failure on the diagnostic channel.\n *\n * A component reports through {@link Base.$error}, which fills in its own name\n * and element. This is the form for code with no instance to report as — a\n * module-level helper, or a class which is not a `Base`.\n * @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/reportDiagnostic.html\n */\nexport function reportDiagnostic(\n code: ToolkitDiagnosticCode,\n message: string,\n error: unknown,\n { component, target }: DiagnosticContext = {},\n): CustomEvent<ToolkitDiagnosticDetail> {\n const detail: ToolkitDiagnosticDetail =\n component === undefined\n ? { severity: 'error', code, message, error }\n : { severity: 'error', code, message, component, error };\n return dispatchDiagnostic(detail, target);\n}\n\n/**\n * Run a callback the framework does not own, and report a throw instead of\n * letting it out: one failing subscriber must not stop delivery to the others,\n * nor turn a subscription into a failure for the caller.\n *\n * @internal\n */\nexport function isolateCallbackFailure(\n code: ToolkitDiagnosticCode,\n message: string,\n run: () => void,\n): void {\n try {\n run();\n } catch (error) {\n reportDiagnostic(code, message, error);\n }\n}\n\n/**\n * Report a warning on the diagnostic channel.\n *\n * A component reports through {@link Base.$warn}, which fills in its own name\n * and element. This is the form for code with no instance to report as — a\n * module-level helper, or a class which is not a `Base`.\n * @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/warn.html\n */\nexport function warn(\n code: ToolkitDiagnosticCode,\n message: string,\n { component, target }: DiagnosticContext = {},\n): CustomEvent<ToolkitDiagnosticDetail> {\n const detail: ToolkitDiagnosticDetail =\n component === undefined\n ? { severity: 'warning', code, message }\n : { severity: 'warning', code, message, component };\n return dispatchDiagnostic(detail, target);\n}\n\n/**\n * Report one warning per weak owner and misuse key across evaluated package\n * copies in this realm.\n *\n * @internal\n */\nexport function warnOnce(\n owner: object,\n key: string,\n code: ToolkitDiagnosticCode,\n message: string,\n context?: DiagnosticContext,\n): CustomEvent<ToolkitDiagnosticDetail> | undefined {\n const owners = warningOwners();\n let keys = owners.get(owner);\n if (!keys) {\n keys = new Set();\n owners.set(owner, keys);\n }\n const warningKey = `${code}\\0${key}`;\n if (keys.has(warningKey)) {\n return undefined;\n }\n keys.add(warningKey);\n return warn(code, message, context);\n}\n"],"mappings":";;AAYA,SAAS,gBAA8C;CACrD,OAAO,qBAA6C,wBAAwB,UAAU,EACpF,wBAAQ,IAAI,QAAQ,EACtB,EAAE,CAAC,CAAC;AACN;AAEA,SAAS,mBACP,QACA,QACsC;CACtC,IAAI;CACJ,IAAI,OAAO,aAAa,WAAW;EACjC,MAAM,SAAS,eAAe,OAAO,KAAK,IAAI,OAAO;EACrD,uBAAuB,QAAQ,KAAK,MAAM;CAC5C,OAAO;EACL,MAAM,QAAQ,OAAO;EACrB,uBAAuB,YAAY,KAAK;CAC1C;CACA,MAAM,QAAQ,IAAI,YAAqC,yBAAyB;EAC9E,SAAS;EACT,UAAU;EACV,YAAY;EACZ;CACF,CAAC;CACD,CAAC,QAAQ,cAAc,SAAS,SAAA,CAAU,cAAc,KAAK;CAE7D,IAAI,CAAC,MAAM,kBACT,eAAe;CAGjB,OAAO;AACT;;;;;;;;;AAUA,SAAgB,iBACd,MACA,SACA,OACA,EAAE,WAAW,WAA8B,CAAC,GACN;CAKtC,OAAO,mBAHL,cAAc,KAAA,IACV;EAAE,UAAU;EAAS;EAAM;EAAS;CAAM,IAC1C;EAAE,UAAU;EAAS;EAAM;EAAS;EAAW;CAAM,GACzB,MAAM;AAC1C;;;;;;;;AASA,SAAgB,uBACd,MACA,SACA,KACM;CACN,IAAI;EACF,IAAI;CACN,SAAS,OAAO;EACd,iBAAiB,MAAM,SAAS,KAAK;CACvC;AACF;;;;;;;;;AAUA,SAAgB,KACd,MACA,SACA,EAAE,WAAW,WAA8B,CAAC,GACN;CAKtC,OAAO,mBAHL,cAAc,KAAA,IACV;EAAE,UAAU;EAAW;EAAM;CAAQ,IACrC;EAAE,UAAU;EAAW;EAAM;EAAS;CAAU,GACpB,MAAM;AAC1C;;;;;;;AAQA,SAAgB,SACd,OACA,KACA,MACA,SACA,SACkD;CAClD,MAAM,SAAS,cAAc;CAC7B,IAAI,OAAO,OAAO,IAAI,KAAK;CAC3B,IAAI,CAAC,MAAM;EACT,uBAAO,IAAI,IAAI;EACf,OAAO,IAAI,OAAO,IAAI;CACxB;CACA,MAAM,aAAa,GAAG,KAAK,IAAI;CAC/B,IAAI,KAAK,IAAI,UAAU,GACrB;CAEF,KAAK,IAAI,UAAU;CACnB,OAAO,KAAK,MAAM,SAAS,OAAO;AACpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/document-order.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Document order, the only order DOM-anchored peers can agree on without
|
|
4
|
+
* either the coordinator or the mount sequence arbitrating it.
|
|
5
|
+
*
|
|
6
|
+
* Imports nothing, so ordering costs a consumer no component graph.
|
|
7
|
+
*/
|
|
8
|
+
declare function compareDocumentOrder(a: Node, b: Node): number;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { compareDocumentOrder };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/document-order.ts
|
|
2
|
+
/**
|
|
3
|
+
* Document order, the only order DOM-anchored peers can agree on without
|
|
4
|
+
* either the coordinator or the mount sequence arbitrating it.
|
|
5
|
+
*
|
|
6
|
+
* Imports nothing, so ordering costs a consumer no component graph.
|
|
7
|
+
*/
|
|
8
|
+
function compareDocumentOrder(a, b) {
|
|
9
|
+
const position = a.compareDocumentPosition(b);
|
|
10
|
+
if (position & Node.DOCUMENT_POSITION_FOLLOWING) return -1;
|
|
11
|
+
if (position & Node.DOCUMENT_POSITION_PRECEDING) return 1;
|
|
12
|
+
return 0;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { compareDocumentOrder };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=document-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-order.js","names":[],"sources":["../src/document-order.ts"],"sourcesContent":["/**\n * Document order, the only order DOM-anchored peers can agree on without\n * either the coordinator or the mount sequence arbitrating it.\n *\n * Imports nothing, so ordering costs a consumer no component graph.\n */\nexport function compareDocumentOrder(a: Node, b: Node): number {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING) {\n return 1;\n }\n return 0;\n}\n"],"mappings":";;;;;;;AAMA,SAAgB,qBAAqB,GAAS,GAAiB;CAC7D,MAAM,WAAW,EAAE,wBAAwB,CAAC;CAC5C,IAAI,WAAW,KAAK,6BAClB,OAAO;CAET,IAAI,WAAW,KAAK,6BAClB,OAAO;CAET,OAAO;AACT"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//#region src/dom-mutations.d.ts
|
|
2
|
+
interface DOMMutationRecord {
|
|
3
|
+
record: MutationRecord;
|
|
4
|
+
/** Removed subtree membership at observer delivery, before background work. */
|
|
5
|
+
removedSubtrees: ReadonlyMap<Node, readonly Element[]>;
|
|
6
|
+
}
|
|
7
|
+
type DOMMutationProcessor = (records: readonly DOMMutationRecord[]) => void;
|
|
8
|
+
/**
|
|
9
|
+
* One attribute change on a watched element, as `watchAttributes()` reports
|
|
10
|
+
* it. Values are the raw attribute strings, `null` for an absent attribute —
|
|
11
|
+
* so a removal is `value: null` and an addition is `previousValue: null`.
|
|
12
|
+
*/
|
|
13
|
+
interface AttributeChange {
|
|
14
|
+
name: string;
|
|
15
|
+
value: string | null;
|
|
16
|
+
previousValue: string | null;
|
|
17
|
+
}
|
|
18
|
+
type AttributeWatcher = (change: AttributeChange) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the engine has anything to do with an attribute.
|
|
21
|
+
*
|
|
22
|
+
* This is the **same set** `observeDocument()` hands the observer as its
|
|
23
|
+
* `attributeFilter`, and that is the point: any module may widen the filter
|
|
24
|
+
* through {@link registerDOMOptionAttributes}, and a relevance test written
|
|
25
|
+
* against the framework prefixes would silently drop the records a name
|
|
26
|
+
* matching neither prefix produces. Deriving both from one set makes the two
|
|
27
|
+
* impossible to separate.
|
|
28
|
+
*
|
|
29
|
+
* @internal Exported for the spec which asserts the filter and this test agree.
|
|
30
|
+
*/
|
|
31
|
+
declare function isObservedDOMAttribute(attribute: string | null): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Add declared option attributes to the one observer's precise filter.
|
|
34
|
+
*/
|
|
35
|
+
declare function registerDOMOptionAttributes(attributes: Iterable<string>): void;
|
|
36
|
+
/**
|
|
37
|
+
* Replace one derived slice of the exact attribute filter.
|
|
38
|
+
*
|
|
39
|
+
* Responsive attributes use this when `setBreakpoints()` replaces the named
|
|
40
|
+
* set. A name in both slices stays observed and is not disturbed.
|
|
41
|
+
*/
|
|
42
|
+
declare function replaceDOMOptionAttributes(previous: Iterable<string>, next: Iterable<string>): void;
|
|
43
|
+
/**
|
|
44
|
+
* Observe all attributes of one element without observing its descendants.
|
|
45
|
+
* An element-scoped observer is required because `MutationObserver.attributeFilter` has no wildcard.
|
|
46
|
+
* Changes are coalesced and delivered after framework reconciliation through the shared queue.
|
|
47
|
+
*
|
|
48
|
+
* @param el The element to observe.
|
|
49
|
+
* @param callback Called once per coalesced attribute change.
|
|
50
|
+
* @returns An idempotent cleanup function.
|
|
51
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/dom/watchAttributes.html
|
|
52
|
+
*/
|
|
53
|
+
declare function watchAttributes(el: Element, callback: AttributeWatcher): () => void;
|
|
54
|
+
/**
|
|
55
|
+
* Install the one core processor which owns component lifecycle ordering.
|
|
56
|
+
*/
|
|
57
|
+
declare function setDOMMutationProcessor(next: DOMMutationProcessor): void;
|
|
58
|
+
/**
|
|
59
|
+
* Return the component lookup version after retaining pending records for registry processing.
|
|
60
|
+
*/
|
|
61
|
+
declare function domVersion(): number;
|
|
62
|
+
/**
|
|
63
|
+
* Track eager lifecycle work started while applying a mutation batch.
|
|
64
|
+
* Conditional mount strategies deliberately do not enter this set.
|
|
65
|
+
*/
|
|
66
|
+
declare function trackDOMLifecycleWork(work: Promise<unknown> | undefined): void;
|
|
67
|
+
/**
|
|
68
|
+
* Resolve when every mutation currently observable by core has been
|
|
69
|
+
* processed and its eager lifecycle work has run.
|
|
70
|
+
*
|
|
71
|
+
* This does not wait for visibility, interaction, idle, or media
|
|
72
|
+
* conditions, and it does not await promises returned by `mounted()`.
|
|
73
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/dom/whenDOMSettled.html
|
|
74
|
+
*/
|
|
75
|
+
declare function whenDOMSettled(): Promise<void>;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { AttributeChange, AttributeWatcher, DOMMutationProcessor, DOMMutationRecord, domVersion, isObservedDOMAttribute, registerDOMOptionAttributes, replaceDOMOptionAttributes, setDOMMutationProcessor, trackDOMLifecycleWork, watchAttributes, whenDOMSettled };
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { FRAMEWORK_ATTRIBUTES, isComponentAttribute, isNetChange, rememberPreviousValue } from "./attributes.js";
|
|
2
|
+
import { getSharedRuntimeSlot } from "./shared-runtime.js";
|
|
3
|
+
import { reportDiagnostic } from "./diagnostics.js";
|
|
4
|
+
import { defaultScheduler } from "./scheduler.js";
|
|
5
|
+
//#region src/dom-mutations.ts
|
|
6
|
+
const domMutationState = /* @__PURE__ */ getSharedRuntimeSlot("dom-mutations", 1, () => ({
|
|
7
|
+
observedAttributes: new Set(FRAMEWORK_ATTRIBUTES),
|
|
8
|
+
attributeWatchers: /* @__PURE__ */ new Set(),
|
|
9
|
+
observer: null,
|
|
10
|
+
processor: null,
|
|
11
|
+
processTask: null,
|
|
12
|
+
version: 0,
|
|
13
|
+
records: [],
|
|
14
|
+
lifecycleWork: /* @__PURE__ */ new Set()
|
|
15
|
+
}));
|
|
16
|
+
const { observedAttributes, attributeWatchers, lifecycleWork } = domMutationState;
|
|
17
|
+
/**
|
|
18
|
+
* Start the document's single mutation observer on demand.
|
|
19
|
+
*
|
|
20
|
+
* The attribute filter grows from fixed framework attributes and the option
|
|
21
|
+
* names declared by registered components, so unrelated document writes do
|
|
22
|
+
* not create mutation records.
|
|
23
|
+
*/
|
|
24
|
+
function observe() {
|
|
25
|
+
if (!domMutationState.observer) {
|
|
26
|
+
domMutationState.observer = new MutationObserver(ingest);
|
|
27
|
+
observeDocument();
|
|
28
|
+
}
|
|
29
|
+
return domMutationState.observer;
|
|
30
|
+
}
|
|
31
|
+
function observeDocument() {
|
|
32
|
+
domMutationState.observer?.observe(document.documentElement, {
|
|
33
|
+
childList: true,
|
|
34
|
+
subtree: true,
|
|
35
|
+
attributes: true,
|
|
36
|
+
attributeOldValue: true,
|
|
37
|
+
attributeFilter: [...observedAttributes]
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Whether the engine has anything to do with an attribute.
|
|
42
|
+
*
|
|
43
|
+
* This is the **same set** `observeDocument()` hands the observer as its
|
|
44
|
+
* `attributeFilter`, and that is the point: any module may widen the filter
|
|
45
|
+
* through {@link registerDOMOptionAttributes}, and a relevance test written
|
|
46
|
+
* against the framework prefixes would silently drop the records a name
|
|
47
|
+
* matching neither prefix produces. Deriving both from one set makes the two
|
|
48
|
+
* impossible to separate.
|
|
49
|
+
*
|
|
50
|
+
* @internal Exported for the spec which asserts the filter and this test agree.
|
|
51
|
+
*/
|
|
52
|
+
function isObservedDOMAttribute(attribute) {
|
|
53
|
+
return attribute !== null && observedAttributes.has(attribute);
|
|
54
|
+
}
|
|
55
|
+
/** Apply one change to the observed set, draining the records it already produced. */
|
|
56
|
+
function updateObservedAttributes(removed, added) {
|
|
57
|
+
if (removed.length === 0 && added.length === 0) return;
|
|
58
|
+
ingest(domMutationState.observer?.takeRecords() ?? []);
|
|
59
|
+
for (const attribute of removed) observedAttributes.delete(attribute);
|
|
60
|
+
for (const attribute of added) observedAttributes.add(attribute);
|
|
61
|
+
if (domMutationState.observer) observeDocument();
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Add declared option attributes to the one observer's precise filter.
|
|
65
|
+
*/
|
|
66
|
+
function registerDOMOptionAttributes(attributes) {
|
|
67
|
+
updateObservedAttributes([], [...attributes].filter((attribute) => !observedAttributes.has(attribute)));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Replace one derived slice of the exact attribute filter.
|
|
71
|
+
*
|
|
72
|
+
* Responsive attributes use this when `setBreakpoints()` replaces the named
|
|
73
|
+
* set. A name in both slices stays observed and is not disturbed.
|
|
74
|
+
*/
|
|
75
|
+
function replaceDOMOptionAttributes(previous, next) {
|
|
76
|
+
const kept = new Set(next);
|
|
77
|
+
updateObservedAttributes([...previous].filter((attribute) => !kept.has(attribute) && observedAttributes.has(attribute)), [...kept].filter((attribute) => !observedAttributes.has(attribute)));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Observe all attributes of one element without observing its descendants.
|
|
81
|
+
* An element-scoped observer is required because `MutationObserver.attributeFilter` has no wildcard.
|
|
82
|
+
* Changes are coalesced and delivered after framework reconciliation through the shared queue.
|
|
83
|
+
*
|
|
84
|
+
* @param el The element to observe.
|
|
85
|
+
* @param callback Called once per coalesced attribute change.
|
|
86
|
+
* @returns An idempotent cleanup function.
|
|
87
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/dom/watchAttributes.html
|
|
88
|
+
*/
|
|
89
|
+
function watchAttributes(el, callback) {
|
|
90
|
+
const entry = {
|
|
91
|
+
el,
|
|
92
|
+
callback,
|
|
93
|
+
pending: /* @__PURE__ */ new Map(),
|
|
94
|
+
observer: new MutationObserver((incoming) => ingestWatchedAttributes(entry, incoming))
|
|
95
|
+
};
|
|
96
|
+
entry.observer.observe(el, {
|
|
97
|
+
attributes: true,
|
|
98
|
+
attributeOldValue: true
|
|
99
|
+
});
|
|
100
|
+
attributeWatchers.add(entry);
|
|
101
|
+
return () => {
|
|
102
|
+
if (!attributeWatchers.delete(entry)) return;
|
|
103
|
+
entry.observer.disconnect();
|
|
104
|
+
entry.pending.clear();
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function ingestWatchedAttributes(entry, incoming) {
|
|
108
|
+
for (const { attributeName, oldValue } of incoming) if (attributeName !== null) rememberPreviousValue(entry.pending, attributeName, oldValue);
|
|
109
|
+
scheduleProcessing();
|
|
110
|
+
}
|
|
111
|
+
function hasWatchedAttributes() {
|
|
112
|
+
for (const { pending } of attributeWatchers) if (pending.size > 0) return true;
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Move every element observer's pending records into the shared queue, so a
|
|
117
|
+
* caller draining the document — `whenDOMSettled()` — cannot return while an
|
|
118
|
+
* observer still holds an undelivered change.
|
|
119
|
+
*/
|
|
120
|
+
function takeWatchedAttributes() {
|
|
121
|
+
for (const entry of attributeWatchers) ingestWatchedAttributes(entry, entry.observer.takeRecords());
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Report coalesced changes using the final DOM value; omit net-zero changes.
|
|
125
|
+
*/
|
|
126
|
+
function deliverWatchedAttributes() {
|
|
127
|
+
for (const entry of attributeWatchers) {
|
|
128
|
+
if (entry.pending.size === 0) continue;
|
|
129
|
+
const changes = entry.pending;
|
|
130
|
+
entry.pending = /* @__PURE__ */ new Map();
|
|
131
|
+
for (const [name, previousValue] of changes) {
|
|
132
|
+
if (!attributeWatchers.has(entry)) break;
|
|
133
|
+
const value = entry.el.getAttribute(name);
|
|
134
|
+
if (!isNetChange(value, previousValue)) continue;
|
|
135
|
+
try {
|
|
136
|
+
entry.callback({
|
|
137
|
+
name,
|
|
138
|
+
value,
|
|
139
|
+
previousValue
|
|
140
|
+
});
|
|
141
|
+
} catch (error) {
|
|
142
|
+
reportDiagnostic("callback.attribute-watcher-failed", `The attribute watcher callback for "${name}" failed.`, error, { target: entry.el });
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Retain records before scheduling their processing. This is also used by
|
|
149
|
+
* synchronous DOM reads after `takeRecords()`, so reading a ref can never
|
|
150
|
+
* steal component-registry work from the observer callback.
|
|
151
|
+
*/
|
|
152
|
+
function ingest(incoming) {
|
|
153
|
+
const relevant = incoming.filter(({ type, attributeName }) => type === "childList" || isObservedDOMAttribute(attributeName));
|
|
154
|
+
if (relevant.length === 0) return;
|
|
155
|
+
if (relevant.some(({ type, attributeName }) => type === "childList" || isComponentAttribute(attributeName) || attributeName === "data-ref")) domMutationState.version += 1;
|
|
156
|
+
if (!domMutationState.processor) return;
|
|
157
|
+
domMutationState.records.push(...relevant.map((record) => {
|
|
158
|
+
const removedSubtrees = /* @__PURE__ */ new Map();
|
|
159
|
+
if (record.type === "childList") {
|
|
160
|
+
for (const node of record.removedNodes) if (node instanceof Element) removedSubtrees.set(node, [node, ...node.querySelectorAll("*")]);
|
|
161
|
+
}
|
|
162
|
+
return {
|
|
163
|
+
record,
|
|
164
|
+
removedSubtrees
|
|
165
|
+
};
|
|
166
|
+
}));
|
|
167
|
+
scheduleProcessing();
|
|
168
|
+
}
|
|
169
|
+
function scheduleProcessing() {
|
|
170
|
+
if (domMutationState.processTask) return;
|
|
171
|
+
if (!(Boolean(domMutationState.processor) && domMutationState.records.length > 0) && !hasWatchedAttributes()) return;
|
|
172
|
+
domMutationState.processTask = defaultScheduler.background(() => {
|
|
173
|
+
const batch = domMutationState.records;
|
|
174
|
+
domMutationState.records = [];
|
|
175
|
+
domMutationState.processor?.(batch);
|
|
176
|
+
deliverWatchedAttributes();
|
|
177
|
+
});
|
|
178
|
+
const finished = () => {
|
|
179
|
+
domMutationState.processTask = null;
|
|
180
|
+
scheduleProcessing();
|
|
181
|
+
};
|
|
182
|
+
domMutationState.processTask.promise.then(finished, finished);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Install the one core processor which owns component lifecycle ordering.
|
|
186
|
+
*/
|
|
187
|
+
function setDOMMutationProcessor(next) {
|
|
188
|
+
domMutationState.processor ??= next;
|
|
189
|
+
ingest(observe().takeRecords());
|
|
190
|
+
scheduleProcessing();
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Return the component lookup version after retaining pending records for registry processing.
|
|
194
|
+
*/
|
|
195
|
+
function domVersion() {
|
|
196
|
+
ingest(observe().takeRecords());
|
|
197
|
+
return domMutationState.version;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Track eager lifecycle work started while applying a mutation batch.
|
|
201
|
+
* Conditional mount strategies deliberately do not enter this set.
|
|
202
|
+
*/
|
|
203
|
+
function trackDOMLifecycleWork(work) {
|
|
204
|
+
if (!work) return;
|
|
205
|
+
lifecycleWork.add(work);
|
|
206
|
+
const finished = () => lifecycleWork.delete(work);
|
|
207
|
+
work.then(finished, finished);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Resolve when every mutation currently observable by core has been
|
|
211
|
+
* processed and its eager lifecycle work has run.
|
|
212
|
+
*
|
|
213
|
+
* This does not wait for visibility, interaction, idle, or media
|
|
214
|
+
* conditions, and it does not await promises returned by `mounted()`.
|
|
215
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/dom/whenDOMSettled.html
|
|
216
|
+
*/
|
|
217
|
+
async function whenDOMSettled() {
|
|
218
|
+
const currentObserver = observe();
|
|
219
|
+
while (true) {
|
|
220
|
+
ingest(currentObserver.takeRecords());
|
|
221
|
+
takeWatchedAttributes();
|
|
222
|
+
scheduleProcessing();
|
|
223
|
+
const pending = [...domMutationState.processTask ? [domMutationState.processTask.promise] : [], ...lifecycleWork];
|
|
224
|
+
if (pending.length > 0) {
|
|
225
|
+
await Promise.all(pending);
|
|
226
|
+
continue;
|
|
227
|
+
}
|
|
228
|
+
await Promise.resolve();
|
|
229
|
+
ingest(currentObserver.takeRecords());
|
|
230
|
+
takeWatchedAttributes();
|
|
231
|
+
scheduleProcessing();
|
|
232
|
+
if (!domMutationState.processTask && lifecycleWork.size === 0 && (!domMutationState.processor || domMutationState.records.length === 0) && !hasWatchedAttributes()) return;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
//#endregion
|
|
236
|
+
export { domVersion, isObservedDOMAttribute, registerDOMOptionAttributes, replaceDOMOptionAttributes, setDOMMutationProcessor, trackDOMLifecycleWork, watchAttributes, whenDOMSettled };
|
|
237
|
+
|
|
238
|
+
//# sourceMappingURL=dom-mutations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dom-mutations.js","names":[],"sources":["../src/dom-mutations.ts"],"sourcesContent":["import {\n FRAMEWORK_ATTRIBUTES,\n isComponentAttribute,\n isNetChange,\n REF_ATTRIBUTE,\n rememberPreviousValue,\n} from './attributes.js';\nimport { reportDiagnostic } from './diagnostics.js';\nimport { defaultScheduler, type ScheduledTask } from './scheduler.js';\nimport { getSharedRuntimeSlot } from './shared-runtime.js';\n\nexport interface DOMMutationRecord {\n record: MutationRecord;\n /** Removed subtree membership at observer delivery, before background work. */\n removedSubtrees: ReadonlyMap<Node, readonly Element[]>;\n}\n\nexport type DOMMutationProcessor = (records: readonly DOMMutationRecord[]) => void;\n\n/**\n * One attribute change on a watched element, as `watchAttributes()` reports\n * it. Values are the raw attribute strings, `null` for an absent attribute —\n * so a removal is `value: null` and an addition is `previousValue: null`.\n */\nexport interface AttributeChange {\n name: string;\n value: string | null;\n previousValue: string | null;\n}\n\nexport type AttributeWatcher = (change: AttributeChange) => void;\n\ninterface AttributeWatcherEntry {\n el: Element;\n observer: MutationObserver;\n callback: AttributeWatcher;\n /**\n * The first old value seen per attribute in the current batch, kept under\n * the one coalescing rule declared options answer to — see\n * {@link rememberPreviousValue}.\n */\n pending: Map<string, string | null>;\n}\n\ninterface DOMMutationRuntimeState {\n observedAttributes: Set<string>;\n attributeWatchers: Set<AttributeWatcherEntry>;\n observer: MutationObserver | null;\n processor: DOMMutationProcessor | null;\n processTask: ScheduledTask<void> | null;\n version: number;\n records: DOMMutationRecord[];\n lifecycleWork: Set<Promise<unknown>>;\n}\n\nconst domMutationState = /* @__PURE__ */ getSharedRuntimeSlot<DOMMutationRuntimeState>(\n 'dom-mutations',\n 1,\n () => ({\n observedAttributes: new Set<string>(FRAMEWORK_ATTRIBUTES),\n attributeWatchers: new Set(),\n observer: null,\n processor: null,\n processTask: null,\n version: 0,\n records: [],\n lifecycleWork: new Set(),\n }),\n);\nconst { observedAttributes, attributeWatchers, lifecycleWork } = domMutationState;\n\n/**\n * Start the document's single mutation observer on demand.\n *\n * The attribute filter grows from fixed framework attributes and the option\n * names declared by registered components, so unrelated document writes do\n * not create mutation records.\n */\nfunction observe(): MutationObserver {\n if (!domMutationState.observer) {\n domMutationState.observer = new MutationObserver(ingest);\n observeDocument();\n }\n return domMutationState.observer;\n}\n\nfunction observeDocument(): void {\n domMutationState.observer?.observe(document.documentElement, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeOldValue: true,\n attributeFilter: [...observedAttributes],\n });\n}\n\n/**\n * Whether the engine has anything to do with an attribute.\n *\n * This is the **same set** `observeDocument()` hands the observer as its\n * `attributeFilter`, and that is the point: any module may widen the filter\n * through {@link registerDOMOptionAttributes}, and a relevance test written\n * against the framework prefixes would silently drop the records a name\n * matching neither prefix produces. Deriving both from one set makes the two\n * impossible to separate.\n *\n * @internal Exported for the spec which asserts the filter and this test agree.\n */\nexport function isObservedDOMAttribute(attribute: string | null): boolean {\n return attribute !== null && observedAttributes.has(attribute);\n}\n\n/** Apply one change to the observed set, draining the records it already produced. */\nfunction updateObservedAttributes(removed: readonly string[], added: readonly string[]): void {\n if (removed.length === 0 && added.length === 0) {\n return;\n }\n // Records are classified by the vocabulary which delivered them, so what the\n // current filter produced enters the queue before the set moves under it.\n ingest(domMutationState.observer?.takeRecords() ?? []);\n for (const attribute of removed) {\n observedAttributes.delete(attribute);\n }\n for (const attribute of added) {\n observedAttributes.add(attribute);\n }\n if (domMutationState.observer) {\n observeDocument();\n }\n}\n\n/**\n * Add declared option attributes to the one observer's precise filter.\n */\nexport function registerDOMOptionAttributes(attributes: Iterable<string>): void {\n const added = [...attributes].filter((attribute) => !observedAttributes.has(attribute));\n updateObservedAttributes([], added);\n}\n\n/**\n * Replace one derived slice of the exact attribute filter.\n *\n * Responsive attributes use this when `setBreakpoints()` replaces the named\n * set. A name in both slices stays observed and is not disturbed.\n */\nexport function replaceDOMOptionAttributes(\n previous: Iterable<string>,\n next: Iterable<string>,\n): void {\n const kept = new Set(next);\n const removed = [...previous].filter(\n (attribute) => !kept.has(attribute) && observedAttributes.has(attribute),\n );\n const added = [...kept].filter((attribute) => !observedAttributes.has(attribute));\n updateObservedAttributes(removed, added);\n}\n\n/**\n * Observe all attributes of one element without observing its descendants.\n * An element-scoped observer is required because `MutationObserver.attributeFilter` has no wildcard.\n * Changes are coalesced and delivered after framework reconciliation through the shared queue.\n *\n * @param el The element to observe.\n * @param callback Called once per coalesced attribute change.\n * @returns An idempotent cleanup function.\n * @link https://js-toolkit-v4.studiometa.dev/api/dom/watchAttributes.html\n */\nexport function watchAttributes(el: Element, callback: AttributeWatcher): () => void {\n const entry: AttributeWatcherEntry = {\n el,\n callback,\n pending: new Map(),\n observer: new MutationObserver((incoming) => ingestWatchedAttributes(entry, incoming)),\n };\n entry.observer.observe(el, { attributes: true, attributeOldValue: true });\n attributeWatchers.add(entry);\n\n return () => {\n if (!attributeWatchers.delete(entry)) {\n return;\n }\n entry.observer.disconnect();\n entry.pending.clear();\n };\n}\n\nfunction ingestWatchedAttributes(\n entry: AttributeWatcherEntry,\n incoming: readonly MutationRecord[],\n): void {\n for (const { attributeName, oldValue } of incoming) {\n if (attributeName !== null) {\n rememberPreviousValue(entry.pending, attributeName, oldValue);\n }\n }\n scheduleProcessing();\n}\n\nfunction hasWatchedAttributes(): boolean {\n for (const { pending } of attributeWatchers) {\n if (pending.size > 0) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Move every element observer's pending records into the shared queue, so a\n * caller draining the document — `whenDOMSettled()` — cannot return while an\n * observer still holds an undelivered change.\n */\nfunction takeWatchedAttributes(): void {\n for (const entry of attributeWatchers) {\n ingestWatchedAttributes(entry, entry.observer.takeRecords());\n }\n}\n\n/**\n * Report coalesced changes using the final DOM value; omit net-zero changes.\n */\nfunction deliverWatchedAttributes(): void {\n // A callback may end a subscription mid-flush: `Set` iteration skips an\n // entry deleted before it is reached, which is the wanted behaviour, and a\n // watcher subscribed from a callback has nothing pending to report yet.\n for (const entry of attributeWatchers) {\n if (entry.pending.size === 0) {\n continue;\n }\n const changes = entry.pending;\n entry.pending = new Map();\n for (const [name, previousValue] of changes) {\n // The callback just run may have ended this very subscription.\n if (!attributeWatchers.has(entry)) {\n break;\n }\n const value = entry.el.getAttribute(name);\n if (!isNetChange(value, previousValue)) {\n continue;\n }\n try {\n entry.callback({ name, value, previousValue });\n } catch (error) {\n reportDiagnostic(\n 'callback.attribute-watcher-failed',\n `The attribute watcher callback for \"${name}\" failed.`,\n error,\n { target: entry.el },\n );\n }\n }\n }\n}\n\n/**\n * Retain records before scheduling their processing. This is also used by\n * synchronous DOM reads after `takeRecords()`, so reading a ref can never\n * steal component-registry work from the observer callback.\n */\nfunction ingest(incoming: MutationRecord[]): void {\n const relevant = incoming.filter(\n ({ type, attributeName }) => type === 'childList' || isObservedDOMAttribute(attributeName),\n );\n if (relevant.length === 0) {\n return;\n }\n\n if (\n relevant.some(\n ({ type, attributeName }) =>\n type === 'childList' ||\n isComponentAttribute(attributeName) ||\n attributeName === REF_ATTRIBUTE,\n )\n ) {\n domMutationState.version += 1;\n }\n\n // Before the first component is registered, the current document scan is\n // sufficient. Keeping historical records here would retain detached\n // subtrees with nobody able to process them.\n if (!domMutationState.processor) {\n return;\n }\n domMutationState.records.push(\n ...relevant.map((record): DOMMutationRecord => {\n const removedSubtrees = new Map<Node, readonly Element[]>();\n if (record.type === 'childList') {\n for (const node of record.removedNodes) {\n if (node instanceof Element) {\n removedSubtrees.set(node, [node, ...node.querySelectorAll('*')]);\n }\n }\n }\n return { record, removedSubtrees };\n }),\n );\n scheduleProcessing();\n}\n\nfunction scheduleProcessing(): void {\n if (domMutationState.processTask) {\n return;\n }\n const hasFrameworkWork =\n Boolean(domMutationState.processor) && domMutationState.records.length > 0;\n if (!hasFrameworkWork && !hasWatchedAttributes()) {\n return;\n }\n\n domMutationState.processTask = defaultScheduler.background(() => {\n const batch = domMutationState.records;\n domMutationState.records = [];\n domMutationState.processor?.(batch);\n // Lifecycle and declared options must run before attribute watchers.\n deliverWatchedAttributes();\n });\n const finished = () => {\n domMutationState.processTask = null;\n scheduleProcessing();\n };\n void domMutationState.processTask.promise.then(finished, finished);\n}\n\n/**\n * Install the one core processor which owns component lifecycle ordering.\n */\nexport function setDOMMutationProcessor(next: DOMMutationProcessor): void {\n domMutationState.processor ??= next;\n const currentObserver = observe();\n // Reconcile pending declarations before the registration scan can enqueue\n // mounts for their final token set.\n ingest(currentObserver.takeRecords());\n scheduleProcessing();\n}\n\n/**\n * Return the component lookup version after retaining pending records for registry processing.\n */\nexport function domVersion(): number {\n ingest(observe().takeRecords());\n return domMutationState.version;\n}\n\n/**\n * Track eager lifecycle work started while applying a mutation batch.\n * Conditional mount strategies deliberately do not enter this set.\n */\nexport function trackDOMLifecycleWork(work: Promise<unknown> | undefined): void {\n if (!work) {\n return;\n }\n lifecycleWork.add(work);\n const finished = () => lifecycleWork.delete(work);\n void work.then(finished, finished);\n}\n\n/**\n * Resolve when every mutation currently observable by core has been\n * processed and its eager lifecycle work has run.\n *\n * This does not wait for visibility, interaction, idle, or media\n * conditions, and it does not await promises returned by `mounted()`.\n * @link https://js-toolkit-v4.studiometa.dev/api/dom/whenDOMSettled.html\n */\nexport async function whenDOMSettled(): Promise<void> {\n const currentObserver = observe();\n\n while (true) {\n ingest(currentObserver.takeRecords());\n takeWatchedAttributes();\n scheduleProcessing();\n\n const pending = [\n ...(domMutationState.processTask ? [domMutationState.processTask.promise] : []),\n ...lifecycleWork,\n ];\n if (pending.length > 0) {\n await Promise.all(pending);\n continue;\n }\n\n // MutationObserver delivery and lifecycle-triggered microtasks can add\n // records after the last tracked task resolves. Cross one microtask and\n // take records once more before declaring the document stable.\n await Promise.resolve();\n ingest(currentObserver.takeRecords());\n takeWatchedAttributes();\n scheduleProcessing();\n\n if (\n !domMutationState.processTask &&\n lifecycleWork.size === 0 &&\n (!domMutationState.processor || domMutationState.records.length === 0) &&\n !hasWatchedAttributes()\n ) {\n return;\n }\n }\n}\n"],"mappings":";;;;;AAuDA,MAAM,mBAAmC,qCACvC,iBACA,UACO;CACL,oBAAoB,IAAI,IAAY,oBAAoB;CACxD,mCAAmB,IAAI,IAAI;CAC3B,UAAU;CACV,WAAW;CACX,aAAa;CACb,SAAS;CACT,SAAS,CAAC;CACV,+BAAe,IAAI,IAAI;AACzB,EACF;AACA,MAAM,EAAE,oBAAoB,mBAAmB,kBAAkB;;;;;;;;AASjE,SAAS,UAA4B;CACnC,IAAI,CAAC,iBAAiB,UAAU;EAC9B,iBAAiB,WAAW,IAAI,iBAAiB,MAAM;EACvD,gBAAgB;CAClB;CACA,OAAO,iBAAiB;AAC1B;AAEA,SAAS,kBAAwB;CAC/B,iBAAiB,UAAU,QAAQ,SAAS,iBAAiB;EAC3D,WAAW;EACX,SAAS;EACT,YAAY;EACZ,mBAAmB;EACnB,iBAAiB,CAAC,GAAG,kBAAkB;CACzC,CAAC;AACH;;;;;;;;;;;;;AAcA,SAAgB,uBAAuB,WAAmC;CACxE,OAAO,cAAc,QAAQ,mBAAmB,IAAI,SAAS;AAC/D;;AAGA,SAAS,yBAAyB,SAA4B,OAAgC;CAC5F,IAAI,QAAQ,WAAW,KAAK,MAAM,WAAW,GAC3C;CAIF,OAAO,iBAAiB,UAAU,YAAY,KAAK,CAAC,CAAC;CACrD,KAAK,MAAM,aAAa,SACtB,mBAAmB,OAAO,SAAS;CAErC,KAAK,MAAM,aAAa,OACtB,mBAAmB,IAAI,SAAS;CAElC,IAAI,iBAAiB,UACnB,gBAAgB;AAEpB;;;;AAKA,SAAgB,4BAA4B,YAAoC;CAE9E,yBAAyB,CAAC,GADZ,CAAC,GAAG,UAAU,CAAC,CAAC,QAAQ,cAAc,CAAC,mBAAmB,IAAI,SAAS,CACpD,CAAC;AACpC;;;;;;;AAQA,SAAgB,2BACd,UACA,MACM;CACN,MAAM,OAAO,IAAI,IAAI,IAAI;CAKzB,yBAJgB,CAAC,GAAG,QAAQ,CAAC,CAAC,QAC3B,cAAc,CAAC,KAAK,IAAI,SAAS,KAAK,mBAAmB,IAAI,SAAS,CAG1C,GADjB,CAAC,GAAG,IAAI,CAAC,CAAC,QAAQ,cAAc,CAAC,mBAAmB,IAAI,SAAS,CACzC,CAAC;AACzC;;;;;;;;;;;AAYA,SAAgB,gBAAgB,IAAa,UAAwC;CACnF,MAAM,QAA+B;EACnC;EACA;EACA,yBAAS,IAAI,IAAI;EACjB,UAAU,IAAI,kBAAkB,aAAa,wBAAwB,OAAO,QAAQ,CAAC;CACvF;CACA,MAAM,SAAS,QAAQ,IAAI;EAAE,YAAY;EAAM,mBAAmB;CAAK,CAAC;CACxE,kBAAkB,IAAI,KAAK;CAE3B,aAAa;EACX,IAAI,CAAC,kBAAkB,OAAO,KAAK,GACjC;EAEF,MAAM,SAAS,WAAW;EAC1B,MAAM,QAAQ,MAAM;CACtB;AACF;AAEA,SAAS,wBACP,OACA,UACM;CACN,KAAK,MAAM,EAAE,eAAe,cAAc,UACxC,IAAI,kBAAkB,MACpB,sBAAsB,MAAM,SAAS,eAAe,QAAQ;CAGhE,mBAAmB;AACrB;AAEA,SAAS,uBAAgC;CACvC,KAAK,MAAM,EAAE,aAAa,mBACxB,IAAI,QAAQ,OAAO,GACjB,OAAO;CAGX,OAAO;AACT;;;;;;AAOA,SAAS,wBAA8B;CACrC,KAAK,MAAM,SAAS,mBAClB,wBAAwB,OAAO,MAAM,SAAS,YAAY,CAAC;AAE/D;;;;AAKA,SAAS,2BAAiC;CAIxC,KAAK,MAAM,SAAS,mBAAmB;EACrC,IAAI,MAAM,QAAQ,SAAS,GACzB;EAEF,MAAM,UAAU,MAAM;EACtB,MAAM,0BAAU,IAAI,IAAI;EACxB,KAAK,MAAM,CAAC,MAAM,kBAAkB,SAAS;GAE3C,IAAI,CAAC,kBAAkB,IAAI,KAAK,GAC9B;GAEF,MAAM,QAAQ,MAAM,GAAG,aAAa,IAAI;GACxC,IAAI,CAAC,YAAY,OAAO,aAAa,GACnC;GAEF,IAAI;IACF,MAAM,SAAS;KAAE;KAAM;KAAO;IAAc,CAAC;GAC/C,SAAS,OAAO;IACd,iBACE,qCACA,uCAAuC,KAAK,YAC5C,OACA,EAAE,QAAQ,MAAM,GAAG,CACrB;GACF;EACF;CACF;AACF;;;;;;AAOA,SAAS,OAAO,UAAkC;CAChD,MAAM,WAAW,SAAS,QACvB,EAAE,MAAM,oBAAoB,SAAS,eAAe,uBAAuB,aAAa,CAC3F;CACA,IAAI,SAAS,WAAW,GACtB;CAGF,IACE,SAAS,MACN,EAAE,MAAM,oBACP,SAAS,eACT,qBAAqB,aAAa,KAClC,kBAAA,UACJ,GAEA,iBAAiB,WAAW;CAM9B,IAAI,CAAC,iBAAiB,WACpB;CAEF,iBAAiB,QAAQ,KACvB,GAAG,SAAS,KAAK,WAA8B;EAC7C,MAAM,kCAAkB,IAAI,IAA8B;EAC1D,IAAI,OAAO,SAAS,aACb;QAAA,MAAM,QAAQ,OAAO,cACxB,IAAI,gBAAgB,SAClB,gBAAgB,IAAI,MAAM,CAAC,MAAM,GAAG,KAAK,iBAAiB,GAAG,CAAC,CAAC;EAAA;EAIrE,OAAO;GAAE;GAAQ;EAAgB;CACnC,CAAC,CACH;CACA,mBAAmB;AACrB;AAEA,SAAS,qBAA2B;CAClC,IAAI,iBAAiB,aACnB;CAIF,IAAI,EADF,QAAQ,iBAAiB,SAAS,KAAK,iBAAiB,QAAQ,SAAS,MAClD,CAAC,qBAAqB,GAC7C;CAGF,iBAAiB,cAAc,iBAAiB,iBAAiB;EAC/D,MAAM,QAAQ,iBAAiB;EAC/B,iBAAiB,UAAU,CAAC;EAC5B,iBAAiB,YAAY,KAAK;EAElC,yBAAyB;CAC3B,CAAC;CACD,MAAM,iBAAiB;EACrB,iBAAiB,cAAc;EAC/B,mBAAmB;CACrB;CACA,iBAAsB,YAAY,QAAQ,KAAK,UAAU,QAAQ;AACnE;;;;AAKA,SAAgB,wBAAwB,MAAkC;CACxE,iBAAiB,cAAc;CAI/B,OAHwB,QAGH,CAAC,CAAC,YAAY,CAAC;CACpC,mBAAmB;AACrB;;;;AAKA,SAAgB,aAAqB;CACnC,OAAO,QAAQ,CAAC,CAAC,YAAY,CAAC;CAC9B,OAAO,iBAAiB;AAC1B;;;;;AAMA,SAAgB,sBAAsB,MAA0C;CAC9E,IAAI,CAAC,MACH;CAEF,cAAc,IAAI,IAAI;CACtB,MAAM,iBAAiB,cAAc,OAAO,IAAI;CAChD,KAAU,KAAK,UAAU,QAAQ;AACnC;;;;;;;;;AAUA,eAAsB,iBAAgC;CACpD,MAAM,kBAAkB,QAAQ;CAEhC,OAAO,MAAM;EACX,OAAO,gBAAgB,YAAY,CAAC;EACpC,sBAAsB;EACtB,mBAAmB;EAEnB,MAAM,UAAU,CACd,GAAI,iBAAiB,cAAc,CAAC,iBAAiB,YAAY,OAAO,IAAI,CAAC,GAC7E,GAAG,aACL;EACA,IAAI,QAAQ,SAAS,GAAG;GACtB,MAAM,QAAQ,IAAI,OAAO;GACzB;EACF;EAKA,MAAM,QAAQ,QAAQ;EACtB,OAAO,gBAAgB,YAAY,CAAC;EACpC,sBAAsB;EACtB,mBAAmB;EAEnB,IACE,CAAC,iBAAiB,eAClB,cAAc,SAAS,MACtB,CAAC,iBAAiB,aAAa,iBAAiB,QAAQ,WAAW,MACpE,CAAC,qBAAqB,GAEtB;CAEJ;AACF"}
|
package/dist/events.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/events.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Public framework event names.
|
|
4
|
+
* @link https://js-toolkit-v4.studiometa.dev/api/diagnostics/EVENTS.html
|
|
5
|
+
*/
|
|
6
|
+
declare const EVENTS: Readonly<{
|
|
7
|
+
readonly component: Readonly<{
|
|
8
|
+
readonly mounted: 'js-toolkit:component:mounted';
|
|
9
|
+
readonly unmounted: 'js-toolkit:component:unmounted';
|
|
10
|
+
}>;
|
|
11
|
+
readonly dom: Readonly<{
|
|
12
|
+
readonly update: 'js-toolkit:dom:update';
|
|
13
|
+
}>;
|
|
14
|
+
readonly diagnostic: 'js-toolkit:diagnostic';
|
|
15
|
+
}>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { EVENTS };
|