@angular/compiler-cli 16.0.0-rc.3 → 16.0.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-N7X4GSO5.js → chunk-53CCHRBH.js} +104 -97
- package/bundles/{chunk-N7X4GSO5.js.map → chunk-53CCHRBH.js.map} +1 -1
- package/bundles/{chunk-2G3UVWBI.js → chunk-ABPMSM4T.js} +8 -8
- package/bundles/{chunk-QJ5WULBE.js → chunk-AHPF5263.js} +76 -76
- package/bundles/{chunk-BC53B7EF.js → chunk-BZAIS6C3.js} +5 -5
- package/bundles/{chunk-OKYKHPES.js → chunk-DZ2JDFLR.js} +33 -33
- package/bundles/{chunk-K2U2VZ7S.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-URH5LEAG.js → chunk-HJOPJLIM.js} +5 -5
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-SQZL4JZ2.js → chunk-SL3W33EA.js} +5 -5
- package/bundles/{chunk-TCPBYER2.js → chunk-UNR3CTVT.js} +6 -6
- package/bundles/{chunk-7RPZKH3B.js → chunk-WL4F4VQG.js} +21 -21
- package/bundles/index.js +16 -16
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +52 -0
- package/bundles/ngcc/index.js.map +6 -0
- 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/ngcc/index.d.ts +11 -0
- package/package.json +3 -2
- /package/bundles/{chunk-2G3UVWBI.js.map → chunk-ABPMSM4T.js.map} +0 -0
- /package/bundles/{chunk-QJ5WULBE.js.map → chunk-AHPF5263.js.map} +0 -0
- /package/bundles/{chunk-BC53B7EF.js.map → chunk-BZAIS6C3.js.map} +0 -0
- /package/bundles/{chunk-OKYKHPES.js.map → chunk-DZ2JDFLR.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-HJOPJLIM.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-SQZL4JZ2.js.map → chunk-SL3W33EA.js.map} +0 -0
- /package/bundles/{chunk-TCPBYER2.js.map → chunk-UNR3CTVT.js.map} +0 -0
- /package/bundles/{chunk-7RPZKH3B.js.map → chunk-WL4F4VQG.js.map} +0 -0
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AHPF5263.js";
|
|
40
40
|
import {
|
|
41
41
|
TypeScriptReflectionHost,
|
|
42
42
|
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-UNR3CTVT.js";
|
|
44
44
|
import {
|
|
45
45
|
ImportManager,
|
|
46
46
|
translateExpression,
|
|
47
47
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ABPMSM4T.js";
|
|
49
49
|
import {
|
|
50
50
|
AbsoluteModuleStrategy,
|
|
51
51
|
AliasStrategy,
|
|
@@ -84,14 +84,14 @@ import {
|
|
|
84
84
|
relativePathBetween,
|
|
85
85
|
replaceTsWithNgInErrors,
|
|
86
86
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-WL4F4VQG.js";
|
|
88
88
|
import {
|
|
89
89
|
ActivePerfRecorder,
|
|
90
90
|
DelegatingPerfRecorder,
|
|
91
91
|
PerfCheckpoint,
|
|
92
92
|
PerfEvent,
|
|
93
93
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-HJOPJLIM.js";
|
|
95
95
|
import {
|
|
96
96
|
LogicalFileSystem,
|
|
97
97
|
absoluteFrom,
|
|
@@ -101,9 +101,9 @@ import {
|
|
|
101
101
|
getSourceFileOrError,
|
|
102
102
|
join,
|
|
103
103
|
resolve
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-EC5K6QPP.js";
|
|
105
105
|
|
|
106
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
109
|
var SOURCE = "angular";
|
|
@@ -121,7 +121,7 @@ var EmitFlags;
|
|
|
121
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
125
|
import ts from "typescript";
|
|
126
126
|
var wrapHostForTest = null;
|
|
127
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +131,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
131
|
return tsHost;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
135
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
136
|
import ts32 from "typescript";
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
139
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
140
|
import * as path from "path";
|
|
141
141
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +186,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
190
|
import ts2 from "typescript";
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
193
|
function toNumbers(value) {
|
|
194
194
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
195
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,7 +224,7 @@ function compareVersions(v1, v2) {
|
|
|
224
224
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
228
228
|
var MIN_TS_VERSION = "4.9.3";
|
|
229
229
|
var MAX_TS_VERSION = "5.1.0";
|
|
230
230
|
var tsVersion = ts2.version;
|
|
@@ -237,10 +237,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
237
237
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
// bazel-out/
|
|
240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
241
|
import ts30 from "typescript";
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
244
|
var CycleAnalyzer = class {
|
|
245
245
|
constructor(importGraph) {
|
|
246
246
|
this.importGraph = importGraph;
|
|
@@ -311,7 +311,7 @@ var Cycle = class {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
315
|
import ts3 from "typescript";
|
|
316
316
|
var ImportGraph = class {
|
|
317
317
|
constructor(checker, perf) {
|
|
@@ -403,7 +403,7 @@ var Found = class {
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
407
|
import ts4 from "typescript";
|
|
408
408
|
var FlatIndexGenerator = class {
|
|
409
409
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
-
// bazel-out/
|
|
431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
434
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
444
|
return resolvedEntryPoint;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
448
|
import ts5 from "typescript";
|
|
449
449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
450
|
const diagnostics = [];
|
|
@@ -524,7 +524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
528
|
var ReferenceGraph = class {
|
|
529
529
|
constructor() {
|
|
530
530
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +578,7 @@ var ReferenceGraph = class {
|
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
582
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
583
|
var UpdateMode;
|
|
584
584
|
(function(UpdateMode2) {
|
|
@@ -586,13 +586,13 @@ var UpdateMode;
|
|
|
586
586
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
587
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
590
|
import ts7 from "typescript";
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
593
|
import ts6 from "typescript";
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
596
|
var NgExtension = Symbol("NgExtension");
|
|
597
597
|
function isExtended(sf) {
|
|
598
598
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +652,13 @@ function retagTsFile(sf) {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// bazel-out/
|
|
655
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
656
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
657
|
function makeShimFileName(fileName, suffix) {
|
|
658
658
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
662
|
var ShimAdapter = class {
|
|
663
663
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
664
|
this.delegate = delegate;
|
|
@@ -753,7 +753,7 @@ var ShimAdapter = class {
|
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
757
|
var ShimReferenceTagger = class {
|
|
758
758
|
constructor(shimExtensions) {
|
|
759
759
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +787,7 @@ var ShimReferenceTagger = class {
|
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
-
// bazel-out/
|
|
790
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
791
|
var DelegatingCompilerHost = class {
|
|
792
792
|
constructor(delegate) {
|
|
793
793
|
this.delegate = delegate;
|
|
@@ -900,7 +900,7 @@ var TsCreateProgramDriver = class {
|
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
904
904
|
var FileDependencyGraph = class {
|
|
905
905
|
constructor() {
|
|
906
906
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -967,7 +967,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
967
967
|
return false;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
// bazel-out/
|
|
970
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
971
971
|
var IncrementalStateKind;
|
|
972
972
|
(function(IncrementalStateKind2) {
|
|
973
973
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -975,7 +975,7 @@ var IncrementalStateKind;
|
|
|
975
975
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
976
976
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
977
977
|
|
|
978
|
-
// bazel-out/
|
|
978
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
979
979
|
var PhaseKind;
|
|
980
980
|
(function(PhaseKind2) {
|
|
981
981
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1176,7 +1176,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
// bazel-out/
|
|
1179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1180
1180
|
var TrackedIncrementalBuildStrategy = class {
|
|
1181
1181
|
constructor() {
|
|
1182
1182
|
this.state = null;
|
|
@@ -1212,7 +1212,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1214
1214
|
|
|
1215
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1216
1216
|
var IdentifierKind;
|
|
1217
1217
|
(function(IdentifierKind2) {
|
|
1218
1218
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1230,7 +1230,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1234
1234
|
var IndexingContext = class {
|
|
1235
1235
|
constructor() {
|
|
1236
1236
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1240,10 +1240,10 @@ var IndexingContext = class {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1244
1244
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1247
1247
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1248
1248
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1249
1249
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1480,7 +1480,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1480
1480
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1484
1484
|
function generateAnalysis(context) {
|
|
1485
1485
|
const analysis = /* @__PURE__ */ new Map();
|
|
1486
1486
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1516,7 +1516,7 @@ function generateAnalysis(context) {
|
|
|
1516
1516
|
return analysis;
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1520
1520
|
var NgModuleIndexImpl = class {
|
|
1521
1521
|
constructor(metaReader, localReader) {
|
|
1522
1522
|
this.metaReader = metaReader;
|
|
@@ -1605,7 +1605,7 @@ var NgModuleIndexImpl = class {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
// bazel-out/
|
|
1608
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1609
1609
|
import ts8 from "typescript";
|
|
1610
1610
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1611
1611
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1751,7 +1751,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1755
1755
|
var StandaloneComponentScopeReader = class {
|
|
1756
1756
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1757
1757
|
this.metaReader = metaReader;
|
|
@@ -1829,10 +1829,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1833
1833
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1834
1834
|
|
|
1835
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1836
1836
|
import ts9 from "typescript";
|
|
1837
1837
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1838
1838
|
var _a;
|
|
@@ -1939,7 +1939,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1939
1939
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
// bazel-out/
|
|
1942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1943
1943
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1944
1944
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1945
1945
|
function getTemplateId(clazz) {
|
|
@@ -1956,11 +1956,11 @@ function allocateTemplateId(sf) {
|
|
|
1956
1956
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
|
-
// bazel-out/
|
|
1959
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1960
1960
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1961
1961
|
import ts11 from "typescript";
|
|
1962
1962
|
|
|
1963
|
-
// bazel-out/
|
|
1963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1964
1964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1965
1965
|
import ts10 from "typescript";
|
|
1966
1966
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2090,7 +2090,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2090
2090
|
}) || false;
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2094
2094
|
var CompletionEngine = class {
|
|
2095
2095
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2096
2096
|
this.tcb = tcb;
|
|
@@ -2247,10 +2247,10 @@ var CompletionEngine = class {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
2249
|
|
|
2250
|
-
// bazel-out/
|
|
2250
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2251
2251
|
import ts25 from "typescript";
|
|
2252
2252
|
|
|
2253
|
-
// bazel-out/
|
|
2253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2254
2254
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2255
2255
|
import ts12 from "typescript";
|
|
2256
2256
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2303,11 +2303,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2307
2307
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2308
2308
|
import ts18 from "typescript";
|
|
2309
2309
|
|
|
2310
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2311
2311
|
import ts13 from "typescript";
|
|
2312
2312
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2313
2313
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2381,16 +2381,16 @@ function isAccessExpression(node) {
|
|
|
2381
2381
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2385
2385
|
import ts17 from "typescript";
|
|
2386
2386
|
|
|
2387
|
-
// bazel-out/
|
|
2387
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2388
2388
|
import ts16 from "typescript";
|
|
2389
2389
|
|
|
2390
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2391
2391
|
import ts15 from "typescript";
|
|
2392
2392
|
|
|
2393
|
-
// bazel-out/
|
|
2393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2394
2394
|
import ts14 from "typescript";
|
|
2395
2395
|
var INELIGIBLE = {};
|
|
2396
2396
|
function canEmitType(type, canEmit) {
|
|
@@ -2465,7 +2465,7 @@ var TypeEmitter = class {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
};
|
|
2467
2467
|
|
|
2468
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2469
2469
|
var TypeParameterEmitter = class {
|
|
2470
2470
|
constructor(typeParameters, reflector) {
|
|
2471
2471
|
this.typeParameters = typeParameters;
|
|
@@ -2542,7 +2542,7 @@ var TypeParameterEmitter = class {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
};
|
|
2544
2544
|
|
|
2545
|
-
// bazel-out/
|
|
2545
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2546
2546
|
var TcbInliningRequirement;
|
|
2547
2547
|
(function(TcbInliningRequirement2) {
|
|
2548
2548
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2622,7 +2622,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2622
2622
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2623
2623
|
}
|
|
2624
2624
|
|
|
2625
|
-
// bazel-out/
|
|
2625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2626
2626
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2627
2627
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2628
2628
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2734,7 +2734,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2734
2734
|
});
|
|
2735
2735
|
}
|
|
2736
2736
|
|
|
2737
|
-
// bazel-out/
|
|
2737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2738
2738
|
var Environment = class {
|
|
2739
2739
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2740
2740
|
this.config = config;
|
|
@@ -2826,7 +2826,7 @@ var Environment = class {
|
|
|
2826
2826
|
}
|
|
2827
2827
|
};
|
|
2828
2828
|
|
|
2829
|
-
// bazel-out/
|
|
2829
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2830
2830
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2831
2831
|
import ts19 from "typescript";
|
|
2832
2832
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2963,7 +2963,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2963
2963
|
};
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
|
-
// bazel-out/
|
|
2966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2967
2967
|
import ts20 from "typescript";
|
|
2968
2968
|
var TypeCheckShimGenerator = class {
|
|
2969
2969
|
constructor() {
|
|
@@ -2981,11 +2981,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
};
|
|
2983
2983
|
|
|
2984
|
-
// bazel-out/
|
|
2984
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2985
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";
|
|
2986
2986
|
import ts23 from "typescript";
|
|
2987
2987
|
|
|
2988
|
-
// bazel-out/
|
|
2988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2989
2989
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2990
2990
|
import ts21 from "typescript";
|
|
2991
2991
|
function wrapForDiagnostics(expr) {
|
|
@@ -3031,7 +3031,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3031
3031
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3032
3032
|
}
|
|
3033
3033
|
|
|
3034
|
-
// bazel-out/
|
|
3034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3035
3035
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3036
3036
|
import ts22 from "typescript";
|
|
3037
3037
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3364,7 +3364,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3364
3364
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3365
3365
|
})();
|
|
3366
3366
|
|
|
3367
|
-
// bazel-out/
|
|
3367
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3368
3368
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3369
3369
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3370
3370
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3388,7 +3388,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3388
3388
|
}
|
|
3389
3389
|
};
|
|
3390
3390
|
|
|
3391
|
-
// bazel-out/
|
|
3391
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3392
3392
|
var TcbGenericContextBehavior;
|
|
3393
3393
|
(function(TcbGenericContextBehavior2) {
|
|
3394
3394
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4503,7 +4503,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
};
|
|
4505
4505
|
|
|
4506
|
-
// bazel-out/
|
|
4506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4507
4507
|
import ts24 from "typescript";
|
|
4508
4508
|
var TypeCheckFile = class extends Environment {
|
|
4509
4509
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4539,7 +4539,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4539
4539
|
}
|
|
4540
4540
|
};
|
|
4541
4541
|
|
|
4542
|
-
// bazel-out/
|
|
4542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4543
4543
|
var InliningMode;
|
|
4544
4544
|
(function(InliningMode2) {
|
|
4545
4545
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4777,10 +4777,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4777
4777
|
return splits;
|
|
4778
4778
|
}
|
|
4779
4779
|
|
|
4780
|
-
// bazel-out/
|
|
4780
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4781
4781
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4782
4782
|
|
|
4783
|
-
// bazel-out/
|
|
4783
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4784
4784
|
var LF_CHAR = 10;
|
|
4785
4785
|
var CR_CHAR = 13;
|
|
4786
4786
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4821,7 +4821,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4821
4821
|
return low - 1;
|
|
4822
4822
|
}
|
|
4823
4823
|
|
|
4824
|
-
// bazel-out/
|
|
4824
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4825
4825
|
var TemplateSource = class {
|
|
4826
4826
|
constructor(mapping, file) {
|
|
4827
4827
|
this.mapping = mapping;
|
|
@@ -4872,7 +4872,7 @@ var TemplateSourceManager = class {
|
|
|
4872
4872
|
}
|
|
4873
4873
|
};
|
|
4874
4874
|
|
|
4875
|
-
// bazel-out/
|
|
4875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4876
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";
|
|
4877
4877
|
import ts26 from "typescript";
|
|
4878
4878
|
var SymbolBuilder = class {
|
|
@@ -5356,7 +5356,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5356
5356
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5357
5357
|
}
|
|
5358
5358
|
|
|
5359
|
-
// bazel-out/
|
|
5359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5360
5360
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5361
5361
|
var TemplateTypeCheckerImpl = class {
|
|
5362
5362
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6050,10 +6050,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6050
6050
|
}
|
|
6051
6051
|
};
|
|
6052
6052
|
|
|
6053
|
-
// bazel-out/
|
|
6053
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6054
6054
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6055
6055
|
|
|
6056
|
-
// bazel-out/
|
|
6056
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6057
6057
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6058
6058
|
var TemplateCheckWithVisitor = class {
|
|
6059
6059
|
run(ctx, component, template) {
|
|
@@ -6130,7 +6130,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6130
6130
|
}
|
|
6131
6131
|
};
|
|
6132
6132
|
|
|
6133
|
-
// bazel-out/
|
|
6133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6134
6134
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6135
6135
|
constructor() {
|
|
6136
6136
|
super(...arguments);
|
|
@@ -6155,7 +6155,7 @@ var factory = {
|
|
|
6155
6155
|
create: () => new InvalidBananaInBoxCheck()
|
|
6156
6156
|
};
|
|
6157
6157
|
|
|
6158
|
-
// bazel-out/
|
|
6158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6159
6159
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6160
6160
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6161
6161
|
["ngIf", "NgIf"],
|
|
@@ -6200,7 +6200,7 @@ var factory2 = {
|
|
|
6200
6200
|
}
|
|
6201
6201
|
};
|
|
6202
6202
|
|
|
6203
|
-
// bazel-out/
|
|
6203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6204
6204
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6205
6205
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6206
6206
|
constructor() {
|
|
@@ -6233,7 +6233,7 @@ var factory3 = {
|
|
|
6233
6233
|
create: () => new MissingNgForOfLetCheck()
|
|
6234
6234
|
};
|
|
6235
6235
|
|
|
6236
|
-
// bazel-out/
|
|
6236
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6237
6237
|
import { Binary } from "@angular/compiler";
|
|
6238
6238
|
import ts27 from "typescript";
|
|
6239
6239
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6278,7 +6278,7 @@ var factory4 = {
|
|
|
6278
6278
|
}
|
|
6279
6279
|
};
|
|
6280
6280
|
|
|
6281
|
-
// bazel-out/
|
|
6281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6282
6282
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6283
6283
|
import ts28 from "typescript";
|
|
6284
6284
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6324,7 +6324,7 @@ var factory5 = {
|
|
|
6324
6324
|
}
|
|
6325
6325
|
};
|
|
6326
6326
|
|
|
6327
|
-
// bazel-out/
|
|
6327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6328
6328
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6329
6329
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6330
6330
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6348,7 +6348,7 @@ var factory6 = {
|
|
|
6348
6348
|
create: () => new SuffixNotSupportedCheck()
|
|
6349
6349
|
};
|
|
6350
6350
|
|
|
6351
|
-
// bazel-out/
|
|
6351
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6352
6352
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6353
6353
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6354
6354
|
constructor() {
|
|
@@ -6387,10 +6387,10 @@ var factory7 = {
|
|
|
6387
6387
|
create: () => new TextAttributeNotBindingSpec()
|
|
6388
6388
|
};
|
|
6389
6389
|
|
|
6390
|
-
// bazel-out/
|
|
6390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6391
6391
|
import ts29 from "typescript";
|
|
6392
6392
|
|
|
6393
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6394
6394
|
var DiagnosticCategoryLabel;
|
|
6395
6395
|
(function(DiagnosticCategoryLabel2) {
|
|
6396
6396
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6398,7 +6398,7 @@ var DiagnosticCategoryLabel;
|
|
|
6398
6398
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6399
6399
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6400
6400
|
|
|
6401
|
-
// bazel-out/
|
|
6401
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6402
6402
|
var ExtendedTemplateCheckerImpl = class {
|
|
6403
6403
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6404
6404
|
var _a, _b, _c, _d, _e;
|
|
@@ -6451,7 +6451,7 @@ function assertNever(value) {
|
|
|
6451
6451
|
${value}`);
|
|
6452
6452
|
}
|
|
6453
6453
|
|
|
6454
|
-
// bazel-out/
|
|
6454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6455
6455
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6456
6456
|
factory,
|
|
6457
6457
|
factory4,
|
|
@@ -6462,7 +6462,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6462
6462
|
factory6
|
|
6463
6463
|
];
|
|
6464
6464
|
|
|
6465
|
-
// bazel-out/
|
|
6465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6466
6466
|
var CompilationTicketKind;
|
|
6467
6467
|
(function(CompilationTicketKind2) {
|
|
6468
6468
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6627,10 +6627,17 @@ var NgCompiler = class {
|
|
|
6627
6627
|
const compilation = this.ensureAnalyzed();
|
|
6628
6628
|
const ttc = compilation.templateTypeChecker;
|
|
6629
6629
|
const diagnostics = [];
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6630
|
+
try {
|
|
6631
|
+
diagnostics.push(...ttc.getDiagnosticsForComponent(component));
|
|
6632
|
+
const extendedTemplateChecker = compilation.extendedTemplateChecker;
|
|
6633
|
+
if (this.options.strictTemplates && extendedTemplateChecker) {
|
|
6634
|
+
diagnostics.push(...extendedTemplateChecker.getDiagnosticsForComponent(component));
|
|
6635
|
+
}
|
|
6636
|
+
} catch (err) {
|
|
6637
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
6638
|
+
throw err;
|
|
6639
|
+
}
|
|
6640
|
+
diagnostics.push(err.toDiagnostic());
|
|
6634
6641
|
}
|
|
6635
6642
|
return this.addMessageTextDetails(diagnostics);
|
|
6636
6643
|
}
|
|
@@ -7190,7 +7197,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7190
7197
|
return versions;
|
|
7191
7198
|
}
|
|
7192
7199
|
|
|
7193
|
-
// bazel-out/
|
|
7200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7194
7201
|
import ts31 from "typescript";
|
|
7195
7202
|
var DelegatingCompilerHost2 = class {
|
|
7196
7203
|
constructor(delegate) {
|
|
@@ -7323,7 +7330,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7323
7330
|
}
|
|
7324
7331
|
};
|
|
7325
7332
|
|
|
7326
|
-
// bazel-out/
|
|
7333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7327
7334
|
var NgtscProgram = class {
|
|
7328
7335
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7329
7336
|
this.options = options;
|
|
@@ -7541,15 +7548,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7541
7548
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7542
7549
|
}
|
|
7543
7550
|
|
|
7544
|
-
// bazel-out/
|
|
7551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7545
7552
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7546
7553
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7547
7554
|
}
|
|
7548
7555
|
|
|
7549
|
-
// bazel-out/
|
|
7556
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7550
7557
|
import ts34 from "typescript";
|
|
7551
7558
|
|
|
7552
|
-
// bazel-out/
|
|
7559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7553
7560
|
import ts33 from "typescript";
|
|
7554
7561
|
function createMessageDiagnostic(messageText) {
|
|
7555
7562
|
return {
|
|
@@ -7563,7 +7570,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7563
7570
|
};
|
|
7564
7571
|
}
|
|
7565
7572
|
|
|
7566
|
-
// bazel-out/
|
|
7573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7567
7574
|
var defaultFormatHost = {
|
|
7568
7575
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7569
7576
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7777,4 +7784,4 @@ export {
|
|
|
7777
7784
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7778
7785
|
* found in the LICENSE file at https://angular.io/license
|
|
7779
7786
|
*/
|
|
7780
|
-
//# sourceMappingURL=chunk-
|
|
7787
|
+
//# sourceMappingURL=chunk-53CCHRBH.js.map
|