@angular/compiler-cli 17.0.0-rc.0 → 17.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-UHYH6BYB.js → chunk-3O3O4L34.js} +1 -1
- package/bundles/{chunk-LPMZPYYV.js → chunk-47YFDVF5.js} +78 -78
- package/bundles/{chunk-225M55ER.js → chunk-BBHDYHY4.js} +5 -5
- package/bundles/{chunk-SBDNBITT.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-YR36R26L.js → chunk-IB7D76E2.js} +8 -8
- package/bundles/{chunk-7BZJ2Z2V.js → chunk-L2LBTQAL.js} +4 -4
- package/bundles/{chunk-RAK4OYZY.js → chunk-NATK4QBU.js} +33 -28
- package/bundles/{chunk-RAK4OYZY.js.map → chunk-NATK4QBU.js.map} +1 -1
- package/bundles/{chunk-GYHDNUIK.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-Q5XOEMMF.js → chunk-UN5ELNTU.js} +115 -114
- package/bundles/{chunk-Q5XOEMMF.js.map → chunk-UN5ELNTU.js.map} +1 -1
- package/bundles/{chunk-3IBJEGH3.js → chunk-W22VYY2W.js} +5 -5
- package/bundles/{chunk-CSOLWS7O.js → chunk-W653LDC7.js} +7 -7
- package/bundles/{chunk-GTB2POO5.js → chunk-YSUF4ELW.js} +30 -30
- 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/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +4 -1
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-3O3O4L34.js.map} +0 -0
- /package/bundles/{chunk-LPMZPYYV.js.map → chunk-47YFDVF5.js.map} +0 -0
- /package/bundles/{chunk-225M55ER.js.map → chunk-BBHDYHY4.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-YR36R26L.js.map → chunk-IB7D76E2.js.map} +0 -0
- /package/bundles/{chunk-7BZJ2Z2V.js.map → chunk-L2LBTQAL.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-3IBJEGH3.js.map → chunk-W22VYY2W.js.map} +0 -0
- /package/bundles/{chunk-CSOLWS7O.js.map → chunk-W653LDC7.js.map} +0 -0
- /package/bundles/{chunk-GTB2POO5.js.map → chunk-YSUF4ELW.js.map} +0 -0
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-47YFDVF5.js";
|
|
40
40
|
import {
|
|
41
41
|
ImportManager,
|
|
42
42
|
translateExpression,
|
|
43
43
|
translateType
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IB7D76E2.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-NATK4QBU.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-W22VYY2W.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";
|
|
@@ -166,11 +166,11 @@ var MemberTags;
|
|
|
166
166
|
MemberTags2["Output"] = "output";
|
|
167
167
|
})(MemberTags || (MemberTags = {}));
|
|
168
168
|
|
|
169
|
-
// bazel-out/
|
|
169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
170
170
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
171
171
|
import ts37 from "typescript";
|
|
172
172
|
|
|
173
|
-
// bazel-out/
|
|
173
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
174
174
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
175
175
|
import * as path from "path";
|
|
176
176
|
function i18nGetExtension(formatName) {
|
|
@@ -221,10 +221,10 @@ function getPathNormalizer(basePath) {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
225
225
|
import ts2 from "typescript";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
228
228
|
function toNumbers(value) {
|
|
229
229
|
const suffixIndex = value.lastIndexOf("-");
|
|
230
230
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -259,7 +259,7 @@ function compareVersions(v1, v2) {
|
|
|
259
259
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
263
263
|
var MIN_TS_VERSION = "5.2.0";
|
|
264
264
|
var MAX_TS_VERSION = "5.3.0";
|
|
265
265
|
var tsVersion = ts2.version;
|
|
@@ -272,10 +272,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
272
272
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
// bazel-out/
|
|
275
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
276
276
|
import ts35 from "typescript";
|
|
277
277
|
|
|
278
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
279
279
|
var CycleAnalyzer = class {
|
|
280
280
|
constructor(importGraph) {
|
|
281
281
|
this.importGraph = importGraph;
|
|
@@ -346,7 +346,7 @@ var Cycle = class {
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
|
|
349
|
-
// bazel-out/
|
|
349
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
350
350
|
import ts3 from "typescript";
|
|
351
351
|
var ImportGraph = class {
|
|
352
352
|
constructor(checker, perf) {
|
|
@@ -438,7 +438,7 @@ var Found = class {
|
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
|
|
441
|
-
// bazel-out/
|
|
441
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
442
442
|
import ts4 from "typescript";
|
|
443
443
|
function extractJsDocTags(node) {
|
|
444
444
|
return ts4.getJSDocTags(node).map((t) => {
|
|
@@ -462,12 +462,12 @@ function extractRawJsDoc(node) {
|
|
|
462
462
|
return (_b = (_a = ts4.getJSDocCommentsAndTags(node).find(ts4.isJSDoc)) == null ? void 0 : _a.getFullText()) != null ? _b : "";
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
// bazel-out/
|
|
465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
466
466
|
function extractResolvedTypeString(node, checker) {
|
|
467
467
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
// bazel-out/
|
|
470
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
471
471
|
import ts5 from "typescript";
|
|
472
472
|
function extractEnum(declaration, typeChecker) {
|
|
473
473
|
return {
|
|
@@ -496,10 +496,10 @@ function getEnumMemberValue(memberNode) {
|
|
|
496
496
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
// bazel-out/
|
|
499
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
500
500
|
import ts6 from "typescript";
|
|
501
501
|
|
|
502
|
-
// bazel-out/
|
|
502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
503
503
|
function extractGenerics(declaration) {
|
|
504
504
|
var _a, _b;
|
|
505
505
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -512,7 +512,7 @@ function extractGenerics(declaration) {
|
|
|
512
512
|
})) != null ? _b : [];
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
// bazel-out/
|
|
515
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
516
516
|
var FunctionExtractor = class {
|
|
517
517
|
constructor(declaration, typeChecker) {
|
|
518
518
|
this.declaration = declaration;
|
|
@@ -566,20 +566,20 @@ var FunctionExtractor = class {
|
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
|
|
569
|
-
// bazel-out/
|
|
569
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
570
570
|
import ts8 from "typescript";
|
|
571
571
|
|
|
572
|
-
// bazel-out/
|
|
572
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
573
573
|
import ts7 from "typescript";
|
|
574
574
|
|
|
575
|
-
// bazel-out/
|
|
575
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
576
576
|
function isAngularPrivateName(name) {
|
|
577
577
|
var _a;
|
|
578
578
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
579
579
|
return firstChar === "\u0275" || firstChar === "_";
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
// bazel-out/
|
|
582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
583
583
|
var ClassExtractor = class {
|
|
584
584
|
constructor(declaration, typeChecker) {
|
|
585
585
|
this.declaration = declaration;
|
|
@@ -796,7 +796,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
796
796
|
return extractor.extract();
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
-
// bazel-out/
|
|
799
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
800
800
|
function extractConstant(declaration, typeChecker) {
|
|
801
801
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
802
802
|
const variableStatement = declaration.parent.parent;
|
|
@@ -814,7 +814,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
814
814
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
-
// bazel-out/
|
|
817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
818
818
|
function extractTypeAlias(declaration) {
|
|
819
819
|
return {
|
|
820
820
|
name: declaration.name.getText(),
|
|
@@ -826,7 +826,7 @@ function extractTypeAlias(declaration) {
|
|
|
826
826
|
};
|
|
827
827
|
}
|
|
828
828
|
|
|
829
|
-
// bazel-out/
|
|
829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
830
830
|
var DocsExtractor = class {
|
|
831
831
|
constructor(typeChecker, metadataReader) {
|
|
832
832
|
this.typeChecker = typeChecker;
|
|
@@ -885,7 +885,7 @@ var DocsExtractor = class {
|
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
887
|
|
|
888
|
-
// bazel-out/
|
|
888
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
889
889
|
import ts9 from "typescript";
|
|
890
890
|
var FlatIndexGenerator = class {
|
|
891
891
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -910,7 +910,7 @@ export * from '${relativeEntryPoint}';
|
|
|
910
910
|
}
|
|
911
911
|
};
|
|
912
912
|
|
|
913
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
914
914
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
915
915
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
916
916
|
let resolvedEntryPoint = null;
|
|
@@ -926,7 +926,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
926
926
|
return resolvedEntryPoint;
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
// bazel-out/
|
|
929
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
930
930
|
import ts10 from "typescript";
|
|
931
931
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
932
932
|
const diagnostics = [];
|
|
@@ -1006,7 +1006,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
// bazel-out/
|
|
1009
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1010
1010
|
var ReferenceGraph = class {
|
|
1011
1011
|
constructor() {
|
|
1012
1012
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1060,7 +1060,7 @@ var ReferenceGraph = class {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
|
-
// bazel-out/
|
|
1063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1064
1064
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1065
1065
|
var UpdateMode;
|
|
1066
1066
|
(function(UpdateMode2) {
|
|
@@ -1068,13 +1068,13 @@ var UpdateMode;
|
|
|
1068
1068
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1069
1069
|
})(UpdateMode || (UpdateMode = {}));
|
|
1070
1070
|
|
|
1071
|
-
// bazel-out/
|
|
1071
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1072
1072
|
import ts12 from "typescript";
|
|
1073
1073
|
|
|
1074
|
-
// bazel-out/
|
|
1074
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1075
1075
|
import ts11 from "typescript";
|
|
1076
1076
|
|
|
1077
|
-
// bazel-out/
|
|
1077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1078
1078
|
var NgExtension = Symbol("NgExtension");
|
|
1079
1079
|
function isExtended(sf) {
|
|
1080
1080
|
return sf[NgExtension] !== void 0;
|
|
@@ -1134,13 +1134,13 @@ function retagTsFile(sf) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
// bazel-out/
|
|
1137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1138
1138
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1139
1139
|
function makeShimFileName(fileName, suffix) {
|
|
1140
1140
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
|
-
// bazel-out/
|
|
1143
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1144
1144
|
var ShimAdapter = class {
|
|
1145
1145
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1146
1146
|
this.delegate = delegate;
|
|
@@ -1235,7 +1235,7 @@ var ShimAdapter = class {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
};
|
|
1237
1237
|
|
|
1238
|
-
// bazel-out/
|
|
1238
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1239
1239
|
var ShimReferenceTagger = class {
|
|
1240
1240
|
constructor(shimExtensions) {
|
|
1241
1241
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1269,7 +1269,7 @@ var ShimReferenceTagger = class {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
1271
|
|
|
1272
|
-
// bazel-out/
|
|
1272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1273
1273
|
var DelegatingCompilerHost = class {
|
|
1274
1274
|
constructor(delegate) {
|
|
1275
1275
|
this.delegate = delegate;
|
|
@@ -1382,7 +1382,7 @@ var TsCreateProgramDriver = class {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
};
|
|
1384
1384
|
|
|
1385
|
-
// bazel-out/
|
|
1385
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1386
1386
|
var FileDependencyGraph = class {
|
|
1387
1387
|
constructor() {
|
|
1388
1388
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1449,7 +1449,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1449
1449
|
return false;
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
|
-
// bazel-out/
|
|
1452
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1453
1453
|
var IncrementalStateKind;
|
|
1454
1454
|
(function(IncrementalStateKind2) {
|
|
1455
1455
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1457,7 +1457,7 @@ var IncrementalStateKind;
|
|
|
1457
1457
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1458
1458
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1459
1459
|
|
|
1460
|
-
// bazel-out/
|
|
1460
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1461
1461
|
var PhaseKind;
|
|
1462
1462
|
(function(PhaseKind2) {
|
|
1463
1463
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1658,7 +1658,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
1661
|
-
// bazel-out/
|
|
1661
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1662
1662
|
var TrackedIncrementalBuildStrategy = class {
|
|
1663
1663
|
constructor() {
|
|
1664
1664
|
this.state = null;
|
|
@@ -1694,7 +1694,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1696
1696
|
|
|
1697
|
-
// bazel-out/
|
|
1697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1698
1698
|
var IdentifierKind;
|
|
1699
1699
|
(function(IdentifierKind2) {
|
|
1700
1700
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1712,7 +1712,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
};
|
|
1714
1714
|
|
|
1715
|
-
// bazel-out/
|
|
1715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1716
1716
|
var IndexingContext = class {
|
|
1717
1717
|
constructor() {
|
|
1718
1718
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1722,10 +1722,10 @@ var IndexingContext = class {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
};
|
|
1724
1724
|
|
|
1725
|
-
// bazel-out/
|
|
1725
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1726
1726
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1727
1727
|
|
|
1728
|
-
// bazel-out/
|
|
1728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1729
1729
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1730
1730
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1731
1731
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2007,7 +2007,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2007
2007
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
|
-
// bazel-out/
|
|
2010
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2011
2011
|
function generateAnalysis(context) {
|
|
2012
2012
|
const analysis = /* @__PURE__ */ new Map();
|
|
2013
2013
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2043,7 +2043,7 @@ function generateAnalysis(context) {
|
|
|
2043
2043
|
return analysis;
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
|
-
// bazel-out/
|
|
2046
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2047
2047
|
var NgModuleIndexImpl = class {
|
|
2048
2048
|
constructor(metaReader, localReader) {
|
|
2049
2049
|
this.metaReader = metaReader;
|
|
@@ -2132,7 +2132,7 @@ var NgModuleIndexImpl = class {
|
|
|
2132
2132
|
}
|
|
2133
2133
|
};
|
|
2134
2134
|
|
|
2135
|
-
// bazel-out/
|
|
2135
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2136
2136
|
import ts13 from "typescript";
|
|
2137
2137
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2138
2138
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2278,7 +2278,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2278
2278
|
};
|
|
2279
2279
|
}
|
|
2280
2280
|
|
|
2281
|
-
// bazel-out/
|
|
2281
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2282
2282
|
var StandaloneComponentScopeReader = class {
|
|
2283
2283
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2284
2284
|
this.metaReader = metaReader;
|
|
@@ -2356,10 +2356,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2356
2356
|
}
|
|
2357
2357
|
};
|
|
2358
2358
|
|
|
2359
|
-
// bazel-out/
|
|
2359
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2360
2360
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2361
2361
|
|
|
2362
|
-
// bazel-out/
|
|
2362
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2363
2363
|
import ts14 from "typescript";
|
|
2364
2364
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2365
2365
|
var _a;
|
|
@@ -2466,7 +2466,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2466
2466
|
return ts14.createSourceFile(fileName, template, ts14.ScriptTarget.Latest, false, ts14.ScriptKind.JSX);
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
// bazel-out/
|
|
2469
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2470
2470
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2471
2471
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2472
2472
|
function getTemplateId(clazz) {
|
|
@@ -2483,11 +2483,11 @@ function allocateTemplateId(sf) {
|
|
|
2483
2483
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2484
2484
|
}
|
|
2485
2485
|
|
|
2486
|
-
// bazel-out/
|
|
2486
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2487
2487
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2488
2488
|
import ts16 from "typescript";
|
|
2489
2489
|
|
|
2490
|
-
// bazel-out/
|
|
2490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2491
2491
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2492
2492
|
import ts15 from "typescript";
|
|
2493
2493
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2617,7 +2617,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2617
2617
|
}) || false;
|
|
2618
2618
|
}
|
|
2619
2619
|
|
|
2620
|
-
// bazel-out/
|
|
2620
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2621
2621
|
var CompletionEngine = class {
|
|
2622
2622
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2623
2623
|
this.tcb = tcb;
|
|
@@ -2774,10 +2774,10 @@ var CompletionEngine = class {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
};
|
|
2776
2776
|
|
|
2777
|
-
// bazel-out/
|
|
2777
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2778
2778
|
import ts30 from "typescript";
|
|
2779
2779
|
|
|
2780
|
-
// bazel-out/
|
|
2780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2781
2781
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2782
2782
|
import ts17 from "typescript";
|
|
2783
2783
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2830,11 +2830,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
};
|
|
2832
2832
|
|
|
2833
|
-
// bazel-out/
|
|
2833
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2834
2834
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2835
2835
|
import ts23 from "typescript";
|
|
2836
2836
|
|
|
2837
|
-
// bazel-out/
|
|
2837
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2838
2838
|
import ts18 from "typescript";
|
|
2839
2839
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2840
2840
|
ts18.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2908,16 +2908,16 @@ function isAccessExpression(node) {
|
|
|
2908
2908
|
return ts18.isPropertyAccessExpression(node) || ts18.isElementAccessExpression(node);
|
|
2909
2909
|
}
|
|
2910
2910
|
|
|
2911
|
-
// bazel-out/
|
|
2911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2912
2912
|
import ts22 from "typescript";
|
|
2913
2913
|
|
|
2914
|
-
// bazel-out/
|
|
2914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2915
2915
|
import ts21 from "typescript";
|
|
2916
2916
|
|
|
2917
|
-
// bazel-out/
|
|
2917
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2918
2918
|
import ts20 from "typescript";
|
|
2919
2919
|
|
|
2920
|
-
// bazel-out/
|
|
2920
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2921
2921
|
import ts19 from "typescript";
|
|
2922
2922
|
var INELIGIBLE = {};
|
|
2923
2923
|
function canEmitType(type, canEmit) {
|
|
@@ -2992,7 +2992,7 @@ var TypeEmitter = class {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
};
|
|
2994
2994
|
|
|
2995
|
-
// bazel-out/
|
|
2995
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2996
2996
|
var TypeParameterEmitter = class {
|
|
2997
2997
|
constructor(typeParameters, reflector) {
|
|
2998
2998
|
this.typeParameters = typeParameters;
|
|
@@ -3069,7 +3069,7 @@ var TypeParameterEmitter = class {
|
|
|
3069
3069
|
}
|
|
3070
3070
|
};
|
|
3071
3071
|
|
|
3072
|
-
// bazel-out/
|
|
3072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3073
3073
|
var TcbInliningRequirement;
|
|
3074
3074
|
(function(TcbInliningRequirement2) {
|
|
3075
3075
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -3149,7 +3149,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3149
3149
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3150
3150
|
}
|
|
3151
3151
|
|
|
3152
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3153
3153
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
3154
3154
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3155
3155
|
const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3260,7 +3260,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3260
3260
|
});
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
|
-
// bazel-out/
|
|
3263
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3264
3264
|
var Environment = class {
|
|
3265
3265
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3266
3266
|
this.config = config;
|
|
@@ -3354,7 +3354,7 @@ var Environment = class {
|
|
|
3354
3354
|
}
|
|
3355
3355
|
};
|
|
3356
3356
|
|
|
3357
|
-
// bazel-out/
|
|
3357
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3358
3358
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
3359
3359
|
import ts24 from "typescript";
|
|
3360
3360
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3510,7 +3510,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3510
3510
|
};
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
3513
|
-
// bazel-out/
|
|
3513
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3514
3514
|
import ts25 from "typescript";
|
|
3515
3515
|
var TypeCheckShimGenerator = class {
|
|
3516
3516
|
constructor() {
|
|
@@ -3528,11 +3528,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3528
3528
|
}
|
|
3529
3529
|
};
|
|
3530
3530
|
|
|
3531
|
-
// bazel-out/
|
|
3531
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3532
3532
|
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";
|
|
3533
3533
|
import ts28 from "typescript";
|
|
3534
3534
|
|
|
3535
|
-
// bazel-out/
|
|
3535
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3536
3536
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3537
3537
|
import ts26 from "typescript";
|
|
3538
3538
|
function wrapForDiagnostics(expr) {
|
|
@@ -3578,7 +3578,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3578
3578
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3579
3579
|
}
|
|
3580
3580
|
|
|
3581
|
-
// bazel-out/
|
|
3581
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3582
3582
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3583
3583
|
import ts27 from "typescript";
|
|
3584
3584
|
var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
|
|
@@ -3911,7 +3911,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3911
3911
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3912
3912
|
})();
|
|
3913
3913
|
|
|
3914
|
-
// bazel-out/
|
|
3914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3915
3915
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3916
3916
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3917
3917
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3935,7 +3935,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3935
3935
|
}
|
|
3936
3936
|
};
|
|
3937
3937
|
|
|
3938
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3939
3939
|
var TcbGenericContextBehavior;
|
|
3940
3940
|
(function(TcbGenericContextBehavior2) {
|
|
3941
3941
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4658,8 +4658,9 @@ var TcbSwitchOp = class extends TcbOp {
|
|
|
4658
4658
|
return false;
|
|
4659
4659
|
}
|
|
4660
4660
|
execute() {
|
|
4661
|
-
const
|
|
4662
|
-
markIgnoreDiagnostics(
|
|
4661
|
+
const comparisonExpression = tcbExpression(this.block.expression, this.tcb, this.scope);
|
|
4662
|
+
markIgnoreDiagnostics(comparisonExpression);
|
|
4663
|
+
const expression = ts28.factory.createParenthesizedExpression(comparisonExpression);
|
|
4663
4664
|
const root = this.generateCase(0, expression, null);
|
|
4664
4665
|
if (root !== void 0) {
|
|
4665
4666
|
this.scope.addStatement(root);
|
|
@@ -5306,7 +5307,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5306
5307
|
}
|
|
5307
5308
|
};
|
|
5308
5309
|
|
|
5309
|
-
// bazel-out/
|
|
5310
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5310
5311
|
import ts29 from "typescript";
|
|
5311
5312
|
var TypeCheckFile = class extends Environment {
|
|
5312
5313
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5342,7 +5343,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5342
5343
|
}
|
|
5343
5344
|
};
|
|
5344
5345
|
|
|
5345
|
-
// bazel-out/
|
|
5346
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5346
5347
|
var InliningMode;
|
|
5347
5348
|
(function(InliningMode2) {
|
|
5348
5349
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5579,10 +5580,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5579
5580
|
return splits;
|
|
5580
5581
|
}
|
|
5581
5582
|
|
|
5582
|
-
// bazel-out/
|
|
5583
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5583
5584
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5584
5585
|
|
|
5585
|
-
// bazel-out/
|
|
5586
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5586
5587
|
var LF_CHAR = 10;
|
|
5587
5588
|
var CR_CHAR = 13;
|
|
5588
5589
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5623,7 +5624,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5623
5624
|
return low - 1;
|
|
5624
5625
|
}
|
|
5625
5626
|
|
|
5626
|
-
// bazel-out/
|
|
5627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5627
5628
|
var TemplateSource = class {
|
|
5628
5629
|
constructor(mapping, file) {
|
|
5629
5630
|
this.mapping = mapping;
|
|
@@ -5674,7 +5675,7 @@ var TemplateSourceManager = class {
|
|
|
5674
5675
|
}
|
|
5675
5676
|
};
|
|
5676
5677
|
|
|
5677
|
-
// bazel-out/
|
|
5678
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5678
5679
|
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";
|
|
5679
5680
|
import ts31 from "typescript";
|
|
5680
5681
|
var SymbolBuilder = class {
|
|
@@ -6158,7 +6159,7 @@ function sourceSpanEqual(a, b) {
|
|
|
6158
6159
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
6159
6160
|
}
|
|
6160
6161
|
|
|
6161
|
-
// bazel-out/
|
|
6162
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
6162
6163
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
6163
6164
|
var TemplateTypeCheckerImpl = class {
|
|
6164
6165
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6855,10 +6856,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6855
6856
|
}
|
|
6856
6857
|
};
|
|
6857
6858
|
|
|
6858
|
-
// bazel-out/
|
|
6859
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6859
6860
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6860
6861
|
|
|
6861
|
-
// bazel-out/
|
|
6862
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6862
6863
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
6863
6864
|
var TemplateCheckWithVisitor = class {
|
|
6864
6865
|
run(ctx, component, template) {
|
|
@@ -6982,7 +6983,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6982
6983
|
}
|
|
6983
6984
|
};
|
|
6984
6985
|
|
|
6985
|
-
// bazel-out/
|
|
6986
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6986
6987
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6987
6988
|
constructor() {
|
|
6988
6989
|
super(...arguments);
|
|
@@ -7007,13 +7008,13 @@ var factory = {
|
|
|
7007
7008
|
create: () => new InvalidBananaInBoxCheck()
|
|
7008
7009
|
};
|
|
7009
7010
|
|
|
7010
|
-
// bazel-out/
|
|
7011
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
7011
7012
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
7012
7013
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
7013
|
-
["ngIf", "NgIf"],
|
|
7014
|
-
["ngFor", "NgFor"],
|
|
7015
|
-
["ngSwitchCase", "NgSwitchCase"],
|
|
7016
|
-
["ngSwitchDefault", "NgSwitchDefault"]
|
|
7014
|
+
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
7015
|
+
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
7016
|
+
["ngSwitchCase", { directive: "NgSwitchCase", builtIn: "@switch with @case" }],
|
|
7017
|
+
["ngSwitchDefault", { directive: "NgSwitchDefault", builtIn: "@switch with @default" }]
|
|
7017
7018
|
]);
|
|
7018
7019
|
var MissingControlFlowDirectiveCheck = class extends TemplateCheckWithVisitor {
|
|
7019
7020
|
constructor() {
|
|
@@ -7038,8 +7039,8 @@ var MissingControlFlowDirectiveCheck = class extends TemplateCheckWithVisitor {
|
|
|
7038
7039
|
return [];
|
|
7039
7040
|
}
|
|
7040
7041
|
const sourceSpan = controlFlowAttr.keySpan || controlFlowAttr.sourceSpan;
|
|
7041
|
-
const
|
|
7042
|
-
const errorMessage = `The \`*${controlFlowAttr.name}\` directive was used in the template, but neither the \`${
|
|
7042
|
+
const directiveAndBuiltIn = KNOWN_CONTROL_FLOW_DIRECTIVES.get(controlFlowAttr.name);
|
|
7043
|
+
const errorMessage = `The \`*${controlFlowAttr.name}\` directive was used in the template, but neither the \`${directiveAndBuiltIn == null ? void 0 : directiveAndBuiltIn.directive}\` directive nor the \`CommonModule\` was imported. Use Angular's built-in control flow ${directiveAndBuiltIn == null ? void 0 : directiveAndBuiltIn.builtIn} or make sure that either the \`${directiveAndBuiltIn == null ? void 0 : directiveAndBuiltIn.directive}\` directive or the \`CommonModule\` is included in the \`@Component.imports\` array of this component.`;
|
|
7043
7044
|
const diagnostic = ctx.makeTemplateDiagnostic(sourceSpan, errorMessage);
|
|
7044
7045
|
return [diagnostic];
|
|
7045
7046
|
}
|
|
@@ -7052,7 +7053,7 @@ var factory2 = {
|
|
|
7052
7053
|
}
|
|
7053
7054
|
};
|
|
7054
7055
|
|
|
7055
|
-
// bazel-out/
|
|
7056
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
7056
7057
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
7057
7058
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
7058
7059
|
constructor() {
|
|
@@ -7085,7 +7086,7 @@ var factory3 = {
|
|
|
7085
7086
|
create: () => new MissingNgForOfLetCheck()
|
|
7086
7087
|
};
|
|
7087
7088
|
|
|
7088
|
-
// bazel-out/
|
|
7089
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
7089
7090
|
import { Binary } from "@angular/compiler";
|
|
7090
7091
|
import ts32 from "typescript";
|
|
7091
7092
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7130,7 +7131,7 @@ var factory4 = {
|
|
|
7130
7131
|
}
|
|
7131
7132
|
};
|
|
7132
7133
|
|
|
7133
|
-
// bazel-out/
|
|
7134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
7134
7135
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
7135
7136
|
import ts33 from "typescript";
|
|
7136
7137
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7176,7 +7177,7 @@ var factory5 = {
|
|
|
7176
7177
|
}
|
|
7177
7178
|
};
|
|
7178
7179
|
|
|
7179
|
-
// bazel-out/
|
|
7180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
7180
7181
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
7181
7182
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
7182
7183
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7200,7 +7201,7 @@ var factory6 = {
|
|
|
7200
7201
|
create: () => new SuffixNotSupportedCheck()
|
|
7201
7202
|
};
|
|
7202
7203
|
|
|
7203
|
-
// bazel-out/
|
|
7204
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
7204
7205
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
7205
7206
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
7206
7207
|
constructor() {
|
|
@@ -7239,10 +7240,10 @@ var factory7 = {
|
|
|
7239
7240
|
create: () => new TextAttributeNotBindingSpec()
|
|
7240
7241
|
};
|
|
7241
7242
|
|
|
7242
|
-
// bazel-out/
|
|
7243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7243
7244
|
import ts34 from "typescript";
|
|
7244
7245
|
|
|
7245
|
-
// bazel-out/
|
|
7246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7246
7247
|
var DiagnosticCategoryLabel;
|
|
7247
7248
|
(function(DiagnosticCategoryLabel2) {
|
|
7248
7249
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7250,7 +7251,7 @@ var DiagnosticCategoryLabel;
|
|
|
7250
7251
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7251
7252
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7252
7253
|
|
|
7253
|
-
// bazel-out/
|
|
7254
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7254
7255
|
var ExtendedTemplateCheckerImpl = class {
|
|
7255
7256
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7256
7257
|
var _a, _b, _c, _d, _e;
|
|
@@ -7303,7 +7304,7 @@ function assertNever(value) {
|
|
|
7303
7304
|
${value}`);
|
|
7304
7305
|
}
|
|
7305
7306
|
|
|
7306
|
-
// bazel-out/
|
|
7307
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7307
7308
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7308
7309
|
factory,
|
|
7309
7310
|
factory4,
|
|
@@ -7314,7 +7315,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
7314
7315
|
factory6
|
|
7315
7316
|
];
|
|
7316
7317
|
|
|
7317
|
-
// bazel-out/
|
|
7318
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7318
7319
|
var CompilationTicketKind;
|
|
7319
7320
|
(function(CompilationTicketKind2) {
|
|
7320
7321
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8073,7 +8074,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
8073
8074
|
return versions;
|
|
8074
8075
|
}
|
|
8075
8076
|
|
|
8076
|
-
// bazel-out/
|
|
8077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8077
8078
|
import ts36 from "typescript";
|
|
8078
8079
|
var DelegatingCompilerHost2 = class {
|
|
8079
8080
|
constructor(delegate) {
|
|
@@ -8206,7 +8207,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
8206
8207
|
}
|
|
8207
8208
|
};
|
|
8208
8209
|
|
|
8209
|
-
// bazel-out/
|
|
8210
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8210
8211
|
var NgtscProgram = class {
|
|
8211
8212
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
8212
8213
|
this.options = options;
|
|
@@ -8433,15 +8434,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8433
8434
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8434
8435
|
}
|
|
8435
8436
|
|
|
8436
|
-
// bazel-out/
|
|
8437
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8437
8438
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8438
8439
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8439
8440
|
}
|
|
8440
8441
|
|
|
8441
|
-
// bazel-out/
|
|
8442
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8442
8443
|
import ts39 from "typescript";
|
|
8443
8444
|
|
|
8444
|
-
// bazel-out/
|
|
8445
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8445
8446
|
import ts38 from "typescript";
|
|
8446
8447
|
function createMessageDiagnostic(messageText) {
|
|
8447
8448
|
return {
|
|
@@ -8455,7 +8456,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8455
8456
|
};
|
|
8456
8457
|
}
|
|
8457
8458
|
|
|
8458
|
-
// bazel-out/
|
|
8459
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8459
8460
|
var defaultFormatHost = {
|
|
8460
8461
|
getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
|
|
8461
8462
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -8667,4 +8668,4 @@ export {
|
|
|
8667
8668
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8668
8669
|
* found in the LICENSE file at https://angular.io/license
|
|
8669
8670
|
*/
|
|
8670
|
-
//# sourceMappingURL=chunk-
|
|
8671
|
+
//# sourceMappingURL=chunk-UN5ELNTU.js.map
|