@ethlete/core 5.0.0-next.7 → 5.0.0-next.9
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 +14 -0
- package/fesm2022/ethlete-core.mjs +1017 -219
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/generators/generators.json +9 -4
- package/generators/migrate-to-v5/color-naming.js +173 -0
- package/generators/migrate-to-v5/migration.js +6 -0
- package/generators/migrate-to-v5/schema.json +5 -0
- package/generators/{tailwind-4-theme → tailwind-4-color-theme}/generator.js +53 -54
- package/generators/{tailwind-4-theme → tailwind-4-color-theme}/schema.json +1 -1
- package/generators/tailwind-4-surface-theme/generator.js +368 -0
- package/generators/tailwind-4-surface-theme/schema.json +32 -0
- package/package.json +12 -11
- package/types/ethlete-core.d.ts +775 -532
package/types/ethlete-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, AfterViewInit, Signal, ComponentRef, StaticProvider, EmbeddedViewRef, ElementRef, Provider, InjectOptions, TemplateRef, QueryList, InputSignal, InputSignalWithTransform, PipeTransform, TrackByFunction, WritableSignal, DestroyRef,
|
|
2
|
+
import { InjectionToken, AfterViewInit, Signal, ComponentRef, StaticProvider, EmbeddedViewRef, ElementRef, Type, ViewContainerRef, Injector, RendererStyleFlags2, Provider, computed, InjectOptions, TemplateRef, QueryList, InputSignal, InputSignalWithTransform, PipeTransform, TrackByFunction, WritableSignal, DestroyRef, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
5
5
|
import * as _ethlete_core from '@ethlete/core';
|
|
@@ -81,11 +81,30 @@ declare class AnimatedLifecycleDirective implements AfterViewInit {
|
|
|
81
81
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedLifecycleDirective, "[etAnimatedLifecycle]", ["etAnimatedLifecycle"], { "skipNextEnter": { "alias": "skipNextEnter"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "skipNextEnter": "skipNextEnterChange"; }, never, never, true, [{ directive: typeof AnimatableDirective; inputs: {}; outputs: {}; }]>;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
declare class
|
|
84
|
+
declare class ColorInteractiveContainerDirective {
|
|
85
85
|
private styleManager;
|
|
86
86
|
constructor();
|
|
87
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
88
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<
|
|
87
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveContainerDirective, never>;
|
|
88
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveContainerDirective, "[etColorInteractiveContainer]", never, {}, {}, never, never, true, never>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare class ColorInteractiveExcludeDirective {
|
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveExcludeDirective, never>;
|
|
93
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveExcludeDirective, "[etColorInteractiveExclude]", never, {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
declare class ColorInteractiveHasFocusDirective {
|
|
97
|
+
private styleManager;
|
|
98
|
+
constructor();
|
|
99
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveHasFocusDirective, never>;
|
|
100
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveHasFocusDirective, "[etColorInteractiveHasFocus]", never, {}, {}, never, never, true, never>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class ColorInteractiveDirective {
|
|
104
|
+
private styleManager;
|
|
105
|
+
constructor();
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveDirective, never>;
|
|
107
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveDirective, "[etColorInteractive]", never, {}, {}, never, never, true, never>;
|
|
89
108
|
}
|
|
90
109
|
|
|
91
110
|
type ThemeRGBColor = `${number} ${number} ${number}`;
|
|
@@ -117,32 +136,36 @@ type ThemeSwatch = {
|
|
|
117
136
|
onColor: OnThemeColorMap;
|
|
118
137
|
inkColor?: ThemeInkColorMap;
|
|
119
138
|
};
|
|
120
|
-
type
|
|
139
|
+
type ColorThemeType = 'success' | 'warning' | 'error';
|
|
140
|
+
type ColorTheme = {
|
|
121
141
|
name: string;
|
|
142
|
+
type?: ColorThemeType;
|
|
122
143
|
isDefault?: boolean;
|
|
123
|
-
isDefaultAlt?: boolean;
|
|
124
144
|
primary: ThemeSwatch;
|
|
125
145
|
secondary?: ThemeSwatch;
|
|
126
146
|
tertiary?: ThemeSwatch;
|
|
127
147
|
};
|
|
128
|
-
declare const
|
|
129
|
-
declare const ɵProvideColorThemes: (valueOverride?: (
|
|
148
|
+
declare const createCssColorThemeName: (name: string) => string;
|
|
149
|
+
declare const ɵProvideColorThemes: (valueOverride?: (ColorTheme | undefined)[] | undefined) => _angular_core.Provider[];
|
|
130
150
|
declare const injectColorThemes: {
|
|
131
|
-
():
|
|
151
|
+
(): ColorTheme[];
|
|
132
152
|
(options: _angular_core.InjectOptions & {
|
|
133
153
|
optional?: false;
|
|
134
|
-
}):
|
|
135
|
-
(options: _angular_core.InjectOptions):
|
|
154
|
+
}): ColorTheme[];
|
|
155
|
+
(options: _angular_core.InjectOptions): ColorTheme[] | null;
|
|
136
156
|
};
|
|
137
|
-
declare const
|
|
138
|
-
declare const
|
|
157
|
+
declare const ɵProvideColorThemesPrefix: (valueOverride?: string | undefined) => _angular_core.Provider[];
|
|
158
|
+
declare const injectColorThemesPrefix: {
|
|
139
159
|
(): string;
|
|
140
160
|
(options: _angular_core.InjectOptions & {
|
|
141
161
|
optional?: false;
|
|
142
162
|
}): string;
|
|
143
163
|
(options: _angular_core.InjectOptions): string | null;
|
|
144
164
|
};
|
|
145
|
-
declare const provideColorThemesWithTailwind4: (themes:
|
|
165
|
+
declare const provideColorThemesWithTailwind4: (themes: ColorTheme[], prefix?: string) => _angular_core.Provider[][];
|
|
166
|
+
declare const injectErrorTheme: () => ColorTheme;
|
|
167
|
+
declare const injectWarningTheme: () => ColorTheme;
|
|
168
|
+
declare const injectSuccessTheme: () => ColorTheme;
|
|
146
169
|
|
|
147
170
|
/**
|
|
148
171
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
@@ -151,11 +174,11 @@ declare const createSwatchCss: (swatch: string, isAlt: boolean, data: ThemeSwatc
|
|
|
151
174
|
/**
|
|
152
175
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
153
176
|
*/
|
|
154
|
-
declare const createRootThemeCss: (themes:
|
|
177
|
+
declare const createRootThemeCss: (themes: ColorTheme[]) => void;
|
|
155
178
|
/**
|
|
156
179
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
157
180
|
*/
|
|
158
|
-
declare const createThemeStyle: (theme:
|
|
181
|
+
declare const createThemeStyle: (theme: ColorTheme, isAlt: boolean) => void;
|
|
159
182
|
/**
|
|
160
183
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
161
184
|
*/
|
|
@@ -167,7 +190,7 @@ declare const createTailwindRgbVar: (val: string | undefined) => string | null;
|
|
|
167
190
|
/**
|
|
168
191
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
169
192
|
*/
|
|
170
|
-
declare const createTailwindColorThemes: (themes:
|
|
193
|
+
declare const createTailwindColorThemes: (themes: ColorTheme[], prefix?: string) => Record<string, {
|
|
171
194
|
DEFAULT: string;
|
|
172
195
|
hover: string;
|
|
173
196
|
focus: string;
|
|
@@ -177,34 +200,133 @@ declare const createTailwindColorThemes: (themes: Theme[], prefix?: string) => R
|
|
|
177
200
|
/**
|
|
178
201
|
* @deprecated Use provideColorThemesWithTailwind4 instead after migrating to Tailwind CSS v4. Intent to remove in v6.
|
|
179
202
|
*/
|
|
180
|
-
declare const provideColorThemes: (themes:
|
|
203
|
+
declare const provideColorThemes: (themes: ColorTheme[]) => _angular_core.Provider[][];
|
|
181
204
|
|
|
182
|
-
declare const
|
|
183
|
-
declare class
|
|
205
|
+
declare const COLOR_PROVIDER: InjectionToken<ProvideColorDirective>;
|
|
206
|
+
declare class ProvideColorDirective {
|
|
184
207
|
private themes;
|
|
185
208
|
private prefix;
|
|
186
209
|
private injector;
|
|
187
210
|
private currentProviderSync;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
211
|
+
private forcedColor;
|
|
212
|
+
color: _angular_core.InputSignal<string | ColorTheme | null | undefined>;
|
|
213
|
+
effectiveColor: _angular_core.Signal<string | ColorTheme | null | undefined>;
|
|
214
|
+
colorName: _angular_core.Signal<string | undefined>;
|
|
192
215
|
protected themeClass: _angular_core.Signal<string>;
|
|
193
|
-
syncWithProvider(provider:
|
|
216
|
+
syncWithProvider(provider: ProvideColorDirective): void;
|
|
217
|
+
stopSyncWithProvider(): void;
|
|
218
|
+
/** @internal */
|
|
219
|
+
forceColor(color: string | ColorTheme | null): void;
|
|
220
|
+
/** @internal */
|
|
221
|
+
clearForcedColor(): void;
|
|
222
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProvideColorDirective, never>;
|
|
223
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ProvideColorDirective, "[etProvideColor]", never, { "color": { "alias": "etProvideColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare const SURFACE_TYPE: {
|
|
227
|
+
readonly LIGHT: "light";
|
|
228
|
+
readonly DARK: "dark";
|
|
229
|
+
};
|
|
230
|
+
type SurfaceType = (typeof SURFACE_TYPE)[keyof typeof SURFACE_TYPE];
|
|
231
|
+
type SurfaceThemeColor = `${number} ${number} ${number}`;
|
|
232
|
+
type SurfaceInteractionColor = {
|
|
233
|
+
default: SurfaceThemeColor;
|
|
234
|
+
hover: SurfaceThemeColor;
|
|
235
|
+
focus: SurfaceThemeColor;
|
|
236
|
+
active: SurfaceThemeColor;
|
|
237
|
+
disabled: SurfaceThemeColor;
|
|
238
|
+
};
|
|
239
|
+
type SurfaceTheme = {
|
|
240
|
+
name: string;
|
|
241
|
+
type: SurfaceType;
|
|
242
|
+
elevation: number;
|
|
243
|
+
isDefault?: boolean;
|
|
244
|
+
interactionColor?: SurfaceInteractionColor;
|
|
245
|
+
background: SurfaceThemeColor;
|
|
246
|
+
color: SurfaceThemeColor;
|
|
247
|
+
colorMuted: SurfaceThemeColor;
|
|
248
|
+
colorSubtle: SurfaceThemeColor;
|
|
249
|
+
border: SurfaceThemeColor;
|
|
250
|
+
};
|
|
251
|
+
declare const createCssSurfaceName: (name: string) => string;
|
|
252
|
+
declare const resolveSurfaceByElevation: (themes: SurfaceTheme[], type: SurfaceType, elevation: number) => SurfaceTheme | null;
|
|
253
|
+
declare const ɵProvideSurfaceThemes: (valueOverride?: (SurfaceTheme | undefined)[] | undefined) => _angular_core.Provider[];
|
|
254
|
+
declare const injectSurfaceThemes: {
|
|
255
|
+
(): SurfaceTheme[];
|
|
256
|
+
(options: _angular_core.InjectOptions & {
|
|
257
|
+
optional?: false;
|
|
258
|
+
}): SurfaceTheme[];
|
|
259
|
+
(options: _angular_core.InjectOptions): SurfaceTheme[] | null;
|
|
260
|
+
};
|
|
261
|
+
declare const ɵProvideSurfaceThemesPrefix: (valueOverride?: string | undefined) => _angular_core.Provider[];
|
|
262
|
+
declare const injectSurfaceThemesPrefix: {
|
|
263
|
+
(): string;
|
|
264
|
+
(options: _angular_core.InjectOptions & {
|
|
265
|
+
optional?: false;
|
|
266
|
+
}): string;
|
|
267
|
+
(options: _angular_core.InjectOptions): string | null;
|
|
268
|
+
};
|
|
269
|
+
declare const provideSurfaceThemesWithTailwind4: (themes: SurfaceTheme[], prefix?: string) => _angular_core.Provider[][];
|
|
270
|
+
|
|
271
|
+
declare const SURFACE_PROVIDER: InjectionToken<ProvideSurfaceDirective>;
|
|
272
|
+
declare class ProvideSurfaceDirective {
|
|
273
|
+
private themes;
|
|
274
|
+
private prefix;
|
|
275
|
+
private injector;
|
|
276
|
+
private currentProviderSync;
|
|
277
|
+
private forcedSurface;
|
|
278
|
+
surface: _angular_core.InputSignal<string | null | undefined>;
|
|
279
|
+
effectiveSurface: _angular_core.Signal<string | null | undefined>;
|
|
280
|
+
resolvedTheme: _angular_core.Signal<SurfaceTheme | null>;
|
|
281
|
+
elevation: _angular_core.Signal<number>;
|
|
282
|
+
surfaceType: _angular_core.Signal<_ethlete_core.SurfaceType | null>;
|
|
283
|
+
surfaceName: _angular_core.Signal<string | undefined>;
|
|
284
|
+
protected surfaceClass: _angular_core.Signal<string>;
|
|
285
|
+
syncWithProvider(provider: ProvideSurfaceDirective): void;
|
|
194
286
|
stopSyncWithProvider(): void;
|
|
195
|
-
|
|
196
|
-
|
|
287
|
+
/** @internal */
|
|
288
|
+
forceSurface(surface: string | null): void;
|
|
289
|
+
/** @internal */
|
|
290
|
+
clearForcedSurface(): void;
|
|
291
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProvideSurfaceDirective, never>;
|
|
292
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ProvideSurfaceDirective, "[etProvideSurface]", never, { "surface": { "alias": "etProvideSurface"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
type SurfaceContextEntry = {
|
|
296
|
+
id: string;
|
|
297
|
+
type: SurfaceType;
|
|
298
|
+
elevation: number;
|
|
299
|
+
};
|
|
300
|
+
type SurfaceContextTracker = {
|
|
301
|
+
topType: Signal<SurfaceType | null>;
|
|
302
|
+
topElevation: Signal<number>;
|
|
303
|
+
register: (type: SurfaceType, elevation: number) => () => void;
|
|
304
|
+
};
|
|
305
|
+
declare const provideSurfaceContextTracker: () => _angular_core.Provider[];
|
|
306
|
+
declare const injectSurfaceContextTracker: {
|
|
307
|
+
(): SurfaceContextTracker;
|
|
308
|
+
(options: _angular_core.InjectOptions & {
|
|
309
|
+
optional?: false;
|
|
310
|
+
}): SurfaceContextTracker;
|
|
311
|
+
(options: _angular_core.InjectOptions): SurfaceContextTracker | null;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
declare class SurfaceInteractiveDirective {
|
|
315
|
+
private styleManager;
|
|
316
|
+
constructor();
|
|
317
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SurfaceInteractiveDirective, never>;
|
|
318
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SurfaceInteractiveDirective, "[etSurfaceInteractive]", never, {}, {}, never, never, true, never>;
|
|
197
319
|
}
|
|
198
320
|
|
|
199
321
|
type AnimatedOverlayComponentBase = {
|
|
200
322
|
animatedLifecycle: Signal<AnimatedLifecycleDirective | undefined>;
|
|
201
|
-
|
|
323
|
+
setColorFromProvider: (provider: ProvideColorDirective) => void;
|
|
202
324
|
};
|
|
203
325
|
type AnimatedOverlayMountConfig<T> = {
|
|
204
326
|
component: ComponentType<T>;
|
|
205
327
|
providers?: StaticProvider[];
|
|
206
328
|
data?: Partial<T>;
|
|
207
|
-
|
|
329
|
+
colorProvider?: ProvideColorDirective | null;
|
|
208
330
|
};
|
|
209
331
|
type AnimatedOverlayState = 'init' | 'mounting' | 'mounted' | 'unmounting' | 'unmounted';
|
|
210
332
|
declare class AnimatedOverlayDirective<T extends AnimatedOverlayComponentBase> {
|
|
@@ -255,7 +377,7 @@ declare class AnimatedOverlayDirective<T extends AnimatedOverlayComponentBase> {
|
|
|
255
377
|
mount(config: AnimatedOverlayMountConfig<T>): T | undefined;
|
|
256
378
|
unmount(): void;
|
|
257
379
|
private applyComponentData;
|
|
258
|
-
private
|
|
380
|
+
private applyColorProvider;
|
|
259
381
|
private updateOverlaySize;
|
|
260
382
|
private setupFloatingUI;
|
|
261
383
|
private getFloatingArrow;
|
|
@@ -404,131 +526,527 @@ declare class DragHandleDirective {
|
|
|
404
526
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DragHandleDirective, "[etDragHandle]", never, { "commitThreshold": { "alias": "commitThreshold"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "dragTapped": "dragTapped"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; }, never, never, true, never>;
|
|
405
527
|
}
|
|
406
528
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
529
|
+
type OverlayRuntimeRole = 'dialog' | 'alertdialog';
|
|
530
|
+
type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
|
|
531
|
+
type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer';
|
|
532
|
+
type OverlayRuntimeCenteredPosition = {
|
|
533
|
+
kind: 'center';
|
|
534
|
+
};
|
|
535
|
+
type OverlayRuntimeAnchoredPosition = {
|
|
536
|
+
kind: 'anchored';
|
|
537
|
+
referenceElement: HTMLElement;
|
|
538
|
+
placement?: Placement;
|
|
539
|
+
fallbackPlacements?: Placement[];
|
|
540
|
+
offset?: OffsetOptions | null;
|
|
541
|
+
arrowPadding?: Padding | null;
|
|
542
|
+
viewportPadding?: Padding | null;
|
|
543
|
+
autoResize?: boolean;
|
|
544
|
+
shift?: boolean;
|
|
545
|
+
autoHide?: boolean;
|
|
546
|
+
autoCloseIfReferenceHidden?: boolean;
|
|
547
|
+
mirrorWidth?: boolean;
|
|
548
|
+
};
|
|
549
|
+
type OverlayRuntimePositionStrategy = OverlayRuntimeCenteredPosition | OverlayRuntimeAnchoredPosition;
|
|
550
|
+
type OverlayRuntimeElements = {
|
|
551
|
+
rootElement: HTMLElement;
|
|
552
|
+
hostElement: HTMLElement;
|
|
553
|
+
backdropElement: HTMLElement | null;
|
|
554
|
+
paneElement: HTMLElement;
|
|
555
|
+
};
|
|
556
|
+
type OverlayRuntimeCloseEvent<TResult = unknown> = {
|
|
557
|
+
result: TResult | undefined;
|
|
558
|
+
source: OverlayRuntimeCloseSource;
|
|
559
|
+
};
|
|
560
|
+
type OverlayRuntimeComponentBase = {
|
|
561
|
+
animatedLifecycle?: Signal<AnimatedLifecycleDirective | undefined>;
|
|
562
|
+
};
|
|
563
|
+
type OverlayRuntimeMountConfig<TComponent extends object> = {
|
|
564
|
+
id: string;
|
|
565
|
+
component: Type<TComponent>;
|
|
566
|
+
viewContainerRef?: ViewContainerRef;
|
|
567
|
+
injector?: Injector;
|
|
568
|
+
providers?: StaticProvider[];
|
|
569
|
+
role?: OverlayRuntimeRole;
|
|
570
|
+
positionStrategy?: OverlayRuntimePositionStrategy;
|
|
571
|
+
hasBackdrop?: boolean;
|
|
572
|
+
modal?: boolean;
|
|
573
|
+
autoFocus?: OverlayRuntimeAutoFocusTarget | string | false;
|
|
574
|
+
restoreFocus?: boolean;
|
|
575
|
+
closeOnEscape?: boolean;
|
|
576
|
+
closeOnOutsidePointer?: boolean;
|
|
577
|
+
ariaDescribedBy?: string | null;
|
|
578
|
+
ariaLabelledBy?: string | null;
|
|
579
|
+
ariaLabel?: string | null;
|
|
580
|
+
hostClass?: string[];
|
|
581
|
+
backdropClass?: string[];
|
|
582
|
+
paneClass?: string[];
|
|
583
|
+
inputBindings?: Record<string, unknown>;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
type OverlayRuntimeState = 'mounting' | 'mounted' | 'closing' | 'closed';
|
|
587
|
+
declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unknown>(id: string, config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">, elements: OverlayRuntimeElements, requestClose: (result: TResult | undefined, source: OverlayRuntimeCloseSource) => void) => {
|
|
588
|
+
id: string;
|
|
589
|
+
config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">;
|
|
590
|
+
elements: OverlayRuntimeElements;
|
|
591
|
+
state: _angular_core.Signal<OverlayRuntimeState>;
|
|
592
|
+
componentInstance: _angular_core.Signal<TComponent | null>;
|
|
593
|
+
beforeOpenedSubject: Subject<void>;
|
|
594
|
+
close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
|
|
595
|
+
beforeOpened(): Observable<void>;
|
|
596
|
+
afterOpened(): Observable<void>;
|
|
597
|
+
beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
598
|
+
afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
|
|
599
|
+
attachComponentRef(componentRef: ComponentRef<TComponent>): void;
|
|
600
|
+
markOpened(): void;
|
|
601
|
+
beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
|
|
602
|
+
finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
|
|
603
|
+
};
|
|
604
|
+
type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRuntimeRef<TComponent, TResult>>;
|
|
605
|
+
|
|
606
|
+
declare const FOCUSABLE_SELECTOR: string;
|
|
607
|
+
declare const isHTMLElement: (value: unknown) => value is HTMLElement;
|
|
608
|
+
declare const isFocusable: (element: HTMLElement, document: Document) => boolean;
|
|
609
|
+
declare const getFocusableElements: (container: HTMLElement, document: Document) => HTMLElement[];
|
|
610
|
+
declare const getHeadingElement: (container: HTMLElement) => HTMLElement | null;
|
|
611
|
+
declare const focusElement: (element: HTMLElement | null) => void;
|
|
612
|
+
declare const applyInitialFocus: (paneElement: HTMLElement, autoFocus: OverlayRuntimeAutoFocusTarget | string | false, document: Document) => void;
|
|
613
|
+
declare const setupFocusTrap: (paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, enabled: boolean, isTopMost: (ref: OverlayRuntimeRef<object, unknown>) => boolean, document: Document) => () => void;
|
|
410
614
|
|
|
411
|
-
declare const
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
*/
|
|
418
|
-
name?: string;
|
|
419
|
-
/**
|
|
420
|
-
* Optional existing InjectionToken to also provide the created provider under.
|
|
421
|
-
*/
|
|
422
|
-
extraInjectionToken?: InjectionToken<unknown>;
|
|
615
|
+
declare const injectAngularRootElement: {
|
|
616
|
+
(): _angular_core.WritableSignal<HTMLElement | null>;
|
|
617
|
+
(options: _angular_core.InjectOptions & {
|
|
618
|
+
optional?: false;
|
|
619
|
+
}): _angular_core.WritableSignal<HTMLElement | null>;
|
|
620
|
+
(options: _angular_core.InjectOptions): _angular_core.WritableSignal<HTMLElement | null> | null;
|
|
423
621
|
};
|
|
424
|
-
type ProviderResult<T> = readonly [
|
|
425
|
-
provide: () => Provider[],
|
|
426
|
-
inject: {
|
|
427
|
-
(): T;
|
|
428
|
-
(options: InjectOptions & {
|
|
429
|
-
optional?: false;
|
|
430
|
-
}): T;
|
|
431
|
-
(options: InjectOptions): T | null;
|
|
432
|
-
},
|
|
433
|
-
token: InjectionToken<T>
|
|
434
|
-
];
|
|
435
|
-
type StaticProviderResult<T> = readonly [
|
|
436
|
-
provide: (valueOverride?: Partial<T>) => Provider[],
|
|
437
|
-
inject: {
|
|
438
|
-
(): T;
|
|
439
|
-
(options: InjectOptions & {
|
|
440
|
-
optional?: false;
|
|
441
|
-
}): T;
|
|
442
|
-
(options: InjectOptions): T | null;
|
|
443
|
-
},
|
|
444
|
-
token: InjectionToken<T>
|
|
445
|
-
];
|
|
446
|
-
type RootProviderResult<T> = readonly [
|
|
447
|
-
inject: {
|
|
448
|
-
(): T;
|
|
449
|
-
(options: InjectOptions & {
|
|
450
|
-
optional?: false;
|
|
451
|
-
}): T;
|
|
452
|
-
(options: InjectOptions): T | null;
|
|
453
|
-
},
|
|
454
|
-
token: InjectionToken<T>
|
|
455
|
-
];
|
|
456
|
-
declare const createProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
457
|
-
declare const createRootProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
458
|
-
declare const createStaticProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
459
|
-
declare const createStaticRootProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
460
|
-
|
|
461
|
-
declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
|
|
462
|
-
declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
|
|
463
|
-
|
|
464
|
-
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: EventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
|
|
465
|
-
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: EventListenerOptions) => rxjs.Subscription;
|
|
466
|
-
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: EventListenerOptions) => void;
|
|
467
622
|
|
|
468
|
-
declare
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
623
|
+
declare const provideBoundaryElement: () => _angular_core.Provider[];
|
|
624
|
+
declare const injectBoundaryElement: {
|
|
625
|
+
(): {
|
|
626
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
627
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
628
|
+
};
|
|
629
|
+
(options: _angular_core.InjectOptions & {
|
|
630
|
+
optional?: false;
|
|
631
|
+
}): {
|
|
632
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
633
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
634
|
+
};
|
|
635
|
+
(options: _angular_core.InjectOptions): {
|
|
636
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
637
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
638
|
+
} | null;
|
|
639
|
+
};
|
|
640
|
+
declare const BOUNDARY_ELEMENT_TOKEN: _angular_core.InjectionToken<{
|
|
641
|
+
value: _angular_core.Signal<HTMLElement>;
|
|
642
|
+
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
643
|
+
}>;
|
|
472
644
|
|
|
645
|
+
type Vec2 = [number, number];
|
|
646
|
+
type ViewportConfig = {
|
|
647
|
+
breakpoints: {
|
|
648
|
+
xs: Vec2;
|
|
649
|
+
sm: Vec2;
|
|
650
|
+
md: Vec2;
|
|
651
|
+
lg: Vec2;
|
|
652
|
+
xl: Vec2;
|
|
653
|
+
'2xl': Vec2;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
type Breakpoint = keyof ViewportConfig['breakpoints'];
|
|
657
|
+
declare const BREAKPOINT_ORDER: Breakpoint[];
|
|
473
658
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
659
|
+
* Default viewport config based on Tailwind CSS.
|
|
660
|
+
* @see https://tailwindcss.com/docs/screens
|
|
476
661
|
*/
|
|
477
|
-
declare const
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Keys of form controls to validate in the supplied form group
|
|
487
|
-
*/
|
|
488
|
-
keys: string[];
|
|
489
|
-
/**
|
|
490
|
-
* If true, the value `false` will result in a validation error
|
|
491
|
-
* @default false
|
|
492
|
-
*/
|
|
493
|
-
checkFalse?: boolean;
|
|
662
|
+
declare const DEFAULT_VIEWPORT_CONFIG: ViewportConfig;
|
|
663
|
+
declare const provideViewportConfig: (valueOverride?: Partial<ViewportConfig> | undefined) => _angular_core.Provider[];
|
|
664
|
+
declare const injectViewportConfig: {
|
|
665
|
+
(): ViewportConfig;
|
|
666
|
+
(options: _angular_core.InjectOptions & {
|
|
667
|
+
optional?: false;
|
|
668
|
+
}): ViewportConfig;
|
|
669
|
+
(options: _angular_core.InjectOptions): ViewportConfig | null;
|
|
494
670
|
};
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
declare const
|
|
500
|
-
declare const
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
671
|
+
type BuildMediaQueryOptions = {
|
|
672
|
+
min?: number | Breakpoint;
|
|
673
|
+
max?: number | Breakpoint;
|
|
674
|
+
};
|
|
675
|
+
declare const provideBreakpointObserver: () => _angular_core.Provider[];
|
|
676
|
+
declare const injectBreakpointObserver: {
|
|
677
|
+
(): {
|
|
678
|
+
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
679
|
+
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
680
|
+
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
681
|
+
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
682
|
+
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
683
|
+
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
684
|
+
};
|
|
685
|
+
(options: _angular_core.InjectOptions & {
|
|
686
|
+
optional?: false;
|
|
687
|
+
}): {
|
|
688
|
+
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
689
|
+
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
690
|
+
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
691
|
+
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
692
|
+
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
693
|
+
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
694
|
+
};
|
|
695
|
+
(options: _angular_core.InjectOptions): {
|
|
696
|
+
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
697
|
+
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
698
|
+
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
699
|
+
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
700
|
+
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
701
|
+
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
507
702
|
} | null;
|
|
508
|
-
readonly IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
509
|
-
readonly IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
510
|
-
readonly ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
511
703
|
};
|
|
512
704
|
|
|
513
|
-
declare const
|
|
514
|
-
declare const
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
705
|
+
declare const provideFocusVisibleTracker: () => _angular_core.Provider[];
|
|
706
|
+
declare const injectFocusVisibleTracker: {
|
|
707
|
+
(): {
|
|
708
|
+
isFocusVisible: _angular_core.Signal<boolean>;
|
|
709
|
+
};
|
|
710
|
+
(options: _angular_core.InjectOptions & {
|
|
711
|
+
optional?: false;
|
|
712
|
+
}): {
|
|
713
|
+
isFocusVisible: _angular_core.Signal<boolean>;
|
|
714
|
+
};
|
|
715
|
+
(options: _angular_core.InjectOptions): {
|
|
716
|
+
isFocusVisible: _angular_core.Signal<boolean>;
|
|
717
|
+
} | null;
|
|
525
718
|
};
|
|
719
|
+
declare const FOCUS_VISIBLE_TRACKER_TOKEN: _angular_core.InjectionToken<{
|
|
720
|
+
isFocusVisible: _angular_core.Signal<boolean>;
|
|
721
|
+
}>;
|
|
526
722
|
|
|
527
|
-
declare
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
723
|
+
declare const provideLocale: () => _angular_core.Provider[];
|
|
724
|
+
declare const injectLocale: {
|
|
725
|
+
(): {
|
|
726
|
+
currentLocale: _angular_core.WritableSignal<string>;
|
|
727
|
+
};
|
|
728
|
+
(options: _angular_core.InjectOptions & {
|
|
729
|
+
optional?: false;
|
|
730
|
+
}): {
|
|
731
|
+
currentLocale: _angular_core.WritableSignal<string>;
|
|
732
|
+
};
|
|
733
|
+
(options: _angular_core.InjectOptions): {
|
|
734
|
+
currentLocale: _angular_core.WritableSignal<string>;
|
|
735
|
+
} | null;
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
declare const provideRenderer: () => _angular_core.Provider[];
|
|
739
|
+
declare const injectRenderer: {
|
|
740
|
+
(): {
|
|
741
|
+
addClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
742
|
+
removeClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
743
|
+
toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
|
|
744
|
+
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
745
|
+
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
746
|
+
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
747
|
+
setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
|
|
748
|
+
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
749
|
+
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
750
|
+
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
751
|
+
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
752
|
+
createText: (value: string) => Text;
|
|
753
|
+
createComment: (value: string) => Comment;
|
|
754
|
+
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
755
|
+
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
756
|
+
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
757
|
+
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
758
|
+
parentNode: (node: Node) => Node | null;
|
|
759
|
+
nextSibling: (node: Node) => Node | null;
|
|
760
|
+
setValue: (node: Node, value: string) => void;
|
|
761
|
+
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
762
|
+
destroyNode: (node: Node) => void;
|
|
763
|
+
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
764
|
+
empty: (element: HTMLElement) => void;
|
|
765
|
+
setTextContent: (element: HTMLElement, text: string) => void;
|
|
766
|
+
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
767
|
+
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
768
|
+
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
769
|
+
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
770
|
+
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
771
|
+
moveBefore: (config: {
|
|
772
|
+
newParent: HTMLElement;
|
|
773
|
+
child: HTMLElement;
|
|
774
|
+
before?: Node | null;
|
|
775
|
+
}) => void;
|
|
776
|
+
renderer: _angular_core.Renderer2;
|
|
777
|
+
};
|
|
778
|
+
(options: _angular_core.InjectOptions & {
|
|
779
|
+
optional?: false;
|
|
780
|
+
}): {
|
|
781
|
+
addClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
782
|
+
removeClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
783
|
+
toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
|
|
784
|
+
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
785
|
+
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
786
|
+
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
787
|
+
setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
|
|
788
|
+
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
789
|
+
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
790
|
+
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
791
|
+
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
792
|
+
createText: (value: string) => Text;
|
|
793
|
+
createComment: (value: string) => Comment;
|
|
794
|
+
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
795
|
+
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
796
|
+
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
797
|
+
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
798
|
+
parentNode: (node: Node) => Node | null;
|
|
799
|
+
nextSibling: (node: Node) => Node | null;
|
|
800
|
+
setValue: (node: Node, value: string) => void;
|
|
801
|
+
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
802
|
+
destroyNode: (node: Node) => void;
|
|
803
|
+
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
804
|
+
empty: (element: HTMLElement) => void;
|
|
805
|
+
setTextContent: (element: HTMLElement, text: string) => void;
|
|
806
|
+
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
807
|
+
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
808
|
+
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
809
|
+
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
810
|
+
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
811
|
+
moveBefore: (config: {
|
|
812
|
+
newParent: HTMLElement;
|
|
813
|
+
child: HTMLElement;
|
|
814
|
+
before?: Node | null;
|
|
815
|
+
}) => void;
|
|
816
|
+
renderer: _angular_core.Renderer2;
|
|
817
|
+
};
|
|
818
|
+
(options: _angular_core.InjectOptions): {
|
|
819
|
+
addClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
820
|
+
removeClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
821
|
+
toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
|
|
822
|
+
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
823
|
+
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
824
|
+
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
825
|
+
setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
|
|
826
|
+
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
827
|
+
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
828
|
+
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
829
|
+
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
830
|
+
createText: (value: string) => Text;
|
|
831
|
+
createComment: (value: string) => Comment;
|
|
832
|
+
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
833
|
+
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
834
|
+
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
835
|
+
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
836
|
+
parentNode: (node: Node) => Node | null;
|
|
837
|
+
nextSibling: (node: Node) => Node | null;
|
|
838
|
+
setValue: (node: Node, value: string) => void;
|
|
839
|
+
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
840
|
+
destroyNode: (node: Node) => void;
|
|
841
|
+
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
842
|
+
empty: (element: HTMLElement) => void;
|
|
843
|
+
setTextContent: (element: HTMLElement, text: string) => void;
|
|
844
|
+
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
845
|
+
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
846
|
+
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
847
|
+
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
848
|
+
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
849
|
+
moveBefore: (config: {
|
|
850
|
+
newParent: HTMLElement;
|
|
851
|
+
child: HTMLElement;
|
|
852
|
+
before?: Node | null;
|
|
853
|
+
}) => void;
|
|
854
|
+
renderer: _angular_core.Renderer2;
|
|
855
|
+
} | null;
|
|
856
|
+
};
|
|
857
|
+
type AngularRenderer = NonNullable<ReturnType<typeof injectRenderer>>;
|
|
858
|
+
|
|
859
|
+
type StyleManager = {
|
|
860
|
+
mount: <TComponent>(component: Type<TComponent>) => ComponentRef<TComponent>;
|
|
861
|
+
};
|
|
862
|
+
declare const provideStyleManager: () => _angular_core.Provider[];
|
|
863
|
+
declare const injectStyleManager: {
|
|
864
|
+
(): StyleManager;
|
|
865
|
+
(options: _angular_core.InjectOptions & {
|
|
866
|
+
optional?: false;
|
|
867
|
+
}): StyleManager;
|
|
868
|
+
(options: _angular_core.InjectOptions): StyleManager | null;
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
interface ConsentHandler {
|
|
872
|
+
/** Signal that is `true` when consent has been granted. */
|
|
873
|
+
isGranted: Signal<boolean>;
|
|
874
|
+
/** Grants consent and writes the decision back to the source. */
|
|
875
|
+
grant: () => void;
|
|
876
|
+
/** Revokes consent and writes the decision back to the source. */
|
|
877
|
+
revoke?: () => void;
|
|
878
|
+
}
|
|
879
|
+
type CreateUserConsentProviderOptions = {
|
|
880
|
+
/** The provider result returned by `createStaticProvider` that this consent provider should be associated with. */
|
|
881
|
+
for: InjectionToken<ConsentHandler | null>;
|
|
882
|
+
/**
|
|
883
|
+
* Factory executed inside the injection context that returns a `Signal<boolean>`.
|
|
884
|
+
*
|
|
885
|
+
* @example
|
|
886
|
+
* isGranted: () => inject(CookieService).hasMediaConsent
|
|
887
|
+
*/
|
|
888
|
+
isGranted: () => Signal<boolean>;
|
|
889
|
+
/**
|
|
890
|
+
* Factory executed inside the injection context that returns the grant function.
|
|
891
|
+
*
|
|
892
|
+
* @example
|
|
893
|
+
* grant: () => () => inject(CookieService).acceptAll()
|
|
894
|
+
*/
|
|
895
|
+
grant: () => () => void;
|
|
896
|
+
/**
|
|
897
|
+
* Factory executed inside the injection context that returns the revoke function.
|
|
898
|
+
*
|
|
899
|
+
* @example
|
|
900
|
+
* revoke : () => () => inject(CookieService).revokeAll()
|
|
901
|
+
*/
|
|
902
|
+
revoke?: () => () => void;
|
|
903
|
+
};
|
|
904
|
+
declare const createUserConsentProvider: (options: CreateUserConsentProviderOptions) => Provider;
|
|
905
|
+
|
|
906
|
+
declare const setBaseElementStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
907
|
+
declare const setBackdropStyles: (backdropElement: HTMLElement, renderer: AngularRenderer) => void;
|
|
908
|
+
declare const applyCenteredPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, _config: OverlayRuntimeCenteredPosition) => void;
|
|
909
|
+
declare const createAnchoredPositionCleanup: (strategy: OverlayRuntimeAnchoredPosition, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
910
|
+
declare const setupPositioning: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
|
|
911
|
+
|
|
912
|
+
type OverlayRuntime = {
|
|
913
|
+
mount: <TComponent extends object, TResult = unknown>(config: OverlayRuntimeMountConfig<TComponent>) => OverlayRuntimeRef<TComponent, TResult>;
|
|
914
|
+
openEntries: ReturnType<typeof computed<OverlayRuntimeRef<object, unknown>[]>>;
|
|
915
|
+
};
|
|
916
|
+
declare const provideOverlayRuntime: () => _angular_core.Provider[];
|
|
917
|
+
declare const injectOverlayRuntime: {
|
|
918
|
+
(): OverlayRuntime;
|
|
919
|
+
(options: _angular_core.InjectOptions & {
|
|
920
|
+
optional?: false;
|
|
921
|
+
}): OverlayRuntime;
|
|
922
|
+
(options: _angular_core.InjectOptions): OverlayRuntime | null;
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
declare const createComponentId: (prefix: string) => string;
|
|
926
|
+
|
|
927
|
+
declare const createDestroy: () => rxjs.Observable<boolean>;
|
|
928
|
+
|
|
929
|
+
declare const injectHostElement: <T = HTMLElement>() => T;
|
|
930
|
+
declare const injectTemplateRef: <C = unknown>() => TemplateRef<C>;
|
|
931
|
+
type CreateProviderOptions = {
|
|
932
|
+
/**
|
|
933
|
+
* Optional name for the provider, useful for debugging.
|
|
934
|
+
* If not provided, the name will be a generated string.
|
|
935
|
+
*/
|
|
936
|
+
name?: string;
|
|
937
|
+
/**
|
|
938
|
+
* Optional existing InjectionToken to also provide the created provider under.
|
|
939
|
+
*/
|
|
940
|
+
extraInjectionToken?: InjectionToken<unknown>;
|
|
941
|
+
};
|
|
942
|
+
type ProviderResult<T> = readonly [
|
|
943
|
+
provide: () => Provider[],
|
|
944
|
+
inject: {
|
|
945
|
+
(): T;
|
|
946
|
+
(options: InjectOptions & {
|
|
947
|
+
optional?: false;
|
|
948
|
+
}): T;
|
|
949
|
+
(options: InjectOptions): T | null;
|
|
950
|
+
},
|
|
951
|
+
token: InjectionToken<T>
|
|
952
|
+
];
|
|
953
|
+
type StaticProviderResult<T> = readonly [
|
|
954
|
+
provide: (valueOverride?: Partial<T>) => Provider[],
|
|
955
|
+
inject: {
|
|
956
|
+
(): T;
|
|
957
|
+
(options: InjectOptions & {
|
|
958
|
+
optional?: false;
|
|
959
|
+
}): T;
|
|
960
|
+
(options: InjectOptions): T | null;
|
|
961
|
+
},
|
|
962
|
+
token: InjectionToken<T>
|
|
963
|
+
];
|
|
964
|
+
type RootProviderResult<T> = readonly [
|
|
965
|
+
inject: {
|
|
966
|
+
(): T;
|
|
967
|
+
(options: InjectOptions & {
|
|
968
|
+
optional?: false;
|
|
969
|
+
}): T;
|
|
970
|
+
(options: InjectOptions): T | null;
|
|
971
|
+
},
|
|
972
|
+
token: InjectionToken<T>
|
|
973
|
+
];
|
|
974
|
+
declare const createProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
975
|
+
declare const createRootProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
|
|
976
|
+
declare const createStaticProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
977
|
+
declare const createStaticRootProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
|
|
978
|
+
|
|
979
|
+
declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
|
|
980
|
+
declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
|
|
981
|
+
|
|
982
|
+
declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: EventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
|
|
983
|
+
declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: EventListenerOptions) => rxjs.Subscription;
|
|
984
|
+
declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: EventListenerOptions) => void;
|
|
985
|
+
|
|
986
|
+
declare class TypedQueryList<T> extends QueryList<T> {
|
|
987
|
+
get changes(): Observable<TypedQueryList<T>>;
|
|
988
|
+
}
|
|
989
|
+
declare function switchQueryListChanges(): <T extends TypedQueryList<unknown> | null | undefined>(source: Observable<T>) => Observable<T>;
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Sets the value of an input signal.
|
|
993
|
+
* See issue: https://github.com/angular/angular/issues/54782
|
|
994
|
+
*/
|
|
995
|
+
declare const setInputSignal: <T>(input: InputSignal<T> | InputSignalWithTransform<T, unknown>, value: T) => void;
|
|
996
|
+
|
|
997
|
+
type NgClassType = string | string[] | Set<string> | {
|
|
998
|
+
[klass: string]: any;
|
|
999
|
+
} | null | undefined;
|
|
1000
|
+
|
|
1001
|
+
declare const AT_LEAST_ONE_REQUIRED = "atLeastOneRequired";
|
|
1002
|
+
type ValidateAtLeastOneRequiredConfig = {
|
|
1003
|
+
/**
|
|
1004
|
+
* Keys of form controls to validate in the supplied form group
|
|
1005
|
+
*/
|
|
1006
|
+
keys: string[];
|
|
1007
|
+
/**
|
|
1008
|
+
* If true, the value `false` will result in a validation error
|
|
1009
|
+
* @default false
|
|
1010
|
+
*/
|
|
1011
|
+
checkFalse?: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
declare const ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1014
|
+
declare const IS_ARRAY_NOT_EMPTY = "isArrayNotEmpty";
|
|
1015
|
+
declare const IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1016
|
+
declare const IS_EMAIL = "isEmail";
|
|
1017
|
+
declare const IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1018
|
+
declare const MUST_MATCH = "mustMatch";
|
|
1019
|
+
declare const MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1020
|
+
mustMatch: boolean;
|
|
1021
|
+
} | null;
|
|
1022
|
+
declare const Validators: {
|
|
1023
|
+
readonly MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
|
|
1024
|
+
mustMatch: boolean;
|
|
1025
|
+
} | null;
|
|
1026
|
+
readonly IsEmail: (control: AbstractControl) => ValidationErrors | null;
|
|
1027
|
+
readonly IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
|
|
1028
|
+
readonly ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
declare const clone: <T>(original: T) => T;
|
|
1032
|
+
declare const equal: (foo: any, bar: any) => boolean;
|
|
1033
|
+
|
|
1034
|
+
declare const hasCookie: (name: string) => boolean;
|
|
1035
|
+
declare const getCookie: (name: string) => string | null | undefined;
|
|
1036
|
+
declare const setCookie: (name: string, data: string, expiresInDays?: number | null, domain?: string | null, path?: string, sameSite?: "strict" | "none" | "lax") => void;
|
|
1037
|
+
declare const deleteCookie: (name: string, path?: string, domain?: string | null) => void;
|
|
1038
|
+
declare const getDomain: () => string | null;
|
|
1039
|
+
|
|
1040
|
+
type Translatable = {
|
|
1041
|
+
i18n: string;
|
|
1042
|
+
text: string;
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
declare class KeyPressManager {
|
|
1046
|
+
readonly key: number;
|
|
1047
|
+
private readonly _isKeyPressed$;
|
|
1048
|
+
private readonly _keyPressCount$;
|
|
1049
|
+
private readonly _stopTimeout$;
|
|
532
1050
|
constructor(key: number);
|
|
533
1051
|
isPressed(event: KeyboardEvent): boolean;
|
|
534
1052
|
clear(): void;
|
|
@@ -560,6 +1078,22 @@ declare class RuntimeError<T extends number> extends Error {
|
|
|
560
1078
|
}
|
|
561
1079
|
declare function formatRuntimeError<T extends number>(code: T, message: null | false | string): string;
|
|
562
1080
|
|
|
1081
|
+
type CreateSessionMemoryConfig<TValue> = {
|
|
1082
|
+
key: string;
|
|
1083
|
+
parse: (storedValue: string) => TValue | null;
|
|
1084
|
+
serialize: (value: TValue) => string;
|
|
1085
|
+
};
|
|
1086
|
+
declare const createAutoSessionMemoryKey: ({ element, prefix }: {
|
|
1087
|
+
element: HTMLElement;
|
|
1088
|
+
prefix: string;
|
|
1089
|
+
}) => string;
|
|
1090
|
+
declare const canUseSessionMemory: () => boolean;
|
|
1091
|
+
declare const createSessionMemory: <TValue>({ key, parse, serialize }: CreateSessionMemoryConfig<TValue>) => {
|
|
1092
|
+
read: () => TValue | null;
|
|
1093
|
+
write: (value: TValue) => boolean;
|
|
1094
|
+
remove: () => boolean;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
563
1097
|
declare class NormalizeGameResultTypePipe implements PipeTransform {
|
|
564
1098
|
transform: (type: string | null) => NormalizedGameResultType | null;
|
|
565
1099
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeGameResultTypePipe, never>;
|
|
@@ -758,402 +1292,111 @@ type HostProps = {
|
|
|
758
1292
|
props: Props;
|
|
759
1293
|
handlers: PropHandlers;
|
|
760
1294
|
};
|
|
761
|
-
declare const createHostProps: (props: CreatePropsOptions) => HostProps;
|
|
762
|
-
|
|
763
|
-
declare const createSetup: <T extends Record<string, unknown>>(config: {
|
|
764
|
-
setupFn: (params: T) => void;
|
|
765
|
-
this: ThisType<unknown>;
|
|
766
|
-
}) => (params: T) => void;
|
|
767
|
-
|
|
768
|
-
declare const createDependencyStash: <T extends Record<string, WritableSignal<unknown>>>(stash: T) => T & {
|
|
769
|
-
provideSignal: <K extends keyof T>(data: {
|
|
770
|
-
signal: Signal<ReturnType<T[K]>>;
|
|
771
|
-
for: K;
|
|
772
|
-
}) => void;
|
|
773
|
-
provideValue: <K extends keyof T>(data: {
|
|
774
|
-
value: ReturnType<T[K]>;
|
|
775
|
-
for: K;
|
|
776
|
-
}) => void;
|
|
777
|
-
};
|
|
778
|
-
|
|
779
|
-
declare const createElementDictionary: () => {
|
|
780
|
-
ids: _angular_core.Signal<string[]>;
|
|
781
|
-
elements: _angular_core.Signal<HTMLElement[]>;
|
|
782
|
-
has: (id: string) => boolean;
|
|
783
|
-
get: (id: string) => HTMLElement | null;
|
|
784
|
-
push: (id: string, element: HTMLElement) => void;
|
|
785
|
-
remove: (id: string) => void;
|
|
786
|
-
isEmpty: _angular_core.Signal<boolean>;
|
|
787
|
-
firstElement: _angular_core.Signal<HTMLElement | null>;
|
|
788
|
-
firstId: _angular_core.Signal<string | null>;
|
|
789
|
-
};
|
|
790
|
-
|
|
791
|
-
type BindPropsOptions = {
|
|
792
|
-
props: Props | PropsInternal;
|
|
793
|
-
handlers: PropHandlers;
|
|
794
|
-
};
|
|
795
|
-
declare const bindProps: (config: BindPropsOptions) => void;
|
|
796
|
-
type UnbindPropsOptions = {
|
|
797
|
-
props: Props | PropsInternal;
|
|
798
|
-
handlers: PropHandlers;
|
|
799
|
-
};
|
|
800
|
-
declare const unbindProps: (config: UnbindPropsOptions) => void;
|
|
801
|
-
|
|
802
|
-
declare class PropsDirective {
|
|
803
|
-
destroyRef: DestroyRef;
|
|
804
|
-
props: _angular_core.InputSignalWithTransform<PropsInternal, Readonly<{
|
|
805
|
-
attached: _angular_core.Signal<boolean>;
|
|
806
|
-
attachedElements: _ethlete_core.PropsAttachedElements;
|
|
807
|
-
}>>;
|
|
808
|
-
propHandlers: {
|
|
809
|
-
classes: {
|
|
810
|
-
remove: (tokens: string) => void;
|
|
811
|
-
removeMany: (tokens: string[]) => void;
|
|
812
|
-
has: (tokens: string) => boolean;
|
|
813
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
814
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
815
|
-
};
|
|
816
|
-
attributes: {
|
|
817
|
-
remove: (tokens: string) => void;
|
|
818
|
-
removeMany: (tokens: string[]) => void;
|
|
819
|
-
has: (tokens: string) => boolean;
|
|
820
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
821
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
822
|
-
};
|
|
823
|
-
styles: {
|
|
824
|
-
remove: (tokens: string) => void;
|
|
825
|
-
removeMany: (tokens: string[]) => void;
|
|
826
|
-
has: (tokens: string) => boolean;
|
|
827
|
-
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
828
|
-
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
829
|
-
};
|
|
830
|
-
id: string;
|
|
831
|
-
elementRef: _angular_core.ElementRef<HTMLElement>;
|
|
832
|
-
};
|
|
833
|
-
constructor();
|
|
834
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
|
|
835
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
type AnyTemplateType = string | TemplateRef<unknown> | ComponentType<unknown> | TemplateRefWithContext | ComponentTypeWithInputs;
|
|
839
|
-
type TemplateRefWithContext<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
840
|
-
template: TemplateRef<J>;
|
|
841
|
-
context?: T;
|
|
842
|
-
injector?: Injector;
|
|
843
|
-
};
|
|
844
|
-
type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
845
|
-
component: ComponentType<J>;
|
|
846
|
-
inputs?: T;
|
|
847
|
-
injector?: Injector;
|
|
848
|
-
};
|
|
849
|
-
type StringTemplate = {
|
|
850
|
-
type: 'string';
|
|
851
|
-
value: string;
|
|
852
|
-
};
|
|
853
|
-
type NgTemplateTemplate = {
|
|
854
|
-
type: 'template';
|
|
855
|
-
value: TemplateRef<unknown>;
|
|
856
|
-
context?: Record<string, unknown>;
|
|
857
|
-
injector: Injector | null;
|
|
858
|
-
};
|
|
859
|
-
type ComponentTemplate = {
|
|
860
|
-
type: 'component';
|
|
861
|
-
value: ComponentType<unknown>;
|
|
862
|
-
inputs?: Record<string, unknown>;
|
|
863
|
-
injector: Injector | null;
|
|
864
|
-
};
|
|
865
|
-
declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
|
|
866
|
-
|
|
867
|
-
declare const injectAngularRootElement: {
|
|
868
|
-
(): _angular_core.WritableSignal<HTMLElement | null>;
|
|
869
|
-
(options: _angular_core.InjectOptions & {
|
|
870
|
-
optional?: false;
|
|
871
|
-
}): _angular_core.WritableSignal<HTMLElement | null>;
|
|
872
|
-
(options: _angular_core.InjectOptions): _angular_core.WritableSignal<HTMLElement | null> | null;
|
|
873
|
-
};
|
|
874
|
-
|
|
875
|
-
declare const provideBoundaryElement: () => _angular_core.Provider[];
|
|
876
|
-
declare const injectBoundaryElement: {
|
|
877
|
-
(): {
|
|
878
|
-
value: _angular_core.Signal<HTMLElement>;
|
|
879
|
-
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
880
|
-
};
|
|
881
|
-
(options: _angular_core.InjectOptions & {
|
|
882
|
-
optional?: false;
|
|
883
|
-
}): {
|
|
884
|
-
value: _angular_core.Signal<HTMLElement>;
|
|
885
|
-
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
886
|
-
};
|
|
887
|
-
(options: _angular_core.InjectOptions): {
|
|
888
|
-
value: _angular_core.Signal<HTMLElement>;
|
|
889
|
-
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
890
|
-
} | null;
|
|
891
|
-
};
|
|
892
|
-
declare const BOUNDARY_ELEMENT_TOKEN: _angular_core.InjectionToken<{
|
|
893
|
-
value: _angular_core.Signal<HTMLElement>;
|
|
894
|
-
override: _angular_core.WritableSignal<HTMLElement | null>;
|
|
895
|
-
}>;
|
|
896
|
-
|
|
897
|
-
type Vec2 = [number, number];
|
|
898
|
-
type ViewportConfig = {
|
|
899
|
-
breakpoints: {
|
|
900
|
-
xs: Vec2;
|
|
901
|
-
sm: Vec2;
|
|
902
|
-
md: Vec2;
|
|
903
|
-
lg: Vec2;
|
|
904
|
-
xl: Vec2;
|
|
905
|
-
'2xl': Vec2;
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
type Breakpoint = keyof ViewportConfig['breakpoints'];
|
|
909
|
-
declare const BREAKPOINT_ORDER: Breakpoint[];
|
|
910
|
-
/**
|
|
911
|
-
* Default viewport config based on Tailwind CSS.
|
|
912
|
-
* @see https://tailwindcss.com/docs/screens
|
|
913
|
-
*/
|
|
914
|
-
declare const DEFAULT_VIEWPORT_CONFIG: ViewportConfig;
|
|
915
|
-
declare const provideViewportConfig: (valueOverride?: Partial<ViewportConfig> | undefined) => _angular_core.Provider[];
|
|
916
|
-
declare const injectViewportConfig: {
|
|
917
|
-
(): ViewportConfig;
|
|
918
|
-
(options: _angular_core.InjectOptions & {
|
|
919
|
-
optional?: false;
|
|
920
|
-
}): ViewportConfig;
|
|
921
|
-
(options: _angular_core.InjectOptions): ViewportConfig | null;
|
|
922
|
-
};
|
|
923
|
-
type BuildMediaQueryOptions = {
|
|
924
|
-
min?: number | Breakpoint;
|
|
925
|
-
max?: number | Breakpoint;
|
|
926
|
-
};
|
|
927
|
-
declare const provideBreakpointObserver: () => _angular_core.Provider[];
|
|
928
|
-
declare const injectBreakpointObserver: {
|
|
929
|
-
(): {
|
|
930
|
-
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
931
|
-
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
932
|
-
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
933
|
-
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
934
|
-
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
935
|
-
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
936
|
-
};
|
|
937
|
-
(options: _angular_core.InjectOptions & {
|
|
938
|
-
optional?: false;
|
|
939
|
-
}): {
|
|
940
|
-
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
941
|
-
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
942
|
-
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
943
|
-
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
944
|
-
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
945
|
-
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
946
|
-
};
|
|
947
|
-
(options: _angular_core.InjectOptions): {
|
|
948
|
-
observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
|
|
949
|
-
isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
|
|
950
|
-
getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
|
|
951
|
-
buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
|
|
952
|
-
observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
|
|
953
|
-
isMediaQueryMatched: (mediaQuery: string) => boolean;
|
|
954
|
-
} | null;
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
declare const provideFocusVisibleTracker: () => _angular_core.Provider[];
|
|
958
|
-
declare const injectFocusVisibleTracker: {
|
|
959
|
-
(): {
|
|
960
|
-
isFocusVisible: _angular_core.Signal<boolean>;
|
|
961
|
-
};
|
|
962
|
-
(options: _angular_core.InjectOptions & {
|
|
963
|
-
optional?: false;
|
|
964
|
-
}): {
|
|
965
|
-
isFocusVisible: _angular_core.Signal<boolean>;
|
|
966
|
-
};
|
|
967
|
-
(options: _angular_core.InjectOptions): {
|
|
968
|
-
isFocusVisible: _angular_core.Signal<boolean>;
|
|
969
|
-
} | null;
|
|
970
|
-
};
|
|
971
|
-
declare const FOCUS_VISIBLE_TRACKER_TOKEN: _angular_core.InjectionToken<{
|
|
972
|
-
isFocusVisible: _angular_core.Signal<boolean>;
|
|
973
|
-
}>;
|
|
974
|
-
|
|
975
|
-
declare const provideLocale: () => _angular_core.Provider[];
|
|
976
|
-
declare const injectLocale: {
|
|
977
|
-
(): {
|
|
978
|
-
currentLocale: _angular_core.WritableSignal<string>;
|
|
979
|
-
};
|
|
980
|
-
(options: _angular_core.InjectOptions & {
|
|
981
|
-
optional?: false;
|
|
982
|
-
}): {
|
|
983
|
-
currentLocale: _angular_core.WritableSignal<string>;
|
|
984
|
-
};
|
|
985
|
-
(options: _angular_core.InjectOptions): {
|
|
986
|
-
currentLocale: _angular_core.WritableSignal<string>;
|
|
987
|
-
} | null;
|
|
1295
|
+
declare const createHostProps: (props: CreatePropsOptions) => HostProps;
|
|
1296
|
+
|
|
1297
|
+
declare const createSetup: <T extends Record<string, unknown>>(config: {
|
|
1298
|
+
setupFn: (params: T) => void;
|
|
1299
|
+
this: ThisType<unknown>;
|
|
1300
|
+
}) => (params: T) => void;
|
|
1301
|
+
|
|
1302
|
+
declare const createDependencyStash: <T extends Record<string, WritableSignal<unknown>>>(stash: T) => T & {
|
|
1303
|
+
provideSignal: <K extends keyof T>(data: {
|
|
1304
|
+
signal: Signal<ReturnType<T[K]>>;
|
|
1305
|
+
for: K;
|
|
1306
|
+
}) => void;
|
|
1307
|
+
provideValue: <K extends keyof T>(data: {
|
|
1308
|
+
value: ReturnType<T[K]>;
|
|
1309
|
+
for: K;
|
|
1310
|
+
}) => void;
|
|
988
1311
|
};
|
|
989
1312
|
|
|
990
|
-
declare const
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
1001
|
-
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
1002
|
-
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
1003
|
-
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
1004
|
-
createText: (value: string) => Text;
|
|
1005
|
-
createComment: (value: string) => Comment;
|
|
1006
|
-
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
1007
|
-
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
1008
|
-
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
1009
|
-
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
1010
|
-
parentNode: (node: Node) => Node | null;
|
|
1011
|
-
nextSibling: (node: Node) => Node | null;
|
|
1012
|
-
setValue: (node: Node, value: string) => void;
|
|
1013
|
-
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
1014
|
-
destroyNode: (node: Node) => void;
|
|
1015
|
-
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
1016
|
-
empty: (element: HTMLElement) => void;
|
|
1017
|
-
setTextContent: (element: HTMLElement, text: string) => void;
|
|
1018
|
-
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
1019
|
-
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
1020
|
-
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
1021
|
-
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
1022
|
-
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
1023
|
-
moveBefore: (config: {
|
|
1024
|
-
newParent: HTMLElement;
|
|
1025
|
-
child: HTMLElement;
|
|
1026
|
-
before?: Node | null;
|
|
1027
|
-
}) => void;
|
|
1028
|
-
renderer: _angular_core.Renderer2;
|
|
1029
|
-
};
|
|
1030
|
-
(options: _angular_core.InjectOptions & {
|
|
1031
|
-
optional?: false;
|
|
1032
|
-
}): {
|
|
1033
|
-
addClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
1034
|
-
removeClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
1035
|
-
toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
|
|
1036
|
-
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
1037
|
-
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
1038
|
-
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
1039
|
-
setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
|
|
1040
|
-
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
1041
|
-
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
1042
|
-
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
1043
|
-
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
1044
|
-
createText: (value: string) => Text;
|
|
1045
|
-
createComment: (value: string) => Comment;
|
|
1046
|
-
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
1047
|
-
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
1048
|
-
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
1049
|
-
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
1050
|
-
parentNode: (node: Node) => Node | null;
|
|
1051
|
-
nextSibling: (node: Node) => Node | null;
|
|
1052
|
-
setValue: (node: Node, value: string) => void;
|
|
1053
|
-
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
1054
|
-
destroyNode: (node: Node) => void;
|
|
1055
|
-
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
1056
|
-
empty: (element: HTMLElement) => void;
|
|
1057
|
-
setTextContent: (element: HTMLElement, text: string) => void;
|
|
1058
|
-
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
1059
|
-
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
1060
|
-
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
1061
|
-
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
1062
|
-
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
1063
|
-
moveBefore: (config: {
|
|
1064
|
-
newParent: HTMLElement;
|
|
1065
|
-
child: HTMLElement;
|
|
1066
|
-
before?: Node | null;
|
|
1067
|
-
}) => void;
|
|
1068
|
-
renderer: _angular_core.Renderer2;
|
|
1069
|
-
};
|
|
1070
|
-
(options: _angular_core.InjectOptions): {
|
|
1071
|
-
addClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
1072
|
-
removeClass: (element: HTMLElement, ...classes: string[]) => void;
|
|
1073
|
-
toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
|
|
1074
|
-
setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
|
|
1075
|
-
removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
|
|
1076
|
-
removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
|
|
1077
|
-
setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
|
|
1078
|
-
removeAttribute: (element: HTMLElement, ...names: string[]) => void;
|
|
1079
|
-
setProperty: (element: HTMLElement, name: string, value: unknown) => void;
|
|
1080
|
-
setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
|
|
1081
|
-
createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
|
|
1082
|
-
createText: (value: string) => Text;
|
|
1083
|
-
createComment: (value: string) => Comment;
|
|
1084
|
-
appendChild: (parent: HTMLElement, newChild: Node) => void;
|
|
1085
|
-
insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
|
|
1086
|
-
removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
|
|
1087
|
-
selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
|
|
1088
|
-
parentNode: (node: Node) => Node | null;
|
|
1089
|
-
nextSibling: (node: Node) => Node | null;
|
|
1090
|
-
setValue: (node: Node, value: string) => void;
|
|
1091
|
-
listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
|
|
1092
|
-
destroyNode: (node: Node) => void;
|
|
1093
|
-
replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
|
|
1094
|
-
empty: (element: HTMLElement) => void;
|
|
1095
|
-
setTextContent: (element: HTMLElement, text: string) => void;
|
|
1096
|
-
setInnerHTML: (element: HTMLElement, html: string) => void;
|
|
1097
|
-
setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
|
|
1098
|
-
setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
|
|
1099
|
-
setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
|
|
1100
|
-
setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
|
|
1101
|
-
moveBefore: (config: {
|
|
1102
|
-
newParent: HTMLElement;
|
|
1103
|
-
child: HTMLElement;
|
|
1104
|
-
before?: Node | null;
|
|
1105
|
-
}) => void;
|
|
1106
|
-
renderer: _angular_core.Renderer2;
|
|
1107
|
-
} | null;
|
|
1313
|
+
declare const createElementDictionary: () => {
|
|
1314
|
+
ids: _angular_core.Signal<string[]>;
|
|
1315
|
+
elements: _angular_core.Signal<HTMLElement[]>;
|
|
1316
|
+
has: (id: string) => boolean;
|
|
1317
|
+
get: (id: string) => HTMLElement | null;
|
|
1318
|
+
push: (id: string, element: HTMLElement) => void;
|
|
1319
|
+
remove: (id: string) => void;
|
|
1320
|
+
isEmpty: _angular_core.Signal<boolean>;
|
|
1321
|
+
firstElement: _angular_core.Signal<HTMLElement | null>;
|
|
1322
|
+
firstId: _angular_core.Signal<string | null>;
|
|
1108
1323
|
};
|
|
1109
|
-
type AngularRenderer = NonNullable<ReturnType<typeof injectRenderer>>;
|
|
1110
1324
|
|
|
1111
|
-
type
|
|
1112
|
-
|
|
1325
|
+
type BindPropsOptions = {
|
|
1326
|
+
props: Props | PropsInternal;
|
|
1327
|
+
handlers: PropHandlers;
|
|
1113
1328
|
};
|
|
1114
|
-
declare const
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
optional?: false;
|
|
1119
|
-
}): StyleManager;
|
|
1120
|
-
(options: _angular_core.InjectOptions): StyleManager | null;
|
|
1329
|
+
declare const bindProps: (config: BindPropsOptions) => void;
|
|
1330
|
+
type UnbindPropsOptions = {
|
|
1331
|
+
props: Props | PropsInternal;
|
|
1332
|
+
handlers: PropHandlers;
|
|
1121
1333
|
};
|
|
1334
|
+
declare const unbindProps: (config: UnbindPropsOptions) => void;
|
|
1122
1335
|
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1336
|
+
declare class PropsDirective {
|
|
1337
|
+
destroyRef: DestroyRef;
|
|
1338
|
+
props: _angular_core.InputSignalWithTransform<PropsInternal, Readonly<{
|
|
1339
|
+
attached: _angular_core.Signal<boolean>;
|
|
1340
|
+
attachedElements: _ethlete_core.PropsAttachedElements;
|
|
1341
|
+
}>>;
|
|
1342
|
+
propHandlers: {
|
|
1343
|
+
classes: {
|
|
1344
|
+
remove: (tokens: string) => void;
|
|
1345
|
+
removeMany: (tokens: string[]) => void;
|
|
1346
|
+
has: (tokens: string) => boolean;
|
|
1347
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1348
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1349
|
+
};
|
|
1350
|
+
attributes: {
|
|
1351
|
+
remove: (tokens: string) => void;
|
|
1352
|
+
removeMany: (tokens: string[]) => void;
|
|
1353
|
+
has: (tokens: string) => boolean;
|
|
1354
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1355
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1356
|
+
};
|
|
1357
|
+
styles: {
|
|
1358
|
+
remove: (tokens: string) => void;
|
|
1359
|
+
removeMany: (tokens: string[]) => void;
|
|
1360
|
+
has: (tokens: string) => boolean;
|
|
1361
|
+
push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
|
|
1362
|
+
pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
|
|
1363
|
+
};
|
|
1364
|
+
id: string;
|
|
1365
|
+
elementRef: _angular_core.ElementRef<HTMLElement>;
|
|
1366
|
+
};
|
|
1367
|
+
constructor();
|
|
1368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
|
|
1369
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1130
1370
|
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
* @example
|
|
1138
|
-
* isGranted: () => inject(CookieService).hasMediaConsent
|
|
1139
|
-
*/
|
|
1140
|
-
isGranted: () => Signal<boolean>;
|
|
1141
|
-
/**
|
|
1142
|
-
* Factory executed inside the injection context that returns the grant function.
|
|
1143
|
-
*
|
|
1144
|
-
* @example
|
|
1145
|
-
* grant: () => () => inject(CookieService).acceptAll()
|
|
1146
|
-
*/
|
|
1147
|
-
grant: () => () => void;
|
|
1148
|
-
/**
|
|
1149
|
-
* Factory executed inside the injection context that returns the revoke function.
|
|
1150
|
-
*
|
|
1151
|
-
* @example
|
|
1152
|
-
* revoke : () => () => inject(CookieService).revokeAll()
|
|
1153
|
-
*/
|
|
1154
|
-
revoke?: () => () => void;
|
|
1371
|
+
|
|
1372
|
+
type AnyTemplateType = string | TemplateRef<unknown> | ComponentType<unknown> | TemplateRefWithContext | ComponentTypeWithInputs;
|
|
1373
|
+
type TemplateRefWithContext<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
1374
|
+
template: TemplateRef<J>;
|
|
1375
|
+
context?: T;
|
|
1376
|
+
injector?: Injector;
|
|
1155
1377
|
};
|
|
1156
|
-
|
|
1378
|
+
type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
|
|
1379
|
+
component: ComponentType<J>;
|
|
1380
|
+
inputs?: T;
|
|
1381
|
+
injector?: Injector;
|
|
1382
|
+
};
|
|
1383
|
+
type StringTemplate = {
|
|
1384
|
+
type: 'string';
|
|
1385
|
+
value: string;
|
|
1386
|
+
};
|
|
1387
|
+
type NgTemplateTemplate = {
|
|
1388
|
+
type: 'template';
|
|
1389
|
+
value: TemplateRef<unknown>;
|
|
1390
|
+
context?: Record<string, unknown>;
|
|
1391
|
+
injector: Injector | null;
|
|
1392
|
+
};
|
|
1393
|
+
type ComponentTemplate = {
|
|
1394
|
+
type: 'component';
|
|
1395
|
+
value: ComponentType<unknown>;
|
|
1396
|
+
inputs?: Record<string, unknown>;
|
|
1397
|
+
injector: Injector | null;
|
|
1398
|
+
};
|
|
1399
|
+
declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
|
|
1157
1400
|
|
|
1158
1401
|
type ResizeEdge = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
1159
1402
|
type ResizeMoveEvent = {
|
|
@@ -2375,5 +2618,5 @@ declare const injectTitleStore: {
|
|
|
2375
2618
|
};
|
|
2376
2619
|
declare const applyHeadTitleBinding: (binding: MaybeSignal<string | number | null | undefined>, options?: Omit<TitlePart, "text">) => void;
|
|
2377
2620
|
|
|
2378
|
-
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, ClickOutsideDirective,
|
|
2379
|
-
export type { AlternateLanguagesConfig, AlternateLink, AngularRenderer, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedOverlayComponentBase, AnimatedOverlayMountConfig, AnimatedOverlayState, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ComponentTemplate, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateProviderOptions, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragMoveEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, FacebookCard, FlipAnimationConfig, HeadBinding, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderResult, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RootProviderResult, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderResult, StringTemplate, StructuredDataConfig, StyleManager, SyncSignalOptions, TemplateRefWithContext,
|
|
2621
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MatchStateType, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
2622
|
+
export type { AlternateLanguagesConfig, AlternateLink, AngularRenderer, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedOverlayComponentBase, AnimatedOverlayMountConfig, AnimatedOverlayState, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorTheme, ColorThemeType, ComponentTemplate, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateProviderOptions, CreateSessionMemoryConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragMoveEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, FacebookCard, FlipAnimationConfig, HeadBinding, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeState, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderResult, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RootProviderResult, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderResult, StringTemplate, StructuredDataConfig, StyleManager, SurfaceContextEntry, SurfaceContextTracker, SurfaceInteractionColor, SurfaceTheme, SurfaceThemeColor, SurfaceType, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCard, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|