@angular/core 21.2.0-next.0 → 21.2.0-next.2

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 (77) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_attribute-chunk.mjs.map +1 -1
  3. package/fesm2022/_debug_node-chunk.mjs +189 -535
  4. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  5. package/fesm2022/_effect-chunk.mjs +2 -11
  6. package/fesm2022/_effect-chunk.mjs.map +1 -1
  7. package/fesm2022/_effect-chunk2.mjs +2969 -0
  8. package/fesm2022/_effect-chunk2.mjs.map +1 -0
  9. package/fesm2022/_not_found-chunk.mjs +1 -1
  10. package/fesm2022/_not_found-chunk.mjs.map +1 -1
  11. package/fesm2022/_resource-chunk.mjs +8 -4
  12. package/fesm2022/_resource-chunk.mjs.map +1 -1
  13. package/fesm2022/_untracked-chunk.mjs +72 -2946
  14. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  15. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  16. package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
  17. package/fesm2022/core.mjs +6 -10
  18. package/fesm2022/core.mjs.map +1 -1
  19. package/fesm2022/primitives-di.mjs +1 -1
  20. package/fesm2022/primitives-di.mjs.map +1 -1
  21. package/fesm2022/primitives-event-dispatch.mjs +2 -2
  22. package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
  23. package/fesm2022/primitives-signals.mjs +3 -3
  24. package/fesm2022/primitives-signals.mjs.map +1 -1
  25. package/fesm2022/rxjs-interop.mjs +4 -4
  26. package/fesm2022/rxjs-interop.mjs.map +1 -1
  27. package/fesm2022/testing.mjs +2 -2
  28. package/fesm2022/testing.mjs.map +1 -1
  29. package/package.json +2 -2
  30. package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
  31. package/schematics/bundles/application-config-core.cjs +1 -1
  32. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  33. package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
  34. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  35. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  36. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  37. package/schematics/bundles/control-flow-migration.cjs +1 -1
  38. package/schematics/bundles/imports-CVmcbVA9.cjs +1 -1
  39. package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
  40. package/schematics/bundles/inject-migration.cjs +1 -1
  41. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  42. package/schematics/bundles/migrate_ts_type_references-MWoZx-Cb.cjs +1 -1
  43. package/schematics/bundles/ng_component_template-BOuKAnQd.cjs +1 -1
  44. package/schematics/bundles/ng_decorators-DYy6II6x.cjs +1 -1
  45. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  46. package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
  47. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  48. package/schematics/bundles/output-migration.cjs +1 -1
  49. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  50. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  51. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  52. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  53. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  54. package/schematics/bundles/router-current-navigation.cjs +1 -1
  55. package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
  56. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  57. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  58. package/schematics/bundles/signal-input-migration.cjs +1 -1
  59. package/schematics/bundles/signal-queries-migration.cjs +1 -1
  60. package/schematics/bundles/signals.cjs +1 -1
  61. package/schematics/bundles/standalone-migration.cjs +1 -1
  62. package/schematics/bundles/symbol-DZeHSR-V.cjs +1 -1
  63. package/types/_api-chunk.d.ts +2 -1
  64. package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
  65. package/types/_discovery-chunk.d.ts +93 -50
  66. package/types/_effect-chunk.d.ts +1 -1
  67. package/types/_event_dispatcher-chunk.d.ts +2 -2
  68. package/types/_formatter-chunk.d.ts +1 -1
  69. package/types/_weak_ref-chunk.d.ts +1 -1
  70. package/types/core.d.ts +13 -184
  71. package/types/primitives-di.d.ts +1 -1
  72. package/types/primitives-event-dispatch.d.ts +3 -3
  73. package/types/primitives-signals.d.ts +1 -1
  74. package/types/rxjs-interop.d.ts +1 -1
  75. package/types/testing.d.ts +1 -1
  76. package/fesm2022/_linked_signal-chunk.mjs +0 -87
  77. package/fesm2022/_linked_signal-chunk.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "21.2.0-next.0",
3
+ "version": "21.2.0-next.2",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "tslib": "^2.3.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@angular/compiler": "21.2.0-next.0",
49
+ "@angular/compiler": "21.2.0-next.2",
50
50
  "rxjs": "^6.5.3 || ^7.4.0",
51
51
  "zone.js": "~0.15.0 || ~0.16.0"
