@ethlete/core 5.0.0-next.53 → 5.0.0-next.54
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 +15 -0
- package/fesm2022/ethlete-core.mjs +638 -542
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/generators/devtools-about/generator.js +24 -15
- package/generators/generators.json +7 -6
- package/generators/migrate-provider-shape/migration-scope.js +3 -3
- package/generators/migrate-provider-shape/migration.js +0 -1
- package/generators/migrate-provider-shape/provider-shape.js +91 -24
- package/generators/migrate-surface-interaction-swatch/interaction-swatch.js +22 -2
- package/generators/migrate-surface-interaction-swatch/migration.js +8 -1
- package/generators/migrate-to-v5/color-naming.js +15 -20
- package/generators/migrate-to-v5/create-provider.js +14 -10
- package/generators/migrate-to-v5/migration.js +0 -1
- package/generators/migrate-to-v5/router-state-service.js +33 -8
- package/generators/migrate-to-v5/viewport-service.js +41 -59
- package/generators/tailwind-4-color-theme/generator.js +30 -21
- package/generators/tailwind-4-surface-theme/generator.js +60 -30
- package/package.json +2 -10
- package/types/ethlete-core.d.ts +49 -52
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,
|
|
2
|
+
import { InjectionToken, AfterViewInit, Signal, ElementRef, QueryList, WritableSignal, InputSignalWithTransform, Provider, RendererStyleFlags2, Type, ComponentRef, Injector, ViewContainerRef, EnvironmentProviders, Binding, InjectOptions, TemplateRef, InputSignal, PipeTransform, TrackByFunction, ApplicationRef } 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';
|
|
@@ -80,18 +80,18 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
|
|
|
80
80
|
private element;
|
|
81
81
|
private isConstructed;
|
|
82
82
|
private transitionIdCounter;
|
|
83
|
-
private
|
|
84
|
-
private
|
|
83
|
+
private forcedThisFrame;
|
|
84
|
+
private forcedFrameResetId;
|
|
85
85
|
state$: BehaviorSubject<AnimatedLifecycleState>;
|
|
86
86
|
stateChange: _angular_core.OutputRef<AnimatedLifecycleState>;
|
|
87
87
|
skipNextEnter: _angular_core.ModelSignal<boolean>;
|
|
88
88
|
constructor();
|
|
89
|
-
private trackFrameId;
|
|
90
89
|
ngAfterViewInit(): void;
|
|
91
90
|
enter(): void;
|
|
92
91
|
leave(): void;
|
|
93
92
|
forceEnteredState(): void;
|
|
94
93
|
forceLeftState(): void;
|
|
94
|
+
private markForcedThisFrame;
|
|
95
95
|
private handleNormalTransition;
|
|
96
96
|
private handleInterruptedTransition;
|
|
97
97
|
/**
|
|
@@ -329,7 +329,6 @@ declare class RepeatDirective {
|
|
|
329
329
|
private mainTemplateRef;
|
|
330
330
|
private viewContainerRef;
|
|
331
331
|
repeatCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
332
|
-
views: _angular_core.WritableSignal<EmbeddedViewRef<unknown>[]>;
|
|
333
332
|
constructor();
|
|
334
333
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RepeatDirective, never>;
|
|
335
334
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RepeatDirective, "[etRepeat]", never, { "repeatCount": { "alias": "etRepeat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -567,42 +566,40 @@ declare const injectBreakpointObserver: _ethlete_core.InjectFn<{
|
|
|
567
566
|
|
|
568
567
|
type BreakpointMap<T> = Partial<Record<Breakpoint, T>>;
|
|
569
568
|
type BreakpointInput<T> = T | BreakpointMap<T>;
|
|
570
|
-
declare const breakpointTransformBase: <T, WriteT = BreakpointInput<T>>(coerce: (value: WriteT) => T) => ((value: WriteT) => T);
|
|
569
|
+
declare const breakpointTransformBase: <T, WriteT = BreakpointInput<T>>(coerce: (value: WriteT) => T, defaultValue: T) => ((value: WriteT) => T);
|
|
571
570
|
/**
|
|
572
571
|
* Transform factory for boolean inputs.
|
|
573
572
|
* Coerces plain values with `booleanAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
574
573
|
*
|
|
575
574
|
* @example
|
|
576
|
-
* snap = input(false, { transform: boolBreakpointTransform() });
|
|
575
|
+
* snap = input(false, { transform: boolBreakpointTransform(false) });
|
|
577
576
|
* // Template: `snap` | `[snap]="true"` | `[snap]="{ xs: false, md: true }"`
|
|
578
577
|
*/
|
|
579
|
-
declare const boolBreakpointTransform: () => ((value: BreakpointInput<boolean> | string) => boolean);
|
|
578
|
+
declare const boolBreakpointTransform: (defaultValue?: boolean) => ((value: BreakpointInput<boolean> | string) => boolean);
|
|
580
579
|
/**
|
|
581
580
|
* Transform factory for number inputs.
|
|
582
581
|
* Coerces plain values with `numberAttribute`; resolves {@link BreakpointMap} mobile-first.
|
|
583
582
|
*
|
|
584
583
|
* @example
|
|
585
|
-
* scrollMargin = input(0, { transform: numberBreakpointTransform() });
|
|
584
|
+
* scrollMargin = input(0, { transform: numberBreakpointTransform(0) });
|
|
586
585
|
* // Template: `[scrollMargin]="16"` | `[scrollMargin]="{ xs: 0, md: 16 }"`
|
|
587
586
|
*/
|
|
588
|
-
declare const numberBreakpointTransform: () => ((value: BreakpointInput<number> | string) => number);
|
|
587
|
+
declare const numberBreakpointTransform: (defaultValue?: number) => ((value: BreakpointInput<number> | string) => number);
|
|
589
588
|
/**
|
|
590
589
|
* Transform factory for any typed input (string unions, arrays, objects, etc.).
|
|
591
590
|
* Passes plain values through as-is; resolves {@link BreakpointMap} mobile-first.
|
|
592
591
|
* A value is treated as a {@link BreakpointMap} only when all its keys are valid breakpoint names.
|
|
593
592
|
*
|
|
594
593
|
* @example
|
|
595
|
-
* itemSize = input('auto', { transform: typedBreakpointTransform<ScrollableItemSize>() });
|
|
596
|
-
* tags = input([], { transform: typedBreakpointTransform<string[]>() });
|
|
594
|
+
* itemSize = input('auto', { transform: typedBreakpointTransform<ScrollableItemSize>('auto') });
|
|
595
|
+
* tags = input([], { transform: typedBreakpointTransform<string[]>([]) });
|
|
597
596
|
* // Template: `[itemSize]="'third'"` | `[itemSize]="{ xs: 'full', md: 'third' }"`
|
|
598
597
|
*/
|
|
599
|
-
declare const typedBreakpointTransform: <T>() => ((value: BreakpointInput<T>) => T);
|
|
598
|
+
declare const typedBreakpointTransform: <T>(defaultValue: T) => ((value: BreakpointInput<T>) => T);
|
|
600
599
|
type BoolBreakpointSignal = InputSignalWithTransform<boolean, BreakpointInput<boolean> | string>;
|
|
601
600
|
type NumberBreakpointSignal = InputSignalWithTransform<number, BreakpointInput<number> | string>;
|
|
602
601
|
type TypedBreakpointSignal<T> = InputSignalWithTransform<T, BreakpointInput<T>>;
|
|
603
602
|
declare const injectBreakpointInput: <T>(inputSignal: Signal<BreakpointInput<T>>, defaultValue: T) => Signal<T>;
|
|
604
|
-
declare const booleanBreakpointAttribute: (value: unknown) => BreakpointInput<boolean>;
|
|
605
|
-
declare const numberBreakpointAttribute: (value: unknown) => BreakpointInput<number>;
|
|
606
603
|
declare const BREAKPOINT_INSTANCE_TOKEN: InjectionToken<unknown>;
|
|
607
604
|
declare const provideBreakpointInstance: (componentClass: unknown) => {
|
|
608
605
|
provide: InjectionToken<unknown>;
|
|
@@ -620,7 +617,7 @@ declare const controlValueSignal: <TControlInput extends Signal<AbstractControl
|
|
|
620
617
|
/**
|
|
621
618
|
* The first item in the pair is the previous value and the second item is the current value.
|
|
622
619
|
*/
|
|
623
|
-
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]>;
|
|
620
|
+
declare const controlValueSignalWithPrevious: <T extends Signal<AbstractControl | null> | 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]>;
|
|
624
621
|
|
|
625
622
|
type SignalDeferredLoadingOptions = {
|
|
626
623
|
/** How long the source must stay truthy before the indicator turns on, in ms. @default 200 */
|
|
@@ -804,7 +801,6 @@ type ElementScrollState = {
|
|
|
804
801
|
canScrollVertically: boolean;
|
|
805
802
|
elementDimensions: NullableElementDimensions;
|
|
806
803
|
};
|
|
807
|
-
declare const areScrollStatesEqual: (a: ElementScrollState, b: ElementScrollState) => boolean;
|
|
808
804
|
declare const signalElementScrollState: (el: SignalElementBindingType, options?: SignalElementScrollStateOptions) => Signal<ElementScrollState>;
|
|
809
805
|
declare const signalHostElementScrollState: () => Signal<ElementScrollState>;
|
|
810
806
|
|
|
@@ -937,7 +933,6 @@ declare const injectRenderer: _ethlete_core.InjectFn<{
|
|
|
937
933
|
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
938
934
|
empty: (element: HTMLElement) => void;
|
|
939
935
|
setTextContent: (element: HTMLElement, text: string) => void;
|
|
940
|
-
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
941
936
|
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
942
937
|
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
943
938
|
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
@@ -966,7 +961,7 @@ type ConsentHandler = {
|
|
|
966
961
|
revoke?: () => void;
|
|
967
962
|
};
|
|
968
963
|
type CreateUserConsentProviderOptions = {
|
|
969
|
-
/** The
|
|
964
|
+
/** The `InjectionToken` this consent provider should be associated with. */
|
|
970
965
|
for: InjectionToken<ConsentHandler | null>;
|
|
971
966
|
/**
|
|
972
967
|
* Factory executed inside the injection context that returns a `Signal<boolean>`.
|
|
@@ -1334,8 +1329,10 @@ declare class ScrollObserverDirective {
|
|
|
1334
1329
|
private _endIntersection;
|
|
1335
1330
|
isAtStart: Signal<boolean>;
|
|
1336
1331
|
isAtEnd: Signal<boolean>;
|
|
1337
|
-
|
|
1338
|
-
|
|
1332
|
+
/** @internal */
|
|
1333
|
+
registerStart(el: ElementRef<HTMLElement>): () => void;
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
registerEnd(el: ElementRef<HTMLElement>): () => void;
|
|
1339
1336
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollObserverDirective, never>;
|
|
1340
1337
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverDirective, "[etScrollObserver]", ["etScrollObserver"], { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; }, { "enabled": "enabledChange"; }, never, never, true, never>;
|
|
1341
1338
|
}
|
|
@@ -1755,7 +1752,7 @@ type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
|
1755
1752
|
component: Type<TComponent>;
|
|
1756
1753
|
viewContainerRef?: ViewContainerRef;
|
|
1757
1754
|
injector?: Injector;
|
|
1758
|
-
providers?:
|
|
1755
|
+
providers?: Array<Provider | EnvironmentProviders>;
|
|
1759
1756
|
role?: OverlayRuntimeRole;
|
|
1760
1757
|
positionStrategy?: OverlayRuntimePositionStrategy;
|
|
1761
1758
|
hasBackdrop?: boolean;
|
|
@@ -1798,6 +1795,7 @@ declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unk
|
|
|
1798
1795
|
elements: OverlayRuntimeElements;
|
|
1799
1796
|
state: _angular_core.Signal<OverlayRuntimeState>;
|
|
1800
1797
|
componentInstance: _angular_core.Signal<TComponent | null>;
|
|
1798
|
+
/** @internal */
|
|
1801
1799
|
beforeOpenedSubject: Subject<void>;
|
|
1802
1800
|
close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
1803
1801
|
/** Close bypassing every registered close guard - used by a guard's owner to commit a
|
|
@@ -1809,6 +1807,7 @@ declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unk
|
|
|
1809
1807
|
afterOpened(): Observable<void>;
|
|
1810
1808
|
beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1811
1809
|
afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1810
|
+
/** @internal */
|
|
1812
1811
|
attachComponentRef(componentRef: ComponentRef<TComponent>): void;
|
|
1813
1812
|
/** @internal */
|
|
1814
1813
|
attachPositionUpdater(updater: (strategy: OverlayRuntimePositionStrategy) => void): void;
|
|
@@ -1820,8 +1819,11 @@ declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unk
|
|
|
1820
1819
|
* A closing overlay keeps the backdrop it has, so its leave transition stays intact.
|
|
1821
1820
|
*/
|
|
1822
1821
|
updateBackdrop(hasBackdrop: boolean): void;
|
|
1822
|
+
/** @internal */
|
|
1823
1823
|
markOpened(): void;
|
|
1824
|
+
/** @internal */
|
|
1824
1825
|
beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
|
|
1826
|
+
/** @internal */
|
|
1825
1827
|
finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
|
|
1826
1828
|
};
|
|
1827
1829
|
type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRuntimeRef<TComponent, TResult>>;
|
|
@@ -1931,7 +1933,7 @@ declare const enableAnchoredOverlayPositionExtras: () => void;
|
|
|
1931
1933
|
|
|
1932
1934
|
type OverlayRuntime = {
|
|
1933
1935
|
mount: <TComponent extends object, TResult = unknown>(config: OverlayRuntimeMountConfig<TComponent>) => OverlayRuntimeRef<TComponent, TResult>;
|
|
1934
|
-
openEntries:
|
|
1936
|
+
openEntries: Signal<OverlayRuntimeRef<object, unknown>[]>;
|
|
1935
1937
|
};
|
|
1936
1938
|
declare const provideOverlayRuntime: () => _angular_core.Provider[];
|
|
1937
1939
|
declare const injectOverlayRuntime: _ethlete_core.InjectFn<OverlayRuntime>;
|
|
@@ -2065,9 +2067,9 @@ declare const toToken: <TDefinition extends {
|
|
|
2065
2067
|
declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
|
|
2066
2068
|
declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
|
|
2067
2069
|
|
|
2068
|
-
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?:
|
|
2069
|
-
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?:
|
|
2070
|
-
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?:
|
|
2070
|
+
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: AddEventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
|
|
2071
|
+
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: AddEventListenerOptions) => rxjs.Subscription;
|
|
2072
|
+
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: AddEventListenerOptions) => void;
|
|
2071
2073
|
|
|
2072
2074
|
declare class TypedQueryList<T> extends QueryList<T> {
|
|
2073
2075
|
get changes(): Observable<TypedQueryList<T>>;
|
|
@@ -2105,7 +2107,7 @@ declare const MUST_MATCH = "mustMatch";
|
|
|
2105
2107
|
declare const MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
2106
2108
|
mustMatch: boolean;
|
|
2107
2109
|
} | null;
|
|
2108
|
-
declare const
|
|
2110
|
+
declare const EthleteValidators: {
|
|
2109
2111
|
readonly MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
2110
2112
|
mustMatch: boolean;
|
|
2111
2113
|
} | null;
|
|
@@ -2121,7 +2123,7 @@ declare const clone: <T>(original: T) => T;
|
|
|
2121
2123
|
declare const equal: (foo: any, bar: any) => boolean;
|
|
2122
2124
|
|
|
2123
2125
|
declare const hasCookie: (name: string) => boolean;
|
|
2124
|
-
declare const getCookie: (name: string) => string | null
|
|
2126
|
+
declare const getCookie: (name: string) => string | null;
|
|
2125
2127
|
declare const setCookie: (name: string, data: string, expiresInDays?: number | null, domain?: string | null, path?: string, sameSite?: "strict" | "none" | "lax") => void;
|
|
2126
2128
|
declare const deleteCookie: (name: string, path?: string, domain?: string | null) => void;
|
|
2127
2129
|
declare const getDomain: () => string | null;
|
|
@@ -2133,8 +2135,8 @@ type Translatable = {
|
|
|
2133
2135
|
|
|
2134
2136
|
declare class KeyPressManager {
|
|
2135
2137
|
readonly key: number;
|
|
2136
|
-
private
|
|
2137
|
-
private
|
|
2138
|
+
private isKeyPressed;
|
|
2139
|
+
private keyPressCount;
|
|
2138
2140
|
private readonly _stopTimeout$;
|
|
2139
2141
|
constructor(key: number);
|
|
2140
2142
|
isPressed(event: KeyboardEvent): boolean;
|
|
@@ -2308,13 +2310,14 @@ declare class NormalizeMatchScorePipe implements PipeTransform {
|
|
|
2308
2310
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchScorePipe, never>;
|
|
2309
2311
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchScorePipe, "etNormalizeMatchScore", true>;
|
|
2310
2312
|
}
|
|
2311
|
-
declare const
|
|
2312
|
-
PREPARING_ROUND
|
|
2313
|
-
PRE_MATCH
|
|
2314
|
-
LIVE
|
|
2315
|
-
POST_MATCH
|
|
2316
|
-
AUTO_WIN
|
|
2317
|
-
}
|
|
2313
|
+
declare const MatchStateType: {
|
|
2314
|
+
readonly PREPARING_ROUND: "preparingRound";
|
|
2315
|
+
readonly PRE_MATCH: "preMatch";
|
|
2316
|
+
readonly LIVE: "live";
|
|
2317
|
+
readonly POST_MATCH: "postMatch";
|
|
2318
|
+
readonly AUTO_WIN: "autoWin";
|
|
2319
|
+
};
|
|
2320
|
+
type MatchStateType = (typeof MatchStateType)[keyof typeof MatchStateType];
|
|
2318
2321
|
type NormalizedMatchScore = {
|
|
2319
2322
|
home: {
|
|
2320
2323
|
score: string | number | null;
|
|
@@ -2354,11 +2357,11 @@ declare const getGroupMatchPoints: (match: MatchListView | null | undefined) =>
|
|
|
2354
2357
|
} | null;
|
|
2355
2358
|
|
|
2356
2359
|
declare class NormalizeMatchStatePipe implements PipeTransform {
|
|
2357
|
-
transform: (match: MatchListView | null | undefined) =>
|
|
2360
|
+
transform: (match: MatchListView | null | undefined) => "preparingRound" | "preMatch" | "live" | "postMatch" | "autoWin" | null;
|
|
2358
2361
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchStatePipe, never>;
|
|
2359
2362
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchStatePipe, "etNormalizeMatchState", true>;
|
|
2360
2363
|
}
|
|
2361
|
-
declare const normalizeMatchState: (match: MatchListView | null | undefined) =>
|
|
2364
|
+
declare const normalizeMatchState: (match: MatchListView | null | undefined) => "preparingRound" | "preMatch" | "live" | "postMatch" | "autoWin" | null;
|
|
2362
2365
|
|
|
2363
2366
|
declare class NormalizeMatchTypePipe implements PipeTransform {
|
|
2364
2367
|
transform: (matchType: StageType | null | undefined) => Translatable | null;
|
|
@@ -2652,8 +2655,8 @@ declare class ResizeHandlesComponent {
|
|
|
2652
2655
|
resizeCancelled: _angular_core.OutputRef<void>;
|
|
2653
2656
|
isResizing: _angular_core.Signal<boolean>;
|
|
2654
2657
|
activeEdge: _angular_core.Signal<ResizeEdge | null>;
|
|
2655
|
-
readonly edgeCursors: Record<ResizeEdge, string>;
|
|
2656
|
-
startResizeGesture(event: PointerEvent, edge: ResizeEdge): void;
|
|
2658
|
+
protected readonly edgeCursors: Record<ResizeEdge, string>;
|
|
2659
|
+
protected startResizeGesture(event: PointerEvent, edge: ResizeEdge): void;
|
|
2657
2660
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResizeHandlesComponent, never>;
|
|
2658
2661
|
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"; "resizeCancelled": "resizeCancelled"; }, never, never, true, never>;
|
|
2659
2662
|
}
|
|
@@ -2821,16 +2824,10 @@ declare const injectFaviconStore: _ethlete_core.InjectFn<{
|
|
|
2821
2824
|
*/
|
|
2822
2825
|
declare const applyFaviconOverlay: (binding: MaybeSignal<FaviconOverlay | null | undefined>) => void;
|
|
2823
2826
|
|
|
2824
|
-
type HeadBinding<T> = {
|
|
2825
|
-
id: symbol;
|
|
2826
|
-
value: T;
|
|
2827
|
-
priority?: number;
|
|
2828
|
-
};
|
|
2829
2827
|
declare const applyHeadBinding: <T>(binding: MaybeSignal<T | null | undefined>, applyFn: (value: T) => void, removeFn: () => void, isValid?: (value: T | null | undefined) => value is T) => void;
|
|
2830
2828
|
declare const createPropertyBinding: <TConfig>(configBuilder: (value: string) => TConfig, applyConfigFn: (config: MaybeSignal<TConfig | null | undefined>) => void) => (binding: MaybeSignal<string | null | undefined>) => void;
|
|
2831
2829
|
declare const createArrayPropertyBinding: <TConfig>(configBuilder: (value: string, index: number) => TConfig, applyConfigFn: (config: MaybeSignal<TConfig | null | undefined>) => void) => (binding: MaybeSignal<string[] | null | undefined>) => void;
|
|
2832
2830
|
declare const toStringBinding: (binding: MaybeSignal<string | number | null | undefined>) => MaybeSignal<string | null | undefined>;
|
|
2833
|
-
declare const createBulkPropertyBinding: <TConfig extends Record<string, unknown>>(_propertyPrefix: string, applyConfigFn: (property: string, binding: MaybeSignal<string | null | undefined>) => void) => (config: TConfig) => void;
|
|
2834
2831
|
|
|
2835
2832
|
type Context = {
|
|
2836
2833
|
'@context': 'https://schema.org';
|
|
@@ -3174,7 +3171,7 @@ declare const applyStructuredDataBinding: (binding: MaybeSignal<WithContext<Thin
|
|
|
3174
3171
|
declare class StructuredDataComponent {
|
|
3175
3172
|
private sanitizer;
|
|
3176
3173
|
data: _angular_core.InputSignal<Graph | WithContext<Thing> | null | undefined>;
|
|
3177
|
-
jsonLD: _angular_core.Signal<_angular_platform_browser.SafeHtml | null>;
|
|
3174
|
+
protected jsonLD: _angular_core.Signal<_angular_platform_browser.SafeHtml | null>;
|
|
3178
3175
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StructuredDataComponent, never>;
|
|
3179
3176
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StructuredDataComponent, "et-structured-data", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3180
3177
|
}
|
|
@@ -3422,7 +3419,7 @@ declare class ProvideSurfaceDirective {
|
|
|
3422
3419
|
* Inject a signal containing the surface type the current subtree renders on - the type of the
|
|
3423
3420
|
* surrounding surface provider, or of the app's default surface where nothing provides one.
|
|
3424
3421
|
*/
|
|
3425
|
-
declare const injectSurfaceType: () => Signal<_ethlete_core.SurfaceType>;
|
|
3422
|
+
declare const injectSurfaceType: () => Signal<_ethlete_core.SurfaceType | null>;
|
|
3426
3423
|
/**
|
|
3427
3424
|
* Inject a signal containing the surface theme the current subtree renders on - the theme in
|
|
3428
3425
|
* effect on the surrounding surface provider, or the app's default surface where nothing provides
|
|
@@ -3971,7 +3968,7 @@ type UnsavedChangesGuardRef<T> = UnsavedChangesTrackerRef<T> & {
|
|
|
3971
3968
|
declare const createUnsavedChangesGuard: <T>(config: CreateUnsavedChangesGuardConfig<T>) => UnsavedChangesGuardRef<T>;
|
|
3972
3969
|
|
|
3973
3970
|
/** The version of `@ethlete/core` this build was cut from. */
|
|
3974
|
-
declare const CORE_VERSION = "5.0.0-next.
|
|
3971
|
+
declare const CORE_VERSION = "5.0.0-next.54";
|
|
3975
3972
|
|
|
3976
|
-
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AutoSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PALETTE, COLOR_PROVIDER, CORE_VERSION, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_OVERLAY_LAYER, 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, ET_RESTORE_SCROLL, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, InitialsPipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NOTIFICATION_CLICK_MESSAGE_TYPE, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OVERLAY_LAYER_ATTRIBUTE, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RestoreScrollDirective, RuntimeError, SURFACE_COLOR, SURFACE_PROVIDER, SURFACE_TYPE, SWIPE_VELOCITY_WINDOW_MS, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SlugifyPipe, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, UNSAVED_CHANGES_TITLE_MARKER, ValidateAtLeastOneRequired,
|
|
3977
|
-
export type { AlternateLanguagesConfig, AnchoredPositionMiddlewareExtras, AnchoredPositionSetup, AngularRenderer, AnimatedBlockSizeConfig, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent, AnyTemplateType, AppUpdates, AppUpdatesConfig, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorPaletteEntry, ColorTheme, ColorThemeInput, ColorThemeType, ComponentTemplate, ComponentType, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateSessionMemoryConfig, CreateUnsavedChangesGuardConfig, CreateUnsavedChangesTabLockConfig, CreateUnsavedChangesTrackerConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragEndEvent, DragGestureEvent, DragMoveEvent, DragStartEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, EthleteColorThemeNameRegistry, EthleteSurfaceThemeNameRegistry, FaviconOverlay, FileDownloadOptions, FlipAnimationConfig,
|
|
3973
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AutoSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PALETTE, COLOR_PROVIDER, CORE_VERSION, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_OVERLAY_LAYER, 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, ET_RESTORE_SCROLL, EthleteValidators, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, InitialsPipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NOTIFICATION_CLICK_MESSAGE_TYPE, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OVERLAY_LAYER_ATTRIBUTE, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RestoreScrollDirective, RuntimeError, SURFACE_COLOR, SURFACE_PROVIDER, SURFACE_TYPE, SWIPE_VELOCITY_WINDOW_MS, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SlugifyPipe, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, UNSAVED_CHANGES_TITLE_MARKER, ValidateAtLeastOneRequired, anchoredOverlayPosition, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyFaviconOverlay, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHeadTitleMarker, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, bindProps, boolBreakpointTransform, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, copyToClipboard, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createObjectUrlHandle, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, createSetup, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUnsavedChangesGuard, createUnsavedChangesTabLock, createUnsavedChangesTracker, createUserConsentProvider, deferredSignal, defineLabels, defineProvider, defineRootProvider, defineStaticProvider, defineStaticRootProvider, deleteCookie, dragGestureFrom, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, enableAnchoredOverlayPositionExtras, equal, fetchDeployedBuildFingerprint, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, holdScrollRestoration, htmlToMarkdown, inferMimeType, initials, injectAngularRootElement, injectAnimatedBlockSize, injectAppUpdates, injectAppUpdatesConfig, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorPalette, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDefaultColorTheme, injectDefaultSurfaceTheme, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFaviconStore, injectFileDownload, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsDocumentVisible, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectNotifications, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectParentSurface, injectPathParam, injectPathParamChanges, injectPathParams, injectPrefersReducedMotion, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterNavigationState, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectSurfaceType, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUnsavedChangesCoordinator, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, isOnHigherOverlayLayer, isStaleBuildError, markdownToHtml, matchesReducedMotion, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, normalizeUnsavedChangesSource, numberBreakpointTransform, onOverlayViewportInsetsChange, overlayViewportInsets, overlayViewportInsetsFor, previousSignalValue, provideAppUpdates, provideAppUpdatesConfig, provideAppUpdatesInstance, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorPalette, provideColorThemes, provideColorThemesWithTailwind4, provideFaviconStore, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideNotifications, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideUnsavedChangesCoordinator, provideViewportConfig, randomId, readBuildFingerprint, readFromClipboard, registerAnchoredPositionMiddlewareExtras, registerAnchoredPositionSetup, reserveOverlayViewportSpace, resetPositioningStyles, resolveAppRootColorProvider, resolveOverlayLayer, resolveSurfaceByElevation, round, routerDisableScrollTop, routerRestoreScroll, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalDeferredLoading, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, slugify, suppressTextSelection, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toInjectFn, toProvideFn, toStringBinding, toToken, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
3974
|
+
export type { AlternateLanguagesConfig, AnchoredPositionMiddlewareExtras, AnchoredPositionSetup, AngularRenderer, AnimatedBlockSizeConfig, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent, AnyTemplateType, AppUpdates, AppUpdatesConfig, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorPaletteEntry, ColorTheme, ColorThemeInput, ColorThemeType, ComponentTemplate, ComponentType, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateSessionMemoryConfig, CreateUnsavedChangesGuardConfig, CreateUnsavedChangesTabLockConfig, CreateUnsavedChangesTrackerConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragEndEvent, DragGestureEvent, DragMoveEvent, DragStartEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, EthleteColorThemeNameRegistry, EthleteSurfaceThemeNameRegistry, FaviconOverlay, FileDownloadOptions, FlipAnimationConfig, HostProps, InjectFn, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LabelsDefinition, LabelsSource, LinkConfig, LinkStoreConfig, LogicalSize, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NormalizedUnsavedChangesSource, NotificationActionConfig, NotificationClickContext, NotificationClickMessage, NotificationDeliveryPath, NotificationPermissionState, NotificationRef, Notifications, NullableElementDimensions, NumberBreakpointSignal, ObjectUrlHandle, OnThemeColorMap, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAnimationDelegate, OverlayRuntimeAnimationDelegateEnterContext, OverlayRuntimeAnimationDelegateLeaveContext, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseGuard, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeGlobalPosition, OverlayRuntimeGlobalPositionAlignment, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeShiftOptions, OverlayRuntimeState, OverlayViewportInset, OverlayViewportReservation, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderDefinition, ProviderDefinitionOptions, RegisteredColorThemeName, RegisteredSurfaceThemeName, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollRestorationRestoreConfig, ScrollRestorationScrollElement, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SetupScrollRestorationConfig, ShowNotificationConfig, SignalAnimatedNumberOptions, SignalDeferredLoadingOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementChildrenOptions, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderDefinition, StringTemplate, StructuredDataConfig, StyleManager, SurfaceColor, SurfaceContextEntry, SurfaceContextSurface, SurfaceContextTracker, SurfaceInteractionColor, SurfaceInteractionColorMap, SurfaceOnInteractionColorMap, SurfaceTheme, SurfaceThemeColor, SurfaceType, SwipeEndEvent, SwipeTracker, SwipeUpdateEvent, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, UnsavedChangesAbandonReason, UnsavedChangesConfirmContext, UnsavedChangesConfirmFn, UnsavedChangesGuardRef, UnsavedChangesRegistration, UnsavedChangesSource, UnsavedChangesTabConfig, UnsavedChangesTabLockRef, UnsavedChangesTrackerRef, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|