@ethlete/core 5.0.0-next.61 → 5.0.0-next.63
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 +56 -0
- package/fesm2022/ethlete-core.mjs +774 -405
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/generators/generators.json +10 -0
- package/generators/migrate-create-destroy/create-destroy.js +317 -0
- package/generators/migrate-create-destroy/migration.js +46 -0
- package/generators/migrate-create-destroy/schema.json +26 -0
- package/generators/migrate-legacy-color-themes/legacy-color-themes.js +123 -0
- package/generators/migrate-legacy-color-themes/migration.js +93 -0
- package/generators/migrate-legacy-color-themes/schema.json +26 -0
- package/generators/migrate-to-v5/removed-exports.js +94 -6
- package/migrations/legacy-color-themes.md +38 -0
- package/migrations/seo-directive-removed.md +2 -1
- package/migrations.json +15 -0
- package/package.json +11 -11
- package/types/ethlete-core.d.ts +269 -174
package/types/ethlete-core.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, AfterViewInit, Signal, ElementRef, QueryList, WritableSignal, InputSignalWithTransform, Provider, RendererStyleFlags2, Type, ComponentRef, Injector, ViewContainerRef, EnvironmentProviders, Binding, InjectOptions, StaticProvider, TemplateRef, InputSignal, PipeTransform, TrackByFunction, ApplicationRef } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
|
-
import { Observable
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
5
|
import * as _ethlete_core from '@ethlete/core';
|
|
6
|
-
import * as _floating_ui_dom from '@floating-ui/dom';
|
|
7
6
|
import { VirtualElement, Placement, OffsetOptions, Padding } from '@floating-ui/dom';
|
|
8
7
|
import { MatchListView, ParticipantViewUnion, MatchRankingView, StageType } from '@ethlete/types';
|
|
9
8
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
10
9
|
import { AbstractControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
11
10
|
import * as _angular_router from '@angular/router';
|
|
12
11
|
import { Data, Params, Router } from '@angular/router';
|
|
12
|
+
import { Location } from '@angular/common';
|
|
13
13
|
import { FieldTree } from '@angular/forms/signals';
|
|
14
14
|
|
|
15
15
|
declare const ANIMATABLE_TOKEN: InjectionToken<AnimatableDirective>;
|
|
@@ -57,16 +57,28 @@ declare const ANIMATION_DEBUG_STORAGE_KEY = "et-overlay-debug";
|
|
|
57
57
|
declare const isAnimationDebugEnabled: () => boolean;
|
|
58
58
|
declare const animationDebugLog: (scope: string, ...args: unknown[]) => void;
|
|
59
59
|
|
|
60
|
-
declare const
|
|
61
|
-
|
|
60
|
+
declare const ANIMATION_ERROR_CODES: {
|
|
61
|
+
/** `*etAnimatedIf` was used without an `[etAnimatedLifecycle]` element around it. */
|
|
62
|
+
readonly MISSING_ANIMATED_LIFECYCLE: 9000;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
declare const ANIMATED_IF_TOKEN: InjectionToken<AnimatedIfDirective<unknown>>;
|
|
66
|
+
type AnimatedIfContext<T> = {
|
|
67
|
+
$implicit: T;
|
|
68
|
+
etAnimatedIf: T;
|
|
69
|
+
};
|
|
70
|
+
declare class AnimatedIfDirective<T = unknown> {
|
|
71
|
+
static ngTemplateGuard_etAnimatedIf: 'binding';
|
|
62
72
|
private templateRef;
|
|
63
73
|
private viewContainerRef;
|
|
64
74
|
private animatedLifecycle;
|
|
65
75
|
private hasView;
|
|
66
|
-
|
|
76
|
+
private context;
|
|
77
|
+
ifValue: _angular_core.InputSignal<T | null>;
|
|
78
|
+
static ngTemplateContextGuard<T>(_dir: AnimatedIfDirective<T>, _ctx: unknown): _ctx is AnimatedIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
|
|
67
79
|
constructor();
|
|
68
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedIfDirective
|
|
69
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedIfDirective
|
|
80
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedIfDirective<any>, never>;
|
|
81
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedIfDirective<any>, "[etAnimatedIf]", never, { "ifValue": { "alias": "etAnimatedIf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
70
82
|
}
|
|
71
83
|
|
|
72
84
|
declare const ANIMATED_LIFECYCLE_TOKEN: InjectionToken<AnimatedLifecycleDirective>;
|
|
@@ -82,7 +94,11 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
|
|
|
82
94
|
private transitionIdCounter;
|
|
83
95
|
private forcedThisFrame;
|
|
84
96
|
private forcedFrameResetId;
|
|
85
|
-
|
|
97
|
+
private stateSubject$;
|
|
98
|
+
private _state;
|
|
99
|
+
state: _angular_core.Signal<AnimatedLifecycleState>;
|
|
100
|
+
/** Emits the current lifecycle state synchronously on subscribe, then every change. */
|
|
101
|
+
state$: Observable<AnimatedLifecycleState>;
|
|
86
102
|
stateChange: _angular_core.OutputRef<AnimatedLifecycleState>;
|
|
87
103
|
skipNextEnter: _angular_core.ModelSignal<boolean>;
|
|
88
104
|
constructor();
|
|
@@ -91,6 +107,7 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
|
|
|
91
107
|
leave(): void;
|
|
92
108
|
forceEnteredState(): void;
|
|
93
109
|
forceLeftState(): void;
|
|
110
|
+
private settleInstantly;
|
|
94
111
|
private markForcedThisFrame;
|
|
95
112
|
private handleNormalTransition;
|
|
96
113
|
private handleInterruptedTransition;
|
|
@@ -335,6 +352,7 @@ declare class ClickOutsideDirective {
|
|
|
335
352
|
private elementRef;
|
|
336
353
|
private document;
|
|
337
354
|
didClickOutside: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
355
|
+
private pressStartedInside;
|
|
338
356
|
constructor();
|
|
339
357
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
340
358
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[etClickOutside]", never, {}, { "didClickOutside": "etClickOutside"; }, never, never, true, never>;
|
|
@@ -788,8 +806,10 @@ declare const signalElementDimensions: (el: SignalElementBindingType) => Signal<
|
|
|
788
806
|
declare const signalHostElementDimensions: () => Signal<NullableElementDimensions>;
|
|
789
807
|
declare const injectViewportSize: () => Signal<ElementSize>;
|
|
790
808
|
|
|
791
|
-
type SignalElementIntersectionOptions = Omit<IntersectionObserverInit, 'root'> & {
|
|
809
|
+
type SignalElementIntersectionOptions = Omit<IntersectionObserverInit, 'root' | 'rootMargin' | 'threshold'> & {
|
|
792
810
|
root?: SignalElementBindingType;
|
|
811
|
+
rootMargin?: MaybeSignal<string>;
|
|
812
|
+
threshold?: MaybeSignal<number | number[]>;
|
|
793
813
|
enabled?: Signal<boolean>;
|
|
794
814
|
};
|
|
795
815
|
type IntersectionObserverEntryWithDetails = IntersectionObserverEntry & {
|
|
@@ -1029,6 +1049,18 @@ type CreateUserConsentProviderOptions = {
|
|
|
1029
1049
|
};
|
|
1030
1050
|
declare const createUserConsentProvider: (options: CreateUserConsentProviderOptions) => Provider;
|
|
1031
1051
|
|
|
1052
|
+
/**
|
|
1053
|
+
* Declares the `et-visually-hidden` class as a styles-only component: content that stays in the
|
|
1054
|
+
* accessibility tree but is clipped out of the layout. Mount it from any component whose template
|
|
1055
|
+
* uses the class.
|
|
1056
|
+
*/
|
|
1057
|
+
declare class VisuallyHiddenStylesComponent {
|
|
1058
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisuallyHiddenStylesComponent, never>;
|
|
1059
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VisuallyHiddenStylesComponent, "et-visually-hidden-styles", never, {}, {}, never, never, true, never>;
|
|
1060
|
+
}
|
|
1061
|
+
/** Mounts {@link VisuallyHiddenStylesComponent}. Call from an injection context. */
|
|
1062
|
+
declare const mountVisuallyHidden: () => _angular_core.ComponentRef<VisuallyHiddenStylesComponent>;
|
|
1063
|
+
|
|
1032
1064
|
/** Inject a signal containing a boolean value indicating if the viewport is xs */
|
|
1033
1065
|
declare const injectIsXs: () => _angular_core.Signal<boolean>;
|
|
1034
1066
|
/** Inject a signal containing a boolean value indicating if the viewport is sm */
|
|
@@ -1299,9 +1331,10 @@ declare const createRouterState: (router: Router) => RouterState;
|
|
|
1299
1331
|
/**
|
|
1300
1332
|
* Read the current route (the committed url without query params and fragment) straight from the router.
|
|
1301
1333
|
* Unlike the `injectRoute` signal this reads synchronously, so it can be used inside a `router.events` handler
|
|
1302
|
-
* where `router.url` is already committed.
|
|
1334
|
+
* where `router.url` is already committed. Before the first navigation commits it falls back to `location`
|
|
1335
|
+
* (without the base href) when given, else to the browser location.
|
|
1303
1336
|
*/
|
|
1304
|
-
declare const createRoute: (router: Router) => string;
|
|
1337
|
+
declare const createRoute: (router: Router, location?: Location) => string;
|
|
1305
1338
|
/**
|
|
1306
1339
|
* Inject the complete router state. This includes the current route data, path params, query params, title and fragment.
|
|
1307
1340
|
*/
|
|
@@ -1309,26 +1342,35 @@ declare const injectRouterState: () => Signal<RouterState>;
|
|
|
1309
1342
|
/** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
|
|
1310
1343
|
declare const injectFragment: <T = string | null>(config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1311
1344
|
/** Inject all currently available query parameters as a signal */
|
|
1312
|
-
declare const injectQueryParams: () => Signal<Params>;
|
|
1345
|
+
declare const injectQueryParams: (config?: InjectUtilConfig) => Signal<Params>;
|
|
1313
1346
|
/** Inject all currently available route data as a signal */
|
|
1314
|
-
declare const injectRouteData: () => Signal<Data>;
|
|
1347
|
+
declare const injectRouteData: (config?: InjectUtilConfig) => Signal<Data>;
|
|
1315
1348
|
/** Inject the current route title as a signal */
|
|
1316
|
-
declare const injectRouteTitle: <T = string | null>(config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1349
|
+
declare const injectRouteTitle: <T = string | null>(config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1317
1350
|
/** Inject all currently available path parameters as a signal */
|
|
1318
|
-
declare const injectPathParams: () => Signal<Params>;
|
|
1319
|
-
type InjectQueryParamConfig<T> = InjectUtilTransformConfig<string | null, T> & {
|
|
1351
|
+
declare const injectPathParams: (config?: InjectUtilConfig) => Signal<Params>;
|
|
1352
|
+
type InjectQueryParamConfig<T> = InjectUtilConfig & InjectUtilTransformConfig<string | null, T> & {
|
|
1320
1353
|
/**
|
|
1321
1354
|
* If true, the initial value will be read from the browser's url.
|
|
1322
1355
|
* Note that this will not work with arrays or complex objects.
|
|
1323
1356
|
*/
|
|
1324
1357
|
requireSync?: boolean;
|
|
1325
1358
|
};
|
|
1326
|
-
|
|
1359
|
+
type InjectQueryParamAllConfig<T> = InjectUtilConfig & InjectUtilTransformConfig<string[], T> & {
|
|
1360
|
+
/** If true, the values are read from the browser's url while the router has none. */
|
|
1361
|
+
requireSync?: boolean;
|
|
1362
|
+
};
|
|
1363
|
+
/**
|
|
1364
|
+
* Inject a specific query parameter as a signal. A repeated parameter (`?tag=a&tag=b`) resolves to its first value;
|
|
1365
|
+
* use `injectQueryParamAll` to read every value.
|
|
1366
|
+
*/
|
|
1327
1367
|
declare const injectQueryParam: <T = string | null>(key: string, config?: InjectQueryParamConfig<T>) => Signal<T>;
|
|
1368
|
+
/** Inject every value of a specific query parameter as a signal. Resolves to an empty array when it is absent. */
|
|
1369
|
+
declare const injectQueryParamAll: <T = string[]>(key: string, config?: InjectQueryParamAllConfig<T>) => Signal<T>;
|
|
1328
1370
|
/** Inject a specific route data item as a signal */
|
|
1329
|
-
declare const injectRouteDataItem: <T = unknown>(key: string, config?: InjectUtilTransformConfig<unknown, T>) => Signal<T>;
|
|
1371
|
+
declare const injectRouteDataItem: <T = unknown>(key: string, config?: InjectUtilConfig & InjectUtilTransformConfig<unknown, T>) => Signal<T>;
|
|
1330
1372
|
/** Inject a specific path parameter as a signal */
|
|
1331
|
-
declare const injectPathParam: <T = string | null>(key: string, config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1373
|
+
declare const injectPathParam: <T = string | null>(key: string, config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
|
|
1332
1374
|
/**
|
|
1333
1375
|
* Inject query params that changed during navigation. Unchanged query params will be ignored.
|
|
1334
1376
|
* Removed query params will be represented by the symbol `ET_PROPERTY_REMOVED`.
|
|
@@ -1360,7 +1402,7 @@ declare const injectPathParamChanges: () => Signal<Record<string, unknown>>;
|
|
|
1360
1402
|
* protected cameFromCart = this.navState?.fromCart ?? false;
|
|
1361
1403
|
* }
|
|
1362
1404
|
*/
|
|
1363
|
-
declare const injectRouterNavigationState: <T>() => T | null;
|
|
1405
|
+
declare const injectRouterNavigationState: <T>(config?: InjectUtilConfig) => T | null;
|
|
1364
1406
|
|
|
1365
1407
|
declare class ScrollObserverDirective {
|
|
1366
1408
|
private elementRef;
|
|
@@ -1691,7 +1733,7 @@ declare const injectNotifications: _ethlete_core.InjectFn<Notifications>;
|
|
|
1691
1733
|
|
|
1692
1734
|
type OverlayRuntimeRole = 'dialog' | 'alertdialog';
|
|
1693
1735
|
type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
1694
|
-
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer' | 'drag' | 'reference-detached' | 'replace';
|
|
1736
|
+
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer' | 'drag' | 'reference-detached' | 'replace' | 'navigation';
|
|
1695
1737
|
type OverlayRuntimeCenteredPosition = {
|
|
1696
1738
|
kind: 'center';
|
|
1697
1739
|
};
|
|
@@ -1837,37 +1879,29 @@ type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
|
1837
1879
|
};
|
|
1838
1880
|
|
|
1839
1881
|
type OverlayRuntimeState = 'mounting' | 'mounted' | 'closing' | 'closed';
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1882
|
+
/**
|
|
1883
|
+
* The handle `OverlayRuntime.mount()` returns. The lifecycle observables replay their event, so a
|
|
1884
|
+
* subscriber that arrives after it still gets one emission.
|
|
1885
|
+
*/
|
|
1886
|
+
type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = {
|
|
1887
|
+
readonly id: string;
|
|
1888
|
+
readonly config: Omit<OverlayRuntimeMountConfig<TComponent>, 'component'>;
|
|
1889
|
+
readonly elements: OverlayRuntimeElements;
|
|
1890
|
+
readonly state: Signal<OverlayRuntimeState>;
|
|
1891
|
+
readonly componentInstance: Signal<TComponent | null>;
|
|
1847
1892
|
close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
1848
|
-
/**
|
|
1849
|
-
* close it previously vetoed (e.g. after an async confirm resolved). */
|
|
1893
|
+
/** Closes while bypassing every registered close guard, e.g. to commit a close a guard vetoed earlier. */
|
|
1850
1894
|
forceClose(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
1851
|
-
/**
|
|
1895
|
+
/** Registers a synchronous veto for pending closes. Returns an unregister function. */
|
|
1852
1896
|
registerCloseGuard(guard: OverlayRuntimeCloseGuard<TResult>): () => void;
|
|
1853
1897
|
beforeOpened(): Observable<void>;
|
|
1854
1898
|
afterOpened(): Observable<void>;
|
|
1855
1899
|
beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1856
1900
|
afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
1857
|
-
attachComponentRef(componentRef: ComponentRef<TComponent>): void;
|
|
1858
|
-
attachPositionUpdater(updater: (strategy: OverlayRuntimePositionStrategy) => void): void;
|
|
1859
1901
|
updatePositionStrategy(strategy: OverlayRuntimePositionStrategy): void;
|
|
1860
|
-
|
|
1861
|
-
/**
|
|
1862
|
-
* Adds or removes the backdrop of an open overlay. `elements.backdropElement` follows.
|
|
1863
|
-
* A closing overlay keeps the backdrop it has, so its leave transition stays intact.
|
|
1864
|
-
*/
|
|
1902
|
+
/** Adds or removes the backdrop of an open overlay. A closing overlay keeps the backdrop it has. */
|
|
1865
1903
|
updateBackdrop(hasBackdrop: boolean): void;
|
|
1866
|
-
markOpened(): void;
|
|
1867
|
-
beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
|
|
1868
|
-
finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
|
|
1869
1904
|
};
|
|
1870
|
-
type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRuntimeRef<TComponent, TResult>>;
|
|
1871
1905
|
|
|
1872
1906
|
declare const FOCUSABLE_SELECTOR: string;
|
|
1873
1907
|
declare const isHTMLElement: (value: unknown) => value is HTMLElement;
|
|
@@ -1879,6 +1913,7 @@ declare const isHTMLOrSVGElement: (value: unknown) => value is HTMLElement | SVG
|
|
|
1879
1913
|
*/
|
|
1880
1914
|
declare const ownsActiveElement: (hostElement: HTMLElement, document: Document) => boolean;
|
|
1881
1915
|
declare const isFocusable: (element: HTMLElement, document: Document) => boolean;
|
|
1916
|
+
/** The elements Tab stops on inside `container`, with each named radio group collapsed to its checked (else first) radio. */
|
|
1882
1917
|
declare const getFocusableElements: (container: HTMLElement, document: Document) => HTMLElement[];
|
|
1883
1918
|
declare const getHeadingElement: (container: HTMLElement) => HTMLElement | null;
|
|
1884
1919
|
declare const focusElement: (element: HTMLElement | null) => void;
|
|
@@ -1917,41 +1952,10 @@ declare const resolveOverlayLayer: (element: Element | null | undefined) => numb
|
|
|
1917
1952
|
*/
|
|
1918
1953
|
declare const isOnHigherOverlayLayer: (target: EventTarget | null | undefined, layer: number) => boolean;
|
|
1919
1954
|
|
|
1920
|
-
declare const setBaseElementStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1921
|
-
declare const setBackdropStyles: (backdropElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1922
1955
|
declare const applyCenteredPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, _config: OverlayRuntimeCenteredPosition) => void;
|
|
1923
1956
|
declare const applyGlobalPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, config: OverlayRuntimeGlobalPosition) => void;
|
|
1924
|
-
/**
|
|
1925
|
-
* Clears every inline style any position strategy kind may have set and
|
|
1926
|
-
* restores the base element styles, so a different strategy can be applied afterwards.
|
|
1927
|
-
*/
|
|
1928
|
-
declare const resetPositioningStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
1929
|
-
/**
|
|
1930
|
-
* Positions an anchored overlay pane and returns the cleanup for its auto-update loop.
|
|
1931
|
-
*/
|
|
1932
|
-
type AnchoredPositionSetup = (strategy: OverlayRuntimeAnchoredPosition, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
1933
|
-
/**
|
|
1934
|
-
* Installs the anchored positioning implementation. Called by `anchoredOverlayPosition()`, which is
|
|
1935
|
-
* the only thing that pulls `@floating-ui/dom` into the bundle - apps that never anchor an overlay
|
|
1936
|
-
* do not ship it.
|
|
1937
|
-
*/
|
|
1938
|
-
declare const registerAnchoredPositionSetup: (setup: AnchoredPositionSetup) => void;
|
|
1939
1957
|
declare const setupPositioning: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
1940
1958
|
|
|
1941
|
-
/**
|
|
1942
|
-
* The floating-ui middleware only a subset of anchored overlays needs. Installed by
|
|
1943
|
-
* `enableAnchoredOverlayPositionExtras()`.
|
|
1944
|
-
*/
|
|
1945
|
-
type AnchoredPositionMiddlewareExtras = {
|
|
1946
|
-
size: typeof _floating_ui_dom.size;
|
|
1947
|
-
arrow: typeof _floating_ui_dom.arrow;
|
|
1948
|
-
hide: typeof _floating_ui_dom.hide;
|
|
1949
|
-
};
|
|
1950
|
-
/**
|
|
1951
|
-
* Installs the `size` / `arrow` / `hide` middleware. Called by
|
|
1952
|
-
* `enableAnchoredOverlayPositionExtras()`.
|
|
1953
|
-
*/
|
|
1954
|
-
declare const registerAnchoredPositionMiddlewareExtras: (extras: AnchoredPositionMiddlewareExtras) => void;
|
|
1955
1959
|
declare const createAnchoredPositionCleanup: (strategy: OverlayRuntimeAnchoredPosition, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
1956
1960
|
/**
|
|
1957
1961
|
* Builds an anchored position strategy and installs the anchored positioning implementation.
|
|
@@ -2027,6 +2031,9 @@ declare const createComponentId: (prefix: string) => string;
|
|
|
2027
2031
|
*/
|
|
2028
2032
|
declare const randomId: () => string;
|
|
2029
2033
|
|
|
2034
|
+
/**
|
|
2035
|
+
* @deprecated Use `takeUntilDestroyed()` from `@angular/core/rxjs-interop`. `yarn nx g @ethlete/core:migrate-create-destroy` rewrites the common pattern.
|
|
2036
|
+
*/
|
|
2030
2037
|
declare const createDestroy: () => rxjs.Observable<boolean>;
|
|
2031
2038
|
|
|
2032
2039
|
declare const injectHostElement: <T = HTMLElement>() => T;
|
|
@@ -2111,6 +2118,17 @@ declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventN
|
|
|
2111
2118
|
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: AddEventListenerOptions) => rxjs.Subscription;
|
|
2112
2119
|
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: AddEventListenerOptions) => void;
|
|
2113
2120
|
|
|
2121
|
+
/**
|
|
2122
|
+
* Like Angular's `booleanAttribute`, but keeps `null` and `undefined` so a tri-state input can tell
|
|
2123
|
+
* "not set" apart from `false`. A bare attribute (`<et-x closeOnActivate>`) reads as `true`.
|
|
2124
|
+
*
|
|
2125
|
+
* @example
|
|
2126
|
+
* closeOnActivate = input<boolean | undefined, unknown>(undefined, { transform: optionalBooleanAttribute });
|
|
2127
|
+
*/
|
|
2128
|
+
declare function optionalBooleanAttribute(value: null): null;
|
|
2129
|
+
declare function optionalBooleanAttribute(value: undefined): undefined;
|
|
2130
|
+
declare function optionalBooleanAttribute(value: unknown): boolean;
|
|
2131
|
+
|
|
2114
2132
|
declare class TypedQueryList<T> extends QueryList<T> {
|
|
2115
2133
|
get changes(): Observable<TypedQueryList<T>>;
|
|
2116
2134
|
}
|
|
@@ -2173,6 +2191,7 @@ type Translatable = {
|
|
|
2173
2191
|
text: string;
|
|
2174
2192
|
};
|
|
2175
2193
|
|
|
2194
|
+
/** @deprecated Keyed on the deprecated `KeyboardEvent.keyCode`. Compare `KeyboardEvent.key` instead. */
|
|
2176
2195
|
declare class KeyPressManager {
|
|
2177
2196
|
readonly key: number;
|
|
2178
2197
|
private isKeyPressed;
|
|
@@ -2509,8 +2528,8 @@ type ResizeEdge = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
|
2509
2528
|
type ResizeMoveEvent = {
|
|
2510
2529
|
edge: ResizeEdge;
|
|
2511
2530
|
/** Cumulative delta from the pointerdown position. */
|
|
2512
|
-
|
|
2513
|
-
|
|
2531
|
+
totalDx: number;
|
|
2532
|
+
totalDy: number;
|
|
2514
2533
|
clientX: number;
|
|
2515
2534
|
clientY: number;
|
|
2516
2535
|
};
|
|
@@ -2522,7 +2541,7 @@ declare class ResizeHandlesComponent {
|
|
|
2522
2541
|
private gesture$;
|
|
2523
2542
|
resizeStarted: _angular_core.OutputRef<ResizeEdge>;
|
|
2524
2543
|
resizeMoved: _angular_core.OutputRef<ResizeMoveEvent>;
|
|
2525
|
-
resizeEnded: _angular_core.OutputRef<
|
|
2544
|
+
resizeEnded: _angular_core.OutputRef<ResizeMoveEvent>;
|
|
2526
2545
|
/**
|
|
2527
2546
|
* The browser took the gesture away mid-resize (a system gesture, an incoming call, the tab going
|
|
2528
2547
|
* to the background). Revert to the size the resize started from - the user never let go, so there
|
|
@@ -2583,7 +2602,7 @@ type CurrentElementVisibility = {
|
|
|
2583
2602
|
*/
|
|
2584
2603
|
isIntersecting: boolean;
|
|
2585
2604
|
/**
|
|
2586
|
-
* The
|
|
2605
|
+
* The share of the element's area inside the container, like `IntersectionObserverEntry.intersectionRatio`.
|
|
2587
2606
|
*/
|
|
2588
2607
|
intersectionRatio: number;
|
|
2589
2608
|
/**
|
|
@@ -3078,11 +3097,11 @@ type TitleConfig = {
|
|
|
3078
3097
|
*/
|
|
3079
3098
|
transformer: (title: string, locale: string) => string;
|
|
3080
3099
|
/**
|
|
3081
|
-
* A title part to be
|
|
3100
|
+
* A title part to be suffixed to all titles
|
|
3082
3101
|
*/
|
|
3083
3102
|
suffixPart?: TitlePart;
|
|
3084
3103
|
/**
|
|
3085
|
-
* A title part to be
|
|
3104
|
+
* A title part to be prefixed to all titles
|
|
3086
3105
|
*/
|
|
3087
3106
|
prefixPart?: TitlePart;
|
|
3088
3107
|
};
|
|
@@ -3185,6 +3204,99 @@ declare class ColorInteractiveDirective {
|
|
|
3185
3204
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveDirective, "[etColorInteractive]", never, {}, {}, never, never, true, never>;
|
|
3186
3205
|
}
|
|
3187
3206
|
|
|
3207
|
+
type ThemeRGBColor = `${number} ${number} ${number}`;
|
|
3208
|
+
type ThemeHSLColor = `${number} ${number}% ${number}%`;
|
|
3209
|
+
type ThemeColor = ThemeRGBColor | ThemeHSLColor;
|
|
3210
|
+
type ThemeColorMap = {
|
|
3211
|
+
default: ThemeColor;
|
|
3212
|
+
hover: ThemeColor;
|
|
3213
|
+
focus?: ThemeColor;
|
|
3214
|
+
active: ThemeColor;
|
|
3215
|
+
disabled: ThemeColor;
|
|
3216
|
+
};
|
|
3217
|
+
type OnThemeColorMap = {
|
|
3218
|
+
default: ThemeColor;
|
|
3219
|
+
hover?: ThemeColor;
|
|
3220
|
+
focus?: ThemeColor;
|
|
3221
|
+
active?: ThemeColor;
|
|
3222
|
+
disabled?: ThemeColor;
|
|
3223
|
+
};
|
|
3224
|
+
type ThemeInkColorMap = {
|
|
3225
|
+
default: ThemeColor;
|
|
3226
|
+
hover?: ThemeColor;
|
|
3227
|
+
focus?: ThemeColor;
|
|
3228
|
+
active?: ThemeColor;
|
|
3229
|
+
disabled?: ThemeColor;
|
|
3230
|
+
};
|
|
3231
|
+
type ThemeSwatch = {
|
|
3232
|
+
color: ThemeColorMap;
|
|
3233
|
+
onColor: OnThemeColorMap;
|
|
3234
|
+
inkColor?: ThemeInkColorMap;
|
|
3235
|
+
};
|
|
3236
|
+
type ColorThemeType = 'success' | 'warning' | 'error';
|
|
3237
|
+
type ColorTheme = {
|
|
3238
|
+
name: string;
|
|
3239
|
+
type?: ColorThemeType;
|
|
3240
|
+
isDefault?: boolean;
|
|
3241
|
+
primary: ThemeSwatch;
|
|
3242
|
+
secondary?: ThemeSwatch;
|
|
3243
|
+
tertiary?: ThemeSwatch;
|
|
3244
|
+
};
|
|
3245
|
+
/**
|
|
3246
|
+
* Augmentable registry for the literal set of color theme names an app defines. Left
|
|
3247
|
+
* empty by default, which keeps theme-name-accepting APIs (like `etProvideColor`) typed
|
|
3248
|
+
* as plain `string`.
|
|
3249
|
+
*
|
|
3250
|
+
* Apps that want those APIs checked and autocompleted against their own theme names
|
|
3251
|
+
* should augment this interface once, near where their themes are defined:
|
|
3252
|
+
*
|
|
3253
|
+
* ```ts
|
|
3254
|
+
* declare module '@ethlete/core' {
|
|
3255
|
+
* interface EthleteColorThemeNameRegistry {
|
|
3256
|
+
* name: 'pitch-green' | 'red' | 'light-grey';
|
|
3257
|
+
* }
|
|
3258
|
+
* }
|
|
3259
|
+
* ```
|
|
3260
|
+
*/
|
|
3261
|
+
interface EthleteColorThemeNameRegistry {
|
|
3262
|
+
}
|
|
3263
|
+
type RegisteredColorThemeName = EthleteColorThemeNameRegistry extends {
|
|
3264
|
+
name: infer N extends string;
|
|
3265
|
+
} ? N : string;
|
|
3266
|
+
/**
|
|
3267
|
+
* Reserved color name. Resolves the color tokens from the ambient surface's neutral swatch
|
|
3268
|
+
* (`SurfaceTheme['interactionColor']`) instead of a registered accent, so a secondary action can
|
|
3269
|
+
* read as chrome without the app registering a neutral color theme. Apps must not register a color
|
|
3270
|
+
* theme under this name.
|
|
3271
|
+
*/
|
|
3272
|
+
declare const SURFACE_COLOR = "surface";
|
|
3273
|
+
type SurfaceColor = typeof SURFACE_COLOR;
|
|
3274
|
+
/** Everything `[etProvideColor]` accepts: a registered theme name, a theme object, `surface`, or nothing. */
|
|
3275
|
+
type ColorThemeInput = RegisteredColorThemeName | SurfaceColor | ColorTheme | null;
|
|
3276
|
+
declare const createCssColorThemeName: (name: string) => string;
|
|
3277
|
+
declare const ɵProvideColorThemes: (valueOverride?: (ColorTheme | undefined)[] | undefined) => _angular_core.StaticProvider[];
|
|
3278
|
+
declare const injectColorThemes: _ethlete_core.InjectFn<ColorTheme[]>;
|
|
3279
|
+
declare const ɵProvideColorThemesPrefix: (valueOverride?: string | undefined) => _angular_core.StaticProvider[];
|
|
3280
|
+
declare const injectColorThemesPrefix: _ethlete_core.InjectFn<string>;
|
|
3281
|
+
declare const provideColorThemesWithTailwind4: (themes: ColorTheme[], prefix?: string) => _angular_core.StaticProvider[][];
|
|
3282
|
+
/**
|
|
3283
|
+
* A signal of the color theme for `type` on the surface this element renders on: the theme the nearest
|
|
3284
|
+
* surface names in `semanticColorThemes`, else the first registered theme of that `type`. Reading it throws
|
|
3285
|
+
* when the app registered no theme of that `type`, so read it only for a state that renders.
|
|
3286
|
+
*
|
|
3287
|
+
* @example
|
|
3288
|
+
* protected successTheme = injectSemanticColorTheme('success');
|
|
3289
|
+
* // <span [etProvideColor]="successTheme()">+12%</span>
|
|
3290
|
+
*/
|
|
3291
|
+
declare const injectSemanticColorTheme: (type: ColorThemeType) => Signal<ColorTheme>;
|
|
3292
|
+
/** @deprecated Use `injectSemanticColorTheme('error')`, which follows the surface the element renders on. */
|
|
3293
|
+
declare const injectErrorTheme: () => ColorTheme;
|
|
3294
|
+
/** @deprecated Use `injectSemanticColorTheme('warning')`, which follows the surface the element renders on. */
|
|
3295
|
+
declare const injectWarningTheme: () => ColorTheme;
|
|
3296
|
+
/** @deprecated Use `injectSemanticColorTheme('success')`, which follows the surface the element renders on. */
|
|
3297
|
+
declare const injectSuccessTheme: () => ColorTheme;
|
|
3298
|
+
declare const injectDefaultColorTheme: () => ColorTheme;
|
|
3299
|
+
|
|
3188
3300
|
declare const SURFACE_TYPE: {
|
|
3189
3301
|
readonly LIGHT: "light";
|
|
3190
3302
|
readonly DARK: "dark";
|
|
@@ -3224,6 +3336,17 @@ type SurfaceTheme = {
|
|
|
3224
3336
|
elevation: number;
|
|
3225
3337
|
isDefault?: boolean;
|
|
3226
3338
|
interactionColor?: SurfaceInteractionColor;
|
|
3339
|
+
/**
|
|
3340
|
+
* The registered color theme that serves a semantic `type` on this surface, e.g.
|
|
3341
|
+
* `{ success: 'success-on-light' }`. A `type` left out falls back to the first registered theme of
|
|
3342
|
+
* that `type`. Read by `injectSemanticColorTheme()`.
|
|
3343
|
+
*/
|
|
3344
|
+
semanticColorThemes?: Partial<Record<ColorThemeType, RegisteredColorThemeName>>;
|
|
3345
|
+
/**
|
|
3346
|
+
* The registered color theme a `[etProvideSurface]` element applies to its subtree, e.g. a darker
|
|
3347
|
+
* `brand-on-light` on a light surface. An `[etProvideColor]` on or above the surface element wins.
|
|
3348
|
+
*/
|
|
3349
|
+
colorTheme?: RegisteredColorThemeName;
|
|
3227
3350
|
background: SurfaceThemeColor;
|
|
3228
3351
|
color: SurfaceThemeColor;
|
|
3229
3352
|
colorMuted: SurfaceThemeColor;
|
|
@@ -3277,6 +3400,9 @@ declare class ProvideSurfaceDirective {
|
|
|
3277
3400
|
private injector;
|
|
3278
3401
|
private parentProvider;
|
|
3279
3402
|
private defaultTheme;
|
|
3403
|
+
private colorThemes;
|
|
3404
|
+
private colorPrefix;
|
|
3405
|
+
private colorProvider;
|
|
3280
3406
|
private currentProviderSync;
|
|
3281
3407
|
private forcedSurface;
|
|
3282
3408
|
surface: InputSignal<RegisteredSurfaceThemeName | null | undefined>;
|
|
@@ -3291,6 +3417,7 @@ declare class ProvideSurfaceDirective {
|
|
|
3291
3417
|
elevation: Signal<number>;
|
|
3292
3418
|
surfaceType: Signal<_ethlete_core.SurfaceType | null>;
|
|
3293
3419
|
surfaceName: Signal<string | undefined>;
|
|
3420
|
+
private colorThemeClass;
|
|
3294
3421
|
protected surfaceClass: Signal<string>;
|
|
3295
3422
|
syncWithProvider(provider: ProvideSurfaceDirective): void;
|
|
3296
3423
|
stopSyncWithProvider(): void;
|
|
@@ -3344,86 +3471,6 @@ declare class AutoSurfaceDirective {
|
|
|
3344
3471
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutoSurfaceDirective, "[etAutoSurface]", never, { "surfaceProvider": { "alias": "surfaceProvider"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof ProvideSurfaceDirective; inputs: {}; outputs: {}; }]>;
|
|
3345
3472
|
}
|
|
3346
3473
|
|
|
3347
|
-
type ThemeRGBColor = `${number} ${number} ${number}`;
|
|
3348
|
-
type ThemeHSLColor = `${number} ${number}% ${number}%`;
|
|
3349
|
-
type ThemeColor = ThemeRGBColor | ThemeHSLColor;
|
|
3350
|
-
type ThemeColorMap = {
|
|
3351
|
-
default: ThemeColor;
|
|
3352
|
-
hover: ThemeColor;
|
|
3353
|
-
focus?: ThemeColor;
|
|
3354
|
-
active: ThemeColor;
|
|
3355
|
-
disabled: ThemeColor;
|
|
3356
|
-
};
|
|
3357
|
-
type OnThemeColorMap = {
|
|
3358
|
-
default: ThemeColor;
|
|
3359
|
-
hover?: ThemeColor;
|
|
3360
|
-
focus?: ThemeColor;
|
|
3361
|
-
active?: ThemeColor;
|
|
3362
|
-
disabled?: ThemeColor;
|
|
3363
|
-
};
|
|
3364
|
-
type ThemeInkColorMap = {
|
|
3365
|
-
default: ThemeColor;
|
|
3366
|
-
hover?: ThemeColor;
|
|
3367
|
-
focus?: ThemeColor;
|
|
3368
|
-
active?: ThemeColor;
|
|
3369
|
-
disabled?: ThemeColor;
|
|
3370
|
-
};
|
|
3371
|
-
type ThemeSwatch = {
|
|
3372
|
-
color: ThemeColorMap;
|
|
3373
|
-
onColor: OnThemeColorMap;
|
|
3374
|
-
inkColor?: ThemeInkColorMap;
|
|
3375
|
-
};
|
|
3376
|
-
type ColorThemeType = 'success' | 'warning' | 'error';
|
|
3377
|
-
type ColorTheme = {
|
|
3378
|
-
name: string;
|
|
3379
|
-
type?: ColorThemeType;
|
|
3380
|
-
isDefault?: boolean;
|
|
3381
|
-
primary: ThemeSwatch;
|
|
3382
|
-
secondary?: ThemeSwatch;
|
|
3383
|
-
tertiary?: ThemeSwatch;
|
|
3384
|
-
};
|
|
3385
|
-
/**
|
|
3386
|
-
* Augmentable registry for the literal set of color theme names an app defines. Left
|
|
3387
|
-
* empty by default, which keeps theme-name-accepting APIs (like `etProvideColor`) typed
|
|
3388
|
-
* as plain `string`.
|
|
3389
|
-
*
|
|
3390
|
-
* Apps that want those APIs checked and autocompleted against their own theme names
|
|
3391
|
-
* should augment this interface once, near where their themes are defined:
|
|
3392
|
-
*
|
|
3393
|
-
* ```ts
|
|
3394
|
-
* declare module '@ethlete/core' {
|
|
3395
|
-
* interface EthleteColorThemeNameRegistry {
|
|
3396
|
-
* name: 'pitch-green' | 'red' | 'light-grey';
|
|
3397
|
-
* }
|
|
3398
|
-
* }
|
|
3399
|
-
* ```
|
|
3400
|
-
*/
|
|
3401
|
-
interface EthleteColorThemeNameRegistry {
|
|
3402
|
-
}
|
|
3403
|
-
type RegisteredColorThemeName = EthleteColorThemeNameRegistry extends {
|
|
3404
|
-
name: infer N extends string;
|
|
3405
|
-
} ? N : string;
|
|
3406
|
-
/**
|
|
3407
|
-
* Reserved color name. Resolves the color tokens from the ambient surface's neutral swatch
|
|
3408
|
-
* (`SurfaceTheme['interactionColor']`) instead of a registered accent, so a secondary action can
|
|
3409
|
-
* read as chrome without the app registering a neutral color theme. Apps must not register a color
|
|
3410
|
-
* theme under this name.
|
|
3411
|
-
*/
|
|
3412
|
-
declare const SURFACE_COLOR = "surface";
|
|
3413
|
-
type SurfaceColor = typeof SURFACE_COLOR;
|
|
3414
|
-
/** Everything `[etProvideColor]` accepts: a registered theme name, a theme object, `surface`, or nothing. */
|
|
3415
|
-
type ColorThemeInput = RegisteredColorThemeName | SurfaceColor | ColorTheme | null;
|
|
3416
|
-
declare const createCssColorThemeName: (name: string) => string;
|
|
3417
|
-
declare const ɵProvideColorThemes: (valueOverride?: (ColorTheme | undefined)[] | undefined) => _angular_core.StaticProvider[];
|
|
3418
|
-
declare const injectColorThemes: _ethlete_core.InjectFn<ColorTheme[]>;
|
|
3419
|
-
declare const ɵProvideColorThemesPrefix: (valueOverride?: string | undefined) => _angular_core.StaticProvider[];
|
|
3420
|
-
declare const injectColorThemesPrefix: _ethlete_core.InjectFn<string>;
|
|
3421
|
-
declare const provideColorThemesWithTailwind4: (themes: ColorTheme[], prefix?: string) => _angular_core.StaticProvider[][];
|
|
3422
|
-
declare const injectErrorTheme: () => ColorTheme;
|
|
3423
|
-
declare const injectWarningTheme: () => ColorTheme;
|
|
3424
|
-
declare const injectSuccessTheme: () => ColorTheme;
|
|
3425
|
-
declare const injectDefaultColorTheme: () => ColorTheme;
|
|
3426
|
-
|
|
3427
3474
|
/** One choice in a {@link provideColorPalette} palette. */
|
|
3428
3475
|
type ColorPaletteEntry = {
|
|
3429
3476
|
/** The color theme this choice selects - a name the app registered with `provideColorThemesWithTailwind4`. */
|
|
@@ -3431,25 +3478,51 @@ type ColorPaletteEntry = {
|
|
|
3431
3478
|
/** What a user reads next to the swatch. Provide it already translated. */
|
|
3432
3479
|
label: string;
|
|
3433
3480
|
};
|
|
3481
|
+
/**
|
|
3482
|
+
* One palette per surface theme the app registered, keyed by the surface theme name. `default` is
|
|
3483
|
+
* used on every surface without its own list. Every list must keep the same order.
|
|
3484
|
+
*/
|
|
3485
|
+
type ColorPaletteBySurface = {
|
|
3486
|
+
default: ColorPaletteEntry[];
|
|
3487
|
+
} & Partial<Record<RegisteredSurfaceThemeName, ColorPaletteEntry[]>>;
|
|
3488
|
+
type ColorPaletteConfig = ColorPaletteEntry[] | ColorPaletteBySurface;
|
|
3434
3489
|
/**
|
|
3435
3490
|
* The color themes a subtree may offer a user as pickable choices, in the order they should appear.
|
|
3436
3491
|
* A curated slice of what `provideColorThemesWithTailwind4` registered: an app registers every theme
|
|
3437
3492
|
* it renders with, including ones nobody should pick by hand (`error`, `warning`), and adds the
|
|
3438
3493
|
* user-facing label a swatch needs.
|
|
3439
3494
|
*
|
|
3440
|
-
*
|
|
3441
|
-
*
|
|
3495
|
+
* Pass one list, or one list per registered surface theme name plus a `default`. The charts draw with
|
|
3496
|
+
* the list of the surface they sit on; a color picker always offers the `default` list.
|
|
3442
3497
|
*
|
|
3443
3498
|
* @example
|
|
3444
3499
|
* provideColorPalette([
|
|
3445
3500
|
* { token: 'brand', label: 'Team green' },
|
|
3446
3501
|
* { token: 'ocean', label: 'Training blue' },
|
|
3447
3502
|
* ]);
|
|
3503
|
+
*
|
|
3504
|
+
* @example
|
|
3505
|
+
* provideColorPalette({
|
|
3506
|
+
* default: [{ token: 'ocean', label: 'Training' }],
|
|
3507
|
+
* 'dark-card': [{ token: 'ocean-bright', label: 'Training' }],
|
|
3508
|
+
* });
|
|
3509
|
+
*/
|
|
3510
|
+
declare const provideColorPalette: (palette: ColorPaletteConfig) => _angular_core.StaticProvider[];
|
|
3511
|
+
/**
|
|
3512
|
+
* The palette from {@link provideColorPalette}; with one list per surface, the `default` list. Pass
|
|
3513
|
+
* `{ optional: true }` - most apps provide none.
|
|
3448
3514
|
*/
|
|
3449
|
-
declare
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3515
|
+
declare function injectColorPalette(): ColorPaletteEntry[];
|
|
3516
|
+
declare function injectColorPalette(options: InjectOptions & {
|
|
3517
|
+
optional?: false;
|
|
3518
|
+
}): ColorPaletteEntry[];
|
|
3519
|
+
declare function injectColorPalette(options: InjectOptions): ColorPaletteEntry[] | null;
|
|
3520
|
+
/**
|
|
3521
|
+
* The palette from {@link provideColorPalette} for the surface the current subtree renders on: that
|
|
3522
|
+
* surface theme's list, else the `default` list. `null` when no palette is provided.
|
|
3523
|
+
*/
|
|
3524
|
+
declare const injectSurfaceColorPalette: () => Signal<ColorPaletteEntry[] | null>;
|
|
3525
|
+
declare const COLOR_PALETTE: _angular_core.InjectionToken<ColorPaletteConfig>;
|
|
3453
3526
|
|
|
3454
3527
|
/**
|
|
3455
3528
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
@@ -3501,6 +3574,7 @@ declare class ProvideColorDirective {
|
|
|
3501
3574
|
private prefix;
|
|
3502
3575
|
private injector;
|
|
3503
3576
|
private parentProvider;
|
|
3577
|
+
private appRef;
|
|
3504
3578
|
private currentProviderSync;
|
|
3505
3579
|
private forcedColor;
|
|
3506
3580
|
color: InputSignal<ColorThemeInput | undefined>;
|
|
@@ -3572,8 +3646,9 @@ type UnsavedChangesAbandonReason = 'logout' | (string & {});
|
|
|
3572
3646
|
type UnsavedChangesConfirmContext = {
|
|
3573
3647
|
/**
|
|
3574
3648
|
* Aborts when the session this confirm belongs to ends underneath it - a logout, or an explicit
|
|
3575
|
-
* `abandonAll()`.
|
|
3576
|
-
*
|
|
3649
|
+
* `abandonAll()`. An `Observable` confirm is unsubscribed when it fires; a confirm that returns a
|
|
3650
|
+
* `Promise` must **close its dialog itself**, otherwise it is left on screen over a page the user has
|
|
3651
|
+
* already been redirected away from. The guard itself stops waiting either way.
|
|
3577
3652
|
*
|
|
3578
3653
|
* ```ts
|
|
3579
3654
|
* confirm: (value, { signal }) => {
|
|
@@ -3668,7 +3743,7 @@ type UnsavedChangesTabConfig = {
|
|
|
3668
3743
|
* {@link UNSAVED_CHANGES_TITLE_MARKER}, a string is used as-is.
|
|
3669
3744
|
*
|
|
3670
3745
|
* Goes through the core title store (`injectTitleStore`), so the app's title must be owned by it
|
|
3671
|
-
* (`applyHeadTitleBinding` /
|
|
3746
|
+
* (`applyHeadTitleBinding` / `applySocialMediaBindings`) - an app that writes `document.title` by some
|
|
3672
3747
|
* other means would fight the store over it.
|
|
3673
3748
|
* @default false
|
|
3674
3749
|
*/
|
|
@@ -3752,15 +3827,16 @@ type CreateUnsavedChangesTrackerConfig<T> = {
|
|
|
3752
3827
|
source: UnsavedChangesSource<T>;
|
|
3753
3828
|
/**
|
|
3754
3829
|
* The baseline the current value is compared against.
|
|
3755
|
-
* If omitted
|
|
3830
|
+
* If omitted or `null`, the first non-null value the source produces is captured automatically (so
|
|
3756
3831
|
* async-filled forms work without wiring). A function is evaluated once, eagerly.
|
|
3757
3832
|
*/
|
|
3758
3833
|
defaultValue?: T | (() => T);
|
|
3759
3834
|
/**
|
|
3760
|
-
*
|
|
3835
|
+
* Runs only when there are changes to discard. Defaults to the confirm set with
|
|
3836
|
+
* `provideUnsavedChangesConfirm()`; without either, dev mode throws `ET9100`.
|
|
3761
3837
|
* @see UnsavedChangesConfirmFn
|
|
3762
3838
|
*/
|
|
3763
|
-
confirm
|
|
3839
|
+
confirm?: UnsavedChangesConfirmFn<T>;
|
|
3764
3840
|
/**
|
|
3765
3841
|
* Custom equality between the current value and the default. Deep-equal by default.
|
|
3766
3842
|
*
|
|
@@ -3827,6 +3903,25 @@ type UnsavedChangesTrackerRef<T> = {
|
|
|
3827
3903
|
*/
|
|
3828
3904
|
declare const createUnsavedChangesTracker: <T>(config: CreateUnsavedChangesTrackerConfig<T>) => UnsavedChangesTrackerRef<T>;
|
|
3829
3905
|
|
|
3906
|
+
/** The confirm an unsaved-changes tracker or guard runs when its own config has none. */
|
|
3907
|
+
declare const UNSAVED_CHANGES_CONFIRM: InjectionToken<UnsavedChangesConfirmFn<unknown>>;
|
|
3908
|
+
/**
|
|
3909
|
+
* Sets the confirm every unsaved-changes tracker and guard below this injector runs when its config has no
|
|
3910
|
+
* `confirm`. `factory` runs once, in an injection context, and returns the confirm.
|
|
3911
|
+
*
|
|
3912
|
+
* @example
|
|
3913
|
+
* provideUnsavedChangesConfirm(() => {
|
|
3914
|
+
* const dialogs = inject(MyDialogs);
|
|
3915
|
+
* return () => dialogs.confirmDiscard();
|
|
3916
|
+
* });
|
|
3917
|
+
*/
|
|
3918
|
+
declare const provideUnsavedChangesConfirm: (factory: () => UnsavedChangesConfirmFn<unknown>) => Provider;
|
|
3919
|
+
|
|
3920
|
+
declare const UNSAVED_CHANGES_ERROR_CODES: {
|
|
3921
|
+
/** An unsaved-changes tracker or guard has no `confirm`, and no `provideUnsavedChangesConfirm()` is in scope. */
|
|
3922
|
+
readonly MISSING_CONFIRM: 9100;
|
|
3923
|
+
};
|
|
3924
|
+
|
|
3830
3925
|
type CreateUnsavedChangesGuardConfig<T> = CreateUnsavedChangesTrackerConfig<T>;
|
|
3831
3926
|
type UnsavedChangesGuardRef<T> = UnsavedChangesTrackerRef<T> & {
|
|
3832
3927
|
/**
|
|
@@ -3848,7 +3943,7 @@ type UnsavedChangesGuardRef<T> = UnsavedChangesTrackerRef<T> & {
|
|
|
3848
3943
|
declare const createUnsavedChangesGuard: <T>(config: CreateUnsavedChangesGuardConfig<T>) => UnsavedChangesGuardRef<T>;
|
|
3849
3944
|
|
|
3850
3945
|
/** The version of `@ethlete/core` this build was cut from. */
|
|
3851
|
-
declare const CORE_VERSION = "5.0.0-next.
|
|
3946
|
+
declare const CORE_VERSION = "5.0.0-next.63";
|
|
3852
3947
|
|
|
3853
|
-
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, MARKDOWN_VERBATIM_ATTR, 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,
|
|
3854
|
-
export type { AlternateLanguagesConfig,
|
|
3948
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, ANIMATION_ERROR_CODES, 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, MARKDOWN_VERBATIM_ATTR, 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_CONFIRM, UNSAVED_CHANGES_ERROR_CODES, UNSAVED_CHANGES_TITLE_MARKER, ValidateAtLeastOneRequired, VisuallyHiddenStylesComponent, 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, 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, injectQueryParamAll, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterNavigationState, injectRouterState, injectScrollbarDimensions, injectSemanticColorTheme, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceColorPalette, 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, isSafeLinkUrl, isSafeUrl, isStaleBuildError, markdownToHtml, matchesReducedMotion, maybeSignalValue, memoizeSignal, mountEasingTokens, mountVisuallyHidden, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, normalizeUnsavedChangesSource, numberBreakpointTransform, onOverlayViewportInsetsChange, optionalBooleanAttribute, 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, provideUnsavedChangesConfirm, provideUnsavedChangesCoordinator, provideViewportConfig, randomId, readBuildFingerprint, readFromClipboard, reserveOverlayViewportSpace, resolveAppRootColorProvider, resolveOverlayLayer, resolveSurfaceByElevation, round, routerDisableScrollTop, routerRestoreScroll, scrollToElement, 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 };
|
|
3949
|
+
export type { AlternateLanguagesConfig, AngularRenderer, AnimatedBlockSizeConfig, AnimatedIfContext, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent, AppUpdates, AppUpdatesConfig, ArticleConfig, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorPaletteBySurface, ColorPaletteConfig, 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, InjectQueryParamAllConfig, 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, OverlayRuntime, 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 };
|