@ethlete/core 4.29.9 → 4.31.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/index.d.ts CHANGED
@@ -126,12 +126,8 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
126
126
  skipNextEnter: i0.ModelSignal<boolean>;
127
127
  constructor();
128
128
  ngAfterViewInit(): void;
129
- enter(config?: {
130
- onlyTransition?: boolean;
131
- }): void;
132
- leave(config?: {
133
- onlyTransition?: boolean;
134
- }): void;
129
+ enter(): void;
130
+ leave(): void;
135
131
  _forceState(state: AnimatedLifecycleState): void;
136
132
  static ɵfac: i0.ɵɵFactoryDeclaration<AnimatedLifecycleDirective, never>;
137
133
  static ɵdir: i0.ɵɵDirectiveDeclaration<AnimatedLifecycleDirective, "[etAnimatedLifecycle]", ["etAnimatedLifecycle"], { "skipNextEnter": { "alias": "skipNextEnter"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "skipNextEnter": "skipNextEnterChange"; }, never, never, true, [{ directive: typeof AnimatableDirective; inputs: {}; outputs: {}; }]>;
@@ -1802,8 +1798,15 @@ declare const injectRouteData: () => Signal<_angular_router.Data>;
1802
1798
  declare const injectRouteTitle: <T = string | null>(config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
1803
1799
  /** Inject all currently available path parameters as a signal */
1804
1800
  declare const injectPathParams: () => Signal<_angular_router.Params>;
1801
+ type InjectQueryParamConfig<T> = InjectUtilTransformConfig<string | null, T> & {
1802
+ /**
1803
+ * If true, the initial value will be read from the browser's url.
1804
+ * Note that this will not work with arrays or complex objects.
1805
+ */
1806
+ requireSync?: boolean;
1807
+ };
1805
1808
  /** Inject a specific query parameter as a signal */
1806
- declare const injectQueryParam: <T = string | null>(key: string, config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
1809
+ declare const injectQueryParam: <T = string | null>(key: string, config?: InjectQueryParamConfig<T>) => Signal<T>;
1807
1810
  /** Inject a specific route data item as a signal */
1808
1811
  declare const injectRouteDataItem: <T = unknown>(key: string, config?: InjectUtilTransformConfig<unknown, T>) => Signal<T>;
1809
1812
  /** Inject a specific path parameter as a signal */
@@ -1969,4 +1972,4 @@ declare const Validators: {
1969
1972
  };
1970
1973
 
1971
1974
  export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, ActiveSelectionModel, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, CURSOR_DRAG_SCROLLING_CLASS, CURSOR_DRAG_SCROLLING_PREPARED_CLASS, ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEBUG_TOKEN, DEFAULT_VIEWPORT_CONFIG, DELAYABLE_TOKEN, DISABLE_LOGGER_PARAM, DebugDirective, DelayableDirective, ET_PROPERTY_REMOVED, FocusVisibleService, IS_ACTIVE_ELEMENT, IS_ARRAY_NOT_EMPTY, IS_ELEMENT, IS_EMAIL, InferMimeTypePipe, IntersectionObserverFactory, IntersectionObserverService, IsActiveElementDirective, IsArrayNotEmpty, IsElementDirective, IsEmail, KeyPressManager, LetContext, LetDirective, MUST_MATCH, MatchStateType, Memo, MustMatch, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, OBSERVE_VISIBILITY_TOKEN, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, ObserveVisibilityDirective, PropsDirective, ROOT_BOUNDARY_TOKEN, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeObserverFactory, ResizeObserverService, RootBoundaryDirective, RouterStateService, RuntimeError, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_OBSERVING_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SelectionModel, SeoDirective, SmartBlockScrollStrategy, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, ValidateAtLeastOneRequired, Validators, ViewportService, areScrollStatesEqual, bindProps, boundingClientRectToElementRect, buildSignalEffects, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createCanAnimateSignal, createComponentId, createDependencyStash, createDestroy, createElementDictionary, createElementDimensions, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createMediaQueryObservable, createMutationObservable, createPropHandlers, createProps, createReactiveBindings, createResizeObservable, createSetup, debouncedControlValueSignal, deferredSignal, deleteCookie, elementCanScroll, equal, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getIntersectionInfo, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, hasCookie, inferMimeType, injectBreakpointIsMatched, injectCanHover, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsSm, injectIsXl, injectIsXs, injectObserveBreakpoint, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectTemplateRef, injectUrl, isArray, isElementVisible, isEmptyArray, isGroupMatch, isKnockoutMatch, isObject, isObjectArray, isPrimitiveArray, maybeSignalValue, mergeSeoConfig, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, previousSignalValue, provideViewportConfig, round, routerDisableScrollTop, scrollToElement, setCookie, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, signalVisibilityChangeClasses, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, transformOrReturn, unbindProps, useCursorDragScroll };
1972
- export type { AlternateLink, AnimatedLifecycleState, AnimatedOverlayComponentBase, AnyTemplateType, BindPropsOptions, Breakpoint, BuildMediaQueryOptions, BuildSignalEffectsConfig, ComponentTemplate, ComponentTypeWithInputs, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DebouncedControlValueSignalOptions, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSize, FacebookCard, FlipAnimationConfig, HostDirective, HostProps, InjectUtilConfig, InjectUtilTransformConfig, IsElementVisibleOptions, LogicalSize, MapLike, MaybeObservable, MaybeSignal, MemoConfig, MemoResolver, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, ObserveVisibilityChange, ObservedScrollableChild, OpenGraph, Primitive, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ReactiveAttributes, ReactiveBindingResult, Reference, RouterDisableScrollTopConfig, RouterState, ScrollEnhancementsConfig, ScrollObserverScrollState, ScrollToElementOptions, SelectionModelBinding, SelectionModelOptionValueFn, SelectionModelPropertyPath, SelectionModelTypes, SeoConfig, SignalElementIntersectionOptions, SignalElementScrollStateOptions, Size, StringTemplate, SyncSignalOptions, TemplateRefWithContext, Translatable, TwitterCard, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
1975
+ export type { AlternateLink, AnimatedLifecycleState, AnimatedOverlayComponentBase, AnyTemplateType, BindPropsOptions, Breakpoint, BuildMediaQueryOptions, BuildSignalEffectsConfig, ComponentTemplate, ComponentTypeWithInputs, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DebouncedControlValueSignalOptions, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSize, FacebookCard, FlipAnimationConfig, HostDirective, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IsElementVisibleOptions, LogicalSize, MapLike, MaybeObservable, MaybeSignal, MemoConfig, MemoResolver, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, ObserveVisibilityChange, ObservedScrollableChild, OpenGraph, Primitive, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ReactiveAttributes, ReactiveBindingResult, Reference, RouterDisableScrollTopConfig, RouterState, ScrollEnhancementsConfig, ScrollObserverScrollState, ScrollToElementOptions, SelectionModelBinding, SelectionModelOptionValueFn, SelectionModelPropertyPath, SelectionModelTypes, SeoConfig, SignalElementIntersectionOptions, SignalElementScrollStateOptions, Size, StringTemplate, SyncSignalOptions, TemplateRefWithContext, Translatable, TwitterCard, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "4.29.9",
3
+ "version": "4.31.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "@angular/cdk": "20.2.2",
8
- "@angular/common": "20.3.0",
9
- "@angular/core": "20.3.0",
10
- "@angular/forms": "20.3.0",
11
- "@angular/platform-browser": "20.3.0",
12
- "@angular/router": "20.3.0",
7
+ "@angular/cdk": "20.2.8",
8
+ "@angular/common": "20.3.4",
9
+ "@angular/core": "20.3.4",
10
+ "@angular/forms": "20.3.4",
11
+ "@angular/platform-browser": "20.3.4",
12
+ "@angular/router": "20.3.4",
13
13
  "@ethlete/types": "^1.6.2",
14
14
  "@floating-ui/dom": "1.7.4",
15
15
  "rxjs": "7.8.2"