@angular/core 22.0.0-next.6 → 22.0.0-next.8

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.
Files changed (71) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_debug_node-chunk.mjs +1031 -943
  3. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  4. package/fesm2022/_effect-chunk.mjs +1 -1
  5. package/fesm2022/_not_found-chunk.mjs +1 -1
  6. package/fesm2022/_pending_tasks-chunk.mjs +10 -8
  7. package/fesm2022/_pending_tasks-chunk.mjs.map +1 -1
  8. package/fesm2022/_resource-chunk.mjs +25 -11
  9. package/fesm2022/_resource-chunk.mjs.map +1 -1
  10. package/fesm2022/_untracked-chunk.mjs +1 -1
  11. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  12. package/fesm2022/core.mjs +285 -6
  13. package/fesm2022/core.mjs.map +1 -1
  14. package/fesm2022/primitives-di.mjs +1 -1
  15. package/fesm2022/primitives-event-dispatch.mjs +1 -5
  16. package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
  17. package/fesm2022/primitives-signals.mjs +1 -1
  18. package/fesm2022/rxjs-interop.mjs +4 -1
  19. package/fesm2022/rxjs-interop.mjs.map +1 -1
  20. package/fesm2022/testing.mjs +2 -12
  21. package/fesm2022/testing.mjs.map +1 -1
  22. package/package.json +2 -2
  23. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  24. package/schematics/bundles/can-match-snapshot-required.cjs +104 -0
  25. package/schematics/bundles/change-detection-eager.cjs +1 -1
  26. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  27. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  28. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  29. package/schematics/bundles/control-flow-migration.cjs +1 -1
  30. package/schematics/bundles/http-xhr-backend.cjs +1 -1
  31. package/schematics/bundles/imports-CKV-ITqD.cjs +1 -1
  32. package/schematics/bundles/incremental-hydration.cjs +91 -0
  33. package/schematics/bundles/{index-BtLcQH8g.cjs → index-DADA7AvC.cjs} +7 -3
  34. package/schematics/bundles/inject-migration.cjs +1 -1
  35. package/schematics/bundles/json-file-Drblb4E1.cjs +1916 -0
  36. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  37. package/schematics/bundles/{migrate_ts_type_references-Dp33iyGx.cjs → migrate_ts_type_references-B9LlDDUg.cjs} +2 -2
  38. package/schematics/bundles/ng_component_template-DPAF1aEA.cjs +1 -1
  39. package/schematics/bundles/ng_decorators-IVztR9rk.cjs +1 -1
  40. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  41. package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
  42. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  43. package/schematics/bundles/output-migration.cjs +2 -2
  44. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  45. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  46. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  47. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  48. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  49. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  50. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  51. package/schematics/bundles/signal-input-migration.cjs +3 -3
  52. package/schematics/bundles/signal-queries-migration.cjs +3 -3
  53. package/schematics/bundles/signals.cjs +3 -3
  54. package/schematics/bundles/standalone-migration.cjs +29 -17
  55. package/schematics/bundles/strict-safe-navigation-narrow.cjs +32 -0
  56. package/schematics/bundles/strict-templates-default.cjs +63 -0
  57. package/schematics/migrations.json +18 -3
  58. package/types/_api-chunk.d.ts +9 -3
  59. package/types/_chrome_dev_tools_performance-chunk.d.ts +2 -2
  60. package/types/_debug_node-chunk.d.ts +136 -262
  61. package/types/_effect-chunk.d.ts +1 -1
  62. package/types/_event_dispatcher-chunk.d.ts +1 -1
  63. package/types/_formatter-chunk.d.ts +1 -1
  64. package/types/_weak_ref-chunk.d.ts +1 -1
  65. package/types/core.d.ts +666 -660
  66. package/types/primitives-di.d.ts +1 -1
  67. package/types/primitives-event-dispatch.d.ts +1 -1
  68. package/types/primitives-signals.d.ts +1 -1
  69. package/types/rxjs-interop.d.ts +1 -1
  70. package/types/testing.d.ts +2 -2
  71. package/schematics/bundles/strict-templates.cjs +0 -55
package/types/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.6
2
+ * @license Angular v22.0.0-next.8
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -7,8 +7,8 @@
7
7
  import { SIGNAL, ReactiveNodeKind } from './_formatter-chunk.js';
8
8
  import { Signal, WritableSignal, OutputRef, Type as Type$1, ModuleWithProviders, EnvironmentProviders, Provider, TypeProvider, ValueProvider, ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, StaticClassProvider, ProviderToken, Injector, ValueSansProvider, ExistingSansProvider, StaticClassSansProvider, ConstructorSansProvider, FactorySansProvider, ClassSansProvider, InjectionToken, InjectOptions, InternalInjectFlags, StaticProvider, ValueEqualityFn, EventCallback, isSignal, enableProfiling as enableProfiling$1, AbstractType } from './_chrome_dev_tools_performance-chunk.js';
9
9
  export { CreateSignalOptions, DestroyRef, DestroyableInjector, OutputRefSubscription, isWritableSignal, signal, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, Writable as ɵWritable, isEnvironmentProviders as ɵisEnvironmentProviders, ɵunwrapWritableSignal } from './_chrome_dev_tools_performance-chunk.js';
10
- import { InputSignalNode, TypeDecorator, SchemaMetadata, InputTransformFunction, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, ComponentDef, DirectiveDef, PipeDef, AfterRenderRef, EffectCleanupRegisterFn, EmbeddedViewRef, ChangeDetectorRef, LView, ApplicationRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, NgModuleFactory as NgModuleFactory$1, InternalNgModuleRef, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, NgZone, ViewRef as ViewRef$1, PlatformRef, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockState, TNode, LContainer, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, HostDirectiveConfig, ComponentType, NgModuleScopeInfoFromDecorator, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, AnimationClassBindingFn, AnimationFunction, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, QueryList, RElement, RawScopeInfoFromDecorator, ClassDebugInfo, DehydratedDeferBlock, CompilerOptions, PipeType, DirectiveType, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript } from './_debug_node-chunk.js';
11
- export { APP_BOOTSTRAP_LISTENER, AnimationCallbackEvent, BootstrapOptions, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, Compiler, CompilerFactory, ComponentDecorator, CreateEffectOptions, DebugElement, DebugEventListener, DebugNode, DirectiveDecorator, EffectCleanupFn, EffectRef, EventEmitter, HostBinding, HostBindingDecorator, HostListener, HostListenerDecorator, InjectableType, InjectorType, Input, InputDecorator, ListenerOptions, MAX_ANIMATION_TIMEOUT, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModuleDecorator, Output, OutputDecorator, PipeDecorator, Predicate, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2, Sanitizer, SecurityContext, asNativeElements, effect, getDebugNode, inputBinding, outputBinding, twoWayBinding, ANIMATIONS_DISABLED as ɵANIMATIONS_DISABLED, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, ControlDirectiveHost as ɵControlDirectiveHost, CssSelectorList as ɵCssSelectorList, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockDetails as ɵDeferBlockDetails, EffectScheduler as ɵEffectScheduler, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, NG_INJ_DEF as ɵNG_INJ_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NavigateEvent as ɵNavigateEvent, Navigation as ɵNavigation, NavigationCurrentEntryChangeEvent as ɵNavigationCurrentEntryChangeEvent, NavigationDestination as ɵNavigationDestination, NavigationHistoryEntry as ɵNavigationHistoryEntry, NavigationInterceptOptions as ɵNavigationInterceptOptions, NavigationNavigateOptions as ɵNavigationNavigateOptions, NavigationOptions as ɵNavigationOptions, NavigationReloadOptions as ɵNavigationReloadOptions, NavigationResult as ɵNavigationResult, NavigationTransition as ɵNavigationTransition, NavigationTypeString as ɵNavigationTypeString, NavigationUpdateCurrentEntryOptions as ɵNavigationUpdateCurrentEntryOptions, NoopNgZone as ɵNoopNgZone, NotificationSource as ɵNotificationSource, PROVIDED_ZONELESS as ɵPROVIDED_ZONELESS, R3Injector as ɵR3Injector, RenderFlags as ɵRenderFlags, TracingAction as ɵTracingAction, TracingService as ɵTracingService, TracingSnapshot as ɵTracingSnapshot, ZONELESS_ENABLED as ɵZONELESS_ENABLED, getDeferBlocks as ɵgetDeferBlocks, getInjectableDef as ɵgetInjectableDef, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isInjectable as ɵisInjectable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵInjectorDef, ɵɵPipeDeclaration, ɵɵdefineInjectable, ɵɵdefineInjector } from './_debug_node-chunk.js';
10
+ import { InputSignalNode, TypeDecorator, SchemaMetadata, InputTransformFunction, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, ComponentDef, DirectiveDef, PipeDef, EnvironmentInjector, NgModuleRef as NgModuleRef$1, NgModuleFactory as NgModuleFactory$1, InternalNgModuleRef, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, AfterRenderRef, EffectCleanupRegisterFn, ApplicationRef, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, NgZone, ElementRef, EmbeddedViewRef, ViewRef as ViewRef$1, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, PlatformRef, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockState, TNode, LContainer, TView, TDeferBlockDetails, LView, RNode, Component, TrustedHTML, HostDirectiveConfig, ComponentType, NgModuleScopeInfoFromDecorator, ChangeDetectorRef, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, AnimationClassBindingFn, AnimationFunction, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, QueryList, RElement, RawScopeInfoFromDecorator, ClassDebugInfo, DehydratedDeferBlock, CompilerOptions, PipeType, DirectiveType, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript } from './_debug_node-chunk.js';
11
+ export { APP_BOOTSTRAP_LISTENER, AnimationCallbackEvent, BootstrapOptions, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, Compiler, CompilerFactory, ComponentDecorator, CreateEffectOptions, DebugElement, DebugEventListener, DebugNode, DirectiveDecorator, EffectCleanupFn, EffectRef, EventEmitter, HostBinding, HostBindingDecorator, HostListener, HostListenerDecorator, InjectableType, InjectorType, Input, InputDecorator, ListenerOptions, MAX_ANIMATION_TIMEOUT, NO_ERRORS_SCHEMA, NgModuleDecorator, Output, OutputDecorator, PipeDecorator, Predicate, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2, Sanitizer, SecurityContext, asNativeElements, effect, getDebugNode, inputBinding, outputBinding, twoWayBinding, ANIMATIONS_DISABLED as ɵANIMATIONS_DISABLED, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, ControlDirectiveHost as ɵControlDirectiveHost, CssSelectorList as ɵCssSelectorList, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockDetails as ɵDeferBlockDetails, EffectScheduler as ɵEffectScheduler, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, NG_INJ_DEF as ɵNG_INJ_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NavigateEvent as ɵNavigateEvent, Navigation as ɵNavigation, NavigationCurrentEntryChangeEvent as ɵNavigationCurrentEntryChangeEvent, NavigationDestination as ɵNavigationDestination, NavigationHistoryEntry as ɵNavigationHistoryEntry, NavigationInterceptOptions as ɵNavigationInterceptOptions, NavigationNavigateOptions as ɵNavigationNavigateOptions, NavigationOptions as ɵNavigationOptions, NavigationReloadOptions as ɵNavigationReloadOptions, NavigationResult as ɵNavigationResult, NavigationTransition as ɵNavigationTransition, NavigationTypeString as ɵNavigationTypeString, NavigationUpdateCurrentEntryOptions as ɵNavigationUpdateCurrentEntryOptions, NoopNgZone as ɵNoopNgZone, NotificationSource as ɵNotificationSource, PROVIDED_ZONELESS as ɵPROVIDED_ZONELESS, R3Injector as ɵR3Injector, RenderFlags as ɵRenderFlags, TracingAction as ɵTracingAction, TracingService as ɵTracingService, TracingSnapshot as ɵTracingSnapshot, ZONELESS_ENABLED as ɵZONELESS_ENABLED, getDeferBlocks as ɵgetDeferBlocks, getInjectableDef as ɵgetInjectableDef, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isInjectable as ɵisInjectable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵInjectorDef, ɵɵPipeDeclaration, ɵɵdefineInjectable, ɵɵdefineInjector } from './_debug_node-chunk.js';
12
12
  import { ResourceOptions, ResourceRef, WritableResource, ResourceStatus, ResourceSnapshot, Resource, ResourceParamsContext, ResourceStreamingLoader, ResourceStreamItem, DebounceTimer, DebouncedOptions } from './_api-chunk.js';
13
13
  export { BaseResourceOptions, OutputEmitterRef, OutputOptions, PromiseResourceOptions, ResourceDependencyError, ResourceLoader, ResourceLoaderParams, ResourceParamsStatus, StreamingResourceOptions, output, getOutputDestroyRef as ɵgetOutputDestroyRef } from './_api-chunk.js';
14
14
  import './_event_dispatcher-chunk.js';
@@ -1572,6 +1572,243 @@ declare function setClassMetadata(type: any, decorators: any[] | null, ctorParam
1572
1572
  [field: string]: any;
1573
1573
  } | null): void;
1574
1574
 
1575
+ /**
1576
+ * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
1577
+ *
1578
+ * @param ngModule NgModule class.
1579
+ * @param parentInjector Optional injector instance to use as a parent for the module injector. If
1580
+ * not provided, `NullInjector` will be used instead.
1581
+ * @returns NgModuleRef that represents an NgModule instance.
1582
+ *
1583
+ * @publicApi
1584
+ */
1585
+ declare function createNgModule<T>(ngModule: Type$1<T>, parentInjector?: Injector): NgModuleRef$1<T>;
1586
+ declare class NgModuleRef<T> extends NgModuleRef$1<T> implements InternalNgModuleRef<T> {
1587
+ private readonly ngModuleType;
1588
+ _parent: Injector | null;
1589
+ _bootstrapComponents: Type$1<any>[];
1590
+ private readonly _r3Injector;
1591
+ instance: T;
1592
+ destroyCbs: (() => void)[] | null;
1593
+ constructor(ngModuleType: Type$1<T>, _parent: Injector | null, additionalProviders: Array<Provider | EnvironmentProviders>, runInjectorInitializers?: boolean);
1594
+ resolveInjectorInitializers(): void;
1595
+ get injector(): EnvironmentInjector;
1596
+ destroy(): void;
1597
+ onDestroy(callback: () => void): void;
1598
+ }
1599
+ declare class NgModuleFactory<T> extends NgModuleFactory$1<T> {
1600
+ moduleType: Type$1<T>;
1601
+ constructor(moduleType: Type$1<T>);
1602
+ create(parentInjector: Injector | null): NgModuleRef$1<T>;
1603
+ }
1604
+ /**
1605
+ * Create a new environment injector.
1606
+ *
1607
+ * @param providers An array of providers.
1608
+ * @param parent A parent environment injector.
1609
+ * @param debugName An optional name for this injector instance, which will be used in error
1610
+ * messages.
1611
+ *
1612
+ * @publicApi
1613
+ */
1614
+ declare function createEnvironmentInjector(providers: Array<Provider | EnvironmentProviders>, parent: EnvironmentInjector, debugName?: string | null): EnvironmentInjector;
1615
+
1616
+ /**
1617
+ * Convince closure compiler that the wrapped function has no side-effects.
1618
+ *
1619
+ * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to
1620
+ * allow us to execute a function but have closure compiler mark the call as no-side-effects.
1621
+ * It is important that the return value for the `noSideEffects` function be assigned
1622
+ * to something which is retained otherwise the call to `noSideEffects` will be removed by closure
1623
+ * compiler.
1624
+ */
1625
+ declare function noSideEffects<T>(fn: () => T): T;
1626
+
1627
+ /**
1628
+ * A DI token that you can use to provide
1629
+ * one or more initialization functions.
1630
+ *
1631
+ * The provided functions are injected at application startup and executed during
1632
+ * app initialization. If any of these functions returns a Promise or an Observable, initialization
1633
+ * does not complete until the Promise is resolved or the Observable is completed.
1634
+ *
1635
+ * You can, for example, create a factory function that loads language data
1636
+ * or an external configuration, and provide that function to the `APP_INITIALIZER` token.
1637
+ * The function is executed during the application bootstrap process,
1638
+ * and the needed data is available on startup.
1639
+ *
1640
+ * Note that the provided initializer is run in the injection context.
1641
+ *
1642
+ * @deprecated from v19.0.0, use provideAppInitializer instead
1643
+ *
1644
+ * @see {@link ApplicationInitStatus}
1645
+ * @see {@link provideAppInitializer}
1646
+ *
1647
+ * @usageNotes
1648
+ *
1649
+ * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token
1650
+ * and a function returning a promise.
1651
+ * ### Example with NgModule-based application
1652
+ * ```ts
1653
+ * function initializeApp(): Promise<any> {
1654
+ * const http = inject(HttpClient);
1655
+ * return firstValueFrom(
1656
+ * http
1657
+ * .get("https://someUrl.com/api/user")
1658
+ * .pipe(tap(user => { ... }))
1659
+ * );
1660
+ * }
1661
+ *
1662
+ * @NgModule({
1663
+ * imports: [BrowserModule],
1664
+ * declarations: [AppComponent],
1665
+ * bootstrap: [AppComponent],
1666
+ * providers: [{
1667
+ * provide: APP_INITIALIZER,
1668
+ * useValue: initializeApp,
1669
+ * multi: true,
1670
+ * }]
1671
+ * })
1672
+ * export class AppModule {}
1673
+ * ```
1674
+ *
1675
+ * ### Example with standalone application
1676
+ * ```ts
1677
+ * function initializeApp() {
1678
+ * const http = inject(HttpClient);
1679
+ * return firstValueFrom(
1680
+ * http
1681
+ * .get("https://someUrl.com/api/user")
1682
+ * .pipe(tap(user => { ... }))
1683
+ * );
1684
+ * }
1685
+ *
1686
+ * bootstrapApplication(App, {
1687
+ * providers: [
1688
+ * provideHttpClient(),
1689
+ * {
1690
+ * provide: APP_INITIALIZER,
1691
+ * useValue: initializeApp,
1692
+ * multi: true,
1693
+ * },
1694
+ * ],
1695
+ * });
1696
+
1697
+ * ```
1698
+ *
1699
+ *
1700
+ * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function
1701
+ * returning an observable, see an example below. Note: the `HttpClient` in this example is used for
1702
+ * demo purposes to illustrate how the factory function can work with other providers available
1703
+ * through DI.
1704
+ *
1705
+ * ### Example with NgModule-based application
1706
+ * ```ts
1707
+ * function initializeApp() {
1708
+ * const http = inject(HttpClient);
1709
+ * return firstValueFrom(
1710
+ * http
1711
+ * .get("https://someUrl.com/api/user")
1712
+ * .pipe(tap(user => { ... }))
1713
+ * );
1714
+ * }
1715
+ *
1716
+ * @NgModule({
1717
+ * imports: [BrowserModule, HttpClientModule],
1718
+ * declarations: [AppComponent],
1719
+ * bootstrap: [AppComponent],
1720
+ * providers: [{
1721
+ * provide: APP_INITIALIZER,
1722
+ * useValue: initializeApp,
1723
+ * multi: true,
1724
+ * }]
1725
+ * })
1726
+ * export class AppModule {}
1727
+ * ```
1728
+ *
1729
+ * ### Example with standalone application
1730
+ * ```ts
1731
+ * function initializeApp() {
1732
+ * const http = inject(HttpClient);
1733
+ * return firstValueFrom(
1734
+ * http
1735
+ * .get("https://someUrl.com/api/user")
1736
+ * .pipe(tap(user => { ... }))
1737
+ * );
1738
+ * }
1739
+ *
1740
+ * bootstrapApplication(App, {
1741
+ * providers: [
1742
+ * provideHttpClient(),
1743
+ * {
1744
+ * provide: APP_INITIALIZER,
1745
+ * useValue: initializeApp,
1746
+ * multi: true,
1747
+ * },
1748
+ * ],
1749
+ * });
1750
+ * ```
1751
+ *
1752
+ * @publicApi
1753
+ */
1754
+ declare const APP_INITIALIZER: InjectionToken<readonly (() => Observable<unknown> | Promise<unknown> | void)[]>;
1755
+ /**
1756
+ * @description
1757
+ * The provided function is injected at application startup and executed during
1758
+ * app initialization. If the function returns a Promise or an Observable, initialization
1759
+ * does not complete until the Promise is resolved or the Observable is completed.
1760
+ *
1761
+ * You can, for example, create a function that loads language data
1762
+ * or an external configuration, and provide that function using `provideAppInitializer()`.
1763
+ * The function is executed during the application bootstrap process,
1764
+ * and the needed data is available on startup.
1765
+ *
1766
+ * Note that the provided initializer is run in the injection context.
1767
+ *
1768
+ * Previously, this was achieved using the `APP_INITIALIZER` token which is now deprecated.
1769
+ *
1770
+ * @see {@link APP_INITIALIZER}
1771
+ *
1772
+ * @usageNotes
1773
+ * The following example illustrates how to configure an initialization function using
1774
+ * `provideAppInitializer()`
1775
+ * ```ts
1776
+ * bootstrapApplication(App, {
1777
+ * providers: [
1778
+ * provideAppInitializer(() => {
1779
+ * const http = inject(HttpClient);
1780
+ * return firstValueFrom(
1781
+ * http
1782
+ * .get("https://someUrl.com/api/user")
1783
+ * .pipe(tap(user => { ... }))
1784
+ * );
1785
+ * }),
1786
+ * provideHttpClient(),
1787
+ * ],
1788
+ * });
1789
+ * ```
1790
+ *
1791
+ * @publicApi
1792
+ */
1793
+ declare function provideAppInitializer(initializerFn: () => Observable<unknown> | Promise<unknown> | void): EnvironmentProviders;
1794
+ /**
1795
+ * A class that reflects the state of running {@link APP_INITIALIZER} functions.
1796
+ *
1797
+ * @publicApi
1798
+ */
1799
+ declare class ApplicationInitStatus {
1800
+ private resolve;
1801
+ private reject;
1802
+ private initialized;
1803
+ readonly done = false;
1804
+ readonly donePromise: Promise<any>;
1805
+ private readonly appInits;
1806
+ private readonly injector;
1807
+ constructor();
1808
+ static ɵfac: __FactoryDeclaration<ApplicationInitStatus, never>;
1809
+ static ɵprov: __InjectableDeclaration<ApplicationInitStatus>;
1810
+ }
1811
+
1575
1812
  /**
1576
1813
  * A type describing supported iterable types.
1577
1814
  *
@@ -2403,592 +2640,61 @@ declare function afterRenderEffect(callback: (onCleanup: EffectCleanupRegisterFn
2403
2640
  *
2404
2641
  * </div>
2405
2642
  *
2406
- * Note that:
2407
- * - Effects run in the following phase order, only when dirty through signal dependencies:
2408
- * 1. `earlyRead`
2409
- * 2. `write`
2410
- * 3. `mixedReadWrite`
2411
- * 4. `read`
2412
- * - `afterRenderEffect`s in the same phase run in the order they are registered.
2413
- * - `afterRenderEffect`s run on browser platforms only, they will not run on the server.
2414
- * - `afterRenderEffect`s will run at least once.
2415
- *
2416
- * The first phase callback to run as part of this spec will receive no parameters. Each
2417
- * subsequent phase callback in this spec will receive the return value of the previously run
2418
- * phase callback as a `Signal`. This can be used to coordinate work across multiple phases.
2419
- *
2420
- * Angular is unable to verify or enforce that phases are used correctly, and instead
2421
- * relies on each developer to follow the guidelines documented for each value and
2422
- * carefully choose the appropriate one, refactoring their code if necessary. By doing
2423
- * so, Angular is better able to minimize the performance degradation associated with
2424
- * manual DOM access, ensuring the best experience for the end users of your application
2425
- * or library.
2426
- *
2427
- * <div class="docs-alert docs-alert-important">
2428
- *
2429
- * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
2430
- * You must use caution when directly reading or writing the DOM and layout.
2431
- *
2432
- * </div>
2433
- *
2434
- * @param spec The effect functions to register
2435
- * @param options Options to control the behavior of the effects
2436
- *
2437
- * @usageNotes
2438
- *
2439
- * Use `afterRenderEffect` to create effects that will read or write from the DOM and thus should
2440
- * run after rendering.
2441
- *
2442
- * @publicApi
2443
- */
2444
- declare function afterRenderEffect<E = never, W = never, M = never>(spec: {
2445
- earlyRead?: (onCleanup: EffectCleanupRegisterFn) => E;
2446
- write?: (...args: [...ɵFirstAvailableSignal<[E]>, EffectCleanupRegisterFn]) => W;
2447
- mixedReadWrite?: (...args: [...ɵFirstAvailableSignal<[W, E]>, EffectCleanupRegisterFn]) => M;
2448
- read?: (...args: [...ɵFirstAvailableSignal<[M, W, E]>, EffectCleanupRegisterFn]) => void;
2449
- }, options?: AfterRenderOptions): AfterRenderRef;
2450
-
2451
- /**
2452
- * Asserts that the current stack frame is not within a reactive context. Useful
2453
- * to disallow certain code from running inside a reactive context (see {@link /api/core/rxjs-interop/toSignal toSignal})
2454
- *
2455
- * @param debugFn a reference to the function making the assertion (used for the error message).
2456
- * @see [Asserts the reactive context](guide/signals#asserts-the-reactive-context)
2457
- *
2458
- * @publicApi
2459
- */
2460
- declare function assertNotInReactiveContext(debugFn: Function, extraContext?: string): void;
2461
-
2462
- declare class ViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorRef {
2463
- /**
2464
- * This represents the `LView` associated with the point where `ChangeDetectorRef` was
2465
- * requested.
2466
- *
2467
- * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
2468
- */
2469
- private _cdRefInjectingView?;
2470
- private _appRef;
2471
- private _attachedToViewContainer;
2472
- private exhaustive?;
2473
- get rootNodes(): any[];
2474
- constructor(
2475
- /**
2476
- * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.
2477
- *
2478
- * When ViewRef is created for a dynamic component, this also represents the `LView` for the
2479
- * component.
2480
- *
2481
- * For a "regular" ViewRef created for an embedded view, this is the `LView` for the embedded
2482
- * view.
2483
- *
2484
- * @internal
2485
- */
2486
- _lView: LView,
2487
- /**
2488
- * This represents the `LView` associated with the point where `ChangeDetectorRef` was
2489
- * requested.
2490
- *
2491
- * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
2492
- */
2493
- _cdRefInjectingView?: LView | undefined);
2494
- get context(): T;
2495
- /**
2496
- * @deprecated Replacing the full context object is not supported. Modify the context
2497
- * directly, or consider using a `Proxy` if you need to replace the full object.
2498
- * // TODO(devversion): Remove this.
2499
- */
2500
- set context(value: T);
2501
- get destroyed(): boolean;
2502
- destroy(): void;
2503
- onDestroy(callback: Function): void;
2504
- /**
2505
- * Marks a view and all of its ancestors dirty.
2506
- *
2507
- * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush} component is
2508
- * checked when it needs to be re-rendered but the two normal triggers haven't marked it
2509
- * dirty (i.e. inputs haven't changed and events haven't fired in the view).
2510
- *
2511
- * <!-- TODO: Add a link to a chapter on OnPush components -->
2512
- *
2513
- * @usageNotes
2514
- * ### Example
2515
- *
2516
- * ```ts
2517
- * @Component({
2518
- * selector: 'app-root',
2519
- * template: `Number of ticks: {{numberOfTicks}}`
2520
- * })
2521
- * class AppComponent {
2522
- * numberOfTicks = 0;
2523
- *
2524
- * constructor(private ref: ChangeDetectorRef) {
2525
- * setInterval(() => {
2526
- * this.numberOfTicks++;
2527
- * // the following is required, otherwise the view will not be updated
2528
- * this.ref.markForCheck();
2529
- * }, 1000);
2530
- * }
2531
- * }
2532
- * ```
2533
- */
2534
- markForCheck(): void;
2535
- /**
2536
- * Detaches the view from the change detection tree.
2537
- *
2538
- * Detached views will not be checked during change detection runs until they are
2539
- * re-attached, even if they are dirty. `detach` can be used in combination with
2540
- * {@link ChangeDetectorRef#detectChanges} to implement local change
2541
- * detection checks.
2542
- *
2543
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
2544
- * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
2545
- *
2546
- * @usageNotes
2547
- * ### Example
2548
- *
2549
- * The following example defines a component with a large list of readonly data.
2550
- * Imagine the data changes constantly, many times per second. For performance reasons,
2551
- * we want to check and update the list every five seconds. We can do that by detaching
2552
- * the component's change detector and doing a local check every five seconds.
2553
- *
2554
- * ```ts
2555
- * class DataProvider {
2556
- * // in a real application the returned data will be different every time
2557
- * get data() {
2558
- * return [1,2,3,4,5];
2559
- * }
2560
- * }
2561
- *
2562
- * @Component({
2563
- * selector: 'giant-list',
2564
- * template: `
2565
- * @for(d of dataProvider.data; track $index) {
2566
- * <li>Data {{d}}</li>
2567
- * }
2568
- * `,
2569
- * })
2570
- * class GiantList {
2571
- * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {
2572
- * ref.detach();
2573
- * setInterval(() => {
2574
- * this.ref.detectChanges();
2575
- * }, 5000);
2576
- * }
2577
- * }
2578
- *
2579
- * @Component({
2580
- * selector: 'app',
2581
- * providers: [DataProvider],
2582
- * template: `
2583
- * <giant-list><giant-list>
2584
- * `,
2585
- * })
2586
- * class App {
2587
- * }
2588
- * ```
2589
- */
2590
- detach(): void;
2591
- /**
2592
- * Re-attaches a view to the change detection tree.
2593
- *
2594
- * This can be used to re-attach views that were previously detached from the tree
2595
- * using {@link ChangeDetectorRef#detach}. Views are attached to the tree by default.
2596
- *
2597
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
2598
- *
2599
- * @usageNotes
2600
- * ### Example
2601
- *
2602
- * The following example creates a component displaying `live` data. The component will detach
2603
- * its change detector from the main change detector tree when the component's live property
2604
- * is set to false.
2605
- *
2606
- * ```ts
2607
- * class DataProvider {
2608
- * data = 1;
2609
- *
2610
- * constructor() {
2611
- * setInterval(() => {
2612
- * this.data = this.data * 2;
2613
- * }, 500);
2614
- * }
2615
- * }
2616
- *
2617
- * @Component({
2618
- * selector: 'live-data',
2619
- * inputs: ['live'],
2620
- * template: 'Data: {{dataProvider.data}}'
2621
- * })
2622
- * class LiveData {
2623
- * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}
2624
- *
2625
- * set live(value) {
2626
- * if (value) {
2627
- * this.ref.reattach();
2628
- * } else {
2629
- * this.ref.detach();
2630
- * }
2631
- * }
2632
- * }
2633
- *
2634
- * @Component({
2635
- * selector: 'app-root',
2636
- * providers: [DataProvider],
2637
- * template: `
2638
- * Live Update: <input type="checkbox" [(ngModel)]="live">
2639
- * <live-data [live]="live"><live-data>
2640
- * `,
2641
- * })
2642
- * class AppComponent {
2643
- * live = true;
2644
- * }
2645
- * ```
2646
- */
2647
- reattach(): void;
2648
- /**
2649
- * Checks the view and its children.
2650
- *
2651
- * This can also be used in combination with {@link ChangeDetectorRef#detach} to implement
2652
- * local change detection checks.
2653
- *
2654
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
2655
- * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
2656
- *
2657
- * @usageNotes
2658
- * ### Example
2659
- *
2660
- * The following example defines a component with a large list of readonly data.
2661
- * Imagine, the data changes constantly, many times per second. For performance reasons,
2662
- * we want to check and update the list every five seconds.
2663
- *
2664
- * We can do that by detaching the component's change detector and doing a local change detection
2665
- * check every five seconds.
2666
- *
2667
- * See {@link ChangeDetectorRef#detach} for more information.
2668
- */
2669
- detectChanges(): void;
2670
- /**
2671
- * Checks the change detector and its children, and throws if any changes are detected.
2672
- *
2673
- * This is used in development mode to verify that running change detection doesn't
2674
- * introduce other changes.
2675
- */
2676
- checkNoChanges(): void;
2677
- attachToViewContainerRef(): void;
2678
- detachFromAppRef(): void;
2679
- attachToAppRef(appRef: ApplicationRef): void;
2680
- }
2681
- /**
2682
- * Reports whether the given view is considered dirty according to the different marking mechanisms.
2683
- */
2684
- declare function isViewDirty(view: ViewRef<unknown>): boolean;
2685
- declare function markForRefresh(view: ViewRef<unknown>): void;
2686
-
2687
- declare class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
2688
- private ngModule?;
2689
- /**
2690
- * @param ngModule The NgModuleRef to which all resolved factories are bound.
2691
- */
2692
- constructor(ngModule?: NgModuleRef$1<any> | undefined);
2693
- resolveComponentFactory<T>(component: Type$1<T>): ComponentFactory$1<T>;
2694
- }
2695
- /**
2696
- * Infers the tag name that should be used for a component based on its definition.
2697
- * @param componentDef Definition for which to resolve the tag name.
2698
- */
2699
- declare function inferTagNameFromDefinition(componentDef: ComponentDef<unknown>): string;
2700
- /**
2701
- * ComponentFactory interface implementation.
2702
- */
2703
- declare class ComponentFactory<T> extends ComponentFactory$1<T> {
2704
- private componentDef;
2705
- private ngModule?;
2706
- selector: string;
2707
- componentType: Type$1<any>;
2708
- ngContentSelectors: string[];
2709
- isBoundToModule: boolean;
2710
- private cachedInputs;
2711
- private cachedOutputs;
2712
- get inputs(): {
2713
- propName: string;
2714
- templateName: string;
2715
- isSignal: boolean;
2716
- transform?: (value: any) => any;
2717
- }[];
2718
- get outputs(): {
2719
- propName: string;
2720
- templateName: string;
2721
- }[];
2722
- /**
2723
- * @param componentDef The component definition.
2724
- * @param ngModule The NgModuleRef to which the factory is bound.
2725
- */
2726
- constructor(componentDef: ComponentDef<any>, ngModule?: NgModuleRef$1<any> | undefined);
2727
- create(injector: Injector, projectableNodes?: any[][] | undefined, rootSelectorOrNode?: any, environmentInjector?: NgModuleRef$1<any> | EnvironmentInjector | undefined, directives?: (Type$1<unknown> | DirectiveWithBindings<unknown>)[], componentBindings?: Binding[]): ComponentRef$1<T>;
2728
- private createComponentRef;
2729
- }
2730
- /**
2731
- * Represents an instance of a Component created via a {@link ComponentFactory}.
2732
- *
2733
- * `ComponentRef` provides access to the Component Instance as well other objects related to this
2734
- * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}
2735
- * method.
2736
- *
2737
- */
2738
- declare class ComponentRef<T> extends ComponentRef$1<T> {
2739
- private readonly _rootLView;
2740
- private readonly _hasInputBindings;
2741
- instance: T;
2742
- hostView: ViewRef<T>;
2743
- changeDetectorRef: ChangeDetectorRef;
2744
- componentType: Type$1<T>;
2745
- location: ElementRef;
2746
- private previousInputValues;
2747
- private _tNode;
2748
- constructor(componentType: Type$1<T>, _rootLView: LView, _hasInputBindings: boolean);
2749
- setInput(name: string, value: unknown): void;
2750
- get injector(): Injector;
2751
- destroy(): void;
2752
- onDestroy(callback: () => void): void;
2753
- }
2754
-
2755
- /**
2756
- * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
2757
- *
2758
- * @param ngModule NgModule class.
2759
- * @param parentInjector Optional injector instance to use as a parent for the module injector. If
2760
- * not provided, `NullInjector` will be used instead.
2761
- * @returns NgModuleRef that represents an NgModule instance.
2762
- *
2763
- * @publicApi
2764
- */
2765
- declare function createNgModule<T>(ngModule: Type$1<T>, parentInjector?: Injector): NgModuleRef$1<T>;
2766
- declare class NgModuleRef<T> extends NgModuleRef$1<T> implements InternalNgModuleRef<T> {
2767
- private readonly ngModuleType;
2768
- _parent: Injector | null;
2769
- _bootstrapComponents: Type$1<any>[];
2770
- private readonly _r3Injector;
2771
- instance: T;
2772
- destroyCbs: (() => void)[] | null;
2773
- readonly componentFactoryResolver: ComponentFactoryResolver;
2774
- constructor(ngModuleType: Type$1<T>, _parent: Injector | null, additionalProviders: Array<Provider | EnvironmentProviders>, runInjectorInitializers?: boolean);
2775
- resolveInjectorInitializers(): void;
2776
- get injector(): EnvironmentInjector;
2777
- destroy(): void;
2778
- onDestroy(callback: () => void): void;
2779
- }
2780
- declare class NgModuleFactory<T> extends NgModuleFactory$1<T> {
2781
- moduleType: Type$1<T>;
2782
- constructor(moduleType: Type$1<T>);
2783
- create(parentInjector: Injector | null): NgModuleRef$1<T>;
2784
- }
2785
- /**
2786
- * Create a new environment injector.
2787
- *
2788
- * @param providers An array of providers.
2789
- * @param parent A parent environment injector.
2790
- * @param debugName An optional name for this injector instance, which will be used in error
2791
- * messages.
2792
- *
2793
- * @publicApi
2794
- */
2795
- declare function createEnvironmentInjector(providers: Array<Provider | EnvironmentProviders>, parent: EnvironmentInjector, debugName?: string | null): EnvironmentInjector;
2796
-
2797
- /**
2798
- * Convince closure compiler that the wrapped function has no side-effects.
2799
- *
2800
- * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to
2801
- * allow us to execute a function but have closure compiler mark the call as no-side-effects.
2802
- * It is important that the return value for the `noSideEffects` function be assigned
2803
- * to something which is retained otherwise the call to `noSideEffects` will be removed by closure
2804
- * compiler.
2805
- */
2806
- declare function noSideEffects<T>(fn: () => T): T;
2807
-
2808
- /**
2809
- * A DI token that you can use to provide
2810
- * one or more initialization functions.
2811
- *
2812
- * The provided functions are injected at application startup and executed during
2813
- * app initialization. If any of these functions returns a Promise or an Observable, initialization
2814
- * does not complete until the Promise is resolved or the Observable is completed.
2815
- *
2816
- * You can, for example, create a factory function that loads language data
2817
- * or an external configuration, and provide that function to the `APP_INITIALIZER` token.
2818
- * The function is executed during the application bootstrap process,
2819
- * and the needed data is available on startup.
2820
- *
2821
- * Note that the provided initializer is run in the injection context.
2822
- *
2823
- * @deprecated from v19.0.0, use provideAppInitializer instead
2824
- *
2825
- * @see {@link ApplicationInitStatus}
2826
- * @see {@link provideAppInitializer}
2827
- *
2828
- * @usageNotes
2829
- *
2830
- * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token
2831
- * and a function returning a promise.
2832
- * ### Example with NgModule-based application
2833
- * ```ts
2834
- * function initializeApp(): Promise<any> {
2835
- * const http = inject(HttpClient);
2836
- * return firstValueFrom(
2837
- * http
2838
- * .get("https://someUrl.com/api/user")
2839
- * .pipe(tap(user => { ... }))
2840
- * );
2841
- * }
2842
- *
2843
- * @NgModule({
2844
- * imports: [BrowserModule],
2845
- * declarations: [AppComponent],
2846
- * bootstrap: [AppComponent],
2847
- * providers: [{
2848
- * provide: APP_INITIALIZER,
2849
- * useValue: initializeApp,
2850
- * multi: true,
2851
- * }]
2852
- * })
2853
- * export class AppModule {}
2854
- * ```
2855
- *
2856
- * ### Example with standalone application
2857
- * ```ts
2858
- * function initializeApp() {
2859
- * const http = inject(HttpClient);
2860
- * return firstValueFrom(
2861
- * http
2862
- * .get("https://someUrl.com/api/user")
2863
- * .pipe(tap(user => { ... }))
2864
- * );
2865
- * }
2866
- *
2867
- * bootstrapApplication(App, {
2868
- * providers: [
2869
- * provideHttpClient(),
2870
- * {
2871
- * provide: APP_INITIALIZER,
2872
- * useValue: initializeApp,
2873
- * multi: true,
2874
- * },
2875
- * ],
2876
- * });
2877
-
2878
- * ```
2879
- *
2880
- *
2881
- * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function
2882
- * returning an observable, see an example below. Note: the `HttpClient` in this example is used for
2883
- * demo purposes to illustrate how the factory function can work with other providers available
2884
- * through DI.
2885
- *
2886
- * ### Example with NgModule-based application
2887
- * ```ts
2888
- * function initializeApp() {
2889
- * const http = inject(HttpClient);
2890
- * return firstValueFrom(
2891
- * http
2892
- * .get("https://someUrl.com/api/user")
2893
- * .pipe(tap(user => { ... }))
2894
- * );
2895
- * }
2896
- *
2897
- * @NgModule({
2898
- * imports: [BrowserModule, HttpClientModule],
2899
- * declarations: [AppComponent],
2900
- * bootstrap: [AppComponent],
2901
- * providers: [{
2902
- * provide: APP_INITIALIZER,
2903
- * useValue: initializeApp,
2904
- * multi: true,
2905
- * }]
2906
- * })
2907
- * export class AppModule {}
2908
- * ```
2909
- *
2910
- * ### Example with standalone application
2911
- * ```ts
2912
- * function initializeApp() {
2913
- * const http = inject(HttpClient);
2914
- * return firstValueFrom(
2915
- * http
2916
- * .get("https://someUrl.com/api/user")
2917
- * .pipe(tap(user => { ... }))
2918
- * );
2919
- * }
2920
- *
2921
- * bootstrapApplication(App, {
2922
- * providers: [
2923
- * provideHttpClient(),
2924
- * {
2925
- * provide: APP_INITIALIZER,
2926
- * useValue: initializeApp,
2927
- * multi: true,
2928
- * },
2929
- * ],
2930
- * });
2931
- * ```
2643
+ * Note that:
2644
+ * - Effects run in the following phase order, only when dirty through signal dependencies:
2645
+ * 1. `earlyRead`
2646
+ * 2. `write`
2647
+ * 3. `mixedReadWrite`
2648
+ * 4. `read`
2649
+ * - `afterRenderEffect`s in the same phase run in the order they are registered.
2650
+ * - `afterRenderEffect`s run on browser platforms only, they will not run on the server.
2651
+ * - `afterRenderEffect`s will run at least once.
2932
2652
  *
2933
- * @publicApi
2934
- */
2935
- declare const APP_INITIALIZER: InjectionToken<readonly (() => Observable<unknown> | Promise<unknown> | void)[]>;
2936
- /**
2937
- * @description
2938
- * The provided function is injected at application startup and executed during
2939
- * app initialization. If the function returns a Promise or an Observable, initialization
2940
- * does not complete until the Promise is resolved or the Observable is completed.
2653
+ * The first phase callback to run as part of this spec will receive no parameters. Each
2654
+ * subsequent phase callback in this spec will receive the return value of the previously run
2655
+ * phase callback as a `Signal`. This can be used to coordinate work across multiple phases.
2941
2656
  *
2942
- * You can, for example, create a function that loads language data
2943
- * or an external configuration, and provide that function using `provideAppInitializer()`.
2944
- * The function is executed during the application bootstrap process,
2945
- * and the needed data is available on startup.
2657
+ * Angular is unable to verify or enforce that phases are used correctly, and instead
2658
+ * relies on each developer to follow the guidelines documented for each value and
2659
+ * carefully choose the appropriate one, refactoring their code if necessary. By doing
2660
+ * so, Angular is better able to minimize the performance degradation associated with
2661
+ * manual DOM access, ensuring the best experience for the end users of your application
2662
+ * or library.
2946
2663
  *
2947
- * Note that the provided initializer is run in the injection context.
2664
+ * <div class="docs-alert docs-alert-important">
2948
2665
  *
2949
- * Previously, this was achieved using the `APP_INITIALIZER` token which is now deprecated.
2666
+ * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
2667
+ * You must use caution when directly reading or writing the DOM and layout.
2950
2668
  *
2951
- * @see {@link APP_INITIALIZER}
2669
+ * </div>
2670
+ *
2671
+ * @param spec The effect functions to register
2672
+ * @param options Options to control the behavior of the effects
2952
2673
  *
2953
2674
  * @usageNotes
2954
- * The following example illustrates how to configure an initialization function using
2955
- * `provideAppInitializer()`
2956
- * ```ts
2957
- * bootstrapApplication(App, {
2958
- * providers: [
2959
- * provideAppInitializer(() => {
2960
- * const http = inject(HttpClient);
2961
- * return firstValueFrom(
2962
- * http
2963
- * .get("https://someUrl.com/api/user")
2964
- * .pipe(tap(user => { ... }))
2965
- * );
2966
- * }),
2967
- * provideHttpClient(),
2968
- * ],
2969
- * });
2970
- * ```
2675
+ *
2676
+ * Use `afterRenderEffect` to create effects that will read or write from the DOM and thus should
2677
+ * run after rendering.
2971
2678
  *
2972
2679
  * @publicApi
2973
2680
  */
2974
- declare function provideAppInitializer(initializerFn: () => Observable<unknown> | Promise<unknown> | void): EnvironmentProviders;
2681
+ declare function afterRenderEffect<E = never, W = never, M = never>(spec: {
2682
+ earlyRead?: (onCleanup: EffectCleanupRegisterFn) => E;
2683
+ write?: (...args: [...ɵFirstAvailableSignal<[E]>, EffectCleanupRegisterFn]) => W;
2684
+ mixedReadWrite?: (...args: [...ɵFirstAvailableSignal<[W, E]>, EffectCleanupRegisterFn]) => M;
2685
+ read?: (...args: [...ɵFirstAvailableSignal<[M, W, E]>, EffectCleanupRegisterFn]) => void;
2686
+ }, options?: AfterRenderOptions): AfterRenderRef;
2687
+
2975
2688
  /**
2976
- * A class that reflects the state of running {@link APP_INITIALIZER} functions.
2689
+ * Asserts that the current stack frame is not within a reactive context. Useful
2690
+ * to disallow certain code from running inside a reactive context (see {@link /api/core/rxjs-interop/toSignal toSignal})
2691
+ *
2692
+ * @param debugFn a reference to the function making the assertion (used for the error message).
2693
+ * @see [Asserts the reactive context](guide/signals#asserts-the-reactive-context)
2977
2694
  *
2978
2695
  * @publicApi
2979
2696
  */
2980
- declare class ApplicationInitStatus {
2981
- private resolve;
2982
- private reject;
2983
- private initialized;
2984
- readonly done = false;
2985
- readonly donePromise: Promise<any>;
2986
- private readonly appInits;
2987
- private readonly injector;
2988
- constructor();
2989
- static ɵfac: __FactoryDeclaration<ApplicationInitStatus, never>;
2990
- static ɵprov: __InjectableDeclaration<ApplicationInitStatus>;
2991
- }
2697
+ declare function assertNotInReactiveContext(debugFn: Function, extraContext?: string): void;
2992
2698
 
2993
2699
  /**
2994
2700
  * Re-exported by `BrowserModule`, which is included automatically in the root
@@ -3823,27 +3529,6 @@ declare abstract class ViewContainerRef {
3823
3529
  directives?: (Type$1<unknown> | DirectiveWithBindings<unknown>)[];
3824
3530
  bindings?: Binding[];
3825
3531
  }): ComponentRef$1<C>;
3826
- /**
3827
- * Instantiates a single component and inserts its host view into this container.
3828
- *
3829
- * @param componentFactory Component factory to use.
3830
- * @param index The index at which to insert the new component's host view into this container.
3831
- * If not specified, appends the new view as the last entry.
3832
- * @param injector The injector to use as the parent for the new component.
3833
- * @param projectableNodes List of DOM nodes that should be projected through
3834
- * [`<ng-content>`](api/core/ng-content) of the new component instance.
3835
- * @param ngModuleRef An instance of the NgModuleRef that represent an NgModule.
3836
- * This information is used to retrieve corresponding NgModule injector.
3837
- * @param directives Directives that should be applied to the component.
3838
- * @param bindings Bindings that should be applied to the component.
3839
- *
3840
- * @returns The new `ComponentRef` which contains the component instance and the host view.
3841
- *
3842
- * @deprecated Angular no longer requires component factories to dynamically create components.
3843
- * Use different signature of the `createComponent` method, which allows passing
3844
- * Component class directly.
3845
- */
3846
- abstract createComponent<C>(componentFactory: ComponentFactory$1<C>, index?: number, injector?: Injector, projectableNodes?: any[][], environmentInjector?: EnvironmentInjector | NgModuleRef$1<any>, directives?: (Type$1<unknown> | DirectiveWithBindings<unknown>)[], bindings?: Binding[]): ComponentRef$1<C>;
3847
3532
  /**
3848
3533
  * Inserts a view into this container.
3849
3534
  * @param viewRef The view to insert.
@@ -3964,6 +3649,38 @@ declare function setDocument(document: Document | undefined): void;
3964
3649
  */
3965
3650
  declare function getDocument(): Document;
3966
3651
 
3652
+ /** Token used to retrieve the `SharedStylesHost`. */
3653
+ declare const SHARED_STYLES_HOST: InjectionToken<SharedStylesHost>;
3654
+ /** Manages stylesheets for components in the application. */
3655
+ interface SharedStylesHost {
3656
+ /**
3657
+ * Adds embedded styles to the DOM via HTML `style` elements.
3658
+ * @param styles An array of style content strings.
3659
+ * @param urls An array of URLs to be added as link tags.
3660
+ */
3661
+ addStyles(styles: string[], urls?: string[]): void;
3662
+ /**
3663
+ * Removes embedded styles from the DOM that were added as HTML `style` elements.
3664
+ * @param styles An array of style content strings.
3665
+ * @param urls An array of URLs to be removed as link tags.
3666
+ */
3667
+ removeStyles(styles: string[], urls?: string[]): void;
3668
+ /**
3669
+ * Adds a host node to contain styles added to the DOM and adds all existing style usage to
3670
+ * the newly added host node.
3671
+ *
3672
+ * @param hostNode The node to contain styles added to the DOM.
3673
+ */
3674
+ addHost(hostNode: Node): void;
3675
+ /**
3676
+ * Removes a host node from the set of style hosts and removes all existing style usage from
3677
+ * the removed host node.
3678
+ *
3679
+ * @param hostNode The node to remove from the set of style hosts.
3680
+ */
3681
+ removeHost(hostNode: Node): void;
3682
+ }
3683
+
3967
3684
  /**
3968
3685
  * URL for the XSS security documentation.
3969
3686
  */
@@ -4068,7 +3785,6 @@ declare const enum RuntimeErrorCode {
4068
3785
  UNEXPECTED_ZONEJS_PRESENT_IN_ZONELESS_MODE = 914,
4069
3786
  MISSING_NG_MODULE_DEFINITION = 915,
4070
3787
  MISSING_DIRECTIVE_DEFINITION = 916,
4071
- NO_COMPONENT_FACTORY_FOUND = 917,
4072
3788
  EXTERNAL_RESOURCE_LOADING_FAILED = 918,
4073
3789
  DEF_TYPE_UNDEFINED = -919,
4074
3790
  NG_MODULE_ID_NOT_FOUND = 920,
@@ -4263,6 +3979,9 @@ declare function withI18nSupport(): Provider[];
4263
3979
  * Requires hydration to be enabled separately.
4264
3980
  * Enabling incremental hydration also enables event replay for the entire app.
4265
3981
  * @see [Incremental Hydration](guide/incremental-hydration#how-do-you-enable-incremental-hydration-in-angular)
3982
+ *
3983
+ * @deprecated Since v22.0.0, incremental hydration is enabled by default with `provideClientHydration`.
3984
+ * Intent to remove in v24.
4266
3985
  */
4267
3986
  declare function withIncrementalHydration(): Provider[];
4268
3987
 
@@ -5421,79 +5140,364 @@ interface WizComponentDebugMetadata extends BaseDirectiveDebugMetadata {
5421
5140
  framework: Framework.Wiz;
5422
5141
  props: Record<string, string>;
5423
5142
  }
5424
- /** All potential debug metadata types across all frameworks. */
5425
- type DirectiveDebugMetadata = AngularDirectiveDebugMetadata | AcxDirectiveDebugMetadata | AngularComponentDebugMetadata | AcxComponentDebugMetadata | WizComponentDebugMetadata;
5143
+ /** All potential debug metadata types across all frameworks. */
5144
+ type DirectiveDebugMetadata = AngularDirectiveDebugMetadata | AcxDirectiveDebugMetadata | AngularComponentDebugMetadata | AcxComponentDebugMetadata | WizComponentDebugMetadata;
5145
+ /**
5146
+ * Returns the debug (partial) metadata for a particular directive or component instance.
5147
+ * The function accepts an instance of a directive or component and returns the corresponding
5148
+ * metadata.
5149
+ *
5150
+ * @param directiveOrComponentInstance Instance of a directive or component
5151
+ * @returns metadata of the passed directive or component
5152
+ *
5153
+ * @publicApi
5154
+ */
5155
+ declare function getDirectiveMetadata(directiveOrComponentInstance: any): AngularComponentDebugMetadata | AngularDirectiveDebugMetadata | null;
5156
+ /**
5157
+ * Retrieves the host element of a component or directive instance.
5158
+ * The host element is the DOM element that matched the selector of the directive.
5159
+ *
5160
+ * @param componentOrDirective Component or directive instance for which the host
5161
+ * element should be retrieved.
5162
+ * @returns Host element of the target.
5163
+ *
5164
+ * @publicApi
5165
+ */
5166
+ declare function getHostElement(componentOrDirective: {}): Element;
5167
+ /**
5168
+ * Event listener configuration returned from `getListeners`.
5169
+ * @publicApi
5170
+ */
5171
+ interface Listener {
5172
+ /** Name of the event listener. */
5173
+ name: string;
5174
+ /** Element that the listener is bound to. */
5175
+ element: Element;
5176
+ /** Callback that is invoked when the event is triggered. */
5177
+ callback: (value: any) => any;
5178
+ /** Whether the listener is using event capturing. */
5179
+ useCapture: boolean;
5180
+ /**
5181
+ * Type of the listener (e.g. a native DOM event or a custom @Output).
5182
+ */
5183
+ type: 'dom' | 'output';
5184
+ }
5185
+ /**
5186
+ * Retrieves a list of event listeners associated with a DOM element. The list does include host
5187
+ * listeners, but it does not include event listeners defined outside of the Angular context
5188
+ * (e.g. through `addEventListener`).
5189
+ *
5190
+ * @usageNotes
5191
+ * Given the following DOM structure:
5192
+ *
5193
+ * ```html
5194
+ * <app-root>
5195
+ * <div (click)="doSomething()"></div>
5196
+ * </app-root>
5197
+ * ```
5198
+ *
5199
+ * Calling `getListeners` on `<div>` will return an object that looks as follows:
5200
+ *
5201
+ * ```ts
5202
+ * {
5203
+ * name: 'click',
5204
+ * element: <div>,
5205
+ * callback: () => doSomething(),
5206
+ * useCapture: false
5207
+ * }
5208
+ * ```
5209
+ *
5210
+ * @param element Element for which the DOM listeners should be retrieved.
5211
+ * @returns Array of event listeners on the DOM element.
5212
+ *
5213
+ * @publicApi
5214
+ */
5215
+ declare function getListeners(element: Element): Listener[];
5216
+
5217
+ declare class ViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorRef {
5218
+ /**
5219
+ * This represents the `LView` associated with the point where `ChangeDetectorRef` was
5220
+ * requested.
5221
+ *
5222
+ * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
5223
+ */
5224
+ private _cdRefInjectingView?;
5225
+ private _appRef;
5226
+ private _attachedToViewContainer;
5227
+ private exhaustive?;
5228
+ get rootNodes(): any[];
5229
+ constructor(
5230
+ /**
5231
+ * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.
5232
+ *
5233
+ * When ViewRef is created for a dynamic component, this also represents the `LView` for the
5234
+ * component.
5235
+ *
5236
+ * For a "regular" ViewRef created for an embedded view, this is the `LView` for the embedded
5237
+ * view.
5238
+ *
5239
+ * @internal
5240
+ */
5241
+ _lView: LView,
5242
+ /**
5243
+ * This represents the `LView` associated with the point where `ChangeDetectorRef` was
5244
+ * requested.
5245
+ *
5246
+ * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
5247
+ */
5248
+ _cdRefInjectingView?: LView | undefined);
5249
+ get context(): T;
5250
+ /**
5251
+ * @deprecated Replacing the full context object is not supported. Modify the context
5252
+ * directly, or consider using a `Proxy` if you need to replace the full object.
5253
+ * // TODO(devversion): Remove this.
5254
+ */
5255
+ set context(value: T);
5256
+ get destroyed(): boolean;
5257
+ destroy(): void;
5258
+ onDestroy(callback: Function): void;
5259
+ /**
5260
+ * Marks a view and all of its ancestors dirty.
5261
+ *
5262
+ * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush} component is
5263
+ * checked when it needs to be re-rendered but the two normal triggers haven't marked it
5264
+ * dirty (i.e. inputs haven't changed and events haven't fired in the view).
5265
+ *
5266
+ * <!-- TODO: Add a link to a chapter on OnPush components -->
5267
+ *
5268
+ * @usageNotes
5269
+ * ### Example
5270
+ *
5271
+ * ```ts
5272
+ * @Component({
5273
+ * selector: 'app-root',
5274
+ * template: `Number of ticks: {{numberOfTicks}}`
5275
+ * })
5276
+ * class AppComponent {
5277
+ * numberOfTicks = 0;
5278
+ *
5279
+ * constructor(private ref: ChangeDetectorRef) {
5280
+ * setInterval(() => {
5281
+ * this.numberOfTicks++;
5282
+ * // the following is required, otherwise the view will not be updated
5283
+ * this.ref.markForCheck();
5284
+ * }, 1000);
5285
+ * }
5286
+ * }
5287
+ * ```
5288
+ */
5289
+ markForCheck(): void;
5290
+ /**
5291
+ * Detaches the view from the change detection tree.
5292
+ *
5293
+ * Detached views will not be checked during change detection runs until they are
5294
+ * re-attached, even if they are dirty. `detach` can be used in combination with
5295
+ * {@link ChangeDetectorRef#detectChanges} to implement local change
5296
+ * detection checks.
5297
+ *
5298
+ * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
5299
+ * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
5300
+ *
5301
+ * @usageNotes
5302
+ * ### Example
5303
+ *
5304
+ * The following example defines a component with a large list of readonly data.
5305
+ * Imagine the data changes constantly, many times per second. For performance reasons,
5306
+ * we want to check and update the list every five seconds. We can do that by detaching
5307
+ * the component's change detector and doing a local check every five seconds.
5308
+ *
5309
+ * ```ts
5310
+ * class DataProvider {
5311
+ * // in a real application the returned data will be different every time
5312
+ * get data() {
5313
+ * return [1,2,3,4,5];
5314
+ * }
5315
+ * }
5316
+ *
5317
+ * @Component({
5318
+ * selector: 'giant-list',
5319
+ * template: `
5320
+ * @for(d of dataProvider.data; track $index) {
5321
+ * <li>Data {{d}}</li>
5322
+ * }
5323
+ * `,
5324
+ * })
5325
+ * class GiantList {
5326
+ * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {
5327
+ * ref.detach();
5328
+ * setInterval(() => {
5329
+ * this.ref.detectChanges();
5330
+ * }, 5000);
5331
+ * }
5332
+ * }
5333
+ *
5334
+ * @Component({
5335
+ * selector: 'app',
5336
+ * providers: [DataProvider],
5337
+ * template: `
5338
+ * <giant-list><giant-list>
5339
+ * `,
5340
+ * })
5341
+ * class App {
5342
+ * }
5343
+ * ```
5344
+ */
5345
+ detach(): void;
5346
+ /**
5347
+ * Re-attaches a view to the change detection tree.
5348
+ *
5349
+ * This can be used to re-attach views that were previously detached from the tree
5350
+ * using {@link ChangeDetectorRef#detach}. Views are attached to the tree by default.
5351
+ *
5352
+ * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
5353
+ *
5354
+ * @usageNotes
5355
+ * ### Example
5356
+ *
5357
+ * The following example creates a component displaying `live` data. The component will detach
5358
+ * its change detector from the main change detector tree when the component's live property
5359
+ * is set to false.
5360
+ *
5361
+ * ```ts
5362
+ * class DataProvider {
5363
+ * data = 1;
5364
+ *
5365
+ * constructor() {
5366
+ * setInterval(() => {
5367
+ * this.data = this.data * 2;
5368
+ * }, 500);
5369
+ * }
5370
+ * }
5371
+ *
5372
+ * @Component({
5373
+ * selector: 'live-data',
5374
+ * inputs: ['live'],
5375
+ * template: 'Data: {{dataProvider.data}}'
5376
+ * })
5377
+ * class LiveData {
5378
+ * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}
5379
+ *
5380
+ * set live(value) {
5381
+ * if (value) {
5382
+ * this.ref.reattach();
5383
+ * } else {
5384
+ * this.ref.detach();
5385
+ * }
5386
+ * }
5387
+ * }
5388
+ *
5389
+ * @Component({
5390
+ * selector: 'app-root',
5391
+ * providers: [DataProvider],
5392
+ * template: `
5393
+ * Live Update: <input type="checkbox" [(ngModel)]="live">
5394
+ * <live-data [live]="live"><live-data>
5395
+ * `,
5396
+ * })
5397
+ * class AppComponent {
5398
+ * live = true;
5399
+ * }
5400
+ * ```
5401
+ */
5402
+ reattach(): void;
5403
+ /**
5404
+ * Checks the view and its children.
5405
+ *
5406
+ * This can also be used in combination with {@link ChangeDetectorRef#detach} to implement
5407
+ * local change detection checks.
5408
+ *
5409
+ * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
5410
+ * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
5411
+ *
5412
+ * @usageNotes
5413
+ * ### Example
5414
+ *
5415
+ * The following example defines a component with a large list of readonly data.
5416
+ * Imagine, the data changes constantly, many times per second. For performance reasons,
5417
+ * we want to check and update the list every five seconds.
5418
+ *
5419
+ * We can do that by detaching the component's change detector and doing a local change detection
5420
+ * check every five seconds.
5421
+ *
5422
+ * See {@link ChangeDetectorRef#detach} for more information.
5423
+ */
5424
+ detectChanges(): void;
5425
+ /**
5426
+ * Checks the change detector and its children, and throws if any changes are detected.
5427
+ *
5428
+ * This is used in development mode to verify that running change detection doesn't
5429
+ * introduce other changes.
5430
+ */
5431
+ checkNoChanges(): void;
5432
+ attachToViewContainerRef(): void;
5433
+ detachFromAppRef(): void;
5434
+ attachToAppRef(appRef: ApplicationRef): void;
5435
+ }
5426
5436
  /**
5427
- * Returns the debug (partial) metadata for a particular directive or component instance.
5428
- * The function accepts an instance of a directive or component and returns the corresponding
5429
- * metadata.
5430
- *
5431
- * @param directiveOrComponentInstance Instance of a directive or component
5432
- * @returns metadata of the passed directive or component
5433
- *
5434
- * @publicApi
5437
+ * Reports whether the given view is considered dirty according to the different marking mechanisms.
5435
5438
  */
5436
- declare function getDirectiveMetadata(directiveOrComponentInstance: any): AngularComponentDebugMetadata | AngularDirectiveDebugMetadata | null;
5439
+ declare function isViewDirty(view: ViewRef<unknown>): boolean;
5440
+ declare function markForRefresh(view: ViewRef<unknown>): void;
5441
+
5437
5442
  /**
5438
- * Retrieves the host element of a component or directive instance.
5439
- * The host element is the DOM element that matched the selector of the directive.
5440
- *
5441
- * @param componentOrDirective Component or directive instance for which the host
5442
- * element should be retrieved.
5443
- * @returns Host element of the target.
5444
- *
5445
- * @publicApi
5443
+ * Infers the tag name that should be used for a component based on its definition.
5444
+ * @param componentDef Definition for which to resolve the tag name.
5446
5445
  */
5447
- declare function getHostElement(componentOrDirective: {}): Element;
5446
+ declare function inferTagNameFromDefinition(componentDef: ComponentDef<unknown>): string;
5448
5447
  /**
5449
- * Event listener configuration returned from `getListeners`.
5450
- * @publicApi
5448
+ * ComponentFactory interface implementation.
5451
5449
  */
5452
- interface Listener {
5453
- /** Name of the event listener. */
5454
- name: string;
5455
- /** Element that the listener is bound to. */
5456
- element: Element;
5457
- /** Callback that is invoked when the event is triggered. */
5458
- callback: (value: any) => any;
5459
- /** Whether the listener is using event capturing. */
5460
- useCapture: boolean;
5450
+ declare class ComponentFactory<T> {
5451
+ private componentDef;
5452
+ private ngModule?;
5453
+ selector: string;
5454
+ componentType: Type$1<any>;
5455
+ ngContentSelectors: string[];
5456
+ isBoundToModule: boolean;
5457
+ private cachedInputs;
5458
+ private cachedOutputs;
5459
+ get inputs(): {
5460
+ propName: string;
5461
+ templateName: string;
5462
+ isSignal: boolean;
5463
+ transform?: (value: any) => any;
5464
+ }[];
5465
+ get outputs(): {
5466
+ propName: string;
5467
+ templateName: string;
5468
+ }[];
5461
5469
  /**
5462
- * Type of the listener (e.g. a native DOM event or a custom @Output).
5470
+ * @param componentDef The component definition.
5471
+ * @param ngModule The NgModuleRef to which the factory is bound.
5463
5472
  */
5464
- type: 'dom' | 'output';
5473
+ constructor(componentDef: ComponentDef<any>, ngModule?: NgModuleRef$1<any> | undefined);
5474
+ create(injector: Injector, projectableNodes?: any[][] | undefined, rootSelectorOrNode?: any, environmentInjector?: NgModuleRef$1<any> | EnvironmentInjector | undefined, directives?: (Type$1<unknown> | DirectiveWithBindings<unknown>)[], componentBindings?: Binding[]): ComponentRef$1<T>;
5475
+ private createComponentRef;
5465
5476
  }
5466
5477
  /**
5467
- * Retrieves a list of event listeners associated with a DOM element. The list does include host
5468
- * listeners, but it does not include event listeners defined outside of the Angular context
5469
- * (e.g. through `addEventListener`).
5470
- *
5471
- * @usageNotes
5472
- * Given the following DOM structure:
5473
- *
5474
- * ```html
5475
- * <app-root>
5476
- * <div (click)="doSomething()"></div>
5477
- * </app-root>
5478
- * ```
5479
- *
5480
- * Calling `getListeners` on `<div>` will return an object that looks as follows:
5481
- *
5482
- * ```ts
5483
- * {
5484
- * name: 'click',
5485
- * element: <div>,
5486
- * callback: () => doSomething(),
5487
- * useCapture: false
5488
- * }
5489
- * ```
5478
+ * Represents an instance of a Component created via a {@link ComponentFactory}.
5490
5479
  *
5491
- * @param element Element for which the DOM listeners should be retrieved.
5492
- * @returns Array of event listeners on the DOM element.
5480
+ * `ComponentRef` provides access to the Component Instance as well other objects related to this
5481
+ * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}
5482
+ * method.
5493
5483
  *
5494
- * @publicApi
5495
5484
  */
5496
- declare function getListeners(element: Element): Listener[];
5485
+ declare class ComponentRef<T> extends ComponentRef$1<T> {
5486
+ private readonly _rootLView;
5487
+ private readonly _hasInputBindings;
5488
+ instance: T;
5489
+ hostView: ViewRef<T>;
5490
+ changeDetectorRef: ChangeDetectorRef;
5491
+ componentType: Type$1<T>;
5492
+ location: ElementRef;
5493
+ private previousInputValues;
5494
+ private _tNode;
5495
+ constructor(componentType: Type$1<T>, _rootLView: LView, _hasInputBindings: boolean);
5496
+ setInput(name: string, value: unknown): void;
5497
+ get injector(): Injector;
5498
+ destroy(): void;
5499
+ onDestroy(callback: () => void): void;
5500
+ }
5497
5501
 
5498
5502
  /**
5499
5503
  * @codeGenApi
@@ -9110,7 +9114,7 @@ declare const Attribute: AttributeDecorator;
9110
9114
  *
9111
9115
  * Reference to the current application is provided as a parameter.
9112
9116
  *
9113
- * See ["Bootstrapping"](guide/ngmodules/bootstrapping).
9117
+ * See ["Bootstrapping"](/guide/ngmodules/overview#bootstrapping-an-application).
9114
9118
  *
9115
9119
  * @usageNotes
9116
9120
  * The example below uses `ApplicationRef.bootstrap()` to render the
@@ -9432,6 +9436,8 @@ declare function reflectComponentType<C>(component: Type$1<C>): ComponentMirror<
9432
9436
  * @param options The options to use for the debounced signal.
9433
9437
  * @returns A resource representing the debounced signal.
9434
9438
  * @experimental 22.0
9439
+ *
9440
+ * @see [Debouncing signals with `debounced`](guide/signals/debounced)
9435
9441
  */
9436
9442
  declare function debounced<T>(source: () => T, wait: NoInfer<DebounceTimer<T>>, options?: NoInfer<DebouncedOptions<T>>): Resource<T>;
9437
9443
 
@@ -9487,5 +9493,5 @@ declare class Version {
9487
9493
  */
9488
9494
  declare const VERSION: Version;
9489
9495
 
9490
- export { ANIMATION_MODULE_TYPE, APP_ID, APP_INITIALIZER, AbstractType, AfterRenderRef, AnimationFunction, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, Binding, CSP_NONCE, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, ChangeDetectorRef, ClassProvider, ClassSansProvider, CompilerOptions, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ConstructorProvider, ConstructorSansProvider, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DOCUMENT, DebounceTimer, DebouncedOptions, DefaultIterableDiffer, Directive, DirectiveWithBindings, ENVIRONMENT_INITIALIZER, EffectCleanupRegisterFn, ElementRef, EmbeddedViewRef, EnvironmentInjector, EnvironmentProviders, ErrorHandler, ExistingProvider, ExistingSansProvider, FactoryProvider, FactorySansProvider, HOST_TAG_NAME, Host, HostAttributeToken, INJECTOR, Inject, InjectOptions, Injectable, InjectionToken, Injector, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithProviders, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgZone, Optional, OutputRef, PLATFORM_ID, PLATFORM_INITIALIZER, PendingTasks, Pipe, PlatformRef, Provider, ProviderToken, Query, QueryList, REQUEST, REQUEST_CONTEXT, RESPONSE_INIT, Resource, ResourceOptions, ResourceParamsContext, ResourceRef, ResourceSnapshot, ResourceStatus, ResourceStreamItem, ResourceStreamingLoader, SchemaMetadata, Self, Signal, SimpleChange, SkipSelf, StaticClassProvider, StaticClassSansProvider, StaticProvider, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type$1 as Type, TypeDecorator, TypeProvider, VERSION, ValueEqualityFn, ValueProvider, ValueSansProvider, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef$1 as ViewRef, WritableResource, WritableSignal, afterEveryRender, afterNextRender, afterRenderEffect, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createPlatform, createPlatformFactory, debounced, destroyPlatform, enableProdMode, enableProfiling$1 as enableProfiling, forwardRef, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, linkedSignal, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, platformCore, provideAppInitializer, provideBrowserGlobalErrorListeners, provideCheckNoChangesConfig, provideEnvironmentInitializer, provideIdleServiceWith, provideNgReflectAttributes, providePlatformInitializer, provideStabilityDebugging, provideZoneChangeDetection, provideZonelessChangeDetection, reflectComponentType, resolveForwardRef, resource, resourceFromSnapshots, runInInjectionContext, setTestabilityGetter, untracked, viewChild, viewChildren, AcxChangeDetectionStrategy as ɵAcxChangeDetectionStrategy, AcxViewEncapsulation as ɵAcxViewEncapsulation, BypassType as ɵBypassType, CLIENT_RENDER_MODE_FLAG as ɵCLIENT_RENDER_MODE_FLAG, ComponentDef as ɵComponentDef, ComponentFactory$1 as ɵComponentFactory, ComponentType as ɵComponentType, Console as ɵConsole, ControlFlowBlockType as ɵControlFlowBlockType, CurrencyIndex as ɵCurrencyIndex, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, DEFER_BLOCK_CONFIG as ɵDEFER_BLOCK_CONFIG, DEFER_BLOCK_DEPENDENCY_INTERCEPTOR as ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR, DEHYDRATED_BLOCK_REGISTRY as ɵDEHYDRATED_BLOCK_REGISTRY, DeferBlockConfig as ɵDeferBlockConfig, DeferBlockDependencyInterceptor as ɵDeferBlockDependencyInterceptor, DeferBlockState as ɵDeferBlockState, DirectiveDef as ɵDirectiveDef, DirectiveType as ɵDirectiveType, ENABLE_ROOT_COMPONENT_BOOTSTRAP as ɵENABLE_ROOT_COMPONENT_BOOTSTRAP, EVENT_REPLAY_QUEUE as ɵEVENT_REPLAY_QUEUE, ExtraLocaleDataIndex as ɵExtraLocaleDataIndex, Framework as ɵFramework, HydrationStatus as ɵHydrationStatus, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, ɵINPUT_SIGNAL_BRAND_WRITE_TYPE, INTERNAL_APPLICATION_ERROR_HANDLER as ɵINTERNAL_APPLICATION_ERROR_HANDLER, IS_ENABLED_BLOCKING_INITIAL_NAVIGATION as ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATION_ENABLED, InputSignalNode as ɵInputSignalNode, JSACTION_BLOCK_ELEMENT_MAP as ɵJSACTION_BLOCK_ELEMENT_MAP, LContext as ɵLContext, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, PERFORMANCE_MARK_PREFIX as ɵPERFORMANCE_MARK_PREFIX, PROVIDED_NG_ZONE as ɵPROVIDED_NG_ZONE, PendingTasksInternal as ɵPendingTasksInternal, PipeDef as ɵPipeDef, ProfilerEvent as ɵProfilerEvent, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, ResourceImpl as ɵResourceImpl, RuntimeError as ɵRuntimeError, RuntimeErrorCode as ɵRuntimeErrorCode, SIGNAL as ɵSIGNAL, SSR_CONTENT_INTEGRITY_MARKER as ɵSSR_CONTENT_INTEGRITY_MARKER, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, TimerScheduler as ɵTimerScheduler, ViewRef as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allLeavingAnimations as ɵallLeavingAnimations, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, ɵassertType, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, createOrReusePlatformInjector as ɵcreateOrReusePlatformInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, depsTracker as ɵdepsTracker, devModeEqual as ɵdevModeEqual, disableProfiling as ɵdisableProfiling, enableProfiling as ɵenableProfiling, encapsulateResourceError as ɵencapsulateResourceError, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getClosestComponentName as ɵgetClosestComponentName, getComponentDef as ɵgetComponentDef, getDirectives as ɵgetDirectives, getDocument as ɵgetDocument, getHostElement as ɵgetHostElement, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, getTransferState as ɵgetTransferState, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, inferTagNameFromDefinition as ɵinferTagNameFromDefinition, internalCreateApplication as ɵinternalCreateApplication, internalProvideZoneChangeDetection as ɵinternalProvideZoneChangeDetection, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, isViewDirty as ɵisViewDirty, markForRefresh as ɵmarkForRefresh, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, promiseWithResolvers as ɵpromiseWithResolvers, provideZonelessChangeDetectionInternal as ɵprovideZonelessChangeDetectionInternal, publishExternalGlobalUtil as ɵpublishExternalGlobalUtil, readHydrationInfo as ɵreadHydrationInfo, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, resetIncrementalHydrationEnabledWarnedForTests as ɵresetIncrementalHydrationEnabledWarnedForTests, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, ɵsetClassDebugInfo, setClassMetadata as ɵsetClassMetadata, setClassMetadataAsync as ɵsetClassMetadataAsync, setDocument as ɵsetDocument, setInjectorProfilerContext as ɵsetInjectorProfilerContext, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, startMeasuring as ɵstartMeasuring, stopMeasuring as ɵstopMeasuring, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, triggerResourceLoading as ɵtriggerResourceLoading, truncateMiddle as ɵtruncateMiddle, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, withDomHydration as ɵwithDomHydration, withEventReplay as ɵwithEventReplay, withI18nSupport as ɵwithI18nSupport, withIncrementalHydration as ɵwithIncrementalHydration, ɵɵControlFeature, ɵɵExternalStylesFeature, __FactoryDeclaration as ɵɵFactoryDeclaration, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, __InjectableDeclaration as ɵɵInjectableDeclaration, __InjectorDeclaration as ɵɵInjectorDeclaration, __NgModuleDeclaration as ɵɵNgModuleDeclaration, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵanimateEnter, ɵɵanimateEnterListener, ɵɵanimateLeave, ɵɵanimateLeaveListener, ɵɵariaProperty, ɵɵarrowFunction, ɵɵattachSourceLocations, ɵɵattribute, ɵɵclassMap, ɵɵclassProp, ɵɵcomponentInstance, ɵɵconditional, ɵɵconditionalBranchCreate, ɵɵconditionalCreate, ɵɵcontentQuery, ɵɵcontentQuerySignal, ɵɵcontrol, ɵɵcontrolCreate, ɵɵdeclareLet, ɵɵdefer, ɵɵdeferEnableTimerScheduling, ɵɵdeferHydrateNever, ɵɵdeferHydrateOnHover, ɵɵdeferHydrateOnIdle, ɵɵdeferHydrateOnImmediate, ɵɵdeferHydrateOnInteraction, ɵɵdeferHydrateOnTimer, ɵɵdeferHydrateOnViewport, ɵɵdeferHydrateWhen, ɵɵdeferOnHover, ɵɵdeferOnIdle, ɵɵdeferOnImmediate, ɵɵdeferOnInteraction, ɵɵdeferOnTimer, ɵɵdeferOnViewport, ɵɵdeferPrefetchOnHover, ɵɵdeferPrefetchOnIdle, ɵɵdeferPrefetchOnImmediate, ɵɵdeferPrefetchOnInteraction, ɵɵdeferPrefetchOnTimer, ɵɵdeferPrefetchOnViewport, ɵɵdeferPrefetchWhen, ɵɵdeferWhen, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵdomElement, ɵɵdomElementContainer, ɵɵdomElementContainerEnd, ɵɵdomElementContainerStart, ɵɵdomElementEnd, ɵɵdomElementStart, ɵɵdomListener, ɵɵdomProperty, ɵɵdomTemplate, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵgetReplaceMetadataURL, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinterpolate, ɵɵinterpolate1, ɵɵinterpolate2, ɵɵinterpolate3, ɵɵinterpolate4, ɵɵinterpolate5, ɵɵinterpolate6, ɵɵinterpolate7, ɵɵinterpolate8, ɵɵinterpolateV, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareClassMetadataAsync, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryAdvance, ɵɵqueryRefresh, ɵɵreadContextLet, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵrepeaterTrackByIndex, ɵɵreplaceMetadata, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstoreLet, ɵɵstyleMap, ɵɵstyleProp, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵvalidateAttribute, ɵɵviewQuery, ɵɵviewQuerySignal };
9491
- export type { AfterContentChecked, AfterContentInit, AfterRenderOptions, AfterViewChecked, AfterViewInit, ApplicationConfig, AttributeDecorator, ComponentMirror, ContentChildDecorator, ContentChildFunction, ContentChildrenDecorator, CreateComputedOptions, DoBootstrap, DoCheck, ForwardRefFn, GetTestability, HostDecorator, IdleService, ImportProvidersSource, InjectDecorator, InjectableDecorator, InjectableProvider, InputFunction, InputOptions, InputOptionsWithTransform, InputOptionsWithoutTransform, InputSignal, InputSignalWithTransform, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDifferFactory, KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory, ModelFunction, ModelOptions, ModelSignal, NgIterable, NgZoneOptions, OnChanges, OnDestroy, OnInit, OptionalDecorator, PipeTransform, ResponseInit, SelfDecorator, SimpleChanges, SkipSelfDecorator, StateKey, TrackByFunction, ViewChildDecorator, ViewChildFunction, ViewChildrenDecorator, AcxComponentDebugMetadata as ɵAcxComponentDebugMetadata, AcxDirectiveDebugMetadata as ɵAcxDirectiveDebugMetadata, AngularComponentDebugMetadata as ɵAngularComponentDebugMetadata, AngularDirectiveDebugMetadata as ɵAngularDirectiveDebugMetadata, BaseDirectiveDebugMetadata as ɵBaseDirectiveDebugMetadata, ControlFlowBlock as ɵControlFlowBlock, DeferBlockData as ɵDeferBlockData, DirectiveDebugMetadata as ɵDirectiveDebugMetadata, ɵFirstAvailable, ɵFirstAvailableSignal, ForLoopBlockData as ɵForLoopBlockData, FrameworkAgnosticGlobalUtils as ɵFrameworkAgnosticGlobalUtils, GlobalDevModeUtils as ɵGlobalDevModeUtils, HydratedNode as ɵHydratedNode, HydrationInfo as ɵHydrationInfo, ImageConfig as ɵImageConfig, InjectorProfilerContext as ɵInjectorProfilerContext, NgModuleDef as ɵNgModuleDef, NgModuleTransitiveScopes as ɵNgModuleTransitiveScopes, NgModuleType as ɵNgModuleType, Profiler as ɵProfiler, ProviderRecord as ɵProviderRecord, SafeHtml as ɵSafeHtml, SafeResourceUrl as ɵSafeResourceUrl, SafeScript as ɵSafeScript, SafeStyle as ɵSafeStyle, SafeUrl as ɵSafeUrl, SafeValue as ɵSafeValue, ɵUnwrapDirectiveSignalInputs, WizComponentDebugMetadata as ɵWizComponentDebugMetadata };
9496
+ export { ANIMATION_MODULE_TYPE, APP_ID, APP_INITIALIZER, AbstractType, AfterRenderRef, AnimationFunction, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, Binding, CSP_NONCE, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, ChangeDetectorRef, ClassProvider, ClassSansProvider, CompilerOptions, Component, ComponentRef$1 as ComponentRef, ConstructorProvider, ConstructorSansProvider, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DOCUMENT, DebounceTimer, DebouncedOptions, DefaultIterableDiffer, Directive, DirectiveWithBindings, ENVIRONMENT_INITIALIZER, EffectCleanupRegisterFn, ElementRef, EmbeddedViewRef, EnvironmentInjector, EnvironmentProviders, ErrorHandler, ExistingProvider, ExistingSansProvider, FactoryProvider, FactorySansProvider, HOST_TAG_NAME, Host, HostAttributeToken, INJECTOR, Inject, InjectOptions, Injectable, InjectionToken, Injector, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithProviders, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgZone, Optional, OutputRef, PLATFORM_ID, PLATFORM_INITIALIZER, PendingTasks, Pipe, PlatformRef, Provider, ProviderToken, Query, QueryList, REQUEST, REQUEST_CONTEXT, RESPONSE_INIT, Resource, ResourceOptions, ResourceParamsContext, ResourceRef, ResourceSnapshot, ResourceStatus, ResourceStreamItem, ResourceStreamingLoader, SchemaMetadata, Self, Signal, SimpleChange, SkipSelf, StaticClassProvider, StaticClassSansProvider, StaticProvider, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type$1 as Type, TypeDecorator, TypeProvider, VERSION, ValueEqualityFn, ValueProvider, ValueSansProvider, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef$1 as ViewRef, WritableResource, WritableSignal, afterEveryRender, afterNextRender, afterRenderEffect, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createPlatform, createPlatformFactory, debounced, destroyPlatform, enableProdMode, enableProfiling$1 as enableProfiling, forwardRef, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, linkedSignal, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, platformCore, provideAppInitializer, provideBrowserGlobalErrorListeners, provideCheckNoChangesConfig, provideEnvironmentInitializer, provideIdleServiceWith, provideNgReflectAttributes, providePlatformInitializer, provideStabilityDebugging, provideZoneChangeDetection, provideZonelessChangeDetection, reflectComponentType, resolveForwardRef, resource, resourceFromSnapshots, runInInjectionContext, setTestabilityGetter, untracked, viewChild, viewChildren, AcxChangeDetectionStrategy as ɵAcxChangeDetectionStrategy, AcxViewEncapsulation as ɵAcxViewEncapsulation, BypassType as ɵBypassType, CLIENT_RENDER_MODE_FLAG as ɵCLIENT_RENDER_MODE_FLAG, ComponentDef as ɵComponentDef, ComponentType as ɵComponentType, Console as ɵConsole, ControlFlowBlockType as ɵControlFlowBlockType, CurrencyIndex as ɵCurrencyIndex, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, DEFER_BLOCK_CONFIG as ɵDEFER_BLOCK_CONFIG, DEFER_BLOCK_DEPENDENCY_INTERCEPTOR as ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR, DEHYDRATED_BLOCK_REGISTRY as ɵDEHYDRATED_BLOCK_REGISTRY, DeferBlockConfig as ɵDeferBlockConfig, DeferBlockDependencyInterceptor as ɵDeferBlockDependencyInterceptor, DeferBlockState as ɵDeferBlockState, DirectiveDef as ɵDirectiveDef, DirectiveType as ɵDirectiveType, ENABLE_ROOT_COMPONENT_BOOTSTRAP as ɵENABLE_ROOT_COMPONENT_BOOTSTRAP, EVENT_REPLAY_QUEUE as ɵEVENT_REPLAY_QUEUE, ExtraLocaleDataIndex as ɵExtraLocaleDataIndex, Framework as ɵFramework, HydrationStatus as ɵHydrationStatus, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, ɵINPUT_SIGNAL_BRAND_WRITE_TYPE, INTERNAL_APPLICATION_ERROR_HANDLER as ɵINTERNAL_APPLICATION_ERROR_HANDLER, IS_ENABLED_BLOCKING_INITIAL_NAVIGATION as ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATION_ENABLED, InputSignalNode as ɵInputSignalNode, JSACTION_BLOCK_ELEMENT_MAP as ɵJSACTION_BLOCK_ELEMENT_MAP, LContext as ɵLContext, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, PERFORMANCE_MARK_PREFIX as ɵPERFORMANCE_MARK_PREFIX, PROVIDED_NG_ZONE as ɵPROVIDED_NG_ZONE, PendingTasksInternal as ɵPendingTasksInternal, PipeDef as ɵPipeDef, ProfilerEvent as ɵProfilerEvent, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, ResourceImpl as ɵResourceImpl, RuntimeError as ɵRuntimeError, RuntimeErrorCode as ɵRuntimeErrorCode, SHARED_STYLES_HOST as ɵSHARED_STYLES_HOST, SIGNAL as ɵSIGNAL, SSR_CONTENT_INTEGRITY_MARKER as ɵSSR_CONTENT_INTEGRITY_MARKER, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, TimerScheduler as ɵTimerScheduler, ViewRef as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allLeavingAnimations as ɵallLeavingAnimations, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, ɵassertType, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, createOrReusePlatformInjector as ɵcreateOrReusePlatformInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, depsTracker as ɵdepsTracker, devModeEqual as ɵdevModeEqual, disableProfiling as ɵdisableProfiling, enableProfiling as ɵenableProfiling, encapsulateResourceError as ɵencapsulateResourceError, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getClosestComponentName as ɵgetClosestComponentName, getComponentDef as ɵgetComponentDef, getDirectives as ɵgetDirectives, getDocument as ɵgetDocument, getHostElement as ɵgetHostElement, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, getTransferState as ɵgetTransferState, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, inferTagNameFromDefinition as ɵinferTagNameFromDefinition, internalCreateApplication as ɵinternalCreateApplication, internalProvideZoneChangeDetection as ɵinternalProvideZoneChangeDetection, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, isViewDirty as ɵisViewDirty, markForRefresh as ɵmarkForRefresh, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, promiseWithResolvers as ɵpromiseWithResolvers, provideZonelessChangeDetectionInternal as ɵprovideZonelessChangeDetectionInternal, publishExternalGlobalUtil as ɵpublishExternalGlobalUtil, readHydrationInfo as ɵreadHydrationInfo, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, resetIncrementalHydrationEnabledWarnedForTests as ɵresetIncrementalHydrationEnabledWarnedForTests, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, ɵsetClassDebugInfo, setClassMetadata as ɵsetClassMetadata, setClassMetadataAsync as ɵsetClassMetadataAsync, setDocument as ɵsetDocument, setInjectorProfilerContext as ɵsetInjectorProfilerContext, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, startMeasuring as ɵstartMeasuring, stopMeasuring as ɵstopMeasuring, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, triggerResourceLoading as ɵtriggerResourceLoading, truncateMiddle as ɵtruncateMiddle, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, withDomHydration as ɵwithDomHydration, withEventReplay as ɵwithEventReplay, withI18nSupport as ɵwithI18nSupport, withIncrementalHydration as ɵwithIncrementalHydration, ɵɵControlFeature, ɵɵExternalStylesFeature, __FactoryDeclaration as ɵɵFactoryDeclaration, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, __InjectableDeclaration as ɵɵInjectableDeclaration, __InjectorDeclaration as ɵɵInjectorDeclaration, __NgModuleDeclaration as ɵɵNgModuleDeclaration, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵanimateEnter, ɵɵanimateEnterListener, ɵɵanimateLeave, ɵɵanimateLeaveListener, ɵɵariaProperty, ɵɵarrowFunction, ɵɵattachSourceLocations, ɵɵattribute, ɵɵclassMap, ɵɵclassProp, ɵɵcomponentInstance, ɵɵconditional, ɵɵconditionalBranchCreate, ɵɵconditionalCreate, ɵɵcontentQuery, ɵɵcontentQuerySignal, ɵɵcontrol, ɵɵcontrolCreate, ɵɵdeclareLet, ɵɵdefer, ɵɵdeferEnableTimerScheduling, ɵɵdeferHydrateNever, ɵɵdeferHydrateOnHover, ɵɵdeferHydrateOnIdle, ɵɵdeferHydrateOnImmediate, ɵɵdeferHydrateOnInteraction, ɵɵdeferHydrateOnTimer, ɵɵdeferHydrateOnViewport, ɵɵdeferHydrateWhen, ɵɵdeferOnHover, ɵɵdeferOnIdle, ɵɵdeferOnImmediate, ɵɵdeferOnInteraction, ɵɵdeferOnTimer, ɵɵdeferOnViewport, ɵɵdeferPrefetchOnHover, ɵɵdeferPrefetchOnIdle, ɵɵdeferPrefetchOnImmediate, ɵɵdeferPrefetchOnInteraction, ɵɵdeferPrefetchOnTimer, ɵɵdeferPrefetchOnViewport, ɵɵdeferPrefetchWhen, ɵɵdeferWhen, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵdomElement, ɵɵdomElementContainer, ɵɵdomElementContainerEnd, ɵɵdomElementContainerStart, ɵɵdomElementEnd, ɵɵdomElementStart, ɵɵdomListener, ɵɵdomProperty, ɵɵdomTemplate, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵgetReplaceMetadataURL, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinterpolate, ɵɵinterpolate1, ɵɵinterpolate2, ɵɵinterpolate3, ɵɵinterpolate4, ɵɵinterpolate5, ɵɵinterpolate6, ɵɵinterpolate7, ɵɵinterpolate8, ɵɵinterpolateV, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareClassMetadataAsync, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryAdvance, ɵɵqueryRefresh, ɵɵreadContextLet, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵrepeaterTrackByIndex, ɵɵreplaceMetadata, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstoreLet, ɵɵstyleMap, ɵɵstyleProp, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵvalidateAttribute, ɵɵviewQuery, ɵɵviewQuerySignal };
9497
+ export type { AfterContentChecked, AfterContentInit, AfterRenderOptions, AfterViewChecked, AfterViewInit, ApplicationConfig, AttributeDecorator, ComponentMirror, ContentChildDecorator, ContentChildFunction, ContentChildrenDecorator, CreateComputedOptions, DoBootstrap, DoCheck, ForwardRefFn, GetTestability, HostDecorator, IdleService, ImportProvidersSource, InjectDecorator, InjectableDecorator, InjectableProvider, InputFunction, InputOptions, InputOptionsWithTransform, InputOptionsWithoutTransform, InputSignal, InputSignalWithTransform, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDifferFactory, KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory, ModelFunction, ModelOptions, ModelSignal, NgIterable, NgZoneOptions, OnChanges, OnDestroy, OnInit, OptionalDecorator, PipeTransform, ResponseInit, SelfDecorator, SimpleChanges, SkipSelfDecorator, StateKey, TrackByFunction, ViewChildDecorator, ViewChildFunction, ViewChildrenDecorator, AcxComponentDebugMetadata as ɵAcxComponentDebugMetadata, AcxDirectiveDebugMetadata as ɵAcxDirectiveDebugMetadata, AngularComponentDebugMetadata as ɵAngularComponentDebugMetadata, AngularDirectiveDebugMetadata as ɵAngularDirectiveDebugMetadata, BaseDirectiveDebugMetadata as ɵBaseDirectiveDebugMetadata, ControlFlowBlock as ɵControlFlowBlock, DeferBlockData as ɵDeferBlockData, DirectiveDebugMetadata as ɵDirectiveDebugMetadata, ɵFirstAvailable, ɵFirstAvailableSignal, ForLoopBlockData as ɵForLoopBlockData, FrameworkAgnosticGlobalUtils as ɵFrameworkAgnosticGlobalUtils, GlobalDevModeUtils as ɵGlobalDevModeUtils, HydratedNode as ɵHydratedNode, HydrationInfo as ɵHydrationInfo, ImageConfig as ɵImageConfig, InjectorProfilerContext as ɵInjectorProfilerContext, NgModuleDef as ɵNgModuleDef, NgModuleTransitiveScopes as ɵNgModuleTransitiveScopes, NgModuleType as ɵNgModuleType, Profiler as ɵProfiler, ProviderRecord as ɵProviderRecord, SafeHtml as ɵSafeHtml, SafeResourceUrl as ɵSafeResourceUrl, SafeScript as ɵSafeScript, SafeStyle as ɵSafeStyle, SafeUrl as ɵSafeUrl, SafeValue as ɵSafeValue, SharedStylesHost as ɵSharedStylesHost, ɵUnwrapDirectiveSignalInputs, WizComponentDebugMetadata as ɵWizComponentDebugMetadata };