@angular/compiler-cli 13.2.0-rc.0 → 13.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/bundles/{chunk-PRLCFFMX.js → chunk-3XJZ4ZZZ.js} +92 -89
- package/bundles/{chunk-PRLCFFMX.js.map → chunk-3XJZ4ZZZ.js.map} +1 -1
- package/bundles/{chunk-XDDLTG6N.js → chunk-4QCYPOMC.js} +40 -40
- package/bundles/{chunk-XDDLTG6N.js.map → chunk-4QCYPOMC.js.map} +0 -0
- package/bundles/{chunk-RGGJJ7ZZ.js → chunk-676MI6WZ.js} +7 -7
- package/bundles/{chunk-RGGJJ7ZZ.js.map → chunk-676MI6WZ.js.map} +0 -0
- package/bundles/{chunk-XXMNTCYN.js → chunk-7PY7XEFH.js} +6 -6
- package/bundles/{chunk-XXMNTCYN.js.map → chunk-7PY7XEFH.js.map} +0 -0
- package/bundles/{chunk-RNVIUKDY.js → chunk-A5PL3TE6.js} +6 -6
- package/bundles/{chunk-RNVIUKDY.js.map → chunk-A5PL3TE6.js.map} +0 -0
- package/bundles/{chunk-RDTZZXLZ.js → chunk-ADHVDA4A.js} +7 -7
- package/bundles/{chunk-RDTZZXLZ.js.map → chunk-ADHVDA4A.js.map} +0 -0
- package/bundles/{chunk-N2FK756V.js → chunk-DH7A3OBN.js} +5 -5
- package/bundles/{chunk-N2FK756V.js.map → chunk-DH7A3OBN.js.map} +0 -0
- package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
- package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
- package/bundles/{chunk-SJCYXGJE.js → chunk-LMCFGUUV.js} +57 -57
- package/bundles/{chunk-SJCYXGJE.js.map → chunk-LMCFGUUV.js.map} +0 -0
- package/bundles/{chunk-7UHLQOIO.js → chunk-O4XVCXRT.js} +4 -4
- package/bundles/{chunk-7UHLQOIO.js.map → chunk-O4XVCXRT.js.map} +0 -0
- package/bundles/{chunk-XDGHBAZ6.js → chunk-OOEI5KQH.js} +70 -70
- package/bundles/{chunk-XDGHBAZ6.js.map → chunk-OOEI5KQH.js.map} +0 -0
- package/bundles/{chunk-VUEDWBJP.js → chunk-QBU7RUKB.js} +26 -26
- package/bundles/{chunk-VUEDWBJP.js.map → chunk-QBU7RUKB.js.map} +0 -0
- package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
- package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
- package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
- package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
- package/bundles/{chunk-KU4D2JVX.js → chunk-UESD6FVI.js} +31 -31
- package/bundles/{chunk-KU4D2JVX.js.map → chunk-UESD6FVI.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
ivyTransformFactory,
|
|
35
35
|
retagAllTsFiles,
|
|
36
36
|
untagAllTsFiles
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LMCFGUUV.js";
|
|
38
38
|
import {
|
|
39
39
|
TypeScriptReflectionHost,
|
|
40
40
|
isNamedClassDeclaration
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7PY7XEFH.js";
|
|
42
42
|
import {
|
|
43
43
|
AbsoluteModuleStrategy,
|
|
44
44
|
AliasStrategy,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
toUnredirectedSourceFile,
|
|
80
80
|
translateExpression,
|
|
81
81
|
translateType
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-QBU7RUKB.js";
|
|
83
83
|
import {
|
|
84
84
|
LogicalFileSystem,
|
|
85
85
|
absoluteFrom,
|
|
@@ -89,20 +89,20 @@ import {
|
|
|
89
89
|
getSourceFileOrError,
|
|
90
90
|
join,
|
|
91
91
|
resolve
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-676MI6WZ.js";
|
|
93
93
|
import {
|
|
94
94
|
ActivePerfRecorder,
|
|
95
95
|
DelegatingPerfRecorder,
|
|
96
96
|
PerfCheckpoint,
|
|
97
97
|
PerfEvent,
|
|
98
98
|
PerfPhase
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-GLCRIILX.js";
|
|
100
100
|
import {
|
|
101
101
|
__spreadProps,
|
|
102
102
|
__spreadValues
|
|
103
103
|
} from "./chunk-WQ3TNYTD.js";
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
106
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
107
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
108
108
|
var SOURCE = "angular";
|
|
@@ -120,7 +120,7 @@ var EmitFlags;
|
|
|
120
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
121
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
122
122
|
|
|
123
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
124
124
|
import ts from "typescript";
|
|
125
125
|
var wrapHostForTest = null;
|
|
126
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -130,21 +130,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
130
130
|
return tsHost;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
// bazel-out/
|
|
133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
134
134
|
var OptimizeFor;
|
|
135
135
|
(function(OptimizeFor2) {
|
|
136
136
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
137
137
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
138
138
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
141
141
|
var CompletionKind;
|
|
142
142
|
(function(CompletionKind2) {
|
|
143
143
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
144
144
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
145
145
|
})(CompletionKind || (CompletionKind = {}));
|
|
146
146
|
|
|
147
|
-
// bazel-out/
|
|
147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
148
148
|
var SymbolKind;
|
|
149
149
|
(function(SymbolKind2) {
|
|
150
150
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -160,11 +160,11 @@ var SymbolKind;
|
|
|
160
160
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
161
161
|
})(SymbolKind || (SymbolKind = {}));
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
164
164
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
165
165
|
import ts31 from "typescript";
|
|
166
166
|
|
|
167
|
-
// bazel-out/
|
|
167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
168
168
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
169
169
|
import * as path from "path";
|
|
170
170
|
function i18nGetExtension(formatName) {
|
|
@@ -215,10 +215,10 @@ function getPathNormalizer(basePath) {
|
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
// bazel-out/
|
|
218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
219
219
|
import ts2 from "typescript";
|
|
220
220
|
|
|
221
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
222
222
|
function toNumbers(value) {
|
|
223
223
|
const suffixIndex = value.lastIndexOf("-");
|
|
224
224
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -253,7 +253,7 @@ function compareVersions(v1, v2) {
|
|
|
253
253
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
257
257
|
var MIN_TS_VERSION = "4.4.2";
|
|
258
258
|
var MAX_TS_VERSION = "4.6.0";
|
|
259
259
|
var tsVersion = ts2.version;
|
|
@@ -266,10 +266,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
266
266
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
270
270
|
import ts29 from "typescript";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
273
273
|
var CycleAnalyzer = class {
|
|
274
274
|
constructor(importGraph) {
|
|
275
275
|
this.importGraph = importGraph;
|
|
@@ -340,7 +340,7 @@ var Cycle = class {
|
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
// bazel-out/
|
|
343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
344
344
|
import ts3 from "typescript";
|
|
345
345
|
var ImportGraph = class {
|
|
346
346
|
constructor(checker, perf) {
|
|
@@ -432,7 +432,7 @@ var Found = class {
|
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
436
436
|
import ts4 from "typescript";
|
|
437
437
|
var FlatIndexGenerator = class {
|
|
438
438
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -457,7 +457,7 @@ export * from '${relativeEntryPoint}';
|
|
|
457
457
|
}
|
|
458
458
|
};
|
|
459
459
|
|
|
460
|
-
// bazel-out/
|
|
460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
461
461
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
462
462
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
463
463
|
let resolvedEntryPoint = null;
|
|
@@ -473,7 +473,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
473
473
|
return resolvedEntryPoint;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
// bazel-out/
|
|
476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
477
477
|
import ts5 from "typescript";
|
|
478
478
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
479
479
|
const diagnostics = [];
|
|
@@ -553,7 +553,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
-
// bazel-out/
|
|
556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
557
557
|
var ReferenceGraph = class {
|
|
558
558
|
constructor() {
|
|
559
559
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -607,7 +607,7 @@ var ReferenceGraph = class {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
611
611
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
612
612
|
var UpdateMode;
|
|
613
613
|
(function(UpdateMode2) {
|
|
@@ -615,7 +615,7 @@ var UpdateMode;
|
|
|
615
615
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
616
616
|
})(UpdateMode || (UpdateMode = {}));
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
619
619
|
import ts6 from "typescript";
|
|
620
620
|
var DelegatingCompilerHost = class {
|
|
621
621
|
constructor(delegate) {
|
|
@@ -726,7 +726,7 @@ var TsCreateProgramDriver = class {
|
|
|
726
726
|
}
|
|
727
727
|
};
|
|
728
728
|
|
|
729
|
-
// bazel-out/
|
|
729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
730
730
|
var FileDependencyGraph = class {
|
|
731
731
|
constructor() {
|
|
732
732
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -793,7 +793,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
793
793
|
return false;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
// bazel-out/
|
|
796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
797
797
|
var IncrementalStateKind;
|
|
798
798
|
(function(IncrementalStateKind2) {
|
|
799
799
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -801,7 +801,7 @@ var IncrementalStateKind;
|
|
|
801
801
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
802
802
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
803
803
|
|
|
804
|
-
// bazel-out/
|
|
804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
805
805
|
var PhaseKind;
|
|
806
806
|
(function(PhaseKind2) {
|
|
807
807
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1002,7 +1002,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
// bazel-out/
|
|
1005
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1006
1006
|
var TrackedIncrementalBuildStrategy = class {
|
|
1007
1007
|
constructor() {
|
|
1008
1008
|
this.state = null;
|
|
@@ -1038,7 +1038,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1040
1040
|
|
|
1041
|
-
// bazel-out/
|
|
1041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1042
1042
|
var IdentifierKind;
|
|
1043
1043
|
(function(IdentifierKind2) {
|
|
1044
1044
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1056,7 +1056,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
};
|
|
1058
1058
|
|
|
1059
|
-
// bazel-out/
|
|
1059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1060
1060
|
var IndexingContext = class {
|
|
1061
1061
|
constructor() {
|
|
1062
1062
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1066,10 +1066,10 @@ var IndexingContext = class {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
// bazel-out/
|
|
1069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1070
1070
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1071
1071
|
|
|
1072
|
-
// bazel-out/
|
|
1072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1073
1073
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1074
1074
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1075
1075
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1280,7 +1280,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1280
1280
|
return visitor.identifiers;
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
|
-
// bazel-out/
|
|
1283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1284
1284
|
function generateAnalysis(context) {
|
|
1285
1285
|
const analysis = /* @__PURE__ */ new Map();
|
|
1286
1286
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1314,7 +1314,7 @@ function generateAnalysis(context) {
|
|
|
1314
1314
|
return analysis;
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
// bazel-out/
|
|
1317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1318
1318
|
import ts7 from "typescript";
|
|
1319
1319
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1320
1320
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1460,7 +1460,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
-
// bazel-out/
|
|
1463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
1464
1464
|
var MetadataDtsModuleScopeResolver = class {
|
|
1465
1465
|
constructor(dtsMetaReader, aliasingHost) {
|
|
1466
1466
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -1546,7 +1546,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
};
|
|
1548
1548
|
|
|
1549
|
-
// bazel-out/
|
|
1549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
1550
1550
|
import { ExternalExpr } from "@angular/compiler";
|
|
1551
1551
|
import ts8 from "typescript";
|
|
1552
1552
|
var LocalModuleScopeRegistry = class {
|
|
@@ -1856,7 +1856,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
1856
1856
|
]);
|
|
1857
1857
|
}
|
|
1858
1858
|
|
|
1859
|
-
// bazel-out/
|
|
1859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
1860
1860
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
1861
1861
|
import ts9 from "typescript";
|
|
1862
1862
|
var TypeCheckScopeRegistry = class {
|
|
@@ -1917,10 +1917,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
};
|
|
1919
1919
|
|
|
1920
|
-
// bazel-out/
|
|
1920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1921
1921
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1922
1922
|
|
|
1923
|
-
// bazel-out/
|
|
1923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1924
1924
|
import ts10 from "typescript";
|
|
1925
1925
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1926
1926
|
if (mapping.type === "direct") {
|
|
@@ -1993,7 +1993,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
// bazel-out/
|
|
1996
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1997
1997
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1998
1998
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1999
1999
|
function getTemplateId(clazz) {
|
|
@@ -2010,11 +2010,11 @@ function allocateTemplateId(sf) {
|
|
|
2010
2010
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2011
2011
|
}
|
|
2012
2012
|
|
|
2013
|
-
// bazel-out/
|
|
2013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2014
2014
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2015
2015
|
import ts12 from "typescript";
|
|
2016
2016
|
|
|
2017
|
-
// bazel-out/
|
|
2017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2018
2018
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2019
2019
|
import ts11 from "typescript";
|
|
2020
2020
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2134,7 +2134,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2134
2134
|
}) || false;
|
|
2135
2135
|
}
|
|
2136
2136
|
|
|
2137
|
-
// bazel-out/
|
|
2137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2138
2138
|
var CompletionEngine = class {
|
|
2139
2139
|
constructor(tcb, data, shimPath) {
|
|
2140
2140
|
this.tcb = tcb;
|
|
@@ -2285,10 +2285,10 @@ var CompletionEngine = class {
|
|
|
2285
2285
|
}
|
|
2286
2286
|
};
|
|
2287
2287
|
|
|
2288
|
-
// bazel-out/
|
|
2288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2289
2289
|
import ts26 from "typescript";
|
|
2290
2290
|
|
|
2291
|
-
// bazel-out/
|
|
2291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2292
2292
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2293
2293
|
import ts13 from "typescript";
|
|
2294
2294
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2338,11 +2338,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
};
|
|
2340
2340
|
|
|
2341
|
-
// bazel-out/
|
|
2341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2342
2342
|
import { ExpressionType, ExternalExpr as ExternalExpr2, TypeModifier } from "@angular/compiler";
|
|
2343
2343
|
import ts19 from "typescript";
|
|
2344
2344
|
|
|
2345
|
-
// bazel-out/
|
|
2345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2346
2346
|
import ts14 from "typescript";
|
|
2347
2347
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2348
2348
|
ts14.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2411,16 +2411,16 @@ function isAccessExpression(node) {
|
|
|
2411
2411
|
return ts14.isPropertyAccessExpression(node) || ts14.isElementAccessExpression(node);
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
|
-
// bazel-out/
|
|
2414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2415
2415
|
import ts18 from "typescript";
|
|
2416
2416
|
|
|
2417
|
-
// bazel-out/
|
|
2417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2418
2418
|
import ts17 from "typescript";
|
|
2419
2419
|
|
|
2420
|
-
// bazel-out/
|
|
2420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2421
2421
|
import ts16 from "typescript";
|
|
2422
2422
|
|
|
2423
|
-
// bazel-out/
|
|
2423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2424
2424
|
import ts15 from "typescript";
|
|
2425
2425
|
var INELIGIBLE = {};
|
|
2426
2426
|
function canEmitType(type, canEmit) {
|
|
@@ -2482,7 +2482,7 @@ var TypeEmitter = class {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
};
|
|
2484
2484
|
|
|
2485
|
-
// bazel-out/
|
|
2485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2486
2486
|
var TypeParameterEmitter = class {
|
|
2487
2487
|
constructor(typeParameters, reflector) {
|
|
2488
2488
|
this.typeParameters = typeParameters;
|
|
@@ -2559,7 +2559,7 @@ var TypeParameterEmitter = class {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
};
|
|
2561
2561
|
|
|
2562
|
-
// bazel-out/
|
|
2562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2563
2563
|
var TcbInliningRequirement;
|
|
2564
2564
|
(function(TcbInliningRequirement2) {
|
|
2565
2565
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2639,7 +2639,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2639
2639
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2640
2640
|
}
|
|
2641
2641
|
|
|
2642
|
-
// bazel-out/
|
|
2642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2643
2643
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2644
2644
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2645
2645
|
const rawType = ts18.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2710,7 +2710,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2710
2710
|
});
|
|
2711
2711
|
}
|
|
2712
2712
|
|
|
2713
|
-
// bazel-out/
|
|
2713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2714
2714
|
var Environment = class {
|
|
2715
2715
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2716
2716
|
this.config = config;
|
|
@@ -2802,7 +2802,7 @@ var Environment = class {
|
|
|
2802
2802
|
}
|
|
2803
2803
|
};
|
|
2804
2804
|
|
|
2805
|
-
// bazel-out/
|
|
2805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2806
2806
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2807
2807
|
import ts20 from "typescript";
|
|
2808
2808
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2934,7 +2934,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2934
2934
|
});
|
|
2935
2935
|
}
|
|
2936
2936
|
|
|
2937
|
-
// bazel-out/
|
|
2937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2938
2938
|
import ts21 from "typescript";
|
|
2939
2939
|
var TypeCheckShimGenerator = class {
|
|
2940
2940
|
constructor() {
|
|
@@ -2952,11 +2952,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2952
2952
|
}
|
|
2953
2953
|
};
|
|
2954
2954
|
|
|
2955
|
-
// bazel-out/
|
|
2955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2956
2956
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
2957
2957
|
import ts24 from "typescript";
|
|
2958
2958
|
|
|
2959
|
-
// bazel-out/
|
|
2959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2960
2960
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2961
2961
|
import ts22 from "typescript";
|
|
2962
2962
|
function wrapForDiagnostics(expr) {
|
|
@@ -3002,7 +3002,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3002
3002
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3003
3003
|
}
|
|
3004
3004
|
|
|
3005
|
-
// bazel-out/
|
|
3005
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3006
3006
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3007
3007
|
import ts23 from "typescript";
|
|
3008
3008
|
var NULL_AS_ANY = ts23.createAsExpression(ts23.createNull(), ts23.createKeywordTypeNode(ts23.SyntaxKind.AnyKeyword));
|
|
@@ -3332,7 +3332,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3332
3332
|
};
|
|
3333
3333
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3334
3334
|
|
|
3335
|
-
// bazel-out/
|
|
3335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3336
3336
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3337
3337
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3338
3338
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3356,7 +3356,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3356
3356
|
}
|
|
3357
3357
|
};
|
|
3358
3358
|
|
|
3359
|
-
// bazel-out/
|
|
3359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3360
3360
|
var TcbGenericContextBehavior;
|
|
3361
3361
|
(function(TcbGenericContextBehavior2) {
|
|
3362
3362
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4406,7 +4406,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4406
4406
|
}
|
|
4407
4407
|
};
|
|
4408
4408
|
|
|
4409
|
-
// bazel-out/
|
|
4409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4410
4410
|
import ts25 from "typescript";
|
|
4411
4411
|
var TypeCheckFile = class extends Environment {
|
|
4412
4412
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4442,7 +4442,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
4444
|
|
|
4445
|
-
// bazel-out/
|
|
4445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4446
4446
|
var InliningMode;
|
|
4447
4447
|
(function(InliningMode2) {
|
|
4448
4448
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4672,10 +4672,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4672
4672
|
return splits;
|
|
4673
4673
|
}
|
|
4674
4674
|
|
|
4675
|
-
// bazel-out/
|
|
4675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4676
4676
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4677
4677
|
|
|
4678
|
-
// bazel-out/
|
|
4678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4679
4679
|
var LF_CHAR = 10;
|
|
4680
4680
|
var CR_CHAR = 13;
|
|
4681
4681
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4716,7 +4716,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4716
4716
|
return low - 1;
|
|
4717
4717
|
}
|
|
4718
4718
|
|
|
4719
|
-
// bazel-out/
|
|
4719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4720
4720
|
var TemplateSource = class {
|
|
4721
4721
|
constructor(mapping, file) {
|
|
4722
4722
|
this.mapping = mapping;
|
|
@@ -4767,7 +4767,7 @@ var TemplateSourceManager = class {
|
|
|
4767
4767
|
}
|
|
4768
4768
|
};
|
|
4769
4769
|
|
|
4770
|
-
// bazel-out/
|
|
4770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4771
4771
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
4772
4772
|
import ts27 from "typescript";
|
|
4773
4773
|
var SymbolBuilder = class {
|
|
@@ -5192,7 +5192,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5192
5192
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5193
5193
|
}
|
|
5194
5194
|
|
|
5195
|
-
// bazel-out/
|
|
5195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5196
5196
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5197
5197
|
var TemplateTypeCheckerImpl = class {
|
|
5198
5198
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5708,10 +5708,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5708
5708
|
}
|
|
5709
5709
|
};
|
|
5710
5710
|
|
|
5711
|
-
// bazel-out/
|
|
5711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5712
5712
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5713
5713
|
|
|
5714
|
-
// bazel-out/
|
|
5714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5715
5715
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5716
5716
|
var TemplateCheckWithVisitor = class {
|
|
5717
5717
|
run(ctx, component, template) {
|
|
@@ -5788,7 +5788,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5788
5788
|
}
|
|
5789
5789
|
};
|
|
5790
5790
|
|
|
5791
|
-
// bazel-out/
|
|
5791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5792
5792
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5793
5793
|
constructor() {
|
|
5794
5794
|
super(...arguments);
|
|
@@ -5813,7 +5813,7 @@ var factory = {
|
|
|
5813
5813
|
create: () => new InvalidBananaInBoxCheck()
|
|
5814
5814
|
};
|
|
5815
5815
|
|
|
5816
|
-
// bazel-out/
|
|
5816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
5817
5817
|
import { Binary } from "@angular/compiler";
|
|
5818
5818
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
5819
5819
|
constructor() {
|
|
@@ -5850,10 +5850,10 @@ var factory2 = {
|
|
|
5850
5850
|
}
|
|
5851
5851
|
};
|
|
5852
5852
|
|
|
5853
|
-
// bazel-out/
|
|
5853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5854
5854
|
import ts28 from "typescript";
|
|
5855
5855
|
|
|
5856
|
-
// bazel-out/
|
|
5856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
5857
5857
|
var DiagnosticCategoryLabel;
|
|
5858
5858
|
(function(DiagnosticCategoryLabel2) {
|
|
5859
5859
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -5861,7 +5861,7 @@ var DiagnosticCategoryLabel;
|
|
|
5861
5861
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
5862
5862
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
5863
5863
|
|
|
5864
|
-
// bazel-out/
|
|
5864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5865
5865
|
var ExtendedTemplateCheckerImpl = class {
|
|
5866
5866
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
5867
5867
|
var _a, _b, _c, _d, _e;
|
|
@@ -5913,13 +5913,13 @@ function assertNever(value) {
|
|
|
5913
5913
|
${value}`);
|
|
5914
5914
|
}
|
|
5915
5915
|
|
|
5916
|
-
// bazel-out/
|
|
5916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
5917
5917
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
5918
5918
|
factory,
|
|
5919
5919
|
factory2
|
|
5920
5920
|
];
|
|
5921
5921
|
|
|
5922
|
-
// bazel-out/
|
|
5922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
5923
5923
|
var CompilationTicketKind;
|
|
5924
5924
|
(function(CompilationTicketKind2) {
|
|
5925
5925
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6077,7 +6077,7 @@ var NgCompiler = class {
|
|
|
6077
6077
|
getDiagnosticsForFile(file, optimizeFor) {
|
|
6078
6078
|
const diagnostics = [];
|
|
6079
6079
|
diagnostics.push(...this.getNonTemplateDiagnostics().filter((diag) => diag.file === file), ...this.getTemplateDiagnosticsForFile(file, optimizeFor));
|
|
6080
|
-
if (this.options.
|
|
6080
|
+
if (this.options.strictTemplates) {
|
|
6081
6081
|
diagnostics.push(...this.getExtendedTemplateDiagnostics(file));
|
|
6082
6082
|
}
|
|
6083
6083
|
return this.addMessageTextDetails(diagnostics);
|
|
@@ -6087,8 +6087,8 @@ var NgCompiler = class {
|
|
|
6087
6087
|
const ttc = compilation.templateTypeChecker;
|
|
6088
6088
|
const diagnostics = [];
|
|
6089
6089
|
diagnostics.push(...ttc.getDiagnosticsForComponent(component));
|
|
6090
|
-
|
|
6091
|
-
|
|
6090
|
+
const extendedTemplateChecker = compilation.extendedTemplateChecker;
|
|
6091
|
+
if (this.options.strictTemplates && extendedTemplateChecker) {
|
|
6092
6092
|
diagnostics.push(...extendedTemplateChecker.getDiagnosticsForComponent(component));
|
|
6093
6093
|
}
|
|
6094
6094
|
return this.addMessageTextDetails(diagnostics);
|
|
@@ -6362,6 +6362,9 @@ var NgCompiler = class {
|
|
|
6362
6362
|
const diagnostics = [];
|
|
6363
6363
|
const compilation = this.ensureAnalyzed();
|
|
6364
6364
|
const extendedTemplateChecker = compilation.extendedTemplateChecker;
|
|
6365
|
+
if (!extendedTemplateChecker) {
|
|
6366
|
+
return [];
|
|
6367
|
+
}
|
|
6365
6368
|
if (sf !== void 0) {
|
|
6366
6369
|
return compilation.traitCompiler.extendedTemplateCheck(sf, extendedTemplateChecker);
|
|
6367
6370
|
}
|
|
@@ -6436,7 +6439,7 @@ var NgCompiler = class {
|
|
|
6436
6439
|
this.currentProgram = program;
|
|
6437
6440
|
});
|
|
6438
6441
|
const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, scopeRegistry, typeCheckScopeRegistry, this.delegatingPerfRecorder);
|
|
6439
|
-
const extendedTemplateChecker = new ExtendedTemplateCheckerImpl(templateTypeChecker, checker, ALL_DIAGNOSTIC_FACTORIES, this.options);
|
|
6442
|
+
const extendedTemplateChecker = this.constructionDiagnostics.length === 0 ? new ExtendedTemplateCheckerImpl(templateTypeChecker, checker, ALL_DIAGNOSTIC_FACTORIES, this.options) : null;
|
|
6440
6443
|
return {
|
|
6441
6444
|
isCore,
|
|
6442
6445
|
traitCompiler,
|
|
@@ -6614,7 +6617,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6614
6617
|
return versions;
|
|
6615
6618
|
}
|
|
6616
6619
|
|
|
6617
|
-
// bazel-out/
|
|
6620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6618
6621
|
import ts30 from "typescript";
|
|
6619
6622
|
var DelegatingCompilerHost2 = class {
|
|
6620
6623
|
constructor(delegate) {
|
|
@@ -6755,7 +6758,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
6755
6758
|
}
|
|
6756
6759
|
};
|
|
6757
6760
|
|
|
6758
|
-
// bazel-out/
|
|
6761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
6759
6762
|
var NgtscProgram = class {
|
|
6760
6763
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
6761
6764
|
this.options = options;
|
|
@@ -6962,15 +6965,15 @@ function mergeEmitResults(emitResults) {
|
|
|
6962
6965
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
6963
6966
|
}
|
|
6964
6967
|
|
|
6965
|
-
// bazel-out/
|
|
6968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
6966
6969
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
6967
6970
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
6968
6971
|
}
|
|
6969
6972
|
|
|
6970
|
-
// bazel-out/
|
|
6973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
6971
6974
|
import ts33 from "typescript";
|
|
6972
6975
|
|
|
6973
|
-
// bazel-out/
|
|
6976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
6974
6977
|
import ts32 from "typescript";
|
|
6975
6978
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
6976
6979
|
function createMessageDiagnostic(messageText) {
|
|
@@ -6985,7 +6988,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
6985
6988
|
};
|
|
6986
6989
|
}
|
|
6987
6990
|
|
|
6988
|
-
// bazel-out/
|
|
6991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
6989
6992
|
var defaultFormatHost = {
|
|
6990
6993
|
getCurrentDirectory: () => ts33.sys.getCurrentDirectory(),
|
|
6991
6994
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7197,4 +7200,4 @@ export {
|
|
|
7197
7200
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7198
7201
|
* found in the LICENSE file at https://angular.io/license
|
|
7199
7202
|
*/
|
|
7200
|
-
//# sourceMappingURL=chunk-
|
|
7203
|
+
//# sourceMappingURL=chunk-3XJZ4ZZZ.js.map
|