@angular/compiler-cli 17.0.0-next.5 → 17.0.0-next.6
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-UHYH6BYB.js → chunk-3O3O4L34.js} +1 -1
- package/bundles/{chunk-YWV5CDS7.js → chunk-6MV5LVGW.js} +134 -96
- package/bundles/chunk-6MV5LVGW.js.map +6 -0
- package/bundles/{chunk-TX6LIB73.js → chunk-7HFK25CM.js} +28 -27
- package/bundles/{chunk-TX6LIB73.js.map → chunk-7HFK25CM.js.map} +1 -1
- package/bundles/{chunk-RVITQ7TS.js → chunk-7YXJWQNF.js} +146 -107
- package/bundles/chunk-7YXJWQNF.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-7QICZXP3.js → chunk-DQ4T2KWL.js} +8 -8
- package/bundles/{chunk-KV7WQARZ.js → chunk-HICXNP7M.js} +52 -33
- package/bundles/chunk-HICXNP7M.js.map +6 -0
- package/bundles/{chunk-GYHDNUIK.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-OADA63HC.js → chunk-T6QZTHEE.js} +5 -5
- package/bundles/{chunk-HJOPJLIM.js → chunk-URH5LEAG.js} +5 -5
- package/bundles/{chunk-CSOLWS7O.js → chunk-W653LDC7.js} +7 -7
- package/bundles/{chunk-7QTF7U4J.js → chunk-YPVFT2MR.js} +4 -4
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +2 -0
- package/package.json +2 -2
- package/src/ngtsc/annotations/common/src/evaluation.d.ts +8 -0
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +14 -1
- package/src/ngtsc/imports/src/deferred_symbol_tracker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +6 -1
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +3 -0
- package/bundles/chunk-KV7WQARZ.js.map +0 -6
- package/bundles/chunk-RVITQ7TS.js.map +0 -6
- package/bundles/chunk-YWV5CDS7.js.map +0 -6
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-3O3O4L34.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-7QICZXP3.js.map → chunk-DQ4T2KWL.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-OADA63HC.js.map → chunk-T6QZTHEE.js.map} +0 -0
- /package/bundles/{chunk-HJOPJLIM.js.map → chunk-URH5LEAG.js.map} +0 -0
- /package/bundles/{chunk-CSOLWS7O.js.map → chunk-W653LDC7.js.map} +0 -0
- /package/bundles/{chunk-7QTF7U4J.js.map → chunk-YPVFT2MR.js.map} +0 -0
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6MV5LVGW.js";
|
|
40
40
|
import {
|
|
41
41
|
ImportManager,
|
|
42
42
|
translateExpression,
|
|
43
43
|
translateType
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DQ4T2KWL.js";
|
|
45
45
|
import {
|
|
46
46
|
AbsoluteModuleStrategy,
|
|
47
47
|
AliasStrategy,
|
|
@@ -83,14 +83,14 @@ import {
|
|
|
83
83
|
relativePathBetween,
|
|
84
84
|
replaceTsWithNgInErrors,
|
|
85
85
|
toUnredirectedSourceFile
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-7HFK25CM.js";
|
|
87
87
|
import {
|
|
88
88
|
ActivePerfRecorder,
|
|
89
89
|
DelegatingPerfRecorder,
|
|
90
90
|
PerfCheckpoint,
|
|
91
91
|
PerfEvent,
|
|
92
92
|
PerfPhase
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-URH5LEAG.js";
|
|
94
94
|
import {
|
|
95
95
|
LogicalFileSystem,
|
|
96
96
|
absoluteFrom,
|
|
@@ -100,9 +100,9 @@ import {
|
|
|
100
100
|
getSourceFileOrError,
|
|
101
101
|
join,
|
|
102
102
|
resolve
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-W653LDC7.js";
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
106
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
107
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
108
108
|
var SOURCE = "angular";
|
|
@@ -120,7 +120,7 @@ var EmitFlags;
|
|
|
120
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
121
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
122
122
|
|
|
123
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
124
124
|
import ts from "typescript";
|
|
125
125
|
var wrapHostForTest = null;
|
|
126
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -130,7 +130,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
130
130
|
return tsHost;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
// bazel-out/
|
|
133
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
134
134
|
var EntryType;
|
|
135
135
|
(function(EntryType2) {
|
|
136
136
|
EntryType2["Block"] = "Block";
|
|
@@ -165,11 +165,11 @@ var MemberTags;
|
|
|
165
165
|
MemberTags2["Output"] = "output";
|
|
166
166
|
})(MemberTags || (MemberTags = {}));
|
|
167
167
|
|
|
168
|
-
// bazel-out/
|
|
168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
169
169
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
170
170
|
import ts36 from "typescript";
|
|
171
171
|
|
|
172
|
-
// bazel-out/
|
|
172
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
173
173
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
174
174
|
import * as path from "path";
|
|
175
175
|
function i18nGetExtension(formatName) {
|
|
@@ -220,10 +220,10 @@ function getPathNormalizer(basePath) {
|
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
224
224
|
import ts2 from "typescript";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
227
227
|
function toNumbers(value) {
|
|
228
228
|
const suffixIndex = value.lastIndexOf("-");
|
|
229
229
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -258,7 +258,7 @@ function compareVersions(v1, v2) {
|
|
|
258
258
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
262
262
|
var MIN_TS_VERSION = "5.2.0";
|
|
263
263
|
var MAX_TS_VERSION = "5.3.0";
|
|
264
264
|
var tsVersion = ts2.version;
|
|
@@ -271,10 +271,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
271
271
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
275
275
|
import ts34 from "typescript";
|
|
276
276
|
|
|
277
|
-
// bazel-out/
|
|
277
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
278
278
|
var CycleAnalyzer = class {
|
|
279
279
|
constructor(importGraph) {
|
|
280
280
|
this.importGraph = importGraph;
|
|
@@ -345,7 +345,7 @@ var Cycle = class {
|
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
349
349
|
import ts3 from "typescript";
|
|
350
350
|
var ImportGraph = class {
|
|
351
351
|
constructor(checker, perf) {
|
|
@@ -437,7 +437,7 @@ var Found = class {
|
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
|
|
440
|
-
// bazel-out/
|
|
440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
441
441
|
import ts4 from "typescript";
|
|
442
442
|
function extractJsDocTags(node) {
|
|
443
443
|
return ts4.getJSDocTags(node).map((t) => {
|
|
@@ -461,12 +461,12 @@ function extractRawJsDoc(node) {
|
|
|
461
461
|
return (_b = (_a = ts4.getJSDocCommentsAndTags(node).find(ts4.isJSDoc)) == null ? void 0 : _a.getFullText()) != null ? _b : "";
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
// bazel-out/
|
|
464
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
465
465
|
function extractResolvedTypeString(node, checker) {
|
|
466
466
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
// bazel-out/
|
|
469
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
470
470
|
import ts5 from "typescript";
|
|
471
471
|
function extractEnum(declaration, typeChecker) {
|
|
472
472
|
return {
|
|
@@ -495,7 +495,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
495
495
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
// bazel-out/
|
|
498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
499
499
|
var FunctionExtractor = class {
|
|
500
500
|
constructor(declaration, typeChecker) {
|
|
501
501
|
this.declaration = declaration;
|
|
@@ -525,10 +525,10 @@ var FunctionExtractor = class {
|
|
|
525
525
|
}
|
|
526
526
|
};
|
|
527
527
|
|
|
528
|
-
// bazel-out/
|
|
528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
529
529
|
import ts7 from "typescript";
|
|
530
530
|
|
|
531
|
-
// bazel-out/
|
|
531
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
532
532
|
import ts6 from "typescript";
|
|
533
533
|
var ClassExtractor = class {
|
|
534
534
|
constructor(declaration, reference, typeChecker) {
|
|
@@ -713,7 +713,7 @@ function extractClass(classDeclaration, metadataReader, typeChecker) {
|
|
|
713
713
|
return extractor.extract();
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
// bazel-out/
|
|
716
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
717
717
|
function extractConstant(declaration, typeChecker) {
|
|
718
718
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
719
719
|
const variableStatement = declaration.parent.parent;
|
|
@@ -731,7 +731,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
731
731
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
735
735
|
var DocsExtractor = class {
|
|
736
736
|
constructor(typeChecker, metadataReader) {
|
|
737
737
|
this.typeChecker = typeChecker;
|
|
@@ -767,7 +767,7 @@ var DocsExtractor = class {
|
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
769
|
|
|
770
|
-
// bazel-out/
|
|
770
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
771
771
|
import ts8 from "typescript";
|
|
772
772
|
var FlatIndexGenerator = class {
|
|
773
773
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -792,7 +792,7 @@ export * from '${relativeEntryPoint}';
|
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
794
|
|
|
795
|
-
// bazel-out/
|
|
795
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
796
796
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
797
797
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
798
798
|
let resolvedEntryPoint = null;
|
|
@@ -808,7 +808,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
808
808
|
return resolvedEntryPoint;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
// bazel-out/
|
|
811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
812
812
|
import ts9 from "typescript";
|
|
813
813
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
814
814
|
const diagnostics = [];
|
|
@@ -888,7 +888,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
-
// bazel-out/
|
|
891
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
892
892
|
var ReferenceGraph = class {
|
|
893
893
|
constructor() {
|
|
894
894
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -942,7 +942,7 @@ var ReferenceGraph = class {
|
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
944
|
|
|
945
|
-
// bazel-out/
|
|
945
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
946
946
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
947
947
|
var UpdateMode;
|
|
948
948
|
(function(UpdateMode2) {
|
|
@@ -950,13 +950,13 @@ var UpdateMode;
|
|
|
950
950
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
951
951
|
})(UpdateMode || (UpdateMode = {}));
|
|
952
952
|
|
|
953
|
-
// bazel-out/
|
|
953
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
954
954
|
import ts11 from "typescript";
|
|
955
955
|
|
|
956
|
-
// bazel-out/
|
|
956
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
957
957
|
import ts10 from "typescript";
|
|
958
958
|
|
|
959
|
-
// bazel-out/
|
|
959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
960
960
|
var NgExtension = Symbol("NgExtension");
|
|
961
961
|
function isExtended(sf) {
|
|
962
962
|
return sf[NgExtension] !== void 0;
|
|
@@ -1016,13 +1016,13 @@ function retagTsFile(sf) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1020
1020
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1021
1021
|
function makeShimFileName(fileName, suffix) {
|
|
1022
1022
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// bazel-out/
|
|
1025
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1026
1026
|
var ShimAdapter = class {
|
|
1027
1027
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1028
1028
|
this.delegate = delegate;
|
|
@@ -1117,7 +1117,7 @@ var ShimAdapter = class {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
};
|
|
1119
1119
|
|
|
1120
|
-
// bazel-out/
|
|
1120
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1121
1121
|
var ShimReferenceTagger = class {
|
|
1122
1122
|
constructor(shimExtensions) {
|
|
1123
1123
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1151,7 +1151,7 @@ var ShimReferenceTagger = class {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
};
|
|
1153
1153
|
|
|
1154
|
-
// bazel-out/
|
|
1154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1155
1155
|
var DelegatingCompilerHost = class {
|
|
1156
1156
|
constructor(delegate) {
|
|
1157
1157
|
this.delegate = delegate;
|
|
@@ -1264,7 +1264,7 @@ var TsCreateProgramDriver = class {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
};
|
|
1266
1266
|
|
|
1267
|
-
// bazel-out/
|
|
1267
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1268
1268
|
var FileDependencyGraph = class {
|
|
1269
1269
|
constructor() {
|
|
1270
1270
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1331,7 +1331,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1331
1331
|
return false;
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
-
// bazel-out/
|
|
1334
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1335
1335
|
var IncrementalStateKind;
|
|
1336
1336
|
(function(IncrementalStateKind2) {
|
|
1337
1337
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1339,7 +1339,7 @@ var IncrementalStateKind;
|
|
|
1339
1339
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1340
1340
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1341
1341
|
|
|
1342
|
-
// bazel-out/
|
|
1342
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1343
1343
|
var PhaseKind;
|
|
1344
1344
|
(function(PhaseKind2) {
|
|
1345
1345
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1540,7 +1540,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
|
-
// bazel-out/
|
|
1543
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1544
1544
|
var TrackedIncrementalBuildStrategy = class {
|
|
1545
1545
|
constructor() {
|
|
1546
1546
|
this.state = null;
|
|
@@ -1576,7 +1576,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1576
1576
|
};
|
|
1577
1577
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1578
1578
|
|
|
1579
|
-
// bazel-out/
|
|
1579
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1580
1580
|
var IdentifierKind;
|
|
1581
1581
|
(function(IdentifierKind2) {
|
|
1582
1582
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1594,7 +1594,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1594
1594
|
}
|
|
1595
1595
|
};
|
|
1596
1596
|
|
|
1597
|
-
// bazel-out/
|
|
1597
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1598
1598
|
var IndexingContext = class {
|
|
1599
1599
|
constructor() {
|
|
1600
1600
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1604,10 +1604,10 @@ var IndexingContext = class {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
};
|
|
1606
1606
|
|
|
1607
|
-
// bazel-out/
|
|
1607
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1608
1608
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1609
1609
|
|
|
1610
|
-
// bazel-out/
|
|
1610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1611
1611
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1612
1612
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1613
1613
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1889,7 +1889,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1889
1889
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
// bazel-out/
|
|
1892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1893
1893
|
function generateAnalysis(context) {
|
|
1894
1894
|
const analysis = /* @__PURE__ */ new Map();
|
|
1895
1895
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1925,7 +1925,7 @@ function generateAnalysis(context) {
|
|
|
1925
1925
|
return analysis;
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
-
// bazel-out/
|
|
1928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1929
1929
|
var NgModuleIndexImpl = class {
|
|
1930
1930
|
constructor(metaReader, localReader) {
|
|
1931
1931
|
this.metaReader = metaReader;
|
|
@@ -2014,7 +2014,7 @@ var NgModuleIndexImpl = class {
|
|
|
2014
2014
|
}
|
|
2015
2015
|
};
|
|
2016
2016
|
|
|
2017
|
-
// bazel-out/
|
|
2017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2018
2018
|
import ts12 from "typescript";
|
|
2019
2019
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2020
2020
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2160,7 +2160,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2160
2160
|
};
|
|
2161
2161
|
}
|
|
2162
2162
|
|
|
2163
|
-
// bazel-out/
|
|
2163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2164
2164
|
var StandaloneComponentScopeReader = class {
|
|
2165
2165
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2166
2166
|
this.metaReader = metaReader;
|
|
@@ -2238,10 +2238,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
};
|
|
2240
2240
|
|
|
2241
|
-
// bazel-out/
|
|
2241
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2242
2242
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2243
2243
|
|
|
2244
|
-
// bazel-out/
|
|
2244
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2245
2245
|
import ts13 from "typescript";
|
|
2246
2246
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2247
2247
|
var _a;
|
|
@@ -2348,7 +2348,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2348
2348
|
return ts13.createSourceFile(fileName, template, ts13.ScriptTarget.Latest, false, ts13.ScriptKind.JSX);
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
|
-
// bazel-out/
|
|
2351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2352
2352
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2353
2353
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2354
2354
|
function getTemplateId(clazz) {
|
|
@@ -2365,11 +2365,11 @@ function allocateTemplateId(sf) {
|
|
|
2365
2365
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2366
2366
|
}
|
|
2367
2367
|
|
|
2368
|
-
// bazel-out/
|
|
2368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2369
2369
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2370
2370
|
import ts15 from "typescript";
|
|
2371
2371
|
|
|
2372
|
-
// bazel-out/
|
|
2372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2373
2373
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2374
2374
|
import ts14 from "typescript";
|
|
2375
2375
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2499,7 +2499,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2499
2499
|
}) || false;
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
2502
|
-
// bazel-out/
|
|
2502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2503
2503
|
var CompletionEngine = class {
|
|
2504
2504
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2505
2505
|
this.tcb = tcb;
|
|
@@ -2656,10 +2656,10 @@ var CompletionEngine = class {
|
|
|
2656
2656
|
}
|
|
2657
2657
|
};
|
|
2658
2658
|
|
|
2659
|
-
// bazel-out/
|
|
2659
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2660
2660
|
import ts29 from "typescript";
|
|
2661
2661
|
|
|
2662
|
-
// bazel-out/
|
|
2662
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2663
2663
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2664
2664
|
import ts16 from "typescript";
|
|
2665
2665
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2712,11 +2712,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
};
|
|
2714
2714
|
|
|
2715
|
-
// bazel-out/
|
|
2715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2716
2716
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2717
2717
|
import ts22 from "typescript";
|
|
2718
2718
|
|
|
2719
|
-
// bazel-out/
|
|
2719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2720
2720
|
import ts17 from "typescript";
|
|
2721
2721
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2722
2722
|
ts17.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2790,16 +2790,16 @@ function isAccessExpression(node) {
|
|
|
2790
2790
|
return ts17.isPropertyAccessExpression(node) || ts17.isElementAccessExpression(node);
|
|
2791
2791
|
}
|
|
2792
2792
|
|
|
2793
|
-
// bazel-out/
|
|
2793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2794
2794
|
import ts21 from "typescript";
|
|
2795
2795
|
|
|
2796
|
-
// bazel-out/
|
|
2796
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2797
2797
|
import ts20 from "typescript";
|
|
2798
2798
|
|
|
2799
|
-
// bazel-out/
|
|
2799
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2800
2800
|
import ts19 from "typescript";
|
|
2801
2801
|
|
|
2802
|
-
// bazel-out/
|
|
2802
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2803
2803
|
import ts18 from "typescript";
|
|
2804
2804
|
var INELIGIBLE = {};
|
|
2805
2805
|
function canEmitType(type, canEmit) {
|
|
@@ -2874,7 +2874,7 @@ var TypeEmitter = class {
|
|
|
2874
2874
|
}
|
|
2875
2875
|
};
|
|
2876
2876
|
|
|
2877
|
-
// bazel-out/
|
|
2877
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2878
2878
|
var TypeParameterEmitter = class {
|
|
2879
2879
|
constructor(typeParameters, reflector) {
|
|
2880
2880
|
this.typeParameters = typeParameters;
|
|
@@ -2951,7 +2951,7 @@ var TypeParameterEmitter = class {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
};
|
|
2953
2953
|
|
|
2954
|
-
// bazel-out/
|
|
2954
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2955
2955
|
var TcbInliningRequirement;
|
|
2956
2956
|
(function(TcbInliningRequirement2) {
|
|
2957
2957
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -3031,7 +3031,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3031
3031
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3032
3032
|
}
|
|
3033
3033
|
|
|
3034
|
-
// bazel-out/
|
|
3034
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3035
3035
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
3036
3036
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3037
3037
|
const rawType = ts21.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3142,7 +3142,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3142
3142
|
});
|
|
3143
3143
|
}
|
|
3144
3144
|
|
|
3145
|
-
// bazel-out/
|
|
3145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3146
3146
|
var Environment = class {
|
|
3147
3147
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3148
3148
|
this.config = config;
|
|
@@ -3236,7 +3236,7 @@ var Environment = class {
|
|
|
3236
3236
|
}
|
|
3237
3237
|
};
|
|
3238
3238
|
|
|
3239
|
-
// bazel-out/
|
|
3239
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3240
3240
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
3241
3241
|
import ts23 from "typescript";
|
|
3242
3242
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3372,6 +3372,17 @@ Consider enabling the 'strictTemplates' option in your tsconfig.json for better
|
|
|
3372
3372
|
const message = `Cannot access '${access.name}' inside of a track expression. Only '${block.item.name}', '${block.contextVariables.$index.name}' and properties on the containing component are available to this expression.`;
|
|
3373
3373
|
this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), sourceSpan, ts23.DiagnosticCategory.Error, ngErrorCode(ErrorCode.ILLEGAL_FOR_LOOP_TRACK_ACCESS), message));
|
|
3374
3374
|
}
|
|
3375
|
+
inaccessibleDeferredTriggerElement(templateId, trigger) {
|
|
3376
|
+
let message;
|
|
3377
|
+
if (trigger.reference === null) {
|
|
3378
|
+
message = `Trigger cannot find reference. Make sure that the @defer block has a @placeholder with at least one root element node.`;
|
|
3379
|
+
} else {
|
|
3380
|
+
message = `Trigger cannot find reference "${trigger.reference}".
|
|
3381
|
+
Check that an element with #${trigger.reference} exists in the same template and it's accessible from the @defer block.
|
|
3382
|
+
Deferred blocks can only access triggers in same view, a parent embedded view or the root view of the @placeholder block.`;
|
|
3383
|
+
}
|
|
3384
|
+
this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), trigger.sourceSpan, ts23.DiagnosticCategory.Error, ngErrorCode(ErrorCode.INACCESSIBLE_DEFERRED_TRIGGER_ELEMENT), message));
|
|
3385
|
+
}
|
|
3375
3386
|
};
|
|
3376
3387
|
function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
|
|
3377
3388
|
return {
|
|
@@ -3381,7 +3392,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3381
3392
|
};
|
|
3382
3393
|
}
|
|
3383
3394
|
|
|
3384
|
-
// bazel-out/
|
|
3395
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3385
3396
|
import ts24 from "typescript";
|
|
3386
3397
|
var TypeCheckShimGenerator = class {
|
|
3387
3398
|
constructor() {
|
|
@@ -3399,11 +3410,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3399
3410
|
}
|
|
3400
3411
|
};
|
|
3401
3412
|
|
|
3402
|
-
// bazel-out/
|
|
3413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3403
3414
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2, TransplantedType } from "@angular/compiler";
|
|
3404
3415
|
import ts27 from "typescript";
|
|
3405
3416
|
|
|
3406
|
-
// bazel-out/
|
|
3417
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3407
3418
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3408
3419
|
import ts25 from "typescript";
|
|
3409
3420
|
function wrapForDiagnostics(expr) {
|
|
@@ -3449,7 +3460,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3449
3460
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3450
3461
|
}
|
|
3451
3462
|
|
|
3452
|
-
// bazel-out/
|
|
3463
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3453
3464
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3454
3465
|
import ts26 from "typescript";
|
|
3455
3466
|
var NULL_AS_ANY = ts26.factory.createAsExpression(ts26.factory.createNull(), ts26.factory.createKeywordTypeNode(ts26.SyntaxKind.AnyKeyword));
|
|
@@ -3782,7 +3793,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3782
3793
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3783
3794
|
})();
|
|
3784
3795
|
|
|
3785
|
-
// bazel-out/
|
|
3796
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3786
3797
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3787
3798
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3788
3799
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3806,7 +3817,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3806
3817
|
}
|
|
3807
3818
|
};
|
|
3808
3819
|
|
|
3809
|
-
// bazel-out/
|
|
3820
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3810
3821
|
var TcbGenericContextBehavior;
|
|
3811
3822
|
(function(TcbGenericContextBehavior2) {
|
|
3812
3823
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4717,12 +4728,7 @@ var Scope = class {
|
|
|
4717
4728
|
}
|
|
4718
4729
|
this.checkAndAppendReferencesOfNode(node);
|
|
4719
4730
|
} else if (node instanceof TmplAstDeferredBlock) {
|
|
4720
|
-
|
|
4721
|
-
node.prefetchTriggers.when !== void 0 && this.opQueue.push(new TcbExpressionOp(this.tcb, this, node.prefetchTriggers.when.value));
|
|
4722
|
-
this.appendChildren(node);
|
|
4723
|
-
node.placeholder !== null && this.appendChildren(node.placeholder);
|
|
4724
|
-
node.loading !== null && this.appendChildren(node.loading);
|
|
4725
|
-
node.error !== null && this.appendChildren(node.error);
|
|
4731
|
+
this.appendDeferredBlock(node);
|
|
4726
4732
|
} else if (node instanceof TmplAstIfBlock) {
|
|
4727
4733
|
this.opQueue.push(new TcbIfOp(this.tcb, this, node));
|
|
4728
4734
|
} else if (node instanceof TmplAstSwitchBlock) {
|
|
@@ -4849,6 +4855,39 @@ var Scope = class {
|
|
|
4849
4855
|
}
|
|
4850
4856
|
}
|
|
4851
4857
|
}
|
|
4858
|
+
appendDeferredBlock(block) {
|
|
4859
|
+
this.appendDeferredTriggers(block, block.triggers);
|
|
4860
|
+
this.appendDeferredTriggers(block, block.prefetchTriggers);
|
|
4861
|
+
this.appendChildren(block);
|
|
4862
|
+
if (block.placeholder !== null) {
|
|
4863
|
+
this.appendChildren(block.placeholder);
|
|
4864
|
+
}
|
|
4865
|
+
if (block.loading !== null) {
|
|
4866
|
+
this.appendChildren(block.loading);
|
|
4867
|
+
}
|
|
4868
|
+
if (block.error !== null) {
|
|
4869
|
+
this.appendChildren(block.error);
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
appendDeferredTriggers(block, triggers) {
|
|
4873
|
+
if (triggers.when !== void 0) {
|
|
4874
|
+
this.opQueue.push(new TcbExpressionOp(this.tcb, this, triggers.when.value));
|
|
4875
|
+
}
|
|
4876
|
+
if (triggers.hover !== void 0) {
|
|
4877
|
+
this.appendReferenceBasedDeferredTrigger(block, triggers.hover);
|
|
4878
|
+
}
|
|
4879
|
+
if (triggers.interaction !== void 0) {
|
|
4880
|
+
this.appendReferenceBasedDeferredTrigger(block, triggers.interaction);
|
|
4881
|
+
}
|
|
4882
|
+
if (triggers.viewport !== void 0) {
|
|
4883
|
+
this.appendReferenceBasedDeferredTrigger(block, triggers.viewport);
|
|
4884
|
+
}
|
|
4885
|
+
}
|
|
4886
|
+
appendReferenceBasedDeferredTrigger(block, trigger) {
|
|
4887
|
+
if (this.tcb.boundTarget.getDeferredTriggerTarget(block, trigger) === null) {
|
|
4888
|
+
this.tcb.oobRecorder.inaccessibleDeferredTriggerElement(this.tcb.id, trigger);
|
|
4889
|
+
}
|
|
4890
|
+
}
|
|
4852
4891
|
};
|
|
4853
4892
|
function tcbThisParam(name, typeArguments) {
|
|
4854
4893
|
return ts27.factory.createParameterDeclaration(
|
|
@@ -5090,7 +5129,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5090
5129
|
}
|
|
5091
5130
|
};
|
|
5092
5131
|
|
|
5093
|
-
// bazel-out/
|
|
5132
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5094
5133
|
import ts28 from "typescript";
|
|
5095
5134
|
var TypeCheckFile = class extends Environment {
|
|
5096
5135
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5126,7 +5165,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5126
5165
|
}
|
|
5127
5166
|
};
|
|
5128
5167
|
|
|
5129
|
-
// bazel-out/
|
|
5168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5130
5169
|
var InliningMode;
|
|
5131
5170
|
(function(InliningMode2) {
|
|
5132
5171
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5363,10 +5402,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5363
5402
|
return splits;
|
|
5364
5403
|
}
|
|
5365
5404
|
|
|
5366
|
-
// bazel-out/
|
|
5405
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5367
5406
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5368
5407
|
|
|
5369
|
-
// bazel-out/
|
|
5408
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5370
5409
|
var LF_CHAR = 10;
|
|
5371
5410
|
var CR_CHAR = 13;
|
|
5372
5411
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5407,7 +5446,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5407
5446
|
return low - 1;
|
|
5408
5447
|
}
|
|
5409
5448
|
|
|
5410
|
-
// bazel-out/
|
|
5449
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5411
5450
|
var TemplateSource = class {
|
|
5412
5451
|
constructor(mapping, file) {
|
|
5413
5452
|
this.mapping = mapping;
|
|
@@ -5458,7 +5497,7 @@ var TemplateSourceManager = class {
|
|
|
5458
5497
|
}
|
|
5459
5498
|
};
|
|
5460
5499
|
|
|
5461
|
-
// bazel-out/
|
|
5500
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5462
5501
|
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";
|
|
5463
5502
|
import ts30 from "typescript";
|
|
5464
5503
|
var SymbolBuilder = class {
|
|
@@ -5942,7 +5981,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5942
5981
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5943
5982
|
}
|
|
5944
5983
|
|
|
5945
|
-
// bazel-out/
|
|
5984
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5946
5985
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5947
5986
|
var TemplateTypeCheckerImpl = class {
|
|
5948
5987
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6639,10 +6678,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6639
6678
|
}
|
|
6640
6679
|
};
|
|
6641
6680
|
|
|
6642
|
-
// bazel-out/
|
|
6681
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6643
6682
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6644
6683
|
|
|
6645
|
-
// bazel-out/
|
|
6684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6646
6685
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
6647
6686
|
var TemplateCheckWithVisitor = class {
|
|
6648
6687
|
run(ctx, component, template) {
|
|
@@ -6764,7 +6803,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6764
6803
|
}
|
|
6765
6804
|
};
|
|
6766
6805
|
|
|
6767
|
-
// bazel-out/
|
|
6806
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6768
6807
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6769
6808
|
constructor() {
|
|
6770
6809
|
super(...arguments);
|
|
@@ -6789,7 +6828,7 @@ var factory = {
|
|
|
6789
6828
|
create: () => new InvalidBananaInBoxCheck()
|
|
6790
6829
|
};
|
|
6791
6830
|
|
|
6792
|
-
// bazel-out/
|
|
6831
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6793
6832
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6794
6833
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6795
6834
|
["ngIf", "NgIf"],
|
|
@@ -6834,7 +6873,7 @@ var factory2 = {
|
|
|
6834
6873
|
}
|
|
6835
6874
|
};
|
|
6836
6875
|
|
|
6837
|
-
// bazel-out/
|
|
6876
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6838
6877
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6839
6878
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6840
6879
|
constructor() {
|
|
@@ -6867,7 +6906,7 @@ var factory3 = {
|
|
|
6867
6906
|
create: () => new MissingNgForOfLetCheck()
|
|
6868
6907
|
};
|
|
6869
6908
|
|
|
6870
|
-
// bazel-out/
|
|
6909
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6871
6910
|
import { Binary } from "@angular/compiler";
|
|
6872
6911
|
import ts31 from "typescript";
|
|
6873
6912
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6912,7 +6951,7 @@ var factory4 = {
|
|
|
6912
6951
|
}
|
|
6913
6952
|
};
|
|
6914
6953
|
|
|
6915
|
-
// bazel-out/
|
|
6954
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6916
6955
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6917
6956
|
import ts32 from "typescript";
|
|
6918
6957
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6958,7 +6997,7 @@ var factory5 = {
|
|
|
6958
6997
|
}
|
|
6959
6998
|
};
|
|
6960
6999
|
|
|
6961
|
-
// bazel-out/
|
|
7000
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6962
7001
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6963
7002
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6964
7003
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6982,7 +7021,7 @@ var factory6 = {
|
|
|
6982
7021
|
create: () => new SuffixNotSupportedCheck()
|
|
6983
7022
|
};
|
|
6984
7023
|
|
|
6985
|
-
// bazel-out/
|
|
7024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6986
7025
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6987
7026
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6988
7027
|
constructor() {
|
|
@@ -7021,10 +7060,10 @@ var factory7 = {
|
|
|
7021
7060
|
create: () => new TextAttributeNotBindingSpec()
|
|
7022
7061
|
};
|
|
7023
7062
|
|
|
7024
|
-
// bazel-out/
|
|
7063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7025
7064
|
import ts33 from "typescript";
|
|
7026
7065
|
|
|
7027
|
-
// bazel-out/
|
|
7066
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7028
7067
|
var DiagnosticCategoryLabel;
|
|
7029
7068
|
(function(DiagnosticCategoryLabel2) {
|
|
7030
7069
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7032,7 +7071,7 @@ var DiagnosticCategoryLabel;
|
|
|
7032
7071
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7033
7072
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7034
7073
|
|
|
7035
|
-
// bazel-out/
|
|
7074
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7036
7075
|
var ExtendedTemplateCheckerImpl = class {
|
|
7037
7076
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7038
7077
|
var _a, _b, _c, _d, _e;
|
|
@@ -7085,7 +7124,7 @@ function assertNever(value) {
|
|
|
7085
7124
|
${value}`);
|
|
7086
7125
|
}
|
|
7087
7126
|
|
|
7088
|
-
// bazel-out/
|
|
7127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7089
7128
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7090
7129
|
factory,
|
|
7091
7130
|
factory4,
|
|
@@ -7096,7 +7135,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
7096
7135
|
factory6
|
|
7097
7136
|
];
|
|
7098
7137
|
|
|
7099
|
-
// bazel-out/
|
|
7138
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7100
7139
|
var CompilationTicketKind;
|
|
7101
7140
|
(function(CompilationTicketKind2) {
|
|
7102
7141
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7853,7 +7892,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7853
7892
|
return versions;
|
|
7854
7893
|
}
|
|
7855
7894
|
|
|
7856
|
-
// bazel-out/
|
|
7895
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7857
7896
|
import ts35 from "typescript";
|
|
7858
7897
|
var DelegatingCompilerHost2 = class {
|
|
7859
7898
|
constructor(delegate) {
|
|
@@ -7986,7 +8025,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7986
8025
|
}
|
|
7987
8026
|
};
|
|
7988
8027
|
|
|
7989
|
-
// bazel-out/
|
|
8028
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7990
8029
|
var NgtscProgram = class {
|
|
7991
8030
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7992
8031
|
this.options = options;
|
|
@@ -8213,15 +8252,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8213
8252
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8214
8253
|
}
|
|
8215
8254
|
|
|
8216
|
-
// bazel-out/
|
|
8255
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8217
8256
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8218
8257
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8219
8258
|
}
|
|
8220
8259
|
|
|
8221
|
-
// bazel-out/
|
|
8260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8222
8261
|
import ts38 from "typescript";
|
|
8223
8262
|
|
|
8224
|
-
// bazel-out/
|
|
8263
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8225
8264
|
import ts37 from "typescript";
|
|
8226
8265
|
function createMessageDiagnostic(messageText) {
|
|
8227
8266
|
return {
|
|
@@ -8235,7 +8274,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8235
8274
|
};
|
|
8236
8275
|
}
|
|
8237
8276
|
|
|
8238
|
-
// bazel-out/
|
|
8277
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8239
8278
|
var defaultFormatHost = {
|
|
8240
8279
|
getCurrentDirectory: () => ts38.sys.getCurrentDirectory(),
|
|
8241
8280
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -8452,4 +8491,4 @@ export {
|
|
|
8452
8491
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8453
8492
|
* found in the LICENSE file at https://angular.io/license
|
|
8454
8493
|
*/
|
|
8455
|
-
//# sourceMappingURL=chunk-
|
|
8494
|
+
//# sourceMappingURL=chunk-7YXJWQNF.js.map
|