@angular/compiler-cli 16.2.0-next.2 → 16.2.0-next.3
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-URH5LEAG.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-BFWVGVWL.js → chunk-DKWZY2MH.js} +31 -31
- package/bundles/{chunk-MDJQRJIS.js → chunk-E72KZKRK.js} +135 -96
- package/bundles/chunk-E72KZKRK.js.map +6 -0
- package/bundles/{chunk-OULZQUKT.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-2TZDDYW6.js → chunk-GRJYX2PA.js} +5 -5
- package/bundles/{chunk-4KV4DPNH.js → chunk-IPC76KA7.js} +21 -8
- package/bundles/chunk-IPC76KA7.js.map +6 -0
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-ZE33XMQ7.js → chunk-NIK4FIWB.js} +6 -6
- package/bundles/{chunk-UZO5WCWI.js → chunk-SJLWUYXS.js} +5 -5
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-2PV6GDIB.js → chunk-WF3L5COT.js} +21 -21
- package/bundles/{chunk-HHLM4WSJ.js → chunk-YZ3WOD5G.js} +85 -81
- package/bundles/{chunk-HHLM4WSJ.js.map → chunk-YZ3WOD5G.js.map} +1 -1
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +16 -13
- package/bundles/linker/babel/index.js.map +1 -1
- 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/linker/babel/src/ast/babel_ast_factory.d.ts +1 -0
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
- package/src/ngtsc/core/src/compiler.d.ts +1 -0
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +7 -0
- package/src/ngtsc/translator/src/translator.d.ts +1 -0
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -0
- package/bundles/chunk-4KV4DPNH.js.map +0 -6
- package/bundles/chunk-MDJQRJIS.js.map +0 -6
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-BFWVGVWL.js.map → chunk-DKWZY2MH.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-2TZDDYW6.js.map → chunk-GRJYX2PA.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-ZE33XMQ7.js.map → chunk-NIK4FIWB.js.map} +0 -0
- /package/bundles/{chunk-UZO5WCWI.js.map → chunk-SJLWUYXS.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-2PV6GDIB.js.map → chunk-WF3L5COT.js.map} +0 -0
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YZ3WOD5G.js";
|
|
40
40
|
import {
|
|
41
41
|
TypeScriptReflectionHost,
|
|
42
42
|
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NIK4FIWB.js";
|
|
44
44
|
import {
|
|
45
45
|
ImportManager,
|
|
46
46
|
translateExpression,
|
|
47
47
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IPC76KA7.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-WF3L5COT.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.2.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) {
|
|
@@ -1361,6 +1361,22 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
|
|
|
1361
1361
|
}
|
|
1362
1362
|
this.identifiers.add(variableIdentifier);
|
|
1363
1363
|
}
|
|
1364
|
+
visitDeferredBlock(deferred) {
|
|
1365
|
+
var _a, _b, _c;
|
|
1366
|
+
this.visitAll(deferred.children);
|
|
1367
|
+
(_a = deferred.placeholder) == null ? void 0 : _a.visit(this);
|
|
1368
|
+
(_b = deferred.loading) == null ? void 0 : _b.visit(this);
|
|
1369
|
+
(_c = deferred.error) == null ? void 0 : _c.visit(this);
|
|
1370
|
+
}
|
|
1371
|
+
visitDeferredBlockPlaceholder(block) {
|
|
1372
|
+
this.visitAll(block.children);
|
|
1373
|
+
}
|
|
1374
|
+
visitDeferredBlockError(block) {
|
|
1375
|
+
this.visitAll(block.children);
|
|
1376
|
+
}
|
|
1377
|
+
visitDeferredBlockLoading(block) {
|
|
1378
|
+
this.visitAll(block.children);
|
|
1379
|
+
}
|
|
1364
1380
|
elementOrTemplateToIdentifier(node) {
|
|
1365
1381
|
var _a;
|
|
1366
1382
|
if (this.elementAndTemplateIdentifierCache.has(node)) {
|
|
@@ -1480,7 +1496,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1480
1496
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1481
1497
|
}
|
|
1482
1498
|
|
|
1483
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1484
1500
|
function generateAnalysis(context) {
|
|
1485
1501
|
const analysis = /* @__PURE__ */ new Map();
|
|
1486
1502
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1516,7 +1532,7 @@ function generateAnalysis(context) {
|
|
|
1516
1532
|
return analysis;
|
|
1517
1533
|
}
|
|
1518
1534
|
|
|
1519
|
-
// bazel-out/
|
|
1535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1520
1536
|
var NgModuleIndexImpl = class {
|
|
1521
1537
|
constructor(metaReader, localReader) {
|
|
1522
1538
|
this.metaReader = metaReader;
|
|
@@ -1605,7 +1621,7 @@ var NgModuleIndexImpl = class {
|
|
|
1605
1621
|
}
|
|
1606
1622
|
};
|
|
1607
1623
|
|
|
1608
|
-
// bazel-out/
|
|
1624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1609
1625
|
import ts8 from "typescript";
|
|
1610
1626
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1611
1627
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1751,7 +1767,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1751
1767
|
};
|
|
1752
1768
|
}
|
|
1753
1769
|
|
|
1754
|
-
// bazel-out/
|
|
1770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1755
1771
|
var StandaloneComponentScopeReader = class {
|
|
1756
1772
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1757
1773
|
this.metaReader = metaReader;
|
|
@@ -1829,10 +1845,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1829
1845
|
}
|
|
1830
1846
|
};
|
|
1831
1847
|
|
|
1832
|
-
// bazel-out/
|
|
1848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1833
1849
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1834
1850
|
|
|
1835
|
-
// bazel-out/
|
|
1851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1836
1852
|
import ts9 from "typescript";
|
|
1837
1853
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1838
1854
|
var _a;
|
|
@@ -1939,7 +1955,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1939
1955
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1940
1956
|
}
|
|
1941
1957
|
|
|
1942
|
-
// bazel-out/
|
|
1958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1943
1959
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1944
1960
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1945
1961
|
function getTemplateId(clazz) {
|
|
@@ -1956,11 +1972,11 @@ function allocateTemplateId(sf) {
|
|
|
1956
1972
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1957
1973
|
}
|
|
1958
1974
|
|
|
1959
|
-
// bazel-out/
|
|
1975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1960
1976
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1961
1977
|
import ts11 from "typescript";
|
|
1962
1978
|
|
|
1963
|
-
// bazel-out/
|
|
1979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1964
1980
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1965
1981
|
import ts10 from "typescript";
|
|
1966
1982
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2090,7 +2106,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2090
2106
|
}) || false;
|
|
2091
2107
|
}
|
|
2092
2108
|
|
|
2093
|
-
// bazel-out/
|
|
2109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2094
2110
|
var CompletionEngine = class {
|
|
2095
2111
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2096
2112
|
this.tcb = tcb;
|
|
@@ -2247,10 +2263,10 @@ var CompletionEngine = class {
|
|
|
2247
2263
|
}
|
|
2248
2264
|
};
|
|
2249
2265
|
|
|
2250
|
-
// bazel-out/
|
|
2266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2251
2267
|
import ts25 from "typescript";
|
|
2252
2268
|
|
|
2253
|
-
// bazel-out/
|
|
2269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2254
2270
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2255
2271
|
import ts12 from "typescript";
|
|
2256
2272
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2303,11 +2319,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2303
2319
|
}
|
|
2304
2320
|
};
|
|
2305
2321
|
|
|
2306
|
-
// bazel-out/
|
|
2322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2307
2323
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2308
2324
|
import ts18 from "typescript";
|
|
2309
2325
|
|
|
2310
|
-
// bazel-out/
|
|
2326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2311
2327
|
import ts13 from "typescript";
|
|
2312
2328
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2313
2329
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2381,16 +2397,16 @@ function isAccessExpression(node) {
|
|
|
2381
2397
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2382
2398
|
}
|
|
2383
2399
|
|
|
2384
|
-
// bazel-out/
|
|
2400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2385
2401
|
import ts17 from "typescript";
|
|
2386
2402
|
|
|
2387
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2388
2404
|
import ts16 from "typescript";
|
|
2389
2405
|
|
|
2390
|
-
// bazel-out/
|
|
2406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2391
2407
|
import ts15 from "typescript";
|
|
2392
2408
|
|
|
2393
|
-
// bazel-out/
|
|
2409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2394
2410
|
import ts14 from "typescript";
|
|
2395
2411
|
var INELIGIBLE = {};
|
|
2396
2412
|
function canEmitType(type, canEmit) {
|
|
@@ -2465,7 +2481,7 @@ var TypeEmitter = class {
|
|
|
2465
2481
|
}
|
|
2466
2482
|
};
|
|
2467
2483
|
|
|
2468
|
-
// bazel-out/
|
|
2484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2469
2485
|
var TypeParameterEmitter = class {
|
|
2470
2486
|
constructor(typeParameters, reflector) {
|
|
2471
2487
|
this.typeParameters = typeParameters;
|
|
@@ -2542,7 +2558,7 @@ var TypeParameterEmitter = class {
|
|
|
2542
2558
|
}
|
|
2543
2559
|
};
|
|
2544
2560
|
|
|
2545
|
-
// bazel-out/
|
|
2561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2546
2562
|
var TcbInliningRequirement;
|
|
2547
2563
|
(function(TcbInliningRequirement2) {
|
|
2548
2564
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2622,7 +2638,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2622
2638
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2623
2639
|
}
|
|
2624
2640
|
|
|
2625
|
-
// bazel-out/
|
|
2641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2626
2642
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2627
2643
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2628
2644
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2733,7 +2749,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2733
2749
|
});
|
|
2734
2750
|
}
|
|
2735
2751
|
|
|
2736
|
-
// bazel-out/
|
|
2752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2737
2753
|
var Environment = class {
|
|
2738
2754
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2739
2755
|
this.config = config;
|
|
@@ -2827,7 +2843,7 @@ var Environment = class {
|
|
|
2827
2843
|
}
|
|
2828
2844
|
};
|
|
2829
2845
|
|
|
2830
|
-
// bazel-out/
|
|
2846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2831
2847
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2832
2848
|
import ts19 from "typescript";
|
|
2833
2849
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2964,7 +2980,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2964
2980
|
};
|
|
2965
2981
|
}
|
|
2966
2982
|
|
|
2967
|
-
// bazel-out/
|
|
2983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2968
2984
|
import ts20 from "typescript";
|
|
2969
2985
|
var TypeCheckShimGenerator = class {
|
|
2970
2986
|
constructor() {
|
|
@@ -2982,11 +2998,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2982
2998
|
}
|
|
2983
2999
|
};
|
|
2984
3000
|
|
|
2985
|
-
// bazel-out/
|
|
3001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2986
3002
|
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, TransplantedType } from "@angular/compiler";
|
|
2987
3003
|
import ts23 from "typescript";
|
|
2988
3004
|
|
|
2989
|
-
// bazel-out/
|
|
3005
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2990
3006
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2991
3007
|
import ts21 from "typescript";
|
|
2992
3008
|
function wrapForDiagnostics(expr) {
|
|
@@ -3032,7 +3048,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3032
3048
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3033
3049
|
}
|
|
3034
3050
|
|
|
3035
|
-
// bazel-out/
|
|
3051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3036
3052
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3037
3053
|
import ts22 from "typescript";
|
|
3038
3054
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3365,7 +3381,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3365
3381
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3366
3382
|
})();
|
|
3367
3383
|
|
|
3368
|
-
// bazel-out/
|
|
3384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3369
3385
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3370
3386
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3371
3387
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3389,7 +3405,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3389
3405
|
}
|
|
3390
3406
|
};
|
|
3391
3407
|
|
|
3392
|
-
// bazel-out/
|
|
3408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3393
3409
|
var TcbGenericContextBehavior;
|
|
3394
3410
|
(function(TcbGenericContextBehavior2) {
|
|
3395
3411
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4516,7 +4532,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4516
4532
|
}
|
|
4517
4533
|
};
|
|
4518
4534
|
|
|
4519
|
-
// bazel-out/
|
|
4535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4520
4536
|
import ts24 from "typescript";
|
|
4521
4537
|
var TypeCheckFile = class extends Environment {
|
|
4522
4538
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4552,7 +4568,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4552
4568
|
}
|
|
4553
4569
|
};
|
|
4554
4570
|
|
|
4555
|
-
// bazel-out/
|
|
4571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4556
4572
|
var InliningMode;
|
|
4557
4573
|
(function(InliningMode2) {
|
|
4558
4574
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4789,10 +4805,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4789
4805
|
return splits;
|
|
4790
4806
|
}
|
|
4791
4807
|
|
|
4792
|
-
// bazel-out/
|
|
4808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4793
4809
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4794
4810
|
|
|
4795
|
-
// bazel-out/
|
|
4811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4796
4812
|
var LF_CHAR = 10;
|
|
4797
4813
|
var CR_CHAR = 13;
|
|
4798
4814
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4833,7 +4849,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4833
4849
|
return low - 1;
|
|
4834
4850
|
}
|
|
4835
4851
|
|
|
4836
|
-
// bazel-out/
|
|
4852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4837
4853
|
var TemplateSource = class {
|
|
4838
4854
|
constructor(mapping, file) {
|
|
4839
4855
|
this.mapping = mapping;
|
|
@@ -4884,7 +4900,7 @@ var TemplateSourceManager = class {
|
|
|
4884
4900
|
}
|
|
4885
4901
|
};
|
|
4886
4902
|
|
|
4887
|
-
// bazel-out/
|
|
4903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4888
4904
|
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";
|
|
4889
4905
|
import ts26 from "typescript";
|
|
4890
4906
|
var SymbolBuilder = class {
|
|
@@ -5368,7 +5384,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5368
5384
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5369
5385
|
}
|
|
5370
5386
|
|
|
5371
|
-
// bazel-out/
|
|
5387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5372
5388
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5373
5389
|
var TemplateTypeCheckerImpl = class {
|
|
5374
5390
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6065,11 +6081,11 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6065
6081
|
}
|
|
6066
6082
|
};
|
|
6067
6083
|
|
|
6068
|
-
// bazel-out/
|
|
6084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6069
6085
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6070
6086
|
|
|
6071
|
-
// bazel-out/
|
|
6072
|
-
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6088
|
+
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger } from "@angular/compiler";
|
|
6073
6089
|
var TemplateCheckWithVisitor = class {
|
|
6074
6090
|
run(ctx, component, template) {
|
|
6075
6091
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -6138,6 +6154,28 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6138
6154
|
}
|
|
6139
6155
|
visitIcu(icu) {
|
|
6140
6156
|
}
|
|
6157
|
+
visitDeferredBlock(deferred) {
|
|
6158
|
+
this.visitAllNodes(deferred.children);
|
|
6159
|
+
this.visitAllNodes(deferred.triggers);
|
|
6160
|
+
this.visitAllNodes(deferred.prefetchTriggers);
|
|
6161
|
+
deferred.placeholder && this.visit(deferred.placeholder);
|
|
6162
|
+
deferred.loading && this.visit(deferred.loading);
|
|
6163
|
+
deferred.error && this.visit(deferred.error);
|
|
6164
|
+
}
|
|
6165
|
+
visitDeferredTrigger(trigger) {
|
|
6166
|
+
if (trigger instanceof TmplAstBoundDeferredTrigger) {
|
|
6167
|
+
this.visitAst(trigger.value);
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
visitDeferredBlockPlaceholder(block) {
|
|
6171
|
+
this.visitAllNodes(block.children);
|
|
6172
|
+
}
|
|
6173
|
+
visitDeferredBlockError(block) {
|
|
6174
|
+
this.visitAllNodes(block.children);
|
|
6175
|
+
}
|
|
6176
|
+
visitDeferredBlockLoading(block) {
|
|
6177
|
+
this.visitAllNodes(block.children);
|
|
6178
|
+
}
|
|
6141
6179
|
getDiagnostics(template) {
|
|
6142
6180
|
this.diagnostics = [];
|
|
6143
6181
|
this.visitAllNodes(template);
|
|
@@ -6145,7 +6183,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6145
6183
|
}
|
|
6146
6184
|
};
|
|
6147
6185
|
|
|
6148
|
-
// bazel-out/
|
|
6186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6149
6187
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6150
6188
|
constructor() {
|
|
6151
6189
|
super(...arguments);
|
|
@@ -6170,7 +6208,7 @@ var factory = {
|
|
|
6170
6208
|
create: () => new InvalidBananaInBoxCheck()
|
|
6171
6209
|
};
|
|
6172
6210
|
|
|
6173
|
-
// bazel-out/
|
|
6211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6174
6212
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6175
6213
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6176
6214
|
["ngIf", "NgIf"],
|
|
@@ -6215,7 +6253,7 @@ var factory2 = {
|
|
|
6215
6253
|
}
|
|
6216
6254
|
};
|
|
6217
6255
|
|
|
6218
|
-
// bazel-out/
|
|
6256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6219
6257
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6220
6258
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6221
6259
|
constructor() {
|
|
@@ -6248,7 +6286,7 @@ var factory3 = {
|
|
|
6248
6286
|
create: () => new MissingNgForOfLetCheck()
|
|
6249
6287
|
};
|
|
6250
6288
|
|
|
6251
|
-
// bazel-out/
|
|
6289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6252
6290
|
import { Binary } from "@angular/compiler";
|
|
6253
6291
|
import ts27 from "typescript";
|
|
6254
6292
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6293,7 +6331,7 @@ var factory4 = {
|
|
|
6293
6331
|
}
|
|
6294
6332
|
};
|
|
6295
6333
|
|
|
6296
|
-
// bazel-out/
|
|
6334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6297
6335
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6298
6336
|
import ts28 from "typescript";
|
|
6299
6337
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6339,7 +6377,7 @@ var factory5 = {
|
|
|
6339
6377
|
}
|
|
6340
6378
|
};
|
|
6341
6379
|
|
|
6342
|
-
// bazel-out/
|
|
6380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6343
6381
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6344
6382
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6345
6383
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6363,7 +6401,7 @@ var factory6 = {
|
|
|
6363
6401
|
create: () => new SuffixNotSupportedCheck()
|
|
6364
6402
|
};
|
|
6365
6403
|
|
|
6366
|
-
// bazel-out/
|
|
6404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6367
6405
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6368
6406
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6369
6407
|
constructor() {
|
|
@@ -6402,10 +6440,10 @@ var factory7 = {
|
|
|
6402
6440
|
create: () => new TextAttributeNotBindingSpec()
|
|
6403
6441
|
};
|
|
6404
6442
|
|
|
6405
|
-
// bazel-out/
|
|
6443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6406
6444
|
import ts29 from "typescript";
|
|
6407
6445
|
|
|
6408
|
-
// bazel-out/
|
|
6446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6409
6447
|
var DiagnosticCategoryLabel;
|
|
6410
6448
|
(function(DiagnosticCategoryLabel2) {
|
|
6411
6449
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6413,7 +6451,7 @@ var DiagnosticCategoryLabel;
|
|
|
6413
6451
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6414
6452
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6415
6453
|
|
|
6416
|
-
// bazel-out/
|
|
6454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6417
6455
|
var ExtendedTemplateCheckerImpl = class {
|
|
6418
6456
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6419
6457
|
var _a, _b, _c, _d, _e;
|
|
@@ -6466,7 +6504,7 @@ function assertNever(value) {
|
|
|
6466
6504
|
${value}`);
|
|
6467
6505
|
}
|
|
6468
6506
|
|
|
6469
|
-
// bazel-out/
|
|
6507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6470
6508
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6471
6509
|
factory,
|
|
6472
6510
|
factory4,
|
|
@@ -6477,7 +6515,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6477
6515
|
factory6
|
|
6478
6516
|
];
|
|
6479
6517
|
|
|
6480
|
-
// bazel-out/
|
|
6518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6481
6519
|
var CompilationTicketKind;
|
|
6482
6520
|
(function(CompilationTicketKind2) {
|
|
6483
6521
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6549,7 +6587,7 @@ var NgCompiler = class {
|
|
|
6549
6587
|
}
|
|
6550
6588
|
}
|
|
6551
6589
|
constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
|
|
6552
|
-
var _a;
|
|
6590
|
+
var _a, _b;
|
|
6553
6591
|
this.adapter = adapter;
|
|
6554
6592
|
this.options = options;
|
|
6555
6593
|
this.inputProgram = inputProgram;
|
|
@@ -6563,6 +6601,7 @@ var NgCompiler = class {
|
|
|
6563
6601
|
this.nonTemplateDiagnostics = null;
|
|
6564
6602
|
this.delegatingPerfRecorder = new DelegatingPerfRecorder(this.perfRecorder);
|
|
6565
6603
|
this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a = options._enableTemplateTypeChecker) != null ? _a : false);
|
|
6604
|
+
this.enabledBlockTypes = new Set((_b = options._enabledBlockTypes) != null ? _b : []);
|
|
6566
6605
|
this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
|
|
6567
6606
|
this.currentProgram = inputProgram;
|
|
6568
6607
|
this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
|
|
@@ -7029,7 +7068,7 @@ var NgCompiler = class {
|
|
|
7029
7068
|
throw new Error('JIT mode support ("supportJitMode" option) cannot be disabled in partial compilation mode.');
|
|
7030
7069
|
}
|
|
7031
7070
|
const handlers = [
|
|
7032
|
-
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, supportTestBed, compilationMode),
|
|
7071
|
+
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.enabledBlockTypes, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed, compilationMode),
|
|
7033
7072
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, supportTestBed),
|
|
7034
7073
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed),
|
|
7035
7074
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed),
|
|
@@ -7220,7 +7259,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7220
7259
|
return versions;
|
|
7221
7260
|
}
|
|
7222
7261
|
|
|
7223
|
-
// bazel-out/
|
|
7262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7224
7263
|
import ts31 from "typescript";
|
|
7225
7264
|
var DelegatingCompilerHost2 = class {
|
|
7226
7265
|
constructor(delegate) {
|
|
@@ -7353,7 +7392,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7353
7392
|
}
|
|
7354
7393
|
};
|
|
7355
7394
|
|
|
7356
|
-
// bazel-out/
|
|
7395
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7357
7396
|
var NgtscProgram = class {
|
|
7358
7397
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7359
7398
|
this.options = options;
|
|
@@ -7571,15 +7610,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7571
7610
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7572
7611
|
}
|
|
7573
7612
|
|
|
7574
|
-
// bazel-out/
|
|
7613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7575
7614
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7576
7615
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7577
7616
|
}
|
|
7578
7617
|
|
|
7579
|
-
// bazel-out/
|
|
7618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7580
7619
|
import ts34 from "typescript";
|
|
7581
7620
|
|
|
7582
|
-
// bazel-out/
|
|
7621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7583
7622
|
import ts33 from "typescript";
|
|
7584
7623
|
function createMessageDiagnostic(messageText) {
|
|
7585
7624
|
return {
|
|
@@ -7593,7 +7632,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7593
7632
|
};
|
|
7594
7633
|
}
|
|
7595
7634
|
|
|
7596
|
-
// bazel-out/
|
|
7635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7597
7636
|
var defaultFormatHost = {
|
|
7598
7637
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7599
7638
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7807,4 +7846,4 @@ export {
|
|
|
7807
7846
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7808
7847
|
* found in the LICENSE file at https://angular.io/license
|
|
7809
7848
|
*/
|
|
7810
|
-
//# sourceMappingURL=chunk-
|
|
7849
|
+
//# sourceMappingURL=chunk-E72KZKRK.js.map
|