@angular/compiler-cli 15.2.6 → 15.2.7
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-L644G6CJ.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-RVMGEVUM.js → chunk-7GNUPQOI.js} +31 -31
- package/bundles/{chunk-OFPWZYAK.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/{chunk-6MNQICMO.js → chunk-BGY2CNQJ.js} +73 -71
- package/bundles/{chunk-6MNQICMO.js.map → chunk-BGY2CNQJ.js.map} +1 -1
- package/bundles/{chunk-47T3GLS3.js → chunk-E3MCJFSW.js} +114 -99
- package/bundles/chunk-E3MCJFSW.js.map +6 -0
- package/bundles/{chunk-4EAKVGWO.js → chunk-IJECERTO.js} +10 -10
- package/bundles/{chunk-I7N7PLKQ.js → chunk-IYYB2HTK.js} +21 -21
- package/bundles/{chunk-KXJ5LO4I.js → chunk-JEWI23RF.js} +92 -84
- package/bundles/chunk-JEWI23RF.js.map +6 -0
- package/bundles/{chunk-YSDCIO24.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-JADZF6LG.js → chunk-SU3FU3XQ.js} +5 -5
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-FXCJCRLE.js → chunk-TYAEIVDA.js} +40 -40
- package/bundles/{chunk-HK36RNP3.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-UPBLAOWL.js → chunk-ZF3IVDQ2.js} +6 -6
- package/bundles/{chunk-XIHAXCJX.js → chunk-ZV3QKZR5.js} +5 -5
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +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 +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -1
- package/bundles/chunk-47T3GLS3.js.map +0 -6
- package/bundles/chunk-KXJ5LO4I.js.map +0 -6
- /package/bundles/{chunk-L644G6CJ.js.map → chunk-2NLFVEGY.js.map} +0 -0
- /package/bundles/{chunk-RVMGEVUM.js.map → chunk-7GNUPQOI.js.map} +0 -0
- /package/bundles/{chunk-OFPWZYAK.js.map → chunk-B57SP4JB.js.map} +0 -0
- /package/bundles/{chunk-4EAKVGWO.js.map → chunk-IJECERTO.js.map} +0 -0
- /package/bundles/{chunk-I7N7PLKQ.js.map → chunk-IYYB2HTK.js.map} +0 -0
- /package/bundles/{chunk-YSDCIO24.js.map → chunk-K7P4IHT5.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-JADZF6LG.js.map → chunk-SU3FU3XQ.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-FXCJCRLE.js.map → chunk-TYAEIVDA.js.map} +0 -0
- /package/bundles/{chunk-HK36RNP3.js.map → chunk-YZWN2KWE.js.map} +0 -0
- /package/bundles/{chunk-UPBLAOWL.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
- /package/bundles/{chunk-XIHAXCJX.js.map → chunk-ZV3QKZR5.js.map} +0 -0
|
@@ -35,18 +35,18 @@ import {
|
|
|
35
35
|
aliasTransformFactory,
|
|
36
36
|
declarationTransformFactory,
|
|
37
37
|
ivyTransformFactory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JEWI23RF.js";
|
|
39
39
|
import {
|
|
40
40
|
TypeScriptReflectionHost,
|
|
41
41
|
isNamedClassDeclaration
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZF3IVDQ2.js";
|
|
43
43
|
import {
|
|
44
44
|
ImportManager,
|
|
45
45
|
createFunctionDeclaration,
|
|
46
46
|
createParameterDeclaration,
|
|
47
47
|
translateExpression,
|
|
48
48
|
translateType
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IJECERTO.js";
|
|
50
50
|
import {
|
|
51
51
|
AbsoluteModuleStrategy,
|
|
52
52
|
AliasStrategy,
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
ERROR_DETAILS_PAGE_BASE_URL,
|
|
56
56
|
ErrorCode,
|
|
57
57
|
ExtendedTemplateDiagnosticName,
|
|
58
|
+
FatalDiagnosticError,
|
|
58
59
|
ImportFlags,
|
|
59
60
|
LocalIdentifierStrategy,
|
|
60
61
|
LogicalProjectStrategy,
|
|
@@ -84,7 +85,7 @@ import {
|
|
|
84
85
|
relativePathBetween,
|
|
85
86
|
replaceTsWithNgInErrors,
|
|
86
87
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-IYYB2HTK.js";
|
|
88
89
|
import {
|
|
89
90
|
LogicalFileSystem,
|
|
90
91
|
absoluteFrom,
|
|
@@ -95,16 +96,16 @@ import {
|
|
|
95
96
|
getSourceFileOrError,
|
|
96
97
|
join,
|
|
97
98
|
resolve
|
|
98
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-TBUSSXUA.js";
|
|
99
100
|
import {
|
|
100
101
|
ActivePerfRecorder,
|
|
101
102
|
DelegatingPerfRecorder,
|
|
102
103
|
PerfCheckpoint,
|
|
103
104
|
PerfEvent,
|
|
104
105
|
PerfPhase
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-YZWN2KWE.js";
|
|
106
107
|
|
|
107
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
108
109
|
var DEFAULT_ERROR_CODE = 100;
|
|
109
110
|
var UNKNOWN_ERROR_CODE = 500;
|
|
110
111
|
var SOURCE = "angular";
|
|
@@ -122,7 +123,7 @@ var EmitFlags;
|
|
|
122
123
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
123
124
|
})(EmitFlags || (EmitFlags = {}));
|
|
124
125
|
|
|
125
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
126
127
|
import ts from "typescript";
|
|
127
128
|
var wrapHostForTest = null;
|
|
128
129
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -132,11 +133,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
132
133
|
return tsHost;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
136
137
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
137
138
|
import ts34 from "typescript";
|
|
138
139
|
|
|
139
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
140
141
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
141
142
|
import * as path from "path";
|
|
142
143
|
function i18nGetExtension(formatName) {
|
|
@@ -187,10 +188,10 @@ function getPathNormalizer(basePath) {
|
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
190
|
|
|
190
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
191
192
|
import ts2 from "typescript";
|
|
192
193
|
|
|
193
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
194
195
|
function toNumbers(value) {
|
|
195
196
|
const suffixIndex = value.lastIndexOf("-");
|
|
196
197
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -225,7 +226,7 @@ function compareVersions(v1, v2) {
|
|
|
225
226
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
226
227
|
}
|
|
227
228
|
|
|
228
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
229
230
|
var MIN_TS_VERSION = "4.8.2";
|
|
230
231
|
var MAX_TS_VERSION = "5.0.0";
|
|
231
232
|
var tsVersion = ts2.version;
|
|
@@ -238,10 +239,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
238
239
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
239
240
|
}
|
|
240
241
|
|
|
241
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
242
243
|
import ts32 from "typescript";
|
|
243
244
|
|
|
244
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
245
246
|
var CycleAnalyzer = class {
|
|
246
247
|
constructor(importGraph) {
|
|
247
248
|
this.importGraph = importGraph;
|
|
@@ -312,7 +313,7 @@ var Cycle = class {
|
|
|
312
313
|
}
|
|
313
314
|
};
|
|
314
315
|
|
|
315
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
316
317
|
import ts3 from "typescript";
|
|
317
318
|
var ImportGraph = class {
|
|
318
319
|
constructor(checker, perf) {
|
|
@@ -404,7 +405,7 @@ var Found = class {
|
|
|
404
405
|
}
|
|
405
406
|
};
|
|
406
407
|
|
|
407
|
-
// bazel-out/
|
|
408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
408
409
|
import ts4 from "typescript";
|
|
409
410
|
var FlatIndexGenerator = class {
|
|
410
411
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -429,7 +430,7 @@ export * from '${relativeEntryPoint}';
|
|
|
429
430
|
}
|
|
430
431
|
};
|
|
431
432
|
|
|
432
|
-
// bazel-out/
|
|
433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
433
434
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
434
435
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
435
436
|
let resolvedEntryPoint = null;
|
|
@@ -445,7 +446,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
445
446
|
return resolvedEntryPoint;
|
|
446
447
|
}
|
|
447
448
|
|
|
448
|
-
// bazel-out/
|
|
449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
449
450
|
import ts5 from "typescript";
|
|
450
451
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
451
452
|
const diagnostics = [];
|
|
@@ -525,7 +526,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
525
526
|
}
|
|
526
527
|
}
|
|
527
528
|
|
|
528
|
-
// bazel-out/
|
|
529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
529
530
|
var ReferenceGraph = class {
|
|
530
531
|
constructor() {
|
|
531
532
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -579,7 +580,7 @@ var ReferenceGraph = class {
|
|
|
579
580
|
}
|
|
580
581
|
};
|
|
581
582
|
|
|
582
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
583
584
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
584
585
|
var UpdateMode;
|
|
585
586
|
(function(UpdateMode2) {
|
|
@@ -587,13 +588,13 @@ var UpdateMode;
|
|
|
587
588
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
588
589
|
})(UpdateMode || (UpdateMode = {}));
|
|
589
590
|
|
|
590
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
591
592
|
import ts9 from "typescript";
|
|
592
593
|
|
|
593
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
594
595
|
import ts6 from "typescript";
|
|
595
596
|
|
|
596
|
-
// bazel-out/
|
|
597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
597
598
|
var NgExtension = Symbol("NgExtension");
|
|
598
599
|
function isExtended(sf) {
|
|
599
600
|
return sf[NgExtension] !== void 0;
|
|
@@ -653,7 +654,7 @@ function retagTsFile(sf) {
|
|
|
653
654
|
}
|
|
654
655
|
}
|
|
655
656
|
|
|
656
|
-
// bazel-out/
|
|
657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
657
658
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
658
659
|
function makeShimFileName(fileName, suffix) {
|
|
659
660
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -668,7 +669,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
668
669
|
return moduleName;
|
|
669
670
|
}
|
|
670
671
|
|
|
671
|
-
// bazel-out/
|
|
672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
672
673
|
var ShimAdapter = class {
|
|
673
674
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
674
675
|
this.delegate = delegate;
|
|
@@ -763,7 +764,7 @@ var ShimAdapter = class {
|
|
|
763
764
|
}
|
|
764
765
|
};
|
|
765
766
|
|
|
766
|
-
// bazel-out/
|
|
767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
767
768
|
import ts7 from "typescript";
|
|
768
769
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
769
770
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -923,7 +924,7 @@ function updateInitializers(stmt, update) {
|
|
|
923
924
|
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)))));
|
|
924
925
|
}
|
|
925
926
|
|
|
926
|
-
// bazel-out/
|
|
927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
927
928
|
var ShimReferenceTagger = class {
|
|
928
929
|
constructor(shimExtensions) {
|
|
929
930
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -957,7 +958,7 @@ var ShimReferenceTagger = class {
|
|
|
957
958
|
}
|
|
958
959
|
};
|
|
959
960
|
|
|
960
|
-
// bazel-out/
|
|
961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
961
962
|
import ts8 from "typescript";
|
|
962
963
|
var SummaryGenerator = class {
|
|
963
964
|
constructor() {
|
|
@@ -998,7 +999,7 @@ function isExported2(decl) {
|
|
|
998
999
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
999
1000
|
}
|
|
1000
1001
|
|
|
1001
|
-
// bazel-out/
|
|
1002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1002
1003
|
var DelegatingCompilerHost = class {
|
|
1003
1004
|
constructor(delegate) {
|
|
1004
1005
|
this.delegate = delegate;
|
|
@@ -1109,7 +1110,7 @@ var TsCreateProgramDriver = class {
|
|
|
1109
1110
|
}
|
|
1110
1111
|
};
|
|
1111
1112
|
|
|
1112
|
-
// bazel-out/
|
|
1113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1113
1114
|
var FileDependencyGraph = class {
|
|
1114
1115
|
constructor() {
|
|
1115
1116
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1176,7 +1177,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1176
1177
|
return false;
|
|
1177
1178
|
}
|
|
1178
1179
|
|
|
1179
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1180
1181
|
var IncrementalStateKind;
|
|
1181
1182
|
(function(IncrementalStateKind2) {
|
|
1182
1183
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1184,7 +1185,7 @@ var IncrementalStateKind;
|
|
|
1184
1185
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1185
1186
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1186
1187
|
|
|
1187
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1188
1189
|
var PhaseKind;
|
|
1189
1190
|
(function(PhaseKind2) {
|
|
1190
1191
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1385,7 +1386,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1385
1386
|
}
|
|
1386
1387
|
}
|
|
1387
1388
|
|
|
1388
|
-
// bazel-out/
|
|
1389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1389
1390
|
var TrackedIncrementalBuildStrategy = class {
|
|
1390
1391
|
constructor() {
|
|
1391
1392
|
this.state = null;
|
|
@@ -1421,7 +1422,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1421
1422
|
};
|
|
1422
1423
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1423
1424
|
|
|
1424
|
-
// bazel-out/
|
|
1425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1425
1426
|
var IdentifierKind;
|
|
1426
1427
|
(function(IdentifierKind2) {
|
|
1427
1428
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1439,7 +1440,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1439
1440
|
}
|
|
1440
1441
|
};
|
|
1441
1442
|
|
|
1442
|
-
// bazel-out/
|
|
1443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1443
1444
|
var IndexingContext = class {
|
|
1444
1445
|
constructor() {
|
|
1445
1446
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1449,10 +1450,10 @@ var IndexingContext = class {
|
|
|
1449
1450
|
}
|
|
1450
1451
|
};
|
|
1451
1452
|
|
|
1452
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1453
1454
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1454
1455
|
|
|
1455
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1456
1457
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1457
1458
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1458
1459
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1689,7 +1690,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1689
1690
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1690
1691
|
}
|
|
1691
1692
|
|
|
1692
|
-
// bazel-out/
|
|
1693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1693
1694
|
function generateAnalysis(context) {
|
|
1694
1695
|
const analysis = /* @__PURE__ */ new Map();
|
|
1695
1696
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1725,7 +1726,7 @@ function generateAnalysis(context) {
|
|
|
1725
1726
|
return analysis;
|
|
1726
1727
|
}
|
|
1727
1728
|
|
|
1728
|
-
// bazel-out/
|
|
1729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1729
1730
|
var NgModuleIndexImpl = class {
|
|
1730
1731
|
constructor(metaReader, localReader) {
|
|
1731
1732
|
this.metaReader = metaReader;
|
|
@@ -1814,7 +1815,7 @@ var NgModuleIndexImpl = class {
|
|
|
1814
1815
|
}
|
|
1815
1816
|
};
|
|
1816
1817
|
|
|
1817
|
-
// bazel-out/
|
|
1818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1818
1819
|
import ts10 from "typescript";
|
|
1819
1820
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1820
1821
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1960,7 +1961,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1960
1961
|
};
|
|
1961
1962
|
}
|
|
1962
1963
|
|
|
1963
|
-
// bazel-out/
|
|
1964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1964
1965
|
var StandaloneComponentScopeReader = class {
|
|
1965
1966
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1966
1967
|
this.metaReader = metaReader;
|
|
@@ -2038,10 +2039,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2038
2039
|
}
|
|
2039
2040
|
};
|
|
2040
2041
|
|
|
2041
|
-
// bazel-out/
|
|
2042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2042
2043
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2043
2044
|
|
|
2044
|
-
// bazel-out/
|
|
2045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2045
2046
|
import ts11 from "typescript";
|
|
2046
2047
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2047
2048
|
var _a;
|
|
@@ -2148,7 +2149,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2148
2149
|
return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2149
2150
|
}
|
|
2150
2151
|
|
|
2151
|
-
// bazel-out/
|
|
2152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2152
2153
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2153
2154
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2154
2155
|
function getTemplateId(clazz) {
|
|
@@ -2165,11 +2166,11 @@ function allocateTemplateId(sf) {
|
|
|
2165
2166
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2166
2167
|
}
|
|
2167
2168
|
|
|
2168
|
-
// bazel-out/
|
|
2169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2169
2170
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2170
2171
|
import ts13 from "typescript";
|
|
2171
2172
|
|
|
2172
|
-
// bazel-out/
|
|
2173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2173
2174
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2174
2175
|
import ts12 from "typescript";
|
|
2175
2176
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2299,7 +2300,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2299
2300
|
}) || false;
|
|
2300
2301
|
}
|
|
2301
2302
|
|
|
2302
|
-
// bazel-out/
|
|
2303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2303
2304
|
var CompletionEngine = class {
|
|
2304
2305
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2305
2306
|
this.tcb = tcb;
|
|
@@ -2456,10 +2457,10 @@ var CompletionEngine = class {
|
|
|
2456
2457
|
}
|
|
2457
2458
|
};
|
|
2458
2459
|
|
|
2459
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2460
2461
|
import ts27 from "typescript";
|
|
2461
2462
|
|
|
2462
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2463
2464
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2464
2465
|
import ts14 from "typescript";
|
|
2465
2466
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2512,11 +2513,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2512
2513
|
}
|
|
2513
2514
|
};
|
|
2514
2515
|
|
|
2515
|
-
// bazel-out/
|
|
2516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2516
2517
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2517
2518
|
import ts20 from "typescript";
|
|
2518
2519
|
|
|
2519
|
-
// bazel-out/
|
|
2520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2520
2521
|
import ts15 from "typescript";
|
|
2521
2522
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2522
2523
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2590,16 +2591,16 @@ function isAccessExpression(node) {
|
|
|
2590
2591
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2591
2592
|
}
|
|
2592
2593
|
|
|
2593
|
-
// bazel-out/
|
|
2594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2594
2595
|
import ts19 from "typescript";
|
|
2595
2596
|
|
|
2596
|
-
// bazel-out/
|
|
2597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2597
2598
|
import ts18 from "typescript";
|
|
2598
2599
|
|
|
2599
|
-
// bazel-out/
|
|
2600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2600
2601
|
import ts17 from "typescript";
|
|
2601
2602
|
|
|
2602
|
-
// bazel-out/
|
|
2603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2603
2604
|
import ts16 from "typescript";
|
|
2604
2605
|
var INELIGIBLE = {};
|
|
2605
2606
|
function canEmitType(type, canEmit) {
|
|
@@ -2674,7 +2675,7 @@ var TypeEmitter = class {
|
|
|
2674
2675
|
}
|
|
2675
2676
|
};
|
|
2676
2677
|
|
|
2677
|
-
// bazel-out/
|
|
2678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2678
2679
|
var TypeParameterEmitter = class {
|
|
2679
2680
|
constructor(typeParameters, reflector) {
|
|
2680
2681
|
this.typeParameters = typeParameters;
|
|
@@ -2751,7 +2752,7 @@ var TypeParameterEmitter = class {
|
|
|
2751
2752
|
}
|
|
2752
2753
|
};
|
|
2753
2754
|
|
|
2754
|
-
// bazel-out/
|
|
2755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2755
2756
|
var TcbInliningRequirement;
|
|
2756
2757
|
(function(TcbInliningRequirement2) {
|
|
2757
2758
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2831,7 +2832,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2831
2832
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2832
2833
|
}
|
|
2833
2834
|
|
|
2834
|
-
// bazel-out/
|
|
2835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2835
2836
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2836
2837
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2837
2838
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2943,7 +2944,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2943
2944
|
});
|
|
2944
2945
|
}
|
|
2945
2946
|
|
|
2946
|
-
// bazel-out/
|
|
2947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2947
2948
|
var Environment = class {
|
|
2948
2949
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2949
2950
|
this.config = config;
|
|
@@ -3035,7 +3036,7 @@ var Environment = class {
|
|
|
3035
3036
|
}
|
|
3036
3037
|
};
|
|
3037
3038
|
|
|
3038
|
-
// bazel-out/
|
|
3039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3039
3040
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
3040
3041
|
import ts21 from "typescript";
|
|
3041
3042
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3168,7 +3169,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3168
3169
|
};
|
|
3169
3170
|
}
|
|
3170
3171
|
|
|
3171
|
-
// bazel-out/
|
|
3172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3172
3173
|
import ts22 from "typescript";
|
|
3173
3174
|
var TypeCheckShimGenerator = class {
|
|
3174
3175
|
constructor() {
|
|
@@ -3186,11 +3187,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3186
3187
|
}
|
|
3187
3188
|
};
|
|
3188
3189
|
|
|
3189
|
-
// bazel-out/
|
|
3190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3190
3191
|
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";
|
|
3191
3192
|
import ts25 from "typescript";
|
|
3192
3193
|
|
|
3193
|
-
// bazel-out/
|
|
3194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3194
3195
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3195
3196
|
import ts23 from "typescript";
|
|
3196
3197
|
function wrapForDiagnostics(expr) {
|
|
@@ -3236,7 +3237,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3236
3237
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3237
3238
|
}
|
|
3238
3239
|
|
|
3239
|
-
// bazel-out/
|
|
3240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3240
3241
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3241
3242
|
import ts24 from "typescript";
|
|
3242
3243
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3566,7 +3567,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3566
3567
|
};
|
|
3567
3568
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3568
3569
|
|
|
3569
|
-
// bazel-out/
|
|
3570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3570
3571
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3571
3572
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3572
3573
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3590,7 +3591,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3590
3591
|
}
|
|
3591
3592
|
};
|
|
3592
3593
|
|
|
3593
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3594
3595
|
var TcbGenericContextBehavior;
|
|
3595
3596
|
(function(TcbGenericContextBehavior2) {
|
|
3596
3597
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4693,7 +4694,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4693
4694
|
}
|
|
4694
4695
|
};
|
|
4695
4696
|
|
|
4696
|
-
// bazel-out/
|
|
4697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4697
4698
|
import ts26 from "typescript";
|
|
4698
4699
|
var TypeCheckFile = class extends Environment {
|
|
4699
4700
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4729,7 +4730,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4729
4730
|
}
|
|
4730
4731
|
};
|
|
4731
4732
|
|
|
4732
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4733
4734
|
var InliningMode;
|
|
4734
4735
|
(function(InliningMode2) {
|
|
4735
4736
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4967,10 +4968,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4967
4968
|
return splits;
|
|
4968
4969
|
}
|
|
4969
4970
|
|
|
4970
|
-
// bazel-out/
|
|
4971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4971
4972
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4972
4973
|
|
|
4973
|
-
// bazel-out/
|
|
4974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4974
4975
|
var LF_CHAR = 10;
|
|
4975
4976
|
var CR_CHAR = 13;
|
|
4976
4977
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5011,7 +5012,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5011
5012
|
return low - 1;
|
|
5012
5013
|
}
|
|
5013
5014
|
|
|
5014
|
-
// bazel-out/
|
|
5015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5015
5016
|
var TemplateSource = class {
|
|
5016
5017
|
constructor(mapping, file) {
|
|
5017
5018
|
this.mapping = mapping;
|
|
@@ -5062,7 +5063,7 @@ var TemplateSourceManager = class {
|
|
|
5062
5063
|
}
|
|
5063
5064
|
};
|
|
5064
5065
|
|
|
5065
|
-
// bazel-out/
|
|
5066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5066
5067
|
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";
|
|
5067
5068
|
import ts28 from "typescript";
|
|
5068
5069
|
var SymbolBuilder = class {
|
|
@@ -5546,7 +5547,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5546
5547
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5547
5548
|
}
|
|
5548
5549
|
|
|
5549
|
-
// bazel-out/
|
|
5550
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5550
5551
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5551
5552
|
var TemplateTypeCheckerImpl = class {
|
|
5552
5553
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6240,10 +6241,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6240
6241
|
}
|
|
6241
6242
|
};
|
|
6242
6243
|
|
|
6243
|
-
// bazel-out/
|
|
6244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6244
6245
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6245
6246
|
|
|
6246
|
-
// bazel-out/
|
|
6247
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6247
6248
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6248
6249
|
var TemplateCheckWithVisitor = class {
|
|
6249
6250
|
run(ctx, component, template) {
|
|
@@ -6320,7 +6321,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6320
6321
|
}
|
|
6321
6322
|
};
|
|
6322
6323
|
|
|
6323
|
-
// bazel-out/
|
|
6324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6324
6325
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6325
6326
|
constructor() {
|
|
6326
6327
|
super(...arguments);
|
|
@@ -6345,7 +6346,7 @@ var factory = {
|
|
|
6345
6346
|
create: () => new InvalidBananaInBoxCheck()
|
|
6346
6347
|
};
|
|
6347
6348
|
|
|
6348
|
-
// bazel-out/
|
|
6349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6349
6350
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6350
6351
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6351
6352
|
["ngIf", "NgIf"],
|
|
@@ -6390,7 +6391,7 @@ var factory2 = {
|
|
|
6390
6391
|
}
|
|
6391
6392
|
};
|
|
6392
6393
|
|
|
6393
|
-
// bazel-out/
|
|
6394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6394
6395
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6395
6396
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6396
6397
|
constructor() {
|
|
@@ -6423,7 +6424,7 @@ var factory3 = {
|
|
|
6423
6424
|
create: () => new MissingNgForOfLetCheck()
|
|
6424
6425
|
};
|
|
6425
6426
|
|
|
6426
|
-
// bazel-out/
|
|
6427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6427
6428
|
import { Binary } from "@angular/compiler";
|
|
6428
6429
|
import ts29 from "typescript";
|
|
6429
6430
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6468,7 +6469,7 @@ var factory4 = {
|
|
|
6468
6469
|
}
|
|
6469
6470
|
};
|
|
6470
6471
|
|
|
6471
|
-
// bazel-out/
|
|
6472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6472
6473
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6473
6474
|
import ts30 from "typescript";
|
|
6474
6475
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6514,7 +6515,7 @@ var factory5 = {
|
|
|
6514
6515
|
}
|
|
6515
6516
|
};
|
|
6516
6517
|
|
|
6517
|
-
// bazel-out/
|
|
6518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6518
6519
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6519
6520
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6520
6521
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6538,7 +6539,7 @@ var factory6 = {
|
|
|
6538
6539
|
create: () => new SuffixNotSupportedCheck()
|
|
6539
6540
|
};
|
|
6540
6541
|
|
|
6541
|
-
// bazel-out/
|
|
6542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6542
6543
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6543
6544
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6544
6545
|
constructor() {
|
|
@@ -6577,10 +6578,10 @@ var factory7 = {
|
|
|
6577
6578
|
create: () => new TextAttributeNotBindingSpec()
|
|
6578
6579
|
};
|
|
6579
6580
|
|
|
6580
|
-
// bazel-out/
|
|
6581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6581
6582
|
import ts31 from "typescript";
|
|
6582
6583
|
|
|
6583
|
-
// bazel-out/
|
|
6584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6584
6585
|
var DiagnosticCategoryLabel;
|
|
6585
6586
|
(function(DiagnosticCategoryLabel2) {
|
|
6586
6587
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6588,7 +6589,7 @@ var DiagnosticCategoryLabel;
|
|
|
6588
6589
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6589
6590
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6590
6591
|
|
|
6591
|
-
// bazel-out/
|
|
6592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6592
6593
|
var ExtendedTemplateCheckerImpl = class {
|
|
6593
6594
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6594
6595
|
var _a, _b, _c, _d, _e;
|
|
@@ -6641,7 +6642,7 @@ function assertNever(value) {
|
|
|
6641
6642
|
${value}`);
|
|
6642
6643
|
}
|
|
6643
6644
|
|
|
6644
|
-
// bazel-out/
|
|
6645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6645
6646
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6646
6647
|
factory,
|
|
6647
6648
|
factory4,
|
|
@@ -6652,7 +6653,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6652
6653
|
factory6
|
|
6653
6654
|
];
|
|
6654
6655
|
|
|
6655
|
-
// bazel-out/
|
|
6656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6656
6657
|
var CompilationTicketKind;
|
|
6657
6658
|
(function(CompilationTicketKind2) {
|
|
6658
6659
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7065,7 +7066,14 @@ var NgCompiler = class {
|
|
|
7065
7066
|
if (sf.isDeclarationFile || this.adapter.isShim(sf)) {
|
|
7066
7067
|
continue;
|
|
7067
7068
|
}
|
|
7068
|
-
|
|
7069
|
+
try {
|
|
7070
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, OptimizeFor.WholeProgram));
|
|
7071
|
+
} catch (err) {
|
|
7072
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
7073
|
+
throw err;
|
|
7074
|
+
}
|
|
7075
|
+
diagnostics.push(err.toDiagnostic());
|
|
7076
|
+
}
|
|
7069
7077
|
}
|
|
7070
7078
|
const program = this.programDriver.getProgram();
|
|
7071
7079
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -7076,7 +7084,14 @@ var NgCompiler = class {
|
|
|
7076
7084
|
const compilation = this.ensureAnalyzed();
|
|
7077
7085
|
const diagnostics = [];
|
|
7078
7086
|
if (!sf.isDeclarationFile && !this.adapter.isShim(sf)) {
|
|
7079
|
-
|
|
7087
|
+
try {
|
|
7088
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, optimizeFor));
|
|
7089
|
+
} catch (err) {
|
|
7090
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
7091
|
+
throw err;
|
|
7092
|
+
}
|
|
7093
|
+
diagnostics.push(err.toDiagnostic());
|
|
7094
|
+
}
|
|
7080
7095
|
}
|
|
7081
7096
|
const program = this.programDriver.getProgram();
|
|
7082
7097
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -7167,8 +7182,8 @@ var NgCompiler = class {
|
|
|
7167
7182
|
const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
|
|
7168
7183
|
const strictCtorDeps = this.options.strictInjectionParameters || false;
|
|
7169
7184
|
const handlers = [
|
|
7170
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
7171
|
-
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
7185
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
7186
|
+
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
7172
7187
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
7173
7188
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
|
|
7174
7189
|
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
|
|
@@ -7358,7 +7373,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7358
7373
|
return versions;
|
|
7359
7374
|
}
|
|
7360
7375
|
|
|
7361
|
-
// bazel-out/
|
|
7376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7362
7377
|
import ts33 from "typescript";
|
|
7363
7378
|
var DelegatingCompilerHost2 = class {
|
|
7364
7379
|
constructor(delegate) {
|
|
@@ -7503,7 +7518,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7503
7518
|
}
|
|
7504
7519
|
};
|
|
7505
7520
|
|
|
7506
|
-
// bazel-out/
|
|
7521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7507
7522
|
var NgtscProgram = class {
|
|
7508
7523
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7509
7524
|
this.options = options;
|
|
@@ -7721,15 +7736,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7721
7736
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7722
7737
|
}
|
|
7723
7738
|
|
|
7724
|
-
// bazel-out/
|
|
7739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7725
7740
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7726
7741
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7727
7742
|
}
|
|
7728
7743
|
|
|
7729
|
-
// bazel-out/
|
|
7744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7730
7745
|
import ts36 from "typescript";
|
|
7731
7746
|
|
|
7732
|
-
// bazel-out/
|
|
7747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7733
7748
|
import ts35 from "typescript";
|
|
7734
7749
|
function createMessageDiagnostic(messageText) {
|
|
7735
7750
|
return {
|
|
@@ -7743,7 +7758,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7743
7758
|
};
|
|
7744
7759
|
}
|
|
7745
7760
|
|
|
7746
|
-
// bazel-out/
|
|
7761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7747
7762
|
var defaultFormatHost = {
|
|
7748
7763
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7749
7764
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7955,4 +7970,4 @@ export {
|
|
|
7955
7970
|
* found in the LICENSE file at https://angular.io/license
|
|
7956
7971
|
*/
|
|
7957
7972
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7958
|
-
//# sourceMappingURL=chunk-
|
|
7973
|
+
//# sourceMappingURL=chunk-E3MCJFSW.js.map
|