@angular/compiler-cli 14.2.2 → 14.2.4
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-S4JINNFN.js → chunk-4NRCP3Y6.js} +7 -7
- package/bundles/{chunk-S4JINNFN.js.map → chunk-4NRCP3Y6.js.map} +0 -0
- package/bundles/{chunk-Z57D3OKU.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-Z57D3OKU.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-4SINIALN.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-4SINIALN.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/{chunk-MPQCXKXX.js → chunk-ASH3YOGR.js} +40 -40
- package/bundles/{chunk-MPQCXKXX.js.map → chunk-ASH3YOGR.js.map} +0 -0
- package/bundles/{chunk-HLCSE3GL.js → chunk-CQCM2MKZ.js} +70 -70
- package/bundles/{chunk-HLCSE3GL.js.map → chunk-CQCM2MKZ.js.map} +0 -0
- package/bundles/{chunk-E6XS3AOK.js → chunk-DM4TYSFG.js} +2 -2
- package/bundles/{chunk-E6XS3AOK.js.map → chunk-DM4TYSFG.js.map} +0 -0
- package/bundles/{chunk-VCFGTAPT.js → chunk-EYTHD6RB.js} +105 -98
- package/bundles/chunk-EYTHD6RB.js.map +6 -0
- package/bundles/{chunk-SJL5HBUW.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-SJL5HBUW.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-N2MCMY3J.js → chunk-ICPLY7FO.js} +4 -4
- package/bundles/{chunk-N2MCMY3J.js.map → chunk-ICPLY7FO.js.map} +0 -0
- package/bundles/{chunk-CDDXRRSJ.js → chunk-IGUYDR56.js} +26 -26
- package/bundles/{chunk-CDDXRRSJ.js.map → chunk-IGUYDR56.js.map} +0 -0
- package/bundles/{chunk-AYUQTULD.js → chunk-IS6SUBRS.js} +31 -31
- package/bundles/{chunk-AYUQTULD.js.map → chunk-IS6SUBRS.js.map} +0 -0
- package/bundles/{chunk-QUO5TIT7.js → chunk-JN4TT3OU.js} +7 -7
- package/bundles/{chunk-QUO5TIT7.js.map → chunk-JN4TT3OU.js.map} +0 -0
- package/bundles/{chunk-7D7JVHLL.js → chunk-MOE5WKIA.js} +7 -7
- package/bundles/{chunk-7D7JVHLL.js.map → chunk-MOE5WKIA.js.map} +0 -0
- package/bundles/{chunk-W4NQEJ6V.js → chunk-NO22WQRD.js} +71 -71
- package/bundles/{chunk-W4NQEJ6V.js.map → chunk-NO22WQRD.js.map} +0 -0
- package/bundles/{chunk-CTEVZGOM.js → chunk-RCXOJZDO.js} +5 -5
- package/bundles/{chunk-CTEVZGOM.js.map → chunk-RCXOJZDO.js.map} +0 -0
- package/bundles/{chunk-E5BY7BXB.js → chunk-SBK5GSLF.js} +5 -5
- package/bundles/{chunk-E5BY7BXB.js.map → chunk-SBK5GSLF.js.map} +0 -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 +2 -2
- package/bundles/chunk-VCFGTAPT.js.map +0 -6
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
aliasTransformFactory,
|
|
31
31
|
declarationTransformFactory,
|
|
32
32
|
ivyTransformFactory
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CQCM2MKZ.js";
|
|
34
34
|
import {
|
|
35
35
|
TypeScriptReflectionHost,
|
|
36
36
|
isNamedClassDeclaration
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MOE5WKIA.js";
|
|
38
38
|
import {
|
|
39
39
|
AbsoluteModuleStrategy,
|
|
40
40
|
AliasStrategy,
|
|
@@ -73,13 +73,13 @@ import {
|
|
|
73
73
|
toUnredirectedSourceFile,
|
|
74
74
|
translateExpression,
|
|
75
75
|
translateType
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-IGUYDR56.js";
|
|
77
77
|
import {
|
|
78
78
|
getDecorators,
|
|
79
79
|
getModifiers,
|
|
80
80
|
updateImportDeclaration,
|
|
81
81
|
updateTypeParameterDeclaration
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DM4TYSFG.js";
|
|
83
83
|
import {
|
|
84
84
|
LogicalFileSystem,
|
|
85
85
|
absoluteFrom,
|
|
@@ -90,16 +90,16 @@ import {
|
|
|
90
90
|
getSourceFileOrError,
|
|
91
91
|
join,
|
|
92
92
|
resolve
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-4NRCP3Y6.js";
|
|
94
94
|
import {
|
|
95
95
|
ActivePerfRecorder,
|
|
96
96
|
DelegatingPerfRecorder,
|
|
97
97
|
PerfCheckpoint,
|
|
98
98
|
PerfEvent,
|
|
99
99
|
PerfPhase
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RCXOJZDO.js";
|
|
101
101
|
|
|
102
|
-
// bazel-out/
|
|
102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
103
103
|
var DEFAULT_ERROR_CODE = 100;
|
|
104
104
|
var UNKNOWN_ERROR_CODE = 500;
|
|
105
105
|
var SOURCE = "angular";
|
|
@@ -117,7 +117,7 @@ var EmitFlags;
|
|
|
117
117
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
118
118
|
})(EmitFlags || (EmitFlags = {}));
|
|
119
119
|
|
|
120
|
-
// bazel-out/
|
|
120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
121
121
|
import ts from "typescript";
|
|
122
122
|
var wrapHostForTest = null;
|
|
123
123
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -127,21 +127,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
127
127
|
return tsHost;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
// bazel-out/
|
|
130
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
131
131
|
var OptimizeFor;
|
|
132
132
|
(function(OptimizeFor2) {
|
|
133
133
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
134
134
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
135
135
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
138
138
|
var CompletionKind;
|
|
139
139
|
(function(CompletionKind2) {
|
|
140
140
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
141
141
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
142
142
|
})(CompletionKind || (CompletionKind = {}));
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
145
145
|
var SymbolKind;
|
|
146
146
|
(function(SymbolKind2) {
|
|
147
147
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -157,11 +157,11 @@ var SymbolKind;
|
|
|
157
157
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
158
158
|
})(SymbolKind || (SymbolKind = {}));
|
|
159
159
|
|
|
160
|
-
// bazel-out/
|
|
160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
161
161
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
162
162
|
import ts34 from "typescript";
|
|
163
163
|
|
|
164
|
-
// bazel-out/
|
|
164
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
165
165
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
166
166
|
import * as path from "path";
|
|
167
167
|
function i18nGetExtension(formatName) {
|
|
@@ -212,10 +212,10 @@ function getPathNormalizer(basePath) {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
216
216
|
import ts2 from "typescript";
|
|
217
217
|
|
|
218
|
-
// bazel-out/
|
|
218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
219
219
|
function toNumbers(value) {
|
|
220
220
|
const suffixIndex = value.lastIndexOf("-");
|
|
221
221
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -250,7 +250,7 @@ function compareVersions(v1, v2) {
|
|
|
250
250
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
254
254
|
var MIN_TS_VERSION = "4.6.2";
|
|
255
255
|
var MAX_TS_VERSION = "4.9.0";
|
|
256
256
|
var tsVersion = ts2.version;
|
|
@@ -263,10 +263,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
263
263
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
267
267
|
import ts32 from "typescript";
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
270
270
|
var CycleAnalyzer = class {
|
|
271
271
|
constructor(importGraph) {
|
|
272
272
|
this.importGraph = importGraph;
|
|
@@ -337,7 +337,7 @@ var Cycle = class {
|
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
|
|
340
|
-
// bazel-out/
|
|
340
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
341
341
|
import ts3 from "typescript";
|
|
342
342
|
var ImportGraph = class {
|
|
343
343
|
constructor(checker, perf) {
|
|
@@ -429,7 +429,7 @@ var Found = class {
|
|
|
429
429
|
}
|
|
430
430
|
};
|
|
431
431
|
|
|
432
|
-
// bazel-out/
|
|
432
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
433
433
|
import ts4 from "typescript";
|
|
434
434
|
var FlatIndexGenerator = class {
|
|
435
435
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -454,7 +454,7 @@ export * from '${relativeEntryPoint}';
|
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
458
458
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
459
459
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
460
460
|
let resolvedEntryPoint = null;
|
|
@@ -470,7 +470,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
470
470
|
return resolvedEntryPoint;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
// bazel-out/
|
|
473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
474
474
|
import ts5 from "typescript";
|
|
475
475
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
476
476
|
const diagnostics = [];
|
|
@@ -550,7 +550,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
// bazel-out/
|
|
553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
554
554
|
var ReferenceGraph = class {
|
|
555
555
|
constructor() {
|
|
556
556
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -604,7 +604,7 @@ var ReferenceGraph = class {
|
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
|
|
607
|
-
// bazel-out/
|
|
607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
608
608
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
609
609
|
var UpdateMode;
|
|
610
610
|
(function(UpdateMode2) {
|
|
@@ -612,13 +612,13 @@ var UpdateMode;
|
|
|
612
612
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
613
613
|
})(UpdateMode || (UpdateMode = {}));
|
|
614
614
|
|
|
615
|
-
// bazel-out/
|
|
615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
616
616
|
import ts9 from "typescript";
|
|
617
617
|
|
|
618
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
619
619
|
import ts6 from "typescript";
|
|
620
620
|
|
|
621
|
-
// bazel-out/
|
|
621
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
622
622
|
var NgExtension = Symbol("NgExtension");
|
|
623
623
|
function isExtended(sf) {
|
|
624
624
|
return sf[NgExtension] !== void 0;
|
|
@@ -678,7 +678,7 @@ function retagTsFile(sf) {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
// bazel-out/
|
|
681
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
682
682
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
683
683
|
function makeShimFileName(fileName, suffix) {
|
|
684
684
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -693,7 +693,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
693
693
|
return moduleName;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
// bazel-out/
|
|
696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
697
697
|
var ShimAdapter = class {
|
|
698
698
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
699
699
|
this.delegate = delegate;
|
|
@@ -790,7 +790,7 @@ var ShimAdapter = class {
|
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
792
|
|
|
793
|
-
// bazel-out/
|
|
793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
794
794
|
import ts7 from "typescript";
|
|
795
795
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
796
796
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -938,7 +938,7 @@ function updateInitializers(stmt, update) {
|
|
|
938
938
|
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)))));
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
// bazel-out/
|
|
941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
942
942
|
var ShimReferenceTagger = class {
|
|
943
943
|
constructor(shimExtensions) {
|
|
944
944
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -972,7 +972,7 @@ var ShimReferenceTagger = class {
|
|
|
972
972
|
}
|
|
973
973
|
};
|
|
974
974
|
|
|
975
|
-
// bazel-out/
|
|
975
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
976
976
|
import ts8 from "typescript";
|
|
977
977
|
var SummaryGenerator = class {
|
|
978
978
|
constructor() {
|
|
@@ -1013,7 +1013,7 @@ function isExported2(decl) {
|
|
|
1013
1013
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
|
-
// bazel-out/
|
|
1016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1017
1017
|
var DelegatingCompilerHost = class {
|
|
1018
1018
|
constructor(delegate) {
|
|
1019
1019
|
this.delegate = delegate;
|
|
@@ -1123,7 +1123,7 @@ var TsCreateProgramDriver = class {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
1125
|
|
|
1126
|
-
// bazel-out/
|
|
1126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1127
1127
|
var FileDependencyGraph = class {
|
|
1128
1128
|
constructor() {
|
|
1129
1129
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1190,7 +1190,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1190
1190
|
return false;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
// bazel-out/
|
|
1193
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1194
1194
|
var IncrementalStateKind;
|
|
1195
1195
|
(function(IncrementalStateKind2) {
|
|
1196
1196
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1198,7 +1198,7 @@ var IncrementalStateKind;
|
|
|
1198
1198
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1199
1199
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1200
1200
|
|
|
1201
|
-
// bazel-out/
|
|
1201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1202
1202
|
var PhaseKind;
|
|
1203
1203
|
(function(PhaseKind2) {
|
|
1204
1204
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1399,7 +1399,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
1402
|
-
// bazel-out/
|
|
1402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1403
1403
|
var TrackedIncrementalBuildStrategy = class {
|
|
1404
1404
|
constructor() {
|
|
1405
1405
|
this.state = null;
|
|
@@ -1435,7 +1435,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1437
1437
|
|
|
1438
|
-
// bazel-out/
|
|
1438
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1439
1439
|
var IdentifierKind;
|
|
1440
1440
|
(function(IdentifierKind2) {
|
|
1441
1441
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1453,7 +1453,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
1455
|
|
|
1456
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1457
1457
|
var IndexingContext = class {
|
|
1458
1458
|
constructor() {
|
|
1459
1459
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1463,10 +1463,10 @@ var IndexingContext = class {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
};
|
|
1465
1465
|
|
|
1466
|
-
// bazel-out/
|
|
1466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1467
1467
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1468
1468
|
|
|
1469
|
-
// bazel-out/
|
|
1469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1470
1470
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1471
1471
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1472
1472
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1703,7 +1703,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1703
1703
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
1706
|
-
// bazel-out/
|
|
1706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1707
1707
|
function generateAnalysis(context) {
|
|
1708
1708
|
const analysis = /* @__PURE__ */ new Map();
|
|
1709
1709
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1739,7 +1739,7 @@ function generateAnalysis(context) {
|
|
|
1739
1739
|
return analysis;
|
|
1740
1740
|
}
|
|
1741
1741
|
|
|
1742
|
-
// bazel-out/
|
|
1742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1743
1743
|
import ts10 from "typescript";
|
|
1744
1744
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1745
1745
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1885,7 +1885,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1885
1885
|
};
|
|
1886
1886
|
}
|
|
1887
1887
|
|
|
1888
|
-
// bazel-out/
|
|
1888
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1889
1889
|
var StandaloneComponentScopeReader = class {
|
|
1890
1890
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1891
1891
|
this.metaReader = metaReader;
|
|
@@ -1963,10 +1963,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1963
1963
|
}
|
|
1964
1964
|
};
|
|
1965
1965
|
|
|
1966
|
-
// bazel-out/
|
|
1966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1967
1967
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1968
1968
|
|
|
1969
|
-
// bazel-out/
|
|
1969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1970
1970
|
import ts11 from "typescript";
|
|
1971
1971
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1972
1972
|
if (mapping.type === "direct") {
|
|
@@ -2000,7 +2000,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2000
2000
|
const componentSf = mapping.componentClass.getSourceFile();
|
|
2001
2001
|
const componentName = mapping.componentClass.name.text;
|
|
2002
2002
|
const fileName = mapping.type === "indirect" ? `${componentSf.fileName} (${componentName} template)` : mapping.templateUrl;
|
|
2003
|
-
const sf =
|
|
2003
|
+
const sf = getParsedTemplateSourceFile(fileName, mapping);
|
|
2004
2004
|
let relatedInformation = [];
|
|
2005
2005
|
if (relatedMessages !== void 0) {
|
|
2006
2006
|
for (const relatedMessage of relatedMessages) {
|
|
@@ -2038,8 +2038,15 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2038
2038
|
throw new Error(`Unexpected source mapping type: ${mapping.type}`);
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
|
+
var TemplateSourceFile = Symbol("TemplateSourceFile");
|
|
2042
|
+
function getParsedTemplateSourceFile(fileName, mapping) {
|
|
2043
|
+
if (mapping[TemplateSourceFile] === void 0) {
|
|
2044
|
+
mapping[TemplateSourceFile] = ts11.createSourceFile(fileName, mapping.template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2045
|
+
}
|
|
2046
|
+
return mapping[TemplateSourceFile];
|
|
2047
|
+
}
|
|
2041
2048
|
|
|
2042
|
-
// bazel-out/
|
|
2049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2043
2050
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2044
2051
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2045
2052
|
function getTemplateId(clazz) {
|
|
@@ -2056,11 +2063,11 @@ function allocateTemplateId(sf) {
|
|
|
2056
2063
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2057
2064
|
}
|
|
2058
2065
|
|
|
2059
|
-
// bazel-out/
|
|
2066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2060
2067
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2061
2068
|
import ts13 from "typescript";
|
|
2062
2069
|
|
|
2063
|
-
// bazel-out/
|
|
2070
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2064
2071
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2065
2072
|
import ts12 from "typescript";
|
|
2066
2073
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2180,7 +2187,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2180
2187
|
}) || false;
|
|
2181
2188
|
}
|
|
2182
2189
|
|
|
2183
|
-
// bazel-out/
|
|
2190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2184
2191
|
var CompletionEngine = class {
|
|
2185
2192
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2186
2193
|
this.tcb = tcb;
|
|
@@ -2337,10 +2344,10 @@ var CompletionEngine = class {
|
|
|
2337
2344
|
}
|
|
2338
2345
|
};
|
|
2339
2346
|
|
|
2340
|
-
// bazel-out/
|
|
2347
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2341
2348
|
import ts27 from "typescript";
|
|
2342
2349
|
|
|
2343
|
-
// bazel-out/
|
|
2350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2344
2351
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2345
2352
|
import ts14 from "typescript";
|
|
2346
2353
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2393,11 +2400,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2393
2400
|
}
|
|
2394
2401
|
};
|
|
2395
2402
|
|
|
2396
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2397
2404
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2398
2405
|
import ts20 from "typescript";
|
|
2399
2406
|
|
|
2400
|
-
// bazel-out/
|
|
2407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2401
2408
|
import ts15 from "typescript";
|
|
2402
2409
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2403
2410
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2444,16 +2451,16 @@ function isAccessExpression(node) {
|
|
|
2444
2451
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2445
2452
|
}
|
|
2446
2453
|
|
|
2447
|
-
// bazel-out/
|
|
2454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2448
2455
|
import ts19 from "typescript";
|
|
2449
2456
|
|
|
2450
|
-
// bazel-out/
|
|
2457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2451
2458
|
import ts18 from "typescript";
|
|
2452
2459
|
|
|
2453
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2454
2461
|
import ts17 from "typescript";
|
|
2455
2462
|
|
|
2456
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2457
2464
|
import ts16 from "typescript";
|
|
2458
2465
|
var INELIGIBLE = {};
|
|
2459
2466
|
function canEmitType(type, canEmit) {
|
|
@@ -2528,7 +2535,7 @@ var TypeEmitter = class {
|
|
|
2528
2535
|
}
|
|
2529
2536
|
};
|
|
2530
2537
|
|
|
2531
|
-
// bazel-out/
|
|
2538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2532
2539
|
var TypeParameterEmitter = class {
|
|
2533
2540
|
constructor(typeParameters, reflector) {
|
|
2534
2541
|
this.typeParameters = typeParameters;
|
|
@@ -2605,7 +2612,7 @@ var TypeParameterEmitter = class {
|
|
|
2605
2612
|
}
|
|
2606
2613
|
};
|
|
2607
2614
|
|
|
2608
|
-
// bazel-out/
|
|
2615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2609
2616
|
var TcbInliningRequirement;
|
|
2610
2617
|
(function(TcbInliningRequirement2) {
|
|
2611
2618
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2685,7 +2692,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2685
2692
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2686
2693
|
}
|
|
2687
2694
|
|
|
2688
|
-
// bazel-out/
|
|
2695
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2689
2696
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2690
2697
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2691
2698
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2756,7 +2763,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2756
2763
|
});
|
|
2757
2764
|
}
|
|
2758
2765
|
|
|
2759
|
-
// bazel-out/
|
|
2766
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2760
2767
|
var Environment = class {
|
|
2761
2768
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2762
2769
|
this.config = config;
|
|
@@ -2848,7 +2855,7 @@ var Environment = class {
|
|
|
2848
2855
|
}
|
|
2849
2856
|
};
|
|
2850
2857
|
|
|
2851
|
-
// bazel-out/
|
|
2858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2852
2859
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2853
2860
|
import ts21 from "typescript";
|
|
2854
2861
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2981,7 +2988,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2981
2988
|
};
|
|
2982
2989
|
}
|
|
2983
2990
|
|
|
2984
|
-
// bazel-out/
|
|
2991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2985
2992
|
import ts22 from "typescript";
|
|
2986
2993
|
var TypeCheckShimGenerator = class {
|
|
2987
2994
|
constructor() {
|
|
@@ -2999,11 +3006,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2999
3006
|
}
|
|
3000
3007
|
};
|
|
3001
3008
|
|
|
3002
|
-
// bazel-out/
|
|
3009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3003
3010
|
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";
|
|
3004
3011
|
import ts25 from "typescript";
|
|
3005
3012
|
|
|
3006
|
-
// bazel-out/
|
|
3013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3007
3014
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3008
3015
|
import ts23 from "typescript";
|
|
3009
3016
|
function wrapForDiagnostics(expr) {
|
|
@@ -3049,7 +3056,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3049
3056
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3050
3057
|
}
|
|
3051
3058
|
|
|
3052
|
-
// bazel-out/
|
|
3059
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3053
3060
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3054
3061
|
import ts24 from "typescript";
|
|
3055
3062
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3379,7 +3386,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3379
3386
|
};
|
|
3380
3387
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3381
3388
|
|
|
3382
|
-
// bazel-out/
|
|
3389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3383
3390
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3384
3391
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3385
3392
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3403,7 +3410,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3403
3410
|
}
|
|
3404
3411
|
};
|
|
3405
3412
|
|
|
3406
|
-
// bazel-out/
|
|
3413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3407
3414
|
var TcbGenericContextBehavior;
|
|
3408
3415
|
(function(TcbGenericContextBehavior2) {
|
|
3409
3416
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4464,7 +4471,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4464
4471
|
}
|
|
4465
4472
|
};
|
|
4466
4473
|
|
|
4467
|
-
// bazel-out/
|
|
4474
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4468
4475
|
import ts26 from "typescript";
|
|
4469
4476
|
var TypeCheckFile = class extends Environment {
|
|
4470
4477
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4500,7 +4507,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4500
4507
|
}
|
|
4501
4508
|
};
|
|
4502
4509
|
|
|
4503
|
-
// bazel-out/
|
|
4510
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4504
4511
|
var InliningMode;
|
|
4505
4512
|
(function(InliningMode2) {
|
|
4506
4513
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4738,10 +4745,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4738
4745
|
return splits;
|
|
4739
4746
|
}
|
|
4740
4747
|
|
|
4741
|
-
// bazel-out/
|
|
4748
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4742
4749
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4743
4750
|
|
|
4744
|
-
// bazel-out/
|
|
4751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4745
4752
|
var LF_CHAR = 10;
|
|
4746
4753
|
var CR_CHAR = 13;
|
|
4747
4754
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4782,7 +4789,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4782
4789
|
return low - 1;
|
|
4783
4790
|
}
|
|
4784
4791
|
|
|
4785
|
-
// bazel-out/
|
|
4792
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4786
4793
|
var TemplateSource = class {
|
|
4787
4794
|
constructor(mapping, file) {
|
|
4788
4795
|
this.mapping = mapping;
|
|
@@ -4833,7 +4840,7 @@ var TemplateSourceManager = class {
|
|
|
4833
4840
|
}
|
|
4834
4841
|
};
|
|
4835
4842
|
|
|
4836
|
-
// bazel-out/
|
|
4843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4837
4844
|
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";
|
|
4838
4845
|
import ts28 from "typescript";
|
|
4839
4846
|
var SymbolBuilder = class {
|
|
@@ -5278,7 +5285,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5278
5285
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5279
5286
|
}
|
|
5280
5287
|
|
|
5281
|
-
// bazel-out/
|
|
5288
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5282
5289
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5283
5290
|
var TemplateTypeCheckerImpl = class {
|
|
5284
5291
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5850,10 +5857,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5850
5857
|
}
|
|
5851
5858
|
};
|
|
5852
5859
|
|
|
5853
|
-
// bazel-out/
|
|
5860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5854
5861
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5855
5862
|
|
|
5856
|
-
// bazel-out/
|
|
5863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5857
5864
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5858
5865
|
var TemplateCheckWithVisitor = class {
|
|
5859
5866
|
run(ctx, component, template) {
|
|
@@ -5930,7 +5937,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5930
5937
|
}
|
|
5931
5938
|
};
|
|
5932
5939
|
|
|
5933
|
-
// bazel-out/
|
|
5940
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5934
5941
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5935
5942
|
constructor() {
|
|
5936
5943
|
super(...arguments);
|
|
@@ -5955,7 +5962,7 @@ var factory = {
|
|
|
5955
5962
|
create: () => new InvalidBananaInBoxCheck()
|
|
5956
5963
|
};
|
|
5957
5964
|
|
|
5958
|
-
// bazel-out/
|
|
5965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
5959
5966
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
5960
5967
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
5961
5968
|
["ngIf", "NgIf"],
|
|
@@ -6000,7 +6007,7 @@ var factory2 = {
|
|
|
6000
6007
|
}
|
|
6001
6008
|
};
|
|
6002
6009
|
|
|
6003
|
-
// bazel-out/
|
|
6010
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6004
6011
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6005
6012
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6006
6013
|
constructor() {
|
|
@@ -6033,7 +6040,7 @@ var factory3 = {
|
|
|
6033
6040
|
create: () => new MissingNgForOfLetCheck()
|
|
6034
6041
|
};
|
|
6035
6042
|
|
|
6036
|
-
// bazel-out/
|
|
6043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6037
6044
|
import { Binary } from "@angular/compiler";
|
|
6038
6045
|
import ts29 from "typescript";
|
|
6039
6046
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6078,7 +6085,7 @@ var factory4 = {
|
|
|
6078
6085
|
}
|
|
6079
6086
|
};
|
|
6080
6087
|
|
|
6081
|
-
// bazel-out/
|
|
6088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6082
6089
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6083
6090
|
import ts30 from "typescript";
|
|
6084
6091
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6124,7 +6131,7 @@ var factory5 = {
|
|
|
6124
6131
|
}
|
|
6125
6132
|
};
|
|
6126
6133
|
|
|
6127
|
-
// bazel-out/
|
|
6134
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6128
6135
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6129
6136
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6130
6137
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6148,7 +6155,7 @@ var factory6 = {
|
|
|
6148
6155
|
create: () => new SuffixNotSupportedCheck()
|
|
6149
6156
|
};
|
|
6150
6157
|
|
|
6151
|
-
// bazel-out/
|
|
6158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6152
6159
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6153
6160
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6154
6161
|
constructor() {
|
|
@@ -6187,10 +6194,10 @@ var factory7 = {
|
|
|
6187
6194
|
create: () => new TextAttributeNotBindingSpec()
|
|
6188
6195
|
};
|
|
6189
6196
|
|
|
6190
|
-
// bazel-out/
|
|
6197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6191
6198
|
import ts31 from "typescript";
|
|
6192
6199
|
|
|
6193
|
-
// bazel-out/
|
|
6200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6194
6201
|
var DiagnosticCategoryLabel;
|
|
6195
6202
|
(function(DiagnosticCategoryLabel2) {
|
|
6196
6203
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6198,7 +6205,7 @@ var DiagnosticCategoryLabel;
|
|
|
6198
6205
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6199
6206
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6200
6207
|
|
|
6201
|
-
// bazel-out/
|
|
6208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6202
6209
|
var ExtendedTemplateCheckerImpl = class {
|
|
6203
6210
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6204
6211
|
var _a, _b, _c, _d, _e;
|
|
@@ -6251,7 +6258,7 @@ function assertNever(value) {
|
|
|
6251
6258
|
${value}`);
|
|
6252
6259
|
}
|
|
6253
6260
|
|
|
6254
|
-
// bazel-out/
|
|
6261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6255
6262
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6256
6263
|
factory,
|
|
6257
6264
|
factory4,
|
|
@@ -6262,7 +6269,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6262
6269
|
factory6
|
|
6263
6270
|
];
|
|
6264
6271
|
|
|
6265
|
-
// bazel-out/
|
|
6272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6266
6273
|
var CompilationTicketKind;
|
|
6267
6274
|
(function(CompilationTicketKind2) {
|
|
6268
6275
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6962,7 +6969,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6962
6969
|
return versions;
|
|
6963
6970
|
}
|
|
6964
6971
|
|
|
6965
|
-
// bazel-out/
|
|
6972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6966
6973
|
import ts33 from "typescript";
|
|
6967
6974
|
var DelegatingCompilerHost2 = class {
|
|
6968
6975
|
constructor(delegate) {
|
|
@@ -7106,7 +7113,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7106
7113
|
}
|
|
7107
7114
|
};
|
|
7108
7115
|
|
|
7109
|
-
// bazel-out/
|
|
7116
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7110
7117
|
var NgtscProgram = class {
|
|
7111
7118
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7112
7119
|
this.options = options;
|
|
@@ -7315,15 +7322,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7315
7322
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7316
7323
|
}
|
|
7317
7324
|
|
|
7318
|
-
// bazel-out/
|
|
7325
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7319
7326
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7320
7327
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7321
7328
|
}
|
|
7322
7329
|
|
|
7323
|
-
// bazel-out/
|
|
7330
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7324
7331
|
import ts36 from "typescript";
|
|
7325
7332
|
|
|
7326
|
-
// bazel-out/
|
|
7333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7327
7334
|
import ts35 from "typescript";
|
|
7328
7335
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
7329
7336
|
function createMessageDiagnostic(messageText) {
|
|
@@ -7338,7 +7345,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7338
7345
|
};
|
|
7339
7346
|
}
|
|
7340
7347
|
|
|
7341
|
-
// bazel-out/
|
|
7348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7342
7349
|
var defaultFormatHost = {
|
|
7343
7350
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7344
7351
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7553,4 +7560,4 @@ export {
|
|
|
7553
7560
|
* found in the LICENSE file at https://angular.io/license
|
|
7554
7561
|
*/
|
|
7555
7562
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7556
|
-
//# sourceMappingURL=chunk-
|
|
7563
|
+
//# sourceMappingURL=chunk-EYTHD6RB.js.map
|