@angular/compiler-cli 17.0.0-next.8 → 17.0.0-rc.0
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-JPBJE7OS.js → chunk-225M55ER.js} +5 -5
- package/bundles/{chunk-BV3ZUD7T.js → chunk-3IBJEGH3.js} +5 -5
- package/bundles/{chunk-NNS2FLUN.js → chunk-7BZJ2Z2V.js} +4 -4
- package/bundles/{chunk-PCMLSPQF.js → chunk-CSOLWS7O.js} +7 -7
- package/bundles/{chunk-EQ7Q3KIO.js → chunk-GTB2POO5.js} +30 -30
- package/bundles/{chunk-EKTJ7622.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-XXCMYI3O.js → chunk-LPMZPYYV.js} +78 -78
- package/bundles/{chunk-35SQ73FP.js → chunk-Q5XOEMMF.js} +121 -104
- package/bundles/chunk-Q5XOEMMF.js.map +6 -0
- package/bundles/{chunk-NVNYQX3M.js → chunk-RAK4OYZY.js} +27 -27
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-JZC4T2RR.js → chunk-UHYH6BYB.js} +1 -1
- package/bundles/{chunk-5WC7IWWT.js → chunk-YR36R26L.js} +8 -8
- 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 +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +9 -0
- package/src/ngtsc/docs/src/function_extractor.d.ts +3 -2
- package/src/ngtsc/docs/src/generics_extractor.d.ts +15 -0
- package/bundles/chunk-35SQ73FP.js.map +0 -6
- /package/bundles/{chunk-JPBJE7OS.js.map → chunk-225M55ER.js.map} +0 -0
- /package/bundles/{chunk-BV3ZUD7T.js.map → chunk-3IBJEGH3.js.map} +0 -0
- /package/bundles/{chunk-NNS2FLUN.js.map → chunk-7BZJ2Z2V.js.map} +0 -0
- /package/bundles/{chunk-PCMLSPQF.js.map → chunk-CSOLWS7O.js.map} +0 -0
- /package/bundles/{chunk-EQ7Q3KIO.js.map → chunk-GTB2POO5.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-XXCMYI3O.js.map → chunk-LPMZPYYV.js.map} +0 -0
- /package/bundles/{chunk-NVNYQX3M.js.map → chunk-RAK4OYZY.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-JZC4T2RR.js.map → chunk-UHYH6BYB.js.map} +0 -0
- /package/bundles/{chunk-5WC7IWWT.js.map → chunk-YR36R26L.js.map} +0 -0
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LPMZPYYV.js";
|
|
40
40
|
import {
|
|
41
41
|
ImportManager,
|
|
42
42
|
translateExpression,
|
|
43
43
|
translateType
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YR36R26L.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-RAK4OYZY.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-3IBJEGH3.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-CSOLWS7O.js";
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/darwin_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
225
225
|
import ts2 from "typescript";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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,8 +496,23 @@ 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_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
500
500
|
import ts6 from "typescript";
|
|
501
|
+
|
|
502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
503
|
+
function extractGenerics(declaration) {
|
|
504
|
+
var _a, _b;
|
|
505
|
+
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
506
|
+
var _a2, _b2;
|
|
507
|
+
return {
|
|
508
|
+
name: typeParam.name.getText(),
|
|
509
|
+
constraint: (_a2 = typeParam.constraint) == null ? void 0 : _a2.getText(),
|
|
510
|
+
default: (_b2 = typeParam.default) == null ? void 0 : _b2.getText()
|
|
511
|
+
};
|
|
512
|
+
})) != null ? _b : [];
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
501
516
|
var FunctionExtractor = class {
|
|
502
517
|
constructor(declaration, typeChecker) {
|
|
503
518
|
this.declaration = declaration;
|
|
@@ -511,6 +526,7 @@ var FunctionExtractor = class {
|
|
|
511
526
|
name: this.declaration.name.getText(),
|
|
512
527
|
returnType,
|
|
513
528
|
entryType: EntryType.Function,
|
|
529
|
+
generics: extractGenerics(this.declaration),
|
|
514
530
|
description: extractJsDocDescription(this.declaration),
|
|
515
531
|
jsdocTags: extractJsDocTags(this.declaration),
|
|
516
532
|
rawComment: extractRawJsDoc(this.declaration)
|
|
@@ -550,20 +566,20 @@ var FunctionExtractor = class {
|
|
|
550
566
|
}
|
|
551
567
|
};
|
|
552
568
|
|
|
553
|
-
// bazel-out/
|
|
569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
554
570
|
import ts8 from "typescript";
|
|
555
571
|
|
|
556
|
-
// bazel-out/
|
|
572
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
557
573
|
import ts7 from "typescript";
|
|
558
574
|
|
|
559
|
-
// bazel-out/
|
|
575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
560
576
|
function isAngularPrivateName(name) {
|
|
561
577
|
var _a;
|
|
562
578
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
563
579
|
return firstChar === "\u0275" || firstChar === "_";
|
|
564
580
|
}
|
|
565
581
|
|
|
566
|
-
// bazel-out/
|
|
582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
567
583
|
var ClassExtractor = class {
|
|
568
584
|
constructor(declaration, typeChecker) {
|
|
569
585
|
this.declaration = declaration;
|
|
@@ -575,6 +591,7 @@ var ClassExtractor = class {
|
|
|
575
591
|
isAbstract: this.isAbstract(),
|
|
576
592
|
entryType: ts7.isInterfaceDeclaration(this.declaration) ? EntryType.Interface : EntryType.UndecoratedClass,
|
|
577
593
|
members: this.extractAllClassMembers(this.declaration),
|
|
594
|
+
generics: extractGenerics(this.declaration),
|
|
578
595
|
description: extractJsDocDescription(this.declaration),
|
|
579
596
|
jsdocTags: extractJsDocTags(this.declaration),
|
|
580
597
|
rawComment: extractRawJsDoc(this.declaration)
|
|
@@ -779,7 +796,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
779
796
|
return extractor.extract();
|
|
780
797
|
}
|
|
781
798
|
|
|
782
|
-
// bazel-out/
|
|
799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
783
800
|
function extractConstant(declaration, typeChecker) {
|
|
784
801
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
785
802
|
const variableStatement = declaration.parent.parent;
|
|
@@ -797,7 +814,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
797
814
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
798
815
|
}
|
|
799
816
|
|
|
800
|
-
// bazel-out/
|
|
817
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
801
818
|
function extractTypeAlias(declaration) {
|
|
802
819
|
return {
|
|
803
820
|
name: declaration.name.getText(),
|
|
@@ -809,7 +826,7 @@ function extractTypeAlias(declaration) {
|
|
|
809
826
|
};
|
|
810
827
|
}
|
|
811
828
|
|
|
812
|
-
// bazel-out/
|
|
829
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
813
830
|
var DocsExtractor = class {
|
|
814
831
|
constructor(typeChecker, metadataReader) {
|
|
815
832
|
this.typeChecker = typeChecker;
|
|
@@ -868,7 +885,7 @@ var DocsExtractor = class {
|
|
|
868
885
|
}
|
|
869
886
|
};
|
|
870
887
|
|
|
871
|
-
// bazel-out/
|
|
888
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
872
889
|
import ts9 from "typescript";
|
|
873
890
|
var FlatIndexGenerator = class {
|
|
874
891
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -893,7 +910,7 @@ export * from '${relativeEntryPoint}';
|
|
|
893
910
|
}
|
|
894
911
|
};
|
|
895
912
|
|
|
896
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
897
914
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
898
915
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
899
916
|
let resolvedEntryPoint = null;
|
|
@@ -909,7 +926,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
909
926
|
return resolvedEntryPoint;
|
|
910
927
|
}
|
|
911
928
|
|
|
912
|
-
// bazel-out/
|
|
929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
913
930
|
import ts10 from "typescript";
|
|
914
931
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
915
932
|
const diagnostics = [];
|
|
@@ -989,7 +1006,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
989
1006
|
}
|
|
990
1007
|
}
|
|
991
1008
|
|
|
992
|
-
// bazel-out/
|
|
1009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
993
1010
|
var ReferenceGraph = class {
|
|
994
1011
|
constructor() {
|
|
995
1012
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1043,7 +1060,7 @@ var ReferenceGraph = class {
|
|
|
1043
1060
|
}
|
|
1044
1061
|
};
|
|
1045
1062
|
|
|
1046
|
-
// bazel-out/
|
|
1063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1047
1064
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1048
1065
|
var UpdateMode;
|
|
1049
1066
|
(function(UpdateMode2) {
|
|
@@ -1051,13 +1068,13 @@ var UpdateMode;
|
|
|
1051
1068
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1052
1069
|
})(UpdateMode || (UpdateMode = {}));
|
|
1053
1070
|
|
|
1054
|
-
// bazel-out/
|
|
1071
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1055
1072
|
import ts12 from "typescript";
|
|
1056
1073
|
|
|
1057
|
-
// bazel-out/
|
|
1074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1058
1075
|
import ts11 from "typescript";
|
|
1059
1076
|
|
|
1060
|
-
// bazel-out/
|
|
1077
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1061
1078
|
var NgExtension = Symbol("NgExtension");
|
|
1062
1079
|
function isExtended(sf) {
|
|
1063
1080
|
return sf[NgExtension] !== void 0;
|
|
@@ -1117,13 +1134,13 @@ function retagTsFile(sf) {
|
|
|
1117
1134
|
}
|
|
1118
1135
|
}
|
|
1119
1136
|
|
|
1120
|
-
// bazel-out/
|
|
1137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1121
1138
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1122
1139
|
function makeShimFileName(fileName, suffix) {
|
|
1123
1140
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1124
1141
|
}
|
|
1125
1142
|
|
|
1126
|
-
// bazel-out/
|
|
1143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1127
1144
|
var ShimAdapter = class {
|
|
1128
1145
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1129
1146
|
this.delegate = delegate;
|
|
@@ -1218,7 +1235,7 @@ var ShimAdapter = class {
|
|
|
1218
1235
|
}
|
|
1219
1236
|
};
|
|
1220
1237
|
|
|
1221
|
-
// bazel-out/
|
|
1238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1222
1239
|
var ShimReferenceTagger = class {
|
|
1223
1240
|
constructor(shimExtensions) {
|
|
1224
1241
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1252,7 +1269,7 @@ var ShimReferenceTagger = class {
|
|
|
1252
1269
|
}
|
|
1253
1270
|
};
|
|
1254
1271
|
|
|
1255
|
-
// bazel-out/
|
|
1272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1256
1273
|
var DelegatingCompilerHost = class {
|
|
1257
1274
|
constructor(delegate) {
|
|
1258
1275
|
this.delegate = delegate;
|
|
@@ -1365,7 +1382,7 @@ var TsCreateProgramDriver = class {
|
|
|
1365
1382
|
}
|
|
1366
1383
|
};
|
|
1367
1384
|
|
|
1368
|
-
// bazel-out/
|
|
1385
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1369
1386
|
var FileDependencyGraph = class {
|
|
1370
1387
|
constructor() {
|
|
1371
1388
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1432,7 +1449,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1432
1449
|
return false;
|
|
1433
1450
|
}
|
|
1434
1451
|
|
|
1435
|
-
// bazel-out/
|
|
1452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1436
1453
|
var IncrementalStateKind;
|
|
1437
1454
|
(function(IncrementalStateKind2) {
|
|
1438
1455
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1440,7 +1457,7 @@ var IncrementalStateKind;
|
|
|
1440
1457
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1441
1458
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1442
1459
|
|
|
1443
|
-
// bazel-out/
|
|
1460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1444
1461
|
var PhaseKind;
|
|
1445
1462
|
(function(PhaseKind2) {
|
|
1446
1463
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1641,7 +1658,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1641
1658
|
}
|
|
1642
1659
|
}
|
|
1643
1660
|
|
|
1644
|
-
// bazel-out/
|
|
1661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1645
1662
|
var TrackedIncrementalBuildStrategy = class {
|
|
1646
1663
|
constructor() {
|
|
1647
1664
|
this.state = null;
|
|
@@ -1677,7 +1694,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1677
1694
|
};
|
|
1678
1695
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1679
1696
|
|
|
1680
|
-
// bazel-out/
|
|
1697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1681
1698
|
var IdentifierKind;
|
|
1682
1699
|
(function(IdentifierKind2) {
|
|
1683
1700
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1695,7 +1712,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1695
1712
|
}
|
|
1696
1713
|
};
|
|
1697
1714
|
|
|
1698
|
-
// bazel-out/
|
|
1715
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1699
1716
|
var IndexingContext = class {
|
|
1700
1717
|
constructor() {
|
|
1701
1718
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1705,10 +1722,10 @@ var IndexingContext = class {
|
|
|
1705
1722
|
}
|
|
1706
1723
|
};
|
|
1707
1724
|
|
|
1708
|
-
// bazel-out/
|
|
1725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1709
1726
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1710
1727
|
|
|
1711
|
-
// bazel-out/
|
|
1728
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1712
1729
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1713
1730
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1714
1731
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1990,7 +2007,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1990
2007
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1991
2008
|
}
|
|
1992
2009
|
|
|
1993
|
-
// bazel-out/
|
|
2010
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1994
2011
|
function generateAnalysis(context) {
|
|
1995
2012
|
const analysis = /* @__PURE__ */ new Map();
|
|
1996
2013
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2026,7 +2043,7 @@ function generateAnalysis(context) {
|
|
|
2026
2043
|
return analysis;
|
|
2027
2044
|
}
|
|
2028
2045
|
|
|
2029
|
-
// bazel-out/
|
|
2046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2030
2047
|
var NgModuleIndexImpl = class {
|
|
2031
2048
|
constructor(metaReader, localReader) {
|
|
2032
2049
|
this.metaReader = metaReader;
|
|
@@ -2115,7 +2132,7 @@ var NgModuleIndexImpl = class {
|
|
|
2115
2132
|
}
|
|
2116
2133
|
};
|
|
2117
2134
|
|
|
2118
|
-
// bazel-out/
|
|
2135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2119
2136
|
import ts13 from "typescript";
|
|
2120
2137
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2121
2138
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2261,7 +2278,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2261
2278
|
};
|
|
2262
2279
|
}
|
|
2263
2280
|
|
|
2264
|
-
// bazel-out/
|
|
2281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2265
2282
|
var StandaloneComponentScopeReader = class {
|
|
2266
2283
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2267
2284
|
this.metaReader = metaReader;
|
|
@@ -2339,10 +2356,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2339
2356
|
}
|
|
2340
2357
|
};
|
|
2341
2358
|
|
|
2342
|
-
// bazel-out/
|
|
2359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2343
2360
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2344
2361
|
|
|
2345
|
-
// bazel-out/
|
|
2362
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2346
2363
|
import ts14 from "typescript";
|
|
2347
2364
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2348
2365
|
var _a;
|
|
@@ -2449,7 +2466,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2449
2466
|
return ts14.createSourceFile(fileName, template, ts14.ScriptTarget.Latest, false, ts14.ScriptKind.JSX);
|
|
2450
2467
|
}
|
|
2451
2468
|
|
|
2452
|
-
// bazel-out/
|
|
2469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2453
2470
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2454
2471
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2455
2472
|
function getTemplateId(clazz) {
|
|
@@ -2466,11 +2483,11 @@ function allocateTemplateId(sf) {
|
|
|
2466
2483
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2467
2484
|
}
|
|
2468
2485
|
|
|
2469
|
-
// bazel-out/
|
|
2486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2470
2487
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2471
2488
|
import ts16 from "typescript";
|
|
2472
2489
|
|
|
2473
|
-
// bazel-out/
|
|
2490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2474
2491
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2475
2492
|
import ts15 from "typescript";
|
|
2476
2493
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2600,7 +2617,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2600
2617
|
}) || false;
|
|
2601
2618
|
}
|
|
2602
2619
|
|
|
2603
|
-
// bazel-out/
|
|
2620
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2604
2621
|
var CompletionEngine = class {
|
|
2605
2622
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2606
2623
|
this.tcb = tcb;
|
|
@@ -2757,10 +2774,10 @@ var CompletionEngine = class {
|
|
|
2757
2774
|
}
|
|
2758
2775
|
};
|
|
2759
2776
|
|
|
2760
|
-
// bazel-out/
|
|
2777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2761
2778
|
import ts30 from "typescript";
|
|
2762
2779
|
|
|
2763
|
-
// bazel-out/
|
|
2780
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2764
2781
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2765
2782
|
import ts17 from "typescript";
|
|
2766
2783
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2813,11 +2830,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2813
2830
|
}
|
|
2814
2831
|
};
|
|
2815
2832
|
|
|
2816
|
-
// bazel-out/
|
|
2833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2817
2834
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2818
2835
|
import ts23 from "typescript";
|
|
2819
2836
|
|
|
2820
|
-
// bazel-out/
|
|
2837
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2821
2838
|
import ts18 from "typescript";
|
|
2822
2839
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2823
2840
|
ts18.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2891,16 +2908,16 @@ function isAccessExpression(node) {
|
|
|
2891
2908
|
return ts18.isPropertyAccessExpression(node) || ts18.isElementAccessExpression(node);
|
|
2892
2909
|
}
|
|
2893
2910
|
|
|
2894
|
-
// bazel-out/
|
|
2911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2895
2912
|
import ts22 from "typescript";
|
|
2896
2913
|
|
|
2897
|
-
// bazel-out/
|
|
2914
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2898
2915
|
import ts21 from "typescript";
|
|
2899
2916
|
|
|
2900
|
-
// bazel-out/
|
|
2917
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2901
2918
|
import ts20 from "typescript";
|
|
2902
2919
|
|
|
2903
|
-
// bazel-out/
|
|
2920
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2904
2921
|
import ts19 from "typescript";
|
|
2905
2922
|
var INELIGIBLE = {};
|
|
2906
2923
|
function canEmitType(type, canEmit) {
|
|
@@ -2975,7 +2992,7 @@ var TypeEmitter = class {
|
|
|
2975
2992
|
}
|
|
2976
2993
|
};
|
|
2977
2994
|
|
|
2978
|
-
// bazel-out/
|
|
2995
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2979
2996
|
var TypeParameterEmitter = class {
|
|
2980
2997
|
constructor(typeParameters, reflector) {
|
|
2981
2998
|
this.typeParameters = typeParameters;
|
|
@@ -3052,7 +3069,7 @@ var TypeParameterEmitter = class {
|
|
|
3052
3069
|
}
|
|
3053
3070
|
};
|
|
3054
3071
|
|
|
3055
|
-
// bazel-out/
|
|
3072
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3056
3073
|
var TcbInliningRequirement;
|
|
3057
3074
|
(function(TcbInliningRequirement2) {
|
|
3058
3075
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -3132,7 +3149,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3132
3149
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3133
3150
|
}
|
|
3134
3151
|
|
|
3135
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3136
3153
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
3137
3154
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3138
3155
|
const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3243,7 +3260,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3243
3260
|
});
|
|
3244
3261
|
}
|
|
3245
3262
|
|
|
3246
|
-
// bazel-out/
|
|
3263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3247
3264
|
var Environment = class {
|
|
3248
3265
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3249
3266
|
this.config = config;
|
|
@@ -3337,7 +3354,7 @@ var Environment = class {
|
|
|
3337
3354
|
}
|
|
3338
3355
|
};
|
|
3339
3356
|
|
|
3340
|
-
// bazel-out/
|
|
3357
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3341
3358
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
3342
3359
|
import ts24 from "typescript";
|
|
3343
3360
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3493,7 +3510,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3493
3510
|
};
|
|
3494
3511
|
}
|
|
3495
3512
|
|
|
3496
|
-
// bazel-out/
|
|
3513
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3497
3514
|
import ts25 from "typescript";
|
|
3498
3515
|
var TypeCheckShimGenerator = class {
|
|
3499
3516
|
constructor() {
|
|
@@ -3511,11 +3528,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3511
3528
|
}
|
|
3512
3529
|
};
|
|
3513
3530
|
|
|
3514
|
-
// bazel-out/
|
|
3531
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3515
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";
|
|
3516
3533
|
import ts28 from "typescript";
|
|
3517
3534
|
|
|
3518
|
-
// bazel-out/
|
|
3535
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3519
3536
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3520
3537
|
import ts26 from "typescript";
|
|
3521
3538
|
function wrapForDiagnostics(expr) {
|
|
@@ -3561,7 +3578,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3561
3578
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3562
3579
|
}
|
|
3563
3580
|
|
|
3564
|
-
// bazel-out/
|
|
3581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3565
3582
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3566
3583
|
import ts27 from "typescript";
|
|
3567
3584
|
var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
|
|
@@ -3894,7 +3911,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3894
3911
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3895
3912
|
})();
|
|
3896
3913
|
|
|
3897
|
-
// bazel-out/
|
|
3914
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3898
3915
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3899
3916
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3900
3917
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3918,7 +3935,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3918
3935
|
}
|
|
3919
3936
|
};
|
|
3920
3937
|
|
|
3921
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3922
3939
|
var TcbGenericContextBehavior;
|
|
3923
3940
|
(function(TcbGenericContextBehavior2) {
|
|
3924
3941
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -5289,7 +5306,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5289
5306
|
}
|
|
5290
5307
|
};
|
|
5291
5308
|
|
|
5292
|
-
// bazel-out/
|
|
5309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5293
5310
|
import ts29 from "typescript";
|
|
5294
5311
|
var TypeCheckFile = class extends Environment {
|
|
5295
5312
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5325,7 +5342,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5325
5342
|
}
|
|
5326
5343
|
};
|
|
5327
5344
|
|
|
5328
|
-
// bazel-out/
|
|
5345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5329
5346
|
var InliningMode;
|
|
5330
5347
|
(function(InliningMode2) {
|
|
5331
5348
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5562,10 +5579,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5562
5579
|
return splits;
|
|
5563
5580
|
}
|
|
5564
5581
|
|
|
5565
|
-
// bazel-out/
|
|
5582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5566
5583
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5567
5584
|
|
|
5568
|
-
// bazel-out/
|
|
5585
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5569
5586
|
var LF_CHAR = 10;
|
|
5570
5587
|
var CR_CHAR = 13;
|
|
5571
5588
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5606,7 +5623,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5606
5623
|
return low - 1;
|
|
5607
5624
|
}
|
|
5608
5625
|
|
|
5609
|
-
// bazel-out/
|
|
5626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5610
5627
|
var TemplateSource = class {
|
|
5611
5628
|
constructor(mapping, file) {
|
|
5612
5629
|
this.mapping = mapping;
|
|
@@ -5657,7 +5674,7 @@ var TemplateSourceManager = class {
|
|
|
5657
5674
|
}
|
|
5658
5675
|
};
|
|
5659
5676
|
|
|
5660
|
-
// bazel-out/
|
|
5677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5661
5678
|
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";
|
|
5662
5679
|
import ts31 from "typescript";
|
|
5663
5680
|
var SymbolBuilder = class {
|
|
@@ -6141,7 +6158,7 @@ function sourceSpanEqual(a, b) {
|
|
|
6141
6158
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
6142
6159
|
}
|
|
6143
6160
|
|
|
6144
|
-
// bazel-out/
|
|
6161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
6145
6162
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
6146
6163
|
var TemplateTypeCheckerImpl = class {
|
|
6147
6164
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6838,10 +6855,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6838
6855
|
}
|
|
6839
6856
|
};
|
|
6840
6857
|
|
|
6841
|
-
// bazel-out/
|
|
6858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6842
6859
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6843
6860
|
|
|
6844
|
-
// bazel-out/
|
|
6861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6845
6862
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
6846
6863
|
var TemplateCheckWithVisitor = class {
|
|
6847
6864
|
run(ctx, component, template) {
|
|
@@ -6965,7 +6982,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6965
6982
|
}
|
|
6966
6983
|
};
|
|
6967
6984
|
|
|
6968
|
-
// bazel-out/
|
|
6985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6969
6986
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6970
6987
|
constructor() {
|
|
6971
6988
|
super(...arguments);
|
|
@@ -6990,7 +7007,7 @@ var factory = {
|
|
|
6990
7007
|
create: () => new InvalidBananaInBoxCheck()
|
|
6991
7008
|
};
|
|
6992
7009
|
|
|
6993
|
-
// bazel-out/
|
|
7010
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6994
7011
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6995
7012
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6996
7013
|
["ngIf", "NgIf"],
|
|
@@ -7035,7 +7052,7 @@ var factory2 = {
|
|
|
7035
7052
|
}
|
|
7036
7053
|
};
|
|
7037
7054
|
|
|
7038
|
-
// bazel-out/
|
|
7055
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
7039
7056
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
7040
7057
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
7041
7058
|
constructor() {
|
|
@@ -7068,7 +7085,7 @@ var factory3 = {
|
|
|
7068
7085
|
create: () => new MissingNgForOfLetCheck()
|
|
7069
7086
|
};
|
|
7070
7087
|
|
|
7071
|
-
// bazel-out/
|
|
7088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
7072
7089
|
import { Binary } from "@angular/compiler";
|
|
7073
7090
|
import ts32 from "typescript";
|
|
7074
7091
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7113,7 +7130,7 @@ var factory4 = {
|
|
|
7113
7130
|
}
|
|
7114
7131
|
};
|
|
7115
7132
|
|
|
7116
|
-
// bazel-out/
|
|
7133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
7117
7134
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
7118
7135
|
import ts33 from "typescript";
|
|
7119
7136
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7159,7 +7176,7 @@ var factory5 = {
|
|
|
7159
7176
|
}
|
|
7160
7177
|
};
|
|
7161
7178
|
|
|
7162
|
-
// bazel-out/
|
|
7179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
7163
7180
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
7164
7181
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
7165
7182
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7183,7 +7200,7 @@ var factory6 = {
|
|
|
7183
7200
|
create: () => new SuffixNotSupportedCheck()
|
|
7184
7201
|
};
|
|
7185
7202
|
|
|
7186
|
-
// bazel-out/
|
|
7203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
7187
7204
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
7188
7205
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
7189
7206
|
constructor() {
|
|
@@ -7222,10 +7239,10 @@ var factory7 = {
|
|
|
7222
7239
|
create: () => new TextAttributeNotBindingSpec()
|
|
7223
7240
|
};
|
|
7224
7241
|
|
|
7225
|
-
// bazel-out/
|
|
7242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7226
7243
|
import ts34 from "typescript";
|
|
7227
7244
|
|
|
7228
|
-
// bazel-out/
|
|
7245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7229
7246
|
var DiagnosticCategoryLabel;
|
|
7230
7247
|
(function(DiagnosticCategoryLabel2) {
|
|
7231
7248
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7233,7 +7250,7 @@ var DiagnosticCategoryLabel;
|
|
|
7233
7250
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7234
7251
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7235
7252
|
|
|
7236
|
-
// bazel-out/
|
|
7253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7237
7254
|
var ExtendedTemplateCheckerImpl = class {
|
|
7238
7255
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7239
7256
|
var _a, _b, _c, _d, _e;
|
|
@@ -7286,7 +7303,7 @@ function assertNever(value) {
|
|
|
7286
7303
|
${value}`);
|
|
7287
7304
|
}
|
|
7288
7305
|
|
|
7289
|
-
// bazel-out/
|
|
7306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7290
7307
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7291
7308
|
factory,
|
|
7292
7309
|
factory4,
|
|
@@ -7297,7 +7314,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
7297
7314
|
factory6
|
|
7298
7315
|
];
|
|
7299
7316
|
|
|
7300
|
-
// bazel-out/
|
|
7317
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7301
7318
|
var CompilationTicketKind;
|
|
7302
7319
|
(function(CompilationTicketKind2) {
|
|
7303
7320
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8056,7 +8073,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
8056
8073
|
return versions;
|
|
8057
8074
|
}
|
|
8058
8075
|
|
|
8059
|
-
// bazel-out/
|
|
8076
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8060
8077
|
import ts36 from "typescript";
|
|
8061
8078
|
var DelegatingCompilerHost2 = class {
|
|
8062
8079
|
constructor(delegate) {
|
|
@@ -8189,7 +8206,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
8189
8206
|
}
|
|
8190
8207
|
};
|
|
8191
8208
|
|
|
8192
|
-
// bazel-out/
|
|
8209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8193
8210
|
var NgtscProgram = class {
|
|
8194
8211
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
8195
8212
|
this.options = options;
|
|
@@ -8416,15 +8433,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8416
8433
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8417
8434
|
}
|
|
8418
8435
|
|
|
8419
|
-
// bazel-out/
|
|
8436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8420
8437
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8421
8438
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8422
8439
|
}
|
|
8423
8440
|
|
|
8424
|
-
// bazel-out/
|
|
8441
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8425
8442
|
import ts39 from "typescript";
|
|
8426
8443
|
|
|
8427
|
-
// bazel-out/
|
|
8444
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8428
8445
|
import ts38 from "typescript";
|
|
8429
8446
|
function createMessageDiagnostic(messageText) {
|
|
8430
8447
|
return {
|
|
@@ -8438,7 +8455,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8438
8455
|
};
|
|
8439
8456
|
}
|
|
8440
8457
|
|
|
8441
|
-
// bazel-out/
|
|
8458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8442
8459
|
var defaultFormatHost = {
|
|
8443
8460
|
getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
|
|
8444
8461
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -8650,4 +8667,4 @@ export {
|
|
|
8650
8667
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8651
8668
|
* found in the LICENSE file at https://angular.io/license
|
|
8652
8669
|
*/
|
|
8653
|
-
//# sourceMappingURL=chunk-
|
|
8670
|
+
//# sourceMappingURL=chunk-Q5XOEMMF.js.map
|