@ethlete/core 5.0.0-next.15 → 5.0.0-next.16
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/CHANGELOG.md +6 -0
- package/fesm2022/ethlete-core.mjs +287 -17
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ethlete-core.d.ts +1323 -1246
package/types/ethlete-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, AfterViewInit, Signal, ComponentRef, StaticProvider, EmbeddedViewRef,
|
|
2
|
+
import { InjectionToken, AfterViewInit, Signal, ComponentRef, StaticProvider, EmbeddedViewRef, WritableSignal, InputSignalWithTransform, ElementRef, QueryList, RendererStyleFlags2, Type, Provider, Injector, ViewContainerRef, computed, InjectOptions, TemplateRef, InputSignal, PipeTransform, TrackByFunction, DestroyRef, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
5
5
|
import * as _ethlete_core from '@ethlete/core';
|
|
@@ -8,7 +8,7 @@ import { ComponentPortal, ComponentType } from '@angular/cdk/portal';
|
|
|
8
8
|
import { Placement, OffsetOptions, Padding } from '@floating-ui/dom';
|
|
9
9
|
import { MatchListView, ParticipantViewUnion, MatchRankingView, StageType } from '@ethlete/types';
|
|
10
10
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
11
|
-
import {
|
|
11
|
+
import { AbstractControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
12
12
|
import * as _angular_router from '@angular/router';
|
|
13
13
|
import { Data, Params } from '@angular/router';
|
|
14
14
|
|
|
@@ -37,6 +37,14 @@ declare class AnimatableDirective {
|
|
|
37
37
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatableDirective, "[etAnimatable]", ["etAnimatable"], {}, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
declare const ANIMATION_DEBUG_STORAGE_KEY = "et-overlay-debug";
|
|
41
|
+
/**
|
|
42
|
+
* Debug logging for overlay and animation lifecycle internals.
|
|
43
|
+
* Enable via `localStorage.setItem('et-overlay-debug', 'true')` and reload.
|
|
44
|
+
*/
|
|
45
|
+
declare const isAnimationDebugEnabled: () => boolean;
|
|
46
|
+
declare const animationDebugLog: (scope: string, ...args: unknown[]) => void;
|
|
47
|
+
|
|
40
48
|
declare const ANIMATED_IF_TOKEN: InjectionToken<AnimatedIfDirective>;
|
|
41
49
|
declare class AnimatedIfDirective {
|
|
42
50
|
private templateRef;
|
|
@@ -78,6 +86,7 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
|
|
|
78
86
|
private removeClass;
|
|
79
87
|
private removeClasses;
|
|
80
88
|
private updateState;
|
|
89
|
+
private debugLog;
|
|
81
90
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedLifecycleDirective, never>;
|
|
82
91
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedLifecycleDirective, "[etAnimatedLifecycle]", ["etAnimatedLifecycle"], { "skipNextEnter": { "alias": "skipNextEnter"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "skipNextEnter": "skipNextEnterChange"; }, never, never, true, [{ directive: typeof AnimatableDirective; inputs: {}; outputs: {}; }]>;
|
|
83
92
|
}
|
|
@@ -551,159 +560,109 @@ declare class ScrollObserverStartDirective {
|
|
|
551
560
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverStartDirective, "[etScrollObserverStart]", never, {}, {}, never, never, true, never>;
|
|
552
561
|
}
|
|
553
562
|
|
|
554
|
-
declare
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
type DragMoveEvent = {
|
|
570
|
-
readonly stepX: number;
|
|
571
|
-
readonly stepY: number;
|
|
572
|
-
readonly clientX: number;
|
|
573
|
-
readonly clientY: number;
|
|
574
|
-
};
|
|
575
|
-
declare class DragHandleDirective {
|
|
576
|
-
private el;
|
|
577
|
-
commitThreshold: _angular_core.InputSignal<number>;
|
|
578
|
-
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
579
|
-
private gestureStart$;
|
|
580
|
-
private gesture$;
|
|
581
|
-
dragTapped: _angular_core.OutputRef<void>;
|
|
582
|
-
dragStarted: _angular_core.OutputRef<void>;
|
|
583
|
-
dragMoved: _angular_core.OutputRef<DragMoveEvent>;
|
|
584
|
-
dragEnded: _angular_core.OutputRef<void>;
|
|
585
|
-
isDragging: _angular_core.Signal<boolean>;
|
|
586
|
-
constructor();
|
|
587
|
-
startGesture(event: PointerEvent): void;
|
|
588
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DragHandleDirective, never>;
|
|
589
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DragHandleDirective, "[etDragHandle]", never, { "commitThreshold": { "alias": "commitThreshold"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "dragTapped": "dragTapped"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; }, never, never, true, never>;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
type OverlayRuntimeRole = 'dialog' | 'alertdialog';
|
|
593
|
-
type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
594
|
-
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer';
|
|
595
|
-
type OverlayRuntimeCenteredPosition = {
|
|
596
|
-
kind: 'center';
|
|
597
|
-
};
|
|
598
|
-
type OverlayRuntimeAnchoredPosition = {
|
|
599
|
-
kind: 'anchored';
|
|
600
|
-
referenceElement: HTMLElement;
|
|
601
|
-
placement?: Placement;
|
|
602
|
-
fallbackPlacements?: Placement[];
|
|
603
|
-
offset?: OffsetOptions | null;
|
|
604
|
-
arrowPadding?: Padding | null;
|
|
605
|
-
viewportPadding?: Padding | null;
|
|
606
|
-
autoResize?: boolean;
|
|
607
|
-
shift?: boolean;
|
|
608
|
-
autoHide?: boolean;
|
|
609
|
-
autoCloseIfReferenceHidden?: boolean;
|
|
610
|
-
mirrorWidth?: boolean;
|
|
611
|
-
};
|
|
612
|
-
type OverlayRuntimePositionStrategy = OverlayRuntimeCenteredPosition | OverlayRuntimeAnchoredPosition;
|
|
613
|
-
type OverlayRuntimeElements = {
|
|
614
|
-
rootElement: HTMLElement;
|
|
615
|
-
hostElement: HTMLElement;
|
|
616
|
-
backdropElement: HTMLElement | null;
|
|
617
|
-
paneElement: HTMLElement;
|
|
618
|
-
};
|
|
619
|
-
type OverlayRuntimeCloseEvent<TResult = unknown> = {
|
|
620
|
-
result: TResult | undefined;
|
|
621
|
-
source: OverlayRuntimeCloseSource;
|
|
622
|
-
};
|
|
623
|
-
type OverlayRuntimeComponentBase = {
|
|
624
|
-
animatedLifecycle?: Signal<AnimatedLifecycleDirective | undefined>;
|
|
625
|
-
};
|
|
626
|
-
type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
627
|
-
id: string;
|
|
628
|
-
component: Type<TComponent>;
|
|
629
|
-
viewContainerRef?: ViewContainerRef;
|
|
630
|
-
injector?: Injector;
|
|
631
|
-
providers?: StaticProvider[];
|
|
632
|
-
role?: OverlayRuntimeRole;
|
|
633
|
-
positionStrategy?: OverlayRuntimePositionStrategy;
|
|
634
|
-
hasBackdrop?: boolean;
|
|
635
|
-
modal?: boolean;
|
|
636
|
-
autoFocus?: OverlayRuntimeAutoFocusTarget | string | false;
|
|
637
|
-
restoreFocus?: boolean;
|
|
638
|
-
closeOnEscape?: boolean;
|
|
639
|
-
closeOnOutsidePointer?: boolean;
|
|
640
|
-
ariaDescribedBy?: string | null;
|
|
641
|
-
ariaLabelledBy?: string | null;
|
|
642
|
-
ariaLabel?: string | null;
|
|
643
|
-
hostClass?: string[];
|
|
644
|
-
backdropClass?: string[];
|
|
645
|
-
paneClass?: string[];
|
|
646
|
-
inputBindings?: Record<string, unknown>;
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
type OverlayRuntimeState = 'mounting' | 'mounted' | 'closing' | 'closed';
|
|
650
|
-
declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unknown>(id: string, config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">, elements: OverlayRuntimeElements, requestClose: (result: TResult | undefined, source: OverlayRuntimeCloseSource) => void) => {
|
|
651
|
-
id: string;
|
|
652
|
-
config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">;
|
|
653
|
-
elements: OverlayRuntimeElements;
|
|
654
|
-
state: _angular_core.Signal<OverlayRuntimeState>;
|
|
655
|
-
componentInstance: _angular_core.Signal<TComponent | null>;
|
|
656
|
-
beforeOpenedSubject: Subject<void>;
|
|
657
|
-
close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
658
|
-
beforeOpened(): Observable<void>;
|
|
659
|
-
afterOpened(): Observable<void>;
|
|
660
|
-
beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
661
|
-
afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
662
|
-
attachComponentRef(componentRef: ComponentRef<TComponent>): void;
|
|
663
|
-
markOpened(): void;
|
|
664
|
-
beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
|
|
665
|
-
finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
|
|
563
|
+
declare const previousSignalValue: <T>(signal: Signal<T>) => Signal<T | undefined>;
|
|
564
|
+
type SyncSignalOptions = {
|
|
565
|
+
/**
|
|
566
|
+
* If true, the target signal will not be updated with the source signal's value in a sync operation.
|
|
567
|
+
* This should be set to true for signals that need to be initialized first before syncing (eg. required inputs)
|
|
568
|
+
* @default false
|
|
569
|
+
*/
|
|
570
|
+
skipSyncRead?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* If true, the first time the effect will be triggered will be skipped.
|
|
573
|
+
* @default false
|
|
574
|
+
*/
|
|
575
|
+
skipFirstRun?: boolean;
|
|
666
576
|
};
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
declare const
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
declare const
|
|
675
|
-
|
|
676
|
-
|
|
577
|
+
declare const syncSignal: <T>(from: Signal<T>, to: WritableSignal<T>, options?: SyncSignalOptions) => _angular_core.EffectRef;
|
|
578
|
+
type MaybeSignal<T> = T | Signal<T>;
|
|
579
|
+
declare const maybeSignalValue: <T>(value: MaybeSignal<T>) => T;
|
|
580
|
+
/**
|
|
581
|
+
* A computed that will only be reactive until the source signal contains a truthy value.
|
|
582
|
+
* All subsequent changes inside the computation will be ignored.
|
|
583
|
+
*/
|
|
584
|
+
declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | null>;
|
|
585
|
+
/**
|
|
586
|
+
* A computed that will only be reactive until the source signal contains a falsy value.
|
|
587
|
+
* All subsequent changes inside the computation will be ignored.
|
|
588
|
+
*/
|
|
589
|
+
declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
|
|
590
|
+
/**
|
|
591
|
+
* A writeable signal that will be set to the provided value once all inputs are set.
|
|
592
|
+
* During that time, the signal will be set to `null`.
|
|
593
|
+
*/
|
|
594
|
+
declare const deferredSignal: <T extends () => unknown>(valueFn: T) => WritableSignal<ReturnType<T> | null>;
|
|
595
|
+
declare const memoizeSignal: <T>(factory: () => Signal<T>) => () => Signal<T>;
|
|
677
596
|
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
597
|
+
type SignalAnimatedNumberOptions = {
|
|
598
|
+
/**
|
|
599
|
+
* The initial value to start animating from.
|
|
600
|
+
* If not provided, the animation will start from 0
|
|
601
|
+
*/
|
|
602
|
+
initialValue?: number;
|
|
603
|
+
/**
|
|
604
|
+
* Duration of the animation in milliseconds.
|
|
605
|
+
* @default 1000
|
|
606
|
+
*/
|
|
607
|
+
duration?: number;
|
|
608
|
+
/**
|
|
609
|
+
* Easing function that takes a progress value (0 to 1) and returns an eased value (0 to 1).
|
|
610
|
+
* Options:
|
|
611
|
+
* - `easeLinear()`
|
|
612
|
+
* - `easeIn()`
|
|
613
|
+
* - `easeOut()`
|
|
614
|
+
* - `easeInOut()`
|
|
615
|
+
* - `easeElastic()`
|
|
616
|
+
* - `easeOutBack()`
|
|
617
|
+
* - `easeOutBackStrong()`
|
|
618
|
+
* @default easeOut()
|
|
619
|
+
*/
|
|
620
|
+
easing?: (t: number) => number;
|
|
621
|
+
/**
|
|
622
|
+
* Function to round the animated value.
|
|
623
|
+
* @default (v: number) => Math.round(v)
|
|
624
|
+
*/
|
|
625
|
+
round?: (value: number) => number;
|
|
626
|
+
/**
|
|
627
|
+
* Callback invoked when the animation starts.
|
|
628
|
+
*/
|
|
629
|
+
onAnimationStart?: () => void;
|
|
630
|
+
/**
|
|
631
|
+
* Callback invoked when the animation ends.
|
|
632
|
+
*/
|
|
633
|
+
onAnimationEnd?: () => void;
|
|
684
634
|
};
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
} | null;
|
|
635
|
+
type AnimatedNumberSignal = Signal<number> & {
|
|
636
|
+
/**
|
|
637
|
+
* Starts the animation from the current value to the target value.
|
|
638
|
+
* @returns The animated signal for chaining
|
|
639
|
+
*/
|
|
640
|
+
play: () => AnimatedNumberSignal;
|
|
641
|
+
/**
|
|
642
|
+
* Resets the animation to the initial value and stops any ongoing animation.
|
|
643
|
+
* @returns The animated signal for chaining
|
|
644
|
+
*/
|
|
645
|
+
reset: () => AnimatedNumberSignal;
|
|
646
|
+
/**
|
|
647
|
+
* Stops the current animation at its current position.
|
|
648
|
+
* @returns The animated signal for chaining
|
|
649
|
+
*/
|
|
650
|
+
stop: () => AnimatedNumberSignal;
|
|
702
651
|
};
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
652
|
+
/**
|
|
653
|
+
* Creates a signal that animates the transition of a numeric signal's value over time.
|
|
654
|
+
*/
|
|
655
|
+
declare const signalAnimatedNumber: (source: MaybeSignal<number>, options?: SignalAnimatedNumberOptions) => AnimatedNumberSignal;
|
|
656
|
+
declare const easeLinear: (t: number) => number;
|
|
657
|
+
declare const easeIn: (t: number) => number;
|
|
658
|
+
declare const easeOut: (t: number) => number;
|
|
659
|
+
declare const easeInOut: (t: number) => number;
|
|
660
|
+
/** Elastic easing function (overshoots) */
|
|
661
|
+
declare const easeElastic: (t: number) => number;
|
|
662
|
+
/** Back easing function (overshoots slightly then settles) */
|
|
663
|
+
declare const easeOutBack: (t: number) => number;
|
|
664
|
+
/** Back easing function with more overshoot */
|
|
665
|
+
declare const easeOutBackStrong: (t: number) => number;
|
|
707
666
|
|
|
708
667
|
type Vec2 = [number, number];
|
|
709
668
|
type ViewportConfig = {
|
|
@@ -765,14 +724,249 @@ declare const injectBreakpointObserver: {
|
|
|
765
724
|
} | null;
|
|
766
725
|
};
|
|
767
726
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
727
|
+
type BreakpointMap<T> = Partial<Record<Breakpoint, T>>;
|
|
728
|
+
type BreakpointInput<T> = T | BreakpointMap<T>;
|
|
729
|
+
declare const breakpointTransformBase: <T, WriteT = BreakpointInput<T>>(coerce: (value: WriteT) => T) => ((value: WriteT) => T);
|
|
730
|
+
/**
|
|
731
|
+
* Transform factory for boolean inputs.
|
|
732
|
+
* Coerces plain values with `booleanAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
733
|
+
*
|
|
734
|
+
* @example
|
|
735
|
+
* snap = input(false, { transform: boolBreakpointTransform() });
|
|
736
|
+
* // Template: `snap` | `[snap]="true"` | `[snap]="{ xs: false, md: true }"`
|
|
737
|
+
*/
|
|
738
|
+
declare const boolBreakpointTransform: () => ((value: BreakpointInput<boolean> | string) => boolean);
|
|
739
|
+
/**
|
|
740
|
+
* Transform factory for number inputs.
|
|
741
|
+
* Coerces plain values with `numberAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
742
|
+
*
|
|
743
|
+
* @example
|
|
744
|
+
* scrollMargin = input(0, { transform: numberBreakpointTransform() });
|
|
745
|
+
* // Template: `[scrollMargin]="16"` | `[scrollMargin]="{ xs: 0, md: 16 }"`
|
|
746
|
+
*/
|
|
747
|
+
declare const numberBreakpointTransform: () => ((value: BreakpointInput<number> | string) => number);
|
|
748
|
+
/**
|
|
749
|
+
* Transform factory for any typed input (string unions, arrays, objects, etc.).
|
|
750
|
+
* Passes plain values through as-is; resolves {@link BreakpointMap} mobile-first.
|
|
751
|
+
* A value is treated as a {@link BreakpointMap} only when all its keys are valid breakpoint names.
|
|
752
|
+
*
|
|
753
|
+
* @example
|
|
754
|
+
* itemSize = input('auto', { transform: typedBreakpointTransform<ScrollableItemSize>() });
|
|
755
|
+
* tags = input([], { transform: typedBreakpointTransform<string[]>() });
|
|
756
|
+
* // Template: `[itemSize]="'third'"` | `[itemSize]="{ xs: 'full', md: 'third' }"`
|
|
757
|
+
*/
|
|
758
|
+
declare const typedBreakpointTransform: <T>() => ((value: BreakpointInput<T>) => T);
|
|
759
|
+
type BoolBreakpointSignal = InputSignalWithTransform<boolean, BreakpointInput<boolean> | string>;
|
|
760
|
+
type NumberBreakpointSignal = InputSignalWithTransform<number, BreakpointInput<number> | string>;
|
|
761
|
+
type TypedBreakpointSignal<T> = InputSignalWithTransform<T, BreakpointInput<T>>;
|
|
762
|
+
declare const injectBreakpointInput: <T>(inputSignal: Signal<BreakpointInput<T>>, defaultValue: T) => Signal<T>;
|
|
763
|
+
declare const booleanBreakpointAttribute: (value: unknown) => BreakpointInput<boolean>;
|
|
764
|
+
declare const numberBreakpointAttribute: (value: unknown) => BreakpointInput<number>;
|
|
765
|
+
declare const BREAKPOINT_INSTANCE_TOKEN: InjectionToken<unknown>;
|
|
766
|
+
declare const provideBreakpointInstance: (componentClass: unknown) => {
|
|
767
|
+
provide: InjectionToken<unknown>;
|
|
768
|
+
useExisting: unknown;
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
type ControlValueSignalOptions = {
|
|
772
|
+
debounceTime?: number;
|
|
773
|
+
/**
|
|
774
|
+
* @default false
|
|
775
|
+
*/
|
|
776
|
+
debounceFirst?: boolean;
|
|
777
|
+
};
|
|
778
|
+
declare const controlValueSignal: <TControlInput extends Signal<AbstractControl | null> | AbstractControl, TControl extends TControlInput extends Signal<infer TSignalControl> ? TSignalControl : TControlInput>(control: TControlInput, options?: ControlValueSignalOptions) => Signal<ReturnType<NonNullable<TControl>["getRawValue"]> | null>;
|
|
779
|
+
/**
|
|
780
|
+
* The first item in the pair is the previous value and the second item is the current value.
|
|
781
|
+
*/
|
|
782
|
+
declare const controlValueSignalWithPrevious: <T extends AbstractControl>(control: T, options?: ControlValueSignalOptions) => Signal<[ReturnType<NonNullable<T extends Signal<infer TSignalControl> ? TSignalControl : T>["getRawValue"]> | null, ReturnType<NonNullable<T extends Signal<infer TSignalControl> ? TSignalControl : T>["getRawValue"]> | null]>;
|
|
783
|
+
|
|
784
|
+
type SignalElementBindingComplexType = HTMLElement | ElementRef<HTMLElement> | QueryList<ElementRef<HTMLElement> | HTMLElement> | Array<ElementRef<HTMLElement> | HTMLElement> | null | undefined;
|
|
785
|
+
type SignalElementBindingType = HTMLElement | ElementRef<HTMLElement> | Observable<SignalElementBindingComplexType> | Signal<SignalElementBindingComplexType> | QueryList<ElementRef<HTMLElement> | HTMLElement> | ElementSignal;
|
|
786
|
+
type ElementSignal = Signal<{
|
|
787
|
+
currentElements: HTMLElement[];
|
|
788
|
+
previousElements: HTMLElement[];
|
|
789
|
+
}>;
|
|
790
|
+
type ElementSignalValue = ReturnType<ElementSignal>;
|
|
791
|
+
declare const isElementSignal: (el: unknown) => el is ElementSignal;
|
|
792
|
+
declare const createDocumentElementSignal: () => ElementSignal;
|
|
793
|
+
declare const createEmptyElementSignal: () => ElementSignal;
|
|
794
|
+
declare const buildElementSignal: (el: SignalElementBindingType | null | undefined) => ElementSignal;
|
|
795
|
+
declare const firstElementSignal: (el: ElementSignal) => Signal<{
|
|
796
|
+
currentElement: HTMLElement | null;
|
|
797
|
+
previousElement: HTMLElement | null;
|
|
798
|
+
}>;
|
|
799
|
+
|
|
800
|
+
declare const signalElementChildren: (el: SignalElementBindingType) => _angular_core.Signal<HTMLElement[]>;
|
|
801
|
+
|
|
802
|
+
type BuildSignalEffectsConfig<T extends Record<string, Signal<unknown>>> = {
|
|
803
|
+
/** The tokens to apply and their signal value */
|
|
804
|
+
tokenMap: T;
|
|
805
|
+
/** This function will be invoked for elements that were removed from the signal effects */
|
|
806
|
+
cleanupFn: (el: HTMLElement, tokens: string[]) => void;
|
|
807
|
+
/** This function will be invoked for elements that were added to the signal effects or when their signal value changes */
|
|
808
|
+
updateFn: (el: HTMLElement, tokens: string[], conditionResult: unknown) => void;
|
|
809
|
+
};
|
|
810
|
+
declare const buildSignalEffects: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, config: BuildSignalEffectsConfig<T>) => {
|
|
811
|
+
remove: (tokens: string) => void;
|
|
812
|
+
removeMany: (tokens: string[]) => void;
|
|
813
|
+
has: (tokens: string) => boolean;
|
|
814
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
815
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
816
|
+
};
|
|
817
|
+
declare const signalClasses: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, classMap: T) => {
|
|
818
|
+
remove: (tokens: string) => void;
|
|
819
|
+
removeMany: (tokens: string[]) => void;
|
|
820
|
+
has: (tokens: string) => boolean;
|
|
821
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
822
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
823
|
+
};
|
|
824
|
+
declare const signalHostClasses: <T extends Record<string, Signal<unknown>>>(classMap: T) => {
|
|
825
|
+
remove: (tokens: string) => void;
|
|
826
|
+
removeMany: (tokens: string[]) => void;
|
|
827
|
+
has: (tokens: string) => boolean;
|
|
828
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
829
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
830
|
+
};
|
|
831
|
+
declare const signalAttributes: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, attributeMap: T) => {
|
|
832
|
+
remove: (tokens: string) => void;
|
|
833
|
+
removeMany: (tokens: string[]) => void;
|
|
834
|
+
has: (tokens: string) => boolean;
|
|
835
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
836
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
837
|
+
};
|
|
838
|
+
declare const signalHostAttributes: <T extends Record<string, Signal<unknown>>>(attributeMap: T) => {
|
|
839
|
+
remove: (tokens: string) => void;
|
|
840
|
+
removeMany: (tokens: string[]) => void;
|
|
841
|
+
has: (tokens: string) => boolean;
|
|
842
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
843
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
844
|
+
};
|
|
845
|
+
declare const signalStyles: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, styleMap: T) => {
|
|
846
|
+
remove: (tokens: string) => void;
|
|
847
|
+
removeMany: (tokens: string[]) => void;
|
|
848
|
+
has: (tokens: string) => boolean;
|
|
849
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
850
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
851
|
+
};
|
|
852
|
+
declare const signalHostStyles: <T extends Record<string, Signal<unknown>>>(styleMap: T) => {
|
|
853
|
+
remove: (tokens: string) => void;
|
|
854
|
+
removeMany: (tokens: string[]) => void;
|
|
855
|
+
has: (tokens: string) => boolean;
|
|
856
|
+
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
857
|
+
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
type LogicalSize = {
|
|
861
|
+
inlineSize: number;
|
|
862
|
+
blockSize: number;
|
|
863
|
+
};
|
|
864
|
+
type ElementRect = {
|
|
865
|
+
bottom: number;
|
|
866
|
+
height: number;
|
|
867
|
+
left: number;
|
|
868
|
+
right: number;
|
|
869
|
+
top: number;
|
|
870
|
+
width: number;
|
|
871
|
+
x: number;
|
|
872
|
+
y: number;
|
|
873
|
+
};
|
|
874
|
+
type ElementSize = {
|
|
875
|
+
width: number;
|
|
876
|
+
height: number;
|
|
877
|
+
};
|
|
878
|
+
declare const boundingClientRectToElementRect: (rect: DOMRectReadOnly) => ElementRect;
|
|
879
|
+
declare const createElementDimensions: (el: HTMLElement | null, rect?: DOMRect) => NullableElementDimensions;
|
|
880
|
+
type ElementDimensions = {
|
|
881
|
+
rect: () => ElementRect;
|
|
882
|
+
client: ElementSize;
|
|
883
|
+
scroll: ElementSize;
|
|
884
|
+
offset: ElementSize;
|
|
885
|
+
};
|
|
886
|
+
type NullableElementDimensions = {
|
|
887
|
+
[K in keyof ElementDimensions]: ElementDimensions[K] | null;
|
|
888
|
+
};
|
|
889
|
+
declare const signalElementDimensions: (el: SignalElementBindingType) => Signal<NullableElementDimensions>;
|
|
890
|
+
declare const signalHostElementDimensions: () => Signal<NullableElementDimensions>;
|
|
891
|
+
declare const injectViewportSize: () => Signal<ElementSize>;
|
|
892
|
+
|
|
893
|
+
type SignalElementIntersectionOptions = Omit<IntersectionObserverInit, 'root'> & {
|
|
894
|
+
root?: SignalElementBindingType;
|
|
895
|
+
enabled?: Signal<boolean>;
|
|
896
|
+
};
|
|
897
|
+
type IntersectionObserverEntryWithDetails = IntersectionObserverEntry & {
|
|
898
|
+
isAbove: boolean;
|
|
899
|
+
isBelow: boolean;
|
|
900
|
+
isLeft: boolean;
|
|
901
|
+
isRight: boolean;
|
|
902
|
+
isVisible: boolean;
|
|
903
|
+
};
|
|
904
|
+
declare const signalElementIntersection: (el: SignalElementBindingType, options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
|
|
905
|
+
declare const signalHostElementIntersection: (options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
|
|
906
|
+
|
|
907
|
+
declare const signalElementMutations: (el: SignalElementBindingType, options?: MutationObserverInit) => _angular_core.Signal<MutationRecord | null>;
|
|
908
|
+
declare const signalHostElementMutations: (options?: MutationObserverInit) => _angular_core.Signal<MutationRecord | null>;
|
|
909
|
+
|
|
910
|
+
type ElementLastScrollDirectionType = 'up' | 'down' | 'left' | 'right';
|
|
911
|
+
type ElementLastScrollDirection = {
|
|
912
|
+
type: ElementLastScrollDirectionType;
|
|
913
|
+
time: number;
|
|
914
|
+
};
|
|
915
|
+
declare const signalElementLastScrollDirection: (el: SignalElementBindingType) => _angular_core.Signal<ElementLastScrollDirection | null>;
|
|
916
|
+
declare const signalHostElementLastScrollDirection: () => _angular_core.Signal<ElementLastScrollDirection | null>;
|
|
917
|
+
|
|
918
|
+
type SignalElementScrollStateOptions = {
|
|
919
|
+
/** The initial scroll position to scroll to. Once a truthy value get's emitted, all further values will be ignored. */
|
|
920
|
+
initialScrollPosition?: Signal<ScrollToOptions | null>;
|
|
921
|
+
};
|
|
922
|
+
type ElementScrollState = {
|
|
923
|
+
canScroll: boolean;
|
|
924
|
+
canScrollHorizontally: boolean;
|
|
925
|
+
canScrollVertically: boolean;
|
|
926
|
+
elementDimensions: NullableElementDimensions;
|
|
927
|
+
};
|
|
928
|
+
declare const areScrollStatesEqual: (a: ElementScrollState, b: ElementScrollState) => boolean;
|
|
929
|
+
declare const signalElementScrollState: (el: SignalElementBindingType, options?: SignalElementScrollStateOptions) => Signal<ElementScrollState>;
|
|
930
|
+
declare const signalHostElementScrollState: () => Signal<ElementScrollState>;
|
|
931
|
+
|
|
932
|
+
declare const injectAngularRootElement: {
|
|
933
|
+
(): _angular_core.WritableSignal<HTMLElement | null>;
|
|
934
|
+
(options: _angular_core.InjectOptions & {
|
|
935
|
+
optional?: false;
|
|
936
|
+
}): _angular_core.WritableSignal<HTMLElement | null>;
|
|
937
|
+
(options: _angular_core.InjectOptions): _angular_core.WritableSignal<HTMLElement | null> | null;
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
declare const provideBoundaryElement: () => _angular_core.Provider[];
|
|
941
|
+
declare const injectBoundaryElement: {
|
|
942
|
+
(): {
|
|
943
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
944
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
945
|
+
};
|
|
946
|
+
(options: _angular_core.InjectOptions & {
|
|
947
|
+
optional?: false;
|
|
948
|
+
}): {
|
|
949
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
950
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
951
|
+
};
|
|
952
|
+
(options: _angular_core.InjectOptions): {
|
|
953
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
954
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
955
|
+
} | null;
|
|
956
|
+
};
|
|
957
|
+
declare const BOUNDARY_ELEMENT_TOKEN: _angular_core.InjectionToken<{
|
|
958
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
959
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
960
|
+
}>;
|
|
961
|
+
|
|
962
|
+
declare const provideFocusVisibleTracker: () => _angular_core.Provider[];
|
|
963
|
+
declare const injectFocusVisibleTracker: {
|
|
964
|
+
(): {
|
|
965
|
+
isFocusVisible: _angular_core.Signal<boolean>;
|
|
966
|
+
};
|
|
967
|
+
(options: _angular_core.InjectOptions & {
|
|
968
|
+
optional?: false;
|
|
969
|
+
}): {
|
|
776
970
|
isFocusVisible: _angular_core.Signal<boolean>;
|
|
777
971
|
};
|
|
778
972
|
(options: _angular_core.InjectOptions): {
|
|
@@ -966,1199 +1160,1082 @@ type CreateUserConsentProviderOptions = {
|
|
|
966
1160
|
};
|
|
967
1161
|
declare const createUserConsentProvider: (options: CreateUserConsentProviderOptions) => Provider;
|
|
968
1162
|
|
|
969
|
-
|
|
970
|
-
declare const
|
|
971
|
-
|
|
972
|
-
declare const
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
declare const
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1163
|
+
/** Inject a signal containing a boolean value indicating if the viewport is xs */
|
|
1164
|
+
declare const injectIsXs: () => _angular_core.Signal<boolean>;
|
|
1165
|
+
/** Inject a signal containing a boolean value indicating if the viewport is sm */
|
|
1166
|
+
declare const injectIsSm: () => _angular_core.Signal<boolean>;
|
|
1167
|
+
/** Inject a signal containing a boolean value indicating if the viewport is md */
|
|
1168
|
+
declare const injectIsMd: () => _angular_core.Signal<boolean>;
|
|
1169
|
+
/** Inject a signal containing a boolean value indicating if the viewport is lg */
|
|
1170
|
+
declare const injectIsLg: () => _angular_core.Signal<boolean>;
|
|
1171
|
+
/** Inject a signal containing a boolean value indicating if the viewport is xl */
|
|
1172
|
+
declare const injectIsXl: () => _angular_core.Signal<boolean>;
|
|
1173
|
+
/** Inject a signal containing a boolean value indicating if the viewport is 2xl */
|
|
1174
|
+
declare const injectIs2Xl: () => _angular_core.Signal<boolean>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Inject a boolean value indicating if the viewport is matching the provided options.
|
|
1177
|
+
* This value is not reactive. If you want to react to changes, use the {@link injectObserveBreakpoint} function instead.
|
|
1178
|
+
*/
|
|
1179
|
+
declare const injectBreakpointIsMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
1180
|
+
/**
|
|
1181
|
+
* Inject a boolean value indicating if the media query is matched.
|
|
1182
|
+
* This value is not reactive. If you want to react to changes, use the {@link injectObserveMediaQuery} function instead.
|
|
1183
|
+
*/
|
|
1184
|
+
declare const injectMediaQueryIsMatched: (mediaQuery: string) => boolean;
|
|
1185
|
+
/**
|
|
1186
|
+
* Inject a signal containing a boolean value indicating if the viewport is matching the provided options.
|
|
1187
|
+
*/
|
|
1188
|
+
declare const injectObserveBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Inject a signal containing a boolean value indicating if the media query is matched.
|
|
1191
|
+
*/
|
|
1192
|
+
declare const injectObserveMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
1193
|
+
/** Inject a signal containing the current breakpoint. */
|
|
1194
|
+
declare const injectCurrentBreakpoint: () => _angular_core.Signal<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
1195
|
+
/** Inject a signal that indicates if the user is using a portrait display */
|
|
1196
|
+
declare const injectIsPortrait: () => _angular_core.Signal<boolean>;
|
|
1197
|
+
/** Inject a signal that indicates if the user is using a landscape display */
|
|
1198
|
+
declare const injectIsLandscape: () => _angular_core.Signal<boolean>;
|
|
1199
|
+
/** Inject a signal containing the current display orientation */
|
|
1200
|
+
declare const injectDisplayOrientation: () => _angular_core.Signal<"portrait" | "landscape">;
|
|
1201
|
+
/** Inject a signal that indicates if the device has a touch input */
|
|
1202
|
+
declare const injectHasTouchInput: () => _angular_core.Signal<boolean>;
|
|
1203
|
+
/** Inject a signal that indicates if the device has a fine input (mouse or stylus) */
|
|
1204
|
+
declare const injectHasPrecisionInput: () => _angular_core.Signal<boolean>;
|
|
1205
|
+
/** Inject a signal containing the current device input type */
|
|
1206
|
+
declare const injectDeviceInputType: () => _angular_core.Signal<"touch" | "mouse">;
|
|
1207
|
+
/** Inject a signal containing a boolean value indicating if the user can hover (eg. using a mouse) */
|
|
1208
|
+
declare const injectCanHover: () => _angular_core.Signal<boolean>;
|
|
1209
|
+
/** Inject a signal containing the viewport dimensions */
|
|
1210
|
+
declare const injectViewportDimensions: () => _angular_core.Signal<_ethlete_core.NullableElementDimensions>;
|
|
1211
|
+
/** Inject a signal containing the scrollbar dimensions. Dimensions will be 0 if scrollbars overlap the page contents (like on mobile). */
|
|
1212
|
+
declare const injectScrollbarDimensions: () => _angular_core.Signal<{
|
|
1213
|
+
width: number;
|
|
1214
|
+
height: number;
|
|
1215
|
+
} | null>;
|
|
987
1216
|
|
|
988
|
-
|
|
1217
|
+
/**
|
|
1218
|
+
* Applies scrollbar size CSS variables to the documentElement (html tag) in pixels.
|
|
1219
|
+
* - `--et-sw`: scrollbar width
|
|
1220
|
+
* - `--et-sh`: scrollbar height
|
|
1221
|
+
*/
|
|
1222
|
+
declare const writeScrollbarSizeToCssVariables: () => void;
|
|
1223
|
+
/**
|
|
1224
|
+
* Applies viewport size CSS variables to the documentElement (html tag) in pixels.
|
|
1225
|
+
* - `--et-vw`: viewport width excluding scrollbar width
|
|
1226
|
+
* - `--et-vh`: viewport height excluding scrollbar height
|
|
1227
|
+
*/
|
|
1228
|
+
declare const writeViewportSizeToCssVariables: () => void;
|
|
989
1229
|
|
|
990
|
-
|
|
1230
|
+
type CursorDragScrollDirection = 'horizontal' | 'vertical' | 'both';
|
|
1231
|
+
type CursorDragScrollOptions = {
|
|
1232
|
+
/** If true, cursor drag scrolling will be enabled. */
|
|
1233
|
+
enabled?: Signal<boolean>;
|
|
1234
|
+
/** The allowed scroll direction. */
|
|
1235
|
+
allowedDirection?: MaybeSignal<CursorDragScrollDirection>;
|
|
1236
|
+
};
|
|
1237
|
+
/** A function to apply cursor drag scroll behavior to an element. */
|
|
1238
|
+
declare const useCursorDragScroll: (el: SignalElementBindingType, options?: CursorDragScrollOptions) => {
|
|
1239
|
+
isDragging: Signal<boolean>;
|
|
1240
|
+
currentDragAmount: Signal<{
|
|
1241
|
+
x: number;
|
|
1242
|
+
y: number;
|
|
1243
|
+
}>;
|
|
1244
|
+
};
|
|
991
1245
|
|
|
992
|
-
|
|
993
|
-
declare const injectTemplateRef: <C = unknown>() => TemplateRef<C>;
|
|
994
|
-
type CreateProviderOptions = {
|
|
1246
|
+
type SetupScrollRestorationConfig = {
|
|
995
1247
|
/**
|
|
996
|
-
*
|
|
997
|
-
*
|
|
1248
|
+
* The scrollable container.
|
|
1249
|
+
* @default document.documentElement
|
|
998
1250
|
*/
|
|
999
|
-
|
|
1251
|
+
scrollElement?: HTMLElement;
|
|
1000
1252
|
/**
|
|
1001
|
-
*
|
|
1253
|
+
* A list of query params that should trigger a scroll to top.
|
|
1254
|
+
* @default []
|
|
1255
|
+
* @example ['page'] // will scroll to top when the page query param changes
|
|
1002
1256
|
*/
|
|
1003
|
-
|
|
1257
|
+
queryParamTriggerList?: string[];
|
|
1258
|
+
/**
|
|
1259
|
+
* Config for fragment scrolling.
|
|
1260
|
+
*/
|
|
1261
|
+
fragment?: {
|
|
1262
|
+
/**
|
|
1263
|
+
* Enable fragment scrolling (scroll to element with id)
|
|
1264
|
+
* @default false
|
|
1265
|
+
*/
|
|
1266
|
+
enabled?: boolean;
|
|
1267
|
+
/**
|
|
1268
|
+
* Whether to use smooth scrolling or not.
|
|
1269
|
+
* @default false
|
|
1270
|
+
*/
|
|
1271
|
+
smooth?: boolean;
|
|
1272
|
+
};
|
|
1004
1273
|
};
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
(options: InjectOptions & {
|
|
1010
|
-
optional?: false;
|
|
1011
|
-
}): T;
|
|
1012
|
-
(options: InjectOptions): T | null;
|
|
1013
|
-
},
|
|
1014
|
-
token: InjectionToken<T>
|
|
1015
|
-
];
|
|
1016
|
-
type StaticProviderResult<T> = readonly [
|
|
1017
|
-
provide: (valueOverride?: Partial<T>) => Provider[],
|
|
1018
|
-
inject: {
|
|
1019
|
-
(): T;
|
|
1020
|
-
(options: InjectOptions & {
|
|
1021
|
-
optional?: false;
|
|
1022
|
-
}): T;
|
|
1023
|
-
(options: InjectOptions): T | null;
|
|
1024
|
-
},
|
|
1025
|
-
token: InjectionToken<T>
|
|
1026
|
-
];
|
|
1027
|
-
type RootProviderResult<T> = readonly [
|
|
1028
|
-
inject: {
|
|
1029
|
-
(): T;
|
|
1030
|
-
(options: InjectOptions & {
|
|
1031
|
-
optional?: false;
|
|
1032
|
-
}): T;
|
|
1033
|
-
(options: InjectOptions): T | null;
|
|
1034
|
-
},
|
|
1035
|
-
token: InjectionToken<T>
|
|
1036
|
-
];
|
|
1037
|
-
declare const createProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
1038
|
-
declare const createRootProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
1039
|
-
declare const createStaticProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
1040
|
-
declare const createStaticRootProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
1041
|
-
|
|
1042
|
-
declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
|
|
1043
|
-
declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
|
|
1044
|
-
|
|
1045
|
-
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: EventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
|
|
1046
|
-
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: EventListenerOptions) => rxjs.Subscription;
|
|
1047
|
-
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: EventListenerOptions) => void;
|
|
1048
|
-
|
|
1049
|
-
declare class TypedQueryList<T> extends QueryList<T> {
|
|
1050
|
-
get changes(): Observable<TypedQueryList<T>>;
|
|
1051
|
-
}
|
|
1052
|
-
declare function switchQueryListChanges(): <T extends TypedQueryList<unknown> | null | undefined>(source: Observable<T>) => Observable<T>;
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* Sets the value of an input signal.
|
|
1056
|
-
* See issue: https://github.com/angular/angular/issues/54782
|
|
1057
|
-
*/
|
|
1058
|
-
declare const setInputSignal: <T>(input: InputSignal<T> | InputSignalWithTransform<T, unknown>, value: T) => void;
|
|
1059
|
-
|
|
1060
|
-
type NgClassType = string | string[] | Set<string> | {
|
|
1061
|
-
[klass: string]: any;
|
|
1062
|
-
} | null | undefined;
|
|
1063
|
-
|
|
1064
|
-
declare const AT_LEAST_ONE_REQUIRED = "atLeastOneRequired";
|
|
1065
|
-
type ValidateAtLeastOneRequiredConfig = {
|
|
1274
|
+
declare const ET_DISABLE_SCROLL_TOP: unique symbol;
|
|
1275
|
+
declare const ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE: unique symbol;
|
|
1276
|
+
declare const ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE: unique symbol;
|
|
1277
|
+
type RouterDisableScrollTopConfig = {
|
|
1066
1278
|
/**
|
|
1067
|
-
*
|
|
1279
|
+
* Whether to disable scroll to top ONLY when navigating back to this route.
|
|
1280
|
+
* @default false
|
|
1068
1281
|
*/
|
|
1069
|
-
|
|
1282
|
+
asReturnRoute?: boolean;
|
|
1070
1283
|
/**
|
|
1071
|
-
*
|
|
1284
|
+
* Whether to disable scroll to top when a path param changes.
|
|
1072
1285
|
* @default false
|
|
1073
1286
|
*/
|
|
1074
|
-
|
|
1075
|
-
};
|
|
1076
|
-
declare const ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1077
|
-
declare const IS_ARRAY_NOT_EMPTY = "isArrayNotEmpty";
|
|
1078
|
-
declare const IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1079
|
-
declare const IS_EMAIL = "isEmail";
|
|
1080
|
-
declare const IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1081
|
-
declare const MUST_MATCH = "mustMatch";
|
|
1082
|
-
declare const MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1083
|
-
mustMatch: boolean;
|
|
1084
|
-
} | null;
|
|
1085
|
-
declare const Validators: {
|
|
1086
|
-
readonly MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1087
|
-
mustMatch: boolean;
|
|
1088
|
-
} | null;
|
|
1089
|
-
readonly IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1090
|
-
readonly IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1091
|
-
readonly ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1287
|
+
onPathParamChange?: boolean;
|
|
1092
1288
|
};
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
declare const setCookie: (name: string, data: string, expiresInDays?: number | null, domain?: string | null, path?: string, sameSite?: "strict" | "none" | "lax") => void;
|
|
1100
|
-
declare const deleteCookie: (name: string, path?: string, domain?: string | null) => void;
|
|
1101
|
-
declare const getDomain: () => string | null;
|
|
1102
|
-
|
|
1103
|
-
type Translatable = {
|
|
1104
|
-
i18n: string;
|
|
1105
|
-
text: string;
|
|
1289
|
+
declare const routerDisableScrollTop: (config?: RouterDisableScrollTopConfig) => {
|
|
1290
|
+
[ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
|
|
1291
|
+
[ET_DISABLE_SCROLL_TOP]: boolean;
|
|
1292
|
+
} | {
|
|
1293
|
+
[ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
|
|
1294
|
+
[ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE]: boolean;
|
|
1106
1295
|
};
|
|
1296
|
+
declare const setupScrollRestoration: (config?: SetupScrollRestorationConfig) => void;
|
|
1107
1297
|
|
|
1108
|
-
declare
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
private readonly _stopTimeout$;
|
|
1113
|
-
constructor(key: number);
|
|
1114
|
-
isPressed(event: KeyboardEvent): boolean;
|
|
1115
|
-
clear(): void;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
declare const DISABLE_LOGGER_PARAM = "et-logger-quiet";
|
|
1119
|
-
type CreateLoggerConfig = {
|
|
1120
|
-
scope: string;
|
|
1121
|
-
feature: string;
|
|
1298
|
+
declare const signalIsRendered: () => _angular_core.Signal<boolean>;
|
|
1299
|
+
declare const createIsRenderedSignal: () => {
|
|
1300
|
+
state: _angular_core.WritableSignal<boolean>;
|
|
1301
|
+
bind: () => _angular_core.EffectRef;
|
|
1122
1302
|
};
|
|
1123
|
-
declare const
|
|
1124
|
-
|
|
1125
|
-
warn: (...args: unknown[]) => void;
|
|
1126
|
-
error: (...args: unknown[]) => void;
|
|
1303
|
+
declare const createCanAnimateSignal: () => {
|
|
1304
|
+
state: _angular_core.Signal<boolean>;
|
|
1127
1305
|
};
|
|
1128
1306
|
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1307
|
+
type RouterState = {
|
|
1308
|
+
data: Data;
|
|
1309
|
+
pathParams: Params;
|
|
1310
|
+
queryParams: Params;
|
|
1311
|
+
title: string | null;
|
|
1312
|
+
fragment: string | null;
|
|
1313
|
+
};
|
|
1314
|
+
declare const ET_PROPERTY_REMOVED: unique symbol;
|
|
1315
|
+
type InjectUtilConfig = {
|
|
1316
|
+
/** The injector to use for the injection. Must be provided if the function is not called from within a injection context. */
|
|
1317
|
+
injector?: Injector;
|
|
1318
|
+
};
|
|
1319
|
+
type InjectUtilTransformConfig<In, Out> = {
|
|
1320
|
+
/**
|
|
1321
|
+
* A transform function similar to the `transform` function in Angular input bindings.
|
|
1322
|
+
* Can be used to transform the value before it is returned.
|
|
1323
|
+
* E.g. transforming `"true"` to `true` for a boolean attribute.
|
|
1324
|
+
*/
|
|
1325
|
+
transform?: (value: In) => Out;
|
|
1326
|
+
};
|
|
1327
|
+
declare const transformOrReturn: <In, Out>(src: Signal<In>, config?: InjectUtilTransformConfig<In, Out>) => Signal<Out>;
|
|
1328
|
+
/** Inject the current router event */
|
|
1329
|
+
declare const injectRouterEvent: () => Signal<_angular_router.Event>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Signal that indicates whether the router has been initialized.
|
|
1332
|
+
* The router is considered initialized once the first NavigationEnd event with an id different than -1 has been emitted.
|
|
1133
1333
|
*/
|
|
1134
|
-
declare const
|
|
1334
|
+
declare const injectIsRouterInitialized: () => Signal<boolean>;
|
|
1135
1335
|
/**
|
|
1136
|
-
*
|
|
1137
|
-
*
|
|
1138
|
-
*
|
|
1336
|
+
* Inject the current url.
|
|
1337
|
+
* The url includes query params as well as the fragment. Use `injectRoute` instead if you are not intrusted in those.
|
|
1338
|
+
* @example "/my-page?query=1¶m=true#fragment"
|
|
1139
1339
|
*/
|
|
1140
|
-
declare const
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1340
|
+
declare const injectUrl: () => Signal<string>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Inject the current route
|
|
1343
|
+
* @example "/my-page"
|
|
1344
|
+
*/
|
|
1345
|
+
declare const injectRoute: () => Signal<string>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Inject the complete router state. This includes the current route data, path params, query params, title and fragment.
|
|
1348
|
+
*/
|
|
1349
|
+
declare const injectRouterState: () => Signal<RouterState>;
|
|
1350
|
+
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
1351
|
+
declare const injectFragment: <T = string | null>(config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1352
|
+
/** Inject all currently available query parameters as a signal */
|
|
1353
|
+
declare const injectQueryParams: () => Signal<Params>;
|
|
1354
|
+
/** Inject all currently available route data as a signal */
|
|
1355
|
+
declare const injectRouteData: () => Signal<Data>;
|
|
1356
|
+
/** Inject the current route title as a signal */
|
|
1357
|
+
declare const injectRouteTitle: <T = string | null>(config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1358
|
+
/** Inject all currently available path parameters as a signal */
|
|
1359
|
+
declare const injectPathParams: () => Signal<Params>;
|
|
1360
|
+
type InjectQueryParamConfig<T> = InjectUtilTransformConfig<string | null, T> & {
|
|
1361
|
+
/**
|
|
1362
|
+
* If true, the initial value will be read from the browser's url.
|
|
1363
|
+
* Note that this will not work with arrays or complex objects.
|
|
1364
|
+
*/
|
|
1365
|
+
requireSync?: boolean;
|
|
1366
|
+
};
|
|
1367
|
+
/** Inject a specific query parameter as a signal */
|
|
1368
|
+
declare const injectQueryParam: <T = string | null>(key: string, config?: InjectQueryParamConfig<T>) => Signal<T>;
|
|
1369
|
+
/** Inject a specific route data item as a signal */
|
|
1370
|
+
declare const injectRouteDataItem: <T = unknown>(key: string, config?: InjectUtilTransformConfig<unknown, T>) => Signal<T>;
|
|
1371
|
+
/** Inject a specific path parameter as a signal */
|
|
1372
|
+
declare const injectPathParam: <T = string | null>(key: string, config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1373
|
+
/**
|
|
1374
|
+
* Inject query params that changed during navigation. Unchanged query params will be ignored.
|
|
1375
|
+
* Removed query params will be represented by the symbol `ET_PROPERTY_REMOVED`.
|
|
1376
|
+
*/
|
|
1377
|
+
declare const injectQueryParamChanges: () => Signal<Record<string, unknown>>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Inject path params that changed during navigation. Unchanged path params will be ignored.
|
|
1380
|
+
* Removed path params will be represented by the symbol `ET_PROPERTY_REMOVED`.
|
|
1381
|
+
*/
|
|
1382
|
+
declare const injectPathParamChanges: () => Signal<Record<string, unknown>>;
|
|
1144
1383
|
|
|
1145
|
-
declare
|
|
1146
|
-
|
|
1147
|
-
|
|
1384
|
+
declare class ScrollObserverDirective {
|
|
1385
|
+
private elementRef;
|
|
1386
|
+
enabled: _angular_core.ModelSignal<MaybeSignal<boolean>>;
|
|
1387
|
+
private enabledValue;
|
|
1388
|
+
private _startEl;
|
|
1389
|
+
private _endEl;
|
|
1390
|
+
private _startIntersection;
|
|
1391
|
+
private _endIntersection;
|
|
1392
|
+
isAtStart: Signal<boolean>;
|
|
1393
|
+
isAtEnd: Signal<boolean>;
|
|
1394
|
+
_registerStart(el: ElementRef<HTMLElement>): void;
|
|
1395
|
+
_registerEnd(el: ElementRef<HTMLElement>): void;
|
|
1396
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollObserverDirective, never>;
|
|
1397
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverDirective, "[etScrollObserver]", ["etScrollObserver"], { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; }, { "enabled": "enabledChange"; }, never, never, true, never>;
|
|
1398
|
+
}
|
|
1148
1399
|
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1400
|
+
type DragMoveEvent = {
|
|
1401
|
+
readonly stepX: number;
|
|
1402
|
+
readonly stepY: number;
|
|
1403
|
+
readonly clientX: number;
|
|
1404
|
+
readonly clientY: number;
|
|
1405
|
+
};
|
|
1406
|
+
declare class DragHandleDirective {
|
|
1407
|
+
private el;
|
|
1408
|
+
commitThreshold: _angular_core.InputSignal<number>;
|
|
1409
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1410
|
+
private gestureStart$;
|
|
1411
|
+
private gesture$;
|
|
1412
|
+
dragTapped: _angular_core.OutputRef<void>;
|
|
1413
|
+
dragStarted: _angular_core.OutputRef<void>;
|
|
1414
|
+
dragMoved: _angular_core.OutputRef<DragMoveEvent>;
|
|
1415
|
+
dragEnded: _angular_core.OutputRef<void>;
|
|
1416
|
+
isDragging: _angular_core.Signal<boolean>;
|
|
1417
|
+
constructor();
|
|
1418
|
+
startGesture(event: PointerEvent): void;
|
|
1419
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DragHandleDirective, never>;
|
|
1420
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DragHandleDirective, "[etDragHandle]", never, { "commitThreshold": { "alias": "commitThreshold"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "dragTapped": "dragTapped"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; }, never, never, true, never>;
|
|
1154
1421
|
}
|
|
1155
|
-
declare function formatRuntimeError<T extends number>(code: T, message: null | false | string): string;
|
|
1156
1422
|
|
|
1157
|
-
type
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1423
|
+
type OverlayRuntimeRole = 'dialog' | 'alertdialog';
|
|
1424
|
+
type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
1425
|
+
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer' | 'drag';
|
|
1426
|
+
type OverlayRuntimeCenteredPosition = {
|
|
1427
|
+
kind: 'center';
|
|
1161
1428
|
};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1429
|
+
type OverlayRuntimeGlobalPositionAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1430
|
+
type OverlayRuntimeGlobalPosition = {
|
|
1431
|
+
kind: 'global';
|
|
1432
|
+
/** Horizontal placement of the pane inside the viewport. Defaults to `center`. */
|
|
1433
|
+
horizontal?: OverlayRuntimeGlobalPositionAlignment;
|
|
1434
|
+
/** Vertical placement of the pane inside the viewport. Defaults to `center`. */
|
|
1435
|
+
vertical?: OverlayRuntimeGlobalPositionAlignment;
|
|
1436
|
+
/** Padding applied to the host element. Defaults to `0`. */
|
|
1437
|
+
padding?: string;
|
|
1171
1438
|
};
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1439
|
+
type OverlayRuntimeAnchoredPosition = {
|
|
1440
|
+
kind: 'anchored';
|
|
1441
|
+
referenceElement: HTMLElement;
|
|
1442
|
+
placement?: Placement;
|
|
1443
|
+
fallbackPlacements?: Placement[];
|
|
1444
|
+
offset?: OffsetOptions | null;
|
|
1445
|
+
arrowPadding?: Padding | null;
|
|
1446
|
+
viewportPadding?: Padding | null;
|
|
1447
|
+
autoResize?: boolean;
|
|
1448
|
+
shift?: boolean;
|
|
1449
|
+
autoHide?: boolean;
|
|
1450
|
+
autoCloseIfReferenceHidden?: boolean;
|
|
1451
|
+
mirrorWidth?: boolean;
|
|
1452
|
+
};
|
|
1453
|
+
type OverlayRuntimePositionStrategy = OverlayRuntimeCenteredPosition | OverlayRuntimeAnchoredPosition | OverlayRuntimeGlobalPosition;
|
|
1454
|
+
type OverlayRuntimeElements = {
|
|
1455
|
+
rootElement: HTMLElement;
|
|
1456
|
+
hostElement: HTMLElement;
|
|
1457
|
+
backdropElement: HTMLElement | null;
|
|
1458
|
+
paneElement: HTMLElement;
|
|
1459
|
+
};
|
|
1460
|
+
type OverlayRuntimeCloseEvent<TResult = unknown> = {
|
|
1461
|
+
result: TResult | undefined;
|
|
1462
|
+
source: OverlayRuntimeCloseSource;
|
|
1463
|
+
};
|
|
1464
|
+
type OverlayRuntimeComponentBase = {
|
|
1465
|
+
animatedLifecycle?: Signal<AnimatedLifecycleDirective | undefined>;
|
|
1466
|
+
};
|
|
1467
|
+
type OverlayRuntimeAnimationDelegateEnterContext = {
|
|
1468
|
+
lifecycle: AnimatedLifecycleDirective;
|
|
1469
|
+
elements: OverlayRuntimeElements;
|
|
1470
|
+
};
|
|
1471
|
+
type OverlayRuntimeAnimationDelegateLeaveContext = OverlayRuntimeAnimationDelegateEnterContext & {
|
|
1472
|
+
closeEvent: OverlayRuntimeCloseEvent;
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* Overrides the runtime's default enter/leave animation handling.
|
|
1476
|
+
* A delegate must eventually drive the lifecycle state to `entered` (enter) or `left` (leave),
|
|
1477
|
+
* otherwise the overlay will never finish opening or closing.
|
|
1478
|
+
*/
|
|
1479
|
+
type OverlayRuntimeAnimationDelegate = {
|
|
1480
|
+
enter?: (context: OverlayRuntimeAnimationDelegateEnterContext) => void;
|
|
1481
|
+
leave?: (context: OverlayRuntimeAnimationDelegateLeaveContext) => void;
|
|
1482
|
+
};
|
|
1483
|
+
type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
1484
|
+
id: string;
|
|
1485
|
+
component: Type<TComponent>;
|
|
1486
|
+
viewContainerRef?: ViewContainerRef;
|
|
1487
|
+
injector?: Injector;
|
|
1488
|
+
providers?: StaticProvider[];
|
|
1489
|
+
role?: OverlayRuntimeRole;
|
|
1490
|
+
positionStrategy?: OverlayRuntimePositionStrategy;
|
|
1491
|
+
hasBackdrop?: boolean;
|
|
1492
|
+
modal?: boolean;
|
|
1493
|
+
autoFocus?: OverlayRuntimeAutoFocusTarget | string | false;
|
|
1494
|
+
restoreFocus?: boolean;
|
|
1495
|
+
closeOnEscape?: boolean;
|
|
1496
|
+
closeOnOutsidePointer?: boolean;
|
|
1497
|
+
ariaDescribedBy?: string | null;
|
|
1498
|
+
ariaLabelledBy?: string | null;
|
|
1499
|
+
ariaLabel?: string | null;
|
|
1500
|
+
hostClass?: string[];
|
|
1501
|
+
backdropClass?: string[];
|
|
1502
|
+
paneClass?: string[];
|
|
1503
|
+
inputBindings?: Record<string, unknown>;
|
|
1504
|
+
outputBindings?: Record<string, (event: unknown) => unknown>;
|
|
1505
|
+
animationDelegate?: OverlayRuntimeAnimationDelegate;
|
|
1180
1506
|
};
|
|
1181
|
-
declare const normalizeGameResultType: (type: string | null) => NormalizedGameResultType | null;
|
|
1182
1507
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1508
|
+
type OverlayRuntimeState = 'mounting' | 'mounted' | 'closing' | 'closed';
|
|
1509
|
+
declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unknown>(id: string, config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">, elements: OverlayRuntimeElements, requestClose: (result: TResult | undefined, source: OverlayRuntimeCloseSource) => void) => {
|
|
1510
|
+
id: string;
|
|
1511
|
+
config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">;
|
|
1512
|
+
elements: OverlayRuntimeElements;
|
|
1513
|
+
state: _angular_core.Signal<OverlayRuntimeState>;
|
|
1514
|
+
componentInstance: _angular_core.Signal<TComponent | null>;
|
|
1515
|
+
beforeOpenedSubject: Subject<void>;
|
|
1516
|
+
close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
1517
|
+
beforeOpened(): Observable<void>;
|
|
1518
|
+
afterOpened(): Observable<void>;
|
|
1519
|
+
beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1520
|
+
afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1521
|
+
attachComponentRef(componentRef: ComponentRef<TComponent>): void;
|
|
1522
|
+
/** @internal */
|
|
1523
|
+
attachPositionUpdater(updater: (strategy: OverlayRuntimePositionStrategy) => void): void;
|
|
1524
|
+
updatePositionStrategy(strategy: OverlayRuntimePositionStrategy): void;
|
|
1525
|
+
markOpened(): void;
|
|
1526
|
+
beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
|
|
1527
|
+
finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
|
|
1191
1528
|
};
|
|
1192
|
-
type
|
|
1193
|
-
type NormalizedMatchParticipant = ({
|
|
1194
|
-
type: 'tbd';
|
|
1195
|
-
participantType: NormalizedParticipantType;
|
|
1196
|
-
data: ParticipantViewUnion | null;
|
|
1197
|
-
} & Translatable) | {
|
|
1198
|
-
type: 'participant';
|
|
1199
|
-
participantType: NormalizedParticipantType;
|
|
1200
|
-
data: ParticipantViewUnion;
|
|
1201
|
-
} | ({
|
|
1202
|
-
type: 'none';
|
|
1203
|
-
participantType: NormalizedParticipantType;
|
|
1204
|
-
data: ParticipantViewUnion | null;
|
|
1205
|
-
} & Translatable);
|
|
1206
|
-
declare const normalizeMatchParticipants: (match: MatchListView | null) => NormalizedMatchParticipants | null;
|
|
1207
|
-
declare const normalizeMatchParticipant: (match: MatchListView | null, side: "home" | "away") => NormalizedMatchParticipant | null;
|
|
1529
|
+
type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRuntimeRef<TComponent, TResult>>;
|
|
1208
1530
|
|
|
1209
|
-
declare
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
declare const
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1531
|
+
declare const FOCUSABLE_SELECTOR: string;
|
|
1532
|
+
declare const isHTMLElement: (value: unknown) => value is HTMLElement;
|
|
1533
|
+
declare const isFocusable: (element: HTMLElement, document: Document) => boolean;
|
|
1534
|
+
declare const getFocusableElements: (container: HTMLElement, document: Document) => HTMLElement[];
|
|
1535
|
+
declare const getHeadingElement: (container: HTMLElement) => HTMLElement | null;
|
|
1536
|
+
declare const focusElement: (element: HTMLElement | null) => void;
|
|
1537
|
+
declare const applyInitialFocus: (paneElement: HTMLElement, autoFocus: OverlayRuntimeAutoFocusTarget | string | false, document: Document) => void;
|
|
1538
|
+
declare const setupFocusTrap: (paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, enabled: boolean, isTopMost: (ref: OverlayRuntimeRef<object, unknown>) => boolean, document: Document) => () => void;
|
|
1539
|
+
|
|
1540
|
+
declare const setBaseElementStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1541
|
+
declare const setBackdropStyles: (backdropElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1542
|
+
declare const applyCenteredPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, _config: OverlayRuntimeCenteredPosition) => void;
|
|
1543
|
+
declare const applyGlobalPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, config: OverlayRuntimeGlobalPosition) => void;
|
|
1544
|
+
/**
|
|
1545
|
+
* Clears every inline style any position strategy kind may have set and
|
|
1546
|
+
* restores the base element styles, so a different strategy can be applied afterwards.
|
|
1547
|
+
*/
|
|
1548
|
+
declare const resetPositioningStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1549
|
+
declare const createAnchoredPositionCleanup: (strategy: OverlayRuntimeAnchoredPosition, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
1550
|
+
declare const setupPositioning: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
1551
|
+
|
|
1552
|
+
type OverlayRuntime = {
|
|
1553
|
+
mount: <TComponent extends object, TResult = unknown>(config: OverlayRuntimeMountConfig<TComponent>) => OverlayRuntimeRef<TComponent, TResult>;
|
|
1554
|
+
openEntries: ReturnType<typeof computed<OverlayRuntimeRef<object, unknown>[]>>;
|
|
1555
|
+
};
|
|
1556
|
+
declare const provideOverlayRuntime: () => _angular_core.Provider[];
|
|
1557
|
+
declare const injectOverlayRuntime: {
|
|
1558
|
+
(): OverlayRuntime;
|
|
1559
|
+
(options: _angular_core.InjectOptions & {
|
|
1560
|
+
optional?: false;
|
|
1561
|
+
}): OverlayRuntime;
|
|
1562
|
+
(options: _angular_core.InjectOptions): OverlayRuntime | null;
|
|
1232
1563
|
};
|
|
1233
|
-
declare const normalizeMatchScore: (match: MatchListView | null | undefined) => NormalizedMatchScore | null;
|
|
1234
|
-
declare const isKnockoutMatch: (match: MatchListView | null | undefined) => boolean;
|
|
1235
|
-
declare const isGroupMatch: (match: MatchListView | null | undefined) => boolean;
|
|
1236
|
-
declare const getKnockoutMatchScore: (score: MatchRankingView | null | undefined) => "match-score.knockout.won" | "match-score.knockout.lost" | "match-score.knockout.tie" | null;
|
|
1237
|
-
declare const getMatchScoreSubLine: (match: MatchListView | null | undefined) => "match-score.groups.sub-line" | null;
|
|
1238
|
-
declare const getGroupMatchScore: (match: MatchListView | null | undefined) => {
|
|
1239
|
-
home: {
|
|
1240
|
-
score: number;
|
|
1241
|
-
isWinner: boolean;
|
|
1242
|
-
};
|
|
1243
|
-
away: {
|
|
1244
|
-
score: number;
|
|
1245
|
-
isWinner: boolean;
|
|
1246
|
-
};
|
|
1247
|
-
} | null;
|
|
1248
|
-
declare const getGroupMatchPoints: (match: MatchListView | null | undefined) => {
|
|
1249
|
-
home: {
|
|
1250
|
-
score: number;
|
|
1251
|
-
isWinner: boolean;
|
|
1252
|
-
};
|
|
1253
|
-
away: {
|
|
1254
|
-
score: number;
|
|
1255
|
-
isWinner: boolean;
|
|
1256
|
-
};
|
|
1257
|
-
} | null;
|
|
1258
1564
|
|
|
1259
|
-
declare
|
|
1260
|
-
transform: (match: MatchListView | null | undefined) => MatchStateType | null;
|
|
1261
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchStatePipe, never>;
|
|
1262
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchStatePipe, "etNormalizeMatchState", true>;
|
|
1263
|
-
}
|
|
1264
|
-
declare const normalizeMatchState: (match: MatchListView | null | undefined) => MatchStateType | null;
|
|
1565
|
+
declare const createComponentId: (prefix: string) => string;
|
|
1265
1566
|
|
|
1266
|
-
declare
|
|
1267
|
-
transform: (matchType: StageType | null | undefined) => Translatable | null;
|
|
1268
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchTypePipe, never>;
|
|
1269
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchTypePipe, "etNormalizeMatchType", true>;
|
|
1270
|
-
}
|
|
1271
|
-
declare const normalizeMatchType: (matchType: StageType | null | undefined) => Translatable | null;
|
|
1567
|
+
declare const createDestroy: () => rxjs.Observable<boolean>;
|
|
1272
1568
|
|
|
1273
|
-
declare
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1569
|
+
declare const injectHostElement: <T = HTMLElement>() => T;
|
|
1570
|
+
declare const injectTemplateRef: <C = unknown>() => TemplateRef<C>;
|
|
1571
|
+
type CreateProviderOptions = {
|
|
1572
|
+
/**
|
|
1573
|
+
* Optional name for the provider, useful for debugging.
|
|
1574
|
+
* If not provided, the name will be a generated string.
|
|
1575
|
+
*/
|
|
1576
|
+
name?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* Optional existing InjectionToken to also provide the created provider under.
|
|
1579
|
+
*/
|
|
1580
|
+
extraInjectionToken?: InjectionToken<unknown>;
|
|
1581
|
+
};
|
|
1582
|
+
type ProviderResult<T> = readonly [
|
|
1583
|
+
provide: () => Provider[],
|
|
1584
|
+
inject: {
|
|
1585
|
+
(): T;
|
|
1586
|
+
(options: InjectOptions & {
|
|
1587
|
+
optional?: false;
|
|
1588
|
+
}): T;
|
|
1589
|
+
(options: InjectOptions): T | null;
|
|
1590
|
+
},
|
|
1591
|
+
token: InjectionToken<T>
|
|
1592
|
+
];
|
|
1593
|
+
type StaticProviderResult<T> = readonly [
|
|
1594
|
+
provide: (valueOverride?: Partial<T>) => Provider[],
|
|
1595
|
+
inject: {
|
|
1596
|
+
(): T;
|
|
1597
|
+
(options: InjectOptions & {
|
|
1598
|
+
optional?: false;
|
|
1599
|
+
}): T;
|
|
1600
|
+
(options: InjectOptions): T | null;
|
|
1601
|
+
},
|
|
1602
|
+
token: InjectionToken<T>
|
|
1603
|
+
];
|
|
1604
|
+
type RootProviderResult<T> = readonly [
|
|
1605
|
+
inject: {
|
|
1606
|
+
(): T;
|
|
1607
|
+
(options: InjectOptions & {
|
|
1608
|
+
optional?: false;
|
|
1609
|
+
}): T;
|
|
1610
|
+
(options: InjectOptions): T | null;
|
|
1611
|
+
},
|
|
1612
|
+
token: InjectionToken<T>
|
|
1613
|
+
];
|
|
1614
|
+
declare const createProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
1615
|
+
declare const createRootProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
1616
|
+
declare const createStaticProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
1617
|
+
declare const createStaticRootProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
1278
1618
|
|
|
1279
|
-
declare
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1619
|
+
declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
|
|
1620
|
+
declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
|
|
1621
|
+
|
|
1622
|
+
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: EventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
|
|
1623
|
+
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: EventListenerOptions) => rxjs.Subscription;
|
|
1624
|
+
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: EventListenerOptions) => void;
|
|
1625
|
+
|
|
1626
|
+
declare class TypedQueryList<T> extends QueryList<T> {
|
|
1627
|
+
get changes(): Observable<TypedQueryList<T>>;
|
|
1283
1628
|
}
|
|
1629
|
+
declare function switchQueryListChanges(): <T extends TypedQueryList<unknown> | null | undefined>(source: Observable<T>) => Observable<T>;
|
|
1630
|
+
|
|
1284
1631
|
/**
|
|
1285
|
-
*
|
|
1286
|
-
*
|
|
1287
|
-
* If the srcset contains a query parameter `?fm=`, it will use the value of that parameter, since it is often used to specify the file format in image api's like contentful.
|
|
1632
|
+
* Sets the value of an input signal.
|
|
1633
|
+
* See issue: https://github.com/angular/angular/issues/54782
|
|
1288
1634
|
*/
|
|
1289
|
-
declare const
|
|
1290
|
-
|
|
1291
|
-
declare class MarkdownToHtmlPipe implements PipeTransform {
|
|
1292
|
-
transform: (markdown: string) => string;
|
|
1293
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MarkdownToHtmlPipe, never>;
|
|
1294
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<MarkdownToHtmlPipe, "markdownToHtml", true>;
|
|
1295
|
-
}
|
|
1635
|
+
declare const setInputSignal: <T>(input: InputSignal<T> | InputSignalWithTransform<T, unknown>, value: T) => void;
|
|
1296
1636
|
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ToArrayPipe, "toArray", true>;
|
|
1301
|
-
}
|
|
1302
|
-
declare const toArray: (value: number) => number[];
|
|
1303
|
-
declare const toArrayTrackByFn: TrackByFunction<number>;
|
|
1637
|
+
type NgClassType = string | string[] | Set<string> | {
|
|
1638
|
+
[klass: string]: any;
|
|
1639
|
+
} | null | undefined;
|
|
1304
1640
|
|
|
1305
|
-
declare const
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
has: (tokens: string) => boolean;
|
|
1317
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1318
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1319
|
-
};
|
|
1320
|
-
styles: {
|
|
1321
|
-
remove: (tokens: string) => void;
|
|
1322
|
-
removeMany: (tokens: string[]) => void;
|
|
1323
|
-
has: (tokens: string) => boolean;
|
|
1324
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1325
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1326
|
-
};
|
|
1327
|
-
id: string;
|
|
1328
|
-
elementRef: ElementRef<HTMLElement>;
|
|
1641
|
+
declare const AT_LEAST_ONE_REQUIRED = "atLeastOneRequired";
|
|
1642
|
+
type ValidateAtLeastOneRequiredConfig = {
|
|
1643
|
+
/**
|
|
1644
|
+
* Keys of form controls to validate in the supplied form group
|
|
1645
|
+
*/
|
|
1646
|
+
keys: string[];
|
|
1647
|
+
/**
|
|
1648
|
+
* If true, the value `false` will result in a validation error
|
|
1649
|
+
* @default false
|
|
1650
|
+
*/
|
|
1651
|
+
checkFalse?: boolean;
|
|
1329
1652
|
};
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1653
|
+
declare const ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1654
|
+
declare const IS_ARRAY_NOT_EMPTY = "isArrayNotEmpty";
|
|
1655
|
+
declare const IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1656
|
+
declare const IS_EMAIL = "isEmail";
|
|
1657
|
+
declare const IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1658
|
+
declare const MUST_MATCH = "mustMatch";
|
|
1659
|
+
declare const MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1660
|
+
mustMatch: boolean;
|
|
1661
|
+
} | null;
|
|
1662
|
+
declare const Validators: {
|
|
1663
|
+
readonly MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1664
|
+
mustMatch: boolean;
|
|
1665
|
+
} | null;
|
|
1666
|
+
readonly IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1667
|
+
readonly IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1668
|
+
readonly ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1340
1669
|
};
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1670
|
+
|
|
1671
|
+
declare const clone: <T>(original: T) => T;
|
|
1672
|
+
declare const equal: (foo: any, bar: any) => boolean;
|
|
1673
|
+
|
|
1674
|
+
declare const hasCookie: (name: string) => boolean;
|
|
1675
|
+
declare const getCookie: (name: string) => string | null | undefined;
|
|
1676
|
+
declare const setCookie: (name: string, data: string, expiresInDays?: number | null, domain?: string | null, path?: string, sameSite?: "strict" | "none" | "lax") => void;
|
|
1677
|
+
declare const deleteCookie: (name: string, path?: string, domain?: string | null) => void;
|
|
1678
|
+
declare const getDomain: () => string | null;
|
|
1679
|
+
|
|
1680
|
+
type Translatable = {
|
|
1681
|
+
i18n: string;
|
|
1682
|
+
text: string;
|
|
1345
1683
|
};
|
|
1346
|
-
type PropsInternal = {
|
|
1347
|
-
single: boolean;
|
|
1348
|
-
name: string;
|
|
1349
|
-
bindId: boolean;
|
|
1350
|
-
attached: Signal<boolean>;
|
|
1351
|
-
attachedElements: PropsAttachedElementsInternal;
|
|
1352
|
-
classBindings: Record<string, Signal<unknown>> | null;
|
|
1353
|
-
attributeBindings: Record<string, Signal<unknown>> | null;
|
|
1354
|
-
styleBindings: Record<string, Signal<unknown>> | null;
|
|
1355
|
-
staticClassBindings: string[] | null;
|
|
1356
|
-
staticAttributeBindings: Record<string, unknown> | null;
|
|
1357
|
-
staticStyleBindings: Record<string, unknown> | null;
|
|
1358
|
-
attachEventListeners: ((context: {
|
|
1359
|
-
on: HTMLElement['addEventListener'];
|
|
1360
|
-
element: HTMLElement;
|
|
1361
|
-
}) => void) | null;
|
|
1362
|
-
};
|
|
1363
|
-
type CreatePropsOptions = {
|
|
1364
|
-
name: string;
|
|
1365
|
-
bindId?: boolean;
|
|
1366
|
-
single?: boolean;
|
|
1367
|
-
classes?: Record<string, Signal<unknown>>;
|
|
1368
|
-
attributes?: Record<string, Signal<unknown>>;
|
|
1369
|
-
styles?: Record<string, Signal<unknown>>;
|
|
1370
|
-
staticClasses?: string[];
|
|
1371
|
-
staticAttributes?: Record<string, unknown>;
|
|
1372
|
-
staticStyles?: Record<string, unknown>;
|
|
1373
|
-
listeners?: (context: {
|
|
1374
|
-
on: HTMLElement['addEventListener'];
|
|
1375
|
-
element: HTMLElement;
|
|
1376
|
-
}) => void;
|
|
1377
|
-
};
|
|
1378
|
-
declare const createProps: (props: CreatePropsOptions) => Props;
|
|
1379
|
-
type HostProps = {
|
|
1380
|
-
props: Props;
|
|
1381
|
-
handlers: PropHandlers;
|
|
1382
|
-
};
|
|
1383
|
-
declare const createHostProps: (props: CreatePropsOptions) => HostProps;
|
|
1384
1684
|
|
|
1385
|
-
declare
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1685
|
+
declare class KeyPressManager {
|
|
1686
|
+
readonly key: number;
|
|
1687
|
+
private readonly _isKeyPressed$;
|
|
1688
|
+
private readonly _keyPressCount$;
|
|
1689
|
+
private readonly _stopTimeout$;
|
|
1690
|
+
constructor(key: number);
|
|
1691
|
+
isPressed(event: KeyboardEvent): boolean;
|
|
1692
|
+
clear(): void;
|
|
1693
|
+
}
|
|
1389
1694
|
|
|
1390
|
-
declare const
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
}) => void;
|
|
1395
|
-
provideValue: <K extends keyof T>(data: {
|
|
1396
|
-
value: ReturnType<T[K]>;
|
|
1397
|
-
for: K;
|
|
1398
|
-
}) => void;
|
|
1695
|
+
declare const DISABLE_LOGGER_PARAM = "et-logger-quiet";
|
|
1696
|
+
type CreateLoggerConfig = {
|
|
1697
|
+
scope: string;
|
|
1698
|
+
feature: string;
|
|
1399
1699
|
};
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
has: (id: string) => boolean;
|
|
1405
|
-
get: (id: string) => HTMLElement | null;
|
|
1406
|
-
push: (id: string, element: HTMLElement) => void;
|
|
1407
|
-
remove: (id: string) => void;
|
|
1408
|
-
isEmpty: _angular_core.Signal<boolean>;
|
|
1409
|
-
firstElement: _angular_core.Signal<HTMLElement | null>;
|
|
1410
|
-
firstId: _angular_core.Signal<string | null>;
|
|
1700
|
+
declare const createLogger: (config: CreateLoggerConfig) => {
|
|
1701
|
+
log: (...args: unknown[]) => void;
|
|
1702
|
+
warn: (...args: unknown[]) => void;
|
|
1703
|
+
error: (...args: unknown[]) => void;
|
|
1411
1704
|
};
|
|
1412
1705
|
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1706
|
+
/**
|
|
1707
|
+
* Converts a markdown string to HTML.
|
|
1708
|
+
* Covers headings, bold, italic, strikethrough, inline code, fenced code blocks,
|
|
1709
|
+
* links, images, block quotes, unordered/ordered lists, tables, horizontal rules, and paragraphs.
|
|
1710
|
+
*/
|
|
1711
|
+
declare const markdownToHtml: (markdown: string) => string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Converts an HTML string to markdown.
|
|
1714
|
+
* Covers headings, bold, italic, strikethrough, inline code, fenced code blocks,
|
|
1715
|
+
* links, images, block quotes, unordered/ordered lists, tables, horizontal rules, and paragraphs.
|
|
1716
|
+
*/
|
|
1717
|
+
declare const htmlToMarkdown: (html: string) => string;
|
|
1423
1718
|
|
|
1424
|
-
declare
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1437
|
-
};
|
|
1438
|
-
attributes: {
|
|
1439
|
-
remove: (tokens: string) => void;
|
|
1440
|
-
removeMany: (tokens: string[]) => void;
|
|
1441
|
-
has: (tokens: string) => boolean;
|
|
1442
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1443
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1444
|
-
};
|
|
1445
|
-
styles: {
|
|
1446
|
-
remove: (tokens: string) => void;
|
|
1447
|
-
removeMany: (tokens: string[]) => void;
|
|
1448
|
-
has: (tokens: string) => boolean;
|
|
1449
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1450
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1451
|
-
};
|
|
1452
|
-
id: string;
|
|
1453
|
-
elementRef: _angular_core.ElementRef<HTMLElement>;
|
|
1454
|
-
};
|
|
1455
|
-
constructor();
|
|
1456
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
|
|
1457
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1719
|
+
declare const clamp: (value: number, min?: number, max?: number) => number;
|
|
1720
|
+
declare const round: (value: number, precision?: number) => number;
|
|
1721
|
+
|
|
1722
|
+
declare const isObject: (value: unknown) => value is Record<string, unknown>;
|
|
1723
|
+
declare const isArray: (value: unknown) => value is unknown[];
|
|
1724
|
+
declare const getObjectProperty: (obj: Record<string, unknown>, prop: string) => unknown;
|
|
1725
|
+
|
|
1726
|
+
declare const RUNTIME_ERROR_NO_DATA = "__ET_NO_DATA__";
|
|
1727
|
+
declare class RuntimeError<T extends number> extends Error {
|
|
1728
|
+
code: T;
|
|
1729
|
+
data: unknown;
|
|
1730
|
+
constructor(code: T, message: null | false | string, data?: unknown);
|
|
1458
1731
|
}
|
|
1732
|
+
declare function formatRuntimeError<T extends number>(code: T, message: null | false | string): string;
|
|
1459
1733
|
|
|
1460
|
-
type
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
injector?: Injector;
|
|
1465
|
-
};
|
|
1466
|
-
type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
1467
|
-
component: ComponentType<J>;
|
|
1468
|
-
inputs?: T;
|
|
1469
|
-
injector?: Injector;
|
|
1470
|
-
};
|
|
1471
|
-
type StringTemplate = {
|
|
1472
|
-
type: 'string';
|
|
1473
|
-
value: string;
|
|
1474
|
-
};
|
|
1475
|
-
type NgTemplateTemplate = {
|
|
1476
|
-
type: 'template';
|
|
1477
|
-
value: TemplateRef<unknown>;
|
|
1478
|
-
context?: Record<string, unknown>;
|
|
1479
|
-
injector: Injector | null;
|
|
1734
|
+
type CreateSessionMemoryConfig<TValue> = {
|
|
1735
|
+
key: string;
|
|
1736
|
+
parse: (storedValue: string) => TValue | null;
|
|
1737
|
+
serialize: (value: TValue) => string;
|
|
1480
1738
|
};
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1739
|
+
declare const createAutoSessionMemoryKey: ({ element, prefix }: {
|
|
1740
|
+
element: HTMLElement;
|
|
1741
|
+
prefix: string;
|
|
1742
|
+
}) => string;
|
|
1743
|
+
declare const canUseSessionMemory: () => boolean;
|
|
1744
|
+
declare const createSessionMemory: <TValue>({ key, parse, serialize }: CreateSessionMemoryConfig<TValue>) => {
|
|
1745
|
+
read: () => TValue | null;
|
|
1746
|
+
write: (value: TValue) => boolean;
|
|
1747
|
+
remove: () => boolean;
|
|
1486
1748
|
};
|
|
1487
|
-
declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
|
|
1488
1749
|
|
|
1489
|
-
type
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1750
|
+
type SwipeTracker = {
|
|
1751
|
+
update(event: TouchEvent | MouseEvent): SwipeUpdateEvent;
|
|
1752
|
+
end(): SwipeEndEvent;
|
|
1753
|
+
cancel(): void;
|
|
1754
|
+
};
|
|
1755
|
+
type SwipeEndEvent = {
|
|
1756
|
+
positivePixelPerSecondX: number;
|
|
1757
|
+
positivePixelPerSecondY: number;
|
|
1758
|
+
pixelPerSecondX: number;
|
|
1759
|
+
pixelPerSecondY: number;
|
|
1760
|
+
movementX: number;
|
|
1761
|
+
movementY: number;
|
|
1762
|
+
positiveMovementX: number;
|
|
1763
|
+
positiveMovementY: number;
|
|
1764
|
+
originClientX: number;
|
|
1765
|
+
originClientY: number;
|
|
1766
|
+
};
|
|
1767
|
+
type SwipeUpdateEvent = {
|
|
1768
|
+
originClientX: number;
|
|
1769
|
+
originClientY: number;
|
|
1770
|
+
timestamp: number;
|
|
1771
|
+
movementX: number;
|
|
1772
|
+
movementY: number;
|
|
1773
|
+
positiveMovementX: number;
|
|
1774
|
+
positiveMovementY: number;
|
|
1775
|
+
isScrolling: boolean;
|
|
1776
|
+
isSwiping: boolean;
|
|
1777
|
+
};
|
|
1778
|
+
declare const createSwipeTracker: (startEvent: TouchEvent | MouseEvent) => SwipeTracker;
|
|
1779
|
+
|
|
1780
|
+
declare class NormalizeGameResultTypePipe implements PipeTransform {
|
|
1781
|
+
transform: (type: string | null) => NormalizedGameResultType | null;
|
|
1782
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeGameResultTypePipe, never>;
|
|
1783
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeGameResultTypePipe, "etNormalizeGameResultType", true>;
|
|
1509
1784
|
}
|
|
1785
|
+
type NormalizedGameResultType = Translatable & {
|
|
1786
|
+
shortCode: string;
|
|
1787
|
+
};
|
|
1788
|
+
declare const normalizeGameResultType: (type: string | null) => NormalizedGameResultType | null;
|
|
1510
1789
|
|
|
1511
|
-
declare
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
* If null or undefined, uses the viewport as the container.
|
|
1520
|
-
* @default null (viewport)
|
|
1521
|
-
*/
|
|
1522
|
-
container?: HTMLElement | null;
|
|
1523
|
-
/**
|
|
1524
|
-
* The container's rect to check if the element is visible inside. Can be supplied to reduce the amount of DOM reads.
|
|
1525
|
-
* Only used when container is provided and not null.
|
|
1526
|
-
* @default container.getBoundingClientRect()
|
|
1527
|
-
*/
|
|
1528
|
-
containerRect?: DOMRect | null;
|
|
1529
|
-
/**
|
|
1530
|
-
* The element's rect. Can be supplied to reduce the amount of DOM reads.
|
|
1531
|
-
* @default element.getBoundingClientRect()
|
|
1532
|
-
*/
|
|
1533
|
-
elementRect?: DOMRect | null;
|
|
1790
|
+
declare class NormalizeMatchParticipantsPipe implements PipeTransform {
|
|
1791
|
+
transform: (match: MatchListView | null) => NormalizedMatchParticipants | null;
|
|
1792
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchParticipantsPipe, never>;
|
|
1793
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchParticipantsPipe, "etNormalizeMatchParticipants", true>;
|
|
1794
|
+
}
|
|
1795
|
+
type NormalizedMatchParticipants = {
|
|
1796
|
+
home: NormalizedMatchParticipant | null;
|
|
1797
|
+
away: NormalizedMatchParticipant | null;
|
|
1534
1798
|
};
|
|
1535
|
-
type
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
blockIntersection: number;
|
|
1552
|
-
/**
|
|
1553
|
-
* Whether the element is intersecting the container.
|
|
1554
|
-
*/
|
|
1555
|
-
isIntersecting: boolean;
|
|
1556
|
-
/**
|
|
1557
|
-
* The ratio of the element that is intersecting the container.
|
|
1558
|
-
*/
|
|
1559
|
-
intersectionRatio: number;
|
|
1560
|
-
/**
|
|
1561
|
-
* The element that is being checked for visibility.
|
|
1562
|
-
*/
|
|
1563
|
-
element: HTMLElement;
|
|
1564
|
-
/**
|
|
1565
|
-
* The container's rect used for the calculation.
|
|
1566
|
-
*/
|
|
1567
|
-
containerRect: DOMRect;
|
|
1568
|
-
/**
|
|
1569
|
-
* The element's rect used for the calculation.
|
|
1570
|
-
*/
|
|
1571
|
-
elementRect: DOMRect;
|
|
1572
|
-
};
|
|
1573
|
-
declare const isElementVisible: (options: IsElementVisibleOptions) => CurrentElementVisibility | null;
|
|
1574
|
-
declare const getElementScrollCoordinates: (options: ScrollToElementOptions) => ScrollToOptions;
|
|
1575
|
-
type ScrollToElementOptions = {
|
|
1576
|
-
/**
|
|
1577
|
-
* The element to scroll to.
|
|
1578
|
-
*/
|
|
1579
|
-
element?: HTMLElement | null;
|
|
1580
|
-
/**
|
|
1581
|
-
* The scroll container to scroll to the element in.
|
|
1582
|
-
* Must be provided - cannot scroll the viewport programmatically with this function.
|
|
1583
|
-
*/
|
|
1584
|
-
container?: HTMLElement | null;
|
|
1585
|
-
/**
|
|
1586
|
-
* The direction to scroll in.
|
|
1587
|
-
* @default 'both'
|
|
1588
|
-
*/
|
|
1589
|
-
direction?: 'inline' | 'block' | 'both';
|
|
1590
|
-
/**
|
|
1591
|
-
* The origin of the element to scroll to.
|
|
1592
|
-
* @default 'nearest'
|
|
1593
|
-
*/
|
|
1594
|
-
origin?: 'start' | 'end' | 'center' | 'nearest';
|
|
1595
|
-
/**
|
|
1596
|
-
* The scroll behavior.
|
|
1597
|
-
* @default 'smooth'
|
|
1598
|
-
*/
|
|
1599
|
-
behavior?: ScrollBehavior;
|
|
1600
|
-
/**
|
|
1601
|
-
* The scroll inline-margin
|
|
1602
|
-
* @default 0
|
|
1603
|
-
*/
|
|
1604
|
-
scrollInlineMargin?: number;
|
|
1605
|
-
/**
|
|
1606
|
-
* The scroll block-margin
|
|
1607
|
-
* @default 0
|
|
1608
|
-
*/
|
|
1609
|
-
scrollBlockMargin?: number;
|
|
1610
|
-
};
|
|
1611
|
-
declare const scrollToElement: (options: ScrollToElementOptions) => void;
|
|
1799
|
+
type NormalizedParticipantType = 'team' | 'player' | 'unknown';
|
|
1800
|
+
type NormalizedMatchParticipant = ({
|
|
1801
|
+
type: 'tbd';
|
|
1802
|
+
participantType: NormalizedParticipantType;
|
|
1803
|
+
data: ParticipantViewUnion | null;
|
|
1804
|
+
} & Translatable) | {
|
|
1805
|
+
type: 'participant';
|
|
1806
|
+
participantType: NormalizedParticipantType;
|
|
1807
|
+
data: ParticipantViewUnion;
|
|
1808
|
+
} | ({
|
|
1809
|
+
type: 'none';
|
|
1810
|
+
participantType: NormalizedParticipantType;
|
|
1811
|
+
data: ParticipantViewUnion | null;
|
|
1812
|
+
} & Translatable);
|
|
1813
|
+
declare const normalizeMatchParticipants: (match: MatchListView | null) => NormalizedMatchParticipants | null;
|
|
1814
|
+
declare const normalizeMatchParticipant: (match: MatchListView | null, side: "home" | "away") => NormalizedMatchParticipant | null;
|
|
1612
1815
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1816
|
+
declare class NormalizeMatchScorePipe implements PipeTransform {
|
|
1817
|
+
transform: (match: MatchListView | null | undefined) => NormalizedMatchScore | null;
|
|
1818
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchScorePipe, never>;
|
|
1819
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchScorePipe, "etNormalizeMatchScore", true>;
|
|
1820
|
+
}
|
|
1821
|
+
declare const enum MatchStateType {
|
|
1822
|
+
PREPARING_ROUND = "preparingRound",
|
|
1823
|
+
PRE_MATCH = "preMatch",
|
|
1824
|
+
LIVE = "live",
|
|
1825
|
+
POST_MATCH = "postMatch",
|
|
1826
|
+
AUTO_WIN = "autoWin"
|
|
1827
|
+
}
|
|
1828
|
+
type NormalizedMatchScore = {
|
|
1829
|
+
home: {
|
|
1830
|
+
score: string | number | null;
|
|
1831
|
+
isWinner: boolean;
|
|
1832
|
+
};
|
|
1833
|
+
away: {
|
|
1834
|
+
score: string | number | null;
|
|
1835
|
+
isWinner: boolean;
|
|
1836
|
+
};
|
|
1837
|
+
subLine: string | null;
|
|
1838
|
+
isNumeric: boolean;
|
|
1839
|
+
};
|
|
1840
|
+
declare const normalizeMatchScore: (match: MatchListView | null | undefined) => NormalizedMatchScore | null;
|
|
1841
|
+
declare const isKnockoutMatch: (match: MatchListView | null | undefined) => boolean;
|
|
1842
|
+
declare const isGroupMatch: (match: MatchListView | null | undefined) => boolean;
|
|
1843
|
+
declare const getKnockoutMatchScore: (score: MatchRankingView | null | undefined) => "match-score.knockout.won" | "match-score.knockout.lost" | "match-score.knockout.tie" | null;
|
|
1844
|
+
declare const getMatchScoreSubLine: (match: MatchListView | null | undefined) => "match-score.groups.sub-line" | null;
|
|
1845
|
+
declare const getGroupMatchScore: (match: MatchListView | null | undefined) => {
|
|
1846
|
+
home: {
|
|
1847
|
+
score: number;
|
|
1848
|
+
isWinner: boolean;
|
|
1849
|
+
};
|
|
1850
|
+
away: {
|
|
1851
|
+
score: number;
|
|
1852
|
+
isWinner: boolean;
|
|
1853
|
+
};
|
|
1624
1854
|
} | null;
|
|
1625
|
-
declare const
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1855
|
+
declare const getGroupMatchPoints: (match: MatchListView | null | undefined) => {
|
|
1856
|
+
home: {
|
|
1857
|
+
score: number;
|
|
1858
|
+
isWinner: boolean;
|
|
1859
|
+
};
|
|
1860
|
+
away: {
|
|
1861
|
+
score: number;
|
|
1862
|
+
isWinner: boolean;
|
|
1863
|
+
};
|
|
1630
1864
|
} | null;
|
|
1631
|
-
declare const getScrollItemTarget: (entries: IntersectionObserverEntry[], container: HTMLElement, direction: "start" | "end", scrollOrigin: "auto" | "center" | "start" | "end", axisDirection: "horizontal" | "vertical") => ScrollItemTarget;
|
|
1632
1865
|
|
|
1633
|
-
declare
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
*/
|
|
1640
|
-
skipSyncRead?: boolean;
|
|
1641
|
-
/**
|
|
1642
|
-
* If true, the first time the effect will be triggered will be skipped.
|
|
1643
|
-
* @default false
|
|
1644
|
-
*/
|
|
1645
|
-
skipFirstRun?: boolean;
|
|
1646
|
-
};
|
|
1647
|
-
declare const syncSignal: <T>(from: Signal<T>, to: WritableSignal<T>, options?: SyncSignalOptions) => _angular_core.EffectRef;
|
|
1648
|
-
type MaybeSignal<T> = T | Signal<T>;
|
|
1649
|
-
declare const maybeSignalValue: <T>(value: MaybeSignal<T>) => T;
|
|
1650
|
-
/**
|
|
1651
|
-
* A computed that will only be reactive until the source signal contains a truthy value.
|
|
1652
|
-
* All subsequent changes inside the computation will be ignored.
|
|
1653
|
-
*/
|
|
1654
|
-
declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | null>;
|
|
1655
|
-
/**
|
|
1656
|
-
* A computed that will only be reactive until the source signal contains a falsy value.
|
|
1657
|
-
* All subsequent changes inside the computation will be ignored.
|
|
1658
|
-
*/
|
|
1659
|
-
declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
|
|
1660
|
-
/**
|
|
1661
|
-
* A writeable signal that will be set to the provided value once all inputs are set.
|
|
1662
|
-
* During that time, the signal will be set to `null`.
|
|
1663
|
-
*/
|
|
1664
|
-
declare const deferredSignal: <T extends () => unknown>(valueFn: T) => WritableSignal<ReturnType<T> | null>;
|
|
1665
|
-
declare const memoizeSignal: <T>(factory: () => Signal<T>) => () => Signal<T>;
|
|
1866
|
+
declare class NormalizeMatchStatePipe implements PipeTransform {
|
|
1867
|
+
transform: (match: MatchListView | null | undefined) => MatchStateType | null;
|
|
1868
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchStatePipe, never>;
|
|
1869
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchStatePipe, "etNormalizeMatchState", true>;
|
|
1870
|
+
}
|
|
1871
|
+
declare const normalizeMatchState: (match: MatchListView | null | undefined) => MatchStateType | null;
|
|
1666
1872
|
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* Duration of the animation in milliseconds.
|
|
1675
|
-
* @default 1000
|
|
1676
|
-
*/
|
|
1677
|
-
duration?: number;
|
|
1678
|
-
/**
|
|
1679
|
-
* Easing function that takes a progress value (0 to 1) and returns an eased value (0 to 1).
|
|
1680
|
-
* Options:
|
|
1681
|
-
* - `easeLinear()`
|
|
1682
|
-
* - `easeIn()`
|
|
1683
|
-
* - `easeOut()`
|
|
1684
|
-
* - `easeInOut()`
|
|
1685
|
-
* - `easeElastic()`
|
|
1686
|
-
* - `easeOutBack()`
|
|
1687
|
-
* - `easeOutBackStrong()`
|
|
1688
|
-
* @default easeOut()
|
|
1689
|
-
*/
|
|
1690
|
-
easing?: (t: number) => number;
|
|
1691
|
-
/**
|
|
1692
|
-
* Function to round the animated value.
|
|
1693
|
-
* @default (v: number) => Math.round(v)
|
|
1694
|
-
*/
|
|
1695
|
-
round?: (value: number) => number;
|
|
1696
|
-
/**
|
|
1697
|
-
* Callback invoked when the animation starts.
|
|
1698
|
-
*/
|
|
1699
|
-
onAnimationStart?: () => void;
|
|
1700
|
-
/**
|
|
1701
|
-
* Callback invoked when the animation ends.
|
|
1702
|
-
*/
|
|
1703
|
-
onAnimationEnd?: () => void;
|
|
1704
|
-
};
|
|
1705
|
-
type AnimatedNumberSignal = Signal<number> & {
|
|
1706
|
-
/**
|
|
1707
|
-
* Starts the animation from the current value to the target value.
|
|
1708
|
-
* @returns The animated signal for chaining
|
|
1709
|
-
*/
|
|
1710
|
-
play: () => AnimatedNumberSignal;
|
|
1711
|
-
/**
|
|
1712
|
-
* Resets the animation to the initial value and stops any ongoing animation.
|
|
1713
|
-
* @returns The animated signal for chaining
|
|
1714
|
-
*/
|
|
1715
|
-
reset: () => AnimatedNumberSignal;
|
|
1716
|
-
/**
|
|
1717
|
-
* Stops the current animation at its current position.
|
|
1718
|
-
* @returns The animated signal for chaining
|
|
1719
|
-
*/
|
|
1720
|
-
stop: () => AnimatedNumberSignal;
|
|
1721
|
-
};
|
|
1722
|
-
/**
|
|
1723
|
-
* Creates a signal that animates the transition of a numeric signal's value over time.
|
|
1724
|
-
*/
|
|
1725
|
-
declare const signalAnimatedNumber: (source: MaybeSignal<number>, options?: SignalAnimatedNumberOptions) => AnimatedNumberSignal;
|
|
1726
|
-
declare const easeLinear: (t: number) => number;
|
|
1727
|
-
declare const easeIn: (t: number) => number;
|
|
1728
|
-
declare const easeOut: (t: number) => number;
|
|
1729
|
-
declare const easeInOut: (t: number) => number;
|
|
1730
|
-
/** Elastic easing function (overshoots) */
|
|
1731
|
-
declare const easeElastic: (t: number) => number;
|
|
1732
|
-
/** Back easing function (overshoots slightly then settles) */
|
|
1733
|
-
declare const easeOutBack: (t: number) => number;
|
|
1734
|
-
/** Back easing function with more overshoot */
|
|
1735
|
-
declare const easeOutBackStrong: (t: number) => number;
|
|
1873
|
+
declare class NormalizeMatchTypePipe implements PipeTransform {
|
|
1874
|
+
transform: (matchType: StageType | null | undefined) => Translatable | null;
|
|
1875
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchTypePipe, never>;
|
|
1876
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchTypePipe, "etNormalizeMatchType", true>;
|
|
1877
|
+
}
|
|
1878
|
+
declare const normalizeMatchType: (matchType: StageType | null | undefined) => Translatable | null;
|
|
1736
1879
|
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
* Coerces plain values with `booleanAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
1743
|
-
*
|
|
1744
|
-
* @example
|
|
1745
|
-
* snap = input(false, { transform: boolBreakpointTransform() });
|
|
1746
|
-
* // Template: `snap` | `[snap]="true"` | `[snap]="{ xs: false, md: true }"`
|
|
1747
|
-
*/
|
|
1748
|
-
declare const boolBreakpointTransform: () => ((value: BreakpointInput<boolean> | string) => boolean);
|
|
1749
|
-
/**
|
|
1750
|
-
* Transform factory for number inputs.
|
|
1751
|
-
* Coerces plain values with `numberAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
1752
|
-
*
|
|
1753
|
-
* @example
|
|
1754
|
-
* scrollMargin = input(0, { transform: numberBreakpointTransform() });
|
|
1755
|
-
* // Template: `[scrollMargin]="16"` | `[scrollMargin]="{ xs: 0, md: 16 }"`
|
|
1756
|
-
*/
|
|
1757
|
-
declare const numberBreakpointTransform: () => ((value: BreakpointInput<number> | string) => number);
|
|
1758
|
-
/**
|
|
1759
|
-
* Transform factory for any typed input (string unions, arrays, objects, etc.).
|
|
1760
|
-
* Passes plain values through as-is; resolves {@link BreakpointMap} mobile-first.
|
|
1761
|
-
* A value is treated as a {@link BreakpointMap} only when all its keys are valid breakpoint names.
|
|
1762
|
-
*
|
|
1763
|
-
* @example
|
|
1764
|
-
* itemSize = input('auto', { transform: typedBreakpointTransform<ScrollableItemSize>() });
|
|
1765
|
-
* tags = input([], { transform: typedBreakpointTransform<string[]>() });
|
|
1766
|
-
* // Template: `[itemSize]="'third'"` | `[itemSize]="{ xs: 'full', md: 'third' }"`
|
|
1767
|
-
*/
|
|
1768
|
-
declare const typedBreakpointTransform: <T>() => ((value: BreakpointInput<T>) => T);
|
|
1769
|
-
type BoolBreakpointSignal = InputSignalWithTransform<boolean, BreakpointInput<boolean> | string>;
|
|
1770
|
-
type NumberBreakpointSignal = InputSignalWithTransform<number, BreakpointInput<number> | string>;
|
|
1771
|
-
type TypedBreakpointSignal<T> = InputSignalWithTransform<T, BreakpointInput<T>>;
|
|
1772
|
-
declare const injectBreakpointInput: <T>(inputSignal: Signal<BreakpointInput<T>>, defaultValue: T) => Signal<T>;
|
|
1773
|
-
declare const booleanBreakpointAttribute: (value: unknown) => BreakpointInput<boolean>;
|
|
1774
|
-
declare const numberBreakpointAttribute: (value: unknown) => BreakpointInput<number>;
|
|
1775
|
-
declare const BREAKPOINT_INSTANCE_TOKEN: InjectionToken<unknown>;
|
|
1776
|
-
declare const provideBreakpointInstance: (componentClass: unknown) => {
|
|
1777
|
-
provide: InjectionToken<unknown>;
|
|
1778
|
-
useExisting: unknown;
|
|
1779
|
-
};
|
|
1880
|
+
declare class HtmlToMarkdownPipe implements PipeTransform {
|
|
1881
|
+
transform: (html: string) => string;
|
|
1882
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HtmlToMarkdownPipe, never>;
|
|
1883
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<HtmlToMarkdownPipe, "htmlToMarkdown", true>;
|
|
1884
|
+
}
|
|
1780
1885
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
debounceFirst?: boolean;
|
|
1787
|
-
};
|
|
1788
|
-
declare const controlValueSignal: <TControlInput extends Signal<AbstractControl | null> | AbstractControl, TControl extends TControlInput extends Signal<infer TSignalControl> ? TSignalControl : TControlInput>(control: TControlInput, options?: ControlValueSignalOptions) => Signal<ReturnType<NonNullable<TControl>["getRawValue"]> | null>;
|
|
1886
|
+
declare class InferMimeTypePipe implements PipeTransform {
|
|
1887
|
+
transform: (srcset: string) => string | null;
|
|
1888
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InferMimeTypePipe, never>;
|
|
1889
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<InferMimeTypePipe, "inferMimeType", true>;
|
|
1890
|
+
}
|
|
1789
1891
|
/**
|
|
1790
|
-
*
|
|
1892
|
+
* Infers the mime type of a given url or srcset.
|
|
1893
|
+
* If a srcset is provided, it will infer the mime type of the first url in the srcset.
|
|
1894
|
+
* If the srcset contains a query parameter `?fm=`, it will use the value of that parameter, since it is often used to specify the file format in image api's like contentful.
|
|
1791
1895
|
*/
|
|
1792
|
-
declare const
|
|
1896
|
+
declare const inferMimeType: (srcset: string) => string | null;
|
|
1793
1897
|
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
}>;
|
|
1800
|
-
type ElementSignalValue = ReturnType<ElementSignal>;
|
|
1801
|
-
declare const isElementSignal: (el: unknown) => el is ElementSignal;
|
|
1802
|
-
declare const createDocumentElementSignal: () => ElementSignal;
|
|
1803
|
-
declare const createEmptyElementSignal: () => ElementSignal;
|
|
1804
|
-
declare const buildElementSignal: (el: SignalElementBindingType | null | undefined) => ElementSignal;
|
|
1805
|
-
declare const firstElementSignal: (el: ElementSignal) => Signal<{
|
|
1806
|
-
currentElement: HTMLElement | null;
|
|
1807
|
-
previousElement: HTMLElement | null;
|
|
1808
|
-
}>;
|
|
1898
|
+
declare class MarkdownToHtmlPipe implements PipeTransform {
|
|
1899
|
+
transform: (markdown: string) => string;
|
|
1900
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MarkdownToHtmlPipe, never>;
|
|
1901
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<MarkdownToHtmlPipe, "markdownToHtml", true>;
|
|
1902
|
+
}
|
|
1809
1903
|
|
|
1810
|
-
declare
|
|
1904
|
+
declare class ToArrayPipe implements PipeTransform {
|
|
1905
|
+
transform: (value: number) => number[];
|
|
1906
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToArrayPipe, never>;
|
|
1907
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ToArrayPipe, "toArray", true>;
|
|
1908
|
+
}
|
|
1909
|
+
declare const toArray: (value: number) => number[];
|
|
1910
|
+
declare const toArrayTrackByFn: TrackByFunction<number>;
|
|
1811
1911
|
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
};
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
};
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1912
|
+
declare const createPropHandlers: () => {
|
|
1913
|
+
classes: {
|
|
1914
|
+
remove: (tokens: string) => void;
|
|
1915
|
+
removeMany: (tokens: string[]) => void;
|
|
1916
|
+
has: (tokens: string) => boolean;
|
|
1917
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1918
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1919
|
+
};
|
|
1920
|
+
attributes: {
|
|
1921
|
+
remove: (tokens: string) => void;
|
|
1922
|
+
removeMany: (tokens: string[]) => void;
|
|
1923
|
+
has: (tokens: string) => boolean;
|
|
1924
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1925
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1926
|
+
};
|
|
1927
|
+
styles: {
|
|
1928
|
+
remove: (tokens: string) => void;
|
|
1929
|
+
removeMany: (tokens: string[]) => void;
|
|
1930
|
+
has: (tokens: string) => boolean;
|
|
1931
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1932
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1933
|
+
};
|
|
1934
|
+
id: string;
|
|
1935
|
+
elementRef: ElementRef<HTMLElement>;
|
|
1833
1936
|
};
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1937
|
+
type PropHandlers = ReturnType<typeof createPropHandlers>;
|
|
1938
|
+
|
|
1939
|
+
type Props = Readonly<{
|
|
1940
|
+
attached: Signal<boolean>;
|
|
1941
|
+
attachedElements: PropsAttachedElements;
|
|
1942
|
+
}>;
|
|
1943
|
+
type PropsAttachedElements = {
|
|
1944
|
+
first: Signal<HTMLElement | null>;
|
|
1945
|
+
firstId: Signal<string | null>;
|
|
1946
|
+
get(id: string): HTMLElement | null;
|
|
1840
1947
|
};
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
1846
|
-
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
1948
|
+
type PropsAttachedElementsInternal = PropsAttachedElements & {
|
|
1949
|
+
has: (id: string) => boolean;
|
|
1950
|
+
push: (id: string, element: HTMLElement) => void;
|
|
1951
|
+
remove: (id: string) => void;
|
|
1847
1952
|
};
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1953
|
+
type PropsInternal = {
|
|
1954
|
+
single: boolean;
|
|
1955
|
+
name: string;
|
|
1956
|
+
bindId: boolean;
|
|
1957
|
+
attached: Signal<boolean>;
|
|
1958
|
+
attachedElements: PropsAttachedElementsInternal;
|
|
1959
|
+
classBindings: Record<string, Signal<unknown>> | null;
|
|
1960
|
+
attributeBindings: Record<string, Signal<unknown>> | null;
|
|
1961
|
+
styleBindings: Record<string, Signal<unknown>> | null;
|
|
1962
|
+
staticClassBindings: string[] | null;
|
|
1963
|
+
staticAttributeBindings: Record<string, unknown> | null;
|
|
1964
|
+
staticStyleBindings: Record<string, unknown> | null;
|
|
1965
|
+
attachEventListeners: ((context: {
|
|
1966
|
+
on: HTMLElement['addEventListener'];
|
|
1967
|
+
element: HTMLElement;
|
|
1968
|
+
}) => void) | null;
|
|
1854
1969
|
};
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1970
|
+
type CreatePropsOptions = {
|
|
1971
|
+
name: string;
|
|
1972
|
+
bindId?: boolean;
|
|
1973
|
+
single?: boolean;
|
|
1974
|
+
classes?: Record<string, Signal<unknown>>;
|
|
1975
|
+
attributes?: Record<string, Signal<unknown>>;
|
|
1976
|
+
styles?: Record<string, Signal<unknown>>;
|
|
1977
|
+
staticClasses?: string[];
|
|
1978
|
+
staticAttributes?: Record<string, unknown>;
|
|
1979
|
+
staticStyles?: Record<string, unknown>;
|
|
1980
|
+
listeners?: (context: {
|
|
1981
|
+
on: HTMLElement['addEventListener'];
|
|
1982
|
+
element: HTMLElement;
|
|
1983
|
+
}) => void;
|
|
1861
1984
|
};
|
|
1862
|
-
declare const
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
push: (tokens: string, signal: Signal<unknown>) => void;
|
|
1867
|
-
pushMany: (map: Record<string, Signal<unknown>>) => void;
|
|
1985
|
+
declare const createProps: (props: CreatePropsOptions) => Props;
|
|
1986
|
+
type HostProps = {
|
|
1987
|
+
props: Props;
|
|
1988
|
+
handlers: PropHandlers;
|
|
1868
1989
|
};
|
|
1990
|
+
declare const createHostProps: (props: CreatePropsOptions) => HostProps;
|
|
1869
1991
|
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
};
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
};
|
|
1884
|
-
type ElementSize = {
|
|
1885
|
-
width: number;
|
|
1886
|
-
height: number;
|
|
1887
|
-
};
|
|
1888
|
-
declare const boundingClientRectToElementRect: (rect: DOMRectReadOnly) => ElementRect;
|
|
1889
|
-
declare const createElementDimensions: (el: HTMLElement | null, rect?: DOMRect) => NullableElementDimensions;
|
|
1890
|
-
type ElementDimensions = {
|
|
1891
|
-
rect: () => ElementRect;
|
|
1892
|
-
client: ElementSize;
|
|
1893
|
-
scroll: ElementSize;
|
|
1894
|
-
offset: ElementSize;
|
|
1992
|
+
declare const createSetup: <T extends Record<string, unknown>>(config: {
|
|
1993
|
+
setupFn: (params: T) => void;
|
|
1994
|
+
this: ThisType<unknown>;
|
|
1995
|
+
}) => (params: T) => void;
|
|
1996
|
+
|
|
1997
|
+
declare const createDependencyStash: <T extends Record<string, WritableSignal<unknown>>>(stash: T) => T & {
|
|
1998
|
+
provideSignal: <K extends keyof T>(data: {
|
|
1999
|
+
signal: Signal<ReturnType<T[K]>>;
|
|
2000
|
+
for: K;
|
|
2001
|
+
}) => void;
|
|
2002
|
+
provideValue: <K extends keyof T>(data: {
|
|
2003
|
+
value: ReturnType<T[K]>;
|
|
2004
|
+
for: K;
|
|
2005
|
+
}) => void;
|
|
1895
2006
|
};
|
|
1896
|
-
|
|
1897
|
-
|
|
2007
|
+
|
|
2008
|
+
declare const createElementDictionary: () => {
|
|
2009
|
+
ids: _angular_core.Signal<string[]>;
|
|
2010
|
+
elements: _angular_core.Signal<HTMLElement[]>;
|
|
2011
|
+
has: (id: string) => boolean;
|
|
2012
|
+
get: (id: string) => HTMLElement | null;
|
|
2013
|
+
push: (id: string, element: HTMLElement) => void;
|
|
2014
|
+
remove: (id: string) => void;
|
|
2015
|
+
isEmpty: _angular_core.Signal<boolean>;
|
|
2016
|
+
firstElement: _angular_core.Signal<HTMLElement | null>;
|
|
2017
|
+
firstId: _angular_core.Signal<string | null>;
|
|
1898
2018
|
};
|
|
1899
|
-
declare const signalElementDimensions: (el: SignalElementBindingType) => Signal<NullableElementDimensions>;
|
|
1900
|
-
declare const signalHostElementDimensions: () => Signal<NullableElementDimensions>;
|
|
1901
|
-
declare const injectViewportSize: () => Signal<ElementSize>;
|
|
1902
2019
|
|
|
1903
|
-
type
|
|
1904
|
-
|
|
1905
|
-
|
|
2020
|
+
type BindPropsOptions = {
|
|
2021
|
+
props: Props | PropsInternal;
|
|
2022
|
+
handlers: PropHandlers;
|
|
1906
2023
|
};
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
isRight: boolean;
|
|
1912
|
-
isVisible: boolean;
|
|
2024
|
+
declare const bindProps: (config: BindPropsOptions) => void;
|
|
2025
|
+
type UnbindPropsOptions = {
|
|
2026
|
+
props: Props | PropsInternal;
|
|
2027
|
+
handlers: PropHandlers;
|
|
1913
2028
|
};
|
|
1914
|
-
declare const
|
|
1915
|
-
declare const signalHostElementIntersection: (options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
|
|
2029
|
+
declare const unbindProps: (config: UnbindPropsOptions) => void;
|
|
1916
2030
|
|
|
1917
|
-
declare
|
|
1918
|
-
|
|
2031
|
+
declare class PropsDirective {
|
|
2032
|
+
destroyRef: DestroyRef;
|
|
2033
|
+
props: _angular_core.InputSignalWithTransform<PropsInternal, Readonly<{
|
|
2034
|
+
attached: _angular_core.Signal<boolean>;
|
|
2035
|
+
attachedElements: _ethlete_core.PropsAttachedElements;
|
|
2036
|
+
}>>;
|
|
2037
|
+
propHandlers: {
|
|
2038
|
+
classes: {
|
|
2039
|
+
remove: (tokens: string) => void;
|
|
2040
|
+
removeMany: (tokens: string[]) => void;
|
|
2041
|
+
has: (tokens: string) => boolean;
|
|
2042
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2043
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2044
|
+
};
|
|
2045
|
+
attributes: {
|
|
2046
|
+
remove: (tokens: string) => void;
|
|
2047
|
+
removeMany: (tokens: string[]) => void;
|
|
2048
|
+
has: (tokens: string) => boolean;
|
|
2049
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2050
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2051
|
+
};
|
|
2052
|
+
styles: {
|
|
2053
|
+
remove: (tokens: string) => void;
|
|
2054
|
+
removeMany: (tokens: string[]) => void;
|
|
2055
|
+
has: (tokens: string) => boolean;
|
|
2056
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2057
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2058
|
+
};
|
|
2059
|
+
id: string;
|
|
2060
|
+
elementRef: _angular_core.ElementRef<HTMLElement>;
|
|
2061
|
+
};
|
|
2062
|
+
constructor();
|
|
2063
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
|
|
2064
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2065
|
+
}
|
|
1919
2066
|
|
|
1920
|
-
type
|
|
1921
|
-
type
|
|
1922
|
-
|
|
1923
|
-
|
|
2067
|
+
type AnyTemplateType = string | TemplateRef<unknown> | ComponentType<unknown> | TemplateRefWithContext | ComponentTypeWithInputs;
|
|
2068
|
+
type TemplateRefWithContext<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
2069
|
+
template: TemplateRef<J>;
|
|
2070
|
+
context?: T;
|
|
2071
|
+
injector?: Injector;
|
|
1924
2072
|
};
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
/** The initial scroll position to scroll to. Once a truthy value get's emitted, all further values will be ignored. */
|
|
1930
|
-
initialScrollPosition?: Signal<ScrollToOptions | null>;
|
|
2073
|
+
type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
2074
|
+
component: ComponentType<J>;
|
|
2075
|
+
inputs?: T;
|
|
2076
|
+
injector?: Injector;
|
|
1931
2077
|
};
|
|
1932
|
-
type
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
canScrollVertically: boolean;
|
|
1936
|
-
elementDimensions: NullableElementDimensions;
|
|
2078
|
+
type StringTemplate = {
|
|
2079
|
+
type: 'string';
|
|
2080
|
+
value: string;
|
|
1937
2081
|
};
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
declare const injectIsLg: () => _angular_core.Signal<boolean>;
|
|
1950
|
-
/** Inject a signal containing a boolean value indicating if the viewport is xl */
|
|
1951
|
-
declare const injectIsXl: () => _angular_core.Signal<boolean>;
|
|
1952
|
-
/** Inject a signal containing a boolean value indicating if the viewport is 2xl */
|
|
1953
|
-
declare const injectIs2Xl: () => _angular_core.Signal<boolean>;
|
|
1954
|
-
/**
|
|
1955
|
-
* Inject a boolean value indicating if the viewport is matching the provided options.
|
|
1956
|
-
* This value is not reactive. If you want to react to changes, use the {@link injectObserveBreakpoint} function instead.
|
|
1957
|
-
*/
|
|
1958
|
-
declare const injectBreakpointIsMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
1959
|
-
/**
|
|
1960
|
-
* Inject a boolean value indicating if the media query is matched.
|
|
1961
|
-
* This value is not reactive. If you want to react to changes, use the {@link injectObserveMediaQuery} function instead.
|
|
1962
|
-
*/
|
|
1963
|
-
declare const injectMediaQueryIsMatched: (mediaQuery: string) => boolean;
|
|
1964
|
-
/**
|
|
1965
|
-
* Inject a signal containing a boolean value indicating if the viewport is matching the provided options.
|
|
1966
|
-
*/
|
|
1967
|
-
declare const injectObserveBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
1968
|
-
/**
|
|
1969
|
-
* Inject a signal containing a boolean value indicating if the media query is matched.
|
|
1970
|
-
*/
|
|
1971
|
-
declare const injectObserveMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
1972
|
-
/** Inject a signal containing the current breakpoint. */
|
|
1973
|
-
declare const injectCurrentBreakpoint: () => _angular_core.Signal<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
|
|
1974
|
-
/** Inject a signal that indicates if the user is using a portrait display */
|
|
1975
|
-
declare const injectIsPortrait: () => _angular_core.Signal<boolean>;
|
|
1976
|
-
/** Inject a signal that indicates if the user is using a landscape display */
|
|
1977
|
-
declare const injectIsLandscape: () => _angular_core.Signal<boolean>;
|
|
1978
|
-
/** Inject a signal containing the current display orientation */
|
|
1979
|
-
declare const injectDisplayOrientation: () => _angular_core.Signal<"portrait" | "landscape">;
|
|
1980
|
-
/** Inject a signal that indicates if the device has a touch input */
|
|
1981
|
-
declare const injectHasTouchInput: () => _angular_core.Signal<boolean>;
|
|
1982
|
-
/** Inject a signal that indicates if the device has a fine input (mouse or stylus) */
|
|
1983
|
-
declare const injectHasPrecisionInput: () => _angular_core.Signal<boolean>;
|
|
1984
|
-
/** Inject a signal containing the current device input type */
|
|
1985
|
-
declare const injectDeviceInputType: () => _angular_core.Signal<"touch" | "mouse">;
|
|
1986
|
-
/** Inject a signal containing a boolean value indicating if the user can hover (eg. using a mouse) */
|
|
1987
|
-
declare const injectCanHover: () => _angular_core.Signal<boolean>;
|
|
1988
|
-
/** Inject a signal containing the viewport dimensions */
|
|
1989
|
-
declare const injectViewportDimensions: () => _angular_core.Signal<_ethlete_core.NullableElementDimensions>;
|
|
1990
|
-
/** Inject a signal containing the scrollbar dimensions. Dimensions will be 0 if scrollbars overlap the page contents (like on mobile). */
|
|
1991
|
-
declare const injectScrollbarDimensions: () => _angular_core.Signal<{
|
|
1992
|
-
width: number;
|
|
1993
|
-
height: number;
|
|
1994
|
-
} | null>;
|
|
1995
|
-
|
|
1996
|
-
/**
|
|
1997
|
-
* Applies scrollbar size CSS variables to the documentElement (html tag) in pixels.
|
|
1998
|
-
* - `--et-sw`: scrollbar width
|
|
1999
|
-
* - `--et-sh`: scrollbar height
|
|
2000
|
-
*/
|
|
2001
|
-
declare const writeScrollbarSizeToCssVariables: () => void;
|
|
2002
|
-
/**
|
|
2003
|
-
* Applies viewport size CSS variables to the documentElement (html tag) in pixels.
|
|
2004
|
-
* - `--et-vw`: viewport width excluding scrollbar width
|
|
2005
|
-
* - `--et-vh`: viewport height excluding scrollbar height
|
|
2006
|
-
*/
|
|
2007
|
-
declare const writeViewportSizeToCssVariables: () => void;
|
|
2008
|
-
|
|
2009
|
-
type CursorDragScrollDirection = 'horizontal' | 'vertical' | 'both';
|
|
2010
|
-
type CursorDragScrollOptions = {
|
|
2011
|
-
/** If true, cursor drag scrolling will be enabled. */
|
|
2012
|
-
enabled?: Signal<boolean>;
|
|
2013
|
-
/** The allowed scroll direction. */
|
|
2014
|
-
allowedDirection?: MaybeSignal<CursorDragScrollDirection>;
|
|
2082
|
+
type NgTemplateTemplate = {
|
|
2083
|
+
type: 'template';
|
|
2084
|
+
value: TemplateRef<unknown>;
|
|
2085
|
+
context?: Record<string, unknown>;
|
|
2086
|
+
injector: Injector | null;
|
|
2087
|
+
};
|
|
2088
|
+
type ComponentTemplate = {
|
|
2089
|
+
type: 'component';
|
|
2090
|
+
value: ComponentType<unknown>;
|
|
2091
|
+
inputs?: Record<string, unknown>;
|
|
2092
|
+
injector: Injector | null;
|
|
2015
2093
|
};
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2094
|
+
declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
|
|
2095
|
+
|
|
2096
|
+
type ResizeEdge = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
2097
|
+
type ResizeMoveEvent = {
|
|
2098
|
+
edge: ResizeEdge;
|
|
2099
|
+
dx: number;
|
|
2100
|
+
dy: number;
|
|
2023
2101
|
};
|
|
2102
|
+
declare class ResizeHandlesComponent {
|
|
2103
|
+
edges: _angular_core.InputSignal<ResizeEdge[]>;
|
|
2104
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2105
|
+
private gestureStart$;
|
|
2106
|
+
private gesture$;
|
|
2107
|
+
resizeStarted: _angular_core.OutputRef<ResizeEdge>;
|
|
2108
|
+
resizeMoved: _angular_core.OutputRef<ResizeMoveEvent>;
|
|
2109
|
+
resizeEnded: _angular_core.OutputRef<void>;
|
|
2110
|
+
isResizing: _angular_core.Signal<boolean>;
|
|
2111
|
+
activeEdge: _angular_core.Signal<ResizeEdge | null>;
|
|
2112
|
+
readonly edgeCursors: Record<ResizeEdge, string>;
|
|
2113
|
+
startResizeGesture(event: PointerEvent, edge: ResizeEdge): void;
|
|
2114
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResizeHandlesComponent, never>;
|
|
2115
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResizeHandlesComponent, "et-resize-handles", never, { "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "resizeStarted": "resizeStarted"; "resizeMoved": "resizeMoved"; "resizeEnded": "resizeEnded"; }, never, never, true, never>;
|
|
2116
|
+
}
|
|
2024
2117
|
|
|
2025
|
-
|
|
2118
|
+
declare const elementCanScroll: (element?: HTMLElement | null, direction?: "x" | "y") => boolean;
|
|
2119
|
+
type IsElementVisibleOptions = {
|
|
2026
2120
|
/**
|
|
2027
|
-
* The
|
|
2028
|
-
* @default document.documentElement
|
|
2121
|
+
* The element to check if it is visible inside a container.
|
|
2029
2122
|
*/
|
|
2030
|
-
|
|
2123
|
+
element?: HTMLElement | null;
|
|
2031
2124
|
/**
|
|
2032
|
-
*
|
|
2033
|
-
*
|
|
2034
|
-
* @
|
|
2125
|
+
* The container to check if the element is visible inside.
|
|
2126
|
+
* If null or undefined, uses the viewport as the container.
|
|
2127
|
+
* @default null (viewport)
|
|
2035
2128
|
*/
|
|
2036
|
-
|
|
2129
|
+
container?: HTMLElement | null;
|
|
2037
2130
|
/**
|
|
2038
|
-
*
|
|
2131
|
+
* The container's rect to check if the element is visible inside. Can be supplied to reduce the amount of DOM reads.
|
|
2132
|
+
* Only used when container is provided and not null.
|
|
2133
|
+
* @default container.getBoundingClientRect()
|
|
2039
2134
|
*/
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
/**
|
|
2047
|
-
* Whether to use smooth scrolling or not.
|
|
2048
|
-
* @default false
|
|
2049
|
-
*/
|
|
2050
|
-
smooth?: boolean;
|
|
2051
|
-
};
|
|
2135
|
+
containerRect?: DOMRect | null;
|
|
2136
|
+
/**
|
|
2137
|
+
* The element's rect. Can be supplied to reduce the amount of DOM reads.
|
|
2138
|
+
* @default element.getBoundingClientRect()
|
|
2139
|
+
*/
|
|
2140
|
+
elementRect?: DOMRect | null;
|
|
2052
2141
|
};
|
|
2053
|
-
|
|
2054
|
-
declare const ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE: unique symbol;
|
|
2055
|
-
declare const ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE: unique symbol;
|
|
2056
|
-
type RouterDisableScrollTopConfig = {
|
|
2142
|
+
type CurrentElementVisibility = {
|
|
2057
2143
|
/**
|
|
2058
|
-
* Whether
|
|
2059
|
-
* @default false
|
|
2144
|
+
* Whether the element is visible in the inline direction.
|
|
2060
2145
|
*/
|
|
2061
|
-
|
|
2146
|
+
inline: boolean;
|
|
2062
2147
|
/**
|
|
2063
|
-
* Whether
|
|
2064
|
-
* @default false
|
|
2148
|
+
* Whether the element is visible in the block direction.
|
|
2065
2149
|
*/
|
|
2066
|
-
|
|
2067
|
-
};
|
|
2068
|
-
declare const routerDisableScrollTop: (config?: RouterDisableScrollTopConfig) => {
|
|
2069
|
-
[ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
|
|
2070
|
-
[ET_DISABLE_SCROLL_TOP]: boolean;
|
|
2071
|
-
} | {
|
|
2072
|
-
[ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
|
|
2073
|
-
[ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE]: boolean;
|
|
2074
|
-
};
|
|
2075
|
-
declare const setupScrollRestoration: (config?: SetupScrollRestorationConfig) => void;
|
|
2076
|
-
|
|
2077
|
-
declare const signalIsRendered: () => _angular_core.Signal<boolean>;
|
|
2078
|
-
declare const createIsRenderedSignal: () => {
|
|
2079
|
-
state: _angular_core.WritableSignal<boolean>;
|
|
2080
|
-
bind: () => _angular_core.EffectRef;
|
|
2081
|
-
};
|
|
2082
|
-
declare const createCanAnimateSignal: () => {
|
|
2083
|
-
state: _angular_core.Signal<boolean>;
|
|
2084
|
-
};
|
|
2085
|
-
|
|
2086
|
-
type RouterState = {
|
|
2087
|
-
data: Data;
|
|
2088
|
-
pathParams: Params;
|
|
2089
|
-
queryParams: Params;
|
|
2090
|
-
title: string | null;
|
|
2091
|
-
fragment: string | null;
|
|
2092
|
-
};
|
|
2093
|
-
declare const ET_PROPERTY_REMOVED: unique symbol;
|
|
2094
|
-
type InjectUtilConfig = {
|
|
2095
|
-
/** The injector to use for the injection. Must be provided if the function is not called from within a injection context. */
|
|
2096
|
-
injector?: Injector;
|
|
2097
|
-
};
|
|
2098
|
-
type InjectUtilTransformConfig<In, Out> = {
|
|
2150
|
+
block: boolean;
|
|
2099
2151
|
/**
|
|
2100
|
-
*
|
|
2101
|
-
* Can be used to transform the value before it is returned.
|
|
2102
|
-
* E.g. transforming `"true"` to `true` for a boolean attribute.
|
|
2152
|
+
* The percentage of the element that is visible in the inline direction.
|
|
2103
2153
|
*/
|
|
2104
|
-
|
|
2154
|
+
inlineIntersection: number;
|
|
2155
|
+
/**
|
|
2156
|
+
* The percentage of the element that is visible in the block direction.
|
|
2157
|
+
*/
|
|
2158
|
+
blockIntersection: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* Whether the element is intersecting the container.
|
|
2161
|
+
*/
|
|
2162
|
+
isIntersecting: boolean;
|
|
2163
|
+
/**
|
|
2164
|
+
* The ratio of the element that is intersecting the container.
|
|
2165
|
+
*/
|
|
2166
|
+
intersectionRatio: number;
|
|
2167
|
+
/**
|
|
2168
|
+
* The element that is being checked for visibility.
|
|
2169
|
+
*/
|
|
2170
|
+
element: HTMLElement;
|
|
2171
|
+
/**
|
|
2172
|
+
* The container's rect used for the calculation.
|
|
2173
|
+
*/
|
|
2174
|
+
containerRect: DOMRect;
|
|
2175
|
+
/**
|
|
2176
|
+
* The element's rect used for the calculation.
|
|
2177
|
+
*/
|
|
2178
|
+
elementRect: DOMRect;
|
|
2105
2179
|
};
|
|
2106
|
-
declare const
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* Signal that indicates whether the router has been initialized.
|
|
2111
|
-
* The router is considered initialized once the first NavigationEnd event with an id different than -1 has been emitted.
|
|
2112
|
-
*/
|
|
2113
|
-
declare const injectIsRouterInitialized: () => Signal<boolean>;
|
|
2114
|
-
/**
|
|
2115
|
-
* Inject the current url.
|
|
2116
|
-
* The url includes query params as well as the fragment. Use `injectRoute` instead if you are not intrusted in those.
|
|
2117
|
-
* @example "/my-page?query=1¶m=true#fragment"
|
|
2118
|
-
*/
|
|
2119
|
-
declare const injectUrl: () => Signal<string>;
|
|
2120
|
-
/**
|
|
2121
|
-
* Inject the current route
|
|
2122
|
-
* @example "/my-page"
|
|
2123
|
-
*/
|
|
2124
|
-
declare const injectRoute: () => Signal<string>;
|
|
2125
|
-
/**
|
|
2126
|
-
* Inject the complete router state. This includes the current route data, path params, query params, title and fragment.
|
|
2127
|
-
*/
|
|
2128
|
-
declare const injectRouterState: () => Signal<RouterState>;
|
|
2129
|
-
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
2130
|
-
declare const injectFragment: <T = string | null>(config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
2131
|
-
/** Inject all currently available query parameters as a signal */
|
|
2132
|
-
declare const injectQueryParams: () => Signal<Params>;
|
|
2133
|
-
/** Inject all currently available route data as a signal */
|
|
2134
|
-
declare const injectRouteData: () => Signal<Data>;
|
|
2135
|
-
/** Inject the current route title as a signal */
|
|
2136
|
-
declare const injectRouteTitle: <T = string | null>(config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
2137
|
-
/** Inject all currently available path parameters as a signal */
|
|
2138
|
-
declare const injectPathParams: () => Signal<Params>;
|
|
2139
|
-
type InjectQueryParamConfig<T> = InjectUtilTransformConfig<string | null, T> & {
|
|
2180
|
+
declare const isElementVisible: (options: IsElementVisibleOptions) => CurrentElementVisibility | null;
|
|
2181
|
+
declare const getElementScrollCoordinates: (options: ScrollToElementOptions) => ScrollToOptions;
|
|
2182
|
+
type ScrollToElementOptions = {
|
|
2140
2183
|
/**
|
|
2141
|
-
*
|
|
2142
|
-
* Note that this will not work with arrays or complex objects.
|
|
2184
|
+
* The element to scroll to.
|
|
2143
2185
|
*/
|
|
2144
|
-
|
|
2186
|
+
element?: HTMLElement | null;
|
|
2187
|
+
/**
|
|
2188
|
+
* The scroll container to scroll to the element in.
|
|
2189
|
+
* Must be provided - cannot scroll the viewport programmatically with this function.
|
|
2190
|
+
*/
|
|
2191
|
+
container?: HTMLElement | null;
|
|
2192
|
+
/**
|
|
2193
|
+
* The direction to scroll in.
|
|
2194
|
+
* @default 'both'
|
|
2195
|
+
*/
|
|
2196
|
+
direction?: 'inline' | 'block' | 'both';
|
|
2197
|
+
/**
|
|
2198
|
+
* The origin of the element to scroll to.
|
|
2199
|
+
* @default 'nearest'
|
|
2200
|
+
*/
|
|
2201
|
+
origin?: 'start' | 'end' | 'center' | 'nearest';
|
|
2202
|
+
/**
|
|
2203
|
+
* The scroll behavior.
|
|
2204
|
+
* @default 'smooth'
|
|
2205
|
+
*/
|
|
2206
|
+
behavior?: ScrollBehavior;
|
|
2207
|
+
/**
|
|
2208
|
+
* The scroll inline-margin
|
|
2209
|
+
* @default 0
|
|
2210
|
+
*/
|
|
2211
|
+
scrollInlineMargin?: number;
|
|
2212
|
+
/**
|
|
2213
|
+
* The scroll block-margin
|
|
2214
|
+
* @default 0
|
|
2215
|
+
*/
|
|
2216
|
+
scrollBlockMargin?: number;
|
|
2145
2217
|
};
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
/**
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2218
|
+
declare const scrollToElement: (options: ScrollToElementOptions) => void;
|
|
2219
|
+
|
|
2220
|
+
type ScrollSnapOrigin = 'auto' | 'start' | 'center' | 'end';
|
|
2221
|
+
type ScrollSnapTarget = {
|
|
2222
|
+
/** The element to snap to. */
|
|
2223
|
+
element: HTMLElement;
|
|
2224
|
+
/** The resolved alignment to use when scrolling to the element. */
|
|
2225
|
+
origin: 'start' | 'center' | 'end';
|
|
2226
|
+
} | null;
|
|
2227
|
+
declare const getScrollSnapTarget: (items: HTMLElement[], container: HTMLElement, direction: "horizontal" | "vertical", origin: ScrollSnapOrigin, margin?: number) => ScrollSnapTarget;
|
|
2228
|
+
type ScrollContainerTarget = {
|
|
2229
|
+
element: HTMLElement;
|
|
2230
|
+
origin: 'start' | 'end';
|
|
2231
|
+
} | null;
|
|
2232
|
+
declare const getScrollContainerTarget: (entries: IntersectionObserverEntry[], direction: "start" | "end") => ScrollContainerTarget;
|
|
2233
|
+
type ScrollItemTarget = {
|
|
2234
|
+
element: HTMLElement;
|
|
2235
|
+
index: number;
|
|
2236
|
+
origin: 'start' | 'end' | 'center';
|
|
2237
|
+
} | null;
|
|
2238
|
+
declare const getScrollItemTarget: (entries: IntersectionObserverEntry[], container: HTMLElement, direction: "start" | "end", scrollOrigin: "auto" | "center" | "start" | "end", axisDirection: "horizontal" | "vertical") => ScrollItemTarget;
|
|
2162
2239
|
|
|
2163
2240
|
type HeadBinding<T> = {
|
|
2164
2241
|
id: symbol;
|
|
@@ -2706,5 +2783,5 @@ declare const injectTitleStore: {
|
|
|
2706
2783
|
};
|
|
2707
2784
|
declare const applyHeadTitleBinding: (binding: MaybeSignal<string | number | null | undefined>, options?: Omit<TitlePart, "text">) => void;
|
|
2708
2785
|
|
|
2709
|
-
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, htmlToMarkdown, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
2710
|
-
export type { AlternateLanguagesConfig, AlternateLink, AngularRenderer, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedOverlayComponentBase, AnimatedOverlayMountConfig, AnimatedOverlayState, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorTheme, ColorThemeType, ComponentTemplate, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateProviderOptions, CreateSessionMemoryConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragMoveEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, FacebookCard, FlipAnimationConfig, HeadBinding, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeState, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderResult, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RootProviderResult, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderResult, StringTemplate, StructuredDataConfig, StyleManager, SurfaceContextEntry, SurfaceContextTracker, SurfaceInteractionColor, SurfaceTheme, SurfaceThemeColor, SurfaceType, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCard, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|
|
2786
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, htmlToMarkdown, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resetPositioningStyles, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
2787
|
+
export type { AlternateLanguagesConfig, AlternateLink, AngularRenderer, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedOverlayComponentBase, AnimatedOverlayMountConfig, AnimatedOverlayState, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorTheme, ColorThemeType, ComponentTemplate, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateProviderOptions, CreateSessionMemoryConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragMoveEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, FacebookCard, FlipAnimationConfig, HeadBinding, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAnimationDelegate, OverlayRuntimeAnimationDelegateEnterContext, OverlayRuntimeAnimationDelegateLeaveContext, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeGlobalPosition, OverlayRuntimeGlobalPositionAlignment, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeState, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderResult, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RootProviderResult, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderResult, StringTemplate, StructuredDataConfig, StyleManager, SurfaceContextEntry, SurfaceContextTracker, SurfaceInteractionColor, SurfaceTheme, SurfaceThemeColor, SurfaceType, SwipeEndEvent, SwipeTracker, SwipeUpdateEvent, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCard, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|