@angular/core 20.2.0-next.6 → 20.2.0-rc.1
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/api.d.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +1 -1
- package/discovery.d.d.ts +2 -8
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +17 -13
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +31 -16
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +2 -11
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/untracked.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/graph.d.d.ts +1 -1
- package/index.d.ts +3 -11
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{apply_import_manager-DDzBE76c.cjs → apply_import_manager-OJAv7nyR.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-PbDBLXD_.cjs → compiler_host-GMENszSm.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-HnBPwNoT.cjs → index-C0gVsyDQ.cjs} +4 -4
- package/schematics/bundles/{index-bNLbdiQu.cjs → index-CvCDOy8a.cjs} +17 -19
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-DvNm2DJd.cjs → migrate_ts_type_references-ByPRdLHL.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-WYk3KB4n.cjs → project_paths-BfWTWKz0.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-iei5hRhJ.cjs → project_tsconfig_paths-Bhn4jDr1.cjs} +37 -27
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/router-current-navigation.cjs +4 -4
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/signal.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
10
10
|
require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
13
|
-
require('./index-
|
|
12
|
+
var apply_import_manager = require('./apply_import_manager-OJAv7nyR.cjs');
|
|
13
|
+
require('./index-CvCDOy8a.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('node:path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
16
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
17
17
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
var index = require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
12
|
+
var index = require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
16
|
|
|
17
17
|
function getMemberName(member) {
|
|
18
18
|
if (member.name === undefined) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
var p = require('path');
|
|
12
12
|
require('os');
|
|
@@ -891,7 +891,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
891
891
|
function compileDeclareClassMetadata(metadata) {
|
|
892
892
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
893
893
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
894
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
894
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
895
895
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
896
896
|
definitionMap.set('type', metadata.type);
|
|
897
897
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -909,7 +909,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
909
909
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? project_tsconfig_paths.literal(null));
|
|
910
910
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? project_tsconfig_paths.literal(null));
|
|
911
911
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
912
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
912
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
913
913
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
914
914
|
definitionMap.set('type', metadata.type);
|
|
915
915
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -1004,7 +1004,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
1004
1004
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1005
1005
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
1006
1006
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(minVersion));
|
|
1007
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1007
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1008
1008
|
// e.g. `type: MyDirective`
|
|
1009
1009
|
definitionMap.set('type', meta.type.value);
|
|
1010
1010
|
if (meta.isStandalone !== undefined) {
|
|
@@ -1420,7 +1420,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1420
1420
|
function compileDeclareFactoryFunction(meta) {
|
|
1421
1421
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1422
1422
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1423
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1423
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1424
1424
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1425
1425
|
definitionMap.set('type', meta.type.value);
|
|
1426
1426
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1455,7 +1455,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1455
1455
|
function createInjectableDefinitionMap(meta) {
|
|
1456
1456
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1457
1457
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1458
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1458
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1459
1459
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1460
1460
|
definitionMap.set('type', meta.type.value);
|
|
1461
1461
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1506,7 +1506,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1506
1506
|
function createInjectorDefinitionMap(meta) {
|
|
1507
1507
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1508
1508
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1509
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1509
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1510
1510
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1511
1511
|
definitionMap.set('type', meta.type.value);
|
|
1512
1512
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1539,7 +1539,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1539
1539
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1540
1540
|
}
|
|
1541
1541
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1542
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1542
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1543
1543
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1544
1544
|
definitionMap.set('type', meta.type.value);
|
|
1545
1545
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1590,7 +1590,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1590
1590
|
function createPipeDefinitionMap(meta) {
|
|
1591
1591
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1592
1592
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1593
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-
|
|
1593
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.2.0-rc.1'));
|
|
1594
1594
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1595
1595
|
// e.g. `type: MyPipe`
|
|
1596
1596
|
definitionMap.set('type', meta.type.value);
|
|
@@ -10652,9 +10652,7 @@ class ComponentDecoratorHandler {
|
|
|
10652
10652
|
diagnostics.push(makeResourceNotFoundError(styleUrl.url, styleUrl.expression, resourceType).toDiagnostic());
|
|
10653
10653
|
}
|
|
10654
10654
|
}
|
|
10655
|
-
if (
|
|
10656
|
-
encapsulation === project_tsconfig_paths.ViewEncapsulation.IsolatedShadowDom) &&
|
|
10657
|
-
metadata.selector !== null) {
|
|
10655
|
+
if (encapsulation === project_tsconfig_paths.ViewEncapsulation.ShadowDom && metadata.selector !== null) {
|
|
10658
10656
|
const selectorError = checkCustomElementSelectorForErrors(metadata.selector);
|
|
10659
10657
|
if (selectorError !== null) {
|
|
10660
10658
|
if (diagnostics === undefined) {
|
|
@@ -12331,7 +12329,7 @@ class PipeDecoratorHandler {
|
|
|
12331
12329
|
* @description
|
|
12332
12330
|
* Entry point for all public APIs of the compiler-cli package.
|
|
12333
12331
|
*/
|
|
12334
|
-
new project_tsconfig_paths.Version('20.2.0-
|
|
12332
|
+
new project_tsconfig_paths.Version('20.2.0-rc.1');
|
|
12335
12333
|
|
|
12336
12334
|
/**
|
|
12337
12335
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -12877,10 +12875,10 @@ const initializerApiOutputTransform = (member, sourceFile, host, factory, import
|
|
|
12877
12875
|
|
|
12878
12876
|
/** Maps a query function to its decorator. */
|
|
12879
12877
|
const queryFunctionToDecorator = {
|
|
12880
|
-
viewChild: 'ViewChild',
|
|
12881
|
-
viewChildren: 'ViewChildren',
|
|
12882
|
-
contentChild: 'ContentChild',
|
|
12883
|
-
contentChildren: 'ContentChildren',
|
|
12878
|
+
'viewChild': 'ViewChild',
|
|
12879
|
+
'viewChildren': 'ViewChildren',
|
|
12880
|
+
'contentChild': 'ContentChild',
|
|
12881
|
+
'contentChildren': 'ContentChildren',
|
|
12884
12882
|
};
|
|
12885
12883
|
/**
|
|
12886
12884
|
* Transform that will automatically add query decorators for all signal-based
|
|
@@ -20321,7 +20319,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20321
20319
|
* @param minVersion Minimum required version for the feature.
|
|
20322
20320
|
*/
|
|
20323
20321
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20324
|
-
// A version of `20.2.0-
|
|
20322
|
+
// A version of `20.2.0-rc.1` usually means that core is at head so it supports
|
|
20325
20323
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20326
20324
|
// with the current version during build time.
|
|
20327
20325
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
12
|
+
require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-OJAv7nyR.cjs');
|
|
17
17
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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 schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var p = require('path');
|
|
11
|
-
var compiler_host = require('./compiler_host-
|
|
11
|
+
var compiler_host = require('./compiler_host-GMENszSm.cjs');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
14
14
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
15
15
|
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
16
16
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
17
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
17
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
18
18
|
require('os');
|
|
19
19
|
require('fs');
|
|
20
20
|
require('module');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var index = require('./index-
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
13
|
+
var index = require('./index-C0gVsyDQ.cjs');
|
|
14
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
15
15
|
var leading_space = require('./leading_space-D9nQ8UQC.cjs');
|
|
16
|
-
require('./index-
|
|
16
|
+
require('./index-CvCDOy8a.cjs');
|
|
17
17
|
require('path');
|
|
18
18
|
require('node:path');
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
12
|
-
var index$1 = require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
12
|
+
var index$1 = require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
-
var index = require('./index-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-OJAv7nyR.cjs');
|
|
17
|
+
var index = require('./index-C0gVsyDQ.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
19
19
|
require('node:path/posix');
|
|
20
20
|
require('fs');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var index = require('./index-
|
|
9
|
+
var index = require('./index-CvCDOy8a.cjs');
|
|
10
10
|
var schematics = require('@angular-devkit/schematics');
|
|
11
11
|
var core = require('@angular-devkit/core');
|
|
12
12
|
var posixPath = require('node:path/posix');
|
|
13
13
|
var os = require('os');
|
|
14
14
|
var ts = require('typescript');
|
|
15
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
15
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
16
16
|
require('path');
|
|
17
17
|
var path = require('node:path');
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -452,7 +452,6 @@ exports.ViewEncapsulation = void 0;
|
|
|
452
452
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
453
453
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
454
454
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
455
|
-
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
456
455
|
})(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));
|
|
457
456
|
exports.ChangeDetectionStrategy = void 0;
|
|
458
457
|
(function (ChangeDetectionStrategy) {
|
|
@@ -546,7 +545,6 @@ var ViewEncapsulation;
|
|
|
546
545
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
547
546
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
548
547
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
549
|
-
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
550
548
|
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
551
549
|
|
|
552
550
|
/**
|
|
@@ -11935,6 +11933,7 @@ function generateConditionalExpressions(job) {
|
|
|
11935
11933
|
}
|
|
11936
11934
|
// Switch expressions assign their main test to a temporary, to avoid re-executing it.
|
|
11937
11935
|
let tmp = op.test == null ? null : new AssignTemporaryExpr(op.test, job.allocateXrefId());
|
|
11936
|
+
let caseExpressionTemporaryXref = null;
|
|
11938
11937
|
// For each remaining condition, test whether the temporary satifies the check. (If no temp is
|
|
11939
11938
|
// present, just check each expression directly.)
|
|
11940
11939
|
for (let i = op.conditions.length - 1; i >= 0; i--) {
|
|
@@ -11947,7 +11946,9 @@ function generateConditionalExpressions(job) {
|
|
|
11947
11946
|
conditionalCase.expr = new BinaryOperatorExpr(BinaryOperator.Identical, useTmp, conditionalCase.expr);
|
|
11948
11947
|
}
|
|
11949
11948
|
else if (conditionalCase.alias !== null) {
|
|
11950
|
-
|
|
11949
|
+
// Since we can only pass one variable into the conditional instruction,
|
|
11950
|
+
// reuse the same variable to store the result of the expressions.
|
|
11951
|
+
caseExpressionTemporaryXref ??= job.allocateXrefId();
|
|
11951
11952
|
conditionalCase.expr = new AssignTemporaryExpr(conditionalCase.expr, caseExpressionTemporaryXref);
|
|
11952
11953
|
op.contextValue = new ReadTemporaryExpr(caseExpressionTemporaryXref);
|
|
11953
11954
|
}
|
|
@@ -28645,8 +28646,8 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
|
|
|
28645
28646
|
if (aliasMatch === null) {
|
|
28646
28647
|
errors.push(new ParseError(param.sourceSpan, `Unrecognized conditional parameter "${param.expression}"`));
|
|
28647
28648
|
}
|
|
28648
|
-
else if (block.name !== 'if') {
|
|
28649
|
-
errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on
|
|
28649
|
+
else if (block.name !== 'if' && !ELSE_IF_PATTERN.test(block.name)) {
|
|
28650
|
+
errors.push(new ParseError(param.sourceSpan, '"as" expression is only allowed on `@if` and `@else if` blocks'));
|
|
28650
28651
|
}
|
|
28651
28652
|
else if (expressionAlias !== null) {
|
|
28652
28653
|
errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
|
|
@@ -29631,8 +29632,8 @@ class HtmlAstToIvyAst {
|
|
|
29631
29632
|
const value = attribute.value;
|
|
29632
29633
|
const srcSpan = attribute.sourceSpan;
|
|
29633
29634
|
const absoluteOffset = attribute.valueSpan
|
|
29634
|
-
? attribute.valueSpan.
|
|
29635
|
-
: srcSpan.
|
|
29635
|
+
? attribute.valueSpan.fullStart.offset
|
|
29636
|
+
: srcSpan.fullStart.offset;
|
|
29636
29637
|
function createKeySpan(srcSpan, prefix, identifier) {
|
|
29637
29638
|
// We need to adjust the start location for the keySpan to account for the removed 'data-'
|
|
29638
29639
|
// prefix from `normalizeAttributeName`.
|
|
@@ -32788,7 +32789,7 @@ function isAttrNode(ast) {
|
|
|
32788
32789
|
* @description
|
|
32789
32790
|
* Entry point for all public APIs of the compiler package.
|
|
32790
32791
|
*/
|
|
32791
|
-
new Version('20.2.0-
|
|
32792
|
+
new Version('20.2.0-rc.1');
|
|
32792
32793
|
|
|
32793
32794
|
//////////////////////////////////////
|
|
32794
32795
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|
|
@@ -33823,7 +33824,7 @@ class NodeJSPathManipulation {
|
|
|
33823
33824
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
33824
33825
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
33825
33826
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
33826
|
-
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-
|
|
33827
|
+
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-Bhn4jDr1.cjs', document.baseURI).href));
|
|
33827
33828
|
// Note, when this code loads in the browser, `url` may be an empty `{}` due to the Closure shims.
|
|
33828
33829
|
const currentFileName = isCommonJS
|
|
33829
33830
|
? __filename
|
|
@@ -45711,11 +45712,21 @@ class TcbDirectiveCtorOp extends TcbOp {
|
|
|
45711
45712
|
return true;
|
|
45712
45713
|
}
|
|
45713
45714
|
execute() {
|
|
45715
|
+
const genericInputs = new Map();
|
|
45714
45716
|
const id = this.tcb.allocateId();
|
|
45717
|
+
let boundAttrs;
|
|
45718
|
+
let span;
|
|
45719
|
+
if (this.node instanceof HostElement) {
|
|
45720
|
+
// Host elements can't bind to their own inputs so we don't resolve any.
|
|
45721
|
+
boundAttrs = [];
|
|
45722
|
+
span = this.node.sourceSpan;
|
|
45723
|
+
}
|
|
45724
|
+
else {
|
|
45725
|
+
boundAttrs = getBoundAttributes(this.dir, this.node);
|
|
45726
|
+
span = this.node.startSourceSpan || this.node.sourceSpan;
|
|
45727
|
+
}
|
|
45715
45728
|
addExpressionIdentifier(id, ExpressionIdentifier.DIRECTIVE);
|
|
45716
|
-
addParseSpanInfo(id,
|
|
45717
|
-
const genericInputs = new Map();
|
|
45718
|
-
const boundAttrs = getBoundAttributes(this.dir, this.node);
|
|
45729
|
+
addParseSpanInfo(id, span);
|
|
45719
45730
|
for (const attr of boundAttrs) {
|
|
45720
45731
|
// Skip text attributes if configured to do so.
|
|
45721
45732
|
if (!this.tcb.env.config.checkTypeOfAttributes &&
|
|
@@ -47310,29 +47321,28 @@ class Scope {
|
|
|
47310
47321
|
}
|
|
47311
47322
|
}
|
|
47312
47323
|
appendDirectiveInputs(dir, node, dirMap) {
|
|
47313
|
-
|
|
47314
|
-
const
|
|
47324
|
+
const directiveOp = this.getDirectiveOp(dir, node);
|
|
47325
|
+
const dirIndex = this.opQueue.push(directiveOp) - 1;
|
|
47326
|
+
dirMap.set(dir, dirIndex);
|
|
47327
|
+
this.opQueue.push(new TcbDirectiveInputsOp(this.tcb, this, node, dir));
|
|
47328
|
+
}
|
|
47329
|
+
getDirectiveOp(dir, node) {
|
|
47315
47330
|
const dirRef = dir.ref;
|
|
47316
47331
|
if (!dir.isGeneric) {
|
|
47317
47332
|
// The most common case is that when a directive is not generic, we use the normal
|
|
47318
47333
|
// `TcbNonDirectiveTypeOp`.
|
|
47319
|
-
|
|
47334
|
+
return new TcbNonGenericDirectiveTypeOp(this.tcb, this, node, dir);
|
|
47320
47335
|
}
|
|
47321
|
-
else if (!requiresInlineTypeCtor(dirRef.node,
|
|
47336
|
+
else if (!requiresInlineTypeCtor(dirRef.node, this.tcb.env.reflector, this.tcb.env) ||
|
|
47322
47337
|
this.tcb.env.config.useInlineTypeConstructors) {
|
|
47323
47338
|
// For generic directives, we use a type constructor to infer types. If a directive requires
|
|
47324
47339
|
// an inline type constructor, then inlining must be available to use the
|
|
47325
47340
|
// `TcbDirectiveCtorOp`. If not we, we fallback to using `any` – see below.
|
|
47326
|
-
|
|
47341
|
+
return new TcbDirectiveCtorOp(this.tcb, this, node, dir);
|
|
47327
47342
|
}
|
|
47328
|
-
|
|
47329
|
-
|
|
47330
|
-
|
|
47331
|
-
directiveOp = new TcbGenericDirectiveTypeWithAnyParamsOp(this.tcb, this, node, dir);
|
|
47332
|
-
}
|
|
47333
|
-
const dirIndex = this.opQueue.push(directiveOp) - 1;
|
|
47334
|
-
dirMap.set(dir, dirIndex);
|
|
47335
|
-
this.opQueue.push(new TcbDirectiveInputsOp(this.tcb, this, node, dir));
|
|
47343
|
+
// If inlining is not available, then we give up on inferring the generic params, and use
|
|
47344
|
+
// `any` type for the directive's generic parameters.
|
|
47345
|
+
return new TcbGenericDirectiveTypeWithAnyParamsOp(this.tcb, this, node, dir);
|
|
47336
47346
|
}
|
|
47337
47347
|
appendSelectorlessDirectives(node) {
|
|
47338
47348
|
for (const directive of node.directives) {
|
|
@@ -47471,7 +47481,7 @@ class Scope {
|
|
|
47471
47481
|
if (directives !== null && directives.length > 0) {
|
|
47472
47482
|
const directiveOpMap = new Map();
|
|
47473
47483
|
for (const directive of directives) {
|
|
47474
|
-
const directiveOp =
|
|
47484
|
+
const directiveOp = this.getDirectiveOp(directive, node);
|
|
47475
47485
|
directiveOpMap.set(directive, this.opQueue.push(directiveOp) - 1);
|
|
47476
47486
|
}
|
|
47477
47487
|
this.directiveOpMap.set(node, directiveOpMap);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
+
var compiler_host = require('./compiler_host-GMENszSm.cjs');
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.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 v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
12
|
-
require('./index-
|
|
11
|
+
require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
12
|
+
require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
16
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
17
17
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
12
|
-
require('./index-
|
|
11
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
12
|
+
require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
16
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
17
17
|
var property_name = require('./property_name-BBwFuqMe.cjs');
|
|
18
18
|
require('@angular-devkit/core');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
9
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-ByPRdLHL.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var index$1 = require('./index-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
13
|
+
var index$1 = require('./index-CvCDOy8a.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('node:path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
17
|
-
var index = require('./index-
|
|
16
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
17
|
+
var index = require('./index-C0gVsyDQ.cjs');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
19
|
+
var apply_import_manager = require('./apply_import_manager-OJAv7nyR.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 v20.2.0-
|
|
3
|
+
* @license Angular v20.2.0-rc.1
|
|
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-
|
|
9
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-Bhn4jDr1.cjs');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
|
-
var index$1 = require('./index-
|
|
12
|
+
var index$1 = require('./index-CvCDOy8a.cjs');
|
|
13
13
|
require('path');
|
|
14
14
|
require('node:path');
|
|
15
|
-
var project_paths = require('./project_paths-
|
|
16
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
-
var migrate_ts_type_references = require('./migrate_ts_type_references-
|
|
15
|
+
var project_paths = require('./project_paths-BfWTWKz0.cjs');
|
|
16
|
+
var apply_import_manager = require('./apply_import_manager-OJAv7nyR.cjs');
|
|
17
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-ByPRdLHL.cjs');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var index = require('./index-
|
|
19
|
+
var index = require('./index-C0gVsyDQ.cjs');
|
|
20
20
|
require('@angular-devkit/core');
|
|
21
21
|
require('node:path/posix');
|
|
22
22
|
require('fs');
|