@angular/core 22.0.0-next.3 → 22.0.0-next.4

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 (70) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_debug_node-chunk.mjs +373 -152
  3. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  4. package/fesm2022/_effect-chunk.mjs +1 -1
  5. package/fesm2022/_effect-chunk.mjs.map +1 -1
  6. package/fesm2022/_not_found-chunk.mjs +1 -1
  7. package/fesm2022/_not_found-chunk.mjs.map +1 -1
  8. package/fesm2022/_pending_tasks-chunk.mjs +2 -2
  9. package/fesm2022/_pending_tasks-chunk.mjs.map +1 -1
  10. package/fesm2022/_resource-chunk.mjs +2 -2
  11. package/fesm2022/_resource-chunk.mjs.map +1 -1
  12. package/fesm2022/_untracked-chunk.mjs +9 -5
  13. package/fesm2022/_untracked-chunk.mjs.map +1 -1
  14. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  15. package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
  16. package/fesm2022/core.mjs +10 -11
  17. package/fesm2022/core.mjs.map +1 -1
  18. package/fesm2022/primitives-di.mjs +1 -1
  19. package/fesm2022/primitives-di.mjs.map +1 -1
  20. package/fesm2022/primitives-event-dispatch.mjs +2 -20
  21. package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
  22. package/fesm2022/primitives-signals.mjs +2 -2
  23. package/fesm2022/primitives-signals.mjs.map +1 -1
  24. package/fesm2022/rxjs-interop.mjs +2 -2
  25. package/fesm2022/rxjs-interop.mjs.map +1 -1
  26. package/fesm2022/testing.mjs +10 -13
  27. package/fesm2022/testing.mjs.map +1 -1
  28. package/package.json +2 -2
  29. package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
  30. package/schematics/bundles/change-detection-eager.cjs +1 -1
  31. package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
  32. package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
  33. package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
  34. package/schematics/bundles/control-flow-migration.cjs +1 -1
  35. package/schematics/bundles/http-xhr-backend.cjs +1 -1
  36. package/schematics/bundles/imports-CKV-ITqD.cjs +1 -1
  37. package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
  38. package/schematics/bundles/inject-migration.cjs +1 -1
  39. package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
  40. package/schematics/bundles/{migrate_ts_type_references-MWoZx-Cb.cjs → migrate_ts_type_references-Dp33iyGx.cjs} +24 -22
  41. package/schematics/bundles/ng_component_template-DPAF1aEA.cjs +1 -1
  42. package/schematics/bundles/ng_decorators-IVztR9rk.cjs +1 -1
  43. package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
  44. package/schematics/bundles/ngstyle-to-style-migration.cjs +14 -6
  45. package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
  46. package/schematics/bundles/output-migration.cjs +1 -1
  47. package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
  48. package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
  49. package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
  50. package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
  51. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  52. package/schematics/bundles/router-testing-module-migration.cjs +1 -1
  53. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  54. package/schematics/bundles/signal-input-migration.cjs +2 -2
  55. package/schematics/bundles/signal-queries-migration.cjs +2 -2
  56. package/schematics/bundles/signals.cjs +2 -2
  57. package/schematics/bundles/standalone-migration.cjs +1 -1
  58. package/types/_api-chunk.d.ts +2 -2
  59. package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
  60. package/types/_debug_node-chunk.d.ts +8 -26
  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 +54 -34
  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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "22.0.0-next.3",
3
+ "version": "22.0.0-next.4",
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": "22.0.0-next.3",
49
+ "@angular/compiler": "22.0.0-next.4",
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -191,9 +191,11 @@ function areAllEquivalent(base, other) {
191
191
  return areAllEquivalentPredicate(base, other, (baseElement, otherElement) => baseElement.isEquivalent(otherElement));
192
192
  }
