@angular/core 21.0.0-next.8 → 21.0.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/fesm2022/_attribute-chunk.mjs +1 -1
  2. package/fesm2022/_debug_node-chunk.mjs +481 -438
  3. package/fesm2022/_debug_node-chunk.mjs.map +1 -1
  4. package/fesm2022/_effect-chunk.mjs +512 -48
  5. package/fesm2022/_effect-chunk.mjs.map +1 -1
  6. package/fesm2022/{_root_effect_scheduler-chunk.mjs → _effect-chunk2.mjs} +197 -19
  7. package/fesm2022/_effect-chunk2.mjs.map +1 -0
  8. package/fesm2022/_not_found-chunk.mjs +1 -1
  9. package/fesm2022/_resource-chunk.mjs +5 -173
  10. package/fesm2022/_resource-chunk.mjs.map +1 -1
  11. package/fesm2022/_untracked-chunk.mjs +117 -0
  12. package/fesm2022/_untracked-chunk.mjs.map +1 -0
  13. package/fesm2022/_weak_ref-chunk.mjs +1 -1
  14. package/fesm2022/core.mjs +8 -7
  15. package/fesm2022/core.mjs.map +1 -1
  16. package/fesm2022/primitives-di.mjs +1 -1
  17. package/fesm2022/primitives-event-dispatch.mjs +1 -1
  18. package/fesm2022/primitives-signals.mjs +4 -4
  19. package/fesm2022/primitives-signals.mjs.map +1 -1
  20. package/fesm2022/rxjs-interop.mjs +5 -5
  21. package/fesm2022/testing.mjs +3 -3
  22. package/package.json +2 -2
  23. package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
  24. package/schematics/bundles/application-config-core.cjs +5 -5
  25. package/schematics/bundles/{apply_import_manager-CBLmogDD.cjs → apply_import_manager-CoeTX_Ob.cjs} +3 -3
  26. package/schematics/bundles/bootstrap-options-migration.cjs +5 -5
  27. package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
  28. package/schematics/bundles/common-to-standalone-migration.cjs +385 -0
  29. package/schematics/bundles/{compiler_host-T6xncpiw.cjs → compiler_host-emLDwK2U.cjs} +2 -2
  30. package/schematics/bundles/control-flow-migration.cjs +4 -4
  31. package/schematics/bundles/imports-DwPXlGFl.cjs +1 -1
  32. package/schematics/bundles/{index-DWSaRJdz.cjs → index-CLxYZ09c.cjs} +4 -4
  33. package/schematics/bundles/{index-BnmACOsq.cjs → index-Dvqnp6JS.cjs} +166 -66
  34. package/schematics/bundles/inject-migration.cjs +3 -3
  35. package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
  36. package/schematics/bundles/{migrate_ts_type_references-Cu-FR4L5.cjs → migrate_ts_type_references-CpM5FPGa.cjs} +5 -5
  37. package/schematics/bundles/{ng_component_template-BkWiUuGG.cjs → ng_component_template-BRbBIAUX.cjs} +2 -2
  38. package/schematics/bundles/ng_decorators-BI0uV7KI.cjs +1 -1
  39. package/schematics/bundles/ngclass-to-class-migration.cjs +7 -7
  40. package/schematics/bundles/ngstyle-to-style-migration.cjs +7 -7
  41. package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
  42. package/schematics/bundles/output-migration.cjs +6 -6
  43. package/schematics/bundles/{parse_html-C97tKKp3.cjs → parse_html-CPWfkfhR.cjs} +2 -2
  44. package/schematics/bundles/{project_paths-C6g3lqjX.cjs → project_paths-C8H7KDJ3.cjs} +3 -3
  45. package/schematics/bundles/{project_tsconfig_paths-CdhVNYMk.cjs → project_tsconfig_paths-CiBzGSIa.cjs} +12 -4
  46. package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
  47. package/schematics/bundles/route-lazy-loading.cjs +3 -3
  48. package/schematics/bundles/router-current-navigation.cjs +4 -4
  49. package/schematics/bundles/router-last-successful-navigation.cjs +4 -4
  50. package/schematics/bundles/router-testing-module-migration.cjs +5 -5
  51. package/schematics/bundles/self-closing-tags-migration.cjs +6 -6
  52. package/schematics/bundles/signal-input-migration.cjs +7 -7
  53. package/schematics/bundles/signal-queries-migration.cjs +7 -7
  54. package/schematics/bundles/signals.cjs +7 -7
  55. package/schematics/bundles/standalone-migration.cjs +4 -4
  56. package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
  57. package/schematics/collection.json +6 -0
  58. package/schematics/migrations/common-to-standalone-migration/schema.json +14 -0
  59. package/types/_api-chunk.d.ts +1 -1
  60. package/types/_chrome_dev_tools_performance-chunk.d.ts +20 -12
  61. package/types/_discovery-chunk.d.ts +12 -6
  62. package/types/_effect-chunk.d.ts +1 -1
  63. package/types/_event_dispatcher-chunk.d.ts +1 -1
  64. package/types/_formatter-chunk.d.ts +4 -3
  65. package/types/_weak_ref-chunk.d.ts +1 -1
  66. package/types/core.d.ts +49 -20
  67. package/types/primitives-di.d.ts +1 -1
  68. package/types/primitives-event-dispatch.d.ts +1 -1
  69. package/types/primitives-signals.d.ts +2 -2
  70. package/types/rxjs-interop.d.ts +1 -1
  71. package/types/testing.d.ts +1 -1
  72. package/fesm2022/_root_effect_scheduler-chunk.mjs.map +0 -1
  73. package/fesm2022/_signal-chunk.mjs +0 -581
  74. package/fesm2022/_signal-chunk.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -16417,7 +16417,7 @@ class _Tokenizer {
16417
16417
  this._cursor.advance();
16418
16418
  try {
16419
16419
  const charCode = parseInt(strNum, isHex ? 16 : 10);
16420
- this._endToken([String.fromCharCode(charCode), this._cursor.getChars(start)]);
16420
+ this._endToken([String.fromCodePoint(charCode), this._cursor.getChars(start)]);
16421
16421
  }
16422
16422
  catch {
16423
16423
  throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());
@@ -33113,7 +33113,7 @@ function isAttrNode(ast) {
33113
33113
  * @description
33114
33114
  * Entry point for all public APIs of the compiler package.
33115
33115
  */
33116
- const VERSION = new Version('21.0.0-next.8');
33116
+ const VERSION = new Version('21.0.0-next.9');
33117
33117
 
33118
33118
  //////////////////////////////////////
33119
33119
  // THIS FILE HAS GLOBAL SIDE EFFECT //
@@ -33280,6 +33280,11 @@ exports.ErrorCode = void 0;
33280
33280
  * Raised for `@Component` fields that aren't supported in a selectorless context.
33281
33281
  */
33282
33282
  ErrorCode[ErrorCode["UNSUPPORTED_SELECTORLESS_COMPONENT_FIELD"] = 2026] = "UNSUPPORTED_SELECTORLESS_COMPONENT_FIELD";
33283
+ /**
33284
+ * A component is using both the `animations` property and `animate.enter` or `animate.leave`
33285
+ * in the template.
33286
+ */
33287
+ ErrorCode[ErrorCode["COMPONENT_ANIMATIONS_CONFLICT"] = 2027] = "COMPONENT_ANIMATIONS_CONFLICT";
33283
33288
  ErrorCode[ErrorCode["SYMBOL_NOT_EXPORTED"] = 3001] = "SYMBOL_NOT_EXPORTED";
33284
33289
  /**
33285
33290
  * Raised when a relationship between directives and/or pipes would cause a cyclic import to be
@@ -34183,7 +34188,7 @@ class NodeJSPathManipulation {
34183
34188
  // G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
34184
34189
  // CommonJS/ESM interop for determining the current file name and containing dir.
34185
34190
  const isCommonJS = typeof __filename !== 'undefined';
34186
- const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-CdhVNYMk.cjs', document.baseURI).href));
34191
+ const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('project_tsconfig_paths-CiBzGSIa.cjs', document.baseURI).href));
34187
34192
  // Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
34188
34193
  const currentFileName = isCommonJS
34189
34194
  ? __filename
@@ -34211,6 +34216,9 @@ class NodeJSReadonlyFileSystem extends NodeJSPathManipulation {
34211
34216
  return fs$1.readFileSync(path, 'utf8');
34212
34217
  }
34213
34218
  readFileBuffer(path) {
34219
+ // TODO: go/ts59upgrade - Remove the suppression after TS 5.9.2 upgrade
34220
+ // TS2322: Type 'Buffer' is not assignable to type 'Uint8Array<ArrayBufferLike>'.
34221
+ // @ts-ignore
34214
34222
  return fs$1.readFileSync(path);
34215
34223
  }
34216
34224
  readdir(path) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -9,8 +9,8 @@
9
9
  var schematics = require('@angular-devkit/schematics');
10
10
  var fs = require('fs');
11
11
  var p = require('path');
12
- var compiler_host = require('./compiler_host-T6xncpiw.cjs');
13
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
12
+ var compiler_host = require('./compiler_host-emLDwK2U.cjs');
13
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
14
14
  var ts = require('typescript');
15
15
  var property_name = require('./property_name-BBwFuqMe.cjs');
16
16
  require('os');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,11 +8,11 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- require('./project_tsconfig_paths-CdhVNYMk.cjs');
12
- require('./index-BnmACOsq.cjs');
11
+ require('./project_tsconfig_paths-CiBzGSIa.cjs');
12
+ require('./index-Dvqnp6JS.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
15
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
16
16
  var imports = require('./imports-DwPXlGFl.cjs');
17
17
  var symbol = require('./symbol-BObKoqes.cjs');
18
18
  require('@angular-devkit/core');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,11 +8,11 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- require('./project_tsconfig_paths-CdhVNYMk.cjs');
12
- require('./index-BnmACOsq.cjs');
11
+ require('./project_tsconfig_paths-CiBzGSIa.cjs');
12
+ require('./index-Dvqnp6JS.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
15
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
16
16
  var imports = require('./imports-DwPXlGFl.cjs');
17
17
  var symbol = require('./symbol-BObKoqes.cjs');
18
18
  require('@angular-devkit/core');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,14 +8,14 @@
8
8
 
9
9
  require('@angular-devkit/core');
10
10
  require('node:path/posix');
11
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
11
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
12
12
  require('os');
13
13
  var ts = require('typescript');
14
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
15
- require('./index-BnmACOsq.cjs');
14
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
15
+ require('./index-Dvqnp6JS.cjs');
16
16
  require('path');
17
17
  require('node:path');
18
- var apply_import_manager = require('./apply_import_manager-CBLmogDD.cjs');
18
+ var apply_import_manager = require('./apply_import_manager-CoeTX_Ob.cjs');
19
19
  require('@angular-devkit/schematics');
20
20
  require('fs');
21
21
  require('module');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,13 +8,13 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
12
- require('./index-BnmACOsq.cjs');
11
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
12
+ require('./index-Dvqnp6JS.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
16
- var ng_component_template = require('./ng_component_template-BkWiUuGG.cjs');
17
- var parse_html = require('./parse_html-C97tKKp3.cjs');
15
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
16
+ var ng_component_template = require('./ng_component_template-BRbBIAUX.cjs');
17
+ var parse_html = require('./parse_html-CPWfkfhR.cjs');
18
18
  require('@angular-devkit/core');
19
19
  require('node:path/posix');
20
20
  require('fs');
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var migrate_ts_type_references = require('./migrate_ts_type_references-Cu-FR4L5.cjs');
9
+ var migrate_ts_type_references = require('./migrate_ts_type_references-CpM5FPGa.cjs');
10
10
  var ts = require('typescript');
11
11
  require('os');
12
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
13
- var index$1 = require('./index-BnmACOsq.cjs');
12
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
13
+ var index$1 = require('./index-Dvqnp6JS.cjs');
14
14
  require('path');
15
15
  require('node:path');
16
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
17
- var index = require('./index-DWSaRJdz.cjs');
16
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
17
+ var index = require('./index-CLxYZ09c.cjs');
18
18
  var assert = require('assert');
19
- var apply_import_manager = require('./apply_import_manager-CBLmogDD.cjs');
19
+ var apply_import_manager = require('./apply_import_manager-CoeTX_Ob.cjs');
20
20
  require('@angular-devkit/core');
21
21
  require('node:path/posix');
22
22
  require('./leading_space-D9nQ8UQC.cjs');
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
9
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
10
10
  var ts = require('typescript');
11
11
  require('os');
12
- var index$1 = require('./index-BnmACOsq.cjs');
12
+ var index$1 = require('./index-Dvqnp6JS.cjs');
13
13
  require('path');
14
14
  require('node:path');
15
- var project_paths = require('./project_paths-C6g3lqjX.cjs');
16
- var apply_import_manager = require('./apply_import_manager-CBLmogDD.cjs');
17
- var migrate_ts_type_references = require('./migrate_ts_type_references-Cu-FR4L5.cjs');
15
+ var project_paths = require('./project_paths-C8H7KDJ3.cjs');
16
+ var apply_import_manager = require('./apply_import_manager-CoeTX_Ob.cjs');
17
+ var migrate_ts_type_references = require('./migrate_ts_type_references-CpM5FPGa.cjs');
18
18
  var assert = require('assert');
19
- var index = require('./index-DWSaRJdz.cjs');
19
+ var index = require('./index-CLxYZ09c.cjs');
20
20
  require('@angular-devkit/core');
21
21
  require('node:path/posix');
22
22
  require('fs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,7 +10,7 @@ var schematics = require('@angular-devkit/schematics');
10
10
  var signalQueriesMigration = require('./signal-queries-migration.cjs');
11
11
  var signalInputMigration = require('./signal-input-migration.cjs');
12
12
  var outputMigration = require('./output-migration.cjs');
13
- require('./project_tsconfig_paths-CdhVNYMk.cjs');
13
+ require('./project_tsconfig_paths-CiBzGSIa.cjs');
14
14
  require('typescript');
15
15
  require('os');
16
16
  require('fs');
@@ -18,14 +18,14 @@ require('module');
18
18
  require('path');
19
19
  require('url');
20
20
  require('@angular-devkit/core');
21
- require('./index-BnmACOsq.cjs');
21
+ require('./index-Dvqnp6JS.cjs');
22
22
  require('node:path');
23
- require('./project_paths-C6g3lqjX.cjs');
23
+ require('./project_paths-C8H7KDJ3.cjs');
24
24
  require('node:path/posix');
25
- require('./apply_import_manager-CBLmogDD.cjs');
26
- require('./migrate_ts_type_references-Cu-FR4L5.cjs');
25
+ require('./apply_import_manager-CoeTX_Ob.cjs');
26
+ require('./migrate_ts_type_references-CpM5FPGa.cjs');
27
27
  require('assert');
28
- require('./index-DWSaRJdz.cjs');
28
+ require('./index-CLxYZ09c.cjs');
29
29
  require('./leading_space-D9nQ8UQC.cjs');
30
30
 
31
31
  function migrate(options) {
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var schematics = require('@angular-devkit/schematics');
10
- var index = require('./index-BnmACOsq.cjs');
10
+ var index = require('./index-Dvqnp6JS.cjs');
11
11
  var fs = require('fs');
12
12
  var p = require('path');
13
13
  var ts = require('typescript');
14
- var compiler_host = require('./compiler_host-T6xncpiw.cjs');
15
- var project_tsconfig_paths = require('./project_tsconfig_paths-CdhVNYMk.cjs');
14
+ var compiler_host = require('./compiler_host-emLDwK2U.cjs');
15
+ var project_tsconfig_paths = require('./project_tsconfig_paths-CiBzGSIa.cjs');
16
16
  var ng_decorators = require('./ng_decorators-BI0uV7KI.cjs');
17
17
  var nodes = require('./nodes-B16H9JUd.cjs');
18
18
  var symbol = require('./symbol-BObKoqes.cjs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v21.0.0-next.8
3
+ * @license Angular v21.0.0-next.9
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -52,6 +52,12 @@
52
52
  "schema": "./ng-generate/self-closing-tags-migration/schema.json",
53
53
  "aliases": ["self-closing-tag"]
54
54
  },
55
+ "common-to-standalone-migration": {
56
+ "description": "Replaces CommonModule with individual imports from @angular/common",
57
+ "factory": "./bundles/common-to-standalone-migration.cjs#migrate",
58
+ "schema": "./migrations/common-to-standalone-migration/schema.json",
59
+ "aliases": ["common-to-standalone"]
60
+ },
55
61
  "control-flow-migration": {
56
62
  "description": "Converts the entire application to block control flow syntax",
57
63
  "factory": "./bundles/control-flow-migration.cjs#migrate",
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "AngularCommonToStandaloneMigration",
4
+ "title": "Angular Common to Standalone Migration Schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "path": {
8
+ "type": "string",
9
+ "description": "Path to the directory where all components and modules should be migrated.",
10
+ "x-prompt": "Which directory do you want to migrate?",
11
+ "default": "./"
12
+ }
13
+ }
14
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -243,7 +243,7 @@ interface ValueSansProvider {
243
243
  }
244
244
  /**
245
245
  * Configures the `Injector` to return a value for a token.
246
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
246
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
247
247
  *
248
248
  * @usageNotes
249
249
  *
@@ -288,7 +288,7 @@ interface StaticClassSansProvider {
288
288
  }
289
289
  /**
290
290
  * Configures the `Injector` to return an instance of `useClass` for a token.
291
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
291
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
292
292
  *
293
293
  * @usageNotes
294
294
  *
@@ -318,7 +318,7 @@ interface StaticClassProvider extends StaticClassSansProvider {
318
318
  /**
319
319
  * Configures the `Injector` to return an instance of a token.
320
320
  *
321
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
321
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
322
322
  *
323
323
  * @usageNotes
324
324
  *
@@ -338,7 +338,7 @@ interface ConstructorSansProvider {
338
338
  /**
339
339
  * Configures the `Injector` to return an instance of a token.
340
340
  *
341
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
341
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
342
342
  *
343
343
  * @usageNotes
344
344
  *
@@ -365,7 +365,7 @@ interface ConstructorProvider extends ConstructorSansProvider {
365
365
  * Configures the `Injector` to return a value of another `useExisting` token.
366
366
  *
367
367
  * @see {@link ExistingProvider}
368
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
368
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
369
369
  *
370
370
  * @publicApi
371
371
  */
@@ -378,7 +378,7 @@ interface ExistingSansProvider {
378
378
  /**
379
379
  * Configures the `Injector` to return a value of another `useExisting` token.
380
380
  *
381
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
381
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
382
382
  *
383
383
  * @usageNotes
384
384
  *
@@ -405,7 +405,7 @@ interface ExistingProvider extends ExistingSansProvider {
405
405
  * Configures the `Injector` to return a value by invoking a `useFactory` function.
406
406
  *
407
407
  * @see {@link FactoryProvider}
408
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
408
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
409
409
  *
410
410
  * @publicApi
411
411
  */
@@ -423,7 +423,7 @@ interface FactorySansProvider {
423
423
  }
424
424
  /**
425
425
  * Configures the `Injector` to return a value by invoking a `useFactory` function.
426
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
426
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
427
427
  *
428
428
  * @usageNotes
429
429
  *
@@ -480,7 +480,7 @@ interface TypeProvider extends Type<any> {
480
480
  * Configures the `Injector` to return a value by invoking a `useClass` function.
481
481
  * Base for `ClassProvider` decorator.
482
482
  *
483
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
483
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
484
484
  *
485
485
  * @publicApi
486
486
  */
@@ -492,7 +492,7 @@ interface ClassSansProvider {
492
492
  }
493
493
  /**
494
494
  * Configures the `Injector` to return an instance of `useClass` for a token.
495
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
495
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
496
496
  *
497
497
  * @usageNotes
498
498
  *
@@ -521,7 +521,7 @@ interface ClassProvider extends ClassSansProvider {
521
521
  }
522
522
  /**
523
523
  * Describes how the `Injector` should be configured.
524
- * @see [Dependency Injection Guide](guide/di/dependency-injection.
524
+ * @see [Dependency Injection Guide](guide/di/dependency-injection)
525
525
  *
526
526
  * @see {@link StaticProvider}
527
527
  *
@@ -728,6 +728,8 @@ interface DestroyableInjector extends Injector {
728
728
  * is injected in a component or directive, the callbacks run when that component or
729
729
  * directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed.
730
730
  *
731
+ * @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref)
732
+ *
731
733
  * @publicApi
732
734
  */
733
735
  declare abstract class DestroyRef {
@@ -746,10 +748,16 @@ declare abstract class DestroyRef {
746
748
  * // stop the destroy callback from executing if needed
747
749
  * unregisterFn();
748
750
  * ```
751
+ *
752
+ * @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref)
753
+ *
749
754
  */
750
755
  abstract onDestroy(callback: () => void): () => void;
751
756
  /**
752
757
  * Indicates whether the instance has already been destroyed.
758
+ *
759
+ * @see [Detecting instance destruction](guide/components/lifecycle#detecting-instance-destruction)
760
+ *
753
761
  */
754
762
  abstract get destroyed(): boolean;
755
763
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1168,17 +1168,23 @@ declare const enum TNodeFlags {
1168
1168
  */
1169
1169
  isFormCheckboxControl = 4096,
1170
1170
  /**
1171
- * Bit #14 - This bit is set if the node is a native control with a numeric type.
1171
+ * Bit #14 - This bit is set if the node hosts an interoperable control implementation.
1172
+ *
1173
+ * This is used to bind to a `ControlValueAccessor` from `@angular/forms`.
1174
+ */
1175
+ isInteropControl = 8192,
1176
+ /**
1177
+ * Bit #15 - This bit is set if the node is a native control with a numeric type.
1172
1178
  *
1173
1179
  * This is used to determine whether the control supports the `min` and `max` properties.
1174
1180
  */
1175
- isNativeNumericControl = 8192,
1181
+ isNativeNumericControl = 16384,
1176
1182
  /**
1177
- * Bit #15 - This bit is set if the node is a native text control.
1183
+ * Bit #16 - This bit is set if the node is a native text control.
1178
1184
  *
1179
1185
  * This is used to determine whether control supports the `minLength` and `maxLength` properties.
1180
1186
  */
1181
- isNativeTextControl = 16384
1187
+ isNativeTextControl = 32768
1182
1188
  }
1183
1189
  /**
1184
1190
  * Corresponds to the TNode.providerIndexes property.
@@ -6826,7 +6832,7 @@ interface NgModule {
6826
6832
  * The set of injectable objects that are available in the injector
6827
6833
  * of this module.
6828
6834
  *
6829
- * @see [Dependency Injection guide](guide/di/dependency-injection
6835
+ * @see [Dependency Injection guide](guide/di/dependency-injection)
6830
6836
  * @see [NgModule guide](guide/ngmodules/providers)
6831
6837
  *
6832
6838
  * @usageNotes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -39,6 +39,7 @@ interface ReactiveLink {
39
39
  nextConsumer: ReactiveLink | undefined;
40
40
  nextProducer: ReactiveLink | undefined;
41
41
  }
42
+ type ReactiveNodeKind = 'signal' | 'computed' | 'effect' | 'template' | 'linkedSignal' | 'afterRenderEffectPhase' | 'unknown';
42
43
  /**
43
44
  * A producer and/or consumer which participates in the reactive graph.
44
45
  *
@@ -125,7 +126,7 @@ interface ReactiveNode {
125
126
  *
126
127
  * Used in Angular DevTools to identify the kind of signal.
127
128
  */
128
- kind: string;
129
+ kind: ReactiveNodeKind;
129
130
  }
130
131
  /**
131
132
  * Called by implementations when a producer's signal is read.
@@ -211,4 +212,4 @@ declare global {
211
212
  declare function installDevToolsSignalFormatter(): void;
212
213
 
213
214
  export { REACTIVE_NODE, SIGNAL, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, defaultEquals, finalizeConsumerAfterComputation, getActiveConsumer, installDevToolsSignalFormatter, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, resetConsumerBeforeComputation, runPostProducerCreatedFn, setActiveConsumer, setPostProducerCreatedFn };
214
- export type { Reactive, ReactiveHookFn, ReactiveNode, ValueEqualityFn };
215
+ export type { Reactive, ReactiveHookFn, ReactiveNode, ReactiveNodeKind, ValueEqualityFn };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.8
2
+ * @license Angular v21.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */