@angular/compiler-cli 16.2.0-next.2 → 16.2.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-URH5LEAG.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-BFWVGVWL.js → chunk-DKWZY2MH.js} +31 -31
- package/bundles/{chunk-MDJQRJIS.js → chunk-E72KZKRK.js} +135 -96
- package/bundles/chunk-E72KZKRK.js.map +6 -0
- package/bundles/{chunk-OULZQUKT.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-2TZDDYW6.js → chunk-GRJYX2PA.js} +5 -5
- package/bundles/{chunk-4KV4DPNH.js → chunk-IPC76KA7.js} +21 -8
- package/bundles/chunk-IPC76KA7.js.map +6 -0
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-ZE33XMQ7.js → chunk-NIK4FIWB.js} +6 -6
- package/bundles/{chunk-UZO5WCWI.js → chunk-SJLWUYXS.js} +5 -5
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-2PV6GDIB.js → chunk-WF3L5COT.js} +21 -21
- package/bundles/{chunk-HHLM4WSJ.js → chunk-YZ3WOD5G.js} +85 -81
- package/bundles/{chunk-HHLM4WSJ.js.map → chunk-YZ3WOD5G.js.map} +1 -1
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +16 -13
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/ast/babel_ast_factory.d.ts +1 -0
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
- package/src/ngtsc/core/src/compiler.d.ts +1 -0
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +7 -0
- package/src/ngtsc/translator/src/translator.d.ts +1 -0
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -0
- package/bundles/chunk-4KV4DPNH.js.map +0 -6
- package/bundles/chunk-MDJQRJIS.js.map +0 -6
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-BFWVGVWL.js.map → chunk-DKWZY2MH.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-2TZDDYW6.js.map → chunk-GRJYX2PA.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-ZE33XMQ7.js.map → chunk-NIK4FIWB.js.map} +0 -0
- /package/bundles/{chunk-UZO5WCWI.js.map → chunk-SJLWUYXS.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-2PV6GDIB.js.map → chunk-WF3L5COT.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -70,7 +70,7 @@ var PerfCheckpoint;
|
|
|
70
70
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
71
71
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
72
72
|
|
|
73
|
-
// bazel-out/
|
|
73
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
74
74
|
var NoopPerfRecorder = class {
|
|
75
75
|
eventCount() {
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ var NoopPerfRecorder = class {
|
|
|
87
87
|
};
|
|
88
88
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
91
91
|
function mark() {
|
|
92
92
|
return process.hrtime();
|
|
93
93
|
}
|
|
@@ -96,7 +96,7 @@ function timeSinceInMicros(mark2) {
|
|
|
96
96
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
// bazel-out/
|
|
99
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
100
100
|
var ActivePerfRecorder = class {
|
|
101
101
|
static zeroedToNow() {
|
|
102
102
|
return new ActivePerfRecorder(mark());
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
* Use of this source code is governed by an MIT-style license that can be
|
|
205
205
|
* found in the LICENSE file at https://angular.io/license
|
|
206
206
|
*/
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-7PCPPTTO.js.map
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IPC76KA7.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EKTJ7622.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
265
265
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
268
268
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
269
269
|
function wrapReference(wrapped) {
|
|
270
270
|
return { value: wrapped, type: wrapped };
|
|
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
|
|
|
312
312
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
316
316
|
var PartialDirectiveLinkerVersion1 = class {
|
|
317
317
|
constructor(sourceUrl, code) {
|
|
318
318
|
this.sourceUrl = sourceUrl;
|
|
@@ -442,7 +442,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
442
442
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
// bazel-out/
|
|
445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
446
446
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
447
447
|
return {
|
|
448
448
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -635,7 +635,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
635
635
|
return enumValue;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
// bazel-out/
|
|
638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
639
639
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
640
640
|
var PartialFactoryLinkerVersion1 = class {
|
|
641
641
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -671,7 +671,7 @@ function getDependencies(metaObj, propName) {
|
|
|
671
671
|
return null;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
// bazel-out/
|
|
674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
675
675
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
676
676
|
var PartialInjectableLinkerVersion1 = class {
|
|
677
677
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -709,7 +709,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
709
709
|
return meta;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
// bazel-out/
|
|
712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
713
713
|
import { compileInjector } from "@angular/compiler";
|
|
714
714
|
var PartialInjectorLinkerVersion1 = class {
|
|
715
715
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -731,7 +731,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
735
735
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
736
736
|
var PartialNgModuleLinkerVersion1 = class {
|
|
737
737
|
constructor(emitInline) {
|
|
@@ -803,7 +803,7 @@ function wrapReferences(values) {
|
|
|
803
803
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
// bazel-out/
|
|
806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
807
807
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
808
808
|
var PartialPipeLinkerVersion1 = class {
|
|
809
809
|
constructor() {
|
|
@@ -832,7 +832,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
// bazel-out/
|
|
835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
836
836
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
837
837
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
838
838
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -853,7 +853,7 @@ var declarationFunctions = [
|
|
|
853
853
|
];
|
|
854
854
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
855
855
|
const linkers = /* @__PURE__ */ new Map();
|
|
856
|
-
const LATEST_VERSION_RANGE = getRange("<=", "16.2.0-next.
|
|
856
|
+
const LATEST_VERSION_RANGE = getRange("<=", "16.2.0-next.4");
|
|
857
857
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
858
858
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
859
859
|
]);
|
|
@@ -900,7 +900,7 @@ var PartialLinkerSelector = class {
|
|
|
900
900
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
901
901
|
}
|
|
902
902
|
const linkerRanges = this.linkers.get(functionName);
|
|
903
|
-
if (version === "16.2.0-next.
|
|
903
|
+
if (version === "16.2.0-next.4") {
|
|
904
904
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
905
905
|
}
|
|
906
906
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -926,7 +926,7 @@ function getRange(comparator, versionStr) {
|
|
|
926
926
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
// bazel-out/
|
|
929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
930
930
|
var FileLinker = class {
|
|
931
931
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
932
932
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -969,14 +969,14 @@ var FileLinker = class {
|
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// bazel-out/
|
|
972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
973
973
|
var DEFAULT_LINKER_OPTIONS = {
|
|
974
974
|
sourceMapping: true,
|
|
975
975
|
linkerJitMode: false,
|
|
976
976
|
unknownDeclarationVersionHandling: "error"
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
// bazel-out/
|
|
979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
980
980
|
var Translator = class {
|
|
981
981
|
constructor(factory) {
|
|
982
982
|
this.factory = factory;
|
|
@@ -989,7 +989,7 @@ var Translator = class {
|
|
|
989
989
|
}
|
|
990
990
|
};
|
|
991
991
|
|
|
992
|
-
// bazel-out/
|
|
992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
993
993
|
var LinkerEnvironment = class {
|
|
994
994
|
constructor(fileSystem, logger, host, factory, options) {
|
|
995
995
|
this.fileSystem = fileSystem;
|
|
@@ -1010,7 +1010,7 @@ var LinkerEnvironment = class {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
|
-
// bazel-out/
|
|
1013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1014
1014
|
function needsLinking(path, source) {
|
|
1015
1015
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1016
1016
|
}
|
|
@@ -1031,4 +1031,4 @@ export {
|
|
|
1031
1031
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1032
1032
|
* found in the LICENSE file at https://angular.io/license
|
|
1033
1033
|
*/
|
|
1034
|
-
//# sourceMappingURL=chunk-
|
|
1034
|
+
//# sourceMappingURL=chunk-DKWZY2MH.js.map
|