@angular/compiler-cli 17.0.6 → 17.0.8
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-W22VYY2W.js → chunk-3IBJEGH3.js} +5 -5
- package/bundles/{chunk-ILV5JRA3.js → chunk-B5URQIVL.js} +81 -80
- package/bundles/chunk-B5URQIVL.js.map +6 -0
- package/bundles/{chunk-W653LDC7.js → chunk-CSOLWS7O.js} +7 -7
- package/bundles/{chunk-JZRCFA2M.js → chunk-G64XB6AU.js} +59 -33
- package/bundles/chunk-G64XB6AU.js.map +6 -0
- package/bundles/{chunk-Z6XLAZWI.js → chunk-GT7FGHLZ.js} +30 -30
- package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-JNTXXKVD.js → chunk-KDLK7PF4.js} +114 -115
- package/bundles/chunk-KDLK7PF4.js.map +6 -0
- package/bundles/{chunk-PJ5O6AJ3.js → chunk-O55FKOOW.js} +13 -12
- package/bundles/chunk-O55FKOOW.js.map +6 -0
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-77ECZTEH.js → chunk-T6CN22EQ.js} +5 -5
- package/bundles/{chunk-CDJYMGHH.js → chunk-XXICUNOF.js} +4 -4
- package/bundles/index.js +12 -13
- package/bundles/index.js.map +1 -1
- 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 +5 -6
- package/bundles/private/tooling.js +3 -4
- package/bundles/src/bin/ng_xi18n.js +10 -11
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +8 -9
- package/bundles/src/bin/ngc.js.map +1 -1
- 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/imports/src/emitter.d.ts +5 -1
- package/src/ngtsc/imports/src/references.d.ts +3 -1
- package/src/ngtsc/reflection/src/host.d.ts +6 -1
- package/src/ngtsc/reflection/src/typescript.d.ts +1 -0
- package/src/ngtsc/typecheck/src/environment.d.ts +3 -3
- package/bundles/chunk-3O3O4L34.js +0 -12
- package/bundles/chunk-3O3O4L34.js.map +0 -6
- package/bundles/chunk-ILV5JRA3.js.map +0 -6
- package/bundles/chunk-JNTXXKVD.js.map +0 -6
- package/bundles/chunk-JZRCFA2M.js.map +0 -6
- package/bundles/chunk-PJ5O6AJ3.js.map +0 -6
- /package/bundles/{chunk-W22VYY2W.js.map → chunk-3IBJEGH3.js.map} +0 -0
- /package/bundles/{chunk-W653LDC7.js.map → chunk-CSOLWS7O.js.map} +0 -0
- /package/bundles/{chunk-Z6XLAZWI.js.map → chunk-GT7FGHLZ.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-77ECZTEH.js.map → chunk-T6CN22EQ.js.map} +0 -0
- /package/bundles/{chunk-CDJYMGHH.js.map → chunk-XXICUNOF.js.map} +0 -0
|
@@ -36,17 +36,18 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-B5URQIVL.js";
|
|
40
40
|
import {
|
|
41
41
|
ImportManager,
|
|
42
42
|
TypeEmitter,
|
|
43
43
|
canEmitType,
|
|
44
44
|
translateExpression,
|
|
45
45
|
translateType
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-O55FKOOW.js";
|
|
47
47
|
import {
|
|
48
48
|
AbsoluteModuleStrategy,
|
|
49
49
|
AliasStrategy,
|
|
50
|
+
AmbientImport,
|
|
50
51
|
COMPILER_ERRORS_WITH_GUIDES,
|
|
51
52
|
DefaultImportTracker,
|
|
52
53
|
DeferredSymbolTracker,
|
|
@@ -85,14 +86,14 @@ import {
|
|
|
85
86
|
relativePathBetween,
|
|
86
87
|
replaceTsWithNgInErrors,
|
|
87
88
|
toUnredirectedSourceFile
|
|
88
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-G64XB6AU.js";
|
|
89
90
|
import {
|
|
90
91
|
ActivePerfRecorder,
|
|
91
92
|
DelegatingPerfRecorder,
|
|
92
93
|
PerfCheckpoint,
|
|
93
94
|
PerfEvent,
|
|
94
95
|
PerfPhase
|
|
95
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-3IBJEGH3.js";
|
|
96
97
|
import {
|
|
97
98
|
LogicalFileSystem,
|
|
98
99
|
absoluteFrom,
|
|
@@ -102,9 +103,9 @@ import {
|
|
|
102
103
|
getSourceFileOrError,
|
|
103
104
|
join,
|
|
104
105
|
resolve
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-CSOLWS7O.js";
|
|
106
107
|
|
|
107
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
108
109
|
var DEFAULT_ERROR_CODE = 100;
|
|
109
110
|
var UNKNOWN_ERROR_CODE = 500;
|
|
110
111
|
var SOURCE = "angular";
|
|
@@ -122,7 +123,7 @@ var EmitFlags;
|
|
|
122
123
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
123
124
|
})(EmitFlags || (EmitFlags = {}));
|
|
124
125
|
|
|
125
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
126
127
|
import ts from "typescript";
|
|
127
128
|
var wrapHostForTest = null;
|
|
128
129
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -132,7 +133,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
132
133
|
return tsHost;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
136
137
|
var EntryType;
|
|
137
138
|
(function(EntryType2) {
|
|
138
139
|
EntryType2["Block"] = "block";
|
|
@@ -175,11 +176,11 @@ var MemberTags;
|
|
|
175
176
|
MemberTags2["Inherited"] = "override";
|
|
176
177
|
})(MemberTags || (MemberTags = {}));
|
|
177
178
|
|
|
178
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
179
180
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
180
181
|
import ts37 from "typescript";
|
|
181
182
|
|
|
182
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
183
184
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
184
185
|
import * as path from "path";
|
|
185
186
|
function i18nGetExtension(formatName) {
|
|
@@ -230,10 +231,10 @@ function getPathNormalizer(basePath) {
|
|
|
230
231
|
};
|
|
231
232
|
}
|
|
232
233
|
|
|
233
|
-
// bazel-out/
|
|
234
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
234
235
|
import ts2 from "typescript";
|
|
235
236
|
|
|
236
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
237
238
|
function toNumbers(value) {
|
|
238
239
|
const suffixIndex = value.lastIndexOf("-");
|
|
239
240
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -268,7 +269,7 @@ function compareVersions(v1, v2) {
|
|
|
268
269
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
269
270
|
}
|
|
270
271
|
|
|
271
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
272
273
|
var MIN_TS_VERSION = "5.2.0";
|
|
273
274
|
var MAX_TS_VERSION = "5.3.0";
|
|
274
275
|
var tsVersion = ts2.version;
|
|
@@ -281,10 +282,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
281
282
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
282
283
|
}
|
|
283
284
|
|
|
284
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
285
286
|
import ts35 from "typescript";
|
|
286
287
|
|
|
287
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
288
289
|
var CycleAnalyzer = class {
|
|
289
290
|
constructor(importGraph) {
|
|
290
291
|
this.importGraph = importGraph;
|
|
@@ -355,7 +356,7 @@ var Cycle = class {
|
|
|
355
356
|
}
|
|
356
357
|
};
|
|
357
358
|
|
|
358
|
-
// bazel-out/
|
|
359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
359
360
|
import ts3 from "typescript";
|
|
360
361
|
var ImportGraph = class {
|
|
361
362
|
constructor(checker, perf) {
|
|
@@ -447,23 +448,23 @@ var Found = class {
|
|
|
447
448
|
}
|
|
448
449
|
};
|
|
449
450
|
|
|
450
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
451
452
|
import ts9 from "typescript";
|
|
452
453
|
|
|
453
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
454
455
|
import ts6 from "typescript";
|
|
455
456
|
|
|
456
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
457
458
|
function isAngularPrivateName(name) {
|
|
458
459
|
var _a;
|
|
459
460
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
460
461
|
return firstChar === "\u0275" || firstChar === "_";
|
|
461
462
|
}
|
|
462
463
|
|
|
463
|
-
// bazel-out/
|
|
464
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
464
465
|
import ts5 from "typescript";
|
|
465
466
|
|
|
466
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
467
468
|
function extractGenerics(declaration) {
|
|
468
469
|
var _a, _b;
|
|
469
470
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -476,7 +477,7 @@ function extractGenerics(declaration) {
|
|
|
476
477
|
})) != null ? _b : [];
|
|
477
478
|
}
|
|
478
479
|
|
|
479
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
480
481
|
import ts4 from "typescript";
|
|
481
482
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
482
483
|
function extractJsDocTags(node) {
|
|
@@ -520,12 +521,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
520
521
|
return comment.replace(/_NG_AT_/g, "@");
|
|
521
522
|
}
|
|
522
523
|
|
|
523
|
-
// bazel-out/
|
|
524
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
524
525
|
function extractResolvedTypeString(node, checker) {
|
|
525
526
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
526
527
|
}
|
|
527
528
|
|
|
528
|
-
// bazel-out/
|
|
529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
529
530
|
var FunctionExtractor = class {
|
|
530
531
|
constructor(declaration, typeChecker) {
|
|
531
532
|
this.declaration = declaration;
|
|
@@ -579,7 +580,7 @@ var FunctionExtractor = class {
|
|
|
579
580
|
}
|
|
580
581
|
};
|
|
581
582
|
|
|
582
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
583
584
|
var ClassExtractor = class {
|
|
584
585
|
constructor(declaration, typeChecker) {
|
|
585
586
|
this.declaration = declaration;
|
|
@@ -811,7 +812,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
811
812
|
return extractor.extract();
|
|
812
813
|
}
|
|
813
814
|
|
|
814
|
-
// bazel-out/
|
|
815
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
815
816
|
function extractConstant(declaration, typeChecker) {
|
|
816
817
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
817
818
|
const variableStatement = declaration.parent.parent;
|
|
@@ -829,7 +830,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
829
830
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
830
831
|
}
|
|
831
832
|
|
|
832
|
-
// bazel-out/
|
|
833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
833
834
|
import ts7 from "typescript";
|
|
834
835
|
function extractorDecorator(declaration, typeChecker) {
|
|
835
836
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -902,7 +903,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
902
903
|
return callSignature;
|
|
903
904
|
}
|
|
904
905
|
|
|
905
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
906
907
|
import ts8 from "typescript";
|
|
907
908
|
function extractEnum(declaration, typeChecker) {
|
|
908
909
|
return {
|
|
@@ -931,7 +932,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
931
932
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
932
933
|
}
|
|
933
934
|
|
|
934
|
-
// bazel-out/
|
|
935
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
935
936
|
function extractTypeAlias(declaration) {
|
|
936
937
|
return {
|
|
937
938
|
name: declaration.name.getText(),
|
|
@@ -943,7 +944,7 @@ function extractTypeAlias(declaration) {
|
|
|
943
944
|
};
|
|
944
945
|
}
|
|
945
946
|
|
|
946
|
-
// bazel-out/
|
|
947
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
947
948
|
var DocsExtractor = class {
|
|
948
949
|
constructor(typeChecker, metadataReader) {
|
|
949
950
|
this.typeChecker = typeChecker;
|
|
@@ -1005,7 +1006,7 @@ function isIgnoredInterface(node) {
|
|
|
1005
1006
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
1006
1007
|
}
|
|
1007
1008
|
|
|
1008
|
-
// bazel-out/
|
|
1009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1009
1010
|
import ts10 from "typescript";
|
|
1010
1011
|
var FlatIndexGenerator = class {
|
|
1011
1012
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1030,7 +1031,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1030
1031
|
}
|
|
1031
1032
|
};
|
|
1032
1033
|
|
|
1033
|
-
// bazel-out/
|
|
1034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1034
1035
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1035
1036
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1036
1037
|
let resolvedEntryPoint = null;
|
|
@@ -1046,7 +1047,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1046
1047
|
return resolvedEntryPoint;
|
|
1047
1048
|
}
|
|
1048
1049
|
|
|
1049
|
-
// bazel-out/
|
|
1050
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1050
1051
|
import ts11 from "typescript";
|
|
1051
1052
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1052
1053
|
const diagnostics = [];
|
|
@@ -1126,7 +1127,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1126
1127
|
}
|
|
1127
1128
|
}
|
|
1128
1129
|
|
|
1129
|
-
// bazel-out/
|
|
1130
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1130
1131
|
var ReferenceGraph = class {
|
|
1131
1132
|
constructor() {
|
|
1132
1133
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1180,7 +1181,7 @@ var ReferenceGraph = class {
|
|
|
1180
1181
|
}
|
|
1181
1182
|
};
|
|
1182
1183
|
|
|
1183
|
-
// bazel-out/
|
|
1184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1184
1185
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1185
1186
|
var UpdateMode;
|
|
1186
1187
|
(function(UpdateMode2) {
|
|
@@ -1188,13 +1189,13 @@ var UpdateMode;
|
|
|
1188
1189
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1189
1190
|
})(UpdateMode || (UpdateMode = {}));
|
|
1190
1191
|
|
|
1191
|
-
// bazel-out/
|
|
1192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1192
1193
|
import ts13 from "typescript";
|
|
1193
1194
|
|
|
1194
|
-
// bazel-out/
|
|
1195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1195
1196
|
import ts12 from "typescript";
|
|
1196
1197
|
|
|
1197
|
-
// bazel-out/
|
|
1198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1198
1199
|
var NgExtension = Symbol("NgExtension");
|
|
1199
1200
|
function isExtended(sf) {
|
|
1200
1201
|
return sf[NgExtension] !== void 0;
|
|
@@ -1254,13 +1255,13 @@ function retagTsFile(sf) {
|
|
|
1254
1255
|
}
|
|
1255
1256
|
}
|
|
1256
1257
|
|
|
1257
|
-
// bazel-out/
|
|
1258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1258
1259
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1259
1260
|
function makeShimFileName(fileName, suffix) {
|
|
1260
1261
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1261
1262
|
}
|
|
1262
1263
|
|
|
1263
|
-
// bazel-out/
|
|
1264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1264
1265
|
var ShimAdapter = class {
|
|
1265
1266
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1266
1267
|
this.delegate = delegate;
|
|
@@ -1355,7 +1356,7 @@ var ShimAdapter = class {
|
|
|
1355
1356
|
}
|
|
1356
1357
|
};
|
|
1357
1358
|
|
|
1358
|
-
// bazel-out/
|
|
1359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1359
1360
|
var ShimReferenceTagger = class {
|
|
1360
1361
|
constructor(shimExtensions) {
|
|
1361
1362
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1389,7 +1390,7 @@ var ShimReferenceTagger = class {
|
|
|
1389
1390
|
}
|
|
1390
1391
|
};
|
|
1391
1392
|
|
|
1392
|
-
// bazel-out/
|
|
1393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1393
1394
|
var DelegatingCompilerHost = class {
|
|
1394
1395
|
constructor(delegate) {
|
|
1395
1396
|
this.delegate = delegate;
|
|
@@ -1502,7 +1503,7 @@ var TsCreateProgramDriver = class {
|
|
|
1502
1503
|
}
|
|
1503
1504
|
};
|
|
1504
1505
|
|
|
1505
|
-
// bazel-out/
|
|
1506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1506
1507
|
var FileDependencyGraph = class {
|
|
1507
1508
|
constructor() {
|
|
1508
1509
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1569,7 +1570,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1569
1570
|
return false;
|
|
1570
1571
|
}
|
|
1571
1572
|
|
|
1572
|
-
// bazel-out/
|
|
1573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1573
1574
|
var IncrementalStateKind;
|
|
1574
1575
|
(function(IncrementalStateKind2) {
|
|
1575
1576
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1577,7 +1578,7 @@ var IncrementalStateKind;
|
|
|
1577
1578
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1578
1579
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1579
1580
|
|
|
1580
|
-
// bazel-out/
|
|
1581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1581
1582
|
var PhaseKind;
|
|
1582
1583
|
(function(PhaseKind2) {
|
|
1583
1584
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1778,7 +1779,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1778
1779
|
}
|
|
1779
1780
|
}
|
|
1780
1781
|
|
|
1781
|
-
// bazel-out/
|
|
1782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1782
1783
|
var TrackedIncrementalBuildStrategy = class {
|
|
1783
1784
|
constructor() {
|
|
1784
1785
|
this.state = null;
|
|
@@ -1814,7 +1815,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1814
1815
|
};
|
|
1815
1816
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1816
1817
|
|
|
1817
|
-
// bazel-out/
|
|
1818
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1818
1819
|
var IdentifierKind;
|
|
1819
1820
|
(function(IdentifierKind2) {
|
|
1820
1821
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1832,7 +1833,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1832
1833
|
}
|
|
1833
1834
|
};
|
|
1834
1835
|
|
|
1835
|
-
// bazel-out/
|
|
1836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1836
1837
|
var IndexingContext = class {
|
|
1837
1838
|
constructor() {
|
|
1838
1839
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1842,10 +1843,10 @@ var IndexingContext = class {
|
|
|
1842
1843
|
}
|
|
1843
1844
|
};
|
|
1844
1845
|
|
|
1845
|
-
// bazel-out/
|
|
1846
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1846
1847
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1847
1848
|
|
|
1848
|
-
// bazel-out/
|
|
1849
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1849
1850
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1850
1851
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1851
1852
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2127,7 +2128,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2127
2128
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2128
2129
|
}
|
|
2129
2130
|
|
|
2130
|
-
// bazel-out/
|
|
2131
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2131
2132
|
function generateAnalysis(context) {
|
|
2132
2133
|
const analysis = /* @__PURE__ */ new Map();
|
|
2133
2134
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2163,7 +2164,7 @@ function generateAnalysis(context) {
|
|
|
2163
2164
|
return analysis;
|
|
2164
2165
|
}
|
|
2165
2166
|
|
|
2166
|
-
// bazel-out/
|
|
2167
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2167
2168
|
var NgModuleIndexImpl = class {
|
|
2168
2169
|
constructor(metaReader, localReader) {
|
|
2169
2170
|
this.metaReader = metaReader;
|
|
@@ -2252,7 +2253,7 @@ var NgModuleIndexImpl = class {
|
|
|
2252
2253
|
}
|
|
2253
2254
|
};
|
|
2254
2255
|
|
|
2255
|
-
// bazel-out/
|
|
2256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2256
2257
|
import ts14 from "typescript";
|
|
2257
2258
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2258
2259
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2398,7 +2399,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2398
2399
|
};
|
|
2399
2400
|
}
|
|
2400
2401
|
|
|
2401
|
-
// bazel-out/
|
|
2402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2402
2403
|
var StandaloneComponentScopeReader = class {
|
|
2403
2404
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2404
2405
|
this.metaReader = metaReader;
|
|
@@ -2476,10 +2477,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2476
2477
|
}
|
|
2477
2478
|
};
|
|
2478
2479
|
|
|
2479
|
-
// bazel-out/
|
|
2480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2480
2481
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2481
2482
|
|
|
2482
|
-
// bazel-out/
|
|
2483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2483
2484
|
import ts15 from "typescript";
|
|
2484
2485
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2485
2486
|
var _a;
|
|
@@ -2586,7 +2587,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2586
2587
|
return ts15.createSourceFile(fileName, template, ts15.ScriptTarget.Latest, false, ts15.ScriptKind.JSX);
|
|
2587
2588
|
}
|
|
2588
2589
|
|
|
2589
|
-
// bazel-out/
|
|
2590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2590
2591
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2591
2592
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2592
2593
|
function getTemplateId(clazz) {
|
|
@@ -2603,11 +2604,11 @@ function allocateTemplateId(sf) {
|
|
|
2603
2604
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2604
2605
|
}
|
|
2605
2606
|
|
|
2606
|
-
// bazel-out/
|
|
2607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2607
2608
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2608
2609
|
import ts17 from "typescript";
|
|
2609
2610
|
|
|
2610
|
-
// bazel-out/
|
|
2611
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2611
2612
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2612
2613
|
import ts16 from "typescript";
|
|
2613
2614
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2737,7 +2738,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2737
2738
|
}) || false;
|
|
2738
2739
|
}
|
|
2739
2740
|
|
|
2740
|
-
// bazel-out/
|
|
2741
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2741
2742
|
var CompletionEngine = class {
|
|
2742
2743
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2743
2744
|
this.tcb = tcb;
|
|
@@ -2894,10 +2895,10 @@ var CompletionEngine = class {
|
|
|
2894
2895
|
}
|
|
2895
2896
|
};
|
|
2896
2897
|
|
|
2897
|
-
// bazel-out/
|
|
2898
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2898
2899
|
import ts30 from "typescript";
|
|
2899
2900
|
|
|
2900
|
-
// bazel-out/
|
|
2901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2901
2902
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2902
2903
|
import ts18 from "typescript";
|
|
2903
2904
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2950,11 +2951,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2950
2951
|
}
|
|
2951
2952
|
};
|
|
2952
2953
|
|
|
2953
|
-
// bazel-out/
|
|
2954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2954
2955
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2955
2956
|
import ts23 from "typescript";
|
|
2956
2957
|
|
|
2957
|
-
// bazel-out/
|
|
2958
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2958
2959
|
import ts19 from "typescript";
|
|
2959
2960
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2960
2961
|
ts19.SyntaxKind.ParenthesizedExpression,
|
|
@@ -3032,13 +3033,13 @@ function isAccessExpression(node) {
|
|
|
3032
3033
|
return ts19.isPropertyAccessExpression(node) || ts19.isElementAccessExpression(node);
|
|
3033
3034
|
}
|
|
3034
3035
|
|
|
3035
|
-
// bazel-out/
|
|
3036
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3036
3037
|
import ts22 from "typescript";
|
|
3037
3038
|
|
|
3038
|
-
// bazel-out/
|
|
3039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3039
3040
|
import ts21 from "typescript";
|
|
3040
3041
|
|
|
3041
|
-
// bazel-out/
|
|
3042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
3042
3043
|
import ts20 from "typescript";
|
|
3043
3044
|
var TypeParameterEmitter = class {
|
|
3044
3045
|
constructor(typeParameters, reflector) {
|
|
@@ -3089,13 +3090,13 @@ var TypeParameterEmitter = class {
|
|
|
3089
3090
|
return type;
|
|
3090
3091
|
}
|
|
3091
3092
|
let owningModule = null;
|
|
3092
|
-
if (declaration.viaModule
|
|
3093
|
+
if (typeof declaration.viaModule === "string") {
|
|
3093
3094
|
owningModule = {
|
|
3094
3095
|
specifier: declaration.viaModule,
|
|
3095
3096
|
resolutionContext: type.getSourceFile().fileName
|
|
3096
3097
|
};
|
|
3097
3098
|
}
|
|
3098
|
-
return new Reference(declaration.node, owningModule);
|
|
3099
|
+
return new Reference(declaration.node, declaration.viaModule === AmbientImport ? AmbientImport : owningModule);
|
|
3099
3100
|
}
|
|
3100
3101
|
translateTypeReference(type, emitReference) {
|
|
3101
3102
|
const reference = this.resolveTypeReference(type);
|
|
@@ -3116,7 +3117,7 @@ var TypeParameterEmitter = class {
|
|
|
3116
3117
|
}
|
|
3117
3118
|
};
|
|
3118
3119
|
|
|
3119
|
-
// bazel-out/
|
|
3120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3120
3121
|
var TcbInliningRequirement;
|
|
3121
3122
|
(function(TcbInliningRequirement2) {
|
|
3122
3123
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -3196,7 +3197,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3196
3197
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3197
3198
|
}
|
|
3198
3199
|
|
|
3199
|
-
// bazel-out/
|
|
3200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3200
3201
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
3201
3202
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3202
3203
|
const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3307,7 +3308,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3307
3308
|
});
|
|
3308
3309
|
}
|
|
3309
3310
|
|
|
3310
|
-
// bazel-out/
|
|
3311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3311
3312
|
var Environment = class {
|
|
3312
3313
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3313
3314
|
this.config = config;
|
|
@@ -3373,12 +3374,12 @@ var Environment = class {
|
|
|
3373
3374
|
assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "class");
|
|
3374
3375
|
return translateExpression(ngExpr.expression, this.importManager);
|
|
3375
3376
|
}
|
|
3376
|
-
canReferenceType(ref) {
|
|
3377
|
-
const result = this.refEmitter.emit(ref, this.contextFile,
|
|
3377
|
+
canReferenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
|
|
3378
|
+
const result = this.refEmitter.emit(ref, this.contextFile, flags);
|
|
3378
3379
|
return result.kind === 0;
|
|
3379
3380
|
}
|
|
3380
|
-
referenceType(ref) {
|
|
3381
|
-
const ngExpr = this.refEmitter.emit(ref, this.contextFile,
|
|
3381
|
+
referenceType(ref, flags = ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports) {
|
|
3382
|
+
const ngExpr = this.refEmitter.emit(ref, this.contextFile, flags);
|
|
3382
3383
|
assertSuccessfulReferenceEmit(ngExpr, this.contextFile, "symbol");
|
|
3383
3384
|
return translateType(new ExpressionType(ngExpr.expression), this.contextFile, this.reflector, this.refEmitter, this.importManager);
|
|
3384
3385
|
}
|
|
@@ -3401,7 +3402,7 @@ var Environment = class {
|
|
|
3401
3402
|
}
|
|
3402
3403
|
};
|
|
3403
3404
|
|
|
3404
|
-
// bazel-out/
|
|
3405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3405
3406
|
import { TmplAstElement as TmplAstElement2, TmplAstIfBlockBranch } from "@angular/compiler";
|
|
3406
3407
|
import ts24 from "typescript";
|
|
3407
3408
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3572,7 +3573,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3572
3573
|
};
|
|
3573
3574
|
}
|
|
3574
3575
|
|
|
3575
|
-
// bazel-out/
|
|
3576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3576
3577
|
import ts25 from "typescript";
|
|
3577
3578
|
var TypeCheckShimGenerator = class {
|
|
3578
3579
|
constructor() {
|
|
@@ -3590,11 +3591,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3590
3591
|
}
|
|
3591
3592
|
};
|
|
3592
3593
|
|
|
3593
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3594
3595
|
import { BindingPipe, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch as TmplAstIfBlockBranch2, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2, TransplantedType } from "@angular/compiler";
|
|
3595
3596
|
import ts28 from "typescript";
|
|
3596
3597
|
|
|
3597
|
-
// bazel-out/
|
|
3598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3598
3599
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3599
3600
|
import ts26 from "typescript";
|
|
3600
3601
|
function wrapForDiagnostics(expr) {
|
|
@@ -3640,7 +3641,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3640
3641
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3641
3642
|
}
|
|
3642
3643
|
|
|
3643
|
-
// bazel-out/
|
|
3644
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3644
3645
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3645
3646
|
import ts27 from "typescript";
|
|
3646
3647
|
var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
|
|
@@ -3973,7 +3974,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3973
3974
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3974
3975
|
})();
|
|
3975
3976
|
|
|
3976
|
-
// bazel-out/
|
|
3977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3977
3978
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3978
3979
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3979
3980
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3997,7 +3998,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3997
3998
|
}
|
|
3998
3999
|
};
|
|
3999
4000
|
|
|
4000
|
-
// bazel-out/
|
|
4001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4001
4002
|
var TcbGenericContextBehavior;
|
|
4002
4003
|
(function(TcbGenericContextBehavior2) {
|
|
4003
4004
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4698,9 +4699,7 @@ var TcbBlockImplicitVariableOp = class extends TcbOp {
|
|
|
4698
4699
|
this.scope = scope;
|
|
4699
4700
|
this.type = type;
|
|
4700
4701
|
this.variable = variable;
|
|
4701
|
-
|
|
4702
|
-
get optional() {
|
|
4703
|
-
return false;
|
|
4702
|
+
this.optional = true;
|
|
4704
4703
|
}
|
|
4705
4704
|
execute() {
|
|
4706
4705
|
const id = this.tcb.allocateId();
|
|
@@ -5460,7 +5459,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5460
5459
|
}
|
|
5461
5460
|
};
|
|
5462
5461
|
|
|
5463
|
-
// bazel-out/
|
|
5462
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5464
5463
|
import ts29 from "typescript";
|
|
5465
5464
|
var TypeCheckFile = class extends Environment {
|
|
5466
5465
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5496,7 +5495,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5496
5495
|
}
|
|
5497
5496
|
};
|
|
5498
5497
|
|
|
5499
|
-
// bazel-out/
|
|
5498
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5500
5499
|
var InliningMode;
|
|
5501
5500
|
(function(InliningMode2) {
|
|
5502
5501
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5734,10 +5733,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5734
5733
|
return splits;
|
|
5735
5734
|
}
|
|
5736
5735
|
|
|
5737
|
-
// bazel-out/
|
|
5736
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5738
5737
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5739
5738
|
|
|
5740
|
-
// bazel-out/
|
|
5739
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5741
5740
|
var LF_CHAR = 10;
|
|
5742
5741
|
var CR_CHAR = 13;
|
|
5743
5742
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5778,7 +5777,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5778
5777
|
return low - 1;
|
|
5779
5778
|
}
|
|
5780
5779
|
|
|
5781
|
-
// bazel-out/
|
|
5780
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5782
5781
|
var TemplateSource = class {
|
|
5783
5782
|
constructor(mapping, file) {
|
|
5784
5783
|
this.mapping = mapping;
|
|
@@ -5829,7 +5828,7 @@ var TemplateSourceManager = class {
|
|
|
5829
5828
|
}
|
|
5830
5829
|
};
|
|
5831
5830
|
|
|
5832
|
-
// bazel-out/
|
|
5831
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5833
5832
|
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";
|
|
5834
5833
|
import ts31 from "typescript";
|
|
5835
5834
|
var SymbolBuilder = class {
|
|
@@ -6313,7 +6312,7 @@ function sourceSpanEqual(a, b) {
|
|
|
6313
6312
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
6314
6313
|
}
|
|
6315
6314
|
|
|
6316
|
-
// bazel-out/
|
|
6315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
6317
6316
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
6318
6317
|
var TemplateTypeCheckerImpl = class {
|
|
6319
6318
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -7010,10 +7009,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
7010
7009
|
}
|
|
7011
7010
|
};
|
|
7012
7011
|
|
|
7013
|
-
// bazel-out/
|
|
7012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7014
7013
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
7015
7014
|
|
|
7016
|
-
// bazel-out/
|
|
7015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
7017
7016
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
7018
7017
|
var TemplateCheckWithVisitor = class {
|
|
7019
7018
|
run(ctx, component, template) {
|
|
@@ -7137,7 +7136,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
7137
7136
|
}
|
|
7138
7137
|
};
|
|
7139
7138
|
|
|
7140
|
-
// bazel-out/
|
|
7139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7141
7140
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
7142
7141
|
constructor() {
|
|
7143
7142
|
super(...arguments);
|
|
@@ -7172,7 +7171,7 @@ var factory = {
|
|
|
7172
7171
|
create: () => new InterpolatedSignalCheck()
|
|
7173
7172
|
};
|
|
7174
7173
|
|
|
7175
|
-
// bazel-out/
|
|
7174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
7176
7175
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
7177
7176
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
7178
7177
|
constructor() {
|
|
@@ -7198,7 +7197,7 @@ var factory2 = {
|
|
|
7198
7197
|
create: () => new InvalidBananaInBoxCheck()
|
|
7199
7198
|
};
|
|
7200
7199
|
|
|
7201
|
-
// bazel-out/
|
|
7200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
7202
7201
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
7203
7202
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
7204
7203
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -7243,7 +7242,7 @@ var factory3 = {
|
|
|
7243
7242
|
}
|
|
7244
7243
|
};
|
|
7245
7244
|
|
|
7246
|
-
// bazel-out/
|
|
7245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
7247
7246
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
7248
7247
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
7249
7248
|
constructor() {
|
|
@@ -7276,7 +7275,7 @@ var factory4 = {
|
|
|
7276
7275
|
create: () => new MissingNgForOfLetCheck()
|
|
7277
7276
|
};
|
|
7278
7277
|
|
|
7279
|
-
// bazel-out/
|
|
7278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
7280
7279
|
import { Binary } from "@angular/compiler";
|
|
7281
7280
|
import ts32 from "typescript";
|
|
7282
7281
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7321,7 +7320,7 @@ var factory5 = {
|
|
|
7321
7320
|
}
|
|
7322
7321
|
};
|
|
7323
7322
|
|
|
7324
|
-
// bazel-out/
|
|
7323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
7325
7324
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
7326
7325
|
import ts33 from "typescript";
|
|
7327
7326
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7367,7 +7366,7 @@ var factory6 = {
|
|
|
7367
7366
|
}
|
|
7368
7367
|
};
|
|
7369
7368
|
|
|
7370
|
-
// bazel-out/
|
|
7369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
7371
7370
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
7372
7371
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
7373
7372
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7391,7 +7390,7 @@ var factory7 = {
|
|
|
7391
7390
|
create: () => new SuffixNotSupportedCheck()
|
|
7392
7391
|
};
|
|
7393
7392
|
|
|
7394
|
-
// bazel-out/
|
|
7393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
7395
7394
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
7396
7395
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
7397
7396
|
constructor() {
|
|
@@ -7430,10 +7429,10 @@ var factory8 = {
|
|
|
7430
7429
|
create: () => new TextAttributeNotBindingSpec()
|
|
7431
7430
|
};
|
|
7432
7431
|
|
|
7433
|
-
// bazel-out/
|
|
7432
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7434
7433
|
import ts34 from "typescript";
|
|
7435
7434
|
|
|
7436
|
-
// bazel-out/
|
|
7435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7437
7436
|
var DiagnosticCategoryLabel;
|
|
7438
7437
|
(function(DiagnosticCategoryLabel2) {
|
|
7439
7438
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7441,7 +7440,7 @@ var DiagnosticCategoryLabel;
|
|
|
7441
7440
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7442
7441
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7443
7442
|
|
|
7444
|
-
// bazel-out/
|
|
7443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7445
7444
|
var ExtendedTemplateCheckerImpl = class {
|
|
7446
7445
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7447
7446
|
var _a, _b, _c, _d, _e;
|
|
@@ -7494,7 +7493,7 @@ function assertNever(value) {
|
|
|
7494
7493
|
${value}`);
|
|
7495
7494
|
}
|
|
7496
7495
|
|
|
7497
|
-
// bazel-out/
|
|
7496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7498
7497
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7499
7498
|
factory2,
|
|
7500
7499
|
factory5,
|
|
@@ -7510,7 +7509,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
7510
7509
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
7511
7510
|
]);
|
|
7512
7511
|
|
|
7513
|
-
// bazel-out/
|
|
7512
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7514
7513
|
var CompilationTicketKind;
|
|
7515
7514
|
(function(CompilationTicketKind2) {
|
|
7516
7515
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8275,7 +8274,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
8275
8274
|
return versions;
|
|
8276
8275
|
}
|
|
8277
8276
|
|
|
8278
|
-
// bazel-out/
|
|
8277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8279
8278
|
import ts36 from "typescript";
|
|
8280
8279
|
var DelegatingCompilerHost2 = class {
|
|
8281
8280
|
constructor(delegate) {
|
|
@@ -8408,7 +8407,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
8408
8407
|
}
|
|
8409
8408
|
};
|
|
8410
8409
|
|
|
8411
|
-
// bazel-out/
|
|
8410
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8412
8411
|
var NgtscProgram = class {
|
|
8413
8412
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
8414
8413
|
this.options = options;
|
|
@@ -8635,15 +8634,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8635
8634
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8636
8635
|
}
|
|
8637
8636
|
|
|
8638
|
-
// bazel-out/
|
|
8637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8639
8638
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8640
8639
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8641
8640
|
}
|
|
8642
8641
|
|
|
8643
|
-
// bazel-out/
|
|
8642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8644
8643
|
import ts39 from "typescript";
|
|
8645
8644
|
|
|
8646
|
-
// bazel-out/
|
|
8645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8647
8646
|
import ts38 from "typescript";
|
|
8648
8647
|
function createMessageDiagnostic(messageText) {
|
|
8649
8648
|
return {
|
|
@@ -8657,7 +8656,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8657
8656
|
};
|
|
8658
8657
|
}
|
|
8659
8658
|
|
|
8660
|
-
// bazel-out/
|
|
8659
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8661
8660
|
var defaultFormatHost = {
|
|
8662
8661
|
getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
|
|
8663
8662
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -8870,4 +8869,4 @@ export {
|
|
|
8870
8869
|
* Use of this source code is governed by an MIT-style license that can be
|
|
8871
8870
|
* found in the LICENSE file at https://angular.io/license
|
|
8872
8871
|
*/
|
|
8873
|
-
//# sourceMappingURL=chunk-
|
|
8872
|
+
//# sourceMappingURL=chunk-KDLK7PF4.js.map
|