@angular/core 18.0.0-next.3 → 18.0.0-next.5

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 (76) hide show
  1. package/esm2022/rxjs-interop/src/take_until_destroyed.mjs +2 -2
  2. package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
  3. package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
  4. package/esm2022/src/application/application_ref.mjs +4 -2
  5. package/esm2022/src/application/application_tokens.mjs +1 -1
  6. package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
  7. package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
  8. package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +28 -33
  9. package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
  10. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +57 -9
  11. package/esm2022/src/core.mjs +2 -1
  12. package/esm2022/src/core_private_export.mjs +1 -3
  13. package/esm2022/src/core_render3_private_export.mjs +1 -2
  14. package/esm2022/src/debug/debug_node.mjs +5 -5
  15. package/esm2022/src/di/contextual.mjs +3 -3
  16. package/esm2022/src/di/injectable.mjs +1 -1
  17. package/esm2022/src/di/injector.mjs +4 -4
  18. package/esm2022/src/di/injector_compatibility.mjs +3 -3
  19. package/esm2022/src/di/interface/provider.mjs +1 -1
  20. package/esm2022/src/di/metadata.mjs +1 -1
  21. package/esm2022/src/di/provider_collection.mjs +2 -2
  22. package/esm2022/src/event_emitter.mjs +1 -1
  23. package/esm2022/src/hydration/api.mjs +2 -3
  24. package/esm2022/src/i18n/locale_data_api.mjs +4 -4
  25. package/esm2022/src/i18n/tokens.mjs +6 -6
  26. package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
  27. package/esm2022/src/linker/compiler.mjs +1 -7
  28. package/esm2022/src/linker/ng_module_factory.mjs +2 -3
  29. package/esm2022/src/linker/template_ref.mjs +1 -2
  30. package/esm2022/src/metadata/directives.mjs +1 -62
  31. package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
  32. package/esm2022/src/metadata/ng_module.mjs +1 -1
  33. package/esm2022/src/platform/platform_ref.mjs +3 -3
  34. package/esm2022/src/render3/component.mjs +3 -4
  35. package/esm2022/src/render3/component_ref.mjs +1 -1
  36. package/esm2022/src/render3/definition.mjs +2 -2
  37. package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
  38. package/esm2022/src/render3/instructions/control_flow.mjs +6 -6
  39. package/esm2022/src/render3/jit/environment.mjs +1 -3
  40. package/esm2022/src/render3/ng_module_ref.mjs +1 -4
  41. package/esm2022/src/render3/node_manipulation.mjs +19 -15
  42. package/esm2022/src/render3/reactivity/effect.mjs +1 -1
  43. package/esm2022/src/render3/view_ref.mjs +14 -4
  44. package/esm2022/src/testability/testability.mjs +2 -30
  45. package/esm2022/src/util/callback_scheduler.mjs +3 -3
  46. package/esm2022/src/version.mjs +1 -1
  47. package/esm2022/testing/src/component_fixture.mjs +7 -12
  48. package/esm2022/testing/src/logger.mjs +3 -3
  49. package/esm2022/testing/src/test_bed_common.mjs +1 -6
  50. package/esm2022/testing/src/testing.mjs +1 -2
  51. package/event-dispatch-contract.min.js +1 -0
  52. package/fesm2022/core.mjs +155 -201
  53. package/fesm2022/core.mjs.map +1 -1
  54. package/fesm2022/primitives/signals.mjs +2 -2
  55. package/fesm2022/rxjs-interop.mjs +4 -4
  56. package/fesm2022/rxjs-interop.mjs.map +1 -1
  57. package/fesm2022/testing.mjs +35 -45
  58. package/fesm2022/testing.mjs.map +1 -1
  59. package/index.d.ts +215 -206
  60. package/package.json +4 -1
  61. package/primitives/signals/index.d.ts +2 -2
  62. package/rxjs-interop/index.d.ts +5 -5
  63. package/schematics/migrations/block-template-entities/bundle.js +188 -249
  64. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  65. package/schematics/migrations/compiler-options/bundle.js +13 -13
  66. package/schematics/migrations/compiler-options/bundle.js.map +1 -1
  67. package/schematics/migrations/invalid-two-way-bindings/bundle.js +194 -255
  68. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
  69. package/schematics/migrations/transfer-state/bundle.js +13 -13
  70. package/schematics/migrations/transfer-state/bundle.js.map +1 -1
  71. package/schematics/ng-generate/control-flow-migration/bundle.js +197 -259
  72. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  73. package/schematics/ng-generate/standalone-migration/bundle.js +517 -556
  74. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  75. package/testing/index.d.ts +2 -8
  76. package/esm2022/testing/src/private_export.mjs +0 -9
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v18.0.0-next.3
3
- * (c) 2010-2022 Google LLC. https://angular.io/
2
+ * @license Angular v18.0.0-next.5
3
+ * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -33,7 +33,7 @@ export declare interface AbstractType<T> extends Function {
33
33
  * has been checked and most of the time it's during a change detection cycle.
34
34
  *
35
35
  * @see {@link AfterViewChecked}
36
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
36
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
37
37
  *
38
38
  * @usageNotes
39
39
  * The following snippet shows how a component can implement this interface to
@@ -60,7 +60,7 @@ export declare interface AfterContentChecked {
60
60
  *
61
61
  * @see {@link OnInit}
62
62
  * @see {@link AfterViewInit}
63
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
63
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
64
64
  *
65
65
  * @usageNotes
66
66
  * The following snippet shows how a component can implement this interface to
@@ -284,7 +284,7 @@ export declare interface AfterRenderRef {
284
284
  * completed checking a component's view for changes.
285
285
  *
286
286
  * @see {@link AfterContentChecked}
287
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
287
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
288
288
  *
289
289
  * @usageNotes
290
290
  * The following snippet shows how a component can implement this interface to
@@ -311,7 +311,7 @@ export declare interface AfterViewChecked {
311
311
  *
312
312
  * @see {@link OnInit}
313
313
  * @see {@link AfterContentInit}
314
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
314
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
315
315
  *
316
316
  * @usageNotes
317
317
  * The following snippet shows how a component can implement this interface to
@@ -639,7 +639,6 @@ export declare class ApplicationModule {
639
639
  * @publicApi
640
640
  */
641
641
  export declare class ApplicationRef {
642
- private _runningTick;
643
642
  private _destroyed;
644
643
  private _destroyListeners;
645
644
  private readonly internalErrorHandler;
@@ -647,7 +646,6 @@ export declare class ApplicationRef {
647
646
  private readonly zonelessEnabled;
648
647
  private externalTestViews;
649
648
  private beforeRender;
650
- private afterTick;
651
649
  /**
652
650
  * Indicates whether this instance was destroyed.
653
651
  */
@@ -813,7 +811,7 @@ export declare function asNativeElements(debugEls: DebugElement[]): any;
813
811
 
814
812
  /**
815
813
  * Asserts that the current stack frame is within an [injection
816
- * context](guide/dependency-injection-context) and has access to `inject`.
814
+ * context](guide/di/dependency-injection-context) and has access to `inject`.
817
815
  *
818
816
  * @param debugFn a reference to the function making the assertion (used for the error message).
819
817
  *
@@ -961,6 +959,19 @@ export declare interface BootstrapOptions {
961
959
  *
962
960
  */
963
961
  ngZoneRunCoalescing?: boolean;
962
+ /**
963
+ * When false, change detection is scheduled when Angular receives
964
+ * a clear indication that templates need to be refreshed. This includes:
965
+ *
966
+ * - calling `ChangeDetectorRef.markForCheck`
967
+ * - calling `ComponentRef.setInput`
968
+ * - updating a signal that is read in a template
969
+ * - when bound host or template listeners are triggered
970
+ * - attaching a view that is marked dirty
971
+ * - removing a view
972
+ * - registering a render hook (templates are only refreshed if render hooks do one of the above)
973
+ */
974
+ ignoreChangesOutsideZone?: boolean;
964
975
  }
965
976
 
966
977
 
@@ -995,8 +1006,8 @@ declare type ChangeDetectionStrategy_2 = number;
995
1006
  * Use the methods to add and remove views from the tree, initiate change-detection,
996
1007
  * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.
997
1008
  *
998
- * @see [Using change detection hooks](guide/lifecycle-hooks#using-change-detection-hooks)
999
- * @see [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection)
1009
+ * @see [Using change detection hooks](guide/components/lifecycle#using-change-detection-hooks)
1010
+ * @see [Defining custom change detection](guide/components/lifecycle#defining-custom-change-detection)
1000
1011
  *
1001
1012
  * @usageNotes
1002
1013
  *
@@ -1107,7 +1118,7 @@ declare interface ClassDebugInfo {
1107
1118
 
1108
1119
  /**
1109
1120
  * Configures the `Injector` to return an instance of `useClass` for a token.
1110
- * @see [Dependency Injection Guide](guide/dependency-injection).
1121
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
1111
1122
  *
1112
1123
  * @usageNotes
1113
1124
  *
@@ -1139,7 +1150,7 @@ export declare interface ClassProvider extends ClassSansProvider {
1139
1150
  * Configures the `Injector` to return a value by invoking a `useClass` function.
1140
1151
  * Base for `ClassProvider` decorator.
1141
1152
  *
1142
- * @see [Dependency Injection Guide](guide/dependency-injection).
1153
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
1143
1154
  *
1144
1155
  * @publicApi
1145
1156
  */
@@ -1165,8 +1176,6 @@ declare const CLEANUP = 7;
1165
1176
  *
1166
1177
  * @deprecated
1167
1178
  * Ivy JIT mode doesn't require accessing this symbol.
1168
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
1169
- * additional context.
1170
1179
  */
1171
1180
  export declare class Compiler {
1172
1181
  /**
@@ -1216,8 +1225,6 @@ export declare const COMPILER_OPTIONS: InjectionToken<CompilerOptions[]>;
1216
1225
  *
1217
1226
  * @deprecated
1218
1227
  * Ivy JIT mode doesn't require accessing this symbol.
1219
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
1220
- * additional context.
1221
1228
  */
1222
1229
  export declare abstract class CompilerFactory {
1223
1230
  abstract createCompiler(options?: CompilerOptions[]): Compiler;
@@ -1294,7 +1301,7 @@ export declare interface Component extends Directive {
1294
1301
  /**
1295
1302
  * One or more animation `trigger()` calls, containing
1296
1303
  * [`state()`](api/animations/state) and `transition()` definitions.
1297
- * See the [Animations guide](/guide/animations) and animations API documentation.
1304
+ * See the [Animations guide](guide/animations) and animations API documentation.
1298
1305
  *
1299
1306
  */
1300
1307
  animations?: any[];
@@ -1331,7 +1338,7 @@ export declare interface Component extends Directive {
1331
1338
  * used in a template) via the imports property.
1332
1339
  *
1333
1340
  * More information about standalone components, directives, and pipes can be found in [this
1334
- * guide](guide/standalone-components).
1341
+ * guide](guide/components/importing).
1335
1342
  */
1336
1343
  standalone?: boolean;
1337
1344
  /**
@@ -1343,7 +1350,7 @@ export declare interface Component extends Directive {
1343
1350
  * declared in an NgModule generates a compilation error.
1344
1351
  *
1345
1352
  * More information about standalone components, directives, and pipes can be found in [this
1346
- * guide](guide/standalone-components).
1353
+ * guide](guide/components/importing).
1347
1354
  */
1348
1355
  imports?: (Type<any> | ReadonlyArray<any>)[];
1349
1356
  /**
@@ -1354,7 +1361,7 @@ export declare interface Component extends Directive {
1354
1361
  * declared in an NgModule generates a compilation error.
1355
1362
  *
1356
1363
  * More information about standalone components, directives, and pipes can be found in [this
1357
- * guide](guide/standalone-components).
1364
+ * guide](guide/components/importing).
1358
1365
  */
1359
1366
  schemas?: SchemaMetadata[];
1360
1367
  }
@@ -1392,7 +1399,7 @@ export declare interface ComponentDecorator {
1392
1399
  * Note that, in addition to these options for configuring a directive,
1393
1400
  * you can control a component's runtime behavior by implementing
1394
1401
  * life-cycle hooks. For more information, see the
1395
- * [Lifecycle Hooks](guide/lifecycle-hooks) guide.
1402
+ * [Lifecycle Hooks](guide/components/lifecycle) guide.
1396
1403
  *
1397
1404
  * @usageNotes
1398
1405
  *
@@ -1820,7 +1827,7 @@ export declare function computed<T>(computation: () => T, options?: CreateComput
1820
1827
  /**
1821
1828
  * Configures the `Injector` to return an instance of a token.
1822
1829
  *
1823
- * @see [Dependency Injection Guide](guide/dependency-injection).
1830
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
1824
1831
  *
1825
1832
  * @usageNotes
1826
1833
  *
@@ -1847,7 +1854,7 @@ export declare interface ConstructorProvider extends ConstructorSansProvider {
1847
1854
  /**
1848
1855
  * Configures the `Injector` to return an instance of a token.
1849
1856
  *
1850
- * @see [Dependency Injection Guide](guide/dependency-injection).
1857
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
1851
1858
  *
1852
1859
  * @usageNotes
1853
1860
  *
@@ -2185,13 +2192,12 @@ declare const CONTEXT = 8;
2185
2192
  *
2186
2193
  * @param component Component class reference.
2187
2194
  * @param options Set of options to use:
2188
- * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see
2189
- * additional info about it [here](/guide/standalone-components#environment-injectors).
2195
+ * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component.
2190
2196
  * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
2191
2197
  * provided, Angular creates one based on the tag name used in the component selector (and falls
2192
2198
  * back to using `div` if selector doesn't have tag name info).
2193
2199
  * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it
2194
- * [here](/guide/hierarchical-dependency-injection#elementinjector).
2200
+ * [here](guide/di/hierarchical-dependency-injection#elementinjector).
2195
2201
  * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
2196
2202
  * [`<ng-content>`](api/core/ng-content) of the new component instance.
2197
2203
  * @returns ComponentRef instance that represents a given Component.
@@ -2224,7 +2230,7 @@ export declare interface CreateEffectOptions {
2224
2230
  /**
2225
2231
  * The `Injector` in which to create the effect.
2226
2232
  *
2227
- * If this is not provided, the current [injection context](guide/dependency-injection-context)
2233
+ * If this is not provided, the current [injection context](guide/di/dependency-injection-context)
2228
2234
  * will be used instead (via `inject`).
2229
2235
  */
2230
2236
  injector?: Injector;
@@ -2247,9 +2253,6 @@ export declare interface CreateEffectOptions {
2247
2253
  /**
2248
2254
  * Create a new environment injector.
2249
2255
  *
2250
- * Learn more about environment injectors in
2251
- * [this guide](guide/standalone-components#environment-injectors).
2252
- *
2253
2256
  * @param providers An array of providers.
2254
2257
  * @param parent A parent environment injector.
2255
2258
  * @param debugName An optional name for this injector instance, which will be used in error
@@ -2395,9 +2398,9 @@ export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
2395
2398
  /**
2396
2399
  * @publicApi
2397
2400
  *
2398
- * @see [Component testing scenarios](guide/testing-components-scenarios)
2399
- * @see [Basics of testing components](guide/testing-components-basics)
2400
- * @see [Testing utility APIs](guide/testing-utility-apis)
2401
+ * @see [Component testing scenarios](guide/testing/components-scenarios)
2402
+ * @see [Basics of testing components](guide/testing/components-basics)
2403
+ * @see [Testing utility APIs](guide/testing/utility-apis)
2401
2404
  */
2402
2405
  export declare class DebugElement extends DebugNode {
2403
2406
  constructor(nativeNode: Element);
@@ -2481,7 +2484,7 @@ export declare class DebugElement extends DebugNode {
2481
2484
  * @param eventName The name of the event to trigger
2482
2485
  * @param eventObj The _event object_ expected by the handler
2483
2486
  *
2484
- * @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)
2487
+ * @see [Testing components scenarios](guide/testing/components-scenarios#trigger-event-handler)
2485
2488
  */
2486
2489
  triggerEventHandler(eventName: string, eventObj?: any): void;
2487
2490
  }
@@ -2555,7 +2558,7 @@ declare const DECLARATION_VIEW = 14;
2555
2558
  * CurrencyPipe when there is no currency code passed into it. This is only used by
2556
2559
  * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
2557
2560
  *
2558
- * See the [i18n guide](guide/i18n-common-locale-id) for more information.
2561
+ * See the [i18n guide](guide/i18n/locale-id) for more information.
2559
2562
  *
2560
2563
  * <div class="alert is-helpful">
2561
2564
  *
@@ -3135,7 +3138,7 @@ export declare interface Directive {
3135
3138
  * providers).
3136
3139
  *
3137
3140
  * More information about standalone components, directives, and pipes can be found in [this
3138
- * guide](guide/standalone-components).
3141
+ * guide](guide/components/importing).
3139
3142
  */
3140
3143
  standalone?: boolean;
3141
3144
  /**
@@ -3188,7 +3191,7 @@ export declare interface DirectiveDecorator {
3188
3191
  * runtime.
3189
3192
  *
3190
3193
  * Directive classes, like component classes, can implement
3191
- * [life-cycle hooks](guide/lifecycle-hooks) to influence their configuration and behavior.
3194
+ * [life-cycle hooks](guide/components/lifecycle) to influence their configuration and behavior.
3192
3195
  *
3193
3196
  *
3194
3197
  * @usageNotes
@@ -3209,13 +3212,13 @@ export declare interface DirectiveDecorator {
3209
3212
  *
3210
3213
  * In order to make a directive available to other components in your application, you should do
3211
3214
  * one of the following:
3212
- * - either mark the directive as [standalone](guide/standalone-components),
3215
+ * - either mark the directive as [standalone](guide/components/importing),
3213
3216
  * - or declare it in an NgModule by adding it to the `declarations` and `exports` fields.
3214
3217
  *
3215
3218
  * ** Marking a directive as standalone **
3216
3219
  *
3217
3220
  * You can add the `standalone: true` flag to the Directive decorator metadata to declare it as
3218
- * [standalone](guide/standalone-components):
3221
+ * [standalone](guide/components/importing):
3219
3222
  *
3220
3223
  * ```ts
3221
3224
  * @Directive({
@@ -3442,7 +3445,7 @@ declare type DirectiveDefListOrFactory = (() => DirectiveDefList) | DirectiveDef
3442
3445
  */
3443
3446
  declare type DirectiveInputs<T> = {
3444
3447
  [P in keyof T]?: string | [
3445
- flags: ɵɵInputFlags,
3448
+ flags: InputFlags,
3446
3449
  publicName: string,
3447
3450
  declaredName?: string,
3448
3451
  transform?: InputTransformFunction
@@ -3458,7 +3461,7 @@ declare const DISCONNECTED_NODES = "d";
3458
3461
  *
3459
3462
  * Reference to the current application is provided as a parameter.
3460
3463
  *
3461
- * See ["Bootstrapping"](guide/bootstrapping).
3464
+ * See ["Bootstrapping"](guide/ngmodules/bootstrapping).
3462
3465
  *
3463
3466
  * @usageNotes
3464
3467
  * The example below uses `ApplicationRef.bootstrap()` to render the
@@ -3492,7 +3495,7 @@ export declare interface DoBootstrap {
3492
3495
  * changes on the same input.
3493
3496
  *
3494
3497
  * @see {@link OnChanges}
3495
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
3498
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
3496
3499
  *
3497
3500
  * @usageNotes
3498
3501
  * The following snippet shows how a component can implement this interface
@@ -3501,7 +3504,7 @@ export declare interface DoBootstrap {
3501
3504
  * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='DoCheck'}
3502
3505
  *
3503
3506
  * For a more complete example and discussion, see
3504
- * [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection).
3507
+ * [Defining custom change detection](guide/components/lifecycle#defining-custom-change-detection).
3505
3508
  *
3506
3509
  * @publicApi
3507
3510
  */
@@ -3837,7 +3840,6 @@ export declare class ErrorHandler {
3837
3840
  * <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
3838
3841
  * ```
3839
3842
  *
3840
- * @see [Observables in Angular](guide/observables-in-angular)
3841
3843
  * @publicApi
3842
3844
  */
3843
3845
  export declare interface EventEmitter<T> extends Subject<T>, OutputRef<T> {
@@ -3885,7 +3887,7 @@ export declare const EventEmitter: {
3885
3887
  /**
3886
3888
  * Configures the `Injector` to return a value of another `useExisting` token.
3887
3889
  *
3888
- * @see [Dependency Injection Guide](guide/dependency-injection).
3890
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
3889
3891
  *
3890
3892
  * @usageNotes
3891
3893
  *
@@ -3913,7 +3915,7 @@ export declare interface ExistingProvider extends ExistingSansProvider {
3913
3915
  * Configures the `Injector` to return a value of another `useExisting` token.
3914
3916
  *
3915
3917
  * @see {@link ExistingProvider}
3916
- * @see [Dependency Injection Guide](guide/dependency-injection).
3918
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
3917
3919
  *
3918
3920
  * @publicApi
3919
3921
  */
@@ -3941,7 +3943,7 @@ declare type FactoryFn<T> = {
3941
3943
 
3942
3944
  /**
3943
3945
  * Configures the `Injector` to return a value by invoking a `useFactory` function.
3944
- * @see [Dependency Injection Guide](guide/dependency-injection).
3946
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
3945
3947
  *
3946
3948
  * @usageNotes
3947
3949
  *
@@ -3973,7 +3975,7 @@ export declare interface FactoryProvider extends FactorySansProvider {
3973
3975
  * Configures the `Injector` to return a value by invoking a `useFactory` function.
3974
3976
  *
3975
3977
  * @see {@link FactoryProvider}
3976
- * @see [Dependency Injection Guide](guide/dependency-injection).
3978
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
3977
3979
  *
3978
3980
  * @publicApi
3979
3981
  */
@@ -4539,7 +4541,7 @@ export declare interface HostDecorator {
4539
4541
  * </code-example>
4540
4542
  *
4541
4543
  * For an extended example, see ["Dependency Injection
4542
- * Guide"](guide/dependency-injection-in-action#optional).
4544
+ * Guide"](guide/di/di-in-action#optional).
4543
4545
  */
4544
4546
  (): any;
4545
4547
  new (): Host;
@@ -4594,67 +4596,6 @@ export declare interface HostListener {
4594
4596
  }
4595
4597
 
4596
4598
  /**
4597
- * Decorator that binds a DOM event to a host listener and supplies configuration metadata.
4598
- * Angular invokes the supplied handler method when the host element emits the specified event,
4599
- * and updates the bound element with the result.
4600
- *
4601
- * If the handler method returns false, applies `preventDefault` on the bound element.
4602
- *
4603
- * @usageNotes
4604
- *
4605
- * The following example declares a directive
4606
- * that attaches a click listener to a button and counts clicks.
4607
- *
4608
- * ```ts
4609
- * @Directive({selector: 'button[counting]'})
4610
- * class CountClicks {
4611
- * numberOfClicks = 0;
4612
- *
4613
- * @HostListener('click', ['$event.target'])
4614
- * onClick(btn) {
4615
- * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);
4616
- * }
4617
- * }
4618
- *
4619
- * @Component({
4620
- * selector: 'app',
4621
- * template: '<button counting>Increment</button>',
4622
- * })
4623
- * class App {}
4624
- *
4625
- * ```
4626
- *
4627
- * The following example registers another DOM event handler that listens for `Enter` key-press
4628
- * events on the global `window`.
4629
- * ``` ts
4630
- * import { HostListener, Component } from "@angular/core";
4631
- *
4632
- * @Component({
4633
- * selector: 'app',
4634
- * template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
4635
- * to increment the counter.
4636
- * <button (click)="resetCounter()">Reset Counter</button>`
4637
- * })
4638
- * class AppComponent {
4639
- * counter = 0;
4640
- * @HostListener('window:keydown.enter', ['$event'])
4641
- * handleKeyDown(event: KeyboardEvent) {
4642
- * this.counter++;
4643
- * }
4644
- * resetCounter() {
4645
- * this.counter = 0;
4646
- * }
4647
- * }
4648
- * ```
4649
- * The list of valid key names for `keydown` and `keyup` events
4650
- * can be found here:
4651
- * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
4652
- *
4653
- * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
4654
- *
4655
- * The global target names that can be used to prefix an event name are
4656
- * `document:`, `window:` and `body:`.
4657
- *
4658
4599
  * @Annotation
4659
4600
  * @publicApi
4660
4601
  */
@@ -4674,6 +4615,60 @@ export declare interface HostListenerDecorator {
4674
4615
  * and updates the bound element with the result.
4675
4616
  *
4676
4617
  * If the handler method returns false, applies `preventDefault` on the bound element.
4618
+ *
4619
+ * @usageNotes
4620
+ *
4621
+ * The following example declares a directive
4622
+ * that attaches a click listener to a button and counts clicks.
4623
+ *
4624
+ * ```ts
4625
+ * @Directive({selector: 'button[counting]'})
4626
+ * class CountClicks {
4627
+ * numberOfClicks = 0;
4628
+ *
4629
+ * @HostListener('click', ['$event.target'])
4630
+ * onClick(btn) {
4631
+ * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);
4632
+ * }
4633
+ * }
4634
+ *
4635
+ * @Component({
4636
+ * selector: 'app',
4637
+ * template: '<button counting>Increment</button>',
4638
+ * })
4639
+ * class App {}
4640
+ * ```
4641
+ *
4642
+ * The following example registers another DOM event handler that listens for `Enter` key-press
4643
+ * events on the global `window`.
4644
+ * ```ts
4645
+ * import { HostListener, Component } from "@angular/core";
4646
+ *
4647
+ * @Component({
4648
+ * selector: 'app',
4649
+ * template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter
4650
+ * key to increment the counter. <button (click)="resetCounter()">Reset Counter</button>`
4651
+ * })
4652
+ * class AppComponent {
4653
+ * counter = 0;
4654
+ * @HostListener('window:keydown.enter', ['$event'])
4655
+ * handleKeyDown(event: KeyboardEvent) {
4656
+ * this.counter++;
4657
+ * }
4658
+ * resetCounter() {
4659
+ * this.counter = 0;
4660
+ * }
4661
+ * }
4662
+ * ```
4663
+ * The list of valid key names for `keydown` and `keyup` events
4664
+ * can be found here:
4665
+ * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
4666
+ *
4667
+ * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
4668
+ *
4669
+ * The global target names that can be used to prefix an event name are
4670
+ * `document:`, `window:` and `body:`.
4671
+ *
4677
4672
  */
4678
4673
  (eventName: string, args?: string[]): any;
4679
4674
  new (eventName: string, args?: string[]): any;
@@ -5010,7 +5005,7 @@ export declare type ImportedNgModuleProviders = EnvironmentProviders;
5010
5005
  * providers.
5011
5006
  *
5012
5007
  * More information about standalone components can be found in [this
5013
- * guide](guide/standalone-components).
5008
+ * guide](guide/components/importing).
5014
5009
  *
5015
5010
  * @usageNotes
5016
5011
  * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:
@@ -5081,7 +5076,7 @@ declare type InitialInputData = (InitialInputs | null)[];
5081
5076
  *
5082
5077
  * e.g. ['role-min', 'minified-input', 'button']
5083
5078
  */
5084
- declare type InitialInputs = (string | ɵɵInputFlags)[];
5079
+ declare type InitialInputs = (string | InputFlags)[];
5085
5080
 
5086
5081
  /**
5087
5082
  * Type of the Inject metadata.
@@ -5228,8 +5223,8 @@ export declare interface InjectableDecorator {
5228
5223
  * Decorator that marks a class as available to be
5229
5224
  * provided and injected as a dependency.
5230
5225
  *
5231
- * @see [Introduction to Services and DI](guide/architecture-services)
5232
- * @see [Dependency Injection Guide](guide/dependency-injection)
5226
+ * @see [Introduction to Services and DI](guide/di)
5227
+ * @see [Dependency Injection Guide](guide/di/dependency-injection
5233
5228
  *
5234
5229
  * @usageNotes
5235
5230
  *
@@ -5296,7 +5291,7 @@ export declare interface InjectDecorator {
5296
5291
  * <code-example path="core/di/ts/metadata_spec.ts" region="InjectWithoutDecorator">
5297
5292
  * </code-example>
5298
5293
  *
5299
- * @see [Dependency Injection Guide](guide/dependency-injection)
5294
+ * @see [Dependency Injection Guide](guide/di/dependency-injection
5300
5295
  *
5301
5296
  */
5302
5297
  (token: any): any;
@@ -5458,10 +5453,10 @@ export declare const INJECTOR: InjectionToken<Injector>;
5458
5453
 
5459
5454
  /**
5460
5455
  * Concrete injectors implement this interface. Injectors are configured
5461
- * with [providers](guide/dependency-injection-providers) that associate
5462
- * dependencies of various types with [injection tokens](guide/dependency-injection-providers).
5456
+ * with [providers](guide/di/dependency-injection-providers) that associate
5457
+ * dependencies of various types with [injection tokens](guide/di/dependency-injection-providers).
5463
5458
  *
5464
- * @see [DI Providers](guide/dependency-injection-providers).
5459
+ * @see [DI Providers](guide/di/dependency-injection-providers).
5465
5460
  * @see {@link StaticProvider}
5466
5461
  *
5467
5462
  * @usageNotes
@@ -5707,12 +5702,21 @@ export declare interface InputDecorator {
5707
5702
  * class App {}
5708
5703
  * ```
5709
5704
  *
5710
- * @see [Input and Output properties](guide/inputs-outputs)
5705
+ * @see [Input properties](guide/components/inputs)
5706
+ * @see [Output properties](guide/components/outputs)
5711
5707
  */
5712
5708
  (arg?: string | Input): any;
5713
5709
  new (arg?: string | Input): any;
5714
5710
  }
5715
5711
 
5712
+
5713
+ /** Flags describing an input for a directive. */
5714
+ declare enum InputFlags {
5715
+ None = 0,
5716
+ SignalBased = 1,
5717
+ HasDecoratorInputTransform = 2
5718
+ }
5719
+
5716
5720
  /**
5717
5721
  * The `input` function allows declaration of inputs in directives and
5718
5722
  * components.
@@ -5943,7 +5947,7 @@ export declare function isSignal(value: unknown): value is Signal<unknown>;
5943
5947
  /**
5944
5948
  * Checks whether a given Component, Directive or Pipe is marked as standalone.
5945
5949
  * This will return false if passed anything other than a Component, Directive, or Pipe class
5946
- * See [this guide](/guide/standalone-components) for additional information:
5950
+ * See [this guide](guide/components/importing) for additional information:
5947
5951
  *
5948
5952
  * @param type A reference to a Component, Directive or Pipe.
5949
5953
  * @publicApi
@@ -6341,7 +6345,7 @@ declare interface Listener {
6341
6345
  * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
6342
6346
  * DecimalPipe and PercentPipe) and by ICU expressions.
6343
6347
  *
6344
- * See the [i18n guide](guide/i18n-common-locale-id) for more information.
6348
+ * See the [i18n guide](guide/i18n/locale-id) for more information.
6345
6349
  *
6346
6350
  * @usageNotes
6347
6351
  * ### Example
@@ -6803,7 +6807,7 @@ export declare function mergeApplicationConfig(...configs: ApplicationConfig[]):
6803
6807
  * - Warning (default): show a warning in the console and/or shell.
6804
6808
  * - Ignore: do nothing.
6805
6809
  *
6806
- * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
6810
+ * See the [i18n guide](guide/i18n/merge#report-missing-translations) for more information.
6807
6811
  *
6808
6812
  * @usageNotes
6809
6813
  * ### Example
@@ -6938,8 +6942,6 @@ export declare interface ModelSignal<T> extends WritableSignal<T>, OutputRef<T>
6938
6942
  *
6939
6943
  * @deprecated
6940
6944
  * Ivy JIT mode doesn't require accessing this symbol.
6941
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
6942
- * additional context.
6943
6945
  */
6944
6946
  export declare class ModuleWithComponentFactories<T> {
6945
6947
  ngModuleFactory: NgModuleFactory<T>;
@@ -6951,8 +6953,6 @@ export declare class ModuleWithComponentFactories<T> {
6951
6953
  * A wrapper around an NgModule that associates it with providers
6952
6954
  * Usage without a generic type is deprecated.
6953
6955
  *
6954
- * @see [Deprecations](guide/deprecations#modulewithproviders-type-without-a-generic)
6955
- *
6956
6956
  * @publicApi
6957
6957
  */
6958
6958
  export declare interface ModuleWithProviders<T> {
@@ -6991,8 +6991,8 @@ export declare interface NgModule {
6991
6991
  * The set of injectable objects that are available in the injector
6992
6992
  * of this module.
6993
6993
  *
6994
- * @see [Dependency Injection guide](guide/dependency-injection)
6995
- * @see [NgModule guide](guide/providers)
6994
+ * @see [Dependency Injection guide](guide/di/dependency-injection
6995
+ * @see [NgModule guide](guide/ngmodules/providers)
6996
6996
  *
6997
6997
  * @usageNotes
6998
6998
  *
@@ -7173,8 +7173,7 @@ export declare interface NgModuleDecorator {
7173
7173
  *
7174
7174
  * @deprecated
7175
7175
  * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
7176
- * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)
7177
- * for additional context. Angular provides APIs that accept NgModule classes directly (such as
7176
+ * JIT mode. Angular provides APIs that accept NgModule classes directly (such as
7178
7177
  * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
7179
7178
  * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of
7180
7179
  * using factory-based ones.
@@ -7481,6 +7480,19 @@ export declare interface NgZoneOptions {
7481
7480
  *
7482
7481
  */
7483
7482
  runCoalescing?: boolean;
7483
+ /**
7484
+ * When false, change detection is scheduled when Angular receives
7485
+ * a clear indication that templates need to be refreshed. This includes:
7486
+ *
7487
+ * - calling `ChangeDetectorRef.markForCheck`
7488
+ * - calling `ComponentRef.setInput`
7489
+ * - updating a signal that is read in a template
7490
+ * - when bound host or template listeners are triggered
7491
+ * - attaching a view that is marked dirty
7492
+ * - removing a view
7493
+ * - registering a render hook (templates are only refreshed if render hooks do one of the above)
7494
+ */
7495
+ ignoreChangesOutsideZone?: boolean;
7484
7496
  }
7485
7497
 
7486
7498
  /**
@@ -7511,7 +7523,7 @@ export declare const NO_ERRORS_SCHEMA: SchemaMetadata;
7511
7523
  * }
7512
7524
  * ```
7513
7525
  */
7514
- declare type NodeInputBindings = Record<string, (number | string | ɵɵInputFlags)[]>;
7526
+ declare type NodeInputBindings = Record<string, (number | string | InputFlags)[]>;
7515
7527
 
7516
7528
  /**
7517
7529
  * Store the runtime output names for all the directives.
@@ -7560,7 +7572,7 @@ declare const ON_DESTROY_HOOKS = 21;
7560
7572
  *
7561
7573
  * @see {@link DoCheck}
7562
7574
  * @see {@link OnInit}
7563
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
7575
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
7564
7576
  *
7565
7577
  * @usageNotes
7566
7578
  * The following snippet shows how a component can implement this interface to
@@ -7585,7 +7597,7 @@ export declare interface OnChanges {
7585
7597
  * A lifecycle hook that is called when a directive, pipe, or service is destroyed.
7586
7598
  * Use for any custom cleanup that needs to occur when the
7587
7599
  * instance is destroyed.
7588
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
7600
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
7589
7601
  *
7590
7602
  * @usageNotes
7591
7603
  * The following snippet shows how a component can implement this interface
@@ -7610,7 +7622,7 @@ export declare interface OnDestroy {
7610
7622
  * Define an `ngOnInit()` method to handle any additional initialization tasks.
7611
7623
  *
7612
7624
  * @see {@link AfterContentInit}
7613
- * @see [Lifecycle hooks guide](guide/lifecycle-hooks)
7625
+ * @see [Lifecycle hooks guide](guide/components/lifecycle)
7614
7626
  *
7615
7627
  * @usageNotes
7616
7628
  * The following snippet shows how a component can implement this interface to
@@ -7674,7 +7686,7 @@ export declare interface OptionalDecorator {
7674
7686
  * <code-example path="core/di/ts/metadata_spec.ts" region="Optional">
7675
7687
  * </code-example>
7676
7688
  *
7677
- * @see [Dependency Injection Guide](guide/dependency-injection).
7689
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
7678
7690
  */
7679
7691
  (): any;
7680
7692
  new (): Optional;
@@ -7762,7 +7774,8 @@ export declare interface OutputDecorator {
7762
7774
  *
7763
7775
  * See `Input` decorator for an example of providing a binding name.
7764
7776
  *
7765
- * @see [Input and Output properties](guide/inputs-outputs)
7777
+ * @see [Input properties](guide/components/inputs)
7778
+ * @see [Output properties](guide/components/outputs)
7766
7779
  *
7767
7780
  */
7768
7781
  (alias?: string): any;
@@ -7869,7 +7882,7 @@ export declare interface Pipe {
7869
7882
  * pipes don't depend on any "intermediate context" of an NgModule (ex. configured providers).
7870
7883
  *
7871
7884
  * More information about standalone components, directives, and pipes can be found in [this
7872
- * guide](guide/standalone-components).
7885
+ * guide](guide/components/importing).
7873
7886
  */
7874
7887
  standalone?: boolean;
7875
7888
  }
@@ -7904,7 +7917,7 @@ export declare interface PipeDecorator {
7904
7917
  * to a template. To make it a member of an NgModule,
7905
7918
  * list it in the `declarations` field of the `NgModule` metadata.
7906
7919
  *
7907
- * @see [Style Guide: Pipe Names](guide/styleguide#02-09)
7920
+ * @see [Style Guide: Pipe Names](style-guide#02-09)
7908
7921
  *
7909
7922
  */
7910
7923
  (obj: Pipe): TypeDecorator;
@@ -8064,9 +8077,7 @@ declare interface PlatformReflectionCapabilities {
8064
8077
  *
8065
8078
  * @publicApi
8066
8079
  */
8067
- export declare interface Predicate<T> {
8068
- (value: T): boolean;
8069
- }
8080
+ export declare type Predicate<T> = (value: T) => boolean;
8070
8081
 
8071
8082
  declare const PREORDER_HOOK_FLAGS = 17;
8072
8083
 
@@ -8101,9 +8112,50 @@ declare type ProcessProvidersFunction = (providers: Provider[]) => Provider[];
8101
8112
  */
8102
8113
  declare type ProjectionSlots = (ɵCssSelectorList | '*')[];
8103
8114
 
8115
+ /**
8116
+ * Provides change detection without ZoneJS for the application bootstrapped using
8117
+ * `bootstrapApplication`.
8118
+ *
8119
+ * This function allows you to configure the application to not use the state/state changes of
8120
+ * ZoneJS to schedule change detection in the application. This will work when ZoneJS is not present
8121
+ * on the page at all or if it exists because something else is using it (either another Angular
8122
+ * application which uses ZoneJS for scheduling or some other library that relies on ZoneJS).
8123
+ *
8124
+ * This can also be added to the `TestBed` providers to configure the test environment to more
8125
+ * closely match production behavior. This will help give higher confidence that components are
8126
+ * compatible with zoneless change detection.
8127
+ *
8128
+ * ZoneJS uses browser events to trigger change detection. When using this provider, Angular will
8129
+ * instead use Angular APIs to schedule change detection. These APIs include:
8130
+ *
8131
+ * - `ChangeDetectorRef.markForCheck`
8132
+ * - `ComponentRef.setInput`
8133
+ * - updating a signal that is read in a template
8134
+ * - when bound host or template listeners are triggered
8135
+ * - attaching a view that was marked dirty by one of the above
8136
+ * - removing a view
8137
+ * - registering a render hook (templates are only refreshed if render hooks do one of the above)
8138
+ *
8139
+ * @usageNotes
8140
+ * ```typescript
8141
+ * bootstrapApplication(MyApp, {providers: [
8142
+ * provideExperimentalZonelessChangeDetection(),
8143
+ * ]});
8144
+ * ```
8145
+ *
8146
+ * This API is experimental. Neither the shape, nor the underlying behavior is stable and can change
8147
+ * in patch versions. There are known feature gaps, including the lack of a public zoneless API
8148
+ * which prevents the application from serializing too early with SSR.
8149
+ *
8150
+ * @publicApi
8151
+ * @experimental
8152
+ * @see {@link bootstrapApplication}
8153
+ */
8154
+ export declare function provideExperimentalZonelessChangeDetection(): EnvironmentProviders;
8155
+
8104
8156
  /**
8105
8157
  * Describes how the `Injector` should be configured.
8106
- * @see [Dependency Injection Guide](guide/dependency-injection).
8158
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
8107
8159
  *
8108
8160
  * @see {@link StaticProvider}
8109
8161
  *
@@ -8957,7 +9009,7 @@ declare interface RText extends RNode {
8957
9009
  }
8958
9010
 
8959
9011
  /**
8960
- * Runs the given function in the [context](guide/dependency-injection-context) of the given
9012
+ * Runs the given function in the [context](guide/di/dependency-injection-context) of the given
8961
9013
  * `Injector`.
8962
9014
  *
8963
9015
  * Within the function's stack frame, [`inject`](api/core/inject) can be used to inject dependencies
@@ -9290,7 +9342,7 @@ export declare interface SkipSelfDecorator {
9290
9342
  * <code-example path="core/di/ts/metadata_spec.ts" region="SkipSelf">
9291
9343
  * </code-example>
9292
9344
  *
9293
- * @see [Dependency Injection guide](guide/dependency-injection-in-action#skip).
9345
+ * @see [Dependency Injection guide](guide/di/di-in-action#skip).
9294
9346
  * @see {@link Self}
9295
9347
  * @see {@link Optional}
9296
9348
  *
@@ -9336,7 +9388,7 @@ export declare type StateKey<T> = string & {
9336
9388
 
9337
9389
  /**
9338
9390
  * Configures the `Injector` to return an instance of `useClass` for a token.
9339
- * @see [Dependency Injection Guide](guide/dependency-injection).
9391
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
9340
9392
  *
9341
9393
  * @usageNotes
9342
9394
  *
@@ -9388,7 +9440,7 @@ export declare interface StaticClassSansProvider {
9388
9440
  * A static provider provides tokens to an injector for various types of dependencies.
9389
9441
  *
9390
9442
  * @see {@link Injector.create()}
9391
- * @see [Dependency Injection Guide](guide/dependency-injection-providers).
9443
+ * @see [Dependency Injection Guide](guide/di/dependency-injection-providers).
9392
9444
  *
9393
9445
  * @publicApi
9394
9446
  */
@@ -9577,7 +9629,6 @@ declare const TEMPLATE_ID = "i";
9577
9629
  * a component or a directive.
9578
9630
  *
9579
9631
  * @see {@link ViewContainerRef}
9580
- * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)
9581
9632
  *
9582
9633
  * @publicApi
9583
9634
  */
@@ -9585,8 +9636,8 @@ export declare abstract class TemplateRef<C> {
9585
9636
  /**
9586
9637
  * The anchor element in the parent view for this embedded view.
9587
9638
  *
9588
- * The data-binding and [injection contexts](guide/dependency-injection-context) of embedded views
9589
- * created from this `TemplateRef` inherit from the contexts of this location.
9639
+ * The data-binding and [injection contexts](guide/di/dependency-injection-context) of embedded
9640
+ * views created from this `TemplateRef` inherit from the contexts of this location.
9590
9641
  *
9591
9642
  * Typically new embedded views are attached to the view container of this location, but in
9592
9643
  * advanced use-cases, the view can be attached to a different container while keeping the
@@ -9629,22 +9680,11 @@ declare const TEMPLATES = "t";
9629
9680
  export declare class Testability implements PublicTestability {
9630
9681
  private _ngZone;
9631
9682
  private registry;
9632
- private _pendingCount;
9633
9683
  private _isZoneStable;
9634
9684
  private _callbacks;
9635
9685
  private taskTrackingZone;
9636
9686
  constructor(_ngZone: NgZone, registry: TestabilityRegistry, testabilityGetter: GetTestability);
9637
9687
  private _watchAngularEvents;
9638
- /**
9639
- * Increases the number of pending request
9640
- * @deprecated pending requests are now tracked with zones.
9641
- */
9642
- increasePendingRequestCount(): number;
9643
- /**
9644
- * Decreases the number of pending request
9645
- * @deprecated pending requests are now tracked with zones
9646
- */
9647
- decreasePendingRequestCount(): number;
9648
9688
  /**
9649
9689
  * Whether an associated application is stable
9650
9690
  */
@@ -9665,11 +9705,6 @@ export declare class Testability implements PublicTestability {
9665
9705
  * and no further updates will be issued.
9666
9706
  */
9667
9707
  whenStable(doneCb: Function, timeout?: number, updateCb?: Function): void;
9668
- /**
9669
- * Get the number of pending requests
9670
- * @deprecated pending requests are now tracked with zones
9671
- */
9672
- getPendingRequestCount(): number;
9673
9708
  /**
9674
9709
  * Find providers by name
9675
9710
  * @param using The root element to search from
@@ -10544,7 +10579,7 @@ export declare class TransferState {
10544
10579
  * Use this token at bootstrap to provide the content of your translation file (`xtb`,
10545
10580
  * `xlf` or `xlf2`) when you want to translate your application in another language.
10546
10581
  *
10547
- * See the [i18n guide](guide/i18n-common-merge) for more information.
10582
+ * See the [i18n guide](guide/i18n/merge) for more information.
10548
10583
  *
10549
10584
  * @usageNotes
10550
10585
  * ### Example
@@ -10570,7 +10605,7 @@ export declare const TRANSLATIONS: InjectionToken<string>;
10570
10605
  * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
10571
10606
  * `xlf` or `xlf2`.
10572
10607
  *
10573
- * See the [i18n guide](guide/i18n-common-merge) for more information.
10608
+ * See the [i18n guide](guide/i18n/merge) for more information.
10574
10609
  *
10575
10610
  * @usageNotes
10576
10611
  * ### Example
@@ -11065,7 +11100,7 @@ declare type TypeOrFactory<T> = T | (() => T);
11065
11100
  * Create an instance by invoking the `new` operator and supplying additional arguments.
11066
11101
  * This form is a short form of `TypeProvider`;
11067
11102
  *
11068
- * For more details, see the ["Dependency Injection Guide"](guide/dependency-injection).
11103
+ * For more details, see the ["Dependency Injection Guide"](guide/di/dependency-injection.
11069
11104
  *
11070
11105
  * @usageNotes
11071
11106
  *
@@ -11090,7 +11125,7 @@ export declare type ValueEqualityFn<T> = (a: T, b: T) => boolean;
11090
11125
 
11091
11126
  /**
11092
11127
  * Configures the `Injector` to return a value for a token.
11093
- * @see [Dependency Injection Guide](guide/dependency-injection).
11128
+ * @see [Dependency Injection Guide](guide/di/dependency-injection.
11094
11129
  *
11095
11130
  * @usageNotes
11096
11131
  *
@@ -11947,7 +11982,7 @@ export declare const enum ɵBypassType {
11947
11982
  */
11948
11983
  export declare abstract class ɵChangeDetectionScheduler {
11949
11984
  abstract notify(source?: NotificationType): void;
11950
- abstract tick(shouldRefreshViews: boolean): void;
11985
+ abstract runningTick: boolean;
11951
11986
  }
11952
11987
 
11953
11988
  export declare function ɵclearResolutionOfComponentResourcesQueue(): Map<Type<any>, Component>;
@@ -12291,7 +12326,7 @@ export declare interface ɵDirectiveDef<T> {
12291
12326
  * (along with flags if there are any).
12292
12327
  */
12293
12328
  readonly inputs: {
12294
- [P in keyof T]?: string | [minifiedName: string, flags: ɵɵInputFlags];
12329
+ [P in keyof T]?: string | [minifiedName: string, flags: InputFlags];
12295
12330
  };
12296
12331
  /**
12297
12332
  * A dictionary mapping the private names of inputs to their transformation functions.
@@ -12309,7 +12344,7 @@ export declare interface ɵDirectiveDef<T> {
12309
12344
  * used to do further processing after the `inputs` have been inverted.
12310
12345
  */
12311
12346
  readonly inputConfig: {
12312
- [P in keyof T]?: string | [ɵɵInputFlags, string, string?, InputTransformFunction?];
12347
+ [P in keyof T]?: string | [InputFlags, string, string?, InputTransformFunction?];
12313
12348
  };
12314
12349
  /**
12315
12350
  * @deprecated This is only here because `NgOnChanges` incorrectly uses declared name instead of
@@ -12464,7 +12499,7 @@ export declare const enum ɵExtraLocaleDataIndex {
12464
12499
  *
12465
12500
  * @param locale The locale code.
12466
12501
  * @returns The locale data.
12467
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
12502
+ * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
12468
12503
  */
12469
12504
  export declare function ɵfindLocaleData(locale: string): any;
12470
12505
 
@@ -12585,7 +12620,7 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
12585
12620
  * @param locale A locale code for the locale format rules to use.
12586
12621
  * @returns The plural function for the locale.
12587
12622
  * @see {@link NgPlural}
12588
- * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
12623
+ * @see [Internationalization (i18n) Guide](guide/i18n)
12589
12624
  */
12590
12625
  export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
12591
12626
 
@@ -12648,7 +12683,7 @@ export declare const ɵIMAGE_CONFIG_DEFAULTS: ɵImageConfig;
12648
12683
  * - disableImageLazyLoadWarning: A boolean value. Setting this to true will
12649
12684
  * disable console warnings about LCP images configured with `loading="lazy"`.
12650
12685
  * Learn more about the responsive image configuration in [the NgOptimizedImage
12651
- * guide](guide/image-directive).
12686
+ * guide](guide/image-optimization).
12652
12687
  * Learn more about image warning options in [the related error page](errors/NG0913).
12653
12688
  * @publicApi
12654
12689
  */
@@ -13150,8 +13185,6 @@ export declare interface ɵProviderRecord {
13150
13185
  importPath?: Type<unknown>[];
13151
13186
  }
13152
13187
 
13153
- export declare function ɵprovideZonelessChangeDetection(): EnvironmentProviders;
13154
-
13155
13188
  /**
13156
13189
  * Queue a state update to be performed asynchronously.
13157
13190
  *
@@ -13191,7 +13224,7 @@ export declare class ɵReflectionCapabilities implements PlatformReflectionCapab
13191
13224
 
13192
13225
  /**
13193
13226
  * Register locale data to be used internally by Angular. See the
13194
- * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
13227
+ * ["I18n guide"](guide/i18n/format-data-locale) to know how to import additional locale
13195
13228
  * data.
13196
13229
  *
13197
13230
  * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
@@ -13492,23 +13525,6 @@ export declare interface ɵSafeUrl extends ɵSafeValue {
13492
13525
  export declare interface ɵSafeValue {
13493
13526
  }
13494
13527
 
13495
- /**
13496
- * Configures change detection scheduling when using ZoneJS.
13497
- */
13498
- export declare enum ɵSchedulingMode {
13499
- /**
13500
- * Change detection will run when the `NgZone.onMicrotaskEmpty` observable emits.
13501
- * Change detection will also be scheduled to run whenever Angular is notified
13502
- * of a change. This includes calling `ChangeDetectorRef.markForCheck`,
13503
- * setting a `signal` value, and attaching a view.
13504
- */
13505
- Hybrid = 0,
13506
- /**
13507
- * Change detection will only run when the `NgZone.onMicrotaskEmpty` observable emits.
13508
- */
13509
- NgZoneOnly = 1
13510
- }
13511
-
13512
13528
  /**
13513
13529
  * Control whether the NgModule registration system enforces that each NgModule type registered has
13514
13530
  * a unique id.
@@ -14634,11 +14650,12 @@ export declare function ɵɵcomponentInstance(): unknown;
14634
14650
  * built-in "if" and "switch". On the high level this instruction is responsible for adding and
14635
14651
  * removing views selected by a conditional expression.
14636
14652
  *
14637
- * @param matchingTemplateIndex index of a template TNode representing a conditional view to be
14653
+ * @param matchingTemplateIndex Index of a template TNode representing a conditional view to be
14638
14654
  * inserted; -1 represents a special case when there is no view to insert.
14655
+ * @param contextValue Value that should be exposed as the context of the conditional.
14639
14656
  * @codeGenApi
14640
14657
  */
14641
- export declare function ɵɵconditional<T>(containerIndex: number, matchingTemplateIndex: number, value?: T): void;
14658
+ export declare function ɵɵconditional<T>(matchingTemplateIndex: number, contextValue?: T): void;
14642
14659
 
14643
14660
  /**
14644
14661
  * Registers a QueryList, associated with a content query, for later refresh (part of a view
@@ -15390,14 +15407,6 @@ export declare interface ɵɵInjectorDef<T> {
15390
15407
  imports: (InjectorType<any> | InjectorTypeWithProviders<any>)[];
15391
15408
  }
15392
15409
 
15393
-
15394
- /** Flags describing an input for a directive. */
15395
- export declare enum ɵɵInputFlags {
15396
- None = 0,
15397
- SignalBased = 1,
15398
- HasDecoratorInputTransform = 2
15399
- }
15400
-
15401
15410
  /**
15402
15411
  * Decorates the directive definition with support for input transform functions.
15403
15412
  *