193
193
  class Expression {
194
+ leadingComments;
194
195
  type;
195
196
  sourceSpan;
196
- constructor(type, sourceSpan) {
197
+ constructor(type, sourceSpan, leadingComments) {
198
+ this.leadingComments = leadingComments;
197
199
  this.type = type || null;
198
200
  this.sourceSpan = sourceSpan || null;
199
201
  }
@@ -203,13 +205,13 @@ class Expression {
203
205
  key(index, type, sourceSpan) {
204
206
  return new ReadKeyExpr(this, index, type, sourceSpan);
205
207
  }
206
- callFn(params, sourceSpan, pure) {
207
- return new InvokeFunctionExpr(this, params, null, sourceSpan, pure);
208
+ callFn(params, sourceSpan, pure, leadingComments) {
209
+ return new InvokeFunctionExpr(this, params, null, sourceSpan, pure, leadingComments);
208
210
  }
209
- instantiate(params, type, sourceSpan) {
211
+ instantiate(params, type, sourceSpan, leadingComments) {
210
212
  return new InstantiateExpr(this, params, type, sourceSpan);
211
213
  }
212
- conditional(trueCase, falseCase = null, sourceSpan) {
214
+ conditional(trueCase, falseCase = null, sourceSpan, leadingComments) {
213
215
  return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);
214
216
  }
215
217
  equals(rhs, sourceSpan) {
@@ -274,16 +276,16 @@ class Expression {
274
276
  nullishCoalesce(rhs, sourceSpan) {
275
277
  return new BinaryOperatorExpr(BinaryOperator.NullishCoalesce, this, rhs, null, sourceSpan);
276
278
  }
277
- toStmt() {
278
- return new ExpressionStatement(this, null);
279
+ toStmt(leadingComments) {
280
+ return new ExpressionStatement(this, null, leadingComments);
279
281
  }
280
282
  }
281
283
  class InvokeFunctionExpr extends Expression {
282
284
  fn;
283
285
  args;
284
286
  pure;
285
- constructor(fn, args, type, sourceSpan, pure = false) {
286
- super(type, sourceSpan);
287
+ constructor(fn, args, type, sourceSpan, pure = false, leadingComments) {
288
+ super(type, sourceSpan, leadingComments);
287
289
  this.fn = fn;
288
290
  this.args = args;
289
291
  this.pure = pure;
@@ -311,8 +313,8 @@ class InvokeFunctionExpr extends Expression {
311
313
  class InstantiateExpr extends Expression {
312
314
  classExpr;
313
315
  args;
314
- constructor(classExpr, args, type, sourceSpan) {
315
- super(type, sourceSpan);
316
+ constructor(classExpr, args, type, sourceSpan, leadingComments) {
317
+ super(type, sourceSpan, leadingComments);
316
318
  this.classExpr = classExpr;
317
319
  this.args = args;
318
320
  }
@@ -333,8 +335,8 @@ class InstantiateExpr extends Expression {
333
335
  }
334
336
  class LiteralExpr extends Expression {
335
337
  value;
336
- constructor(value, type, sourceSpan) {
337
- super(type, sourceSpan);
338
+ constructor(value, type, sourceSpan, leadingComments) {
339
+ super(type, sourceSpan, leadingComments);
338
340
  this.value = value;
339
341
  }
340
342
  isEquivalent(e) {
@@ -354,8 +356,8 @@ class ConditionalExpr extends Expression {
354
356
  condition;
355
357
  falseCase;
356
358
  trueCase;
357
- constructor(condition, trueCase, falseCase = null, type, sourceSpan) {
358
- super(type || trueCase.type, sourceSpan);
359
+ constructor(condition, trueCase, falseCase = null, type, sourceSpan, leadingComments) {
360
+ super(type || trueCase.type, sourceSpan, leadingComments);
359
361
  this.condition = condition;
360
362
  this.falseCase = falseCase;
361
363
  this.trueCase = trueCase;
@@ -380,8 +382,8 @@ class BinaryOperatorExpr extends Expression {
380
382
  operator;
381
383
  rhs;
382
384
  lhs;
383
- constructor(operator, lhs, rhs, type, sourceSpan) {
384
- super(type || lhs.type, sourceSpan);
385
+ constructor(operator, lhs, rhs, type, sourceSpan, leadingComments) {
386
+ super(type || lhs.type, sourceSpan, leadingComments);
385
387
  this.operator = operator;
386
388
  this.rhs = rhs;
387
389
  this.lhs = lhs;
@@ -418,8 +420,8 @@ class BinaryOperatorExpr extends Expression {
418
420
  class ReadPropExpr extends Expression {
419
421
  receiver;
420
422
  name;
421
- constructor(receiver, name, type, sourceSpan) {
422
- super(type, sourceSpan);
423
+ constructor(receiver, name, type, sourceSpan, leadingComments) {
424
+ super(type, sourceSpan, leadingComments);
423
425
  this.receiver = receiver;
424
426
  this.name = name;
425
427
  }
@@ -446,8 +448,8 @@ class ReadPropExpr extends Expression {
446
448
  class ReadKeyExpr extends Expression {
447
449
  receiver;
448
450
  index;
449
- constructor(receiver, index, type, sourceSpan) {
450
- super(type, sourceSpan);
451
+ constructor(receiver, index, type, sourceSpan, leadingComments) {
452
+ super(type, sourceSpan, leadingComments);
451
453
  this.receiver = receiver;
452
454
  this.index = index;
453
455
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -115,12 +115,20 @@ function getPropertyRemovalRange(property) {
115
115
  }
116
116
  const properties = parent.properties;
117
117
  const propertyIndex = properties.indexOf(property);
118
- const end = property.getEnd();
119
- if (propertyIndex < properties.length - 1) {
120
- const nextProperty = properties[propertyIndex + 1];
121
- return { start: property.getStart(), end: nextProperty.getStart() };
118
+ if (properties.length === 1) {
119
+ const sourceFile = property.getSourceFile();
120
+ let end = property.getEnd();
121
+ const textAfter = sourceFile.text.substring(end, parent.getEnd());
122
+ const commaIndex = textAfter.indexOf(',');
123
+ if (commaIndex !== -1) {
124
+ end += commaIndex + 1;
125
+ }
126
+ return { start: property.getFullStart(), end };
127
+ }
128
+ if (propertyIndex === 0) {
129
+ return { start: property.getFullStart(), end: properties[1].getFullStart() };
122
130
  }
123
- return { start: property.getStart(), end };
131
+ return { start: properties[propertyIndex - 1].getEnd(), end: property.getEnd() };
124
132
  }
125
133
  function calculateImportReplacements(info, sourceFiles, filesToRemoveCommonModule) {
126
134
  const importReplacements = {};
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var migrate_ts_type_references = require('./migrate_ts_type_references-MWoZx-Cb.cjs');
9
+ var migrate_ts_type_references = require('./migrate_ts_type_references-Dp33iyGx.cjs');
10
10
  var ts = require('typescript');
11
11
  require('@angular/compiler-cli');
12
12
  var migrations = require('@angular/compiler-cli/private/migrations');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -12,7 +12,7 @@ require('@angular/compiler-cli');
12
12
  require('node:path');
13
13
  var project_paths = require('./project_paths-D2V-Uh2L.cjs');
14
14
  var apply_import_manager = require('./apply_import_manager-CxA_YYgB.cjs');
15
- var migrate_ts_type_references = require('./migrate_ts_type_references-MWoZx-Cb.cjs');
15
+ var migrate_ts_type_references = require('./migrate_ts_type_references-Dp33iyGx.cjs');
16
16
  var assert = require('assert');
17
17
  var index = require('./index-BtLcQH8g.cjs');
18
18
  var compiler = require('@angular/compiler');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -19,7 +19,7 @@ require('@angular-devkit/core');
19
19
  require('node:path/posix');
20
20
  require('./project_tsconfig_paths-DkkMibv-.cjs');
21
21
  require('./apply_import_manager-CxA_YYgB.cjs');
22
- require('./migrate_ts_type_references-MWoZx-Cb.cjs');
22
+ require('./migrate_ts_type_references-Dp33iyGx.cjs');
23
23
  require('assert');
24
24
  require('./index-BtLcQH8g.cjs');
25
25
  require('@angular/compiler');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v22.0.0-next.3
3
+ * @license Angular v22.0.0-next.4
4
4
  * (c) 2010-2026 Google LLC. https://angular.dev/
5
5
  * License: MIT
6
6
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { OutputRef, OutputRefSubscription, DestroyRef, Signal, WritableSignal, ValueEqualityFn, Injector } from './_chrome_dev_tools_performance-chunk.js';
7
+ import { OutputRef, OutputRefSubscription, DestroyRef, Signal, ValueEqualityFn, Injector, WritableSignal } from './_chrome_dev_tools_performance-chunk.js';
8
8
 
9
9
  /**
10
10
  * An `OutputEmitterRef` is created by the `output()` function and can be
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -212,7 +212,7 @@ type TrustedScriptURL = string & {
212
212
  /**
213
213
  * Function used to sanitize the value before writing it into the renderer.
214
214
  */
215
- type SanitizerFn = (value: any, tagName?: string, propName?: string) => string | TrustedHTML | TrustedScript | TrustedScriptURL;
215
+ type SanitizerFn = (value: any, tagName: string, propName: string) => string | TrustedHTML | TrustedScript | TrustedScriptURL;
216
216
 
217
217
  /**
218
218
  * Stores a list of nodes which need to be removed.
@@ -1109,15 +1109,6 @@ type CssSelector = (string | SelectorFlags)[];
1109
1109
  * Parsed: [['form'], ['', 'ngForm', '']]
1110
1110
  */
1111
1111
  type CssSelectorList = CssSelector[];
1112
- /**
1113
- * List of slots for a projection. A slot can be either based on a parsed CSS selector
1114
- * which will be used to determine nodes which are projected into that slot.
1115
- *
1116
- * When set to "*", the slot is reserved and can be used for multi-slot projection
1117
- * using {@link ViewContainerRef#createComponent}. The last slot that specifies the
1118
- * wildcard selector will retrieve all projectable nodes which do not match any selector.
1119
- */
1120
- type ProjectionSlots = (CssSelectorList | '*')[];
1121
1112
  /** Flags used to build up CssSelectors */
1122
1113
  declare const enum SelectorFlags {
1123
1114
  /** Indicates this is the beginning of a new negative selector */
@@ -2388,6 +2379,8 @@ interface ControlDirectiveHost<_TPassthroughInput extends string | undefined = u
2388
2379
  * A `FormUiControl` instance that this directive is declared on.
2389
2380
  */
2390
2381
  readonly customControl: unknown | undefined;
2382
+ /** The native DOM element for the host node, if applicable. */
2383
+ readonly nativeElement: HTMLElement;
2391
2384
  /**
2392
2385
  * Registers a listener that will be called when the custom control's value changes.
2393
2386
  *
@@ -2909,7 +2902,7 @@ interface DehydratedDeferBlock {
2909
2902
  * Describes the shape of a function generated by the compiler
2910
2903
  * to download dependencies that can be defer-loaded.
2911
2904
  */
2912
- type DependencyResolverFn = () => Array<Promise<DependencyType>>;
2905
+ type DependencyResolverFn = () => Array<Promise<DependencyType> | DependencyType>;
2913
2906
  /**
2914
2907
  * Describes the state of defer block dependency loading.
2915
2908
  */
@@ -4843,7 +4836,7 @@ type ɵɵNgModuleDeclaration<T, Declarations, Imports, Exports> = unknown;
4843
4836
  /**
4844
4837
  * @publicApi
4845
4838
  */
4846
- type ɵɵPipeDeclaration<T, Name extends string, IsStandalone extends boolean = false> = unknown;
4839
+ type ɵɵPipeDeclaration<T, Name extends string | null, IsStandalone extends boolean = false> = unknown;
4847
4840
  /**
4848
4841
  * @publicApi
4849
4842
  */
@@ -4963,17 +4956,6 @@ declare abstract class ChangeDetectorRef {
4963
4956
  *
4964
4957
  */
4965
4958
  abstract detectChanges(): void;
4966
- /**
4967
- * Checks the change detector and its children, and throws if any changes are detected.
4968
- *
4969
- * Use in development mode to verify that running change detection doesn't introduce
4970
- * other changes. Calling it in production mode is a noop.
4971
- *
4972
- * @deprecated This is a test-only API that does not have a place in production interface.
4973
- * `checkNoChanges` is already part of an `ApplicationRef` tick when the app is running in dev
4974
- * mode. For more granular `checkNoChanges` validation, use `ComponentFixture`.
4975
- */
4976
- abstract checkNoChanges(): void;
4977
4959
  /**
4978
4960
  * Re-attaches the previously detached view to the change detection tree.
4979
4961
  * Views are attached to the tree by default.
@@ -7593,5 +7575,5 @@ declare function getDebugNode(nativeNode: any): DebugNode | null;
7593
7575
  */
7594
7576
  type Predicate<T> = (value: T) => boolean;
7595
7577
 
7596
- 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 };
7597
- 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 };
7578
+ 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, 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 };
7579
+ 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, RElement, RNode, RawScopeInfoFromDecorator, RendererType2, SanitizerFn, SchemaMetadata, TAttributes, 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 v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
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 v22.0.0-next.3
2
+ * @license Angular v22.0.0-next.4
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */