@angular/compiler-cli 16.0.0-next.7 → 16.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-QELUO2L4.js → chunk-4MSEL6HO.js} +90 -82
- package/bundles/chunk-4MSEL6HO.js.map +6 -0
- package/bundles/{chunk-TCPBYER2.js → chunk-4UQC5DMJ.js} +6 -6
- package/bundles/{chunk-URH5LEAG.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-7RPZKH3B.js → chunk-B6WD2R2T.js} +21 -21
- package/bundles/{chunk-2G3UVWBI.js → chunk-C4B5W2XC.js} +8 -8
- package/bundles/{chunk-OULZQUKT.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-5B7NBQNN.js → chunk-FJTRGXZM.js} +5 -5
- package/bundles/{chunk-BC53B7EF.js → chunk-GVISPKNE.js} +5 -5
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-OKYKHPES.js → chunk-SIHBKSBW.js} +31 -31
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-EPXSTYJI.js → chunk-YGYAPJAN.js} +112 -97
- package/bundles/chunk-YGYAPJAN.js.map +6 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- 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/package.json +3 -3
- package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -1
- package/bundles/chunk-EPXSTYJI.js.map +0 -6
- package/bundles/chunk-QELUO2L4.js.map +0 -6
- /package/bundles/{chunk-TCPBYER2.js.map → chunk-4UQC5DMJ.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-7RPZKH3B.js.map → chunk-B6WD2R2T.js.map} +0 -0
- /package/bundles/{chunk-2G3UVWBI.js.map → chunk-C4B5W2XC.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-5B7NBQNN.js.map → chunk-FJTRGXZM.js.map} +0 -0
- /package/bundles/{chunk-BC53B7EF.js.map → chunk-GVISPKNE.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-OKYKHPES.js.map → chunk-SIHBKSBW.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
reflectObjectLiteral,
|
|
10
10
|
reflectTypeEntityToDeclaration,
|
|
11
11
|
typeNodeToValueExpr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4UQC5DMJ.js";
|
|
13
13
|
import {
|
|
14
14
|
ImportManager,
|
|
15
15
|
translateExpression,
|
|
16
16
|
translateStatement,
|
|
17
17
|
translateType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C4B5W2XC.js";
|
|
19
19
|
import {
|
|
20
20
|
ErrorCode,
|
|
21
21
|
FatalDiagnosticError,
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
makeRelatedInformation,
|
|
33
33
|
nodeDebugInfo,
|
|
34
34
|
nodeNameForError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-B6WD2R2T.js";
|
|
36
36
|
import {
|
|
37
37
|
PerfEvent,
|
|
38
38
|
PerfPhase
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7PCPPTTO.js";
|
|
40
40
|
import {
|
|
41
41
|
absoluteFrom,
|
|
42
42
|
absoluteFromSourceFile,
|
|
43
43
|
relative
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TBUSSXUA.js";
|
|
45
45
|
|
|
46
|
-
// bazel-out/
|
|
46
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
47
47
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
48
48
|
import ts from "typescript";
|
|
49
49
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -280,7 +280,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
280
280
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// bazel-out/
|
|
283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
284
284
|
var DynamicValue = class {
|
|
285
285
|
constructor(node, reason, code) {
|
|
286
286
|
this.node = node;
|
|
@@ -370,10 +370,10 @@ var DynamicValue = class {
|
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
// bazel-out/
|
|
373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
374
374
|
import ts2 from "typescript";
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
377
377
|
var ResolvedModule = class {
|
|
378
378
|
constructor(exports, evaluate) {
|
|
379
379
|
this.exports = exports;
|
|
@@ -403,7 +403,7 @@ var EnumValue = class {
|
|
|
403
403
|
var KnownFn = class {
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
407
407
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
408
408
|
constructor(lhs) {
|
|
409
409
|
super();
|
|
@@ -455,14 +455,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
457
|
|
|
458
|
-
// bazel-out/
|
|
458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
459
459
|
var SyntheticValue = class {
|
|
460
460
|
constructor(value) {
|
|
461
461
|
this.value = value;
|
|
462
462
|
}
|
|
463
463
|
};
|
|
464
464
|
|
|
465
|
-
// bazel-out/
|
|
465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
466
466
|
function literalBinaryOp(op) {
|
|
467
467
|
return { op, literal: true };
|
|
468
468
|
}
|
|
@@ -1040,7 +1040,7 @@ function owningModule(context, override = null) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
-
// bazel-out/
|
|
1043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1044
1044
|
var PartialEvaluator = class {
|
|
1045
1045
|
constructor(host, checker, dependencyTracker) {
|
|
1046
1046
|
this.host = host;
|
|
@@ -1060,7 +1060,7 @@ var PartialEvaluator = class {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
|
-
// bazel-out/
|
|
1063
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1064
1064
|
import ts3 from "typescript";
|
|
1065
1065
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1066
1066
|
var _a, _b;
|
|
@@ -1190,7 +1190,7 @@ function getContainerNode(node) {
|
|
|
1190
1190
|
return node.getSourceFile();
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
// bazel-out/
|
|
1193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1194
1194
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1195
1195
|
import ts4 from "typescript";
|
|
1196
1196
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1334,10 +1334,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1334
1334
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
// bazel-out/
|
|
1337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1338
1338
|
import ts7 from "typescript";
|
|
1339
1339
|
|
|
1340
|
-
// bazel-out/
|
|
1340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1341
1341
|
var MetaKind;
|
|
1342
1342
|
(function(MetaKind2) {
|
|
1343
1343
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1350,10 +1350,10 @@ var MatchSource;
|
|
|
1350
1350
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1351
1351
|
})(MatchSource || (MatchSource = {}));
|
|
1352
1352
|
|
|
1353
|
-
// bazel-out/
|
|
1353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1354
1354
|
import ts6 from "typescript";
|
|
1355
1355
|
|
|
1356
|
-
// bazel-out/
|
|
1356
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1357
1357
|
var ClassPropertyMapping = class {
|
|
1358
1358
|
constructor(forwardMap) {
|
|
1359
1359
|
this.forwardMap = forwardMap;
|
|
@@ -1431,7 +1431,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1431
1431
|
return reverseMap;
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
|
-
// bazel-out/
|
|
1434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1435
1435
|
import ts5 from "typescript";
|
|
1436
1436
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1437
1437
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1613,7 +1613,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1613
1613
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
1616
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1617
1617
|
var DtsMetadataReader = class {
|
|
1618
1618
|
constructor(checker, reflector) {
|
|
1619
1619
|
this.checker = checker;
|
|
@@ -1781,7 +1781,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1781
1781
|
return result.length > 0 ? result : null;
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
|
-
// bazel-out/
|
|
1784
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1785
1785
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1786
1786
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1787
1787
|
if (topMeta === null) {
|
|
@@ -1839,7 +1839,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1839
1839
|
};
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
// bazel-out/
|
|
1842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1843
1843
|
var LocalMetadataRegistry = class {
|
|
1844
1844
|
constructor() {
|
|
1845
1845
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1896,7 +1896,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
};
|
|
1898
1898
|
|
|
1899
|
-
// bazel-out/
|
|
1899
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1900
1900
|
var ResourceRegistry = class {
|
|
1901
1901
|
constructor() {
|
|
1902
1902
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -1961,7 +1961,7 @@ var ResourceRegistry = class {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
};
|
|
1963
1963
|
|
|
1964
|
-
// bazel-out/
|
|
1964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
1965
1965
|
var EMPTY_ARRAY = [];
|
|
1966
1966
|
var HostDirectivesResolver = class {
|
|
1967
1967
|
constructor(metaReader) {
|
|
@@ -2022,7 +2022,7 @@ function resolveOutput(bindingName) {
|
|
|
2022
2022
|
return bindingName;
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
2025
|
-
// bazel-out/
|
|
2025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2026
2026
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2027
2027
|
const context = [];
|
|
2028
2028
|
for (const decl of data) {
|
|
@@ -2218,7 +2218,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2218
2218
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
|
-
// bazel-out/
|
|
2221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2222
2222
|
import ts8 from "typescript";
|
|
2223
2223
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2224
2224
|
let resolved = null;
|
|
@@ -2251,7 +2251,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2251
2251
|
return meta;
|
|
2252
2252
|
}
|
|
2253
2253
|
|
|
2254
|
-
// bazel-out/
|
|
2254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2255
2255
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2256
2256
|
function compileNgFactoryDefField(metadata) {
|
|
2257
2257
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2262,7 +2262,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2262
2262
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
|
-
// bazel-out/
|
|
2265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2266
2266
|
var InjectableClassRegistry = class {
|
|
2267
2267
|
constructor(host, isCore) {
|
|
2268
2268
|
this.host = host;
|
|
@@ -2288,7 +2288,7 @@ var InjectableClassRegistry = class {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
};
|
|
2290
2290
|
|
|
2291
|
-
// bazel-out/
|
|
2291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2292
2292
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2293
2293
|
import ts9 from "typescript";
|
|
2294
2294
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2375,13 +2375,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2375
2375
|
return result.transformed[0];
|
|
2376
2376
|
}
|
|
2377
2377
|
|
|
2378
|
-
// bazel-out/
|
|
2378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2379
2379
|
var NoopReferencesRegistry = class {
|
|
2380
2380
|
add(source, ...references) {
|
|
2381
2381
|
}
|
|
2382
2382
|
};
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2385
2385
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2386
2386
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2387
2387
|
const schemas = [];
|
|
@@ -2411,11 +2411,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2411
2411
|
return schemas;
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
|
-
// bazel-out/
|
|
2414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2415
2415
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
2416
2416
|
import ts24 from "typescript";
|
|
2417
2417
|
|
|
2418
|
-
// bazel-out/
|
|
2418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2419
2419
|
import ts10 from "typescript";
|
|
2420
2420
|
var SemanticSymbol = class {
|
|
2421
2421
|
constructor(decl) {
|
|
@@ -2431,7 +2431,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2431
2431
|
return decl.name.text;
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
|
-
// bazel-out/
|
|
2434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2435
2435
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2436
2436
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2437
2437
|
isPublicApiAffected() {
|
|
@@ -2574,10 +2574,10 @@ function getImportPath(expr) {
|
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
2576
|
|
|
2577
|
-
// bazel-out/
|
|
2577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2578
2578
|
import ts11 from "typescript";
|
|
2579
2579
|
|
|
2580
|
-
// bazel-out/
|
|
2580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2581
2581
|
function isSymbolEqual(a, b) {
|
|
2582
2582
|
if (a.decl === b.decl) {
|
|
2583
2583
|
return true;
|
|
@@ -2627,7 +2627,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2627
2627
|
return true;
|
|
2628
2628
|
}
|
|
2629
2629
|
|
|
2630
|
-
// bazel-out/
|
|
2630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2631
2631
|
function extractSemanticTypeParameters(node) {
|
|
2632
2632
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2633
2633
|
return null;
|
|
@@ -2647,14 +2647,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2647
2647
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2648
2648
|
}
|
|
2649
2649
|
|
|
2650
|
-
// bazel-out/
|
|
2650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2651
2651
|
var ComponentScopeKind;
|
|
2652
2652
|
(function(ComponentScopeKind2) {
|
|
2653
2653
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2654
2654
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2655
2655
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2656
2656
|
|
|
2657
|
-
// bazel-out/
|
|
2657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2658
2658
|
var CompoundComponentScopeReader = class {
|
|
2659
2659
|
constructor(readers) {
|
|
2660
2660
|
this.readers = readers;
|
|
@@ -2679,7 +2679,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2679
2679
|
}
|
|
2680
2680
|
};
|
|
2681
2681
|
|
|
2682
|
-
// bazel-out/
|
|
2682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2683
2683
|
var MetadataDtsModuleScopeResolver = class {
|
|
2684
2684
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2685
2685
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2755,11 +2755,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2755
2755
|
}
|
|
2756
2756
|
};
|
|
2757
2757
|
|
|
2758
|
-
// bazel-out/
|
|
2758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2759
2759
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2760
2760
|
import ts12 from "typescript";
|
|
2761
2761
|
|
|
2762
|
-
// bazel-out/
|
|
2762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2763
2763
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2764
2764
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2765
2765
|
}
|
|
@@ -2782,7 +2782,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2782
2782
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2783
2783
|
}
|
|
2784
2784
|
|
|
2785
|
-
// bazel-out/
|
|
2785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2786
2786
|
var LocalModuleScopeRegistry = class {
|
|
2787
2787
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2788
2788
|
this.localReader = localReader;
|
|
@@ -3121,7 +3121,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3121
3121
|
]);
|
|
3122
3122
|
}
|
|
3123
3123
|
|
|
3124
|
-
// bazel-out/
|
|
3124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3125
3125
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3126
3126
|
import ts13 from "typescript";
|
|
3127
3127
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3190,7 +3190,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3190
3190
|
}
|
|
3191
3191
|
};
|
|
3192
3192
|
|
|
3193
|
-
// bazel-out/
|
|
3193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3194
3194
|
var CompilationMode;
|
|
3195
3195
|
(function(CompilationMode2) {
|
|
3196
3196
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3208,7 +3208,7 @@ var HandlerFlags;
|
|
|
3208
3208
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3209
3209
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3210
3210
|
|
|
3211
|
-
// bazel-out/
|
|
3211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3212
3212
|
import ts14 from "typescript";
|
|
3213
3213
|
function aliasTransformFactory(exportStatements) {
|
|
3214
3214
|
return () => {
|
|
@@ -3231,10 +3231,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3231
3231
|
};
|
|
3232
3232
|
}
|
|
3233
3233
|
|
|
3234
|
-
// bazel-out/
|
|
3234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3235
3235
|
import ts15 from "typescript";
|
|
3236
3236
|
|
|
3237
|
-
// bazel-out/
|
|
3237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3238
3238
|
var TraitState;
|
|
3239
3239
|
(function(TraitState2) {
|
|
3240
3240
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3253,6 +3253,7 @@ var TraitImpl = class {
|
|
|
3253
3253
|
this.resolution = null;
|
|
3254
3254
|
this.analysisDiagnostics = null;
|
|
3255
3255
|
this.resolveDiagnostics = null;
|
|
3256
|
+
this.typeCheckDiagnostics = null;
|
|
3256
3257
|
this.handler = handler;
|
|
3257
3258
|
this.detected = detected;
|
|
3258
3259
|
}
|
|
@@ -3272,6 +3273,7 @@ var TraitImpl = class {
|
|
|
3272
3273
|
this.resolution = resolution;
|
|
3273
3274
|
this.state = TraitState.Resolved;
|
|
3274
3275
|
this.resolveDiagnostics = diagnostics;
|
|
3276
|
+
this.typeCheckDiagnostics = null;
|
|
3275
3277
|
return this;
|
|
3276
3278
|
}
|
|
3277
3279
|
toSkipped() {
|
|
@@ -3289,7 +3291,7 @@ var TraitImpl = class {
|
|
|
3289
3291
|
}
|
|
3290
3292
|
};
|
|
3291
3293
|
|
|
3292
|
-
// bazel-out/
|
|
3294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3293
3295
|
var TraitCompiler = class {
|
|
3294
3296
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3295
3297
|
this.handlers = handlers;
|
|
@@ -3698,6 +3700,7 @@ var TraitCompiler = class {
|
|
|
3698
3700
|
return decorators;
|
|
3699
3701
|
}
|
|
3700
3702
|
get diagnostics() {
|
|
3703
|
+
var _a;
|
|
3701
3704
|
const diagnostics = [];
|
|
3702
3705
|
for (const clazz of this.classes.keys()) {
|
|
3703
3706
|
const record = this.classes.get(clazz);
|
|
@@ -3708,8 +3711,8 @@ var TraitCompiler = class {
|
|
|
3708
3711
|
if ((trait.state === TraitState.Analyzed || trait.state === TraitState.Resolved) && trait.analysisDiagnostics !== null) {
|
|
3709
3712
|
diagnostics.push(...trait.analysisDiagnostics);
|
|
3710
3713
|
}
|
|
3711
|
-
if (trait.state === TraitState.Resolved
|
|
3712
|
-
diagnostics.push(...trait.resolveDiagnostics);
|
|
3714
|
+
if (trait.state === TraitState.Resolved) {
|
|
3715
|
+
diagnostics.push(...(_a = trait.resolveDiagnostics) != null ? _a : []);
|
|
3713
3716
|
}
|
|
3714
3717
|
}
|
|
3715
3718
|
}
|
|
@@ -3723,10 +3726,10 @@ function containsErrors(diagnostics) {
|
|
|
3723
3726
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3724
3727
|
}
|
|
3725
3728
|
|
|
3726
|
-
// bazel-out/
|
|
3729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3727
3730
|
import ts17 from "typescript";
|
|
3728
3731
|
|
|
3729
|
-
// bazel-out/
|
|
3732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3730
3733
|
import ts16 from "typescript";
|
|
3731
3734
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3732
3735
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3762,7 +3765,7 @@ function isImportStatement(stmt) {
|
|
|
3762
3765
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3763
3766
|
}
|
|
3764
3767
|
|
|
3765
|
-
// bazel-out/
|
|
3768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3766
3769
|
var DtsTransformRegistry = class {
|
|
3767
3770
|
constructor() {
|
|
3768
3771
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3907,11 +3910,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3907
3910
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3908
3911
|
}
|
|
3909
3912
|
|
|
3910
|
-
// bazel-out/
|
|
3913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3911
3914
|
import { ConstantPool } from "@angular/compiler";
|
|
3912
3915
|
import ts19 from "typescript";
|
|
3913
3916
|
|
|
3914
|
-
// bazel-out/
|
|
3917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3915
3918
|
import ts18 from "typescript";
|
|
3916
3919
|
function visit(node, visitor, context) {
|
|
3917
3920
|
return visitor._visit(node, context);
|
|
@@ -3972,7 +3975,7 @@ var Visitor = class {
|
|
|
3972
3975
|
}
|
|
3973
3976
|
};
|
|
3974
3977
|
|
|
3975
|
-
// bazel-out/
|
|
3978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3976
3979
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3977
3980
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3978
3981
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4180,10 +4183,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4180
4183
|
return array;
|
|
4181
4184
|
}
|
|
4182
4185
|
|
|
4183
|
-
// bazel-out/
|
|
4186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4184
4187
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4185
4188
|
|
|
4186
|
-
// bazel-out/
|
|
4189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4187
4190
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4188
4191
|
import ts20 from "typescript";
|
|
4189
4192
|
var EMPTY_OBJECT = {};
|
|
@@ -4193,7 +4196,7 @@ var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
|
4193
4196
|
"ViewChild",
|
|
4194
4197
|
"ViewChildren"
|
|
4195
4198
|
]);
|
|
4196
|
-
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
4199
|
+
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, referencesRegistry, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
4197
4200
|
let directive;
|
|
4198
4201
|
if (decorator === null || decorator.args === null || decorator.args.length === 0) {
|
|
4199
4202
|
directive = /* @__PURE__ */ new Map();
|
|
@@ -4270,6 +4273,9 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
|
|
|
4270
4273
|
const type = wrapTypeReference(reflector, clazz);
|
|
4271
4274
|
const rawHostDirectives = directive.get("hostDirectives") || null;
|
|
4272
4275
|
const hostDirectives = rawHostDirectives === null ? null : extractHostDirectives(rawHostDirectives, evaluator);
|
|
4276
|
+
if (hostDirectives !== null) {
|
|
4277
|
+
referencesRegistry.add(clazz, ...hostDirectives.map((hostDir) => hostDir.directive));
|
|
4278
|
+
}
|
|
4273
4279
|
const metadata = {
|
|
4274
4280
|
name: clazz.name.text,
|
|
4275
4281
|
deps: ctorDeps,
|
|
@@ -4652,7 +4658,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4652
4658
|
};
|
|
4653
4659
|
}
|
|
4654
4660
|
|
|
4655
|
-
// bazel-out/
|
|
4661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4656
4662
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4657
4663
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4658
4664
|
super(decl);
|
|
@@ -4732,7 +4738,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4732
4738
|
return isSymbolEqual(current, previous);
|
|
4733
4739
|
}
|
|
4734
4740
|
|
|
4735
|
-
// bazel-out/
|
|
4741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4736
4742
|
var FIELD_DECORATORS = [
|
|
4737
4743
|
"Input",
|
|
4738
4744
|
"Output",
|
|
@@ -4754,7 +4760,7 @@ var LIFECYCLE_HOOKS = /* @__PURE__ */ new Set([
|
|
|
4754
4760
|
"ngAfterContentChecked"
|
|
4755
4761
|
]);
|
|
4756
4762
|
var DirectiveDecoratorHandler = class {
|
|
4757
|
-
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf) {
|
|
4763
|
+
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf) {
|
|
4758
4764
|
this.reflector = reflector;
|
|
4759
4765
|
this.evaluator = evaluator;
|
|
4760
4766
|
this.metaRegistry = metaRegistry;
|
|
@@ -4762,6 +4768,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
4762
4768
|
this.metaReader = metaReader;
|
|
4763
4769
|
this.injectableRegistry = injectableRegistry;
|
|
4764
4770
|
this.refEmitter = refEmitter;
|
|
4771
|
+
this.referencesRegistry = referencesRegistry;
|
|
4765
4772
|
this.isCore = isCore;
|
|
4766
4773
|
this.strictCtorDeps = strictCtorDeps;
|
|
4767
4774
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -4788,7 +4795,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
4788
4795
|
return { diagnostics: [getUndecoratedClassWithAngularFeaturesDiagnostic(node)] };
|
|
4789
4796
|
}
|
|
4790
4797
|
this.perf.eventCount(PerfEvent.AnalyzeDirective);
|
|
4791
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler);
|
|
4798
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler);
|
|
4792
4799
|
if (directiveResult === void 0) {
|
|
4793
4800
|
return {};
|
|
4794
4801
|
}
|
|
@@ -4890,11 +4897,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4890
4897
|
}
|
|
4891
4898
|
};
|
|
4892
4899
|
|
|
4893
|
-
// bazel-out/
|
|
4900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4894
4901
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4895
4902
|
import ts22 from "typescript";
|
|
4896
4903
|
|
|
4897
|
-
// bazel-out/
|
|
4904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4898
4905
|
import ts21 from "typescript";
|
|
4899
4906
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4900
4907
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4961,7 +4968,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4961
4968
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4962
4969
|
}
|
|
4963
4970
|
|
|
4964
|
-
// bazel-out/
|
|
4971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4965
4972
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4966
4973
|
constructor() {
|
|
4967
4974
|
super(...arguments);
|
|
@@ -5443,7 +5450,7 @@ function isSyntheticReference(ref) {
|
|
|
5443
5450
|
return ref.synthetic;
|
|
5444
5451
|
}
|
|
5445
5452
|
|
|
5446
|
-
// bazel-out/
|
|
5453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5447
5454
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5448
5455
|
const name = ref.debugName || "(unknown)";
|
|
5449
5456
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5466,7 +5473,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5466
5473
|
return null;
|
|
5467
5474
|
}
|
|
5468
5475
|
|
|
5469
|
-
// bazel-out/
|
|
5476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5470
5477
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5471
5478
|
import ts23 from "typescript";
|
|
5472
5479
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5785,7 +5792,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5785
5792
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5786
5793
|
}
|
|
5787
5794
|
|
|
5788
|
-
// bazel-out/
|
|
5795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5789
5796
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5790
5797
|
constructor() {
|
|
5791
5798
|
super(...arguments);
|
|
@@ -5820,7 +5827,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5820
5827
|
}
|
|
5821
5828
|
};
|
|
5822
5829
|
|
|
5823
|
-
// bazel-out/
|
|
5830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5824
5831
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5825
5832
|
if (value instanceof Map) {
|
|
5826
5833
|
const name = value.get("name");
|
|
@@ -5896,10 +5903,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5896
5903
|
return false;
|
|
5897
5904
|
}
|
|
5898
5905
|
|
|
5899
|
-
// bazel-out/
|
|
5906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5900
5907
|
var EMPTY_ARRAY2 = [];
|
|
5901
5908
|
var ComponentDecoratorHandler = class {
|
|
5902
|
-
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
5909
|
+
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
5903
5910
|
this.reflector = reflector;
|
|
5904
5911
|
this.evaluator = evaluator;
|
|
5905
5912
|
this.metaRegistry = metaRegistry;
|
|
@@ -5922,6 +5929,7 @@ var ComponentDecoratorHandler = class {
|
|
|
5922
5929
|
this.cycleAnalyzer = cycleAnalyzer;
|
|
5923
5930
|
this.cycleHandlingStrategy = cycleHandlingStrategy;
|
|
5924
5931
|
this.refEmitter = refEmitter;
|
|
5932
|
+
this.referencesRegistry = referencesRegistry;
|
|
5925
5933
|
this.depTracker = depTracker;
|
|
5926
5934
|
this.injectableRegistry = injectableRegistry;
|
|
5927
5935
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -6003,7 +6011,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6003
6011
|
this.literalCache.delete(decorator);
|
|
6004
6012
|
let diagnostics;
|
|
6005
6013
|
let isPoisoned = false;
|
|
6006
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
6014
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
6007
6015
|
if (directiveResult === void 0) {
|
|
6008
6016
|
return {};
|
|
6009
6017
|
}
|
|
@@ -6543,7 +6551,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6543
6551
|
return diagnostics;
|
|
6544
6552
|
}
|
|
6545
6553
|
|
|
6546
|
-
// bazel-out/
|
|
6554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6547
6555
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6548
6556
|
import ts25 from "typescript";
|
|
6549
6557
|
var InjectableDecoratorHandler = class {
|
|
@@ -6758,7 +6766,7 @@ function getDep(dep, reflector) {
|
|
|
6758
6766
|
return meta;
|
|
6759
6767
|
}
|
|
6760
6768
|
|
|
6761
|
-
// bazel-out/
|
|
6769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6762
6770
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
6763
6771
|
import ts26 from "typescript";
|
|
6764
6772
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6902,14 +6910,14 @@ var PipeDecoratorHandler = class {
|
|
|
6902
6910
|
}
|
|
6903
6911
|
};
|
|
6904
6912
|
|
|
6905
|
-
// bazel-out/
|
|
6913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
6906
6914
|
var OptimizeFor;
|
|
6907
6915
|
(function(OptimizeFor2) {
|
|
6908
6916
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
6909
6917
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
6910
6918
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
6911
6919
|
|
|
6912
|
-
// bazel-out/
|
|
6920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
6913
6921
|
var PotentialImportKind;
|
|
6914
6922
|
(function(PotentialImportKind2) {
|
|
6915
6923
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -6921,14 +6929,14 @@ var PotentialImportMode;
|
|
|
6921
6929
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
6922
6930
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
6923
6931
|
|
|
6924
|
-
// bazel-out/
|
|
6932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
6925
6933
|
var CompletionKind;
|
|
6926
6934
|
(function(CompletionKind2) {
|
|
6927
6935
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
6928
6936
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
6929
6937
|
})(CompletionKind || (CompletionKind = {}));
|
|
6930
6938
|
|
|
6931
|
-
// bazel-out/
|
|
6939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
6932
6940
|
var SymbolKind;
|
|
6933
6941
|
(function(SymbolKind2) {
|
|
6934
6942
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -6995,4 +7003,4 @@ export {
|
|
|
6995
7003
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6996
7004
|
* found in the LICENSE file at https://angular.io/license
|
|
6997
7005
|
*/
|
|
6998
|
-
//# sourceMappingURL=chunk-
|
|
7006
|
+
//# sourceMappingURL=chunk-4MSEL6HO.js.map
|