@angular/core 21.0.0-next.9 → 21.0.0-rc.0
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.
- package/fesm2022/_attribute-chunk.mjs +2 -14
- package/fesm2022/_attribute-chunk.mjs.map +1 -1
- package/fesm2022/_debug_node-chunk.mjs +15164 -28368
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +322 -504
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk2.mjs +2204 -4061
- package/fesm2022/_effect-chunk2.mjs.map +1 -1
- package/fesm2022/_not_found-chunk.mjs +18 -35
- package/fesm2022/_not_found-chunk.mjs.map +1 -1
- package/fesm2022/_resource-chunk.mjs +312 -391
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +75 -96
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +2 -4
- package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
- package/fesm2022/core.mjs +2461 -4305
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +9 -9
- package/fesm2022/primitives-di.mjs.map +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +626 -1460
- package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives-signals.mjs +154 -188
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +204 -304
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +2303 -3162
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +8 -2
- package/resources/best-practices.md +56 -0
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +7 -25
- package/schematics/bundles/application-config-core.cjs +8 -19
- package/schematics/bundles/{apply_import_manager-CoeTX_Ob.cjs → apply_import_manager-1Zs_gpB6.cjs} +4 -5
- package/schematics/bundles/bootstrap-options-migration.cjs +93 -132
- package/schematics/bundles/cleanup-unused-imports.cjs +9 -13
- package/schematics/bundles/common-to-standalone-migration.cjs +12 -16
- package/schematics/bundles/{compiler_host-emLDwK2U.cjs → compiler_host-DBwYMlTo.cjs} +10 -11
- package/schematics/bundles/control-flow-migration.cjs +29 -31
- package/schematics/bundles/{imports-DwPXlGFl.cjs → imports-DP72APSx.cjs} +1 -23
- package/schematics/bundles/{index-CLxYZ09c.cjs → index-B7I9sIUx.cjs} +36 -37
- package/schematics/bundles/inject-migration.cjs +9 -26
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-CpM5FPGa.cjs → migrate_ts_type_references-UGIUl7En.cjs} +458 -24
- package/schematics/bundles/{ng_component_template-BRbBIAUX.cjs → ng_component_template-Dsuq1Lw7.cjs} +4 -5
- package/schematics/bundles/{ng_decorators-BI0uV7KI.cjs → ng_decorators-DSFlWYQY.cjs} +2 -2
- package/schematics/bundles/ngclass-to-class-migration.cjs +16 -19
- package/schematics/bundles/ngstyle-to-style-migration.cjs +15 -18
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +16 -19
- package/schematics/bundles/{parse_html-CPWfkfhR.cjs → parse_html-8VLCL37B.cjs} +5 -5
- package/schematics/bundles/{project_paths-C8H7KDJ3.cjs → project_paths-DvD50ouC.cjs} +14 -247
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +90 -0
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +9 -25
- package/schematics/bundles/router-current-navigation.cjs +6 -17
- package/schematics/bundles/router-last-successful-navigation.cjs +6 -17
- package/schematics/bundles/router-testing-module-migration.cjs +7 -18
- package/schematics/bundles/self-closing-tags-migration.cjs +14 -17
- package/schematics/bundles/signal-input-migration.cjs +23 -26
- package/schematics/bundles/signal-queries-migration.cjs +22 -25
- package/schematics/bundles/signals.cjs +10 -13
- package/schematics/bundles/standalone-migration.cjs +22 -56
- package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
- package/types/_discovery-chunk.d.ts +7 -9
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +1 -81
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +1 -1
- package/schematics/bundles/index-Dvqnp6JS.cjs +0 -22419
- package/schematics/bundles/project_tsconfig_paths-CiBzGSIa.cjs +0 -51591
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v21.0.0-
|
|
3
|
+
* @license Angular v21.0.0-rc.0
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,22 +10,19 @@ 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('
|
|
13
|
+
require('@angular/compiler-cli/private/migrations');
|
|
14
14
|
require('typescript');
|
|
15
|
-
require('
|
|
16
|
-
require('fs');
|
|
17
|
-
require('module');
|
|
18
|
-
require('path');
|
|
19
|
-
require('url');
|
|
20
|
-
require('@angular-devkit/core');
|
|
21
|
-
require('./index-Dvqnp6JS.cjs');
|
|
15
|
+
require('@angular/compiler-cli');
|
|
22
16
|
require('node:path');
|
|
23
|
-
require('./project_paths-
|
|
17
|
+
require('./project_paths-DvD50ouC.cjs');
|
|
18
|
+
require('@angular-devkit/core');
|
|
24
19
|
require('node:path/posix');
|
|
25
|
-
require('./
|
|
26
|
-
require('./
|
|
20
|
+
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
21
|
+
require('./apply_import_manager-1Zs_gpB6.cjs');
|
|
22
|
+
require('./migrate_ts_type_references-UGIUl7En.cjs');
|
|
27
23
|
require('assert');
|
|
28
|
-
require('./index-
|
|
24
|
+
require('./index-B7I9sIUx.cjs');
|
|
25
|
+
require('@angular/compiler');
|
|
29
26
|
require('./leading_space-D9nQ8UQC.cjs');
|
|
30
27
|
|
|
31
28
|
function migrate(options) {
|
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v21.0.0-
|
|
3
|
+
* @license Angular v21.0.0-rc.0
|
|
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
|
|
10
|
+
var compilerCli = require('@angular/compiler-cli');
|
|
11
11
|
var fs = require('fs');
|
|
12
|
-
var
|
|
12
|
+
var path = require('path');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
15
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
16
|
-
var ng_decorators = require('./ng_decorators-
|
|
14
|
+
var compiler_host = require('./compiler_host-DBwYMlTo.cjs');
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
16
|
+
var ng_decorators = require('./ng_decorators-DSFlWYQY.cjs');
|
|
17
17
|
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
18
18
|
var symbol = require('./symbol-BObKoqes.cjs');
|
|
19
|
-
var imports = require('./imports-
|
|
20
|
-
require('
|
|
21
|
-
require('module');
|
|
22
|
-
require('url');
|
|
19
|
+
var imports = require('./imports-DP72APSx.cjs');
|
|
20
|
+
var migrations = require('@angular/compiler-cli/private/migrations');
|
|
23
21
|
require('@angular-devkit/core');
|
|
24
22
|
|
|
25
|
-
function createProgram({ rootNames, options, host, oldProgram, }) {
|
|
26
|
-
return new index.NgtscProgram(rootNames, options, host, oldProgram);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/*!
|
|
30
|
-
* @license
|
|
31
|
-
* Copyright Google LLC All Rights Reserved.
|
|
32
|
-
*
|
|
33
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
34
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
35
|
-
*/
|
|
36
23
|
/** Utility class used to track a one-to-many relationship where all the items are unique. */
|
|
37
24
|
class UniqueItemTracker {
|
|
38
25
|
_nodes = new Map();
|
|
@@ -227,13 +214,13 @@ function findLiteralProperty(literal, name) {
|
|
|
227
214
|
}
|
|
228
215
|
/** Gets a relative path between two files that can be used inside a TypeScript import. */
|
|
229
216
|
function getRelativeImportPath(fromFile, toFile) {
|
|
230
|
-
let path =
|
|
217
|
+
let path$1 = path.relative(path.dirname(fromFile), toFile).replace(/\.ts$/, '');
|
|
231
218
|
// `relative` returns paths inside the same directory without `./`
|
|
232
|
-
if (!path.startsWith('.')) {
|
|
233
|
-
path = './' + path;
|
|
219
|
+
if (!path$1.startsWith('.')) {
|
|
220
|
+
path$1 = './' + path$1;
|
|
234
221
|
}
|
|
235
222
|
// Using the Node utilities can yield paths with forward slashes on Windows.
|
|
236
|
-
return compiler_host.normalizePath(path);
|
|
223
|
+
return compiler_host.normalizePath(path$1);
|
|
237
224
|
}
|
|
238
225
|
/** Function used to remap the generated `imports` for a component to known shorter aliases. */
|
|
239
226
|
function knownInternalAliasRemapper(imports) {
|
|
@@ -308,13 +295,6 @@ function isTestCall(typeChecker, node, testBedImport, catalystImport) {
|
|
|
308
295
|
return !!(isTestBedCall || isCatalystCall);
|
|
309
296
|
}
|
|
310
297
|
|
|
311
|
-
/*!
|
|
312
|
-
* @license
|
|
313
|
-
* Copyright Google LLC All Rights Reserved.
|
|
314
|
-
*
|
|
315
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
316
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
317
|
-
*/
|
|
318
298
|
/**
|
|
319
299
|
* Converts all declarations in the specified files to standalone.
|
|
320
300
|
* @param sourceFiles Files that should be migrated.
|
|
@@ -400,8 +380,8 @@ function getComponentImportExpressions(decl, allDeclarations, tracker, typeCheck
|
|
|
400
380
|
const resolvedDependencies = [];
|
|
401
381
|
for (const dep of templateDependencies) {
|
|
402
382
|
const importLocation = findImportLocation(dep, decl, usedDependenciesInMigration.has(dep)
|
|
403
|
-
?
|
|
404
|
-
:
|
|
383
|
+
? migrations.PotentialImportMode.ForceDirect
|
|
384
|
+
: migrations.PotentialImportMode.Normal, typeChecker);
|
|
405
385
|
if (importLocation) {
|
|
406
386
|
// Create a unique key that includes both the symbol name and module specifier
|
|
407
387
|
// to handle cases where the same symbol name is imported from different modules
|
|
@@ -640,13 +620,13 @@ function findImportLocation(target, inContext, importMode, typeChecker) {
|
|
|
640
620
|
for (const location of importLocations) {
|
|
641
621
|
// Prefer a standalone import, if we can find one.
|
|
642
622
|
// Otherwise fall back to the first module-based import.
|
|
643
|
-
if (location.kind ===
|
|
623
|
+
if (location.kind === migrations.PotentialImportKind.Standalone) {
|
|
644
624
|
return location;
|
|
645
625
|
}
|
|
646
626
|
if (!location.moduleSpecifier && !firstSameFileImport) {
|
|
647
627
|
firstSameFileImport = location;
|
|
648
628
|
}
|
|
649
|
-
if (location.kind ===
|
|
629
|
+
if (location.kind === migrations.PotentialImportKind.NgModule &&
|
|
650
630
|
!firstModuleImport &&
|
|
651
631
|
// ɵ is used for some internal Angular modules that we want to skip over.
|
|
652
632
|
!location.symbolName.startsWith('ɵ')) {
|
|
@@ -927,13 +907,6 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
927
907
|
return metadata != null && metadata.isStandalone;
|
|
928
908
|
}
|
|
929
909
|
|
|
930
|
-
/*!
|
|
931
|
-
* @license
|
|
932
|
-
* Copyright Google LLC All Rights Reserved.
|
|
933
|
-
*
|
|
934
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
935
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
936
|
-
*/
|
|
937
910
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, declarationImportRemapper) {
|
|
938
911
|
const filesToRemove = new Set();
|
|
939
912
|
const tracker = new compiler_host.ChangeTracker(printer, importRemapper);
|
|
@@ -1215,7 +1188,7 @@ function replaceModulesInImportsArray(array, replacements, nodesToRemove, tracke
|
|
|
1215
1188
|
}
|
|
1216
1189
|
const potentialImports = [];
|
|
1217
1190
|
for (const ref of replacementRefs) {
|
|
1218
|
-
const importLocation = findImportLocation(ref, array,
|
|
1191
|
+
const importLocation = findImportLocation(ref, array, migrations.PotentialImportMode.Normal, templateTypeChecker);
|
|
1219
1192
|
if (importLocation) {
|
|
1220
1193
|
potentialImports.push(importLocation);
|
|
1221
1194
|
}
|
|
@@ -1452,13 +1425,6 @@ function isInImportsArray(closestAssignment, closestArray) {
|
|
|
1452
1425
|
closestAssignment.name.text === 'imports');
|
|
1453
1426
|
}
|
|
1454
1427
|
|
|
1455
|
-
/*!
|
|
1456
|
-
* @license
|
|
1457
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1458
|
-
*
|
|
1459
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1460
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
1461
|
-
*/
|
|
1462
1428
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, declarationImportRemapper) {
|
|
1463
1429
|
const tracker = new compiler_host.ChangeTracker(printer, importRemapper);
|
|
1464
1430
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -1980,7 +1946,7 @@ function isOutsideRange(excludeStart, excludeEnd, start, end) {
|
|
|
1980
1946
|
* @param specifier Specifier whose path is being remapped.
|
|
1981
1947
|
*/
|
|
1982
1948
|
function remapRelativeImport(targetFileName, specifier) {
|
|
1983
|
-
return getRelativeImportPath(targetFileName,
|
|
1949
|
+
return getRelativeImportPath(targetFileName, path.join(path.dirname(specifier.getSourceFile().fileName), specifier.text));
|
|
1984
1950
|
}
|
|
1985
1951
|
/**
|
|
1986
1952
|
* Whether a node is exported.
|
|
@@ -2053,7 +2019,7 @@ function migrate(options) {
|
|
|
2053
2019
|
const allPaths = [...buildPaths, ...testPaths];
|
|
2054
2020
|
// TS and Schematic use paths in POSIX format even on Windows. This is needed as otherwise
|
|
2055
2021
|
// string matching such as `sourceFile.fileName.startsWith(pathToMigrate)` might not work.
|
|
2056
|
-
const pathToMigrate = compiler_host.normalizePath(
|
|
2022
|
+
const pathToMigrate = compiler_host.normalizePath(path.join(basePath, options.path));
|
|
2057
2023
|
let migratedFiles = 0;
|
|
2058
2024
|
if (!allPaths.length) {
|
|
2059
2025
|
throw new schematics.SchematicsException('Could not find any tsconfig file. Cannot run the standalone migration.');
|
|
@@ -2081,7 +2047,7 @@ function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schema
|
|
|
2081
2047
|
skipDefaultLibCheck: true,
|
|
2082
2048
|
});
|
|
2083
2049
|
const referenceLookupExcludedFiles = /node_modules|\.ngtypecheck\.ts/;
|
|
2084
|
-
const program = createProgram({ rootNames, host, options, oldProgram });
|
|
2050
|
+
const program = compilerCli.createProgram({ rootNames, host, options, oldProgram });
|
|
2085
2051
|
const printer = ts.createPrinter();
|
|
2086
2052
|
if (fs.existsSync(pathToMigrate) && !fs.statSync(pathToMigrate).isDirectory()) {
|
|
2087
2053
|
throw new schematics.SchematicsException(`Migration path ${pathToMigrate} has to be a directory. Cannot run the standalone migration.`);
|
|
@@ -2113,7 +2079,7 @@ function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schema
|
|
|
2113
2079
|
if (filesToRemove?.has(file)) {
|
|
2114
2080
|
continue;
|
|
2115
2081
|
}
|
|
2116
|
-
const update = tree.beginUpdate(
|
|
2082
|
+
const update = tree.beginUpdate(path.relative(basePath, file.fileName));
|
|
2117
2083
|
changes.forEach((change) => {
|
|
2118
2084
|
if (change.removeLength != null) {
|
|
2119
2085
|
update.remove(change.start, change.removeLength);
|
|
@@ -2124,7 +2090,7 @@ function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schema
|
|
|
2124
2090
|
}
|
|
2125
2091
|
if (filesToRemove) {
|
|
2126
2092
|
for (const file of filesToRemove) {
|
|
2127
|
-
tree.delete(
|
|
2093
|
+
tree.delete(path.relative(basePath, file.fileName));
|
|
2128
2094
|
}
|
|
2129
2095
|
}
|
|
2130
2096
|
// Run the module pruning after the standalone bootstrap to automatically remove the root module.
|
package/types/_api-chunk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-
|
|
2
|
+
* @license Angular v21.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3002,6 +3002,12 @@ interface TracingService<T extends TracingSnapshot> {
|
|
|
3002
3002
|
* snapshot.
|
|
3003
3003
|
*/
|
|
3004
3004
|
snapshot(linkedSnapshot: T | null): T;
|
|
3005
|
+
/**
|
|
3006
|
+
* Propagate the current tracing context to the provided function.
|
|
3007
|
+
* @param fn A function.
|
|
3008
|
+
* @return A function that will propagate the current tracing context.
|
|
3009
|
+
*/
|
|
3010
|
+
propagate?<T extends Function>(fn: T): T;
|
|
3005
3011
|
/**
|
|
3006
3012
|
* Wrap an event listener bound by the framework for tracing.
|
|
3007
3013
|
* @param element Element on which the event is bound.
|
|
@@ -5731,14 +5737,6 @@ declare abstract class ChangeDetectorRef {
|
|
|
5731
5737
|
/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
|
|
5732
5738
|
declare function injectChangeDetectorRef(flags: InternalInjectFlags): ChangeDetectorRef;
|
|
5733
5739
|
|
|
5734
|
-
/*!
|
|
5735
|
-
* @license
|
|
5736
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5737
|
-
*
|
|
5738
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5739
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
5740
|
-
*/
|
|
5741
|
-
|
|
5742
5740
|
/** Symbol used to store and retrieve metadata about a binding. */
|
|
5743
5741
|
declare const BINDING: unique symbol;
|
|
5744
5742
|
/**
|
package/types/_effect-chunk.d.ts
CHANGED
package/types/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-
|
|
2
|
+
* @license Angular v21.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1805,13 +1805,6 @@ declare const Injectable: InjectableDecorator;
|
|
|
1805
1805
|
*/
|
|
1806
1806
|
declare const ENVIRONMENT_INITIALIZER: InjectionToken<readonly (() => void)[]>;
|
|
1807
1807
|
|
|
1808
|
-
/*!
|
|
1809
|
-
* @license
|
|
1810
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1811
|
-
*
|
|
1812
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1813
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
1814
|
-
*/
|
|
1815
1808
|
/**
|
|
1816
1809
|
* Creates a token that can be used to inject static attributes of the host node.
|
|
1817
1810
|
*
|
|
@@ -5615,13 +5608,6 @@ declare class ResourceImpl<T, R> extends BaseWritableResource<T> implements Reso
|
|
|
5615
5608
|
}
|
|
5616
5609
|
declare function encapsulateResourceError(error: unknown): Error;
|
|
5617
5610
|
|
|
5618
|
-
/*!
|
|
5619
|
-
* @license
|
|
5620
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5621
|
-
*
|
|
5622
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5623
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
5624
|
-
*/
|
|
5625
5611
|
/**
|
|
5626
5612
|
* Gets the class name of the closest component to a node.
|
|
5627
5613
|
* Warning! this function will return minified names if the name of the component is minified. The
|
|
@@ -5708,13 +5694,6 @@ declare class TimerScheduler {
|
|
|
5708
5694
|
static ɵprov: unknown;
|
|
5709
5695
|
}
|
|
5710
5696
|
|
|
5711
|
-
/*!
|
|
5712
|
-
* @license
|
|
5713
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5714
|
-
*
|
|
5715
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5716
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
5717
|
-
*/
|
|
5718
5697
|
/**
|
|
5719
5698
|
* Utility function used during template type checking to assert that a value is of a certain type.
|
|
5720
5699
|
* @codeGenApi
|
|
@@ -6467,13 +6446,6 @@ declare function ɵɵanimateLeave(value: string | Function): typeof ɵɵanimateL
|
|
|
6467
6446
|
*/
|
|
6468
6447
|
declare function ɵɵanimateLeaveListener(value: AnimationFunction): typeof ɵɵanimateLeaveListener;
|
|
6469
6448
|
|
|
6470
|
-
/*!
|
|
6471
|
-
* @license
|
|
6472
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6473
|
-
*
|
|
6474
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6475
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
6476
|
-
*/
|
|
6477
6449
|
/**
|
|
6478
6450
|
* Instruction that returns the component instance in which the current instruction is executing.
|
|
6479
6451
|
* This is a constant-time version of `nextContent` for the case where we know that we need the
|
|
@@ -7613,14 +7585,6 @@ declare function ɵɵtextInterpolate8(prefix: string, v0: any, i0: string, v1: a
|
|
|
7613
7585
|
*/
|
|
7614
7586
|
declare function ɵɵtextInterpolateV(values: any[]): typeof ɵɵtextInterpolateV;
|
|
7615
7587
|
|
|
7616
|
-
/*!
|
|
7617
|
-
* @license
|
|
7618
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7619
|
-
*
|
|
7620
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7621
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7622
|
-
*/
|
|
7623
|
-
|
|
7624
7588
|
/**
|
|
7625
7589
|
* Update a two-way bound property on a selected element.
|
|
7626
7590
|
*
|
|
@@ -7654,13 +7618,6 @@ declare function ɵɵtwoWayBindingSet<T>(target: unknown, value: T): boolean;
|
|
|
7654
7618
|
*/
|
|
7655
7619
|
declare function ɵɵtwoWayListener(eventName: string, listenerFn: EventCallback): typeof ɵɵtwoWayListener;
|
|
7656
7620
|
|
|
7657
|
-
/*!
|
|
7658
|
-
* @license
|
|
7659
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7660
|
-
*
|
|
7661
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7662
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7663
|
-
*/
|
|
7664
7621
|
/**
|
|
7665
7622
|
* Declares an `@let` at a specific data slot. Returns itself to allow chaining.
|
|
7666
7623
|
*
|
|
@@ -7685,13 +7642,6 @@ declare function ɵɵstoreLet<T>(value: T): T;
|
|
|
7685
7642
|
*/
|
|
7686
7643
|
declare function ɵɵreadContextLet<T>(index: number): T;
|
|
7687
7644
|
|
|
7688
|
-
/*!
|
|
7689
|
-
* @license
|
|
7690
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7691
|
-
*
|
|
7692
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7693
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7694
|
-
*/
|
|
7695
7645
|
/**
|
|
7696
7646
|
* Sets the location within the source template at which
|
|
7697
7647
|
* each element in the current view was defined.
|
|
@@ -7704,14 +7654,6 @@ declare function ɵɵreadContextLet<T>(index: number): T;
|
|
|
7704
7654
|
*/
|
|
7705
7655
|
declare function ɵɵattachSourceLocations(templatePath: string, locations: [index: number, offset: number, line: number, column: number][]): void;
|
|
7706
7656
|
|
|
7707
|
-
/*!
|
|
7708
|
-
* @license
|
|
7709
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7710
|
-
*
|
|
7711
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7712
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7713
|
-
*/
|
|
7714
|
-
|
|
7715
7657
|
/**
|
|
7716
7658
|
* Interpolate a value with a single bound value and no prefixes or suffixes.
|
|
7717
7659
|
*
|
|
@@ -8166,14 +8108,6 @@ declare function ɵɵgetComponentDepsFactory(type: ComponentType<any>, rawImport
|
|
|
8166
8108
|
*/
|
|
8167
8109
|
declare function ɵsetClassDebugInfo(type: Type$1<any>, debugInfo: ClassDebugInfo): void;
|
|
8168
8110
|
|
|
8169
|
-
/*!
|
|
8170
|
-
* @license
|
|
8171
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8172
|
-
*
|
|
8173
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8174
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8175
|
-
*/
|
|
8176
|
-
|
|
8177
8111
|
/** Represents `import.meta` plus some information that's not in the built-in types. */
|
|
8178
8112
|
type ImportMetaExtended = ImportMeta & {
|
|
8179
8113
|
hot?: {
|
|
@@ -8608,13 +8542,6 @@ declare function isNgModule<T>(value: Type$1<T>): value is Type$1<T> & {
|
|
|
8608
8542
|
ɵmod: NgModuleDef<T>;
|
|
8609
8543
|
};
|
|
8610
8544
|
|
|
8611
|
-
/*!
|
|
8612
|
-
* @license
|
|
8613
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8614
|
-
*
|
|
8615
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8616
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8617
|
-
*/
|
|
8618
8545
|
/**
|
|
8619
8546
|
* Profiler events is an enum used by the profiler to distinguish between different calls of user
|
|
8620
8547
|
* code invoked throughout the application lifecycle.
|
|
@@ -8766,13 +8693,6 @@ declare function setProfiler(profiler: Profiler | null): () => void;
|
|
|
8766
8693
|
*/
|
|
8767
8694
|
declare function applyChanges(component: {}): void;
|
|
8768
8695
|
|
|
8769
|
-
/*!
|
|
8770
|
-
* @license
|
|
8771
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8772
|
-
*
|
|
8773
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8774
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8775
|
-
*/
|
|
8776
8696
|
/** Retrieved information about a `@defer` block. */
|
|
8777
8697
|
interface DeferBlockData {
|
|
8778
8698
|
/** Current state of the block. */
|
package/types/primitives-di.d.ts
CHANGED
package/types/rxjs-interop.d.ts
CHANGED
package/types/testing.d.ts
CHANGED