@ethlete/core 5.0.0-next.56 → 5.0.0-next.58
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 +41 -0
- package/fesm2022/ethlete-core.mjs +446 -548
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/package.json +6 -6
- package/types/ethlete-core.d.ts +68 -199
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/core",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.58",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/common": "22.
|
|
8
|
-
"@angular/core": "22.
|
|
9
|
-
"@angular/forms": "22.
|
|
10
|
-
"@angular/platform-browser": "22.
|
|
11
|
-
"@angular/router": "22.
|
|
7
|
+
"@angular/common": "22.1.6",
|
|
8
|
+
"@angular/core": "22.1.6",
|
|
9
|
+
"@angular/forms": "22.1.6",
|
|
10
|
+
"@angular/platform-browser": "22.1.6",
|
|
11
|
+
"@angular/router": "22.1.6",
|
|
12
12
|
"@ethlete/types": "^2.0.0-beta.4",
|
|
13
13
|
"@floating-ui/dom": "1.8.0",
|
|
14
14
|
"@nx/devkit": "23.1.0",
|
package/types/ethlete-core.d.ts
CHANGED
|
@@ -126,6 +126,19 @@ declare const forceReflow: (element?: HTMLElement) => number;
|
|
|
126
126
|
*/
|
|
127
127
|
declare const matchesReducedMotion: (element?: Element) => boolean;
|
|
128
128
|
|
|
129
|
+
/**
|
|
130
|
+
* Declares the `--ease-*` custom properties that every animated stylesheet in the SDK
|
|
131
|
+
* transitions with, as a styles-only component. Mount it from any component or directive whose
|
|
132
|
+
* CSS reads one - without the declaration the whole `transition` shorthand is invalid at
|
|
133
|
+
* computed-value time and the element snaps instead of animating.
|
|
134
|
+
*/
|
|
135
|
+
declare class EasingTokensStylesComponent {
|
|
136
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EasingTokensStylesComponent, never>;
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EasingTokensStylesComponent, "et-easing-tokens-styles", never, {}, {}, never, never, true, never>;
|
|
138
|
+
}
|
|
139
|
+
/** Mounts {@link EasingTokensStylesComponent}. Call from an injection context. */
|
|
140
|
+
declare const mountEasingTokens: () => _angular_core.ComponentRef<EasingTokensStylesComponent>;
|
|
141
|
+
|
|
129
142
|
type FlipAnimationGroupConfig = {
|
|
130
143
|
/**
|
|
131
144
|
* The elements to animate
|
|
@@ -158,9 +171,9 @@ declare const createFlipAnimationGroup: (config: FlipAnimationGroupConfig) => {
|
|
|
158
171
|
updateInit: () => void;
|
|
159
172
|
play: () => void;
|
|
160
173
|
cancel: () => void;
|
|
161
|
-
onStart$: rxjs.Observable<void
|
|
162
|
-
onFinish$: rxjs.Observable<void
|
|
163
|
-
onCancel$: rxjs.Observable<void
|
|
174
|
+
onStart$: rxjs.Observable<void>;
|
|
175
|
+
onFinish$: rxjs.Observable<void>;
|
|
176
|
+
onCancel$: rxjs.Observable<void>;
|
|
164
177
|
};
|
|
165
178
|
type FlipAnimationConfig = {
|
|
166
179
|
/**
|
|
@@ -619,6 +632,32 @@ declare const controlValueSignal: <TControlInput extends Signal<AbstractControl
|
|
|
619
632
|
*/
|
|
620
633
|
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]>;
|
|
621
634
|
|
|
635
|
+
type CountdownDeadline = Date | string | number | null | undefined;
|
|
636
|
+
type Countdown = {
|
|
637
|
+
/** Whole seconds left, rounded up - `0` once the deadline has passed. */
|
|
638
|
+
totalSeconds: number;
|
|
639
|
+
days: number;
|
|
640
|
+
/** `0` - `23` */
|
|
641
|
+
hours: number;
|
|
642
|
+
/** `0` - `59` */
|
|
643
|
+
minutes: number;
|
|
644
|
+
/** `0` - `59` */
|
|
645
|
+
seconds: number;
|
|
646
|
+
hasPassed: boolean;
|
|
647
|
+
};
|
|
648
|
+
/**
|
|
649
|
+
* The time left until `deadline`, recounted on every whole second and broken down into days, hours, minutes
|
|
650
|
+
* and seconds. `null` while the deadline is missing or not a valid date. The timer stops once the deadline
|
|
651
|
+
* has passed, and never runs on the server.
|
|
652
|
+
*
|
|
653
|
+
* Call in an injection context.
|
|
654
|
+
*
|
|
655
|
+
* ```ts
|
|
656
|
+
* protected timeLeft = signalCountdown(computed(() => this.round()?.startsAt));
|
|
657
|
+
* ```
|
|
658
|
+
*/
|
|
659
|
+
declare const signalCountdown: (deadline: () => CountdownDeadline) => Signal<Countdown | null>;
|
|
660
|
+
|
|
622
661
|
type SignalDeferredLoadingOptions = {
|
|
623
662
|
/** How long the source must stay truthy before the indicator turns on, in ms. @default 200 */
|
|
624
663
|
delay?: number;
|
|
@@ -760,8 +799,8 @@ type IntersectionObserverEntryWithDetails = IntersectionObserverEntry & {
|
|
|
760
799
|
declare const signalElementIntersection: (el: SignalElementBindingType, options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
|
|
761
800
|
declare const signalHostElementIntersection: (options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
|
|
762
801
|
|
|
763
|
-
declare const signalElementMutations: (el: SignalElementBindingType, options?: MutationObserverInit) => _angular_core.Signal<MutationRecord
|
|
764
|
-
declare const signalHostElementMutations: (options?: MutationObserverInit) => _angular_core.Signal<MutationRecord
|
|
802
|
+
declare const signalElementMutations: (el: SignalElementBindingType, options?: MutationObserverInit) => _angular_core.Signal<MutationRecord[]>;
|
|
803
|
+
declare const signalHostElementMutations: (options?: MutationObserverInit) => _angular_core.Signal<MutationRecord[]>;
|
|
765
804
|
|
|
766
805
|
type ElementLastScrollDirectionType = 'up' | 'down' | 'left' | 'right';
|
|
767
806
|
type ElementLastScrollDirection = {
|
|
@@ -914,8 +953,8 @@ declare const injectRenderer: _ethlete_core.InjectFn<{
|
|
|
914
953
|
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
915
954
|
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
916
955
|
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
917
|
-
setAttribute: (element:
|
|
918
|
-
removeAttribute: (element:
|
|
956
|
+
setAttribute: (element: Element, name: string, value: string | null, namespace?: string | null) => void;
|
|
957
|
+
removeAttribute: (element: Element, ...names: string[]) => void;
|
|
919
958
|
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
920
959
|
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
921
960
|
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
@@ -1238,7 +1277,8 @@ declare const transformOrReturn: <In, Out>(src: Signal<In>, config?: InjectUtilT
|
|
|
1238
1277
|
declare const injectRouterEvent: () => Signal<_angular_router.Event>;
|
|
1239
1278
|
/**
|
|
1240
1279
|
* Signal that indicates whether the router has been initialized.
|
|
1241
|
-
* The router is considered initialized once
|
|
1280
|
+
* The router is considered initialized once its first navigation has completed, including one that completed
|
|
1281
|
+
* before this signal was first injected.
|
|
1242
1282
|
*/
|
|
1243
1283
|
declare const injectIsRouterInitialized: () => Signal<boolean>;
|
|
1244
1284
|
/**
|
|
@@ -1650,7 +1690,7 @@ declare const injectNotifications: _ethlete_core.InjectFn<Notifications>;
|
|
|
1650
1690
|
|
|
1651
1691
|
type OverlayRuntimeRole = 'dialog' | 'alertdialog';
|
|
1652
1692
|
type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
1653
|
-
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer' | 'drag' | 'reference-detached';
|
|
1693
|
+
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer' | 'drag' | 'reference-detached' | 'replace';
|
|
1654
1694
|
type OverlayRuntimeCenteredPosition = {
|
|
1655
1695
|
kind: 'center';
|
|
1656
1696
|
};
|
|
@@ -1674,7 +1714,7 @@ type OverlayRuntimeShiftOptions = {
|
|
|
1674
1714
|
};
|
|
1675
1715
|
type OverlayRuntimeAnchoredPosition = {
|
|
1676
1716
|
kind: 'anchored';
|
|
1677
|
-
referenceElement:
|
|
1717
|
+
referenceElement: Element | VirtualElement;
|
|
1678
1718
|
placement?: Placement;
|
|
1679
1719
|
fallbackPlacements?: Placement[];
|
|
1680
1720
|
offset?: OffsetOptions | null;
|
|
@@ -1761,6 +1801,13 @@ type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
|
1761
1801
|
restoreFocus?: boolean;
|
|
1762
1802
|
closeOnEscape?: boolean;
|
|
1763
1803
|
closeOnOutsidePointer?: boolean;
|
|
1804
|
+
/**
|
|
1805
|
+
* Marks an overlay that never owns the interaction - a tooltip, a hover card, a drag preview.
|
|
1806
|
+
* A passive overlay is skipped when the runtime looks for the top-most layer, so the overlay
|
|
1807
|
+
* below it keeps answering Escape, an outside press and the focus trap while it is shown.
|
|
1808
|
+
* Defaults to `false`.
|
|
1809
|
+
*/
|
|
1810
|
+
passive?: boolean;
|
|
1764
1811
|
ariaDescribedBy?: string | null;
|
|
1765
1812
|
ariaLabelledBy?: string | null;
|
|
1766
1813
|
ariaLabel?: string | null;
|
|
@@ -1830,6 +1877,13 @@ type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> =
|
|
|
1830
1877
|
|
|
1831
1878
|
declare const FOCUSABLE_SELECTOR: string;
|
|
1832
1879
|
declare const isHTMLElement: (value: unknown) => value is HTMLElement;
|
|
1880
|
+
declare const isElement: (value: unknown) => value is Element;
|
|
1881
|
+
declare const isHTMLOrSVGElement: (value: unknown) => value is HTMLElement | SVGElement;
|
|
1882
|
+
/**
|
|
1883
|
+
* Whether the overlay rooted at `hostElement` is still the owner of DOM focus - focus is inside it, or
|
|
1884
|
+
* nothing is focused. False once the user has moved focus somewhere else.
|
|
1885
|
+
*/
|
|
1886
|
+
declare const ownsActiveElement: (hostElement: HTMLElement, document: Document) => boolean;
|
|
1833
1887
|
declare const isFocusable: (element: HTMLElement, document: Document) => boolean;
|
|
1834
1888
|
declare const getFocusableElements: (container: HTMLElement, document: Document) => HTMLElement[];
|
|
1835
1889
|
declare const getHeadingElement: (container: HTMLElement) => HTMLElement | null;
|
|
@@ -2444,191 +2498,6 @@ declare class ToArrayPipe implements PipeTransform {
|
|
|
2444
2498
|
declare const toArray: (value: number) => number[];
|
|
2445
2499
|
declare const toArrayTrackByFn: TrackByFunction<number>;
|
|
2446
2500
|
|
|
2447
|
-
declare const createPropHandlers: () => {
|
|
2448
|
-
classes: {
|
|
2449
|
-
remove: (tokens: string) => void;
|
|
2450
|
-
removeMany: (tokens: string[]) => void;
|
|
2451
|
-
has: (tokens: string) => boolean;
|
|
2452
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2453
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2454
|
-
};
|
|
2455
|
-
attributes: {
|
|
2456
|
-
remove: (tokens: string) => void;
|
|
2457
|
-
removeMany: (tokens: string[]) => void;
|
|
2458
|
-
has: (tokens: string) => boolean;
|
|
2459
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2460
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2461
|
-
};
|
|
2462
|
-
styles: {
|
|
2463
|
-
remove: (tokens: string) => void;
|
|
2464
|
-
removeMany: (tokens: string[]) => void;
|
|
2465
|
-
has: (tokens: string) => boolean;
|
|
2466
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2467
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2468
|
-
};
|
|
2469
|
-
id: string;
|
|
2470
|
-
elementRef: ElementRef<HTMLElement>;
|
|
2471
|
-
};
|
|
2472
|
-
type PropHandlers = ReturnType<typeof createPropHandlers>;
|
|
2473
|
-
|
|
2474
|
-
type Props = Readonly<{
|
|
2475
|
-
attached: Signal<boolean>;
|
|
2476
|
-
attachedElements: PropsAttachedElements;
|
|
2477
|
-
}>;
|
|
2478
|
-
type PropsAttachedElements = {
|
|
2479
|
-
first: Signal<HTMLElement | null>;
|
|
2480
|
-
firstId: Signal<string | null>;
|
|
2481
|
-
get(id: string): HTMLElement | null;
|
|
2482
|
-
};
|
|
2483
|
-
type PropsAttachedElementsInternal = PropsAttachedElements & {
|
|
2484
|
-
has: (id: string) => boolean;
|
|
2485
|
-
push: (id: string, element: HTMLElement) => void;
|
|
2486
|
-
remove: (id: string) => void;
|
|
2487
|
-
};
|
|
2488
|
-
type PropsInternal = {
|
|
2489
|
-
single: boolean;
|
|
2490
|
-
name: string;
|
|
2491
|
-
bindId: boolean;
|
|
2492
|
-
attached: Signal<boolean>;
|
|
2493
|
-
attachedElements: PropsAttachedElementsInternal;
|
|
2494
|
-
classBindings: Record<string, Signal<unknown>> | null;
|
|
2495
|
-
attributeBindings: Record<string, Signal<unknown>> | null;
|
|
2496
|
-
styleBindings: Record<string, Signal<unknown>> | null;
|
|
2497
|
-
staticClassBindings: string[] | null;
|
|
2498
|
-
staticAttributeBindings: Record<string, unknown> | null;
|
|
2499
|
-
staticStyleBindings: Record<string, unknown> | null;
|
|
2500
|
-
attachEventListeners: ((context: {
|
|
2501
|
-
on: HTMLElement['addEventListener'];
|
|
2502
|
-
element: HTMLElement;
|
|
2503
|
-
}) => void) | null;
|
|
2504
|
-
};
|
|
2505
|
-
type CreatePropsOptions = {
|
|
2506
|
-
name: string;
|
|
2507
|
-
bindId?: boolean;
|
|
2508
|
-
single?: boolean;
|
|
2509
|
-
classes?: Record<string, Signal<unknown>>;
|
|
2510
|
-
attributes?: Record<string, Signal<unknown>>;
|
|
2511
|
-
styles?: Record<string, Signal<unknown>>;
|
|
2512
|
-
staticClasses?: string[];
|
|
2513
|
-
staticAttributes?: Record<string, unknown>;
|
|
2514
|
-
staticStyles?: Record<string, unknown>;
|
|
2515
|
-
listeners?: (context: {
|
|
2516
|
-
on: HTMLElement['addEventListener'];
|
|
2517
|
-
element: HTMLElement;
|
|
2518
|
-
}) => void;
|
|
2519
|
-
};
|
|
2520
|
-
declare const createProps: (props: CreatePropsOptions) => Props;
|
|
2521
|
-
type HostProps = {
|
|
2522
|
-
props: Props;
|
|
2523
|
-
handlers: PropHandlers;
|
|
2524
|
-
};
|
|
2525
|
-
declare const createHostProps: (props: CreatePropsOptions) => HostProps;
|
|
2526
|
-
|
|
2527
|
-
declare const createSetup: <T extends Record<string, unknown>>(config: {
|
|
2528
|
-
setupFn: (params: T) => void;
|
|
2529
|
-
this: ThisType<unknown>;
|
|
2530
|
-
}) => (params: T) => void;
|
|
2531
|
-
|
|
2532
|
-
declare const createDependencyStash: <T extends Record<string, WritableSignal<unknown>>>(stash: T) => T & {
|
|
2533
|
-
provideSignal: <K extends keyof T>(data: {
|
|
2534
|
-
signal: Signal<ReturnType<T[K]>>;
|
|
2535
|
-
for: K;
|
|
2536
|
-
}) => void;
|
|
2537
|
-
provideValue: <K extends keyof T>(data: {
|
|
2538
|
-
value: ReturnType<T[K]>;
|
|
2539
|
-
for: K;
|
|
2540
|
-
}) => void;
|
|
2541
|
-
};
|
|
2542
|
-
|
|
2543
|
-
declare const createElementDictionary: () => {
|
|
2544
|
-
ids: _angular_core.Signal<string[]>;
|
|
2545
|
-
elements: _angular_core.Signal<HTMLElement[]>;
|
|
2546
|
-
has: (id: string) => boolean;
|
|
2547
|
-
get: (id: string) => HTMLElement | null;
|
|
2548
|
-
push: (id: string, element: HTMLElement) => void;
|
|
2549
|
-
remove: (id: string) => void;
|
|
2550
|
-
isEmpty: _angular_core.Signal<boolean>;
|
|
2551
|
-
firstElement: _angular_core.Signal<HTMLElement | null>;
|
|
2552
|
-
firstId: _angular_core.Signal<string | null>;
|
|
2553
|
-
};
|
|
2554
|
-
|
|
2555
|
-
type BindPropsOptions = {
|
|
2556
|
-
props: Props | PropsInternal;
|
|
2557
|
-
handlers: PropHandlers;
|
|
2558
|
-
};
|
|
2559
|
-
declare const bindProps: (config: BindPropsOptions) => void;
|
|
2560
|
-
type UnbindPropsOptions = {
|
|
2561
|
-
props: Props | PropsInternal;
|
|
2562
|
-
handlers: PropHandlers;
|
|
2563
|
-
};
|
|
2564
|
-
declare const unbindProps: (config: UnbindPropsOptions) => void;
|
|
2565
|
-
|
|
2566
|
-
declare class PropsDirective {
|
|
2567
|
-
private destroyRef;
|
|
2568
|
-
props: _angular_core.InputSignalWithTransform<PropsInternal, Readonly<{
|
|
2569
|
-
attached: _angular_core.Signal<boolean>;
|
|
2570
|
-
attachedElements: _ethlete_core.PropsAttachedElements;
|
|
2571
|
-
}>>;
|
|
2572
|
-
propHandlers: {
|
|
2573
|
-
classes: {
|
|
2574
|
-
remove: (tokens: string) => void;
|
|
2575
|
-
removeMany: (tokens: string[]) => void;
|
|
2576
|
-
has: (tokens: string) => boolean;
|
|
2577
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2578
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2579
|
-
};
|
|
2580
|
-
attributes: {
|
|
2581
|
-
remove: (tokens: string) => void;
|
|
2582
|
-
removeMany: (tokens: string[]) => void;
|
|
2583
|
-
has: (tokens: string) => boolean;
|
|
2584
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2585
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2586
|
-
};
|
|
2587
|
-
styles: {
|
|
2588
|
-
remove: (tokens: string) => void;
|
|
2589
|
-
removeMany: (tokens: string[]) => void;
|
|
2590
|
-
has: (tokens: string) => boolean;
|
|
2591
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
2592
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
2593
|
-
};
|
|
2594
|
-
id: string;
|
|
2595
|
-
elementRef: _angular_core.ElementRef<HTMLElement>;
|
|
2596
|
-
};
|
|
2597
|
-
constructor();
|
|
2598
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
|
|
2599
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2600
|
-
}
|
|
2601
|
-
|
|
2602
|
-
type ComponentType<T> = new (...args: any[]) => T;
|
|
2603
|
-
type AnyTemplateType = string | TemplateRef<unknown> | ComponentType<unknown> | TemplateRefWithContext | ComponentTypeWithInputs;
|
|
2604
|
-
type TemplateRefWithContext<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
2605
|
-
template: TemplateRef<J>;
|
|
2606
|
-
context?: T;
|
|
2607
|
-
injector?: Injector;
|
|
2608
|
-
};
|
|
2609
|
-
type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
2610
|
-
component: ComponentType<J>;
|
|
2611
|
-
inputs?: T;
|
|
2612
|
-
injector?: Injector;
|
|
2613
|
-
};
|
|
2614
|
-
type StringTemplate = {
|
|
2615
|
-
type: 'string';
|
|
2616
|
-
value: string;
|
|
2617
|
-
};
|
|
2618
|
-
type NgTemplateTemplate = {
|
|
2619
|
-
type: 'template';
|
|
2620
|
-
value: TemplateRef<unknown>;
|
|
2621
|
-
context?: Record<string, unknown>;
|
|
2622
|
-
injector: Injector | null;
|
|
2623
|
-
};
|
|
2624
|
-
type ComponentTemplate = {
|
|
2625
|
-
type: 'component';
|
|
2626
|
-
value: ComponentType<unknown>;
|
|
2627
|
-
inputs?: Record<string, unknown>;
|
|
2628
|
-
injector: Injector | null;
|
|
2629
|
-
};
|
|
2630
|
-
declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
|
|
2631
|
-
|
|
2632
2501
|
type ResizeEdge = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
2633
2502
|
type ResizeMoveEvent = {
|
|
2634
2503
|
edge: ResizeEdge;
|
|
@@ -3337,7 +3206,7 @@ type SurfaceInteractionColor = {
|
|
|
3337
3206
|
inkColor?: SurfaceOnInteractionColorMap;
|
|
3338
3207
|
};
|
|
3339
3208
|
type SurfaceTheme = {
|
|
3340
|
-
name:
|
|
3209
|
+
name: RegisteredSurfaceThemeName;
|
|
3341
3210
|
type: SurfaceType;
|
|
3342
3211
|
elevation: number;
|
|
3343
3212
|
isDefault?: boolean;
|
|
@@ -3968,7 +3837,7 @@ type UnsavedChangesGuardRef<T> = UnsavedChangesTrackerRef<T> & {
|
|
|
3968
3837
|
declare const createUnsavedChangesGuard: <T>(config: CreateUnsavedChangesGuardConfig<T>) => UnsavedChangesGuardRef<T>;
|
|
3969
3838
|
|
|
3970
3839
|
/** The version of `@ethlete/core` this build was cut from. */
|
|
3971
|
-
declare const CORE_VERSION = "5.0.0-next.
|
|
3840
|
+
declare const CORE_VERSION = "5.0.0-next.58";
|
|
3972
3841
|
|
|
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,
|
|
3974
|
-
export type { AlternateLanguagesConfig, AnchoredPositionMiddlewareExtras, AnchoredPositionSetup, AngularRenderer, AnimatedBlockSizeConfig, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent,
|
|
3842
|
+
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, EasingTokensStylesComponent, 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, 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, boolBreakpointTransform, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, copyToClipboard, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDestroy, createDocumentElementSignal, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createIsRenderedSignal, createLogger, createObjectUrlHandle, createOverlayRuntimeRef, createPropertyBinding, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, 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, isElement, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isHTMLOrSVGElement, isKnockoutMatch, isObject, isOnHigherOverlayLayer, isStaleBuildError, markdownToHtml, matchesReducedMotion, maybeSignalValue, memoizeSignal, mountEasingTokens, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, normalizeUnsavedChangesSource, numberBreakpointTransform, onOverlayViewportInsetsChange, overlayViewportInsets, overlayViewportInsetsFor, ownsActiveElement, 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, signalCountdown, signalDeferredLoading, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, slugify, suppressTextSelection, switchQueryListChanges, syncSignal, toArray, toArrayTrackByFn, toInjectFn, toProvideFn, toStringBinding, toToken, transformOrReturn, typedBreakpointTransform, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
3843
|
+
export type { AlternateLanguagesConfig, AnchoredPositionMiddlewareExtras, AnchoredPositionSetup, AngularRenderer, AnimatedBlockSizeConfig, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent, AppUpdates, AppUpdatesConfig, ArticleConfig, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorPaletteEntry, ColorTheme, ColorThemeInput, ColorThemeType, ConsentHandler, ControlValueSignalOptions, Countdown, CountdownDeadline, CreateLoggerConfig, 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, InjectFn, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LabelsDefinition, LabelsSource, LinkConfig, LinkStoreConfig, LogicalSize, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, 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, 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, StructuredDataConfig, StyleManager, SurfaceColor, SurfaceContextEntry, SurfaceContextSurface, SurfaceContextTracker, SurfaceInteractionColor, SurfaceInteractionColorMap, SurfaceOnInteractionColorMap, SurfaceTheme, SurfaceThemeColor, SurfaceType, SwipeEndEvent, SwipeTracker, SwipeUpdateEvent, SyncSignalOptions, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCardConfig, TypedBreakpointSignal, UnsavedChangesAbandonReason, UnsavedChangesConfirmContext, UnsavedChangesConfirmFn, UnsavedChangesGuardRef, UnsavedChangesRegistration, UnsavedChangesSource, UnsavedChangesTabConfig, UnsavedChangesTabLockRef, UnsavedChangesTrackerRef, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|