@angular/compiler-cli 16.0.0-rc.1 → 16.0.0-rc.3
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-C4B5W2XC.js → chunk-2G3UVWBI.js} +8 -8
- package/bundles/{chunk-B6WD2R2T.js → chunk-7RPZKH3B.js} +21 -21
- package/bundles/{chunk-GVISPKNE.js → chunk-BC53B7EF.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-TBUSSXUA.js → chunk-K2U2VZ7S.js} +7 -7
- package/bundles/{chunk-YGYAPJAN.js → chunk-N7X4GSO5.js} +110 -98
- package/bundles/chunk-N7X4GSO5.js.map +6 -0
- package/bundles/{chunk-SIHBKSBW.js → chunk-OKYKHPES.js} +31 -31
- package/bundles/{chunk-EKTJ7622.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-4MSEL6HO.js → chunk-QJ5WULBE.js} +180 -93
- package/bundles/chunk-QJ5WULBE.js.map +6 -0
- package/bundles/{chunk-FJTRGXZM.js → chunk-SQZL4JZ2.js} +5 -5
- package/bundles/{chunk-4UQC5DMJ.js → chunk-TCPBYER2.js} +6 -6
- package/bundles/{chunk-7PCPPTTO.js → chunk-URH5LEAG.js} +5 -5
- 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 +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +19 -4
- package/src/ngtsc/core/api/src/public_options.d.ts +4 -1
- package/src/ngtsc/core/src/compiler.d.ts +0 -7
- package/src/ngtsc/incremental/src/strategy.d.ts +6 -6
- package/src/ngtsc/metadata/index.d.ts +1 -0
- package/src/ngtsc/metadata/src/api.d.ts +11 -0
- package/src/ngtsc/metadata/src/providers.d.ts +43 -0
- package/src/ngtsc/transform/src/api.d.ts +6 -1
- package/bundles/chunk-4MSEL6HO.js.map +0 -6
- package/bundles/chunk-YGYAPJAN.js.map +0 -6
- /package/bundles/{chunk-C4B5W2XC.js.map → chunk-2G3UVWBI.js.map} +0 -0
- /package/bundles/{chunk-B6WD2R2T.js.map → chunk-7RPZKH3B.js.map} +0 -0
- /package/bundles/{chunk-GVISPKNE.js.map → chunk-BC53B7EF.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-K2U2VZ7S.js.map} +0 -0
- /package/bundles/{chunk-SIHBKSBW.js.map → chunk-OKYKHPES.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-FJTRGXZM.js.map → chunk-SQZL4JZ2.js.map} +0 -0
- /package/bundles/{chunk-4UQC5DMJ.js.map → chunk-TCPBYER2.js.map} +0 -0
- /package/bundles/{chunk-7PCPPTTO.js.map → chunk-URH5LEAG.js.map} +0 -0
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
DirectiveDecoratorHandler,
|
|
14
14
|
DtsMetadataReader,
|
|
15
15
|
DtsTransformRegistry,
|
|
16
|
+
ExportedProviderStatusResolver,
|
|
16
17
|
HostDirectivesResolver,
|
|
17
18
|
InjectableClassRegistry,
|
|
18
19
|
InjectableDecoratorHandler,
|
|
@@ -35,16 +36,16 @@ import {
|
|
|
35
36
|
aliasTransformFactory,
|
|
36
37
|
declarationTransformFactory,
|
|
37
38
|
ivyTransformFactory
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QJ5WULBE.js";
|
|
39
40
|
import {
|
|
40
41
|
TypeScriptReflectionHost,
|
|
41
42
|
isNamedClassDeclaration
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TCPBYER2.js";
|
|
43
44
|
import {
|
|
44
45
|
ImportManager,
|
|
45
46
|
translateExpression,
|
|
46
47
|
translateType
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2G3UVWBI.js";
|
|
48
49
|
import {
|
|
49
50
|
AbsoluteModuleStrategy,
|
|
50
51
|
AliasStrategy,
|
|
@@ -83,14 +84,14 @@ import {
|
|
|
83
84
|
relativePathBetween,
|
|
84
85
|
replaceTsWithNgInErrors,
|
|
85
86
|
toUnredirectedSourceFile
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-7RPZKH3B.js";
|
|
87
88
|
import {
|
|
88
89
|
ActivePerfRecorder,
|
|
89
90
|
DelegatingPerfRecorder,
|
|
90
91
|
PerfCheckpoint,
|
|
91
92
|
PerfEvent,
|
|
92
93
|
PerfPhase
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-URH5LEAG.js";
|
|
94
95
|
import {
|
|
95
96
|
LogicalFileSystem,
|
|
96
97
|
absoluteFrom,
|
|
@@ -100,9 +101,9 @@ import {
|
|
|
100
101
|
getSourceFileOrError,
|
|
101
102
|
join,
|
|
102
103
|
resolve
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-K2U2VZ7S.js";
|
|
104
105
|
|
|
105
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
106
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
107
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
108
109
|
var SOURCE = "angular";
|
|
@@ -120,7 +121,7 @@ var EmitFlags;
|
|
|
120
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
121
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
122
123
|
|
|
123
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
124
125
|
import ts from "typescript";
|
|
125
126
|
var wrapHostForTest = null;
|
|
126
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -130,11 +131,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
130
131
|
return tsHost;
|
|
131
132
|
}
|
|
132
133
|
|
|
133
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
134
135
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
135
136
|
import ts32 from "typescript";
|
|
136
137
|
|
|
137
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
138
139
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
139
140
|
import * as path from "path";
|
|
140
141
|
function i18nGetExtension(formatName) {
|
|
@@ -185,10 +186,10 @@ function getPathNormalizer(basePath) {
|
|
|
185
186
|
};
|
|
186
187
|
}
|
|
187
188
|
|
|
188
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
189
190
|
import ts2 from "typescript";
|
|
190
191
|
|
|
191
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
192
193
|
function toNumbers(value) {
|
|
193
194
|
const suffixIndex = value.lastIndexOf("-");
|
|
194
195
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -223,7 +224,7 @@ function compareVersions(v1, v2) {
|
|
|
223
224
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
224
225
|
}
|
|
225
226
|
|
|
226
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
227
228
|
var MIN_TS_VERSION = "4.9.3";
|
|
228
229
|
var MAX_TS_VERSION = "5.1.0";
|
|
229
230
|
var tsVersion = ts2.version;
|
|
@@ -236,10 +237,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
236
237
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
237
238
|
}
|
|
238
239
|
|
|
239
|
-
// bazel-out/
|
|
240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
240
241
|
import ts30 from "typescript";
|
|
241
242
|
|
|
242
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
243
244
|
var CycleAnalyzer = class {
|
|
244
245
|
constructor(importGraph) {
|
|
245
246
|
this.importGraph = importGraph;
|
|
@@ -310,7 +311,7 @@ var Cycle = class {
|
|
|
310
311
|
}
|
|
311
312
|
};
|
|
312
313
|
|
|
313
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
314
315
|
import ts3 from "typescript";
|
|
315
316
|
var ImportGraph = class {
|
|
316
317
|
constructor(checker, perf) {
|
|
@@ -402,7 +403,7 @@ var Found = class {
|
|
|
402
403
|
}
|
|
403
404
|
};
|
|
404
405
|
|
|
405
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
406
407
|
import ts4 from "typescript";
|
|
407
408
|
var FlatIndexGenerator = class {
|
|
408
409
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -427,7 +428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
427
428
|
}
|
|
428
429
|
};
|
|
429
430
|
|
|
430
|
-
// bazel-out/
|
|
431
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
431
432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
432
433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
433
434
|
let resolvedEntryPoint = null;
|
|
@@ -443,7 +444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
443
444
|
return resolvedEntryPoint;
|
|
444
445
|
}
|
|
445
446
|
|
|
446
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
447
448
|
import ts5 from "typescript";
|
|
448
449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
449
450
|
const diagnostics = [];
|
|
@@ -523,7 +524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
523
524
|
}
|
|
524
525
|
}
|
|
525
526
|
|
|
526
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
527
528
|
var ReferenceGraph = class {
|
|
528
529
|
constructor() {
|
|
529
530
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -577,7 +578,7 @@ var ReferenceGraph = class {
|
|
|
577
578
|
}
|
|
578
579
|
};
|
|
579
580
|
|
|
580
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
581
582
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
582
583
|
var UpdateMode;
|
|
583
584
|
(function(UpdateMode2) {
|
|
@@ -585,13 +586,13 @@ var UpdateMode;
|
|
|
585
586
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
586
587
|
})(UpdateMode || (UpdateMode = {}));
|
|
587
588
|
|
|
588
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
589
590
|
import ts7 from "typescript";
|
|
590
591
|
|
|
591
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
592
593
|
import ts6 from "typescript";
|
|
593
594
|
|
|
594
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
595
596
|
var NgExtension = Symbol("NgExtension");
|
|
596
597
|
function isExtended(sf) {
|
|
597
598
|
return sf[NgExtension] !== void 0;
|
|
@@ -651,13 +652,13 @@ function retagTsFile(sf) {
|
|
|
651
652
|
}
|
|
652
653
|
}
|
|
653
654
|
|
|
654
|
-
// bazel-out/
|
|
655
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
655
656
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
656
657
|
function makeShimFileName(fileName, suffix) {
|
|
657
658
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
658
659
|
}
|
|
659
660
|
|
|
660
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
661
662
|
var ShimAdapter = class {
|
|
662
663
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
663
664
|
this.delegate = delegate;
|
|
@@ -752,7 +753,7 @@ var ShimAdapter = class {
|
|
|
752
753
|
}
|
|
753
754
|
};
|
|
754
755
|
|
|
755
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
756
757
|
var ShimReferenceTagger = class {
|
|
757
758
|
constructor(shimExtensions) {
|
|
758
759
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -786,7 +787,7 @@ var ShimReferenceTagger = class {
|
|
|
786
787
|
}
|
|
787
788
|
};
|
|
788
789
|
|
|
789
|
-
// bazel-out/
|
|
790
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
790
791
|
var DelegatingCompilerHost = class {
|
|
791
792
|
constructor(delegate) {
|
|
792
793
|
this.delegate = delegate;
|
|
@@ -899,7 +900,7 @@ var TsCreateProgramDriver = class {
|
|
|
899
900
|
}
|
|
900
901
|
};
|
|
901
902
|
|
|
902
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
903
904
|
var FileDependencyGraph = class {
|
|
904
905
|
constructor() {
|
|
905
906
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -966,7 +967,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
966
967
|
return false;
|
|
967
968
|
}
|
|
968
969
|
|
|
969
|
-
// bazel-out/
|
|
970
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
970
971
|
var IncrementalStateKind;
|
|
971
972
|
(function(IncrementalStateKind2) {
|
|
972
973
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -974,7 +975,7 @@ var IncrementalStateKind;
|
|
|
974
975
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
975
976
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
976
977
|
|
|
977
|
-
// bazel-out/
|
|
978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
978
979
|
var PhaseKind;
|
|
979
980
|
(function(PhaseKind2) {
|
|
980
981
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1175,7 +1176,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1175
1176
|
}
|
|
1176
1177
|
}
|
|
1177
1178
|
|
|
1178
|
-
// bazel-out/
|
|
1179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1179
1180
|
var TrackedIncrementalBuildStrategy = class {
|
|
1180
1181
|
constructor() {
|
|
1181
1182
|
this.state = null;
|
|
@@ -1211,7 +1212,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1211
1212
|
};
|
|
1212
1213
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1213
1214
|
|
|
1214
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1215
1216
|
var IdentifierKind;
|
|
1216
1217
|
(function(IdentifierKind2) {
|
|
1217
1218
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1229,7 +1230,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1229
1230
|
}
|
|
1230
1231
|
};
|
|
1231
1232
|
|
|
1232
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1233
1234
|
var IndexingContext = class {
|
|
1234
1235
|
constructor() {
|
|
1235
1236
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1239,10 +1240,10 @@ var IndexingContext = class {
|
|
|
1239
1240
|
}
|
|
1240
1241
|
};
|
|
1241
1242
|
|
|
1242
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1243
1244
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1244
1245
|
|
|
1245
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1246
1247
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1247
1248
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1248
1249
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1479,7 +1480,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1479
1480
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1480
1481
|
}
|
|
1481
1482
|
|
|
1482
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1483
1484
|
function generateAnalysis(context) {
|
|
1484
1485
|
const analysis = /* @__PURE__ */ new Map();
|
|
1485
1486
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1515,7 +1516,7 @@ function generateAnalysis(context) {
|
|
|
1515
1516
|
return analysis;
|
|
1516
1517
|
}
|
|
1517
1518
|
|
|
1518
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1519
1520
|
var NgModuleIndexImpl = class {
|
|
1520
1521
|
constructor(metaReader, localReader) {
|
|
1521
1522
|
this.metaReader = metaReader;
|
|
@@ -1604,7 +1605,7 @@ var NgModuleIndexImpl = class {
|
|
|
1604
1605
|
}
|
|
1605
1606
|
};
|
|
1606
1607
|
|
|
1607
|
-
// bazel-out/
|
|
1608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1608
1609
|
import ts8 from "typescript";
|
|
1609
1610
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1610
1611
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1750,7 +1751,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1750
1751
|
};
|
|
1751
1752
|
}
|
|
1752
1753
|
|
|
1753
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1754
1755
|
var StandaloneComponentScopeReader = class {
|
|
1755
1756
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1756
1757
|
this.metaReader = metaReader;
|
|
@@ -1828,10 +1829,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1828
1829
|
}
|
|
1829
1830
|
};
|
|
1830
1831
|
|
|
1831
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1832
1833
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1833
1834
|
|
|
1834
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1835
1836
|
import ts9 from "typescript";
|
|
1836
1837
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1837
1838
|
var _a;
|
|
@@ -1938,7 +1939,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1938
1939
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1939
1940
|
}
|
|
1940
1941
|
|
|
1941
|
-
// bazel-out/
|
|
1942
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1942
1943
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1943
1944
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1944
1945
|
function getTemplateId(clazz) {
|
|
@@ -1955,11 +1956,11 @@ function allocateTemplateId(sf) {
|
|
|
1955
1956
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1956
1957
|
}
|
|
1957
1958
|
|
|
1958
|
-
// bazel-out/
|
|
1959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1959
1960
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1960
1961
|
import ts11 from "typescript";
|
|
1961
1962
|
|
|
1962
|
-
// bazel-out/
|
|
1963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1963
1964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1964
1965
|
import ts10 from "typescript";
|
|
1965
1966
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2089,7 +2090,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2089
2090
|
}) || false;
|
|
2090
2091
|
}
|
|
2091
2092
|
|
|
2092
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2093
2094
|
var CompletionEngine = class {
|
|
2094
2095
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2095
2096
|
this.tcb = tcb;
|
|
@@ -2246,10 +2247,10 @@ var CompletionEngine = class {
|
|
|
2246
2247
|
}
|
|
2247
2248
|
};
|
|
2248
2249
|
|
|
2249
|
-
// bazel-out/
|
|
2250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2250
2251
|
import ts25 from "typescript";
|
|
2251
2252
|
|
|
2252
|
-
// bazel-out/
|
|
2253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2253
2254
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2254
2255
|
import ts12 from "typescript";
|
|
2255
2256
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2302,11 +2303,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2302
2303
|
}
|
|
2303
2304
|
};
|
|
2304
2305
|
|
|
2305
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2306
2307
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2307
2308
|
import ts18 from "typescript";
|
|
2308
2309
|
|
|
2309
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2310
2311
|
import ts13 from "typescript";
|
|
2311
2312
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2312
2313
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2380,16 +2381,16 @@ function isAccessExpression(node) {
|
|
|
2380
2381
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2381
2382
|
}
|
|
2382
2383
|
|
|
2383
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2384
2385
|
import ts17 from "typescript";
|
|
2385
2386
|
|
|
2386
|
-
// bazel-out/
|
|
2387
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2387
2388
|
import ts16 from "typescript";
|
|
2388
2389
|
|
|
2389
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2390
2391
|
import ts15 from "typescript";
|
|
2391
2392
|
|
|
2392
|
-
// bazel-out/
|
|
2393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2393
2394
|
import ts14 from "typescript";
|
|
2394
2395
|
var INELIGIBLE = {};
|
|
2395
2396
|
function canEmitType(type, canEmit) {
|
|
@@ -2464,7 +2465,7 @@ var TypeEmitter = class {
|
|
|
2464
2465
|
}
|
|
2465
2466
|
};
|
|
2466
2467
|
|
|
2467
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2468
2469
|
var TypeParameterEmitter = class {
|
|
2469
2470
|
constructor(typeParameters, reflector) {
|
|
2470
2471
|
this.typeParameters = typeParameters;
|
|
@@ -2541,7 +2542,7 @@ var TypeParameterEmitter = class {
|
|
|
2541
2542
|
}
|
|
2542
2543
|
};
|
|
2543
2544
|
|
|
2544
|
-
// bazel-out/
|
|
2545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2545
2546
|
var TcbInliningRequirement;
|
|
2546
2547
|
(function(TcbInliningRequirement2) {
|
|
2547
2548
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2621,7 +2622,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2621
2622
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2622
2623
|
}
|
|
2623
2624
|
|
|
2624
|
-
// bazel-out/
|
|
2625
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2625
2626
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2626
2627
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2627
2628
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2733,7 +2734,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2733
2734
|
});
|
|
2734
2735
|
}
|
|
2735
2736
|
|
|
2736
|
-
// bazel-out/
|
|
2737
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2737
2738
|
var Environment = class {
|
|
2738
2739
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2739
2740
|
this.config = config;
|
|
@@ -2825,7 +2826,7 @@ var Environment = class {
|
|
|
2825
2826
|
}
|
|
2826
2827
|
};
|
|
2827
2828
|
|
|
2828
|
-
// bazel-out/
|
|
2829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2829
2830
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2830
2831
|
import ts19 from "typescript";
|
|
2831
2832
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2962,7 +2963,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2962
2963
|
};
|
|
2963
2964
|
}
|
|
2964
2965
|
|
|
2965
|
-
// bazel-out/
|
|
2966
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2966
2967
|
import ts20 from "typescript";
|
|
2967
2968
|
var TypeCheckShimGenerator = class {
|
|
2968
2969
|
constructor() {
|
|
@@ -2980,11 +2981,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2980
2981
|
}
|
|
2981
2982
|
};
|
|
2982
2983
|
|
|
2983
|
-
// bazel-out/
|
|
2984
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2984
2985
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
2985
2986
|
import ts23 from "typescript";
|
|
2986
2987
|
|
|
2987
|
-
// bazel-out/
|
|
2988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2988
2989
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2989
2990
|
import ts21 from "typescript";
|
|
2990
2991
|
function wrapForDiagnostics(expr) {
|
|
@@ -3030,7 +3031,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3030
3031
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3031
3032
|
}
|
|
3032
3033
|
|
|
3033
|
-
// bazel-out/
|
|
3034
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3034
3035
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3035
3036
|
import ts22 from "typescript";
|
|
3036
3037
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3363,7 +3364,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3363
3364
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3364
3365
|
})();
|
|
3365
3366
|
|
|
3366
|
-
// bazel-out/
|
|
3367
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3367
3368
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3368
3369
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3369
3370
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3387,7 +3388,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3387
3388
|
}
|
|
3388
3389
|
};
|
|
3389
3390
|
|
|
3390
|
-
// bazel-out/
|
|
3391
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3391
3392
|
var TcbGenericContextBehavior;
|
|
3392
3393
|
(function(TcbGenericContextBehavior2) {
|
|
3393
3394
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4502,7 +4503,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4502
4503
|
}
|
|
4503
4504
|
};
|
|
4504
4505
|
|
|
4505
|
-
// bazel-out/
|
|
4506
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4506
4507
|
import ts24 from "typescript";
|
|
4507
4508
|
var TypeCheckFile = class extends Environment {
|
|
4508
4509
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4538,7 +4539,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4538
4539
|
}
|
|
4539
4540
|
};
|
|
4540
4541
|
|
|
4541
|
-
// bazel-out/
|
|
4542
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4542
4543
|
var InliningMode;
|
|
4543
4544
|
(function(InliningMode2) {
|
|
4544
4545
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4776,10 +4777,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4776
4777
|
return splits;
|
|
4777
4778
|
}
|
|
4778
4779
|
|
|
4779
|
-
// bazel-out/
|
|
4780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4780
4781
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4781
4782
|
|
|
4782
|
-
// bazel-out/
|
|
4783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4783
4784
|
var LF_CHAR = 10;
|
|
4784
4785
|
var CR_CHAR = 13;
|
|
4785
4786
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4820,7 +4821,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4820
4821
|
return low - 1;
|
|
4821
4822
|
}
|
|
4822
4823
|
|
|
4823
|
-
// bazel-out/
|
|
4824
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4824
4825
|
var TemplateSource = class {
|
|
4825
4826
|
constructor(mapping, file) {
|
|
4826
4827
|
this.mapping = mapping;
|
|
@@ -4871,7 +4872,7 @@ var TemplateSourceManager = class {
|
|
|
4871
4872
|
}
|
|
4872
4873
|
};
|
|
4873
4874
|
|
|
4874
|
-
// bazel-out/
|
|
4875
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4875
4876
|
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";
|
|
4876
4877
|
import ts26 from "typescript";
|
|
4877
4878
|
var SymbolBuilder = class {
|
|
@@ -5355,7 +5356,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5355
5356
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5356
5357
|
}
|
|
5357
5358
|
|
|
5358
|
-
// bazel-out/
|
|
5359
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5359
5360
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5360
5361
|
var TemplateTypeCheckerImpl = class {
|
|
5361
5362
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6049,10 +6050,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6049
6050
|
}
|
|
6050
6051
|
};
|
|
6051
6052
|
|
|
6052
|
-
// bazel-out/
|
|
6053
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6053
6054
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6054
6055
|
|
|
6055
|
-
// bazel-out/
|
|
6056
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6056
6057
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6057
6058
|
var TemplateCheckWithVisitor = class {
|
|
6058
6059
|
run(ctx, component, template) {
|
|
@@ -6129,7 +6130,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6129
6130
|
}
|
|
6130
6131
|
};
|
|
6131
6132
|
|
|
6132
|
-
// bazel-out/
|
|
6133
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6133
6134
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6134
6135
|
constructor() {
|
|
6135
6136
|
super(...arguments);
|
|
@@ -6154,7 +6155,7 @@ var factory = {
|
|
|
6154
6155
|
create: () => new InvalidBananaInBoxCheck()
|
|
6155
6156
|
};
|
|
6156
6157
|
|
|
6157
|
-
// bazel-out/
|
|
6158
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6158
6159
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6159
6160
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6160
6161
|
["ngIf", "NgIf"],
|
|
@@ -6199,7 +6200,7 @@ var factory2 = {
|
|
|
6199
6200
|
}
|
|
6200
6201
|
};
|
|
6201
6202
|
|
|
6202
|
-
// bazel-out/
|
|
6203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6203
6204
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6204
6205
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6205
6206
|
constructor() {
|
|
@@ -6232,7 +6233,7 @@ var factory3 = {
|
|
|
6232
6233
|
create: () => new MissingNgForOfLetCheck()
|
|
6233
6234
|
};
|
|
6234
6235
|
|
|
6235
|
-
// bazel-out/
|
|
6236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6236
6237
|
import { Binary } from "@angular/compiler";
|
|
6237
6238
|
import ts27 from "typescript";
|
|
6238
6239
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6277,7 +6278,7 @@ var factory4 = {
|
|
|
6277
6278
|
}
|
|
6278
6279
|
};
|
|
6279
6280
|
|
|
6280
|
-
// bazel-out/
|
|
6281
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6281
6282
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6282
6283
|
import ts28 from "typescript";
|
|
6283
6284
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6323,7 +6324,7 @@ var factory5 = {
|
|
|
6323
6324
|
}
|
|
6324
6325
|
};
|
|
6325
6326
|
|
|
6326
|
-
// bazel-out/
|
|
6327
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6327
6328
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6328
6329
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6329
6330
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6347,7 +6348,7 @@ var factory6 = {
|
|
|
6347
6348
|
create: () => new SuffixNotSupportedCheck()
|
|
6348
6349
|
};
|
|
6349
6350
|
|
|
6350
|
-
// bazel-out/
|
|
6351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6351
6352
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6352
6353
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6353
6354
|
constructor() {
|
|
@@ -6386,10 +6387,10 @@ var factory7 = {
|
|
|
6386
6387
|
create: () => new TextAttributeNotBindingSpec()
|
|
6387
6388
|
};
|
|
6388
6389
|
|
|
6389
|
-
// bazel-out/
|
|
6390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6390
6391
|
import ts29 from "typescript";
|
|
6391
6392
|
|
|
6392
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6393
6394
|
var DiagnosticCategoryLabel;
|
|
6394
6395
|
(function(DiagnosticCategoryLabel2) {
|
|
6395
6396
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6397,7 +6398,7 @@ var DiagnosticCategoryLabel;
|
|
|
6397
6398
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6398
6399
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6399
6400
|
|
|
6400
|
-
// bazel-out/
|
|
6401
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6401
6402
|
var ExtendedTemplateCheckerImpl = class {
|
|
6402
6403
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6403
6404
|
var _a, _b, _c, _d, _e;
|
|
@@ -6450,7 +6451,7 @@ function assertNever(value) {
|
|
|
6450
6451
|
${value}`);
|
|
6451
6452
|
}
|
|
6452
6453
|
|
|
6453
|
-
// bazel-out/
|
|
6454
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6454
6455
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6455
6456
|
factory,
|
|
6456
6457
|
factory4,
|
|
@@ -6461,7 +6462,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6461
6462
|
factory6
|
|
6462
6463
|
];
|
|
6463
6464
|
|
|
6464
|
-
// bazel-out/
|
|
6465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6465
6466
|
var CompilationTicketKind;
|
|
6466
6467
|
(function(CompilationTicketKind2) {
|
|
6467
6468
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6576,9 +6577,6 @@ var NgCompiler = class {
|
|
|
6576
6577
|
get perfRecorder() {
|
|
6577
6578
|
return this.livePerfRecorder;
|
|
6578
6579
|
}
|
|
6579
|
-
get incrementalDriver() {
|
|
6580
|
-
return this.incrementalCompilation;
|
|
6581
|
-
}
|
|
6582
6580
|
updateWithChangedResources(changedResources, perfRecorder) {
|
|
6583
6581
|
this.livePerfRecorder = perfRecorder;
|
|
6584
6582
|
this.delegatingPerfRecorder.target = perfRecorder;
|
|
@@ -6972,6 +6970,7 @@ var NgCompiler = class {
|
|
|
6972
6970
|
const metaRegistry = new CompoundMetadataRegistry([localMetaRegistry, ngModuleScopeRegistry]);
|
|
6973
6971
|
const injectableRegistry = new InjectableClassRegistry(reflector, isCore);
|
|
6974
6972
|
const hostDirectivesResolver = new HostDirectivesResolver(metaReader);
|
|
6973
|
+
const exportedProviderStatusResolver = new ExportedProviderStatusResolver(metaReader);
|
|
6975
6974
|
const typeCheckScopeRegistry = new TypeCheckScopeRegistry(scopeReader, metaReader, hostDirectivesResolver);
|
|
6976
6975
|
let referencesRegistry;
|
|
6977
6976
|
let exportReferenceGraph = null;
|
|
@@ -6983,7 +6982,20 @@ var NgCompiler = class {
|
|
|
6983
6982
|
}
|
|
6984
6983
|
const dtsTransforms = new DtsTransformRegistry();
|
|
6985
6984
|
const resourceRegistry = new ResourceRegistry();
|
|
6986
|
-
|
|
6985
|
+
let compilationMode = CompilationMode.FULL;
|
|
6986
|
+
if (!isCore) {
|
|
6987
|
+
switch (this.options.compilationMode) {
|
|
6988
|
+
case "full":
|
|
6989
|
+
compilationMode = CompilationMode.FULL;
|
|
6990
|
+
break;
|
|
6991
|
+
case "partial":
|
|
6992
|
+
compilationMode = CompilationMode.PARTIAL;
|
|
6993
|
+
break;
|
|
6994
|
+
case "experimental-local":
|
|
6995
|
+
compilationMode = CompilationMode.LOCAL;
|
|
6996
|
+
break;
|
|
6997
|
+
}
|
|
6998
|
+
}
|
|
6987
6999
|
const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
|
|
6988
7000
|
const strictCtorDeps = this.options.strictInjectionParameters || false;
|
|
6989
7001
|
const handlers = [
|
|
@@ -6991,7 +7003,7 @@ var NgCompiler = class {
|
|
|
6991
7003
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder),
|
|
6992
7004
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
6993
7005
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
|
|
6994
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, isCore, refEmitter, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
|
|
7006
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
|
|
6995
7007
|
];
|
|
6996
7008
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
|
|
6997
7009
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -7178,7 +7190,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7178
7190
|
return versions;
|
|
7179
7191
|
}
|
|
7180
7192
|
|
|
7181
|
-
// bazel-out/
|
|
7193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7182
7194
|
import ts31 from "typescript";
|
|
7183
7195
|
var DelegatingCompilerHost2 = class {
|
|
7184
7196
|
constructor(delegate) {
|
|
@@ -7311,7 +7323,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7311
7323
|
}
|
|
7312
7324
|
};
|
|
7313
7325
|
|
|
7314
|
-
// bazel-out/
|
|
7326
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7315
7327
|
var NgtscProgram = class {
|
|
7316
7328
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7317
7329
|
this.options = options;
|
|
@@ -7529,15 +7541,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7529
7541
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7530
7542
|
}
|
|
7531
7543
|
|
|
7532
|
-
// bazel-out/
|
|
7544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7533
7545
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7534
7546
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7535
7547
|
}
|
|
7536
7548
|
|
|
7537
|
-
// bazel-out/
|
|
7549
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7538
7550
|
import ts34 from "typescript";
|
|
7539
7551
|
|
|
7540
|
-
// bazel-out/
|
|
7552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7541
7553
|
import ts33 from "typescript";
|
|
7542
7554
|
function createMessageDiagnostic(messageText) {
|
|
7543
7555
|
return {
|
|
@@ -7551,7 +7563,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7551
7563
|
};
|
|
7552
7564
|
}
|
|
7553
7565
|
|
|
7554
|
-
// bazel-out/
|
|
7566
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7555
7567
|
var defaultFormatHost = {
|
|
7556
7568
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7557
7569
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7765,4 +7777,4 @@ export {
|
|
|
7765
7777
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7766
7778
|
* found in the LICENSE file at https://angular.io/license
|
|
7767
7779
|
*/
|
|
7768
|
-
//# sourceMappingURL=chunk-
|
|
7780
|
+
//# sourceMappingURL=chunk-N7X4GSO5.js.map
|