@angular/compiler-cli 16.2.7 → 16.2.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.
- package/bundles/{chunk-NAKFMYDD.js → chunk-3GVOXFUL.js} +4 -4
- package/bundles/{chunk-NSJJNPPO.js → chunk-6SPHWESC.js} +92 -92
- package/bundles/{chunk-URH5LEAG.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-QIGPDWZI.js → chunk-7WBWMZKZ.js} +31 -31
- package/bundles/{chunk-G4NNAES4.js → chunk-CSE6A7DF.js} +8 -8
- package/bundles/{chunk-OULZQUKT.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-3O3O4L34.js → chunk-JZC4T2RR.js} +1 -1
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-OCDXYAWW.js → chunk-RYGXSEBC.js} +27 -27
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-QUGPFSIN.js → chunk-WJXW3ICJ.js} +76 -76
- package/bundles/{chunk-RHKG65UV.js → chunk-YKSGHLGM.js} +5 -5
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- 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/package.json +2 -2
- /package/bundles/{chunk-NAKFMYDD.js.map → chunk-3GVOXFUL.js.map} +0 -0
- /package/bundles/{chunk-NSJJNPPO.js.map → chunk-6SPHWESC.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-QIGPDWZI.js.map → chunk-7WBWMZKZ.js.map} +0 -0
- /package/bundles/{chunk-G4NNAES4.js.map → chunk-CSE6A7DF.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-3O3O4L34.js.map → chunk-JZC4T2RR.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-OCDXYAWW.js.map → chunk-RYGXSEBC.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-QUGPFSIN.js.map → chunk-WJXW3ICJ.js.map} +0 -0
- /package/bundles/{chunk-RHKG65UV.js.map → chunk-YKSGHLGM.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-CSE6A7DF.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,
|
|
@@ -637,7 +637,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
637
637
|
return enumValue;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
// bazel-out/
|
|
640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
641
641
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
642
642
|
var PartialFactoryLinkerVersion1 = class {
|
|
643
643
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -673,7 +673,7 @@ function getDependencies(metaObj, propName) {
|
|
|
673
673
|
return null;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
// bazel-out/
|
|
676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
677
677
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
678
678
|
var PartialInjectableLinkerVersion1 = class {
|
|
679
679
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -711,7 +711,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
711
711
|
return meta;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
// bazel-out/
|
|
714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
715
715
|
import { compileInjector } from "@angular/compiler";
|
|
716
716
|
var PartialInjectorLinkerVersion1 = class {
|
|
717
717
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -733,7 +733,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
735
|
|
|
736
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
737
737
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
738
738
|
var PartialNgModuleLinkerVersion1 = class {
|
|
739
739
|
constructor(emitInline) {
|
|
@@ -805,7 +805,7 @@ function wrapReferences(values) {
|
|
|
805
805
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
// bazel-out/
|
|
808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
809
809
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
810
810
|
var PartialPipeLinkerVersion1 = class {
|
|
811
811
|
constructor() {
|
|
@@ -834,7 +834,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
834
834
|
};
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
// bazel-out/
|
|
837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
838
838
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
839
839
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
840
840
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -855,7 +855,7 @@ var declarationFunctions = [
|
|
|
855
855
|
];
|
|
856
856
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
857
857
|
const linkers = /* @__PURE__ */ new Map();
|
|
858
|
-
const LATEST_VERSION_RANGE = getRange("<=", "16.2.
|
|
858
|
+
const LATEST_VERSION_RANGE = getRange("<=", "16.2.9");
|
|
859
859
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
860
860
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
861
861
|
]);
|
|
@@ -902,7 +902,7 @@ var PartialLinkerSelector = class {
|
|
|
902
902
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
903
903
|
}
|
|
904
904
|
const linkerRanges = this.linkers.get(functionName);
|
|
905
|
-
if (version === "16.2.
|
|
905
|
+
if (version === "16.2.9") {
|
|
906
906
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
907
907
|
}
|
|
908
908
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -928,7 +928,7 @@ function getRange(comparator, versionStr) {
|
|
|
928
928
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
// bazel-out/
|
|
931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
932
932
|
var FileLinker = class {
|
|
933
933
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
934
934
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -971,14 +971,14 @@ var FileLinker = class {
|
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// bazel-out/
|
|
974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
975
975
|
var DEFAULT_LINKER_OPTIONS = {
|
|
976
976
|
sourceMapping: true,
|
|
977
977
|
linkerJitMode: false,
|
|
978
978
|
unknownDeclarationVersionHandling: "error"
|
|
979
979
|
};
|
|
980
980
|
|
|
981
|
-
// bazel-out/
|
|
981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
982
982
|
var Translator = class {
|
|
983
983
|
constructor(factory) {
|
|
984
984
|
this.factory = factory;
|
|
@@ -991,7 +991,7 @@ var Translator = class {
|
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
|
|
994
|
-
// bazel-out/
|
|
994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
995
995
|
var LinkerEnvironment = class {
|
|
996
996
|
constructor(fileSystem, logger, host, factory, options) {
|
|
997
997
|
this.fileSystem = fileSystem;
|
|
@@ -1012,7 +1012,7 @@ var LinkerEnvironment = class {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
1014
|
|
|
1015
|
-
// bazel-out/
|
|
1015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1016
1016
|
function needsLinking(path, source) {
|
|
1017
1017
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1018
1018
|
}
|
|
@@ -1033,4 +1033,4 @@ export {
|
|
|
1033
1033
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1034
1034
|
* found in the LICENSE file at https://angular.io/license
|
|
1035
1035
|
*/
|
|
1036
|
-
//# sourceMappingURL=chunk-
|
|
1036
|
+
//# sourceMappingURL=chunk-7WBWMZKZ.js.map
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
NoopImportRewriter,
|
|
8
8
|
Reference,
|
|
9
9
|
assertSuccessfulReferenceEmit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RYGXSEBC.js";
|
|
11
11
|
|
|
12
|
-
// bazel-out/
|
|
12
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
13
13
|
var Context = class {
|
|
14
14
|
constructor(isStatement) {
|
|
15
15
|
this.isStatement = isStatement;
|
|
@@ -22,7 +22,7 @@ var Context = class {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
26
26
|
import * as o from "@angular/compiler";
|
|
27
27
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
28
28
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -257,7 +257,7 @@ function createRange(span) {
|
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
// bazel-out/
|
|
260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
261
261
|
import ts from "typescript";
|
|
262
262
|
var ImportManager = class {
|
|
263
263
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -293,7 +293,7 @@ var ImportManager = class {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
297
297
|
import * as o2 from "@angular/compiler";
|
|
298
298
|
import ts2 from "typescript";
|
|
299
299
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
@@ -513,7 +513,7 @@ var TypeTranslatorVisitor = class {
|
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
517
517
|
import ts3 from "typescript";
|
|
518
518
|
var PureAnnotation;
|
|
519
519
|
(function(PureAnnotation2) {
|
|
@@ -703,7 +703,7 @@ function attachComments(statement, leadingComments) {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
// bazel-out/
|
|
706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
707
707
|
function translateExpression(expression, imports, options = {}) {
|
|
708
708
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
709
709
|
}
|
|
@@ -726,4 +726,4 @@ export {
|
|
|
726
726
|
* Use of this source code is governed by an MIT-style license that can be
|
|
727
727
|
* found in the LICENSE file at https://angular.io/license
|
|
728
728
|
*/
|
|
729
|
-
//# sourceMappingURL=chunk-
|
|
729
|
+
//# sourceMappingURL=chunk-CSE6A7DF.js.map
|
|
@@ -3,11 +3,11 @@
|
|
|
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/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
* Use of this source code is governed by an MIT-style license that can be
|
|
417
417
|
* found in the LICENSE file at https://angular.io/license
|
|
418
418
|
*/
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-EKTJ7622.js.map
|
|
@@ -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/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-LYJKWJUC.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBUSSXUA.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18
18
|
import ts4 from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
21
21
|
import ts from "typescript";
|
|
22
22
|
function isDecoratorIdentifier(exp) {
|
|
23
23
|
return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
|
|
@@ -31,7 +31,7 @@ var ClassMemberKind;
|
|
|
31
31
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
32
32
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
35
35
|
import ts2 from "typescript";
|
|
36
36
|
function typeToValue(typeNode, checker) {
|
|
37
37
|
if (typeNode === null) {
|
|
@@ -197,7 +197,7 @@ function extractModuleName(node) {
|
|
|
197
197
|
return node.moduleSpecifier.text;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
201
201
|
import ts3 from "typescript";
|
|
202
202
|
function isNamedClassDeclaration(node) {
|
|
203
203
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -206,7 +206,7 @@ function isIdentifier(node) {
|
|
|
206
206
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
210
210
|
var TypeScriptReflectionHost = class {
|
|
211
211
|
constructor(checker) {
|
|
212
212
|
this.checker = checker;
|
|
@@ -640,7 +640,7 @@ function getExportedName(decl, originalId) {
|
|
|
640
640
|
}
|
|
641
641
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
642
642
|
|
|
643
|
-
// bazel-out/
|
|
643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
644
644
|
import ts5 from "typescript";
|
|
645
645
|
var TS = /\.tsx?$/i;
|
|
646
646
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -741,7 +741,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
741
741
|
return redirectInfo.unredirected;
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
745
745
|
var Reference = class {
|
|
746
746
|
constructor(node, bestGuessOwningModule = null) {
|
|
747
747
|
this.node = node;
|
|
@@ -804,14 +804,14 @@ var Reference = class {
|
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
806
|
|
|
807
|
-
// bazel-out/
|
|
807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
808
808
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
811
811
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
812
812
|
import ts7 from "typescript";
|
|
813
813
|
|
|
814
|
-
// bazel-out/
|
|
814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
815
815
|
var ErrorCode;
|
|
816
816
|
(function(ErrorCode2) {
|
|
817
817
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -885,7 +885,7 @@ var ErrorCode;
|
|
|
885
885
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
886
886
|
})(ErrorCode || (ErrorCode = {}));
|
|
887
887
|
|
|
888
|
-
// bazel-out/
|
|
888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
889
889
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
890
890
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
891
891
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -897,10 +897,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
897
897
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
898
898
|
]);
|
|
899
899
|
|
|
900
|
-
// bazel-out/
|
|
900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
901
901
|
import ts6 from "typescript";
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
904
904
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
905
905
|
function replaceTsWithNgInErrors(errors) {
|
|
906
906
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -909,7 +909,7 @@ function ngErrorCode(code) {
|
|
|
909
909
|
return parseInt("-99" + code);
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
// bazel-out/
|
|
912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
913
913
|
var FatalDiagnosticError = class {
|
|
914
914
|
constructor(code, node, message, relatedInformation) {
|
|
915
915
|
this.code = code;
|
|
@@ -965,10 +965,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
965
965
|
return messageText;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
// bazel-out/
|
|
968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
969
969
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
970
970
|
|
|
971
|
-
// bazel-out/
|
|
971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
972
972
|
var ExtendedTemplateDiagnosticName;
|
|
973
973
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
974
974
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -981,7 +981,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
981
981
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
982
982
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
983
983
|
|
|
984
|
-
// bazel-out/
|
|
984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
985
985
|
function findExportedNameOfNode(target, file, reflector) {
|
|
986
986
|
const exports = reflector.getExportsOfModule(file);
|
|
987
987
|
if (exports === null) {
|
|
@@ -1001,7 +1001,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1001
1001
|
return foundExportName;
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
|
-
// bazel-out/
|
|
1004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1005
1005
|
var ImportFlags;
|
|
1006
1006
|
(function(ImportFlags2) {
|
|
1007
1007
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1217,7 +1217,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
};
|
|
1219
1219
|
|
|
1220
|
-
// bazel-out/
|
|
1220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1221
1221
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1222
1222
|
var UnifiedModulesAliasingHost = class {
|
|
1223
1223
|
constructor(unifiedModulesHost) {
|
|
@@ -1284,7 +1284,7 @@ var AliasStrategy = class {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
};
|
|
1286
1286
|
|
|
1287
|
-
// bazel-out/
|
|
1287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1288
1288
|
function relativePathBetween(from, to) {
|
|
1289
1289
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1290
1290
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1293,7 +1293,7 @@ function normalizeSeparators(path) {
|
|
|
1293
1293
|
return path.replace(/\\/g, "/");
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
|
-
// bazel-out/
|
|
1296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1297
1297
|
var NoopImportRewriter = class {
|
|
1298
1298
|
shouldImportSymbol(symbol, specifier) {
|
|
1299
1299
|
return true;
|
|
@@ -1351,7 +1351,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1351
1351
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
|
-
// bazel-out/
|
|
1354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1355
1355
|
import ts8 from "typescript";
|
|
1356
1356
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1357
1357
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1386,7 +1386,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1386
1386
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
// bazel-out/
|
|
1389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1390
1390
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1391
1391
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1392
1392
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1427,7 +1427,7 @@ var DefaultImportTracker = class {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
|
|
1430
|
-
// bazel-out/
|
|
1430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1431
1431
|
import ts9 from "typescript";
|
|
1432
1432
|
var AssumeEager = "AssumeEager";
|
|
1433
1433
|
var DeferredSymbolTracker = class {
|
|
@@ -1520,7 +1520,7 @@ var DeferredSymbolTracker = class {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
};
|
|
1522
1522
|
|
|
1523
|
-
// bazel-out/
|
|
1523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1524
1524
|
var ModuleResolver = class {
|
|
1525
1525
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1526
1526
|
this.program = program;
|
|
@@ -1601,4 +1601,4 @@ export {
|
|
|
1601
1601
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1602
1602
|
* found in the LICENSE file at https://angular.io/license
|
|
1603
1603
|
*/
|
|
1604
|
-
//# sourceMappingURL=chunk-
|
|
1604
|
+
//# sourceMappingURL=chunk-RYGXSEBC.js.map
|