@angular/compiler-cli 16.0.0-next.0 → 16.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-PSGRCFPQ.js → chunk-6PDKXFWN.js} +116 -158
- package/bundles/chunk-6PDKXFWN.js.map +6 -0
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-IS6KZYEA.js → chunk-IE2WWKOE.js} +111 -104
- package/bundles/chunk-IE2WWKOE.js.map +6 -0
- package/bundles/{chunk-6CARGXRJ.js → chunk-JEQIMWEA.js} +31 -31
- package/bundles/{chunk-JHMH3CX2.js → chunk-JKV3J53A.js} +5 -5
- package/bundles/{chunk-JHMH3CX2.js.map → chunk-JKV3J53A.js.map} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-54RHUHYB.js → chunk-N6MSUQVH.js} +5 -5
- package/bundles/{chunk-4TCRZYAK.js → chunk-Q2TY6LB3.js} +5 -5
- package/bundles/{chunk-EDWIBG7R.js → chunk-QQGJEWBQ.js} +6 -6
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-K2A5WD7L.js → chunk-TK3GHMT6.js} +21 -21
- package/bundles/{chunk-2DMH5JXJ.js → chunk-XS6XKZQP.js} +93 -85
- package/bundles/chunk-XS6XKZQP.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/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 +4 -4
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/core/src/host.d.ts +3 -1
- package/src/ngtsc/incremental/semantic_graph/src/graph.d.ts +1 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +3 -1
- package/src/ngtsc/transform/src/compilation.d.ts +1 -1
- package/bundles/chunk-2DMH5JXJ.js.map +0 -6
- package/bundles/chunk-IS6KZYEA.js.map +0 -6
- package/bundles/chunk-PSGRCFPQ.js.map +0 -6
- package/src/ngtsc/ts_compatibility/index.d.ts +0 -8
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +0 -45
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-6CARGXRJ.js.map → chunk-JEQIMWEA.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-54RHUHYB.js.map → chunk-N6MSUQVH.js.map} +0 -0
- /package/bundles/{chunk-4TCRZYAK.js.map → chunk-Q2TY6LB3.js.map} +0 -0
- /package/bundles/{chunk-EDWIBG7R.js.map → chunk-QQGJEWBQ.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-K2A5WD7L.js.map → chunk-TK3GHMT6.js.map} +0 -0
|
@@ -35,18 +35,16 @@ import {
|
|
|
35
35
|
aliasTransformFactory,
|
|
36
36
|
declarationTransformFactory,
|
|
37
37
|
ivyTransformFactory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XS6XKZQP.js";
|
|
39
39
|
import {
|
|
40
40
|
TypeScriptReflectionHost,
|
|
41
41
|
isNamedClassDeclaration
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QQGJEWBQ.js";
|
|
43
43
|
import {
|
|
44
44
|
ImportManager,
|
|
45
|
-
createFunctionDeclaration,
|
|
46
|
-
createParameterDeclaration,
|
|
47
45
|
translateExpression,
|
|
48
46
|
translateType
|
|
49
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6PDKXFWN.js";
|
|
50
48
|
import {
|
|
51
49
|
AbsoluteModuleStrategy,
|
|
52
50
|
AliasStrategy,
|
|
@@ -84,14 +82,14 @@ import {
|
|
|
84
82
|
relativePathBetween,
|
|
85
83
|
replaceTsWithNgInErrors,
|
|
86
84
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-TK3GHMT6.js";
|
|
88
86
|
import {
|
|
89
87
|
ActivePerfRecorder,
|
|
90
88
|
DelegatingPerfRecorder,
|
|
91
89
|
PerfCheckpoint,
|
|
92
90
|
PerfEvent,
|
|
93
91
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-N6MSUQVH.js";
|
|
95
93
|
import {
|
|
96
94
|
LogicalFileSystem,
|
|
97
95
|
absoluteFrom,
|
|
@@ -101,9 +99,9 @@ import {
|
|
|
101
99
|
getSourceFileOrError,
|
|
102
100
|
join,
|
|
103
101
|
resolve
|
|
104
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-TBUSSXUA.js";
|
|
105
103
|
|
|
106
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
105
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
106
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
107
|
var SOURCE = "angular";
|
|
@@ -121,7 +119,7 @@ var EmitFlags;
|
|
|
121
119
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
120
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
121
|
|
|
124
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
123
|
import ts from "typescript";
|
|
126
124
|
var wrapHostForTest = null;
|
|
127
125
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +129,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
129
|
return tsHost;
|
|
132
130
|
}
|
|
133
131
|
|
|
134
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
133
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
134
|
import ts32 from "typescript";
|
|
137
135
|
|
|
138
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
137
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
138
|
import * as path from "path";
|
|
141
139
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +184,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
184
|
};
|
|
187
185
|
}
|
|
188
186
|
|
|
189
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
188
|
import ts2 from "typescript";
|
|
191
189
|
|
|
192
|
-
// bazel-out/
|
|
190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
191
|
function toNumbers(value) {
|
|
194
192
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
193
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,9 +222,9 @@ function compareVersions(v1, v2) {
|
|
|
224
222
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
// bazel-out/
|
|
228
|
-
var MIN_TS_VERSION = "4.
|
|
229
|
-
var MAX_TS_VERSION = "5.
|
|
225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
226
|
+
var MIN_TS_VERSION = "4.9.3";
|
|
227
|
+
var MAX_TS_VERSION = "5.1.0";
|
|
230
228
|
var tsVersion = ts2.version;
|
|
231
229
|
function checkVersion(version, minVersion, maxVersion) {
|
|
232
230
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -237,10 +235,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
237
235
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
// bazel-out/
|
|
238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
239
|
import ts30 from "typescript";
|
|
242
240
|
|
|
243
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
242
|
var CycleAnalyzer = class {
|
|
245
243
|
constructor(importGraph) {
|
|
246
244
|
this.importGraph = importGraph;
|
|
@@ -311,7 +309,7 @@ var Cycle = class {
|
|
|
311
309
|
}
|
|
312
310
|
};
|
|
313
311
|
|
|
314
|
-
// bazel-out/
|
|
312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
313
|
import ts3 from "typescript";
|
|
316
314
|
var ImportGraph = class {
|
|
317
315
|
constructor(checker, perf) {
|
|
@@ -403,7 +401,7 @@ var Found = class {
|
|
|
403
401
|
}
|
|
404
402
|
};
|
|
405
403
|
|
|
406
|
-
// bazel-out/
|
|
404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
405
|
import ts4 from "typescript";
|
|
408
406
|
var FlatIndexGenerator = class {
|
|
409
407
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +426,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
426
|
}
|
|
429
427
|
};
|
|
430
428
|
|
|
431
|
-
// bazel-out/
|
|
429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
430
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
431
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
432
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +442,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
442
|
return resolvedEntryPoint;
|
|
445
443
|
}
|
|
446
444
|
|
|
447
|
-
// bazel-out/
|
|
445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
446
|
import ts5 from "typescript";
|
|
449
447
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
448
|
const diagnostics = [];
|
|
@@ -524,7 +522,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
522
|
}
|
|
525
523
|
}
|
|
526
524
|
|
|
527
|
-
// bazel-out/
|
|
525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
526
|
var ReferenceGraph = class {
|
|
529
527
|
constructor() {
|
|
530
528
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +576,7 @@ var ReferenceGraph = class {
|
|
|
578
576
|
}
|
|
579
577
|
};
|
|
580
578
|
|
|
581
|
-
// bazel-out/
|
|
579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
580
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
581
|
var UpdateMode;
|
|
584
582
|
(function(UpdateMode2) {
|
|
@@ -586,13 +584,13 @@ var UpdateMode;
|
|
|
586
584
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
585
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
586
|
|
|
589
|
-
// bazel-out/
|
|
587
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
588
|
import ts7 from "typescript";
|
|
591
589
|
|
|
592
|
-
// bazel-out/
|
|
590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
591
|
import ts6 from "typescript";
|
|
594
592
|
|
|
595
|
-
// bazel-out/
|
|
593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
594
|
var NgExtension = Symbol("NgExtension");
|
|
597
595
|
function isExtended(sf) {
|
|
598
596
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +650,13 @@ function retagTsFile(sf) {
|
|
|
652
650
|
}
|
|
653
651
|
}
|
|
654
652
|
|
|
655
|
-
// bazel-out/
|
|
653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
654
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
655
|
function makeShimFileName(fileName, suffix) {
|
|
658
656
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
657
|
}
|
|
660
658
|
|
|
661
|
-
// bazel-out/
|
|
659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
660
|
var ShimAdapter = class {
|
|
663
661
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
662
|
this.delegate = delegate;
|
|
@@ -753,7 +751,7 @@ var ShimAdapter = class {
|
|
|
753
751
|
}
|
|
754
752
|
};
|
|
755
753
|
|
|
756
|
-
// bazel-out/
|
|
754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
755
|
var ShimReferenceTagger = class {
|
|
758
756
|
constructor(shimExtensions) {
|
|
759
757
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +785,7 @@ var ShimReferenceTagger = class {
|
|
|
787
785
|
}
|
|
788
786
|
};
|
|
789
787
|
|
|
790
|
-
// bazel-out/
|
|
788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
789
|
var DelegatingCompilerHost = class {
|
|
792
790
|
constructor(delegate) {
|
|
793
791
|
this.delegate = delegate;
|
|
@@ -812,6 +810,8 @@ var DelegatingCompilerHost = class {
|
|
|
812
810
|
this.useCaseSensitiveFileNames = this.delegateMethod("useCaseSensitiveFileNames");
|
|
813
811
|
this.getModuleResolutionCache = this.delegateMethod("getModuleResolutionCache");
|
|
814
812
|
this.hasInvalidatedResolutions = this.delegateMethod("hasInvalidatedResolutions");
|
|
813
|
+
this.resolveModuleNameLiterals = this.delegateMethod("resolveModuleNameLiterals");
|
|
814
|
+
this.resolveTypeReferenceDirectiveReferences = this.delegateMethod("resolveTypeReferenceDirectiveReferences");
|
|
815
815
|
}
|
|
816
816
|
delegateMethod(name) {
|
|
817
817
|
return this.delegate[name] !== void 0 ? this.delegate[name].bind(this.delegate) : void 0;
|
|
@@ -898,7 +898,7 @@ var TsCreateProgramDriver = class {
|
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
900
|
|
|
901
|
-
// bazel-out/
|
|
901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
902
902
|
var FileDependencyGraph = class {
|
|
903
903
|
constructor() {
|
|
904
904
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -965,7 +965,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
965
965
|
return false;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
// bazel-out/
|
|
968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
969
969
|
var IncrementalStateKind;
|
|
970
970
|
(function(IncrementalStateKind2) {
|
|
971
971
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -973,7 +973,7 @@ var IncrementalStateKind;
|
|
|
973
973
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
974
974
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
975
975
|
|
|
976
|
-
// bazel-out/
|
|
976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
977
977
|
var PhaseKind;
|
|
978
978
|
(function(PhaseKind2) {
|
|
979
979
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1174,7 +1174,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
|
-
// bazel-out/
|
|
1177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1178
1178
|
var TrackedIncrementalBuildStrategy = class {
|
|
1179
1179
|
constructor() {
|
|
1180
1180
|
this.state = null;
|
|
@@ -1210,7 +1210,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1210
1210
|
};
|
|
1211
1211
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1212
1212
|
|
|
1213
|
-
// bazel-out/
|
|
1213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1214
1214
|
var IdentifierKind;
|
|
1215
1215
|
(function(IdentifierKind2) {
|
|
1216
1216
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1228,7 +1228,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
};
|
|
1230
1230
|
|
|
1231
|
-
// bazel-out/
|
|
1231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1232
1232
|
var IndexingContext = class {
|
|
1233
1233
|
constructor() {
|
|
1234
1234
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1238,10 +1238,10 @@ var IndexingContext = class {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
1240
|
|
|
1241
|
-
// bazel-out/
|
|
1241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1242
1242
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1243
1243
|
|
|
1244
|
-
// bazel-out/
|
|
1244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1245
1245
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1246
1246
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1247
1247
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1478,7 +1478,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1478
1478
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1482
1482
|
function generateAnalysis(context) {
|
|
1483
1483
|
const analysis = /* @__PURE__ */ new Map();
|
|
1484
1484
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1514,7 +1514,7 @@ function generateAnalysis(context) {
|
|
|
1514
1514
|
return analysis;
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
|
-
// bazel-out/
|
|
1517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1518
1518
|
var NgModuleIndexImpl = class {
|
|
1519
1519
|
constructor(metaReader, localReader) {
|
|
1520
1520
|
this.metaReader = metaReader;
|
|
@@ -1603,7 +1603,7 @@ var NgModuleIndexImpl = class {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
|
|
1606
|
-
// bazel-out/
|
|
1606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1607
1607
|
import ts8 from "typescript";
|
|
1608
1608
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1609
1609
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1749,7 +1749,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
|
-
// bazel-out/
|
|
1752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1753
1753
|
var StandaloneComponentScopeReader = class {
|
|
1754
1754
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1755
1755
|
this.metaReader = metaReader;
|
|
@@ -1827,10 +1827,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
// bazel-out/
|
|
1830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1831
1831
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1832
1832
|
|
|
1833
|
-
// bazel-out/
|
|
1833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1834
1834
|
import ts9 from "typescript";
|
|
1835
1835
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1836
1836
|
var _a;
|
|
@@ -1937,7 +1937,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1937
1937
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
|
-
// bazel-out/
|
|
1940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1941
1941
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1942
1942
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1943
1943
|
function getTemplateId(clazz) {
|
|
@@ -1954,11 +1954,11 @@ function allocateTemplateId(sf) {
|
|
|
1954
1954
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1958
1958
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1959
1959
|
import ts11 from "typescript";
|
|
1960
1960
|
|
|
1961
|
-
// bazel-out/
|
|
1961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1962
1962
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1963
1963
|
import ts10 from "typescript";
|
|
1964
1964
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2088,7 +2088,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2088
2088
|
}) || false;
|
|
2089
2089
|
}
|
|
2090
2090
|
|
|
2091
|
-
// bazel-out/
|
|
2091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2092
2092
|
var CompletionEngine = class {
|
|
2093
2093
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2094
2094
|
this.tcb = tcb;
|
|
@@ -2245,10 +2245,10 @@ var CompletionEngine = class {
|
|
|
2245
2245
|
}
|
|
2246
2246
|
};
|
|
2247
2247
|
|
|
2248
|
-
// bazel-out/
|
|
2248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2249
2249
|
import ts25 from "typescript";
|
|
2250
2250
|
|
|
2251
|
-
// bazel-out/
|
|
2251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2252
2252
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2253
2253
|
import ts12 from "typescript";
|
|
2254
2254
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2301,11 +2301,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2301
2301
|
}
|
|
2302
2302
|
};
|
|
2303
2303
|
|
|
2304
|
-
// bazel-out/
|
|
2304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2305
2305
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2306
2306
|
import ts18 from "typescript";
|
|
2307
2307
|
|
|
2308
|
-
// bazel-out/
|
|
2308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2309
2309
|
import ts13 from "typescript";
|
|
2310
2310
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2311
2311
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2379,16 +2379,16 @@ function isAccessExpression(node) {
|
|
|
2379
2379
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2380
2380
|
}
|
|
2381
2381
|
|
|
2382
|
-
// bazel-out/
|
|
2382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2383
2383
|
import ts17 from "typescript";
|
|
2384
2384
|
|
|
2385
|
-
// bazel-out/
|
|
2385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2386
2386
|
import ts16 from "typescript";
|
|
2387
2387
|
|
|
2388
|
-
// bazel-out/
|
|
2388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2389
2389
|
import ts15 from "typescript";
|
|
2390
2390
|
|
|
2391
|
-
// bazel-out/
|
|
2391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2392
2392
|
import ts14 from "typescript";
|
|
2393
2393
|
var INELIGIBLE = {};
|
|
2394
2394
|
function canEmitType(type, canEmit) {
|
|
@@ -2446,7 +2446,7 @@ var TypeEmitter = class {
|
|
|
2446
2446
|
return ts14.visitEachChild(node, visitNode, context);
|
|
2447
2447
|
}
|
|
2448
2448
|
};
|
|
2449
|
-
return (node) => ts14.visitNode(node, visitNode);
|
|
2449
|
+
return (node) => ts14.visitNode(node, visitNode, ts14.isTypeNode);
|
|
2450
2450
|
};
|
|
2451
2451
|
return ts14.transform(type, [typeReferenceTransformer]).transformed[0];
|
|
2452
2452
|
}
|
|
@@ -2463,7 +2463,7 @@ var TypeEmitter = class {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
2465
|
|
|
2466
|
-
// bazel-out/
|
|
2466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2467
2467
|
var TypeParameterEmitter = class {
|
|
2468
2468
|
constructor(typeParameters, reflector) {
|
|
2469
2469
|
this.typeParameters = typeParameters;
|
|
@@ -2540,7 +2540,7 @@ var TypeParameterEmitter = class {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
};
|
|
2542
2542
|
|
|
2543
|
-
// bazel-out/
|
|
2543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2544
2544
|
var TcbInliningRequirement;
|
|
2545
2545
|
(function(TcbInliningRequirement2) {
|
|
2546
2546
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2620,7 +2620,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2620
2620
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2621
2621
|
}
|
|
2622
2622
|
|
|
2623
|
-
// bazel-out/
|
|
2623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2624
2624
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2625
2625
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2626
2626
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2644,7 +2644,7 @@ function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
|
2644
2644
|
declList
|
|
2645
2645
|
);
|
|
2646
2646
|
} else {
|
|
2647
|
-
return createFunctionDeclaration(
|
|
2647
|
+
return ts17.factory.createFunctionDeclaration(
|
|
2648
2648
|
[ts17.factory.createModifier(ts17.SyntaxKind.DeclareKeyword)],
|
|
2649
2649
|
void 0,
|
|
2650
2650
|
meta.fnName,
|
|
@@ -2704,7 +2704,7 @@ function constructTypeCtorParameter(node, meta, rawType) {
|
|
|
2704
2704
|
if (initType === null) {
|
|
2705
2705
|
initType = ts17.factory.createTypeLiteralNode([]);
|
|
2706
2706
|
}
|
|
2707
|
-
return createParameterDeclaration(
|
|
2707
|
+
return ts17.factory.createParameterDeclaration(
|
|
2708
2708
|
void 0,
|
|
2709
2709
|
void 0,
|
|
2710
2710
|
"init",
|
|
@@ -2732,7 +2732,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2732
2732
|
});
|
|
2733
2733
|
}
|
|
2734
2734
|
|
|
2735
|
-
// bazel-out/
|
|
2735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2736
2736
|
var Environment = class {
|
|
2737
2737
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2738
2738
|
this.config = config;
|
|
@@ -2824,7 +2824,7 @@ var Environment = class {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
};
|
|
2826
2826
|
|
|
2827
|
-
// bazel-out/
|
|
2827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2828
2828
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2829
2829
|
import ts19 from "typescript";
|
|
2830
2830
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2957,7 +2957,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2957
2957
|
};
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
2960
|
-
// bazel-out/
|
|
2960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2961
2961
|
import ts20 from "typescript";
|
|
2962
2962
|
var TypeCheckShimGenerator = class {
|
|
2963
2963
|
constructor() {
|
|
@@ -2975,11 +2975,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2975
2975
|
}
|
|
2976
2976
|
};
|
|
2977
2977
|
|
|
2978
|
-
// bazel-out/
|
|
2978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2979
2979
|
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";
|
|
2980
2980
|
import ts23 from "typescript";
|
|
2981
2981
|
|
|
2982
|
-
// bazel-out/
|
|
2982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2983
2983
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2984
2984
|
import ts21 from "typescript";
|
|
2985
2985
|
function wrapForDiagnostics(expr) {
|
|
@@ -3025,7 +3025,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3025
3025
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3026
3026
|
}
|
|
3027
3027
|
|
|
3028
|
-
// bazel-out/
|
|
3028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3029
3029
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3030
3030
|
import ts22 from "typescript";
|
|
3031
3031
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3355,7 +3355,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3355
3355
|
};
|
|
3356
3356
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3357
3357
|
|
|
3358
|
-
// bazel-out/
|
|
3358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3359
3359
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3360
3360
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3361
3361
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3379,7 +3379,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
};
|
|
3381
3381
|
|
|
3382
|
-
// bazel-out/
|
|
3382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3383
3383
|
var TcbGenericContextBehavior;
|
|
3384
3384
|
(function(TcbGenericContextBehavior2) {
|
|
3385
3385
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -3420,7 +3420,7 @@ function generateTypeCheckBlock(env, ref, name, meta, domSchemaChecker, oobRecor
|
|
|
3420
3420
|
...scopeStatements
|
|
3421
3421
|
]);
|
|
3422
3422
|
const body = ts23.factory.createBlock([ts23.factory.createIfStatement(ts23.factory.createTrue(), innerBody, void 0)]);
|
|
3423
|
-
const fnDecl = createFunctionDeclaration(
|
|
3423
|
+
const fnDecl = ts23.factory.createFunctionDeclaration(
|
|
3424
3424
|
void 0,
|
|
3425
3425
|
void 0,
|
|
3426
3426
|
name,
|
|
@@ -4266,7 +4266,7 @@ var Scope = class {
|
|
|
4266
4266
|
}
|
|
4267
4267
|
};
|
|
4268
4268
|
function tcbThisParam(name, typeArguments) {
|
|
4269
|
-
return createParameterDeclaration(
|
|
4269
|
+
return ts23.factory.createParameterDeclaration(
|
|
4270
4270
|
void 0,
|
|
4271
4271
|
void 0,
|
|
4272
4272
|
"this",
|
|
@@ -4431,7 +4431,7 @@ function tcbCreateEventHandler(event, tcb, scope, eventType) {
|
|
|
4431
4431
|
if (guards !== null) {
|
|
4432
4432
|
body = ts23.factory.createIfStatement(guards, body);
|
|
4433
4433
|
}
|
|
4434
|
-
const eventParam = createParameterDeclaration(
|
|
4434
|
+
const eventParam = ts23.factory.createParameterDeclaration(
|
|
4435
4435
|
void 0,
|
|
4436
4436
|
void 0,
|
|
4437
4437
|
EVENT_PARAMETER,
|
|
@@ -4482,7 +4482,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
};
|
|
4484
4484
|
|
|
4485
|
-
// bazel-out/
|
|
4485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4486
4486
|
import ts24 from "typescript";
|
|
4487
4487
|
var TypeCheckFile = class extends Environment {
|
|
4488
4488
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4518,7 +4518,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4518
4518
|
}
|
|
4519
4519
|
};
|
|
4520
4520
|
|
|
4521
|
-
// bazel-out/
|
|
4521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4522
4522
|
var InliningMode;
|
|
4523
4523
|
(function(InliningMode2) {
|
|
4524
4524
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4756,10 +4756,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4756
4756
|
return splits;
|
|
4757
4757
|
}
|
|
4758
4758
|
|
|
4759
|
-
// bazel-out/
|
|
4759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4760
4760
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4761
4761
|
|
|
4762
|
-
// bazel-out/
|
|
4762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4763
4763
|
var LF_CHAR = 10;
|
|
4764
4764
|
var CR_CHAR = 13;
|
|
4765
4765
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4800,7 +4800,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4800
4800
|
return low - 1;
|
|
4801
4801
|
}
|
|
4802
4802
|
|
|
4803
|
-
// bazel-out/
|
|
4803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4804
4804
|
var TemplateSource = class {
|
|
4805
4805
|
constructor(mapping, file) {
|
|
4806
4806
|
this.mapping = mapping;
|
|
@@ -4851,7 +4851,7 @@ var TemplateSourceManager = class {
|
|
|
4851
4851
|
}
|
|
4852
4852
|
};
|
|
4853
4853
|
|
|
4854
|
-
// bazel-out/
|
|
4854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4855
4855
|
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";
|
|
4856
4856
|
import ts26 from "typescript";
|
|
4857
4857
|
var SymbolBuilder = class {
|
|
@@ -5335,7 +5335,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5335
5335
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5336
5336
|
}
|
|
5337
5337
|
|
|
5338
|
-
// bazel-out/
|
|
5338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5339
5339
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5340
5340
|
var TemplateTypeCheckerImpl = class {
|
|
5341
5341
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6029,10 +6029,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6029
6029
|
}
|
|
6030
6030
|
};
|
|
6031
6031
|
|
|
6032
|
-
// bazel-out/
|
|
6032
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6033
6033
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6034
6034
|
|
|
6035
|
-
// bazel-out/
|
|
6035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6036
6036
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6037
6037
|
var TemplateCheckWithVisitor = class {
|
|
6038
6038
|
run(ctx, component, template) {
|
|
@@ -6109,7 +6109,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6109
6109
|
}
|
|
6110
6110
|
};
|
|
6111
6111
|
|
|
6112
|
-
// bazel-out/
|
|
6112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6113
6113
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6114
6114
|
constructor() {
|
|
6115
6115
|
super(...arguments);
|
|
@@ -6134,7 +6134,7 @@ var factory = {
|
|
|
6134
6134
|
create: () => new InvalidBananaInBoxCheck()
|
|
6135
6135
|
};
|
|
6136
6136
|
|
|
6137
|
-
// bazel-out/
|
|
6137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6138
6138
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6139
6139
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6140
6140
|
["ngIf", "NgIf"],
|
|
@@ -6179,7 +6179,7 @@ var factory2 = {
|
|
|
6179
6179
|
}
|
|
6180
6180
|
};
|
|
6181
6181
|
|
|
6182
|
-
// bazel-out/
|
|
6182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6183
6183
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6184
6184
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6185
6185
|
constructor() {
|
|
@@ -6212,7 +6212,7 @@ var factory3 = {
|
|
|
6212
6212
|
create: () => new MissingNgForOfLetCheck()
|
|
6213
6213
|
};
|
|
6214
6214
|
|
|
6215
|
-
// bazel-out/
|
|
6215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6216
6216
|
import { Binary } from "@angular/compiler";
|
|
6217
6217
|
import ts27 from "typescript";
|
|
6218
6218
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6257,7 +6257,7 @@ var factory4 = {
|
|
|
6257
6257
|
}
|
|
6258
6258
|
};
|
|
6259
6259
|
|
|
6260
|
-
// bazel-out/
|
|
6260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6261
6261
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6262
6262
|
import ts28 from "typescript";
|
|
6263
6263
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6303,7 +6303,7 @@ var factory5 = {
|
|
|
6303
6303
|
}
|
|
6304
6304
|
};
|
|
6305
6305
|
|
|
6306
|
-
// bazel-out/
|
|
6306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6307
6307
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6308
6308
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6309
6309
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6327,7 +6327,7 @@ var factory6 = {
|
|
|
6327
6327
|
create: () => new SuffixNotSupportedCheck()
|
|
6328
6328
|
};
|
|
6329
6329
|
|
|
6330
|
-
// bazel-out/
|
|
6330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6331
6331
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6332
6332
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6333
6333
|
constructor() {
|
|
@@ -6366,10 +6366,10 @@ var factory7 = {
|
|
|
6366
6366
|
create: () => new TextAttributeNotBindingSpec()
|
|
6367
6367
|
};
|
|
6368
6368
|
|
|
6369
|
-
// bazel-out/
|
|
6369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6370
6370
|
import ts29 from "typescript";
|
|
6371
6371
|
|
|
6372
|
-
// bazel-out/
|
|
6372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6373
6373
|
var DiagnosticCategoryLabel;
|
|
6374
6374
|
(function(DiagnosticCategoryLabel2) {
|
|
6375
6375
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6377,7 +6377,7 @@ var DiagnosticCategoryLabel;
|
|
|
6377
6377
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6378
6378
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6379
6379
|
|
|
6380
|
-
// bazel-out/
|
|
6380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6381
6381
|
var ExtendedTemplateCheckerImpl = class {
|
|
6382
6382
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6383
6383
|
var _a, _b, _c, _d, _e;
|
|
@@ -6430,7 +6430,7 @@ function assertNever(value) {
|
|
|
6430
6430
|
${value}`);
|
|
6431
6431
|
}
|
|
6432
6432
|
|
|
6433
|
-
// bazel-out/
|
|
6433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6434
6434
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6435
6435
|
factory,
|
|
6436
6436
|
factory4,
|
|
@@ -6441,7 +6441,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6441
6441
|
factory6
|
|
6442
6442
|
];
|
|
6443
6443
|
|
|
6444
|
-
// bazel-out/
|
|
6444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6445
6445
|
var CompilationTicketKind;
|
|
6446
6446
|
(function(CompilationTicketKind2) {
|
|
6447
6447
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7144,7 +7144,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7144
7144
|
return versions;
|
|
7145
7145
|
}
|
|
7146
7146
|
|
|
7147
|
-
// bazel-out/
|
|
7147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7148
7148
|
import ts31 from "typescript";
|
|
7149
7149
|
var DelegatingCompilerHost2 = class {
|
|
7150
7150
|
constructor(delegate) {
|
|
@@ -7176,6 +7176,8 @@ var DelegatingCompilerHost2 = class {
|
|
|
7176
7176
|
this.writeFile = this.delegateMethod("writeFile");
|
|
7177
7177
|
this.getModuleResolutionCache = this.delegateMethod("getModuleResolutionCache");
|
|
7178
7178
|
this.hasInvalidatedResolutions = this.delegateMethod("hasInvalidatedResolutions");
|
|
7179
|
+
this.resolveModuleNameLiterals = this.delegateMethod("resolveModuleNameLiterals");
|
|
7180
|
+
this.resolveTypeReferenceDirectiveReferences = this.delegateMethod("resolveTypeReferenceDirectiveReferences");
|
|
7179
7181
|
}
|
|
7180
7182
|
delegateMethod(name) {
|
|
7181
7183
|
return this.delegate[name] !== void 0 ? this.delegate[name].bind(this.delegate) : void 0;
|
|
@@ -7275,7 +7277,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7275
7277
|
}
|
|
7276
7278
|
};
|
|
7277
7279
|
|
|
7278
|
-
// bazel-out/
|
|
7280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7279
7281
|
var NgtscProgram = class {
|
|
7280
7282
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7281
7283
|
this.options = options;
|
|
@@ -7493,15 +7495,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7493
7495
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7494
7496
|
}
|
|
7495
7497
|
|
|
7496
|
-
// bazel-out/
|
|
7498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7497
7499
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7498
7500
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7499
7501
|
}
|
|
7500
7502
|
|
|
7501
|
-
// bazel-out/
|
|
7503
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7502
7504
|
import ts34 from "typescript";
|
|
7503
7505
|
|
|
7504
|
-
// bazel-out/
|
|
7506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7505
7507
|
import ts33 from "typescript";
|
|
7506
7508
|
function createMessageDiagnostic(messageText) {
|
|
7507
7509
|
return {
|
|
@@ -7515,7 +7517,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7515
7517
|
};
|
|
7516
7518
|
}
|
|
7517
7519
|
|
|
7518
|
-
// bazel-out/
|
|
7520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7519
7521
|
var defaultFormatHost = {
|
|
7520
7522
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7521
7523
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7619,7 +7621,12 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs) {
|
|
|
7619
7621
|
}
|
|
7620
7622
|
} else {
|
|
7621
7623
|
const parseConfigHost = createParseConfigHost(host, fs);
|
|
7622
|
-
const { resolvedModule } = ts34.nodeModuleNameResolver(
|
|
7624
|
+
const { resolvedModule } = ts34.nodeModuleNameResolver(
|
|
7625
|
+
extendsValue,
|
|
7626
|
+
configFile,
|
|
7627
|
+
{ moduleResolution: 2, resolveJsonModule: true },
|
|
7628
|
+
parseConfigHost
|
|
7629
|
+
);
|
|
7623
7630
|
if (resolvedModule) {
|
|
7624
7631
|
return absoluteFrom(resolvedModule.resolvedFileName);
|
|
7625
7632
|
}
|
|
@@ -7723,4 +7730,4 @@ export {
|
|
|
7723
7730
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7724
7731
|
* found in the LICENSE file at https://angular.io/license
|
|
7725
7732
|
*/
|
|
7726
|
-
//# sourceMappingURL=chunk-
|
|
7733
|
+
//# sourceMappingURL=chunk-IE2WWKOE.js.map
|