@angular/compiler 20.2.0-next.4 → 20.2.0-next.6
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/compiler.mjs +12 -10
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +5 -3
- package/package.json +1 -1
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.0-next.
|
|
2
|
+
* @license Angular v20.2.0-next.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -421,6 +421,7 @@ var ViewEncapsulation$1;
|
|
|
421
421
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
422
422
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
423
423
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
424
|
+
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
424
425
|
})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
|
|
425
426
|
var ChangeDetectionStrategy;
|
|
426
427
|
(function (ChangeDetectionStrategy) {
|
|
@@ -529,6 +530,7 @@ var ViewEncapsulation;
|
|
|
529
530
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
530
531
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
531
532
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
533
|
+
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
532
534
|
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
533
535
|
|
|
534
536
|
/**
|
|
@@ -34271,7 +34273,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
34271
34273
|
function compileDeclareClassMetadata(metadata) {
|
|
34272
34274
|
const definitionMap = new DefinitionMap();
|
|
34273
34275
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34274
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34276
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34275
34277
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34276
34278
|
definitionMap.set('type', metadata.type);
|
|
34277
34279
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34289,7 +34291,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
34289
34291
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
34290
34292
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
34291
34293
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
34292
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34294
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34293
34295
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34294
34296
|
definitionMap.set('type', metadata.type);
|
|
34295
34297
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -34384,7 +34386,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
34384
34386
|
const definitionMap = new DefinitionMap();
|
|
34385
34387
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34386
34388
|
definitionMap.set('minVersion', literal(minVersion));
|
|
34387
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34389
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34388
34390
|
// e.g. `type: MyDirective`
|
|
34389
34391
|
definitionMap.set('type', meta.type.value);
|
|
34390
34392
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34800,7 +34802,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34800
34802
|
function compileDeclareFactoryFunction(meta) {
|
|
34801
34803
|
const definitionMap = new DefinitionMap();
|
|
34802
34804
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34803
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34805
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34804
34806
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34805
34807
|
definitionMap.set('type', meta.type.value);
|
|
34806
34808
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34835,7 +34837,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34835
34837
|
function createInjectableDefinitionMap(meta) {
|
|
34836
34838
|
const definitionMap = new DefinitionMap();
|
|
34837
34839
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34838
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34840
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34839
34841
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34840
34842
|
definitionMap.set('type', meta.type.value);
|
|
34841
34843
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34886,7 +34888,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34886
34888
|
function createInjectorDefinitionMap(meta) {
|
|
34887
34889
|
const definitionMap = new DefinitionMap();
|
|
34888
34890
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34889
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34891
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34890
34892
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34891
34893
|
definitionMap.set('type', meta.type.value);
|
|
34892
34894
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34919,7 +34921,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34919
34921
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34920
34922
|
}
|
|
34921
34923
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34922
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34924
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34923
34925
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34924
34926
|
definitionMap.set('type', meta.type.value);
|
|
34925
34927
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -34970,7 +34972,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
34970
34972
|
function createPipeDefinitionMap(meta) {
|
|
34971
34973
|
const definitionMap = new DefinitionMap();
|
|
34972
34974
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
34973
|
-
definitionMap.set('version', literal('20.2.0-next.
|
|
34975
|
+
definitionMap.set('version', literal('20.2.0-next.6'));
|
|
34974
34976
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34975
34977
|
// e.g. `type: MyPipe`
|
|
34976
34978
|
definitionMap.set('type', meta.type.value);
|
|
@@ -35126,7 +35128,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
35126
35128
|
* @description
|
|
35127
35129
|
* Entry point for all public APIs of the compiler package.
|
|
35128
35130
|
*/
|
|
35129
|
-
const VERSION = new Version('20.2.0-next.
|
|
35131
|
+
const VERSION = new Version('20.2.0-next.6');
|
|
35130
35132
|
|
|
35131
35133
|
//////////////////////////////////////
|
|
35132
35134
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|