@angular/compiler-cli 16.0.0-next.7 → 16.0.0-rc.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-QELUO2L4.js → chunk-4MSEL6HO.js} +90 -82
- package/bundles/chunk-4MSEL6HO.js.map +6 -0
- package/bundles/{chunk-TCPBYER2.js → chunk-4UQC5DMJ.js} +6 -6
- package/bundles/{chunk-URH5LEAG.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-7RPZKH3B.js → chunk-B6WD2R2T.js} +21 -21
- package/bundles/{chunk-2G3UVWBI.js → chunk-C4B5W2XC.js} +8 -8
- package/bundles/{chunk-OULZQUKT.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-5B7NBQNN.js → chunk-FJTRGXZM.js} +5 -5
- package/bundles/{chunk-BC53B7EF.js → chunk-GVISPKNE.js} +5 -5
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-OKYKHPES.js → chunk-SIHBKSBW.js} +31 -31
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-EPXSTYJI.js → chunk-YGYAPJAN.js} +112 -97
- package/bundles/chunk-YGYAPJAN.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 +3 -3
- package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -1
- package/bundles/chunk-EPXSTYJI.js.map +0 -6
- package/bundles/chunk-QELUO2L4.js.map +0 -6
- /package/bundles/{chunk-TCPBYER2.js.map → chunk-4UQC5DMJ.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-7RPZKH3B.js.map → chunk-B6WD2R2T.js.map} +0 -0
- /package/bundles/{chunk-2G3UVWBI.js.map → chunk-C4B5W2XC.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-5B7NBQNN.js.map → chunk-FJTRGXZM.js.map} +0 -0
- /package/bundles/{chunk-BC53B7EF.js.map → chunk-GVISPKNE.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-OKYKHPES.js.map → chunk-SIHBKSBW.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
aliasTransformFactory,
|
|
36
36
|
declarationTransformFactory,
|
|
37
37
|
ivyTransformFactory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4MSEL6HO.js";
|
|
39
39
|
import {
|
|
40
40
|
TypeScriptReflectionHost,
|
|
41
41
|
isNamedClassDeclaration
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4UQC5DMJ.js";
|
|
43
43
|
import {
|
|
44
44
|
ImportManager,
|
|
45
45
|
translateExpression,
|
|
46
46
|
translateType
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-C4B5W2XC.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsoluteModuleStrategy,
|
|
50
50
|
AliasStrategy,
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
ERROR_DETAILS_PAGE_BASE_URL,
|
|
54
54
|
ErrorCode,
|
|
55
55
|
ExtendedTemplateDiagnosticName,
|
|
56
|
+
FatalDiagnosticError,
|
|
56
57
|
ImportFlags,
|
|
57
58
|
LocalIdentifierStrategy,
|
|
58
59
|
LogicalProjectStrategy,
|
|
@@ -82,14 +83,14 @@ import {
|
|
|
82
83
|
relativePathBetween,
|
|
83
84
|
replaceTsWithNgInErrors,
|
|
84
85
|
toUnredirectedSourceFile
|
|
85
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-B6WD2R2T.js";
|
|
86
87
|
import {
|
|
87
88
|
ActivePerfRecorder,
|
|
88
89
|
DelegatingPerfRecorder,
|
|
89
90
|
PerfCheckpoint,
|
|
90
91
|
PerfEvent,
|
|
91
92
|
PerfPhase
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-7PCPPTTO.js";
|
|
93
94
|
import {
|
|
94
95
|
LogicalFileSystem,
|
|
95
96
|
absoluteFrom,
|
|
@@ -99,9 +100,9 @@ import {
|
|
|
99
100
|
getSourceFileOrError,
|
|
100
101
|
join,
|
|
101
102
|
resolve
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TBUSSXUA.js";
|
|
103
104
|
|
|
104
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
105
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
106
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
107
108
|
var SOURCE = "angular";
|
|
@@ -119,7 +120,7 @@ var EmitFlags;
|
|
|
119
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
120
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
121
122
|
|
|
122
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
123
124
|
import ts from "typescript";
|
|
124
125
|
var wrapHostForTest = null;
|
|
125
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -129,11 +130,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
129
130
|
return tsHost;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
// bazel-out/
|
|
133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
133
134
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
134
135
|
import ts32 from "typescript";
|
|
135
136
|
|
|
136
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
137
138
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
138
139
|
import * as path from "path";
|
|
139
140
|
function i18nGetExtension(formatName) {
|
|
@@ -184,10 +185,10 @@ function getPathNormalizer(basePath) {
|
|
|
184
185
|
};
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
188
189
|
import ts2 from "typescript";
|
|
189
190
|
|
|
190
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
191
192
|
function toNumbers(value) {
|
|
192
193
|
const suffixIndex = value.lastIndexOf("-");
|
|
193
194
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -222,7 +223,7 @@ function compareVersions(v1, v2) {
|
|
|
222
223
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
223
224
|
}
|
|
224
225
|
|
|
225
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
226
227
|
var MIN_TS_VERSION = "4.9.3";
|
|
227
228
|
var MAX_TS_VERSION = "5.1.0";
|
|
228
229
|
var tsVersion = ts2.version;
|
|
@@ -235,10 +236,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
235
236
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
236
237
|
}
|
|
237
238
|
|
|
238
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
239
240
|
import ts30 from "typescript";
|
|
240
241
|
|
|
241
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
242
243
|
var CycleAnalyzer = class {
|
|
243
244
|
constructor(importGraph) {
|
|
244
245
|
this.importGraph = importGraph;
|
|
@@ -309,7 +310,7 @@ var Cycle = class {
|
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
312
|
|
|
312
|
-
// bazel-out/
|
|
313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
313
314
|
import ts3 from "typescript";
|
|
314
315
|
var ImportGraph = class {
|
|
315
316
|
constructor(checker, perf) {
|
|
@@ -401,7 +402,7 @@ var Found = class {
|
|
|
401
402
|
}
|
|
402
403
|
};
|
|
403
404
|
|
|
404
|
-
// bazel-out/
|
|
405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
405
406
|
import ts4 from "typescript";
|
|
406
407
|
var FlatIndexGenerator = class {
|
|
407
408
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -426,7 +427,7 @@ export * from '${relativeEntryPoint}';
|
|
|
426
427
|
}
|
|
427
428
|
};
|
|
428
429
|
|
|
429
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
430
431
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
431
432
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
432
433
|
let resolvedEntryPoint = null;
|
|
@@ -442,7 +443,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
442
443
|
return resolvedEntryPoint;
|
|
443
444
|
}
|
|
444
445
|
|
|
445
|
-
// bazel-out/
|
|
446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
446
447
|
import ts5 from "typescript";
|
|
447
448
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
448
449
|
const diagnostics = [];
|
|
@@ -522,7 +523,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
522
523
|
}
|
|
523
524
|
}
|
|
524
525
|
|
|
525
|
-
// bazel-out/
|
|
526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
526
527
|
var ReferenceGraph = class {
|
|
527
528
|
constructor() {
|
|
528
529
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -576,7 +577,7 @@ var ReferenceGraph = class {
|
|
|
576
577
|
}
|
|
577
578
|
};
|
|
578
579
|
|
|
579
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
580
581
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
581
582
|
var UpdateMode;
|
|
582
583
|
(function(UpdateMode2) {
|
|
@@ -584,13 +585,13 @@ var UpdateMode;
|
|
|
584
585
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
585
586
|
})(UpdateMode || (UpdateMode = {}));
|
|
586
587
|
|
|
587
|
-
// bazel-out/
|
|
588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
588
589
|
import ts7 from "typescript";
|
|
589
590
|
|
|
590
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
591
592
|
import ts6 from "typescript";
|
|
592
593
|
|
|
593
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
594
595
|
var NgExtension = Symbol("NgExtension");
|
|
595
596
|
function isExtended(sf) {
|
|
596
597
|
return sf[NgExtension] !== void 0;
|
|
@@ -650,13 +651,13 @@ function retagTsFile(sf) {
|
|
|
650
651
|
}
|
|
651
652
|
}
|
|
652
653
|
|
|
653
|
-
// bazel-out/
|
|
654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
654
655
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
655
656
|
function makeShimFileName(fileName, suffix) {
|
|
656
657
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
657
658
|
}
|
|
658
659
|
|
|
659
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
660
661
|
var ShimAdapter = class {
|
|
661
662
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
662
663
|
this.delegate = delegate;
|
|
@@ -751,7 +752,7 @@ var ShimAdapter = class {
|
|
|
751
752
|
}
|
|
752
753
|
};
|
|
753
754
|
|
|
754
|
-
// bazel-out/
|
|
755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
755
756
|
var ShimReferenceTagger = class {
|
|
756
757
|
constructor(shimExtensions) {
|
|
757
758
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -785,7 +786,7 @@ var ShimReferenceTagger = class {
|
|
|
785
786
|
}
|
|
786
787
|
};
|
|
787
788
|
|
|
788
|
-
// bazel-out/
|
|
789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
789
790
|
var DelegatingCompilerHost = class {
|
|
790
791
|
constructor(delegate) {
|
|
791
792
|
this.delegate = delegate;
|
|
@@ -898,7 +899,7 @@ var TsCreateProgramDriver = class {
|
|
|
898
899
|
}
|
|
899
900
|
};
|
|
900
901
|
|
|
901
|
-
// bazel-out/
|
|
902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
902
903
|
var FileDependencyGraph = class {
|
|
903
904
|
constructor() {
|
|
904
905
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -965,7 +966,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
965
966
|
return false;
|
|
966
967
|
}
|
|
967
968
|
|
|
968
|
-
// bazel-out/
|
|
969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
969
970
|
var IncrementalStateKind;
|
|
970
971
|
(function(IncrementalStateKind2) {
|
|
971
972
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -973,7 +974,7 @@ var IncrementalStateKind;
|
|
|
973
974
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
974
975
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
975
976
|
|
|
976
|
-
// bazel-out/
|
|
977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
977
978
|
var PhaseKind;
|
|
978
979
|
(function(PhaseKind2) {
|
|
979
980
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1174,7 +1175,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1174
1175
|
}
|
|
1175
1176
|
}
|
|
1176
1177
|
|
|
1177
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1178
1179
|
var TrackedIncrementalBuildStrategy = class {
|
|
1179
1180
|
constructor() {
|
|
1180
1181
|
this.state = null;
|
|
@@ -1210,7 +1211,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1210
1211
|
};
|
|
1211
1212
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1212
1213
|
|
|
1213
|
-
// bazel-out/
|
|
1214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1214
1215
|
var IdentifierKind;
|
|
1215
1216
|
(function(IdentifierKind2) {
|
|
1216
1217
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1228,7 +1229,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1228
1229
|
}
|
|
1229
1230
|
};
|
|
1230
1231
|
|
|
1231
|
-
// bazel-out/
|
|
1232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1232
1233
|
var IndexingContext = class {
|
|
1233
1234
|
constructor() {
|
|
1234
1235
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1238,10 +1239,10 @@ var IndexingContext = class {
|
|
|
1238
1239
|
}
|
|
1239
1240
|
};
|
|
1240
1241
|
|
|
1241
|
-
// bazel-out/
|
|
1242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1242
1243
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1243
1244
|
|
|
1244
|
-
// bazel-out/
|
|
1245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1245
1246
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1246
1247
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1247
1248
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1478,7 +1479,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1478
1479
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1479
1480
|
}
|
|
1480
1481
|
|
|
1481
|
-
// bazel-out/
|
|
1482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1482
1483
|
function generateAnalysis(context) {
|
|
1483
1484
|
const analysis = /* @__PURE__ */ new Map();
|
|
1484
1485
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1514,7 +1515,7 @@ function generateAnalysis(context) {
|
|
|
1514
1515
|
return analysis;
|
|
1515
1516
|
}
|
|
1516
1517
|
|
|
1517
|
-
// bazel-out/
|
|
1518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1518
1519
|
var NgModuleIndexImpl = class {
|
|
1519
1520
|
constructor(metaReader, localReader) {
|
|
1520
1521
|
this.metaReader = metaReader;
|
|
@@ -1603,7 +1604,7 @@ var NgModuleIndexImpl = class {
|
|
|
1603
1604
|
}
|
|
1604
1605
|
};
|
|
1605
1606
|
|
|
1606
|
-
// bazel-out/
|
|
1607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1607
1608
|
import ts8 from "typescript";
|
|
1608
1609
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1609
1610
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1749,7 +1750,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1749
1750
|
};
|
|
1750
1751
|
}
|
|
1751
1752
|
|
|
1752
|
-
// bazel-out/
|
|
1753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1753
1754
|
var StandaloneComponentScopeReader = class {
|
|
1754
1755
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1755
1756
|
this.metaReader = metaReader;
|
|
@@ -1827,10 +1828,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1827
1828
|
}
|
|
1828
1829
|
};
|
|
1829
1830
|
|
|
1830
|
-
// bazel-out/
|
|
1831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1831
1832
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1832
1833
|
|
|
1833
|
-
// bazel-out/
|
|
1834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1834
1835
|
import ts9 from "typescript";
|
|
1835
1836
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1836
1837
|
var _a;
|
|
@@ -1937,7 +1938,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1937
1938
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1938
1939
|
}
|
|
1939
1940
|
|
|
1940
|
-
// bazel-out/
|
|
1941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1941
1942
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1942
1943
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1943
1944
|
function getTemplateId(clazz) {
|
|
@@ -1954,11 +1955,11 @@ function allocateTemplateId(sf) {
|
|
|
1954
1955
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1955
1956
|
}
|
|
1956
1957
|
|
|
1957
|
-
// bazel-out/
|
|
1958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1958
1959
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1959
1960
|
import ts11 from "typescript";
|
|
1960
1961
|
|
|
1961
|
-
// bazel-out/
|
|
1962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1962
1963
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1963
1964
|
import ts10 from "typescript";
|
|
1964
1965
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2088,7 +2089,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2088
2089
|
}) || false;
|
|
2089
2090
|
}
|
|
2090
2091
|
|
|
2091
|
-
// bazel-out/
|
|
2092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2092
2093
|
var CompletionEngine = class {
|
|
2093
2094
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2094
2095
|
this.tcb = tcb;
|
|
@@ -2245,10 +2246,10 @@ var CompletionEngine = class {
|
|
|
2245
2246
|
}
|
|
2246
2247
|
};
|
|
2247
2248
|
|
|
2248
|
-
// bazel-out/
|
|
2249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2249
2250
|
import ts25 from "typescript";
|
|
2250
2251
|
|
|
2251
|
-
// bazel-out/
|
|
2252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2252
2253
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2253
2254
|
import ts12 from "typescript";
|
|
2254
2255
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2301,11 +2302,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2301
2302
|
}
|
|
2302
2303
|
};
|
|
2303
2304
|
|
|
2304
|
-
// bazel-out/
|
|
2305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2305
2306
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2306
2307
|
import ts18 from "typescript";
|
|
2307
2308
|
|
|
2308
|
-
// bazel-out/
|
|
2309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2309
2310
|
import ts13 from "typescript";
|
|
2310
2311
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2311
2312
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2379,16 +2380,16 @@ function isAccessExpression(node) {
|
|
|
2379
2380
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2380
2381
|
}
|
|
2381
2382
|
|
|
2382
|
-
// bazel-out/
|
|
2383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2383
2384
|
import ts17 from "typescript";
|
|
2384
2385
|
|
|
2385
|
-
// bazel-out/
|
|
2386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2386
2387
|
import ts16 from "typescript";
|
|
2387
2388
|
|
|
2388
|
-
// bazel-out/
|
|
2389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2389
2390
|
import ts15 from "typescript";
|
|
2390
2391
|
|
|
2391
|
-
// bazel-out/
|
|
2392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2392
2393
|
import ts14 from "typescript";
|
|
2393
2394
|
var INELIGIBLE = {};
|
|
2394
2395
|
function canEmitType(type, canEmit) {
|
|
@@ -2463,7 +2464,7 @@ var TypeEmitter = class {
|
|
|
2463
2464
|
}
|
|
2464
2465
|
};
|
|
2465
2466
|
|
|
2466
|
-
// bazel-out/
|
|
2467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2467
2468
|
var TypeParameterEmitter = class {
|
|
2468
2469
|
constructor(typeParameters, reflector) {
|
|
2469
2470
|
this.typeParameters = typeParameters;
|
|
@@ -2540,7 +2541,7 @@ var TypeParameterEmitter = class {
|
|
|
2540
2541
|
}
|
|
2541
2542
|
};
|
|
2542
2543
|
|
|
2543
|
-
// bazel-out/
|
|
2544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2544
2545
|
var TcbInliningRequirement;
|
|
2545
2546
|
(function(TcbInliningRequirement2) {
|
|
2546
2547
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2620,7 +2621,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2620
2621
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2621
2622
|
}
|
|
2622
2623
|
|
|
2623
|
-
// bazel-out/
|
|
2624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2624
2625
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2625
2626
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2626
2627
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2732,7 +2733,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2732
2733
|
});
|
|
2733
2734
|
}
|
|
2734
2735
|
|
|
2735
|
-
// bazel-out/
|
|
2736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2736
2737
|
var Environment = class {
|
|
2737
2738
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2738
2739
|
this.config = config;
|
|
@@ -2824,7 +2825,7 @@ var Environment = class {
|
|
|
2824
2825
|
}
|
|
2825
2826
|
};
|
|
2826
2827
|
|
|
2827
|
-
// bazel-out/
|
|
2828
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2828
2829
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2829
2830
|
import ts19 from "typescript";
|
|
2830
2831
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2961,7 +2962,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2961
2962
|
};
|
|
2962
2963
|
}
|
|
2963
2964
|
|
|
2964
|
-
// bazel-out/
|
|
2965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2965
2966
|
import ts20 from "typescript";
|
|
2966
2967
|
var TypeCheckShimGenerator = class {
|
|
2967
2968
|
constructor() {
|
|
@@ -2979,11 +2980,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2979
2980
|
}
|
|
2980
2981
|
};
|
|
2981
2982
|
|
|
2982
|
-
// bazel-out/
|
|
2983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2983
2984
|
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";
|
|
2984
2985
|
import ts23 from "typescript";
|
|
2985
2986
|
|
|
2986
|
-
// bazel-out/
|
|
2987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2987
2988
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2988
2989
|
import ts21 from "typescript";
|
|
2989
2990
|
function wrapForDiagnostics(expr) {
|
|
@@ -3029,7 +3030,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3029
3030
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3030
3031
|
}
|
|
3031
3032
|
|
|
3032
|
-
// bazel-out/
|
|
3033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3033
3034
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3034
3035
|
import ts22 from "typescript";
|
|
3035
3036
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3362,7 +3363,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3362
3363
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3363
3364
|
})();
|
|
3364
3365
|
|
|
3365
|
-
// bazel-out/
|
|
3366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3366
3367
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3367
3368
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3368
3369
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3386,7 +3387,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3386
3387
|
}
|
|
3387
3388
|
};
|
|
3388
3389
|
|
|
3389
|
-
// bazel-out/
|
|
3390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3390
3391
|
var TcbGenericContextBehavior;
|
|
3391
3392
|
(function(TcbGenericContextBehavior2) {
|
|
3392
3393
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4501,7 +4502,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4501
4502
|
}
|
|
4502
4503
|
};
|
|
4503
4504
|
|
|
4504
|
-
// bazel-out/
|
|
4505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4505
4506
|
import ts24 from "typescript";
|
|
4506
4507
|
var TypeCheckFile = class extends Environment {
|
|
4507
4508
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4537,7 +4538,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4537
4538
|
}
|
|
4538
4539
|
};
|
|
4539
4540
|
|
|
4540
|
-
// bazel-out/
|
|
4541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4541
4542
|
var InliningMode;
|
|
4542
4543
|
(function(InliningMode2) {
|
|
4543
4544
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4775,10 +4776,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4775
4776
|
return splits;
|
|
4776
4777
|
}
|
|
4777
4778
|
|
|
4778
|
-
// bazel-out/
|
|
4779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4779
4780
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4780
4781
|
|
|
4781
|
-
// bazel-out/
|
|
4782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4782
4783
|
var LF_CHAR = 10;
|
|
4783
4784
|
var CR_CHAR = 13;
|
|
4784
4785
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4819,7 +4820,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4819
4820
|
return low - 1;
|
|
4820
4821
|
}
|
|
4821
4822
|
|
|
4822
|
-
// bazel-out/
|
|
4823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4823
4824
|
var TemplateSource = class {
|
|
4824
4825
|
constructor(mapping, file) {
|
|
4825
4826
|
this.mapping = mapping;
|
|
@@ -4870,7 +4871,7 @@ var TemplateSourceManager = class {
|
|
|
4870
4871
|
}
|
|
4871
4872
|
};
|
|
4872
4873
|
|
|
4873
|
-
// bazel-out/
|
|
4874
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4874
4875
|
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";
|
|
4875
4876
|
import ts26 from "typescript";
|
|
4876
4877
|
var SymbolBuilder = class {
|
|
@@ -5354,7 +5355,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5354
5355
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5355
5356
|
}
|
|
5356
5357
|
|
|
5357
|
-
// bazel-out/
|
|
5358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5358
5359
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5359
5360
|
var TemplateTypeCheckerImpl = class {
|
|
5360
5361
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6048,10 +6049,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6048
6049
|
}
|
|
6049
6050
|
};
|
|
6050
6051
|
|
|
6051
|
-
// bazel-out/
|
|
6052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6052
6053
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6053
6054
|
|
|
6054
|
-
// bazel-out/
|
|
6055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6055
6056
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6056
6057
|
var TemplateCheckWithVisitor = class {
|
|
6057
6058
|
run(ctx, component, template) {
|
|
@@ -6128,7 +6129,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6128
6129
|
}
|
|
6129
6130
|
};
|
|
6130
6131
|
|
|
6131
|
-
// bazel-out/
|
|
6132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6132
6133
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6133
6134
|
constructor() {
|
|
6134
6135
|
super(...arguments);
|
|
@@ -6153,7 +6154,7 @@ var factory = {
|
|
|
6153
6154
|
create: () => new InvalidBananaInBoxCheck()
|
|
6154
6155
|
};
|
|
6155
6156
|
|
|
6156
|
-
// bazel-out/
|
|
6157
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6157
6158
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6158
6159
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6159
6160
|
["ngIf", "NgIf"],
|
|
@@ -6198,7 +6199,7 @@ var factory2 = {
|
|
|
6198
6199
|
}
|
|
6199
6200
|
};
|
|
6200
6201
|
|
|
6201
|
-
// bazel-out/
|
|
6202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6202
6203
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6203
6204
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6204
6205
|
constructor() {
|
|
@@ -6231,7 +6232,7 @@ var factory3 = {
|
|
|
6231
6232
|
create: () => new MissingNgForOfLetCheck()
|
|
6232
6233
|
};
|
|
6233
6234
|
|
|
6234
|
-
// bazel-out/
|
|
6235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6235
6236
|
import { Binary } from "@angular/compiler";
|
|
6236
6237
|
import ts27 from "typescript";
|
|
6237
6238
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6276,7 +6277,7 @@ var factory4 = {
|
|
|
6276
6277
|
}
|
|
6277
6278
|
};
|
|
6278
6279
|
|
|
6279
|
-
// bazel-out/
|
|
6280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6280
6281
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6281
6282
|
import ts28 from "typescript";
|
|
6282
6283
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6322,7 +6323,7 @@ var factory5 = {
|
|
|
6322
6323
|
}
|
|
6323
6324
|
};
|
|
6324
6325
|
|
|
6325
|
-
// bazel-out/
|
|
6326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6326
6327
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6327
6328
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6328
6329
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6346,7 +6347,7 @@ var factory6 = {
|
|
|
6346
6347
|
create: () => new SuffixNotSupportedCheck()
|
|
6347
6348
|
};
|
|
6348
6349
|
|
|
6349
|
-
// bazel-out/
|
|
6350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6350
6351
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6351
6352
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6352
6353
|
constructor() {
|
|
@@ -6385,10 +6386,10 @@ var factory7 = {
|
|
|
6385
6386
|
create: () => new TextAttributeNotBindingSpec()
|
|
6386
6387
|
};
|
|
6387
6388
|
|
|
6388
|
-
// bazel-out/
|
|
6389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6389
6390
|
import ts29 from "typescript";
|
|
6390
6391
|
|
|
6391
|
-
// bazel-out/
|
|
6392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6392
6393
|
var DiagnosticCategoryLabel;
|
|
6393
6394
|
(function(DiagnosticCategoryLabel2) {
|
|
6394
6395
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6396,7 +6397,7 @@ var DiagnosticCategoryLabel;
|
|
|
6396
6397
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6397
6398
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6398
6399
|
|
|
6399
|
-
// bazel-out/
|
|
6400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6400
6401
|
var ExtendedTemplateCheckerImpl = class {
|
|
6401
6402
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6402
6403
|
var _a, _b, _c, _d, _e;
|
|
@@ -6449,7 +6450,7 @@ function assertNever(value) {
|
|
|
6449
6450
|
${value}`);
|
|
6450
6451
|
}
|
|
6451
6452
|
|
|
6452
|
-
// bazel-out/
|
|
6453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6453
6454
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6454
6455
|
factory,
|
|
6455
6456
|
factory4,
|
|
@@ -6460,7 +6461,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6460
6461
|
factory6
|
|
6461
6462
|
];
|
|
6462
6463
|
|
|
6463
|
-
// bazel-out/
|
|
6464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6464
6465
|
var CompilationTicketKind;
|
|
6465
6466
|
(function(CompilationTicketKind2) {
|
|
6466
6467
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6870,7 +6871,14 @@ var NgCompiler = class {
|
|
|
6870
6871
|
if (sf.isDeclarationFile || this.adapter.isShim(sf)) {
|
|
6871
6872
|
continue;
|
|
6872
6873
|
}
|
|
6873
|
-
|
|
6874
|
+
try {
|
|
6875
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, OptimizeFor.WholeProgram));
|
|
6876
|
+
} catch (err) {
|
|
6877
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
6878
|
+
throw err;
|
|
6879
|
+
}
|
|
6880
|
+
diagnostics.push(err.toDiagnostic());
|
|
6881
|
+
}
|
|
6874
6882
|
}
|
|
6875
6883
|
const program = this.programDriver.getProgram();
|
|
6876
6884
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -6881,7 +6889,14 @@ var NgCompiler = class {
|
|
|
6881
6889
|
const compilation = this.ensureAnalyzed();
|
|
6882
6890
|
const diagnostics = [];
|
|
6883
6891
|
if (!sf.isDeclarationFile && !this.adapter.isShim(sf)) {
|
|
6884
|
-
|
|
6892
|
+
try {
|
|
6893
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, optimizeFor));
|
|
6894
|
+
} catch (err) {
|
|
6895
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
6896
|
+
throw err;
|
|
6897
|
+
}
|
|
6898
|
+
diagnostics.push(err.toDiagnostic());
|
|
6899
|
+
}
|
|
6885
6900
|
}
|
|
6886
6901
|
const program = this.programDriver.getProgram();
|
|
6887
6902
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -6972,8 +6987,8 @@ var NgCompiler = class {
|
|
|
6972
6987
|
const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
|
|
6973
6988
|
const strictCtorDeps = this.options.strictInjectionParameters || false;
|
|
6974
6989
|
const handlers = [
|
|
6975
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
6976
|
-
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder),
|
|
6990
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
6991
|
+
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder),
|
|
6977
6992
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
6978
6993
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
|
|
6979
6994
|
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, isCore, refEmitter, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
|
|
@@ -7163,7 +7178,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7163
7178
|
return versions;
|
|
7164
7179
|
}
|
|
7165
7180
|
|
|
7166
|
-
// bazel-out/
|
|
7181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7167
7182
|
import ts31 from "typescript";
|
|
7168
7183
|
var DelegatingCompilerHost2 = class {
|
|
7169
7184
|
constructor(delegate) {
|
|
@@ -7296,7 +7311,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7296
7311
|
}
|
|
7297
7312
|
};
|
|
7298
7313
|
|
|
7299
|
-
// bazel-out/
|
|
7314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7300
7315
|
var NgtscProgram = class {
|
|
7301
7316
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7302
7317
|
this.options = options;
|
|
@@ -7514,15 +7529,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7514
7529
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7515
7530
|
}
|
|
7516
7531
|
|
|
7517
|
-
// bazel-out/
|
|
7532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7518
7533
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7519
7534
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7520
7535
|
}
|
|
7521
7536
|
|
|
7522
|
-
// bazel-out/
|
|
7537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7523
7538
|
import ts34 from "typescript";
|
|
7524
7539
|
|
|
7525
|
-
// bazel-out/
|
|
7540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7526
7541
|
import ts33 from "typescript";
|
|
7527
7542
|
function createMessageDiagnostic(messageText) {
|
|
7528
7543
|
return {
|
|
@@ -7536,7 +7551,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7536
7551
|
};
|
|
7537
7552
|
}
|
|
7538
7553
|
|
|
7539
|
-
// bazel-out/
|
|
7554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7540
7555
|
var defaultFormatHost = {
|
|
7541
7556
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7542
7557
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7750,4 +7765,4 @@ export {
|
|
|
7750
7765
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7751
7766
|
* found in the LICENSE file at https://angular.io/license
|
|
7752
7767
|
*/
|
|
7753
|
-
//# sourceMappingURL=chunk-
|
|
7768
|
+
//# sourceMappingURL=chunk-YGYAPJAN.js.map
|