@angular/compiler-cli 15.1.0-next.0 → 15.1.0-next.2
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-KGTNU2UU.js → chunk-4ENQEGGA.js} +5 -5
- package/bundles/{chunk-KGTNU2UU.js.map → chunk-4ENQEGGA.js.map} +0 -0
- package/bundles/{chunk-LHZD6YT2.js → chunk-BGOUKBDI.js} +35 -35
- package/bundles/chunk-BGOUKBDI.js.map +6 -0
- package/bundles/{chunk-VOEFUUJH.js → chunk-DLVFMDSC.js} +2 -2
- package/bundles/{chunk-VOEFUUJH.js.map → chunk-DLVFMDSC.js.map} +0 -0
- package/bundles/{chunk-NXGWYLNC.js → chunk-E7DPJFUS.js} +7 -7
- package/bundles/{chunk-NXGWYLNC.js.map → chunk-E7DPJFUS.js.map} +0 -0
- package/bundles/{chunk-UUIUKASM.js → chunk-IZN5U2AM.js} +11 -2
- package/bundles/chunk-IZN5U2AM.js.map +6 -0
- package/bundles/{chunk-QKS2XPFG.js → chunk-KY7HVS6H.js} +87 -77
- package/bundles/chunk-KY7HVS6H.js.map +6 -0
- package/bundles/{chunk-XVHC4VAO.js → chunk-MAF2KC4N.js} +8 -8
- package/bundles/{chunk-XVHC4VAO.js.map → chunk-MAF2KC4N.js.map} +1 -1
- package/bundles/{chunk-FPQZA7NP.js → chunk-OFXSI6E3.js} +3 -3
- package/bundles/{chunk-FPQZA7NP.js.map → chunk-OFXSI6E3.js.map} +0 -0
- package/bundles/{chunk-22N3RTKA.js → chunk-OHYTYUA4.js} +7 -7
- package/bundles/{chunk-22N3RTKA.js.map → chunk-OHYTYUA4.js.map} +0 -0
- package/bundles/{chunk-A6MA5NDQ.js → chunk-ONRVYLCK.js} +128 -129
- package/bundles/chunk-ONRVYLCK.js.map +6 -0
- package/bundles/{chunk-JZDWEOSI.js → chunk-PPMCRK4H.js} +74 -73
- package/bundles/{chunk-JZDWEOSI.js.map → chunk-PPMCRK4H.js.map} +1 -1
- package/bundles/{chunk-6TLW4724.js → chunk-PPWXQG65.js} +51 -49
- package/bundles/{chunk-6TLW4724.js.map → chunk-PPWXQG65.js.map} +1 -1
- package/bundles/{chunk-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
- package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
- package/bundles/{chunk-OKDR75TI.js → chunk-TTNJEW7O.js} +7 -7
- package/bundles/{chunk-OKDR75TI.js.map → chunk-TTNJEW7O.js.map} +0 -0
- package/bundles/{chunk-TZNP5L2W.js → chunk-UN4WV3U4.js} +35 -30
- package/bundles/chunk-UN4WV3U4.js.map +6 -0
- package/bundles/{chunk-GIA6ASYG.js → chunk-Y6MBLTIR.js} +7 -7
- package/bundles/{chunk-GIA6ASYG.js.map → chunk-Y6MBLTIR.js.map} +0 -0
- package/bundles/index.js +19 -19
- 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 +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +20 -19
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- 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 +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/babel_core.d.ts +4 -4
- package/linker/babel/src/babel_declaration_scope.d.ts +1 -1
- package/linker/src/ast/ast_value.d.ts +11 -16
- package/linker/src/file_linker/get_source_file.d.ts +1 -1
- package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +1 -1
- package/ngcc/src/analysis/private_declarations_analyzer.d.ts +1 -1
- package/ngcc/src/analysis/types.d.ts +1 -1
- package/ngcc/src/dependencies/dependency_resolver.d.ts +1 -1
- package/ngcc/src/dependencies/module_resolver.d.ts +1 -1
- package/ngcc/src/execution/api.d.ts +3 -3
- package/ngcc/src/execution/cluster/api.d.ts +2 -2
- package/ngcc/src/execution/tasks/api.d.ts +4 -4
- package/ngcc/src/execution/tasks/completion.d.ts +1 -1
- package/ngcc/src/host/esm2015_host.d.ts +5 -5
- package/ngcc/src/host/ngcc_host.d.ts +1 -1
- package/ngcc/src/ngcc_options.d.ts +6 -6
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +4 -4
- package/ngcc/src/packages/entry_point_manifest.d.ts +2 -2
- package/ngcc/src/packages/transformer.d.ts +1 -1
- package/ngcc/src/path_mappings.d.ts +1 -1
- package/ngcc/src/rendering/rendering_formatter.d.ts +1 -1
- package/ngcc/src/utils.d.ts +2 -2
- package/ngcc/src/writing/package_json_updater.d.ts +3 -3
- package/package.json +4 -4
- package/src/main.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/di.d.ts +1 -1
- package/src/ngtsc/annotations/common/src/factory.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/core/api/src/adapter.d.ts +1 -1
- package/src/ngtsc/core/src/compiler.d.ts +1 -1
- package/src/ngtsc/core/src/host.d.ts +1 -1
- package/src/ngtsc/file_system/src/logical.d.ts +1 -1
- package/src/ngtsc/file_system/src/types.d.ts +4 -4
- package/src/ngtsc/imports/src/emitter.d.ts +2 -2
- package/src/ngtsc/incremental/src/state.d.ts +1 -1
- package/src/ngtsc/indexer/src/api.d.ts +1 -1
- package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
- package/src/ngtsc/metadata/src/property_mapping.d.ts +2 -2
- package/src/ngtsc/partial_evaluator/src/interface.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
- package/src/ngtsc/partial_evaluator/src/result.d.ts +1 -1
- package/src/ngtsc/perf/src/clock.d.ts +1 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
- package/src/ngtsc/reflection/src/host.d.ts +9 -9
- package/src/ngtsc/scope/src/api.d.ts +1 -1
- package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
- package/src/ngtsc/transform/src/trait.d.ts +1 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -3
- package/src/ngtsc/translator/src/translator.d.ts +1 -1
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +50 -14
- package/src/ngtsc/typecheck/api/api.d.ts +3 -3
- package/src/ngtsc/typecheck/api/completion.d.ts +1 -1
- package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +3 -3
- package/src/ngtsc/typecheck/src/type_emitter.d.ts +1 -1
- package/src/ngtsc/util/src/typescript.d.ts +3 -3
- package/src/ngtsc/util/src/visitor.d.ts +1 -1
- package/src/perform_compile.d.ts +1 -1
- package/bundles/chunk-A6MA5NDQ.js.map +0 -6
- package/bundles/chunk-LHZD6YT2.js.map +0 -6
- package/bundles/chunk-QKS2XPFG.js.map +0 -6
- package/bundles/chunk-TZNP5L2W.js.map +0 -6
- package/bundles/chunk-UUIUKASM.js.map +0 -6
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
reflectObjectLiteral,
|
|
14
14
|
reflectTypeEntityToDeclaration,
|
|
15
15
|
typeNodeToValueExpr
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OHYTYUA4.js";
|
|
17
17
|
import {
|
|
18
18
|
ErrorCode,
|
|
19
19
|
FatalDiagnosticError,
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
getSourceFile,
|
|
27
27
|
identifierOfNode,
|
|
28
28
|
isDeclaration,
|
|
29
|
+
isFromDtsFile,
|
|
29
30
|
makeDiagnostic,
|
|
30
31
|
makeRelatedInformation,
|
|
31
32
|
nodeDebugInfo,
|
|
@@ -33,9 +34,10 @@ import {
|
|
|
33
34
|
translateExpression,
|
|
34
35
|
translateStatement,
|
|
35
36
|
translateType
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UN4WV3U4.js";
|
|
37
38
|
import {
|
|
38
39
|
combineModifiers,
|
|
40
|
+
createImportDeclaration,
|
|
39
41
|
createPropertyDeclaration,
|
|
40
42
|
getDecorators,
|
|
41
43
|
getModifiers,
|
|
@@ -46,18 +48,18 @@ import {
|
|
|
46
48
|
updateParameterDeclaration,
|
|
47
49
|
updatePropertyDeclaration,
|
|
48
50
|
updateSetAccessorDeclaration
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IZN5U2AM.js";
|
|
50
52
|
import {
|
|
51
53
|
absoluteFrom,
|
|
52
54
|
absoluteFromSourceFile,
|
|
53
55
|
relative
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-E7DPJFUS.js";
|
|
55
57
|
import {
|
|
56
58
|
PerfEvent,
|
|
57
59
|
PerfPhase
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-MAF2KC4N.js";
|
|
59
61
|
|
|
60
|
-
// bazel-out/
|
|
62
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
61
63
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
62
64
|
import ts from "typescript";
|
|
63
65
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -296,7 +298,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
296
298
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
|
|
297
299
|
}
|
|
298
300
|
|
|
299
|
-
// bazel-out/
|
|
301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
300
302
|
var DynamicValue = class {
|
|
301
303
|
constructor(node, reason, code) {
|
|
302
304
|
this.node = node;
|
|
@@ -386,10 +388,10 @@ var DynamicValue = class {
|
|
|
386
388
|
}
|
|
387
389
|
};
|
|
388
390
|
|
|
389
|
-
// bazel-out/
|
|
391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
390
392
|
import ts2 from "typescript";
|
|
391
393
|
|
|
392
|
-
// bazel-out/
|
|
394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
393
395
|
var ResolvedModule = class {
|
|
394
396
|
constructor(exports, evaluate) {
|
|
395
397
|
this.exports = exports;
|
|
@@ -419,7 +421,7 @@ var EnumValue = class {
|
|
|
419
421
|
var KnownFn = class {
|
|
420
422
|
};
|
|
421
423
|
|
|
422
|
-
// bazel-out/
|
|
424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
423
425
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
424
426
|
constructor(lhs) {
|
|
425
427
|
super();
|
|
@@ -490,7 +492,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
490
492
|
}
|
|
491
493
|
};
|
|
492
494
|
|
|
493
|
-
// bazel-out/
|
|
495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
494
496
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
495
497
|
};
|
|
496
498
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -543,7 +545,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
543
545
|
}
|
|
544
546
|
};
|
|
545
547
|
|
|
546
|
-
// bazel-out/
|
|
548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
547
549
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
548
550
|
var assignTsHelperFn = new AssignHelperFn();
|
|
549
551
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -567,14 +569,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
567
569
|
}
|
|
568
570
|
}
|
|
569
571
|
|
|
570
|
-
// bazel-out/
|
|
572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
571
573
|
var SyntheticValue = class {
|
|
572
574
|
constructor(value) {
|
|
573
575
|
this.value = value;
|
|
574
576
|
}
|
|
575
577
|
};
|
|
576
578
|
|
|
577
|
-
// bazel-out/
|
|
579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
578
580
|
function literalBinaryOp(op) {
|
|
579
581
|
return { op, literal: true };
|
|
580
582
|
}
|
|
@@ -1160,7 +1162,7 @@ function owningModule(context, override = null) {
|
|
|
1160
1162
|
}
|
|
1161
1163
|
}
|
|
1162
1164
|
|
|
1163
|
-
// bazel-out/
|
|
1165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1164
1166
|
var PartialEvaluator = class {
|
|
1165
1167
|
constructor(host, checker, dependencyTracker) {
|
|
1166
1168
|
this.host = host;
|
|
@@ -1180,7 +1182,7 @@ var PartialEvaluator = class {
|
|
|
1180
1182
|
}
|
|
1181
1183
|
};
|
|
1182
1184
|
|
|
1183
|
-
// bazel-out/
|
|
1185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1184
1186
|
import ts3 from "typescript";
|
|
1185
1187
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1186
1188
|
var _a, _b;
|
|
@@ -1310,7 +1312,7 @@ function getContainerNode(node) {
|
|
|
1310
1312
|
return node.getSourceFile();
|
|
1311
1313
|
}
|
|
1312
1314
|
|
|
1313
|
-
// bazel-out/
|
|
1315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1314
1316
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1315
1317
|
import ts4 from "typescript";
|
|
1316
1318
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1454,10 +1456,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1454
1456
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1455
1457
|
}
|
|
1456
1458
|
|
|
1457
|
-
// bazel-out/
|
|
1459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1458
1460
|
import ts7 from "typescript";
|
|
1459
1461
|
|
|
1460
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1461
1463
|
var MetaKind;
|
|
1462
1464
|
(function(MetaKind2) {
|
|
1463
1465
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1470,10 +1472,10 @@ var MatchSource;
|
|
|
1470
1472
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1471
1473
|
})(MatchSource || (MatchSource = {}));
|
|
1472
1474
|
|
|
1473
|
-
// bazel-out/
|
|
1475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1474
1476
|
import ts6 from "typescript";
|
|
1475
1477
|
|
|
1476
|
-
// bazel-out/
|
|
1478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1477
1479
|
var ClassPropertyMapping = class {
|
|
1478
1480
|
constructor(forwardMap) {
|
|
1479
1481
|
this.forwardMap = forwardMap;
|
|
@@ -1549,7 +1551,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1549
1551
|
return reverseMap;
|
|
1550
1552
|
}
|
|
1551
1553
|
|
|
1552
|
-
// bazel-out/
|
|
1554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1553
1555
|
import ts5 from "typescript";
|
|
1554
1556
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1555
1557
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1731,7 +1733,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1731
1733
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1732
1734
|
}
|
|
1733
1735
|
|
|
1734
|
-
// bazel-out/
|
|
1736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1735
1737
|
var DtsMetadataReader = class {
|
|
1736
1738
|
constructor(checker, reflector) {
|
|
1737
1739
|
this.checker = checker;
|
|
@@ -1870,11 +1872,11 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1870
1872
|
return result.length > 0 ? result : null;
|
|
1871
1873
|
}
|
|
1872
1874
|
|
|
1873
|
-
// bazel-out/
|
|
1875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1874
1876
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1875
1877
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1876
1878
|
if (topMeta === null) {
|
|
1877
|
-
|
|
1879
|
+
return null;
|
|
1878
1880
|
}
|
|
1879
1881
|
if (topMeta.baseClass === null) {
|
|
1880
1882
|
return topMeta;
|
|
@@ -1928,7 +1930,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1928
1930
|
};
|
|
1929
1931
|
}
|
|
1930
1932
|
|
|
1931
|
-
// bazel-out/
|
|
1933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1932
1934
|
var LocalMetadataRegistry = class {
|
|
1933
1935
|
constructor() {
|
|
1934
1936
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1985,7 +1987,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1985
1987
|
}
|
|
1986
1988
|
};
|
|
1987
1989
|
|
|
1988
|
-
// bazel-out/
|
|
1990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1989
1991
|
var ResourceRegistry = class {
|
|
1990
1992
|
constructor() {
|
|
1991
1993
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2050,7 +2052,7 @@ var ResourceRegistry = class {
|
|
|
2050
2052
|
}
|
|
2051
2053
|
};
|
|
2052
2054
|
|
|
2053
|
-
// bazel-out/
|
|
2055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2054
2056
|
var EMPTY_ARRAY = [];
|
|
2055
2057
|
var HostDirectivesResolver = class {
|
|
2056
2058
|
constructor(metaReader) {
|
|
@@ -2069,7 +2071,7 @@ var HostDirectivesResolver = class {
|
|
|
2069
2071
|
for (const current of directives) {
|
|
2070
2072
|
const hostMeta = flattenInheritedDirectiveMetadata(this.metaReader, current.directive);
|
|
2071
2073
|
if (hostMeta === null) {
|
|
2072
|
-
|
|
2074
|
+
continue;
|
|
2073
2075
|
}
|
|
2074
2076
|
if (hostMeta.hostDirectives) {
|
|
2075
2077
|
this.walkHostDirectives(hostMeta.hostDirectives, results);
|
|
@@ -2101,7 +2103,7 @@ var HostDirectivesResolver = class {
|
|
|
2101
2103
|
}
|
|
2102
2104
|
};
|
|
2103
2105
|
|
|
2104
|
-
// bazel-out/
|
|
2106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2105
2107
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2106
2108
|
const context = [];
|
|
2107
2109
|
for (const decl of data) {
|
|
@@ -2226,6 +2228,9 @@ function checkInheritanceOfInjectable(node, injectableRegistry, reflector, evalu
|
|
|
2226
2228
|
if (!classWithCtor.isDecorated) {
|
|
2227
2229
|
return getInheritedUndecoratedCtorDiagnostic(node, classWithCtor.ref, kind);
|
|
2228
2230
|
}
|
|
2231
|
+
if (isFromDtsFile(classWithCtor.ref.node)) {
|
|
2232
|
+
return null;
|
|
2233
|
+
}
|
|
2229
2234
|
if (!strictInjectionParameters || isAbstractClassDeclaration(node)) {
|
|
2230
2235
|
return null;
|
|
2231
2236
|
}
|
|
@@ -2273,7 +2278,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2273
2278
|
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}.`);
|
|
2274
2279
|
}
|
|
2275
2280
|
|
|
2276
|
-
// bazel-out/
|
|
2281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2277
2282
|
import ts8 from "typescript";
|
|
2278
2283
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2279
2284
|
let resolved = null;
|
|
@@ -2306,7 +2311,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2306
2311
|
return meta;
|
|
2307
2312
|
}
|
|
2308
2313
|
|
|
2309
|
-
// bazel-out/
|
|
2314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2310
2315
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2311
2316
|
function compileNgFactoryDefField(metadata) {
|
|
2312
2317
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2317,7 +2322,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2317
2322
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2318
2323
|
}
|
|
2319
2324
|
|
|
2320
|
-
// bazel-out/
|
|
2325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2321
2326
|
var InjectableClassRegistry = class {
|
|
2322
2327
|
constructor(host, isCore) {
|
|
2323
2328
|
this.host = host;
|
|
@@ -2343,7 +2348,7 @@ var InjectableClassRegistry = class {
|
|
|
2343
2348
|
}
|
|
2344
2349
|
};
|
|
2345
2350
|
|
|
2346
|
-
// bazel-out/
|
|
2351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2347
2352
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2348
2353
|
import ts9 from "typescript";
|
|
2349
2354
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2430,13 +2435,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2430
2435
|
return result.transformed[0];
|
|
2431
2436
|
}
|
|
2432
2437
|
|
|
2433
|
-
// bazel-out/
|
|
2438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2434
2439
|
var NoopReferencesRegistry = class {
|
|
2435
2440
|
add(source, ...references) {
|
|
2436
2441
|
}
|
|
2437
2442
|
};
|
|
2438
2443
|
|
|
2439
|
-
// bazel-out/
|
|
2444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2440
2445
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2441
2446
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2442
2447
|
const schemas = [];
|
|
@@ -2466,11 +2471,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2466
2471
|
return schemas;
|
|
2467
2472
|
}
|
|
2468
2473
|
|
|
2469
|
-
// bazel-out/
|
|
2474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2470
2475
|
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";
|
|
2471
2476
|
import ts24 from "typescript";
|
|
2472
2477
|
|
|
2473
|
-
// bazel-out/
|
|
2478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2474
2479
|
import ts10 from "typescript";
|
|
2475
2480
|
var SemanticSymbol = class {
|
|
2476
2481
|
constructor(decl) {
|
|
@@ -2486,7 +2491,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2486
2491
|
return decl.name.text;
|
|
2487
2492
|
}
|
|
2488
2493
|
|
|
2489
|
-
// bazel-out/
|
|
2494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2490
2495
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2491
2496
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2492
2497
|
isPublicApiAffected() {
|
|
@@ -2629,10 +2634,10 @@ function getImportPath(expr) {
|
|
|
2629
2634
|
}
|
|
2630
2635
|
}
|
|
2631
2636
|
|
|
2632
|
-
// bazel-out/
|
|
2637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2633
2638
|
import ts11 from "typescript";
|
|
2634
2639
|
|
|
2635
|
-
// bazel-out/
|
|
2640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2636
2641
|
function isSymbolEqual(a, b) {
|
|
2637
2642
|
if (a.decl === b.decl) {
|
|
2638
2643
|
return true;
|
|
@@ -2682,7 +2687,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2682
2687
|
return true;
|
|
2683
2688
|
}
|
|
2684
2689
|
|
|
2685
|
-
// bazel-out/
|
|
2690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2686
2691
|
function extractSemanticTypeParameters(node) {
|
|
2687
2692
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2688
2693
|
return null;
|
|
@@ -2702,14 +2707,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2702
2707
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2703
2708
|
}
|
|
2704
2709
|
|
|
2705
|
-
// bazel-out/
|
|
2710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2706
2711
|
var ComponentScopeKind;
|
|
2707
2712
|
(function(ComponentScopeKind2) {
|
|
2708
2713
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2709
2714
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2710
2715
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2711
2716
|
|
|
2712
|
-
// bazel-out/
|
|
2717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2713
2718
|
var CompoundComponentScopeReader = class {
|
|
2714
2719
|
constructor(readers) {
|
|
2715
2720
|
this.readers = readers;
|
|
@@ -2734,7 +2739,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2734
2739
|
}
|
|
2735
2740
|
};
|
|
2736
2741
|
|
|
2737
|
-
// bazel-out/
|
|
2742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2738
2743
|
var MetadataDtsModuleScopeResolver = class {
|
|
2739
2744
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2740
2745
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2810,11 +2815,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2810
2815
|
}
|
|
2811
2816
|
};
|
|
2812
2817
|
|
|
2813
|
-
// bazel-out/
|
|
2818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2814
2819
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2815
2820
|
import ts12 from "typescript";
|
|
2816
2821
|
|
|
2817
|
-
// bazel-out/
|
|
2822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2818
2823
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2819
2824
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2820
2825
|
}
|
|
@@ -2837,7 +2842,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2837
2842
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2838
2843
|
}
|
|
2839
2844
|
|
|
2840
|
-
// bazel-out/
|
|
2845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2841
2846
|
var LocalModuleScopeRegistry = class {
|
|
2842
2847
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2843
2848
|
this.localReader = localReader;
|
|
@@ -3176,7 +3181,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3176
3181
|
]);
|
|
3177
3182
|
}
|
|
3178
3183
|
|
|
3179
|
-
// bazel-out/
|
|
3184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3180
3185
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3181
3186
|
import ts13 from "typescript";
|
|
3182
3187
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3209,6 +3214,9 @@ var TypeCheckScopeRegistry = class {
|
|
|
3209
3214
|
for (const meta of dependencies) {
|
|
3210
3215
|
if (meta.kind === MetaKind.Directive && meta.selector !== null) {
|
|
3211
3216
|
const extMeta = this.getTypeCheckDirectiveMetadata(meta.ref);
|
|
3217
|
+
if (extMeta === null) {
|
|
3218
|
+
continue;
|
|
3219
|
+
}
|
|
3212
3220
|
matcher.addSelectables(CssSelector.parse(meta.selector), [...this.hostDirectivesResolver.resolve(extMeta), extMeta]);
|
|
3213
3221
|
directives.push(extMeta);
|
|
3214
3222
|
} else if (meta.kind === MetaKind.Pipe) {
|
|
@@ -3234,12 +3242,15 @@ var TypeCheckScopeRegistry = class {
|
|
|
3234
3242
|
return this.flattenedDirectiveMetaCache.get(clazz);
|
|
3235
3243
|
}
|
|
3236
3244
|
const meta = flattenInheritedDirectiveMetadata(this.metaReader, ref);
|
|
3245
|
+
if (meta === null) {
|
|
3246
|
+
return null;
|
|
3247
|
+
}
|
|
3237
3248
|
this.flattenedDirectiveMetaCache.set(clazz, meta);
|
|
3238
3249
|
return meta;
|
|
3239
3250
|
}
|
|
3240
3251
|
};
|
|
3241
3252
|
|
|
3242
|
-
// bazel-out/
|
|
3253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3243
3254
|
var CompilationMode;
|
|
3244
3255
|
(function(CompilationMode2) {
|
|
3245
3256
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3257,7 +3268,7 @@ var HandlerFlags;
|
|
|
3257
3268
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3258
3269
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3259
3270
|
|
|
3260
|
-
// bazel-out/
|
|
3271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3261
3272
|
import ts14 from "typescript";
|
|
3262
3273
|
function aliasTransformFactory(exportStatements) {
|
|
3263
3274
|
return (context) => {
|
|
@@ -3281,10 +3292,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3281
3292
|
};
|
|
3282
3293
|
}
|
|
3283
3294
|
|
|
3284
|
-
// bazel-out/
|
|
3295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3285
3296
|
import ts15 from "typescript";
|
|
3286
3297
|
|
|
3287
|
-
// bazel-out/
|
|
3298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3288
3299
|
var TraitState;
|
|
3289
3300
|
(function(TraitState2) {
|
|
3290
3301
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3339,7 +3350,7 @@ var TraitImpl = class {
|
|
|
3339
3350
|
}
|
|
3340
3351
|
};
|
|
3341
3352
|
|
|
3342
|
-
// bazel-out/
|
|
3353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3343
3354
|
var TraitCompiler = class {
|
|
3344
3355
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3345
3356
|
this.handlers = handlers;
|
|
@@ -3783,10 +3794,10 @@ function containsErrors(diagnostics) {
|
|
|
3783
3794
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3784
3795
|
}
|
|
3785
3796
|
|
|
3786
|
-
// bazel-out/
|
|
3797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3787
3798
|
import ts17 from "typescript";
|
|
3788
3799
|
|
|
3789
|
-
// bazel-out/
|
|
3800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3790
3801
|
import ts16 from "typescript";
|
|
3791
3802
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3792
3803
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3796,8 +3807,7 @@ function addImports(importManager, sf, extraStatements = []) {
|
|
|
3796
3807
|
void 0,
|
|
3797
3808
|
ts16.factory.createNamespaceImport(qualifier)
|
|
3798
3809
|
);
|
|
3799
|
-
const decl =
|
|
3800
|
-
void 0,
|
|
3810
|
+
const decl = createImportDeclaration(
|
|
3801
3811
|
void 0,
|
|
3802
3812
|
importClause,
|
|
3803
3813
|
ts16.factory.createStringLiteral(i.specifier)
|
|
@@ -3823,7 +3833,7 @@ function isImportStatement(stmt) {
|
|
|
3823
3833
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3824
3834
|
}
|
|
3825
3835
|
|
|
3826
|
-
// bazel-out/
|
|
3836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3827
3837
|
var DtsTransformRegistry = class {
|
|
3828
3838
|
constructor() {
|
|
3829
3839
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3968,11 +3978,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3968
3978
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3969
3979
|
}
|
|
3970
3980
|
|
|
3971
|
-
// bazel-out/
|
|
3981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3972
3982
|
import { ConstantPool } from "@angular/compiler";
|
|
3973
3983
|
import ts19 from "typescript";
|
|
3974
3984
|
|
|
3975
|
-
// bazel-out/
|
|
3985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3976
3986
|
import ts18 from "typescript";
|
|
3977
3987
|
function visit(node, visitor, context) {
|
|
3978
3988
|
return visitor._visit(node, context);
|
|
@@ -4033,7 +4043,7 @@ var Visitor = class {
|
|
|
4033
4043
|
}
|
|
4034
4044
|
};
|
|
4035
4045
|
|
|
4036
|
-
// bazel-out/
|
|
4046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4037
4047
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
4038
4048
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
4039
4049
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4233,10 +4243,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4233
4243
|
return array;
|
|
4234
4244
|
}
|
|
4235
4245
|
|
|
4236
|
-
// bazel-out/
|
|
4246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4237
4247
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4238
4248
|
|
|
4239
|
-
// bazel-out/
|
|
4249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4240
4250
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4241
4251
|
import ts20 from "typescript";
|
|
4242
4252
|
var EMPTY_OBJECT = {};
|
|
@@ -4653,7 +4663,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4653
4663
|
};
|
|
4654
4664
|
}
|
|
4655
4665
|
|
|
4656
|
-
// bazel-out/
|
|
4666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4657
4667
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4658
4668
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4659
4669
|
super(decl);
|
|
@@ -4730,7 +4740,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4730
4740
|
return isSymbolEqual(current, previous);
|
|
4731
4741
|
}
|
|
4732
4742
|
|
|
4733
|
-
// bazel-out/
|
|
4743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4734
4744
|
var FIELD_DECORATORS = [
|
|
4735
4745
|
"Input",
|
|
4736
4746
|
"Output",
|
|
@@ -4889,11 +4899,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4889
4899
|
}
|
|
4890
4900
|
};
|
|
4891
4901
|
|
|
4892
|
-
// bazel-out/
|
|
4902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4893
4903
|
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";
|
|
4894
4904
|
import ts22 from "typescript";
|
|
4895
4905
|
|
|
4896
|
-
// bazel-out/
|
|
4906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4897
4907
|
import ts21 from "typescript";
|
|
4898
4908
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4899
4909
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4960,7 +4970,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4960
4970
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4961
4971
|
}
|
|
4962
4972
|
|
|
4963
|
-
// bazel-out/
|
|
4973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4964
4974
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4965
4975
|
constructor() {
|
|
4966
4976
|
super(...arguments);
|
|
@@ -5464,7 +5474,7 @@ function isSyntheticReference(ref) {
|
|
|
5464
5474
|
return ref.synthetic;
|
|
5465
5475
|
}
|
|
5466
5476
|
|
|
5467
|
-
// bazel-out/
|
|
5477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5468
5478
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5469
5479
|
const name = ref.debugName || "(unknown)";
|
|
5470
5480
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5487,7 +5497,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5487
5497
|
return null;
|
|
5488
5498
|
}
|
|
5489
5499
|
|
|
5490
|
-
// bazel-out/
|
|
5500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5491
5501
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5492
5502
|
import ts23 from "typescript";
|
|
5493
5503
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5800,7 +5810,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5800
5810
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5801
5811
|
}
|
|
5802
5812
|
|
|
5803
|
-
// bazel-out/
|
|
5813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5804
5814
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5805
5815
|
constructor() {
|
|
5806
5816
|
super(...arguments);
|
|
@@ -5835,7 +5845,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5835
5845
|
}
|
|
5836
5846
|
};
|
|
5837
5847
|
|
|
5838
|
-
// bazel-out/
|
|
5848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5839
5849
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5840
5850
|
if (value instanceof Map) {
|
|
5841
5851
|
const name = value.get("name");
|
|
@@ -5911,7 +5921,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5911
5921
|
return false;
|
|
5912
5922
|
}
|
|
5913
5923
|
|
|
5914
|
-
// bazel-out/
|
|
5924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5915
5925
|
var EMPTY_ARRAY2 = [];
|
|
5916
5926
|
var ComponentDecoratorHandler = class {
|
|
5917
5927
|
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) {
|
|
@@ -6555,7 +6565,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6555
6565
|
return diagnostics;
|
|
6556
6566
|
}
|
|
6557
6567
|
|
|
6558
|
-
// bazel-out/
|
|
6568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6559
6569
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6560
6570
|
import ts25 from "typescript";
|
|
6561
6571
|
var InjectableDecoratorHandler = class {
|
|
@@ -6772,7 +6782,7 @@ function getDep(dep, reflector) {
|
|
|
6772
6782
|
return meta;
|
|
6773
6783
|
}
|
|
6774
6784
|
|
|
6775
|
-
// bazel-out/
|
|
6785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6776
6786
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6777
6787
|
import ts26 from "typescript";
|
|
6778
6788
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6967,4 +6977,4 @@ export {
|
|
|
6967
6977
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6968
6978
|
* found in the LICENSE file at https://angular.io/license
|
|
6969
6979
|
*/
|
|
6970
|
-
//# sourceMappingURL=chunk-
|
|
6980
|
+
//# sourceMappingURL=chunk-KY7HVS6H.js.map
|