@angular/compiler-cli 15.2.0-next.0 → 15.2.0-next.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-6ZJFIQBG.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-6ZJFIQBG.js.map → chunk-2NLFVEGY.js.map} +0 -0
- package/bundles/{chunk-HRV5BIYU.js → chunk-3WT7ICUD.js} +5 -5
- package/bundles/{chunk-HRV5BIYU.js.map → chunk-3WT7ICUD.js.map} +0 -0
- package/bundles/{chunk-7DUI3BSX.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/{chunk-7DUI3BSX.js.map → chunk-B57SP4JB.js.map} +0 -0
- package/bundles/{chunk-YRDMG3GM.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-YRDMG3GM.js.map → chunk-K7P4IHT5.js.map} +0 -0
- package/bundles/{chunk-Q6W3UCXI.js → chunk-LPXFO4TY.js} +6 -6
- package/bundles/{chunk-Q6W3UCXI.js.map → chunk-LPXFO4TY.js.map} +0 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- package/bundles/{chunk-64X67E3N.js → chunk-NEQOZOZQ.js} +31 -31
- package/bundles/{chunk-64X67E3N.js.map → chunk-NEQOZOZQ.js.map} +0 -0
- package/bundles/{chunk-ZPQIVD3E.js → chunk-SQCRAYKM.js} +248 -156
- package/bundles/chunk-SQCRAYKM.js.map +6 -0
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- package/bundles/{chunk-DCKTQM63.js → chunk-TNUB43C4.js} +123 -76
- package/bundles/chunk-TNUB43C4.js.map +6 -0
- package/bundles/{chunk-47D45K5K.js → chunk-UOX4HXHH.js} +40 -40
- package/bundles/{chunk-47D45K5K.js.map → chunk-UOX4HXHH.js.map} +0 -0
- package/bundles/{chunk-LHX5X4GY.js → chunk-UUYR4OJT.js} +70 -70
- package/bundles/{chunk-LHX5X4GY.js.map → chunk-UUYR4OJT.js.map} +0 -0
- package/bundles/{chunk-NJMZRTB6.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-NJMZRTB6.js.map → chunk-YZWN2KWE.js.map} +0 -0
- package/bundles/{chunk-O4JLZZWJ.js → chunk-ZF3IVDQ2.js} +6 -6
- package/bundles/{chunk-O4JLZZWJ.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
- package/bundles/{chunk-Z534TW2O.js → chunk-ZOI6L3RR.js} +28 -28
- package/bundles/{chunk-Z534TW2O.js.map → chunk-ZOI6L3RR.js.map} +0 -0
- package/bundles/index.js +14 -13
- package/bundles/index.js.map +1 -1
- 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 +9 -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
- package/private/migrations.d.ts +1 -0
- package/src/ngtsc/metadata/src/api.d.ts +8 -2
- package/src/ngtsc/metadata/src/ng_module_index.d.ts +25 -0
- package/src/ngtsc/metadata/src/registry.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +1 -0
- package/src/ngtsc/typecheck/api/checker.d.ts +21 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +13 -0
- package/src/ngtsc/typecheck/src/checker.d.ts +12 -6
- package/bundles/chunk-DCKTQM63.js.map +0 -6
- package/bundles/chunk-ZPQIVD3E.js.map +0 -6
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
CompilationMode,
|
|
7
|
+
CompletionKind,
|
|
7
8
|
ComponentDecoratorHandler,
|
|
8
9
|
ComponentScopeKind,
|
|
9
10
|
CompoundComponentScopeReader,
|
|
@@ -21,20 +22,24 @@ import {
|
|
|
21
22
|
MetadataDtsModuleScopeResolver,
|
|
22
23
|
NgModuleDecoratorHandler,
|
|
23
24
|
NoopReferencesRegistry,
|
|
25
|
+
OptimizeFor,
|
|
24
26
|
PartialEvaluator,
|
|
25
27
|
PipeDecoratorHandler,
|
|
28
|
+
PotentialImportKind,
|
|
29
|
+
PotentialImportMode,
|
|
26
30
|
ResourceRegistry,
|
|
27
31
|
SemanticDepGraphUpdater,
|
|
32
|
+
SymbolKind,
|
|
28
33
|
TraitCompiler,
|
|
29
34
|
TypeCheckScopeRegistry,
|
|
30
35
|
aliasTransformFactory,
|
|
31
36
|
declarationTransformFactory,
|
|
32
37
|
ivyTransformFactory
|
|
33
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TNUB43C4.js";
|
|
34
39
|
import {
|
|
35
40
|
TypeScriptReflectionHost,
|
|
36
41
|
isNamedClassDeclaration
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZF3IVDQ2.js";
|
|
38
43
|
import {
|
|
39
44
|
AbsoluteModuleStrategy,
|
|
40
45
|
AliasStrategy,
|
|
@@ -77,7 +82,7 @@ import {
|
|
|
77
82
|
toUnredirectedSourceFile,
|
|
78
83
|
translateExpression,
|
|
79
84
|
translateType
|
|
80
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-ZOI6L3RR.js";
|
|
81
86
|
import {
|
|
82
87
|
LogicalFileSystem,
|
|
83
88
|
absoluteFrom,
|
|
@@ -88,16 +93,16 @@ import {
|
|
|
88
93
|
getSourceFileOrError,
|
|
89
94
|
join,
|
|
90
95
|
resolve
|
|
91
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-TBUSSXUA.js";
|
|
92
97
|
import {
|
|
93
98
|
ActivePerfRecorder,
|
|
94
99
|
DelegatingPerfRecorder,
|
|
95
100
|
PerfCheckpoint,
|
|
96
101
|
PerfEvent,
|
|
97
102
|
PerfPhase
|
|
98
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-YZWN2KWE.js";
|
|
99
104
|
|
|
100
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
101
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
102
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
103
108
|
var SOURCE = "angular";
|
|
@@ -115,7 +120,7 @@ var EmitFlags;
|
|
|
115
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
116
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
117
122
|
|
|
118
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
119
124
|
import ts from "typescript";
|
|
120
125
|
var wrapHostForTest = null;
|
|
121
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -125,48 +130,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
125
130
|
return tsHost;
|
|
126
131
|
}
|
|
127
132
|
|
|
128
|
-
// bazel-out/
|
|
129
|
-
var OptimizeFor;
|
|
130
|
-
(function(OptimizeFor2) {
|
|
131
|
-
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
132
|
-
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
133
|
-
})(OptimizeFor || (OptimizeFor = {}));
|
|
134
|
-
|
|
135
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
136
|
-
var CompletionKind;
|
|
137
|
-
(function(CompletionKind2) {
|
|
138
|
-
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
139
|
-
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
140
|
-
})(CompletionKind || (CompletionKind = {}));
|
|
141
|
-
|
|
142
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
143
|
-
var PotentialImportKind;
|
|
144
|
-
(function(PotentialImportKind2) {
|
|
145
|
-
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
146
|
-
PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
|
|
147
|
-
})(PotentialImportKind || (PotentialImportKind = {}));
|
|
148
|
-
|
|
149
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
150
|
-
var SymbolKind;
|
|
151
|
-
(function(SymbolKind2) {
|
|
152
|
-
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
153
|
-
SymbolKind2[SymbolKind2["Output"] = 1] = "Output";
|
|
154
|
-
SymbolKind2[SymbolKind2["Binding"] = 2] = "Binding";
|
|
155
|
-
SymbolKind2[SymbolKind2["Reference"] = 3] = "Reference";
|
|
156
|
-
SymbolKind2[SymbolKind2["Variable"] = 4] = "Variable";
|
|
157
|
-
SymbolKind2[SymbolKind2["Directive"] = 5] = "Directive";
|
|
158
|
-
SymbolKind2[SymbolKind2["Element"] = 6] = "Element";
|
|
159
|
-
SymbolKind2[SymbolKind2["Template"] = 7] = "Template";
|
|
160
|
-
SymbolKind2[SymbolKind2["Expression"] = 8] = "Expression";
|
|
161
|
-
SymbolKind2[SymbolKind2["DomBinding"] = 9] = "DomBinding";
|
|
162
|
-
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
163
|
-
})(SymbolKind || (SymbolKind = {}));
|
|
164
|
-
|
|
165
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
166
134
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
167
135
|
import ts34 from "typescript";
|
|
168
136
|
|
|
169
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
170
138
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
171
139
|
import * as path from "path";
|
|
172
140
|
function i18nGetExtension(formatName) {
|
|
@@ -217,10 +185,10 @@ function getPathNormalizer(basePath) {
|
|
|
217
185
|
};
|
|
218
186
|
}
|
|
219
187
|
|
|
220
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
221
189
|
import ts2 from "typescript";
|
|
222
190
|
|
|
223
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
224
192
|
function toNumbers(value) {
|
|
225
193
|
const suffixIndex = value.lastIndexOf("-");
|
|
226
194
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -255,7 +223,7 @@ function compareVersions(v1, v2) {
|
|
|
255
223
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
256
224
|
}
|
|
257
225
|
|
|
258
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
259
227
|
var MIN_TS_VERSION = "4.8.2";
|
|
260
228
|
var MAX_TS_VERSION = "5.0.0";
|
|
261
229
|
var tsVersion = ts2.version;
|
|
@@ -268,10 +236,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
268
236
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
269
237
|
}
|
|
270
238
|
|
|
271
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
272
240
|
import ts32 from "typescript";
|
|
273
241
|
|
|
274
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
275
243
|
var CycleAnalyzer = class {
|
|
276
244
|
constructor(importGraph) {
|
|
277
245
|
this.importGraph = importGraph;
|
|
@@ -342,7 +310,7 @@ var Cycle = class {
|
|
|
342
310
|
}
|
|
343
311
|
};
|
|
344
312
|
|
|
345
|
-
// bazel-out/
|
|
313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
346
314
|
import ts3 from "typescript";
|
|
347
315
|
var ImportGraph = class {
|
|
348
316
|
constructor(checker, perf) {
|
|
@@ -434,7 +402,7 @@ var Found = class {
|
|
|
434
402
|
}
|
|
435
403
|
};
|
|
436
404
|
|
|
437
|
-
// bazel-out/
|
|
405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
438
406
|
import ts4 from "typescript";
|
|
439
407
|
var FlatIndexGenerator = class {
|
|
440
408
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -459,7 +427,7 @@ export * from '${relativeEntryPoint}';
|
|
|
459
427
|
}
|
|
460
428
|
};
|
|
461
429
|
|
|
462
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
463
431
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
464
432
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
465
433
|
let resolvedEntryPoint = null;
|
|
@@ -475,7 +443,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
475
443
|
return resolvedEntryPoint;
|
|
476
444
|
}
|
|
477
445
|
|
|
478
|
-
// bazel-out/
|
|
446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
479
447
|
import ts5 from "typescript";
|
|
480
448
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
481
449
|
const diagnostics = [];
|
|
@@ -555,7 +523,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
555
523
|
}
|
|
556
524
|
}
|
|
557
525
|
|
|
558
|
-
// bazel-out/
|
|
526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
559
527
|
var ReferenceGraph = class {
|
|
560
528
|
constructor() {
|
|
561
529
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -609,7 +577,7 @@ var ReferenceGraph = class {
|
|
|
609
577
|
}
|
|
610
578
|
};
|
|
611
579
|
|
|
612
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
613
581
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
614
582
|
var UpdateMode;
|
|
615
583
|
(function(UpdateMode2) {
|
|
@@ -617,13 +585,13 @@ var UpdateMode;
|
|
|
617
585
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
618
586
|
})(UpdateMode || (UpdateMode = {}));
|
|
619
587
|
|
|
620
|
-
// bazel-out/
|
|
588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
621
589
|
import ts9 from "typescript";
|
|
622
590
|
|
|
623
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
624
592
|
import ts6 from "typescript";
|
|
625
593
|
|
|
626
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
627
595
|
var NgExtension = Symbol("NgExtension");
|
|
628
596
|
function isExtended(sf) {
|
|
629
597
|
return sf[NgExtension] !== void 0;
|
|
@@ -683,7 +651,7 @@ function retagTsFile(sf) {
|
|
|
683
651
|
}
|
|
684
652
|
}
|
|
685
653
|
|
|
686
|
-
// bazel-out/
|
|
654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
687
655
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
688
656
|
function makeShimFileName(fileName, suffix) {
|
|
689
657
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -698,7 +666,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
698
666
|
return moduleName;
|
|
699
667
|
}
|
|
700
668
|
|
|
701
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
702
670
|
var ShimAdapter = class {
|
|
703
671
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
704
672
|
this.delegate = delegate;
|
|
@@ -793,7 +761,7 @@ var ShimAdapter = class {
|
|
|
793
761
|
}
|
|
794
762
|
};
|
|
795
763
|
|
|
796
|
-
// bazel-out/
|
|
764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
797
765
|
import ts7 from "typescript";
|
|
798
766
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
799
767
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -953,7 +921,7 @@ function updateInitializers(stmt, update) {
|
|
|
953
921
|
return ts7.factory.updateVariableStatement(stmt, ts7.getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
|
|
954
922
|
}
|
|
955
923
|
|
|
956
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
957
925
|
var ShimReferenceTagger = class {
|
|
958
926
|
constructor(shimExtensions) {
|
|
959
927
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -987,7 +955,7 @@ var ShimReferenceTagger = class {
|
|
|
987
955
|
}
|
|
988
956
|
};
|
|
989
957
|
|
|
990
|
-
// bazel-out/
|
|
958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
991
959
|
import ts8 from "typescript";
|
|
992
960
|
var SummaryGenerator = class {
|
|
993
961
|
constructor() {
|
|
@@ -1028,7 +996,7 @@ function isExported2(decl) {
|
|
|
1028
996
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1029
997
|
}
|
|
1030
998
|
|
|
1031
|
-
// bazel-out/
|
|
999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1032
1000
|
var DelegatingCompilerHost = class {
|
|
1033
1001
|
constructor(delegate) {
|
|
1034
1002
|
this.delegate = delegate;
|
|
@@ -1139,7 +1107,7 @@ var TsCreateProgramDriver = class {
|
|
|
1139
1107
|
}
|
|
1140
1108
|
};
|
|
1141
1109
|
|
|
1142
|
-
// bazel-out/
|
|
1110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1143
1111
|
var FileDependencyGraph = class {
|
|
1144
1112
|
constructor() {
|
|
1145
1113
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1206,7 +1174,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1206
1174
|
return false;
|
|
1207
1175
|
}
|
|
1208
1176
|
|
|
1209
|
-
// bazel-out/
|
|
1177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1210
1178
|
var IncrementalStateKind;
|
|
1211
1179
|
(function(IncrementalStateKind2) {
|
|
1212
1180
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1214,7 +1182,7 @@ var IncrementalStateKind;
|
|
|
1214
1182
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1215
1183
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1216
1184
|
|
|
1217
|
-
// bazel-out/
|
|
1185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1218
1186
|
var PhaseKind;
|
|
1219
1187
|
(function(PhaseKind2) {
|
|
1220
1188
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1415,7 +1383,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1415
1383
|
}
|
|
1416
1384
|
}
|
|
1417
1385
|
|
|
1418
|
-
// bazel-out/
|
|
1386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1419
1387
|
var TrackedIncrementalBuildStrategy = class {
|
|
1420
1388
|
constructor() {
|
|
1421
1389
|
this.state = null;
|
|
@@ -1451,7 +1419,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1451
1419
|
};
|
|
1452
1420
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1453
1421
|
|
|
1454
|
-
// bazel-out/
|
|
1422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1455
1423
|
var IdentifierKind;
|
|
1456
1424
|
(function(IdentifierKind2) {
|
|
1457
1425
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1469,7 +1437,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1469
1437
|
}
|
|
1470
1438
|
};
|
|
1471
1439
|
|
|
1472
|
-
// bazel-out/
|
|
1440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1473
1441
|
var IndexingContext = class {
|
|
1474
1442
|
constructor() {
|
|
1475
1443
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1479,10 +1447,10 @@ var IndexingContext = class {
|
|
|
1479
1447
|
}
|
|
1480
1448
|
};
|
|
1481
1449
|
|
|
1482
|
-
// bazel-out/
|
|
1450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1483
1451
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1484
1452
|
|
|
1485
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1486
1454
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1487
1455
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1488
1456
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1719,7 +1687,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1719
1687
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1720
1688
|
}
|
|
1721
1689
|
|
|
1722
|
-
// bazel-out/
|
|
1690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1723
1691
|
function generateAnalysis(context) {
|
|
1724
1692
|
const analysis = /* @__PURE__ */ new Map();
|
|
1725
1693
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1755,7 +1723,96 @@ function generateAnalysis(context) {
|
|
|
1755
1723
|
return analysis;
|
|
1756
1724
|
}
|
|
1757
1725
|
|
|
1758
|
-
// bazel-out/
|
|
1726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1727
|
+
var NgModuleIndexImpl = class {
|
|
1728
|
+
constructor(metaReader, localReader) {
|
|
1729
|
+
this.metaReader = metaReader;
|
|
1730
|
+
this.localReader = localReader;
|
|
1731
|
+
this.ngModuleAuthoritativeReference = /* @__PURE__ */ new Map();
|
|
1732
|
+
this.typeToExportingModules = /* @__PURE__ */ new Map();
|
|
1733
|
+
this.indexed = false;
|
|
1734
|
+
}
|
|
1735
|
+
updateWith(cache, key, elem) {
|
|
1736
|
+
if (cache.has(key)) {
|
|
1737
|
+
cache.get(key).add(elem);
|
|
1738
|
+
} else {
|
|
1739
|
+
const set = /* @__PURE__ */ new Set();
|
|
1740
|
+
set.add(elem);
|
|
1741
|
+
cache.set(key, set);
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
index() {
|
|
1745
|
+
const seenTypesWithReexports = /* @__PURE__ */ new Map();
|
|
1746
|
+
const locallyDeclaredDirsAndNgModules = [
|
|
1747
|
+
...this.localReader.getKnown(MetaKind.NgModule),
|
|
1748
|
+
...this.localReader.getKnown(MetaKind.Directive)
|
|
1749
|
+
];
|
|
1750
|
+
for (const decl of locallyDeclaredDirsAndNgModules) {
|
|
1751
|
+
this.indexTrait(new Reference(decl), seenTypesWithReexports);
|
|
1752
|
+
}
|
|
1753
|
+
this.indexed = true;
|
|
1754
|
+
}
|
|
1755
|
+
indexTrait(ref, seenTypesWithReexports) {
|
|
1756
|
+
var _a, _b, _c;
|
|
1757
|
+
if (seenTypesWithReexports.has(ref.node)) {
|
|
1758
|
+
return;
|
|
1759
|
+
}
|
|
1760
|
+
seenTypesWithReexports.set(ref.node, /* @__PURE__ */ new Set());
|
|
1761
|
+
const meta = (_a = this.metaReader.getDirectiveMetadata(ref)) != null ? _a : this.metaReader.getNgModuleMetadata(ref);
|
|
1762
|
+
if (meta === null) {
|
|
1763
|
+
return;
|
|
1764
|
+
}
|
|
1765
|
+
if (meta.imports !== null) {
|
|
1766
|
+
for (const childRef of meta.imports) {
|
|
1767
|
+
this.indexTrait(childRef, seenTypesWithReexports);
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
if (meta.kind === MetaKind.NgModule) {
|
|
1771
|
+
if (!this.ngModuleAuthoritativeReference.has(ref.node)) {
|
|
1772
|
+
this.ngModuleAuthoritativeReference.set(ref.node, ref);
|
|
1773
|
+
}
|
|
1774
|
+
for (const childRef of meta.exports) {
|
|
1775
|
+
this.indexTrait(childRef, seenTypesWithReexports);
|
|
1776
|
+
const childMeta = (_c = (_b = this.metaReader.getDirectiveMetadata(childRef)) != null ? _b : this.metaReader.getPipeMetadata(childRef)) != null ? _c : this.metaReader.getNgModuleMetadata(childRef);
|
|
1777
|
+
if (childMeta === null) {
|
|
1778
|
+
continue;
|
|
1779
|
+
}
|
|
1780
|
+
switch (childMeta.kind) {
|
|
1781
|
+
case MetaKind.Directive:
|
|
1782
|
+
case MetaKind.Pipe:
|
|
1783
|
+
this.updateWith(this.typeToExportingModules, childRef.node, ref.node);
|
|
1784
|
+
this.updateWith(seenTypesWithReexports, ref.node, childRef.node);
|
|
1785
|
+
break;
|
|
1786
|
+
case MetaKind.NgModule:
|
|
1787
|
+
if (seenTypesWithReexports.has(childRef.node)) {
|
|
1788
|
+
for (const reexported of seenTypesWithReexports.get(childRef.node)) {
|
|
1789
|
+
this.updateWith(this.typeToExportingModules, reexported, ref.node);
|
|
1790
|
+
this.updateWith(seenTypesWithReexports, ref.node, reexported);
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
break;
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
getNgModulesExporting(directiveOrPipe) {
|
|
1799
|
+
if (!this.indexed) {
|
|
1800
|
+
this.index();
|
|
1801
|
+
}
|
|
1802
|
+
if (!this.typeToExportingModules.has(directiveOrPipe)) {
|
|
1803
|
+
return [];
|
|
1804
|
+
}
|
|
1805
|
+
const refs = [];
|
|
1806
|
+
for (const ngModule of this.typeToExportingModules.get(directiveOrPipe)) {
|
|
1807
|
+
if (this.ngModuleAuthoritativeReference.has(ngModule)) {
|
|
1808
|
+
refs.push(this.ngModuleAuthoritativeReference.get(ngModule));
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
return refs;
|
|
1812
|
+
}
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1759
1816
|
import ts10 from "typescript";
|
|
1760
1817
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1761
1818
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1901,7 +1958,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1901
1958
|
};
|
|
1902
1959
|
}
|
|
1903
1960
|
|
|
1904
|
-
// bazel-out/
|
|
1961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1905
1962
|
var StandaloneComponentScopeReader = class {
|
|
1906
1963
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1907
1964
|
this.metaReader = metaReader;
|
|
@@ -1979,10 +2036,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1979
2036
|
}
|
|
1980
2037
|
};
|
|
1981
2038
|
|
|
1982
|
-
// bazel-out/
|
|
2039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1983
2040
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1984
2041
|
|
|
1985
|
-
// bazel-out/
|
|
2042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1986
2043
|
import ts11 from "typescript";
|
|
1987
2044
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1988
2045
|
var _a;
|
|
@@ -2089,7 +2146,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2089
2146
|
return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2090
2147
|
}
|
|
2091
2148
|
|
|
2092
|
-
// bazel-out/
|
|
2149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2093
2150
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2094
2151
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2095
2152
|
function getTemplateId(clazz) {
|
|
@@ -2106,11 +2163,11 @@ function allocateTemplateId(sf) {
|
|
|
2106
2163
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2107
2164
|
}
|
|
2108
2165
|
|
|
2109
|
-
// bazel-out/
|
|
2166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2110
2167
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2111
2168
|
import ts13 from "typescript";
|
|
2112
2169
|
|
|
2113
|
-
// bazel-out/
|
|
2170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2114
2171
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2115
2172
|
import ts12 from "typescript";
|
|
2116
2173
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2240,7 +2297,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2240
2297
|
}) || false;
|
|
2241
2298
|
}
|
|
2242
2299
|
|
|
2243
|
-
// bazel-out/
|
|
2300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2244
2301
|
var CompletionEngine = class {
|
|
2245
2302
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2246
2303
|
this.tcb = tcb;
|
|
@@ -2397,10 +2454,10 @@ var CompletionEngine = class {
|
|
|
2397
2454
|
}
|
|
2398
2455
|
};
|
|
2399
2456
|
|
|
2400
|
-
// bazel-out/
|
|
2457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2401
2458
|
import ts27 from "typescript";
|
|
2402
2459
|
|
|
2403
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2404
2461
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2405
2462
|
import ts14 from "typescript";
|
|
2406
2463
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2453,11 +2510,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2453
2510
|
}
|
|
2454
2511
|
};
|
|
2455
2512
|
|
|
2456
|
-
// bazel-out/
|
|
2513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2457
2514
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2458
2515
|
import ts20 from "typescript";
|
|
2459
2516
|
|
|
2460
|
-
// bazel-out/
|
|
2517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2461
2518
|
import ts15 from "typescript";
|
|
2462
2519
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2463
2520
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2531,16 +2588,16 @@ function isAccessExpression(node) {
|
|
|
2531
2588
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2532
2589
|
}
|
|
2533
2590
|
|
|
2534
|
-
// bazel-out/
|
|
2591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2535
2592
|
import ts19 from "typescript";
|
|
2536
2593
|
|
|
2537
|
-
// bazel-out/
|
|
2594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2538
2595
|
import ts18 from "typescript";
|
|
2539
2596
|
|
|
2540
|
-
// bazel-out/
|
|
2597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2541
2598
|
import ts17 from "typescript";
|
|
2542
2599
|
|
|
2543
|
-
// bazel-out/
|
|
2600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2544
2601
|
import ts16 from "typescript";
|
|
2545
2602
|
var INELIGIBLE = {};
|
|
2546
2603
|
function canEmitType(type, canEmit) {
|
|
@@ -2615,7 +2672,7 @@ var TypeEmitter = class {
|
|
|
2615
2672
|
}
|
|
2616
2673
|
};
|
|
2617
2674
|
|
|
2618
|
-
// bazel-out/
|
|
2675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2619
2676
|
var TypeParameterEmitter = class {
|
|
2620
2677
|
constructor(typeParameters, reflector) {
|
|
2621
2678
|
this.typeParameters = typeParameters;
|
|
@@ -2692,7 +2749,7 @@ var TypeParameterEmitter = class {
|
|
|
2692
2749
|
}
|
|
2693
2750
|
};
|
|
2694
2751
|
|
|
2695
|
-
// bazel-out/
|
|
2752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2696
2753
|
var TcbInliningRequirement;
|
|
2697
2754
|
(function(TcbInliningRequirement2) {
|
|
2698
2755
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2772,7 +2829,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2772
2829
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2773
2830
|
}
|
|
2774
2831
|
|
|
2775
|
-
// bazel-out/
|
|
2832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2776
2833
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2777
2834
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2778
2835
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2885,7 +2942,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2885
2942
|
});
|
|
2886
2943
|
}
|
|
2887
2944
|
|
|
2888
|
-
// bazel-out/
|
|
2945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2889
2946
|
var Environment = class {
|
|
2890
2947
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2891
2948
|
this.config = config;
|
|
@@ -2977,7 +3034,7 @@ var Environment = class {
|
|
|
2977
3034
|
}
|
|
2978
3035
|
};
|
|
2979
3036
|
|
|
2980
|
-
// bazel-out/
|
|
3037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2981
3038
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2982
3039
|
import ts21 from "typescript";
|
|
2983
3040
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3110,7 +3167,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3110
3167
|
};
|
|
3111
3168
|
}
|
|
3112
3169
|
|
|
3113
|
-
// bazel-out/
|
|
3170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3114
3171
|
import ts22 from "typescript";
|
|
3115
3172
|
var TypeCheckShimGenerator = class {
|
|
3116
3173
|
constructor() {
|
|
@@ -3128,11 +3185,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3128
3185
|
}
|
|
3129
3186
|
};
|
|
3130
3187
|
|
|
3131
|
-
// bazel-out/
|
|
3188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3132
3189
|
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";
|
|
3133
3190
|
import ts25 from "typescript";
|
|
3134
3191
|
|
|
3135
|
-
// bazel-out/
|
|
3192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3136
3193
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3137
3194
|
import ts23 from "typescript";
|
|
3138
3195
|
function wrapForDiagnostics(expr) {
|
|
@@ -3178,7 +3235,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3178
3235
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3179
3236
|
}
|
|
3180
3237
|
|
|
3181
|
-
// bazel-out/
|
|
3238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3182
3239
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3183
3240
|
import ts24 from "typescript";
|
|
3184
3241
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3508,7 +3565,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3508
3565
|
};
|
|
3509
3566
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3510
3567
|
|
|
3511
|
-
// bazel-out/
|
|
3568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3512
3569
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3513
3570
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3514
3571
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3532,7 +3589,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3532
3589
|
}
|
|
3533
3590
|
};
|
|
3534
3591
|
|
|
3535
|
-
// bazel-out/
|
|
3592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3536
3593
|
var TcbGenericContextBehavior;
|
|
3537
3594
|
(function(TcbGenericContextBehavior2) {
|
|
3538
3595
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4635,7 +4692,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4635
4692
|
}
|
|
4636
4693
|
};
|
|
4637
4694
|
|
|
4638
|
-
// bazel-out/
|
|
4695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4639
4696
|
import ts26 from "typescript";
|
|
4640
4697
|
var TypeCheckFile = class extends Environment {
|
|
4641
4698
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4671,7 +4728,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4671
4728
|
}
|
|
4672
4729
|
};
|
|
4673
4730
|
|
|
4674
|
-
// bazel-out/
|
|
4731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4675
4732
|
var InliningMode;
|
|
4676
4733
|
(function(InliningMode2) {
|
|
4677
4734
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4909,10 +4966,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4909
4966
|
return splits;
|
|
4910
4967
|
}
|
|
4911
4968
|
|
|
4912
|
-
// bazel-out/
|
|
4969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4913
4970
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4914
4971
|
|
|
4915
|
-
// bazel-out/
|
|
4972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4916
4973
|
var LF_CHAR = 10;
|
|
4917
4974
|
var CR_CHAR = 13;
|
|
4918
4975
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4953,7 +5010,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4953
5010
|
return low - 1;
|
|
4954
5011
|
}
|
|
4955
5012
|
|
|
4956
|
-
// bazel-out/
|
|
5013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4957
5014
|
var TemplateSource = class {
|
|
4958
5015
|
constructor(mapping, file) {
|
|
4959
5016
|
this.mapping = mapping;
|
|
@@ -5004,7 +5061,7 @@ var TemplateSourceManager = class {
|
|
|
5004
5061
|
}
|
|
5005
5062
|
};
|
|
5006
5063
|
|
|
5007
|
-
// bazel-out/
|
|
5064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5008
5065
|
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";
|
|
5009
5066
|
import ts28 from "typescript";
|
|
5010
5067
|
var SymbolBuilder = class {
|
|
@@ -5488,10 +5545,10 @@ function sourceSpanEqual(a, b) {
|
|
|
5488
5545
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5489
5546
|
}
|
|
5490
5547
|
|
|
5491
|
-
// bazel-out/
|
|
5548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5492
5549
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5493
5550
|
var TemplateTypeCheckerImpl = class {
|
|
5494
|
-
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
5551
|
+
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
5495
5552
|
this.originalProgram = originalProgram;
|
|
5496
5553
|
this.programDriver = programDriver;
|
|
5497
5554
|
this.typeCheckAdapter = typeCheckAdapter;
|
|
@@ -5502,6 +5559,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5502
5559
|
this.priorBuild = priorBuild;
|
|
5503
5560
|
this.metaReader = metaReader;
|
|
5504
5561
|
this.localMetaReader = localMetaReader;
|
|
5562
|
+
this.ngModuleIndex = ngModuleIndex;
|
|
5505
5563
|
this.componentScopeReader = componentScopeReader;
|
|
5506
5564
|
this.typeCheckScopeRegistry = typeCheckScopeRegistry;
|
|
5507
5565
|
this.perf = perf;
|
|
@@ -5519,6 +5577,14 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5519
5577
|
}
|
|
5520
5578
|
return data.template;
|
|
5521
5579
|
}
|
|
5580
|
+
getUsedDirectives(component) {
|
|
5581
|
+
var _a;
|
|
5582
|
+
return ((_a = this.getLatestComponentState(component).data) == null ? void 0 : _a.boundTarget.getUsedDirectives()) || null;
|
|
5583
|
+
}
|
|
5584
|
+
getUsedPipes(component) {
|
|
5585
|
+
var _a;
|
|
5586
|
+
return ((_a = this.getLatestComponentState(component).data) == null ? void 0 : _a.boundTarget.getUsedPipes()) || null;
|
|
5587
|
+
}
|
|
5522
5588
|
getLatestComponentState(component) {
|
|
5523
5589
|
this.ensureShimForComponent(component);
|
|
5524
5590
|
const sf = component.getSourceFile();
|
|
@@ -5888,6 +5954,18 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5888
5954
|
}
|
|
5889
5955
|
return this.typeCheckScopeRegistry.getTypeCheckDirectiveMetadata(new Reference(dir));
|
|
5890
5956
|
}
|
|
5957
|
+
getNgModuleMetadata(module) {
|
|
5958
|
+
if (!isNamedClassDeclaration(module)) {
|
|
5959
|
+
return null;
|
|
5960
|
+
}
|
|
5961
|
+
return this.metaReader.getNgModuleMetadata(new Reference(module));
|
|
5962
|
+
}
|
|
5963
|
+
getPipeMetadata(pipe) {
|
|
5964
|
+
if (!isNamedClassDeclaration(pipe)) {
|
|
5965
|
+
return null;
|
|
5966
|
+
}
|
|
5967
|
+
return this.metaReader.getPipeMetadata(new Reference(pipe));
|
|
5968
|
+
}
|
|
5891
5969
|
getPotentialElementTags(component) {
|
|
5892
5970
|
if (this.elementTagCache.has(component)) {
|
|
5893
5971
|
return this.elementTagCache.get(component);
|
|
@@ -5957,32 +6035,46 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5957
6035
|
}
|
|
5958
6036
|
return scope.ngModule;
|
|
5959
6037
|
}
|
|
5960
|
-
|
|
6038
|
+
emit(kind, refTo, inContext) {
|
|
6039
|
+
const emittedRef = this.refEmitter.emit(refTo, inContext.getSourceFile());
|
|
6040
|
+
if (emittedRef.kind === 1) {
|
|
6041
|
+
return null;
|
|
6042
|
+
}
|
|
6043
|
+
const emitted = emittedRef.expression;
|
|
6044
|
+
if (emitted instanceof WrappedNodeExpr) {
|
|
6045
|
+
return { kind, symbolName: emitted.node.text };
|
|
6046
|
+
} else if (emitted instanceof ExternalExpr2 && emitted.value.moduleName !== null && emitted.value.name !== null) {
|
|
6047
|
+
return {
|
|
6048
|
+
kind,
|
|
6049
|
+
moduleSpecifier: emitted.value.moduleName,
|
|
6050
|
+
symbolName: emitted.value.name
|
|
6051
|
+
};
|
|
6052
|
+
}
|
|
6053
|
+
return null;
|
|
6054
|
+
}
|
|
6055
|
+
getPotentialImportsFor(toImport, inContext, importMode) {
|
|
5961
6056
|
var _a;
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
const kind = ngModuleRef ? PotentialImportKind.NgModule : PotentialImportKind.Standalone;
|
|
5967
|
-
const importTarget = ngModuleRef != null ? ngModuleRef : toImport.ref;
|
|
5968
|
-
const emittedRef = this.refEmitter.emit(importTarget, inContext.getSourceFile());
|
|
5969
|
-
if (emittedRef.kind === 1)
|
|
5970
|
-
return [];
|
|
5971
|
-
const emittedExpression = emittedRef.expression;
|
|
5972
|
-
if (emittedExpression instanceof WrappedNodeExpr) {
|
|
5973
|
-
return [{ kind, symbolName: emittedExpression.node.getText() }];
|
|
6057
|
+
const imports = [];
|
|
6058
|
+
const meta = (_a = this.metaReader.getDirectiveMetadata(toImport)) != null ? _a : this.metaReader.getPipeMetadata(toImport);
|
|
6059
|
+
if (meta === null) {
|
|
6060
|
+
return imports;
|
|
5974
6061
|
}
|
|
5975
|
-
if (
|
|
5976
|
-
|
|
6062
|
+
if (meta.isStandalone || importMode === PotentialImportMode.ForceDirect) {
|
|
6063
|
+
const emitted = this.emit(PotentialImportKind.Standalone, toImport, inContext);
|
|
6064
|
+
if (emitted !== null) {
|
|
6065
|
+
imports.push(emitted);
|
|
6066
|
+
}
|
|
5977
6067
|
}
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
6068
|
+
const exportingNgModules = this.ngModuleIndex.getNgModulesExporting(meta.ref.node);
|
|
6069
|
+
if (exportingNgModules !== null) {
|
|
6070
|
+
for (const exporter of exportingNgModules) {
|
|
6071
|
+
const emittedRef = this.emit(PotentialImportKind.NgModule, exporter, inContext);
|
|
6072
|
+
if (emittedRef !== null) {
|
|
6073
|
+
imports.push(emittedRef);
|
|
6074
|
+
}
|
|
6075
|
+
}
|
|
6076
|
+
}
|
|
6077
|
+
return imports;
|
|
5986
6078
|
}
|
|
5987
6079
|
getScopeData(component) {
|
|
5988
6080
|
if (this.scopeCache.has(component)) {
|
|
@@ -6138,10 +6230,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6138
6230
|
}
|
|
6139
6231
|
};
|
|
6140
6232
|
|
|
6141
|
-
// bazel-out/
|
|
6233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6142
6234
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6143
6235
|
|
|
6144
|
-
// bazel-out/
|
|
6236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6145
6237
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6146
6238
|
var TemplateCheckWithVisitor = class {
|
|
6147
6239
|
run(ctx, component, template) {
|
|
@@ -6218,7 +6310,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6218
6310
|
}
|
|
6219
6311
|
};
|
|
6220
6312
|
|
|
6221
|
-
// bazel-out/
|
|
6313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6222
6314
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6223
6315
|
constructor() {
|
|
6224
6316
|
super(...arguments);
|
|
@@ -6243,7 +6335,7 @@ var factory = {
|
|
|
6243
6335
|
create: () => new InvalidBananaInBoxCheck()
|
|
6244
6336
|
};
|
|
6245
6337
|
|
|
6246
|
-
// bazel-out/
|
|
6338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6247
6339
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6248
6340
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6249
6341
|
["ngIf", "NgIf"],
|
|
@@ -6288,7 +6380,7 @@ var factory2 = {
|
|
|
6288
6380
|
}
|
|
6289
6381
|
};
|
|
6290
6382
|
|
|
6291
|
-
// bazel-out/
|
|
6383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6292
6384
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6293
6385
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6294
6386
|
constructor() {
|
|
@@ -6321,7 +6413,7 @@ var factory3 = {
|
|
|
6321
6413
|
create: () => new MissingNgForOfLetCheck()
|
|
6322
6414
|
};
|
|
6323
6415
|
|
|
6324
|
-
// bazel-out/
|
|
6416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6325
6417
|
import { Binary } from "@angular/compiler";
|
|
6326
6418
|
import ts29 from "typescript";
|
|
6327
6419
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6366,7 +6458,7 @@ var factory4 = {
|
|
|
6366
6458
|
}
|
|
6367
6459
|
};
|
|
6368
6460
|
|
|
6369
|
-
// bazel-out/
|
|
6461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6370
6462
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6371
6463
|
import ts30 from "typescript";
|
|
6372
6464
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6412,7 +6504,7 @@ var factory5 = {
|
|
|
6412
6504
|
}
|
|
6413
6505
|
};
|
|
6414
6506
|
|
|
6415
|
-
// bazel-out/
|
|
6507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6416
6508
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6417
6509
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6418
6510
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6436,7 +6528,7 @@ var factory6 = {
|
|
|
6436
6528
|
create: () => new SuffixNotSupportedCheck()
|
|
6437
6529
|
};
|
|
6438
6530
|
|
|
6439
|
-
// bazel-out/
|
|
6531
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6440
6532
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6441
6533
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6442
6534
|
constructor() {
|
|
@@ -6475,10 +6567,10 @@ var factory7 = {
|
|
|
6475
6567
|
create: () => new TextAttributeNotBindingSpec()
|
|
6476
6568
|
};
|
|
6477
6569
|
|
|
6478
|
-
// bazel-out/
|
|
6570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6479
6571
|
import ts31 from "typescript";
|
|
6480
6572
|
|
|
6481
|
-
// bazel-out/
|
|
6573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6482
6574
|
var DiagnosticCategoryLabel;
|
|
6483
6575
|
(function(DiagnosticCategoryLabel2) {
|
|
6484
6576
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6486,7 +6578,7 @@ var DiagnosticCategoryLabel;
|
|
|
6486
6578
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6487
6579
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6488
6580
|
|
|
6489
|
-
// bazel-out/
|
|
6581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6490
6582
|
var ExtendedTemplateCheckerImpl = class {
|
|
6491
6583
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6492
6584
|
var _a, _b, _c, _d, _e;
|
|
@@ -6539,7 +6631,7 @@ function assertNever(value) {
|
|
|
6539
6631
|
${value}`);
|
|
6540
6632
|
}
|
|
6541
6633
|
|
|
6542
|
-
// bazel-out/
|
|
6634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6543
6635
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6544
6636
|
factory,
|
|
6545
6637
|
factory4,
|
|
@@ -6550,7 +6642,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6550
6642
|
factory6
|
|
6551
6643
|
];
|
|
6552
6644
|
|
|
6553
|
-
// bazel-out/
|
|
6645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6554
6646
|
var CompilationTicketKind;
|
|
6555
6647
|
(function(CompilationTicketKind2) {
|
|
6556
6648
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7042,6 +7134,7 @@ var NgCompiler = class {
|
|
|
7042
7134
|
const localMetaReader = localMetaRegistry;
|
|
7043
7135
|
const depScopeReader = new MetadataDtsModuleScopeResolver(dtsReader, aliasingHost);
|
|
7044
7136
|
const metaReader = new CompoundMetadataReader([localMetaReader, dtsReader]);
|
|
7137
|
+
const ngModuleIndex = new NgModuleIndexImpl(metaReader, localMetaReader);
|
|
7045
7138
|
const ngModuleScopeRegistry = new LocalModuleScopeRegistry(localMetaReader, metaReader, depScopeReader, refEmitter, aliasingHost);
|
|
7046
7139
|
const standaloneScopeReader = new StandaloneComponentScopeReader(metaReader, ngModuleScopeRegistry, depScopeReader);
|
|
7047
7140
|
const scopeReader = new CompoundComponentScopeReader([ngModuleScopeRegistry, standaloneScopeReader]);
|
|
@@ -7075,7 +7168,7 @@ var NgCompiler = class {
|
|
|
7075
7168
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
7076
7169
|
this.currentProgram = program;
|
|
7077
7170
|
});
|
|
7078
|
-
const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, metaReader, localMetaReader, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
|
|
7171
|
+
const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, metaReader, localMetaReader, ngModuleIndex, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
|
|
7079
7172
|
const extendedTemplateChecker = this.constructionDiagnostics.length === 0 ? new ExtendedTemplateCheckerImpl(templateTypeChecker, checker, ALL_DIAGNOSTIC_FACTORIES, this.options) : null;
|
|
7080
7173
|
return {
|
|
7081
7174
|
isCore,
|
|
@@ -7255,7 +7348,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7255
7348
|
return versions;
|
|
7256
7349
|
}
|
|
7257
7350
|
|
|
7258
|
-
// bazel-out/
|
|
7351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7259
7352
|
import ts33 from "typescript";
|
|
7260
7353
|
var DelegatingCompilerHost2 = class {
|
|
7261
7354
|
constructor(delegate) {
|
|
@@ -7400,7 +7493,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7400
7493
|
}
|
|
7401
7494
|
};
|
|
7402
7495
|
|
|
7403
|
-
// bazel-out/
|
|
7496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7404
7497
|
var NgtscProgram = class {
|
|
7405
7498
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7406
7499
|
this.options = options;
|
|
@@ -7618,15 +7711,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7618
7711
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7619
7712
|
}
|
|
7620
7713
|
|
|
7621
|
-
// bazel-out/
|
|
7714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7622
7715
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7623
7716
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7624
7717
|
}
|
|
7625
7718
|
|
|
7626
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7627
7720
|
import ts36 from "typescript";
|
|
7628
7721
|
|
|
7629
|
-
// bazel-out/
|
|
7722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7630
7723
|
import ts35 from "typescript";
|
|
7631
7724
|
function createMessageDiagnostic(messageText) {
|
|
7632
7725
|
return {
|
|
@@ -7640,7 +7733,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7640
7733
|
};
|
|
7641
7734
|
}
|
|
7642
7735
|
|
|
7643
|
-
// bazel-out/
|
|
7736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7644
7737
|
var defaultFormatHost = {
|
|
7645
7738
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7646
7739
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7830,7 +7923,6 @@ export {
|
|
|
7830
7923
|
untagAllTsFiles,
|
|
7831
7924
|
TsCreateProgramDriver,
|
|
7832
7925
|
PatchedProgramIncrementalBuildStrategy,
|
|
7833
|
-
OptimizeFor,
|
|
7834
7926
|
freshCompilationTicket,
|
|
7835
7927
|
incrementalFromStateTicket,
|
|
7836
7928
|
NgCompiler,
|
|
@@ -7853,4 +7945,4 @@ export {
|
|
|
7853
7945
|
* found in the LICENSE file at https://angular.io/license
|
|
7854
7946
|
*/
|
|
7855
7947
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7856
|
-
//# sourceMappingURL=chunk-
|
|
7948
|
+
//# sourceMappingURL=chunk-SQCRAYKM.js.map
|