52
52
  },
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.2.0-next.0
3
+ * @license Angular v21.2.0-next.2
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -300,6 +300,7 @@ type ResourceStreamItem<T> = {
300
300
  * An explicit representation of a resource's state.
301
301
  *
302
302
  * @experimental
303
+ * @see [Resource composition with snapshots](guide/signals/resource#resource-composition-with-snapshots)
303
304
  */
304
305
  type ResourceSnapshot<T> = {
305
306
  readonly status: 'idle';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1126,6 +1126,10 @@ declare const enum TNodeType {
1126
1126
  * The TNode contains information about a `@let` declaration.
1127
1127
  */
1128
1128
  LetDeclaration = 128,
1129
+ /**
1130
+ * The TNode contains a control directive's update function.
1131
+ */
1132
+ ControlDirective = 256,
1129
1133
  AnyRNode = 3,// Text | Element
1130
1134
  AnyContainer = 12
1131
1135
  }
@@ -1181,26 +1185,7 @@ declare const enum TNodeFlags {
1181
1185
  *
1182
1186
  * This is used to bind to a `ControlValueAccessor` from `@angular/forms`.
1183
1187
  */
1184
- isInteropControl = 4096,
1185
- /**
1186
- * Bit #14 - This bit is set if the node is a native control.
1187
- *
1188
- * This is used to determine whether we can bind common control properties to the host element of
1189
- * a custom control when it doesn't define a corresponding input.
1190
- */
1191
- isNativeControl = 8192,
1192
- /**
1193
- * Bit #15 - This bit is set if the node is a native control with a numeric type.
1194
- *
1195
- * This is used to determine whether the control supports the `min` and `max` properties.
1196
- */
1197
- isNativeNumericControl = 16384,
1198
- /**
1199
- * Bit #16 - This bit is set if the node is a native text control.
1200
- *
1201
- * This is used to determine whether control supports the `minLength` and `maxLength` properties.
1202
- */
1203
- isNativeTextControl = 32768
1188
+ isPassThroughControl = 4096
1204
1189
  }
1205
1190
  /**
1206
1191
  * Corresponds to the TNode.providerIndexes property.
@@ -1351,7 +1336,7 @@ interface TNode {
1351
1336
  * Index at which the signal forms field directive is stored.
1352
1337
  * Value is set to -1 if there are no field directives.
1353
1338
  */
1354
- fieldIndex: number;
1339
+ controlDirectiveIndex: number;
1355
1340
  /**
1356
1341
  * Index at which the custom control directive is stored.
1357
1342
  * Value is set to -1 if there is no custom control directive.
@@ -2309,6 +2294,74 @@ declare enum InputFlags {
2309
2294
  HasDecoratorInputTransform = 2
2310
2295
  }
2311
2296
 
2297
+ /**
2298
+ * A control directive definition that captures control-related behavior for a directive.
2299
+ *
2300
+ * This is the type of `DirectiveDef.controlDef`.
2301
+ *
2302
+ * @see ɵɵControlFeature
2303
+ */
2304
+ interface ControlDirectiveDef {
2305
+ readonly passThroughInput: string | null;
2306
+ readonly create: (instance: unknown, host: ControlDirectiveHost) => void;
2307
+ readonly update: (instance: unknown, host: ControlDirectiveHost) => void;
2308
+ }
2309
+ /**
2310
+ * Interface provided by the runtime to directives that act as form controls, as the argument to
2311
+ * `ɵngControlCreate` and `ɵngControlUpdate` lifecycle hooks.
2312
+ *
2313
+ * @param _TPassthroughInput if given, the name of an input which, if found on other directives,
2314
+ * will cause the control infrastructure to recognize this usage as "pass-through". This sets
2315
+ * the `hasPassThrough` flag. This generic is only read by the compiler on the type declaration
2316
+ * of `ɵngControlCreate`, and has no impact on the type of the host.
2317
+ */
2318
+ interface ControlDirectiveHost<_TPassthroughInput extends string | undefined = undefined> {
2319
+ /**
2320
+ * A string that describes this control directive, used for error messages.
2321
+ */
2322
+ readonly descriptor: string;
2323
+ /**
2324
+ * Whether any other directive on the element has an input that matches this directive's
2325
+ * `_TPassThroughInput` declaration.
2326
+ */
2327
+ readonly hasPassThrough: boolean;
2328
+ /**
2329
+ * A `FormUiControl` instance that this directive is declared on.
2330
+ */
2331
+ readonly customControl: unknown | undefined;
2332
+ /**
2333
+ * Registers a listener that will be called when the custom control's value changes.
2334
+ *
2335
+ * This abstracts over the fact that different types of custom controls use different model
2336
+ * names (`value` vs `checked`).
2337
+ */
2338
+ listenToCustomControlModel(listener: (value: unknown) => void): void;
2339
+ /**
2340
+ * Registers a listener that will be called when the custom control emits an output.
2341
+ */
2342
+ listenToCustomControlOutput(outputName: string, listener: () => void): void;
2343
+ /**
2344
+ * Sets the custom control's value.
2345
+ *
2346
+ * This abstracts over the fact that different types of custom controls use different model
2347
+ * names (`value` vs `checked`).
2348
+ */
2349
+ setCustomControlModelInput(value: unknown): void;
2350
+ /**
2351
+ * Checks if the custom control has an input with the given name.
2352
+ */
2353
+ customControlHasInput(inputName: string): boolean;
2354
+ /**
2355
+ * Updates a property binding on all directives on this node, aside from the control directive
2356
+ * itself.
2357
+ */
2358
+ setInputOnDirectives(inputName: string, value: unknown): boolean;
2359
+ /**
2360
+ * Listens to a DOM event on the host element.
2361
+ */
2362
+ listenToDom(eventName: string, listener: (event: Event) => void): void;
2363
+ }
2364
+
2312
2365
  /**
2313
2366
  * Definition of what a template rendering function should look like for a component.
2314
2367
  */
@@ -2510,6 +2563,7 @@ interface DirectiveDef<T> {
2510
2563
  * distinguish if a function in the array is a `Type` or a `() => HostDirectiveConfig[]`.
2511
2564
  */
2512
2565
  hostDirectives: (HostDirectiveDef | (() => HostDirectiveConfig[]))[] | null;
2566
+ controlDef: ControlDirectiveDef | null;
2513
2567
  setInput: (<U extends T>(this: DirectiveDef<U>, instance: U, inputSignalNode: null | InputSignalNode<unknown, unknown>, value: any, publicName: string, privateName: string) => void) | null;
2514
2568
  }
2515
2569
  /**
@@ -4694,8 +4748,15 @@ declare enum ChangeDetectionStrategy {
4694
4748
  /**
4695
4749
  * Use the default `CheckAlways` strategy, in which change detection is automatic until
4696
4750
  * explicitly deactivated.
4751
+ * @deprecated Use `Eager` instead.
4697
4752
  */
4698
- Default = 1
4753
+ Default = 1,
4754
+ /**
4755
+ * Use the `Eager` strategy, meaning that the component is checked eagerly when the change
4756
+ * detection traversal reaches it, rather than only checking under certain circumstances (e.g.
4757
+ * `markForCheck`, a signal in the template changed, etc).
4758
+ */
4759
+ Eager = 1
4699
4760
  }
4700
4761
 
4701
4762
  /**
@@ -4751,7 +4812,7 @@ interface DirectiveDecorator {
4751
4812
  *
4752
4813
  * ### Declaring directives
4753
4814
  *
4754
- * By default, directives are marked as [standalone](guide/components/importing), which makes
4815
+ * By default, directives are marked as standalone, which makes
4755
4816
  * them available to other components in your application.
4756
4817
  *
4757
4818
  * ```ts
@@ -5006,8 +5067,9 @@ interface Directive {
5006
5067
  *
5007
5068
  * For event handling:
5008
5069
  * - The key is the DOM event that the directive listens to.
5009
- * To listen to global events, add the target to the event name.
5010
- * The target can be `window`, `document` or `body`.
5070
+ * The global target names that can be used to prefix an event name are
5071
+ * `document:`, `window:` and `body:`.
5072
+ *
5011
5073
  * - The value is the statement to execute when the event occurs. If the
5012
5074
  * statement evaluates to `false`, then `preventDefault` is applied on the DOM
5013
5075
  * event. A handler method can refer to the `$event` local variable.
@@ -5024,12 +5086,7 @@ interface Directive {
5024
5086
  */
5025
5087
  jit?: true;
5026
5088
  /**
5027
- * Angular directives marked as `standalone` do not need to be declared in an NgModule. Such
5028
- * directives don't depend on any "intermediate context" of an NgModule (ex. configured
5029
- * providers).
5030
- *
5031
- * More information about standalone components, directives, and pipes can be found in [this
5032
- * guide](guide/components/importing).
5089
+ * Set `standalone` to `false` if you want to import the directive into an NgModule.
5033
5090
  */
5034
5091
  standalone?: boolean;
5035
5092
  /**
@@ -5289,12 +5346,7 @@ interface Component extends Directive {
5289
5346
  */
5290
5347
  preserveWhitespaces?: boolean;
5291
5348
  /**
5292
- * Angular components marked as `standalone` do not need to be declared in an NgModule. Such
5293
- * components directly manage their own template dependencies (components, directives, and pipes
5294
- * used in a template) via the imports property.
5295
- *
5296
- * More information about standalone components, directives, and pipes can be found in [this
5297
- * guide](guide/components/importing).
5349
+ * Set `standalone` to `false` if you want to import the directive into an NgModule.
5298
5350
  */
5299
5351
  standalone?: boolean;
5300
5352
  /**
@@ -5304,9 +5356,6 @@ interface Component extends Directive {
5304
5356
  *
5305
5357
  * This property is only available for standalone components - specifying it for components
5306
5358
  * declared in an NgModule generates a compilation error.
5307
- *
5308
- * More information about standalone components, directives, and pipes can be found in [this
5309
- * guide](guide/components/importing).
5310
5359
  */
5311
5360
  imports?: (Type<any> | ReadonlyArray<any>)[];
5312
5361
  /**
@@ -5315,9 +5364,6 @@ interface Component extends Directive {
5315
5364
  *
5316
5365
  * This property is only available for standalone components - specifying it for components
5317
5366
  * declared in an NgModule generates a compilation error.
5318
- *
5319
- * More information about standalone components, directives, and pipes can be found in [this
5320
- * guide](guide/components/importing).
5321
5367
  */
5322
5368
  schemas?: SchemaMetadata[];
5323
5369
  }
@@ -5387,9 +5433,6 @@ interface Pipe {
5387
5433
  /**
5388
5434
  * Angular pipes marked as `standalone` do not need to be declared in an NgModule. Such
5389
5435
  * pipes don't depend on any "intermediate context" of an NgModule (ex. configured providers).
5390
- *
5391
- * More information about standalone components, directives, and pipes can be found in [this
5392
- * guide](guide/components/importing).
5393
5436
  */
5394
5437
  standalone?: boolean;
5395
5438
  }
@@ -5536,7 +5579,7 @@ interface HostBindingDecorator {
5536
5579
  *
5537
5580
  * @usageNotes
5538
5581
  *
5539
- * NOTE: **Always** prefer using the `host` property over `@HostBinding`.
5582
+ * NOTE: **Always** prefer using the [`host` property](guide/components/host-elements#binding-to-the-host-element) over `@HostBinding`.
5540
5583
  * This decorator exist exclusively for backwards compatibility.
5541
5584
  *
5542
5585
  * The following example creates a directive that sets the `valid` and `invalid`
@@ -5613,7 +5656,7 @@ interface HostListenerDecorator {
5613
5656
  *
5614
5657
  * @usageNotes
5615
5658
  *
5616
- * NOTE: **Always** prefer using the `host` property over `@HostListener`.
5659
+ * NOTE: **Always** prefer using the [`host` property](guide/components/host-elements#binding-to-the-host-element) over `@HostListener`.
5617
5660
  * This decorator exist exclusively for backwards compatibility.
5618
5661
  *
5619
5662
  * The following example declares a directive
@@ -7513,4 +7556,4 @@ interface DeferBlockDetails extends DehydratedDeferBlock {
7513
7556
  declare function getDeferBlocks(lView: LView, deferBlocks: DeferBlockDetails[]): void;
7514
7557
 
7515
7558
  export { ANIMATIONS_DISABLED, APP_BOOTSTRAP_LISTENER, AfterRenderManager, AnimationRendererType, ApplicationRef, AttributeMarker, COMPILER_OPTIONS, CONTAINER_HEADER_OFFSET, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionScheduler, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, DebugElement, DebugEventListener, DebugNode, DeferBlockBehavior, DeferBlockState, Directive, EffectScheduler, ElementRef, EmbeddedViewRef, EnvironmentInjector, EventEmitter, HostBinding, HostListener, INJECTOR_SCOPE, Input, InputFlags, MAX_ANIMATION_TIMEOUT, ModuleWithComponentFactories, NG_INJ_DEF, NG_PROV_DEF, NO_ERRORS_SCHEMA, NavigateEvent, Navigation, NavigationCurrentEntryChangeEvent, NavigationDestination, NavigationHistoryEntry, NavigationTransition, NgModule, NgModuleFactory, NgModuleRef, NgZone, NoopNgZone, NotificationSource, Output, PROVIDED_ZONELESS, Pipe, PlatformRef, QueryFlags, QueryList, R3Injector, RenderFlags, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, TDeferDetailsFlags, TracingAction, TracingService, ViewEncapsulation, ViewRef, ZONELESS_ENABLED, asNativeElements, effect, getDebugNode, getDeferBlocks, getInjectableDef, injectChangeDetectorRef, inputBinding, isBoundToModule, isInjectable, outputBinding, twoWayBinding, ɵɵdefineInjectable, ɵɵdefineInjector };
7516
- export type { AfterRenderRef, AnimationCallbackEvent, AnimationClassBindingFn, AnimationFunction, Binding, BootstrapOptions, ClassDebugInfo, CompilerOptions, ComponentDecorator, ComponentDef, ComponentDefFeature, ComponentTemplate, ComponentType, ContentQueriesFunction, CreateEffectOptions, CssSelectorList, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockDetails, DehydratedDeferBlock, DependencyResolverFn, DependencyTypeList, DirectiveDecorator, DirectiveDef, DirectiveDefFeature, DirectiveType, DirectiveWithBindings, EffectCleanupFn, EffectCleanupRegisterFn, EffectRef, GlobalTargetResolver, HostBindingDecorator, HostBindingsFunction, HostDirectiveConfig, HostListenerDecorator, InjectableType, InjectorType, InputDecorator, InputSignalNode, InputTransformFunction, InternalNgModuleRef, LContainer, LView, ListenerOptions, LocalRefExtractor, NavigationInterceptOptions, NavigationNavigateOptions, NavigationOptions, NavigationReloadOptions, NavigationResult, NavigationTypeString, NavigationUpdateCurrentEntryOptions, NgModuleDecorator, NgModuleScopeInfoFromDecorator, OpaqueViewState, OutputDecorator, PipeDecorator, PipeDef, PipeType, Predicate, ProjectionSlots, RElement, RNode, RawScopeInfoFromDecorator, RendererType2, SanitizerFn, SchemaMetadata, TAttributes, TConstantsOrFactory, TDeferBlockDetails, TNode, TView, TracingSnapshot, TrustedHTML, TrustedScript, TrustedScriptURL, TypeDecorator, TypeOrFactory, ViewQueriesFunction, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵFactoryDeclaration, ɵɵInjectableDeclaration, ɵɵInjectorDeclaration, ɵɵInjectorDef, ɵɵNgModuleDeclaration, ɵɵPipeDeclaration };
7559
+ export type { AfterRenderRef, AnimationCallbackEvent, AnimationClassBindingFn, AnimationFunction, Binding, BootstrapOptions, ClassDebugInfo, CompilerOptions, ComponentDecorator, ComponentDef, ComponentDefFeature, ComponentTemplate, ComponentType, ContentQueriesFunction, ControlDirectiveHost, CreateEffectOptions, CssSelectorList, DeferBlockConfig, DeferBlockDependencyInterceptor, DeferBlockDetails, DehydratedDeferBlock, DependencyResolverFn, DependencyTypeList, DirectiveDecorator, DirectiveDef, DirectiveDefFeature, DirectiveType, DirectiveWithBindings, EffectCleanupFn, EffectCleanupRegisterFn, EffectRef, GlobalTargetResolver, HostBindingDecorator, HostBindingsFunction, HostDirectiveConfig, HostListenerDecorator, InjectableType, InjectorType, InputDecorator, InputSignalNode, InputTransformFunction, InternalNgModuleRef, LContainer, LView, ListenerOptions, LocalRefExtractor, NavigationInterceptOptions, NavigationNavigateOptions, NavigationOptions, NavigationReloadOptions, NavigationResult, NavigationTypeString, NavigationUpdateCurrentEntryOptions, NgModuleDecorator, NgModuleScopeInfoFromDecorator, OpaqueViewState, OutputDecorator, PipeDecorator, PipeDef, PipeType, Predicate, ProjectionSlots, RElement, RNode, RawScopeInfoFromDecorator, RendererType2, SanitizerFn, SchemaMetadata, TAttributes, TConstantsOrFactory, TDeferBlockDetails, TNode, TView, TracingSnapshot, TrustedHTML, TrustedScript, TrustedScriptURL, TypeDecorator, TypeOrFactory, ViewQueriesFunction, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵFactoryDeclaration, ɵɵInjectableDeclaration, ɵɵInjectorDeclaration, ɵɵInjectorDef, ɵɵNgModuleDeclaration, ɵɵPipeDeclaration };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -368,5 +368,5 @@ declare class EventDispatcher {
368
368
  */
369
369
  declare function registerDispatcher(eventContract: UnrenamedEventContract, dispatcher: EventDispatcher): void;
370
370
 
371
- export { EventContract, EventContractContainer, EventDispatcher, EventInfoWrapper, EventPhase, Restriction, registerDispatcher };
371
+ export { EventContract, EventContractContainer, EventDispatcher, EventInfoWrapper, EventPhase, registerDispatcher };
372
372
  export type { EarlyJsactionDataContainer, EventInfo };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.2
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */