@angular/compiler-cli 15.0.1 → 15.0.3
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-XVHC4VAO.js → chunk-4F26FKLW.js} +5 -5
- package/bundles/{chunk-XVHC4VAO.js.map → chunk-4F26FKLW.js.map} +0 -0
- package/bundles/{chunk-22N3RTKA.js → chunk-ALSLKTUB.js} +7 -7
- package/bundles/{chunk-22N3RTKA.js.map → chunk-ALSLKTUB.js.map} +0 -0
- package/bundles/{chunk-VOEFUUJH.js → chunk-DLVFMDSC.js} +2 -2
- package/bundles/{chunk-VOEFUUJH.js.map → chunk-DLVFMDSC.js.map} +0 -0
- package/bundles/{chunk-UUIUKASM.js → chunk-DSVWG4QJ.js} +2 -2
- package/bundles/{chunk-UUIUKASM.js.map → chunk-DSVWG4QJ.js.map} +0 -0
- package/bundles/{chunk-NXGWYLNC.js → chunk-E7DPJFUS.js} +7 -7
- package/bundles/{chunk-NXGWYLNC.js.map → chunk-E7DPJFUS.js.map} +0 -0
- package/bundles/{chunk-C3UJTEDQ.js → chunk-JA6DFT5T.js} +5 -5
- package/bundles/{chunk-C3UJTEDQ.js.map → chunk-JA6DFT5T.js.map} +0 -0
- package/bundles/{chunk-GIA6ASYG.js → chunk-JGWOWDGB.js} +7 -7
- package/bundles/{chunk-GIA6ASYG.js.map → chunk-JGWOWDGB.js.map} +0 -0
- package/bundles/{chunk-NAJWFXRP.js → chunk-MMP4UVEC.js} +40 -40
- package/bundles/{chunk-NAJWFXRP.js.map → chunk-MMP4UVEC.js.map} +0 -0
- package/bundles/{chunk-FPQZA7NP.js → chunk-OFXSI6E3.js} +3 -3
- package/bundles/{chunk-FPQZA7NP.js.map → chunk-OFXSI6E3.js.map} +0 -0
- package/bundles/{chunk-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
- package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
- package/bundles/{chunk-LHZD6YT2.js → chunk-R3UUI3WU.js} +31 -31
- package/bundles/{chunk-LHZD6YT2.js.map → chunk-R3UUI3WU.js.map} +0 -0
- package/bundles/{chunk-RRZN7SI2.js → chunk-SYXTR5F3.js} +71 -71
- package/bundles/{chunk-RRZN7SI2.js.map → chunk-SYXTR5F3.js.map} +0 -0
- package/bundles/{chunk-TZNP5L2W.js → chunk-TOW3O33K.js} +26 -26
- package/bundles/{chunk-TZNP5L2W.js.map → chunk-TOW3O33K.js.map} +0 -0
- package/bundles/{chunk-OKDR75TI.js → chunk-TTNJEW7O.js} +7 -7
- package/bundles/{chunk-OKDR75TI.js.map → chunk-TTNJEW7O.js.map} +0 -0
- package/bundles/{chunk-J6BGLPIM.js → chunk-V4R3BHFY.js} +102 -99
- package/bundles/{chunk-J6BGLPIM.js.map → chunk-V4R3BHFY.js.map} +1 -1
- package/bundles/{chunk-5S4T5JRZ.js → chunk-VF6SIDZK.js} +85 -75
- package/bundles/chunk-VF6SIDZK.js.map +6 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- 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 +6 -6
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
- package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
- package/bundles/chunk-5S4T5JRZ.js.map +0 -6
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
aliasTransformFactory,
|
|
32
32
|
declarationTransformFactory,
|
|
33
33
|
ivyTransformFactory
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VF6SIDZK.js";
|
|
35
35
|
import {
|
|
36
36
|
TypeScriptReflectionHost,
|
|
37
37
|
isNamedClassDeclaration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ALSLKTUB.js";
|
|
39
39
|
import {
|
|
40
40
|
AbsoluteModuleStrategy,
|
|
41
41
|
AliasStrategy,
|
|
@@ -76,12 +76,12 @@ import {
|
|
|
76
76
|
toUnredirectedSourceFile,
|
|
77
77
|
translateExpression,
|
|
78
78
|
translateType
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-TOW3O33K.js";
|
|
80
80
|
import {
|
|
81
81
|
getDecorators,
|
|
82
82
|
getModifiers,
|
|
83
83
|
updateImportDeclaration
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-DSVWG4QJ.js";
|
|
85
85
|
import {
|
|
86
86
|
LogicalFileSystem,
|
|
87
87
|
absoluteFrom,
|
|
@@ -92,16 +92,16 @@ import {
|
|
|
92
92
|
getSourceFileOrError,
|
|
93
93
|
join,
|
|
94
94
|
resolve
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-E7DPJFUS.js";
|
|
96
96
|
import {
|
|
97
97
|
ActivePerfRecorder,
|
|
98
98
|
DelegatingPerfRecorder,
|
|
99
99
|
PerfCheckpoint,
|
|
100
100
|
PerfEvent,
|
|
101
101
|
PerfPhase
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-4F26FKLW.js";
|
|
103
103
|
|
|
104
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
105
105
|
var DEFAULT_ERROR_CODE = 100;
|
|
106
106
|
var UNKNOWN_ERROR_CODE = 500;
|
|
107
107
|
var SOURCE = "angular";
|
|
@@ -119,7 +119,7 @@ var EmitFlags;
|
|
|
119
119
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
120
120
|
})(EmitFlags || (EmitFlags = {}));
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
123
123
|
import ts from "typescript";
|
|
124
124
|
var wrapHostForTest = null;
|
|
125
125
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -129,28 +129,28 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
129
129
|
return tsHost;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
133
133
|
var OptimizeFor;
|
|
134
134
|
(function(OptimizeFor2) {
|
|
135
135
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
136
136
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
137
137
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
138
138
|
|
|
139
|
-
// bazel-out/
|
|
139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
140
140
|
var CompletionKind;
|
|
141
141
|
(function(CompletionKind2) {
|
|
142
142
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
143
143
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
144
144
|
})(CompletionKind || (CompletionKind = {}));
|
|
145
145
|
|
|
146
|
-
// bazel-out/
|
|
146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
147
147
|
var PotentialImportKind;
|
|
148
148
|
(function(PotentialImportKind2) {
|
|
149
149
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
150
150
|
PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
|
|
151
151
|
})(PotentialImportKind || (PotentialImportKind = {}));
|
|
152
152
|
|
|
153
|
-
// bazel-out/
|
|
153
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
154
154
|
var SymbolKind;
|
|
155
155
|
(function(SymbolKind2) {
|
|
156
156
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -166,11 +166,11 @@ var SymbolKind;
|
|
|
166
166
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
167
167
|
})(SymbolKind || (SymbolKind = {}));
|
|
168
168
|
|
|
169
|
-
// bazel-out/
|
|
169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
170
170
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
171
171
|
import ts34 from "typescript";
|
|
172
172
|
|
|
173
|
-
// bazel-out/
|
|
173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
174
174
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
175
175
|
import * as path from "path";
|
|
176
176
|
function i18nGetExtension(formatName) {
|
|
@@ -221,10 +221,10 @@ function getPathNormalizer(basePath) {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
225
225
|
import ts2 from "typescript";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
228
228
|
function toNumbers(value) {
|
|
229
229
|
const suffixIndex = value.lastIndexOf("-");
|
|
230
230
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -259,7 +259,7 @@ function compareVersions(v1, v2) {
|
|
|
259
259
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
263
263
|
var MIN_TS_VERSION = "4.8.2";
|
|
264
264
|
var MAX_TS_VERSION = "4.9.0";
|
|
265
265
|
var tsVersion = ts2.version;
|
|
@@ -272,10 +272,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
272
272
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
// bazel-out/
|
|
275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
276
276
|
import ts32 from "typescript";
|
|
277
277
|
|
|
278
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
279
279
|
var CycleAnalyzer = class {
|
|
280
280
|
constructor(importGraph) {
|
|
281
281
|
this.importGraph = importGraph;
|
|
@@ -346,7 +346,7 @@ var Cycle = class {
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
|
|
349
|
-
// bazel-out/
|
|
349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
350
350
|
import ts3 from "typescript";
|
|
351
351
|
var ImportGraph = class {
|
|
352
352
|
constructor(checker, perf) {
|
|
@@ -438,7 +438,7 @@ var Found = class {
|
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
|
|
441
|
-
// bazel-out/
|
|
441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
442
442
|
import ts4 from "typescript";
|
|
443
443
|
var FlatIndexGenerator = class {
|
|
444
444
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -463,7 +463,7 @@ export * from '${relativeEntryPoint}';
|
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
|
|
466
|
-
// bazel-out/
|
|
466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
467
467
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
468
468
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
469
469
|
let resolvedEntryPoint = null;
|
|
@@ -479,7 +479,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
479
479
|
return resolvedEntryPoint;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
// bazel-out/
|
|
482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
483
483
|
import ts5 from "typescript";
|
|
484
484
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
485
485
|
const diagnostics = [];
|
|
@@ -559,7 +559,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
// bazel-out/
|
|
562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
563
563
|
var ReferenceGraph = class {
|
|
564
564
|
constructor() {
|
|
565
565
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -613,7 +613,7 @@ var ReferenceGraph = class {
|
|
|
613
613
|
}
|
|
614
614
|
};
|
|
615
615
|
|
|
616
|
-
// bazel-out/
|
|
616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
617
617
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
618
618
|
var UpdateMode;
|
|
619
619
|
(function(UpdateMode2) {
|
|
@@ -621,13 +621,13 @@ var UpdateMode;
|
|
|
621
621
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
622
622
|
})(UpdateMode || (UpdateMode = {}));
|
|
623
623
|
|
|
624
|
-
// bazel-out/
|
|
624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
625
625
|
import ts9 from "typescript";
|
|
626
626
|
|
|
627
|
-
// bazel-out/
|
|
627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
628
628
|
import ts6 from "typescript";
|
|
629
629
|
|
|
630
|
-
// bazel-out/
|
|
630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
631
631
|
var NgExtension = Symbol("NgExtension");
|
|
632
632
|
function isExtended(sf) {
|
|
633
633
|
return sf[NgExtension] !== void 0;
|
|
@@ -687,7 +687,7 @@ function retagTsFile(sf) {
|
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
|
|
690
|
-
// bazel-out/
|
|
690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
691
691
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
692
692
|
function makeShimFileName(fileName, suffix) {
|
|
693
693
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -702,7 +702,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
702
702
|
return moduleName;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
// bazel-out/
|
|
705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
706
706
|
var ShimAdapter = class {
|
|
707
707
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
708
708
|
this.delegate = delegate;
|
|
@@ -797,7 +797,7 @@ var ShimAdapter = class {
|
|
|
797
797
|
}
|
|
798
798
|
};
|
|
799
799
|
|
|
800
|
-
// bazel-out/
|
|
800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
801
801
|
import ts7 from "typescript";
|
|
802
802
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
803
803
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -957,7 +957,7 @@ function updateInitializers(stmt, update) {
|
|
|
957
957
|
return ts7.factory.updateVariableStatement(stmt, 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)))));
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
// bazel-out/
|
|
960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
961
961
|
var ShimReferenceTagger = class {
|
|
962
962
|
constructor(shimExtensions) {
|
|
963
963
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -991,7 +991,7 @@ var ShimReferenceTagger = class {
|
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
|
|
994
|
-
// bazel-out/
|
|
994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
995
995
|
import ts8 from "typescript";
|
|
996
996
|
var SummaryGenerator = class {
|
|
997
997
|
constructor() {
|
|
@@ -1032,7 +1032,7 @@ function isExported2(decl) {
|
|
|
1032
1032
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
|
-
// bazel-out/
|
|
1035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1036
1036
|
var DelegatingCompilerHost = class {
|
|
1037
1037
|
constructor(delegate) {
|
|
1038
1038
|
this.delegate = delegate;
|
|
@@ -1143,7 +1143,7 @@ var TsCreateProgramDriver = class {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
1145
|
|
|
1146
|
-
// bazel-out/
|
|
1146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1147
1147
|
var FileDependencyGraph = class {
|
|
1148
1148
|
constructor() {
|
|
1149
1149
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1210,7 +1210,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1210
1210
|
return false;
|
|
1211
1211
|
}
|
|
1212
1212
|
|
|
1213
|
-
// bazel-out/
|
|
1213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1214
1214
|
var IncrementalStateKind;
|
|
1215
1215
|
(function(IncrementalStateKind2) {
|
|
1216
1216
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1218,7 +1218,7 @@ var IncrementalStateKind;
|
|
|
1218
1218
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1219
1219
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1220
1220
|
|
|
1221
|
-
// bazel-out/
|
|
1221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1222
1222
|
var PhaseKind;
|
|
1223
1223
|
(function(PhaseKind2) {
|
|
1224
1224
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1419,7 +1419,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
-
// bazel-out/
|
|
1422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1423
1423
|
var TrackedIncrementalBuildStrategy = class {
|
|
1424
1424
|
constructor() {
|
|
1425
1425
|
this.state = null;
|
|
@@ -1455,7 +1455,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1455
1455
|
};
|
|
1456
1456
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1457
1457
|
|
|
1458
|
-
// bazel-out/
|
|
1458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1459
1459
|
var IdentifierKind;
|
|
1460
1460
|
(function(IdentifierKind2) {
|
|
1461
1461
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1473,7 +1473,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
1475
|
|
|
1476
|
-
// bazel-out/
|
|
1476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1477
1477
|
var IndexingContext = class {
|
|
1478
1478
|
constructor() {
|
|
1479
1479
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1483,10 +1483,10 @@ var IndexingContext = class {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
1485
|
|
|
1486
|
-
// bazel-out/
|
|
1486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1487
1487
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1488
1488
|
|
|
1489
|
-
// bazel-out/
|
|
1489
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1490
1490
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1491
1491
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1492
1492
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1723,7 +1723,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1723
1723
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1724
1724
|
}
|
|
1725
1725
|
|
|
1726
|
-
// bazel-out/
|
|
1726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1727
1727
|
function generateAnalysis(context) {
|
|
1728
1728
|
const analysis = /* @__PURE__ */ new Map();
|
|
1729
1729
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1759,7 +1759,7 @@ function generateAnalysis(context) {
|
|
|
1759
1759
|
return analysis;
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
// bazel-out/
|
|
1762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1763
1763
|
import ts10 from "typescript";
|
|
1764
1764
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1765
1765
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1905,7 +1905,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1905
1905
|
};
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
-
// bazel-out/
|
|
1908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1909
1909
|
var StandaloneComponentScopeReader = class {
|
|
1910
1910
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1911
1911
|
this.metaReader = metaReader;
|
|
@@ -1983,10 +1983,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
1985
|
|
|
1986
|
-
// bazel-out/
|
|
1986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1987
1987
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1988
1988
|
|
|
1989
|
-
// bazel-out/
|
|
1989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1990
1990
|
import ts11 from "typescript";
|
|
1991
1991
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1992
1992
|
var _a;
|
|
@@ -2093,7 +2093,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2093
2093
|
return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
2096
|
-
// bazel-out/
|
|
2096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2097
2097
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2098
2098
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2099
2099
|
function getTemplateId(clazz) {
|
|
@@ -2110,11 +2110,11 @@ function allocateTemplateId(sf) {
|
|
|
2110
2110
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2111
2111
|
}
|
|
2112
2112
|
|
|
2113
|
-
// bazel-out/
|
|
2113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2114
2114
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2115
2115
|
import ts13 from "typescript";
|
|
2116
2116
|
|
|
2117
|
-
// bazel-out/
|
|
2117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2118
2118
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2119
2119
|
import ts12 from "typescript";
|
|
2120
2120
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2244,7 +2244,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2244
2244
|
}) || false;
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
|
-
// bazel-out/
|
|
2247
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2248
2248
|
var CompletionEngine = class {
|
|
2249
2249
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2250
2250
|
this.tcb = tcb;
|
|
@@ -2401,10 +2401,10 @@ var CompletionEngine = class {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
};
|
|
2403
2403
|
|
|
2404
|
-
// bazel-out/
|
|
2404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2405
2405
|
import ts27 from "typescript";
|
|
2406
2406
|
|
|
2407
|
-
// bazel-out/
|
|
2407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2408
2408
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2409
2409
|
import ts14 from "typescript";
|
|
2410
2410
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2457,11 +2457,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
|
|
2460
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2461
2461
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2462
2462
|
import ts20 from "typescript";
|
|
2463
2463
|
|
|
2464
|
-
// bazel-out/
|
|
2464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2465
2465
|
import ts15 from "typescript";
|
|
2466
2466
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2467
2467
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2535,16 +2535,16 @@ function isAccessExpression(node) {
|
|
|
2535
2535
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2536
2536
|
}
|
|
2537
2537
|
|
|
2538
|
-
// bazel-out/
|
|
2538
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2539
2539
|
import ts19 from "typescript";
|
|
2540
2540
|
|
|
2541
|
-
// bazel-out/
|
|
2541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2542
2542
|
import ts18 from "typescript";
|
|
2543
2543
|
|
|
2544
|
-
// bazel-out/
|
|
2544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2545
2545
|
import ts17 from "typescript";
|
|
2546
2546
|
|
|
2547
|
-
// bazel-out/
|
|
2547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2548
2548
|
import ts16 from "typescript";
|
|
2549
2549
|
var INELIGIBLE = {};
|
|
2550
2550
|
function canEmitType(type, canEmit) {
|
|
@@ -2619,7 +2619,7 @@ var TypeEmitter = class {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
};
|
|
2621
2621
|
|
|
2622
|
-
// bazel-out/
|
|
2622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2623
2623
|
var TypeParameterEmitter = class {
|
|
2624
2624
|
constructor(typeParameters, reflector) {
|
|
2625
2625
|
this.typeParameters = typeParameters;
|
|
@@ -2696,7 +2696,7 @@ var TypeParameterEmitter = class {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
};
|
|
2698
2698
|
|
|
2699
|
-
// bazel-out/
|
|
2699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2700
2700
|
var TcbInliningRequirement;
|
|
2701
2701
|
(function(TcbInliningRequirement2) {
|
|
2702
2702
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2776,7 +2776,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2776
2776
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2777
2777
|
}
|
|
2778
2778
|
|
|
2779
|
-
// bazel-out/
|
|
2779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2780
2780
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2781
2781
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2782
2782
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2891,7 +2891,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2891
2891
|
});
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
|
-
// bazel-out/
|
|
2894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2895
2895
|
var Environment = class {
|
|
2896
2896
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2897
2897
|
this.config = config;
|
|
@@ -2983,7 +2983,7 @@ var Environment = class {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
};
|
|
2985
2985
|
|
|
2986
|
-
// bazel-out/
|
|
2986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2987
2987
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2988
2988
|
import ts21 from "typescript";
|
|
2989
2989
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3116,7 +3116,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3116
3116
|
};
|
|
3117
3117
|
}
|
|
3118
3118
|
|
|
3119
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3120
3120
|
import ts22 from "typescript";
|
|
3121
3121
|
var TypeCheckShimGenerator = class {
|
|
3122
3122
|
constructor() {
|
|
@@ -3134,11 +3134,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
};
|
|
3136
3136
|
|
|
3137
|
-
// bazel-out/
|
|
3137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3138
3138
|
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";
|
|
3139
3139
|
import ts25 from "typescript";
|
|
3140
3140
|
|
|
3141
|
-
// bazel-out/
|
|
3141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3142
3142
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3143
3143
|
import ts23 from "typescript";
|
|
3144
3144
|
function wrapForDiagnostics(expr) {
|
|
@@ -3184,7 +3184,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3184
3184
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3185
3185
|
}
|
|
3186
3186
|
|
|
3187
|
-
// bazel-out/
|
|
3187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3188
3188
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3189
3189
|
import ts24 from "typescript";
|
|
3190
3190
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3514,7 +3514,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3514
3514
|
};
|
|
3515
3515
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3516
3516
|
|
|
3517
|
-
// bazel-out/
|
|
3517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3518
3518
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3519
3519
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3520
3520
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3538,7 +3538,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3538
3538
|
}
|
|
3539
3539
|
};
|
|
3540
3540
|
|
|
3541
|
-
// bazel-out/
|
|
3541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3542
3542
|
var TcbGenericContextBehavior;
|
|
3543
3543
|
(function(TcbGenericContextBehavior2) {
|
|
3544
3544
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4645,7 +4645,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
4647
|
|
|
4648
|
-
// bazel-out/
|
|
4648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4649
4649
|
import ts26 from "typescript";
|
|
4650
4650
|
var TypeCheckFile = class extends Environment {
|
|
4651
4651
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4681,7 +4681,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4681
4681
|
}
|
|
4682
4682
|
};
|
|
4683
4683
|
|
|
4684
|
-
// bazel-out/
|
|
4684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4685
4685
|
var InliningMode;
|
|
4686
4686
|
(function(InliningMode2) {
|
|
4687
4687
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4919,10 +4919,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4919
4919
|
return splits;
|
|
4920
4920
|
}
|
|
4921
4921
|
|
|
4922
|
-
// bazel-out/
|
|
4922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4923
4923
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4924
4924
|
|
|
4925
|
-
// bazel-out/
|
|
4925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4926
4926
|
var LF_CHAR = 10;
|
|
4927
4927
|
var CR_CHAR = 13;
|
|
4928
4928
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4963,7 +4963,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4963
4963
|
return low - 1;
|
|
4964
4964
|
}
|
|
4965
4965
|
|
|
4966
|
-
// bazel-out/
|
|
4966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4967
4967
|
var TemplateSource = class {
|
|
4968
4968
|
constructor(mapping, file) {
|
|
4969
4969
|
this.mapping = mapping;
|
|
@@ -5014,7 +5014,7 @@ var TemplateSourceManager = class {
|
|
|
5014
5014
|
}
|
|
5015
5015
|
};
|
|
5016
5016
|
|
|
5017
|
-
// bazel-out/
|
|
5017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5018
5018
|
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";
|
|
5019
5019
|
import ts28 from "typescript";
|
|
5020
5020
|
var SymbolBuilder = class {
|
|
@@ -5129,7 +5129,7 @@ var SymbolBuilder = class {
|
|
|
5129
5129
|
tsSymbol: symbol.tsSymbol,
|
|
5130
5130
|
exposedInputs: current.inputs,
|
|
5131
5131
|
exposedOutputs: current.outputs,
|
|
5132
|
-
selector: meta.selector
|
|
5132
|
+
selector: meta.selector,
|
|
5133
5133
|
isComponent: meta.isComponent,
|
|
5134
5134
|
ngModule: this.getDirectiveModule(current.directive.node),
|
|
5135
5135
|
kind: SymbolKind.Directive,
|
|
@@ -5498,7 +5498,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5498
5498
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5499
5499
|
}
|
|
5500
5500
|
|
|
5501
|
-
// bazel-out/
|
|
5501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5502
5502
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5503
5503
|
var TemplateTypeCheckerImpl = class {
|
|
5504
5504
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5895,6 +5895,9 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5895
5895
|
const scope = this.getScopeData(component);
|
|
5896
5896
|
if (scope !== null) {
|
|
5897
5897
|
for (const directive of scope.directives) {
|
|
5898
|
+
if (directive.selector === null) {
|
|
5899
|
+
continue;
|
|
5900
|
+
}
|
|
5898
5901
|
for (const selector of CssSelector.parse(directive.selector)) {
|
|
5899
5902
|
if (selector.element === null || tagMap.has(selector.element)) {
|
|
5900
5903
|
continue;
|
|
@@ -6118,10 +6121,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6118
6121
|
}
|
|
6119
6122
|
};
|
|
6120
6123
|
|
|
6121
|
-
// bazel-out/
|
|
6124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6122
6125
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6123
6126
|
|
|
6124
|
-
// bazel-out/
|
|
6127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6125
6128
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6126
6129
|
var TemplateCheckWithVisitor = class {
|
|
6127
6130
|
run(ctx, component, template) {
|
|
@@ -6198,7 +6201,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6198
6201
|
}
|
|
6199
6202
|
};
|
|
6200
6203
|
|
|
6201
|
-
// bazel-out/
|
|
6204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6202
6205
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6203
6206
|
constructor() {
|
|
6204
6207
|
super(...arguments);
|
|
@@ -6223,7 +6226,7 @@ var factory = {
|
|
|
6223
6226
|
create: () => new InvalidBananaInBoxCheck()
|
|
6224
6227
|
};
|
|
6225
6228
|
|
|
6226
|
-
// bazel-out/
|
|
6229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6227
6230
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6228
6231
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6229
6232
|
["ngIf", "NgIf"],
|
|
@@ -6268,7 +6271,7 @@ var factory2 = {
|
|
|
6268
6271
|
}
|
|
6269
6272
|
};
|
|
6270
6273
|
|
|
6271
|
-
// bazel-out/
|
|
6274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6272
6275
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6273
6276
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6274
6277
|
constructor() {
|
|
@@ -6301,7 +6304,7 @@ var factory3 = {
|
|
|
6301
6304
|
create: () => new MissingNgForOfLetCheck()
|
|
6302
6305
|
};
|
|
6303
6306
|
|
|
6304
|
-
// bazel-out/
|
|
6307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6305
6308
|
import { Binary } from "@angular/compiler";
|
|
6306
6309
|
import ts29 from "typescript";
|
|
6307
6310
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6346,7 +6349,7 @@ var factory4 = {
|
|
|
6346
6349
|
}
|
|
6347
6350
|
};
|
|
6348
6351
|
|
|
6349
|
-
// bazel-out/
|
|
6352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6350
6353
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6351
6354
|
import ts30 from "typescript";
|
|
6352
6355
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6392,7 +6395,7 @@ var factory5 = {
|
|
|
6392
6395
|
}
|
|
6393
6396
|
};
|
|
6394
6397
|
|
|
6395
|
-
// bazel-out/
|
|
6398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6396
6399
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6397
6400
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6398
6401
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6416,7 +6419,7 @@ var factory6 = {
|
|
|
6416
6419
|
create: () => new SuffixNotSupportedCheck()
|
|
6417
6420
|
};
|
|
6418
6421
|
|
|
6419
|
-
// bazel-out/
|
|
6422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6420
6423
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6421
6424
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6422
6425
|
constructor() {
|
|
@@ -6455,10 +6458,10 @@ var factory7 = {
|
|
|
6455
6458
|
create: () => new TextAttributeNotBindingSpec()
|
|
6456
6459
|
};
|
|
6457
6460
|
|
|
6458
|
-
// bazel-out/
|
|
6461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6459
6462
|
import ts31 from "typescript";
|
|
6460
6463
|
|
|
6461
|
-
// bazel-out/
|
|
6464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6462
6465
|
var DiagnosticCategoryLabel;
|
|
6463
6466
|
(function(DiagnosticCategoryLabel2) {
|
|
6464
6467
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6466,7 +6469,7 @@ var DiagnosticCategoryLabel;
|
|
|
6466
6469
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6467
6470
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6468
6471
|
|
|
6469
|
-
// bazel-out/
|
|
6472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6470
6473
|
var ExtendedTemplateCheckerImpl = class {
|
|
6471
6474
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6472
6475
|
var _a, _b, _c, _d, _e;
|
|
@@ -6519,7 +6522,7 @@ function assertNever(value) {
|
|
|
6519
6522
|
${value}`);
|
|
6520
6523
|
}
|
|
6521
6524
|
|
|
6522
|
-
// bazel-out/
|
|
6525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6523
6526
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6524
6527
|
factory,
|
|
6525
6528
|
factory4,
|
|
@@ -6530,7 +6533,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6530
6533
|
factory6
|
|
6531
6534
|
];
|
|
6532
6535
|
|
|
6533
|
-
// bazel-out/
|
|
6536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6534
6537
|
var CompilationTicketKind;
|
|
6535
6538
|
(function(CompilationTicketKind2) {
|
|
6536
6539
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7235,7 +7238,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7235
7238
|
return versions;
|
|
7236
7239
|
}
|
|
7237
7240
|
|
|
7238
|
-
// bazel-out/
|
|
7241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7239
7242
|
import ts33 from "typescript";
|
|
7240
7243
|
var DelegatingCompilerHost2 = class {
|
|
7241
7244
|
constructor(delegate) {
|
|
@@ -7380,7 +7383,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7380
7383
|
}
|
|
7381
7384
|
};
|
|
7382
7385
|
|
|
7383
|
-
// bazel-out/
|
|
7386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7384
7387
|
var NgtscProgram = class {
|
|
7385
7388
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7386
7389
|
this.options = options;
|
|
@@ -7598,15 +7601,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7598
7601
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7599
7602
|
}
|
|
7600
7603
|
|
|
7601
|
-
// bazel-out/
|
|
7604
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7602
7605
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7603
7606
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7604
7607
|
}
|
|
7605
7608
|
|
|
7606
|
-
// bazel-out/
|
|
7609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7607
7610
|
import ts36 from "typescript";
|
|
7608
7611
|
|
|
7609
|
-
// bazel-out/
|
|
7612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7610
7613
|
import ts35 from "typescript";
|
|
7611
7614
|
function createMessageDiagnostic(messageText) {
|
|
7612
7615
|
return {
|
|
@@ -7620,7 +7623,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7620
7623
|
};
|
|
7621
7624
|
}
|
|
7622
7625
|
|
|
7623
|
-
// bazel-out/
|
|
7626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7624
7627
|
var defaultFormatHost = {
|
|
7625
7628
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7626
7629
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7833,4 +7836,4 @@ export {
|
|
|
7833
7836
|
* found in the LICENSE file at https://angular.io/license
|
|
7834
7837
|
*/
|
|
7835
7838
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7836
|
-
//# sourceMappingURL=chunk-
|
|
7839
|
+
//# sourceMappingURL=chunk-V4R3BHFY.js.map
|