@angular/compiler-cli 16.0.0 → 16.0.2
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-DZ2JDFLR.js → chunk-2KHZXNEI.js} +31 -31
- package/bundles/{chunk-BZAIS6C3.js → chunk-64MYZ5SD.js} +5 -5
- package/bundles/{chunk-HJOPJLIM.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-WL4F4VQG.js → chunk-B6WD2R2T.js} +21 -21
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-SL3W33EA.js → chunk-HE7H76I4.js} +5 -5
- package/bundles/{chunk-AHPF5263.js → chunk-JI4NJHOK.js} +84 -82
- package/bundles/{chunk-AHPF5263.js.map → chunk-JI4NJHOK.js.map} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-UNR3CTVT.js → chunk-T2BBDUF3.js} +14 -9
- package/bundles/chunk-T2BBDUF3.js.map +6 -0
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-53CCHRBH.js → chunk-UUUQF5ZZ.js} +99 -96
- package/bundles/chunk-UUUQF5ZZ.js.map +6 -0
- package/bundles/{chunk-ABPMSM4T.js → chunk-VLCBVJOY.js} +56 -12
- package/bundles/chunk-VLCBVJOY.js.map +6 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +1 -1
- 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/package.json +2 -2
- package/src/ngtsc/reflection/src/host.d.ts +9 -1
- package/src/ngtsc/transform/src/api.d.ts +3 -3
- package/src/ngtsc/transform/src/declaration.d.ts +4 -4
- package/src/ngtsc/translator/src/type_translator.d.ts +3 -34
- package/src/ngtsc/typecheck/src/environment.d.ts +7 -1
- package/bundles/chunk-53CCHRBH.js.map +0 -6
- package/bundles/chunk-ABPMSM4T.js.map +0 -6
- package/bundles/chunk-UNR3CTVT.js.map +0 -6
- /package/bundles/{chunk-DZ2JDFLR.js.map → chunk-2KHZXNEI.js.map} +0 -0
- /package/bundles/{chunk-BZAIS6C3.js.map → chunk-64MYZ5SD.js.map} +0 -0
- /package/bundles/{chunk-HJOPJLIM.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-WL4F4VQG.js.map → chunk-B6WD2R2T.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-SL3W33EA.js.map → chunk-HE7H76I4.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-JI4NJHOK.js";
|
|
40
40
|
import {
|
|
41
41
|
TypeScriptReflectionHost,
|
|
42
42
|
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-T2BBDUF3.js";
|
|
44
44
|
import {
|
|
45
45
|
ImportManager,
|
|
46
46
|
translateExpression,
|
|
47
47
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VLCBVJOY.js";
|
|
49
49
|
import {
|
|
50
50
|
AbsoluteModuleStrategy,
|
|
51
51
|
AliasStrategy,
|
|
@@ -84,14 +84,14 @@ import {
|
|
|
84
84
|
relativePathBetween,
|
|
85
85
|
replaceTsWithNgInErrors,
|
|
86
86
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-B6WD2R2T.js";
|
|
88
88
|
import {
|
|
89
89
|
ActivePerfRecorder,
|
|
90
90
|
DelegatingPerfRecorder,
|
|
91
91
|
PerfCheckpoint,
|
|
92
92
|
PerfEvent,
|
|
93
93
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-7PCPPTTO.js";
|
|
95
95
|
import {
|
|
96
96
|
LogicalFileSystem,
|
|
97
97
|
absoluteFrom,
|
|
@@ -101,9 +101,9 @@ import {
|
|
|
101
101
|
getSourceFileOrError,
|
|
102
102
|
join,
|
|
103
103
|
resolve
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-TBUSSXUA.js";
|
|
105
105
|
|
|
106
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
109
|
var SOURCE = "angular";
|
|
@@ -121,7 +121,7 @@ var EmitFlags;
|
|
|
121
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
125
|
import ts from "typescript";
|
|
126
126
|
var wrapHostForTest = null;
|
|
127
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +131,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
131
|
return tsHost;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
135
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
136
|
import ts32 from "typescript";
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
139
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
140
|
import * as path from "path";
|
|
141
141
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +186,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
190
|
import ts2 from "typescript";
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
193
|
function toNumbers(value) {
|
|
194
194
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
195
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,7 +224,7 @@ function compareVersions(v1, v2) {
|
|
|
224
224
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
228
228
|
var MIN_TS_VERSION = "4.9.3";
|
|
229
229
|
var MAX_TS_VERSION = "5.1.0";
|
|
230
230
|
var tsVersion = ts2.version;
|
|
@@ -237,10 +237,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
237
237
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
// bazel-out/
|
|
240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
241
|
import ts30 from "typescript";
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
244
|
var CycleAnalyzer = class {
|
|
245
245
|
constructor(importGraph) {
|
|
246
246
|
this.importGraph = importGraph;
|
|
@@ -311,7 +311,7 @@ var Cycle = class {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
315
|
import ts3 from "typescript";
|
|
316
316
|
var ImportGraph = class {
|
|
317
317
|
constructor(checker, perf) {
|
|
@@ -403,7 +403,7 @@ var Found = class {
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
407
|
import ts4 from "typescript";
|
|
408
408
|
var FlatIndexGenerator = class {
|
|
409
409
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
-
// bazel-out/
|
|
431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
434
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
444
|
return resolvedEntryPoint;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
448
|
import ts5 from "typescript";
|
|
449
449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
450
|
const diagnostics = [];
|
|
@@ -524,7 +524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
528
|
var ReferenceGraph = class {
|
|
529
529
|
constructor() {
|
|
530
530
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +578,7 @@ var ReferenceGraph = class {
|
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
582
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
583
|
var UpdateMode;
|
|
584
584
|
(function(UpdateMode2) {
|
|
@@ -586,13 +586,13 @@ var UpdateMode;
|
|
|
586
586
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
587
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
590
|
import ts7 from "typescript";
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
593
|
import ts6 from "typescript";
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
596
|
var NgExtension = Symbol("NgExtension");
|
|
597
597
|
function isExtended(sf) {
|
|
598
598
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +652,13 @@ function retagTsFile(sf) {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// bazel-out/
|
|
655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
656
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
657
|
function makeShimFileName(fileName, suffix) {
|
|
658
658
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
662
|
var ShimAdapter = class {
|
|
663
663
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
664
|
this.delegate = delegate;
|
|
@@ -753,7 +753,7 @@ var ShimAdapter = class {
|
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
757
|
var ShimReferenceTagger = class {
|
|
758
758
|
constructor(shimExtensions) {
|
|
759
759
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +787,7 @@ var ShimReferenceTagger = class {
|
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
-
// bazel-out/
|
|
790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
791
|
var DelegatingCompilerHost = class {
|
|
792
792
|
constructor(delegate) {
|
|
793
793
|
this.delegate = delegate;
|
|
@@ -900,7 +900,7 @@ var TsCreateProgramDriver = class {
|
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
904
904
|
var FileDependencyGraph = class {
|
|
905
905
|
constructor() {
|
|
906
906
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -967,7 +967,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
967
967
|
return false;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
// bazel-out/
|
|
970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
971
971
|
var IncrementalStateKind;
|
|
972
972
|
(function(IncrementalStateKind2) {
|
|
973
973
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -975,7 +975,7 @@ var IncrementalStateKind;
|
|
|
975
975
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
976
976
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
977
977
|
|
|
978
|
-
// bazel-out/
|
|
978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
979
979
|
var PhaseKind;
|
|
980
980
|
(function(PhaseKind2) {
|
|
981
981
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1176,7 +1176,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
// bazel-out/
|
|
1179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1180
1180
|
var TrackedIncrementalBuildStrategy = class {
|
|
1181
1181
|
constructor() {
|
|
1182
1182
|
this.state = null;
|
|
@@ -1212,7 +1212,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1214
1214
|
|
|
1215
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1216
1216
|
var IdentifierKind;
|
|
1217
1217
|
(function(IdentifierKind2) {
|
|
1218
1218
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1230,7 +1230,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1234
1234
|
var IndexingContext = class {
|
|
1235
1235
|
constructor() {
|
|
1236
1236
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1240,10 +1240,10 @@ var IndexingContext = class {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1244
1244
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1247
1247
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1248
1248
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1249
1249
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1480,7 +1480,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1480
1480
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1484
1484
|
function generateAnalysis(context) {
|
|
1485
1485
|
const analysis = /* @__PURE__ */ new Map();
|
|
1486
1486
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1516,7 +1516,7 @@ function generateAnalysis(context) {
|
|
|
1516
1516
|
return analysis;
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1520
1520
|
var NgModuleIndexImpl = class {
|
|
1521
1521
|
constructor(metaReader, localReader) {
|
|
1522
1522
|
this.metaReader = metaReader;
|
|
@@ -1605,7 +1605,7 @@ var NgModuleIndexImpl = class {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
// bazel-out/
|
|
1608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1609
1609
|
import ts8 from "typescript";
|
|
1610
1610
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1611
1611
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1751,7 +1751,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1755
1755
|
var StandaloneComponentScopeReader = class {
|
|
1756
1756
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1757
1757
|
this.metaReader = metaReader;
|
|
@@ -1829,10 +1829,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1833
1833
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1834
1834
|
|
|
1835
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1836
1836
|
import ts9 from "typescript";
|
|
1837
1837
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1838
1838
|
var _a;
|
|
@@ -1939,7 +1939,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1939
1939
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
// bazel-out/
|
|
1942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1943
1943
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1944
1944
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1945
1945
|
function getTemplateId(clazz) {
|
|
@@ -1956,11 +1956,11 @@ function allocateTemplateId(sf) {
|
|
|
1956
1956
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
|
-
// bazel-out/
|
|
1959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1960
1960
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1961
1961
|
import ts11 from "typescript";
|
|
1962
1962
|
|
|
1963
|
-
// bazel-out/
|
|
1963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1964
1964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1965
1965
|
import ts10 from "typescript";
|
|
1966
1966
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2090,7 +2090,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2090
2090
|
}) || false;
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2094
2094
|
var CompletionEngine = class {
|
|
2095
2095
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2096
2096
|
this.tcb = tcb;
|
|
@@ -2247,10 +2247,10 @@ var CompletionEngine = class {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
2249
|
|
|
2250
|
-
// bazel-out/
|
|
2250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2251
2251
|
import ts25 from "typescript";
|
|
2252
2252
|
|
|
2253
|
-
// bazel-out/
|
|
2253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2254
2254
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2255
2255
|
import ts12 from "typescript";
|
|
2256
2256
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2303,11 +2303,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2307
2307
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2308
2308
|
import ts18 from "typescript";
|
|
2309
2309
|
|
|
2310
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2311
2311
|
import ts13 from "typescript";
|
|
2312
2312
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2313
2313
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2381,16 +2381,16 @@ function isAccessExpression(node) {
|
|
|
2381
2381
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2385
2385
|
import ts17 from "typescript";
|
|
2386
2386
|
|
|
2387
|
-
// bazel-out/
|
|
2387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2388
2388
|
import ts16 from "typescript";
|
|
2389
2389
|
|
|
2390
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2391
2391
|
import ts15 from "typescript";
|
|
2392
2392
|
|
|
2393
|
-
// bazel-out/
|
|
2393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2394
2394
|
import ts14 from "typescript";
|
|
2395
2395
|
var INELIGIBLE = {};
|
|
2396
2396
|
function canEmitType(type, canEmit) {
|
|
@@ -2465,7 +2465,7 @@ var TypeEmitter = class {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
};
|
|
2467
2467
|
|
|
2468
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2469
2469
|
var TypeParameterEmitter = class {
|
|
2470
2470
|
constructor(typeParameters, reflector) {
|
|
2471
2471
|
this.typeParameters = typeParameters;
|
|
@@ -2542,7 +2542,7 @@ var TypeParameterEmitter = class {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
};
|
|
2544
2544
|
|
|
2545
|
-
// bazel-out/
|
|
2545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2546
2546
|
var TcbInliningRequirement;
|
|
2547
2547
|
(function(TcbInliningRequirement2) {
|
|
2548
2548
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2622,7 +2622,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2622
2622
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2623
2623
|
}
|
|
2624
2624
|
|
|
2625
|
-
// bazel-out/
|
|
2625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2626
2626
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2627
2627
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2628
2628
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2734,7 +2734,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2734
2734
|
});
|
|
2735
2735
|
}
|
|
2736
2736
|
|
|
2737
|
-
// bazel-out/
|
|
2737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2738
2738
|
var Environment = class {
|
|
2739
2739
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2740
2740
|
this.config = config;
|
|
@@ -2808,7 +2808,7 @@ var Environment = class {
|
|
|
2808
2808
|
referenceType(ref) {
|
|
2809
2809
|
const ngExpr = this.refEmitter.emit(ref, this.contextFile, ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports);
|
|
2810
2810
|
assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "symbol");
|
|
2811
|
-
return translateType(new ExpressionType(ngExpr.expression), this.importManager);
|
|
2811
|
+
return translateType(new ExpressionType(ngExpr.expression), this.contextFile, this.reflector, this.refEmitter, this.importManager);
|
|
2812
2812
|
}
|
|
2813
2813
|
emitTypeParameters(declaration) {
|
|
2814
2814
|
const emitter = new TypeParameterEmitter(declaration.typeParameters, this.reflector);
|
|
@@ -2816,7 +2816,10 @@ var Environment = class {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
referenceExternalType(moduleName, name, typeParams) {
|
|
2818
2818
|
const external = new ExternalExpr({ moduleName, name });
|
|
2819
|
-
return translateType(new ExpressionType(external, TypeModifier.None, typeParams), this.importManager);
|
|
2819
|
+
return translateType(new ExpressionType(external, TypeModifier.None, typeParams), this.contextFile, this.reflector, this.refEmitter, this.importManager);
|
|
2820
|
+
}
|
|
2821
|
+
referenceTransplantedType(type) {
|
|
2822
|
+
return translateType(type, this.contextFile, this.reflector, this.refEmitter, this.importManager);
|
|
2820
2823
|
}
|
|
2821
2824
|
getPreludeStatements() {
|
|
2822
2825
|
return [
|
|
@@ -2826,7 +2829,7 @@ var Environment = class {
|
|
|
2826
2829
|
}
|
|
2827
2830
|
};
|
|
2828
2831
|
|
|
2829
|
-
// bazel-out/
|
|
2832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2830
2833
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2831
2834
|
import ts19 from "typescript";
|
|
2832
2835
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2963,7 +2966,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2963
2966
|
};
|
|
2964
2967
|
}
|
|
2965
2968
|
|
|
2966
|
-
// bazel-out/
|
|
2969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2967
2970
|
import ts20 from "typescript";
|
|
2968
2971
|
var TypeCheckShimGenerator = class {
|
|
2969
2972
|
constructor() {
|
|
@@ -2981,11 +2984,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2981
2984
|
}
|
|
2982
2985
|
};
|
|
2983
2986
|
|
|
2984
|
-
// bazel-out/
|
|
2987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2985
2988
|
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";
|
|
2986
2989
|
import ts23 from "typescript";
|
|
2987
2990
|
|
|
2988
|
-
// bazel-out/
|
|
2991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2989
2992
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2990
2993
|
import ts21 from "typescript";
|
|
2991
2994
|
function wrapForDiagnostics(expr) {
|
|
@@ -3031,7 +3034,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3031
3034
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3032
3035
|
}
|
|
3033
3036
|
|
|
3034
|
-
// bazel-out/
|
|
3037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3035
3038
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3036
3039
|
import ts22 from "typescript";
|
|
3037
3040
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3364,7 +3367,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3364
3367
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3365
3368
|
})();
|
|
3366
3369
|
|
|
3367
|
-
// bazel-out/
|
|
3370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3368
3371
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3369
3372
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3370
3373
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3388,7 +3391,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3388
3391
|
}
|
|
3389
3392
|
};
|
|
3390
3393
|
|
|
3391
|
-
// bazel-out/
|
|
3394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3392
3395
|
var TcbGenericContextBehavior;
|
|
3393
3396
|
(function(TcbGenericContextBehavior2) {
|
|
3394
3397
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4503,7 +4506,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4503
4506
|
}
|
|
4504
4507
|
};
|
|
4505
4508
|
|
|
4506
|
-
// bazel-out/
|
|
4509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4507
4510
|
import ts24 from "typescript";
|
|
4508
4511
|
var TypeCheckFile = class extends Environment {
|
|
4509
4512
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4539,7 +4542,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4539
4542
|
}
|
|
4540
4543
|
};
|
|
4541
4544
|
|
|
4542
|
-
// bazel-out/
|
|
4545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4543
4546
|
var InliningMode;
|
|
4544
4547
|
(function(InliningMode2) {
|
|
4545
4548
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4777,10 +4780,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4777
4780
|
return splits;
|
|
4778
4781
|
}
|
|
4779
4782
|
|
|
4780
|
-
// bazel-out/
|
|
4783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4781
4784
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4782
4785
|
|
|
4783
|
-
// bazel-out/
|
|
4786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4784
4787
|
var LF_CHAR = 10;
|
|
4785
4788
|
var CR_CHAR = 13;
|
|
4786
4789
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4821,7 +4824,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4821
4824
|
return low - 1;
|
|
4822
4825
|
}
|
|
4823
4826
|
|
|
4824
|
-
// bazel-out/
|
|
4827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4825
4828
|
var TemplateSource = class {
|
|
4826
4829
|
constructor(mapping, file) {
|
|
4827
4830
|
this.mapping = mapping;
|
|
@@ -4872,7 +4875,7 @@ var TemplateSourceManager = class {
|
|
|
4872
4875
|
}
|
|
4873
4876
|
};
|
|
4874
4877
|
|
|
4875
|
-
// bazel-out/
|
|
4878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4876
4879
|
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";
|
|
4877
4880
|
import ts26 from "typescript";
|
|
4878
4881
|
var SymbolBuilder = class {
|
|
@@ -5356,7 +5359,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5356
5359
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5357
5360
|
}
|
|
5358
5361
|
|
|
5359
|
-
// bazel-out/
|
|
5362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5360
5363
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5361
5364
|
var TemplateTypeCheckerImpl = class {
|
|
5362
5365
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6050,10 +6053,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6050
6053
|
}
|
|
6051
6054
|
};
|
|
6052
6055
|
|
|
6053
|
-
// bazel-out/
|
|
6056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6054
6057
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6055
6058
|
|
|
6056
|
-
// bazel-out/
|
|
6059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6057
6060
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6058
6061
|
var TemplateCheckWithVisitor = class {
|
|
6059
6062
|
run(ctx, component, template) {
|
|
@@ -6130,7 +6133,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6130
6133
|
}
|
|
6131
6134
|
};
|
|
6132
6135
|
|
|
6133
|
-
// bazel-out/
|
|
6136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6134
6137
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6135
6138
|
constructor() {
|
|
6136
6139
|
super(...arguments);
|
|
@@ -6155,7 +6158,7 @@ var factory = {
|
|
|
6155
6158
|
create: () => new InvalidBananaInBoxCheck()
|
|
6156
6159
|
};
|
|
6157
6160
|
|
|
6158
|
-
// bazel-out/
|
|
6161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6159
6162
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6160
6163
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6161
6164
|
["ngIf", "NgIf"],
|
|
@@ -6200,7 +6203,7 @@ var factory2 = {
|
|
|
6200
6203
|
}
|
|
6201
6204
|
};
|
|
6202
6205
|
|
|
6203
|
-
// bazel-out/
|
|
6206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6204
6207
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6205
6208
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6206
6209
|
constructor() {
|
|
@@ -6233,7 +6236,7 @@ var factory3 = {
|
|
|
6233
6236
|
create: () => new MissingNgForOfLetCheck()
|
|
6234
6237
|
};
|
|
6235
6238
|
|
|
6236
|
-
// bazel-out/
|
|
6239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6237
6240
|
import { Binary } from "@angular/compiler";
|
|
6238
6241
|
import ts27 from "typescript";
|
|
6239
6242
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6278,7 +6281,7 @@ var factory4 = {
|
|
|
6278
6281
|
}
|
|
6279
6282
|
};
|
|
6280
6283
|
|
|
6281
|
-
// bazel-out/
|
|
6284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6282
6285
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6283
6286
|
import ts28 from "typescript";
|
|
6284
6287
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6324,7 +6327,7 @@ var factory5 = {
|
|
|
6324
6327
|
}
|
|
6325
6328
|
};
|
|
6326
6329
|
|
|
6327
|
-
// bazel-out/
|
|
6330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6328
6331
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6329
6332
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6330
6333
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6348,7 +6351,7 @@ var factory6 = {
|
|
|
6348
6351
|
create: () => new SuffixNotSupportedCheck()
|
|
6349
6352
|
};
|
|
6350
6353
|
|
|
6351
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6352
6355
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6353
6356
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6354
6357
|
constructor() {
|
|
@@ -6387,10 +6390,10 @@ var factory7 = {
|
|
|
6387
6390
|
create: () => new TextAttributeNotBindingSpec()
|
|
6388
6391
|
};
|
|
6389
6392
|
|
|
6390
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6391
6394
|
import ts29 from "typescript";
|
|
6392
6395
|
|
|
6393
|
-
// bazel-out/
|
|
6396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6394
6397
|
var DiagnosticCategoryLabel;
|
|
6395
6398
|
(function(DiagnosticCategoryLabel2) {
|
|
6396
6399
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6398,7 +6401,7 @@ var DiagnosticCategoryLabel;
|
|
|
6398
6401
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6399
6402
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6400
6403
|
|
|
6401
|
-
// bazel-out/
|
|
6404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6402
6405
|
var ExtendedTemplateCheckerImpl = class {
|
|
6403
6406
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6404
6407
|
var _a, _b, _c, _d, _e;
|
|
@@ -6451,7 +6454,7 @@ function assertNever(value) {
|
|
|
6451
6454
|
${value}`);
|
|
6452
6455
|
}
|
|
6453
6456
|
|
|
6454
|
-
// bazel-out/
|
|
6457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6455
6458
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6456
6459
|
factory,
|
|
6457
6460
|
factory4,
|
|
@@ -6462,7 +6465,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6462
6465
|
factory6
|
|
6463
6466
|
];
|
|
6464
6467
|
|
|
6465
|
-
// bazel-out/
|
|
6468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6466
6469
|
var CompilationTicketKind;
|
|
6467
6470
|
(function(CompilationTicketKind2) {
|
|
6468
6471
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6735,7 +6738,7 @@ var NgCompiler = class {
|
|
|
6735
6738
|
];
|
|
6736
6739
|
const afterDeclarations = [];
|
|
6737
6740
|
if (compilation.dtsTransforms !== null) {
|
|
6738
|
-
afterDeclarations.push(declarationTransformFactory(compilation.dtsTransforms, importRewriter));
|
|
6741
|
+
afterDeclarations.push(declarationTransformFactory(compilation.dtsTransforms, compilation.reflector, compilation.refEmitter, importRewriter));
|
|
6739
6742
|
}
|
|
6740
6743
|
if (compilation.aliasingHost !== null && compilation.aliasingHost.aliasExportsInDts) {
|
|
6741
6744
|
afterDeclarations.push(aliasTransformFactory(compilation.traitCompiler.exportStatements));
|
|
@@ -7197,7 +7200,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7197
7200
|
return versions;
|
|
7198
7201
|
}
|
|
7199
7202
|
|
|
7200
|
-
// bazel-out/
|
|
7203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7201
7204
|
import ts31 from "typescript";
|
|
7202
7205
|
var DelegatingCompilerHost2 = class {
|
|
7203
7206
|
constructor(delegate) {
|
|
@@ -7330,7 +7333,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7330
7333
|
}
|
|
7331
7334
|
};
|
|
7332
7335
|
|
|
7333
|
-
// bazel-out/
|
|
7336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7334
7337
|
var NgtscProgram = class {
|
|
7335
7338
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7336
7339
|
this.options = options;
|
|
@@ -7548,15 +7551,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7548
7551
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7549
7552
|
}
|
|
7550
7553
|
|
|
7551
|
-
// bazel-out/
|
|
7554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7552
7555
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7553
7556
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7554
7557
|
}
|
|
7555
7558
|
|
|
7556
|
-
// bazel-out/
|
|
7559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7557
7560
|
import ts34 from "typescript";
|
|
7558
7561
|
|
|
7559
|
-
// bazel-out/
|
|
7562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7560
7563
|
import ts33 from "typescript";
|
|
7561
7564
|
function createMessageDiagnostic(messageText) {
|
|
7562
7565
|
return {
|
|
@@ -7570,7 +7573,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7570
7573
|
};
|
|
7571
7574
|
}
|
|
7572
7575
|
|
|
7573
|
-
// bazel-out/
|
|
7576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7574
7577
|
var defaultFormatHost = {
|
|
7575
7578
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7576
7579
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7784,4 +7787,4 @@ export {
|
|
|
7784
7787
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7785
7788
|
* found in the LICENSE file at https://angular.io/license
|
|
7786
7789
|
*/
|
|
7787
|
-
//# sourceMappingURL=chunk-
|
|
7790
|
+
//# sourceMappingURL=chunk-UUUQF5ZZ.js.map
|