@angular/compiler-cli 15.2.8 → 15.2.9
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-7GNUPQOI.js → chunk-2PLRZDNU.js} +31 -31
- package/bundles/{chunk-KV5PW2QN.js → chunk-2UDHTJ2I.js} +77 -77
- package/bundles/{chunk-EKN42M4J.js → chunk-37YYFKDO.js} +40 -40
- package/bundles/{chunk-XSR7VSYM.js → chunk-43M7ZA5W.js} +5 -5
- package/bundles/{chunk-2NLFVEGY.js → chunk-6ZJFIQBG.js} +7 -7
- package/bundles/{chunk-B57SP4JB.js → chunk-7DUI3BSX.js} +2 -2
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-IKBMBUUZ.js → chunk-LRE5KIJ7.js} +71 -71
- package/bundles/{chunk-HKF2SJOH.js → chunk-M65TNV27.js} +106 -99
- package/bundles/{chunk-HKF2SJOH.js.map → chunk-M65TNV27.js.map} +1 -1
- package/bundles/{chunk-YZWN2KWE.js → chunk-NJMZRTB6.js} +5 -5
- package/bundles/{chunk-ZF3IVDQ2.js → chunk-O4JLZZWJ.js} +6 -6
- package/bundles/{chunk-ZV3QKZR5.js → chunk-PT6IDEJZ.js} +5 -5
- package/bundles/{chunk-IJECERTO.js → chunk-QRHWLC7U.js} +10 -10
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-K7P4IHT5.js → chunk-YRDMG3GM.js} +4 -4
- package/bundles/{chunk-IYYB2HTK.js → chunk-ZCBRXUPO.js} +21 -21
- package/bundles/index.js +13 -13
- 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 +14 -14
- 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 +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/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-7GNUPQOI.js.map → chunk-2PLRZDNU.js.map} +0 -0
- /package/bundles/{chunk-KV5PW2QN.js.map → chunk-2UDHTJ2I.js.map} +0 -0
- /package/bundles/{chunk-EKN42M4J.js.map → chunk-37YYFKDO.js.map} +0 -0
- /package/bundles/{chunk-XSR7VSYM.js.map → chunk-43M7ZA5W.js.map} +0 -0
- /package/bundles/{chunk-2NLFVEGY.js.map → chunk-6ZJFIQBG.js.map} +0 -0
- /package/bundles/{chunk-B57SP4JB.js.map → chunk-7DUI3BSX.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-IKBMBUUZ.js.map → chunk-LRE5KIJ7.js.map} +0 -0
- /package/bundles/{chunk-YZWN2KWE.js.map → chunk-NJMZRTB6.js.map} +0 -0
- /package/bundles/{chunk-ZF3IVDQ2.js.map → chunk-O4JLZZWJ.js.map} +0 -0
- /package/bundles/{chunk-ZV3QKZR5.js.map → chunk-PT6IDEJZ.js.map} +0 -0
- /package/bundles/{chunk-IJECERTO.js.map → chunk-QRHWLC7U.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-K7P4IHT5.js.map → chunk-YRDMG3GM.js.map} +0 -0
- /package/bundles/{chunk-IYYB2HTK.js.map → chunk-ZCBRXUPO.js.map} +0 -0
|
@@ -35,18 +35,18 @@ import {
|
|
|
35
35
|
aliasTransformFactory,
|
|
36
36
|
declarationTransformFactory,
|
|
37
37
|
ivyTransformFactory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2UDHTJ2I.js";
|
|
39
39
|
import {
|
|
40
40
|
TypeScriptReflectionHost,
|
|
41
41
|
isNamedClassDeclaration
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-O4JLZZWJ.js";
|
|
43
43
|
import {
|
|
44
44
|
ImportManager,
|
|
45
45
|
createFunctionDeclaration,
|
|
46
46
|
createParameterDeclaration,
|
|
47
47
|
translateExpression,
|
|
48
48
|
translateType
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QRHWLC7U.js";
|
|
50
50
|
import {
|
|
51
51
|
AbsoluteModuleStrategy,
|
|
52
52
|
AliasStrategy,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
relativePathBetween,
|
|
86
86
|
replaceTsWithNgInErrors,
|
|
87
87
|
toUnredirectedSourceFile
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ZCBRXUPO.js";
|
|
89
89
|
import {
|
|
90
90
|
LogicalFileSystem,
|
|
91
91
|
absoluteFrom,
|
|
@@ -96,16 +96,16 @@ import {
|
|
|
96
96
|
getSourceFileOrError,
|
|
97
97
|
join,
|
|
98
98
|
resolve
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-EC5K6QPP.js";
|
|
100
100
|
import {
|
|
101
101
|
ActivePerfRecorder,
|
|
102
102
|
DelegatingPerfRecorder,
|
|
103
103
|
PerfCheckpoint,
|
|
104
104
|
PerfEvent,
|
|
105
105
|
PerfPhase
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-NJMZRTB6.js";
|
|
107
107
|
|
|
108
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
109
109
|
var DEFAULT_ERROR_CODE = 100;
|
|
110
110
|
var UNKNOWN_ERROR_CODE = 500;
|
|
111
111
|
var SOURCE = "angular";
|
|
@@ -123,7 +123,7 @@ var EmitFlags;
|
|
|
123
123
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
124
124
|
})(EmitFlags || (EmitFlags = {}));
|
|
125
125
|
|
|
126
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
127
127
|
import ts from "typescript";
|
|
128
128
|
var wrapHostForTest = null;
|
|
129
129
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -133,11 +133,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
133
133
|
return tsHost;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
137
137
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
138
138
|
import ts34 from "typescript";
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
141
141
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
142
142
|
import * as path from "path";
|
|
143
143
|
function i18nGetExtension(formatName) {
|
|
@@ -188,10 +188,10 @@ function getPathNormalizer(basePath) {
|
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
192
192
|
import ts2 from "typescript";
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
195
195
|
function toNumbers(value) {
|
|
196
196
|
const suffixIndex = value.lastIndexOf("-");
|
|
197
197
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -226,7 +226,7 @@ function compareVersions(v1, v2) {
|
|
|
226
226
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
230
230
|
var MIN_TS_VERSION = "4.8.2";
|
|
231
231
|
var MAX_TS_VERSION = "5.0.0";
|
|
232
232
|
var tsVersion = ts2.version;
|
|
@@ -239,10 +239,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
239
239
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
243
243
|
import ts32 from "typescript";
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
246
246
|
var CycleAnalyzer = class {
|
|
247
247
|
constructor(importGraph) {
|
|
248
248
|
this.importGraph = importGraph;
|
|
@@ -313,7 +313,7 @@ var Cycle = class {
|
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
317
317
|
import ts3 from "typescript";
|
|
318
318
|
var ImportGraph = class {
|
|
319
319
|
constructor(checker, perf) {
|
|
@@ -405,7 +405,7 @@ var Found = class {
|
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
-
// bazel-out/
|
|
408
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
409
409
|
import ts4 from "typescript";
|
|
410
410
|
var FlatIndexGenerator = class {
|
|
411
411
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -430,7 +430,7 @@ export * from '${relativeEntryPoint}';
|
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
|
|
433
|
-
// bazel-out/
|
|
433
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
434
434
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
435
435
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
436
436
|
let resolvedEntryPoint = null;
|
|
@@ -446,7 +446,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
446
446
|
return resolvedEntryPoint;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
// bazel-out/
|
|
449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
450
450
|
import ts5 from "typescript";
|
|
451
451
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
452
452
|
const diagnostics = [];
|
|
@@ -526,7 +526,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
// bazel-out/
|
|
529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
530
530
|
var ReferenceGraph = class {
|
|
531
531
|
constructor() {
|
|
532
532
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -580,7 +580,7 @@ var ReferenceGraph = class {
|
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
582
|
|
|
583
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
584
584
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
585
585
|
var UpdateMode;
|
|
586
586
|
(function(UpdateMode2) {
|
|
@@ -588,13 +588,13 @@ var UpdateMode;
|
|
|
588
588
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
589
589
|
})(UpdateMode || (UpdateMode = {}));
|
|
590
590
|
|
|
591
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
592
592
|
import ts9 from "typescript";
|
|
593
593
|
|
|
594
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
595
595
|
import ts6 from "typescript";
|
|
596
596
|
|
|
597
|
-
// bazel-out/
|
|
597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
598
598
|
var NgExtension = Symbol("NgExtension");
|
|
599
599
|
function isExtended(sf) {
|
|
600
600
|
return sf[NgExtension] !== void 0;
|
|
@@ -654,7 +654,7 @@ function retagTsFile(sf) {
|
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
// bazel-out/
|
|
657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
658
658
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
659
659
|
function makeShimFileName(fileName, suffix) {
|
|
660
660
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -669,7 +669,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
669
669
|
return moduleName;
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
// bazel-out/
|
|
672
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
673
673
|
var ShimAdapter = class {
|
|
674
674
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
675
675
|
this.delegate = delegate;
|
|
@@ -764,7 +764,7 @@ var ShimAdapter = class {
|
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
|
|
767
|
-
// bazel-out/
|
|
767
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
768
768
|
import ts7 from "typescript";
|
|
769
769
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
770
770
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -924,7 +924,7 @@ function updateInitializers(stmt, update) {
|
|
|
924
924
|
return ts7.factory.updateVariableStatement(stmt, ts7.getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
-
// bazel-out/
|
|
927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
928
928
|
var ShimReferenceTagger = class {
|
|
929
929
|
constructor(shimExtensions) {
|
|
930
930
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -958,7 +958,7 @@ var ShimReferenceTagger = class {
|
|
|
958
958
|
}
|
|
959
959
|
};
|
|
960
960
|
|
|
961
|
-
// bazel-out/
|
|
961
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
962
962
|
import ts8 from "typescript";
|
|
963
963
|
var SummaryGenerator = class {
|
|
964
964
|
constructor() {
|
|
@@ -999,7 +999,7 @@ function isExported2(decl) {
|
|
|
999
999
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
// bazel-out/
|
|
1002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1003
1003
|
var DelegatingCompilerHost = class {
|
|
1004
1004
|
constructor(delegate) {
|
|
1005
1005
|
this.delegate = delegate;
|
|
@@ -1110,7 +1110,7 @@ var TsCreateProgramDriver = class {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
1112
|
|
|
1113
|
-
// bazel-out/
|
|
1113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1114
1114
|
var FileDependencyGraph = class {
|
|
1115
1115
|
constructor() {
|
|
1116
1116
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1177,7 +1177,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1177
1177
|
return false;
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1181
1181
|
var IncrementalStateKind;
|
|
1182
1182
|
(function(IncrementalStateKind2) {
|
|
1183
1183
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1185,7 +1185,7 @@ var IncrementalStateKind;
|
|
|
1185
1185
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1186
1186
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1187
1187
|
|
|
1188
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1189
1189
|
var PhaseKind;
|
|
1190
1190
|
(function(PhaseKind2) {
|
|
1191
1191
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1386,7 +1386,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
// bazel-out/
|
|
1389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1390
1390
|
var TrackedIncrementalBuildStrategy = class {
|
|
1391
1391
|
constructor() {
|
|
1392
1392
|
this.state = null;
|
|
@@ -1422,7 +1422,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1422
1422
|
};
|
|
1423
1423
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1424
1424
|
|
|
1425
|
-
// bazel-out/
|
|
1425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1426
1426
|
var IdentifierKind;
|
|
1427
1427
|
(function(IdentifierKind2) {
|
|
1428
1428
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1440,7 +1440,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
|
|
1443
|
-
// bazel-out/
|
|
1443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1444
1444
|
var IndexingContext = class {
|
|
1445
1445
|
constructor() {
|
|
1446
1446
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1450,10 +1450,10 @@ var IndexingContext = class {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
1452
|
|
|
1453
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1454
1454
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1455
1455
|
|
|
1456
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1457
1457
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1458
1458
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1459
1459
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1690,7 +1690,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1690
1690
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
// bazel-out/
|
|
1693
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1694
1694
|
function generateAnalysis(context) {
|
|
1695
1695
|
const analysis = /* @__PURE__ */ new Map();
|
|
1696
1696
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1726,7 +1726,7 @@ function generateAnalysis(context) {
|
|
|
1726
1726
|
return analysis;
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
1729
|
-
// bazel-out/
|
|
1729
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1730
1730
|
var NgModuleIndexImpl = class {
|
|
1731
1731
|
constructor(metaReader, localReader) {
|
|
1732
1732
|
this.metaReader = metaReader;
|
|
@@ -1815,7 +1815,7 @@ var NgModuleIndexImpl = class {
|
|
|
1815
1815
|
}
|
|
1816
1816
|
};
|
|
1817
1817
|
|
|
1818
|
-
// bazel-out/
|
|
1818
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1819
1819
|
import ts10 from "typescript";
|
|
1820
1820
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1821
1821
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1961,7 +1961,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1961
1961
|
};
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
|
-
// bazel-out/
|
|
1964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1965
1965
|
var StandaloneComponentScopeReader = class {
|
|
1966
1966
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1967
1967
|
this.metaReader = metaReader;
|
|
@@ -2039,10 +2039,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
};
|
|
2041
2041
|
|
|
2042
|
-
// bazel-out/
|
|
2042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2043
2043
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
2044
2044
|
|
|
2045
|
-
// bazel-out/
|
|
2045
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2046
2046
|
import ts11 from "typescript";
|
|
2047
2047
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2048
2048
|
var _a;
|
|
@@ -2149,7 +2149,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2149
2149
|
return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
|
-
// bazel-out/
|
|
2152
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2153
2153
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2154
2154
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2155
2155
|
function getTemplateId(clazz) {
|
|
@@ -2166,11 +2166,11 @@ function allocateTemplateId(sf) {
|
|
|
2166
2166
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2167
2167
|
}
|
|
2168
2168
|
|
|
2169
|
-
// bazel-out/
|
|
2169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2170
2170
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2171
2171
|
import ts13 from "typescript";
|
|
2172
2172
|
|
|
2173
|
-
// bazel-out/
|
|
2173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2174
2174
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2175
2175
|
import ts12 from "typescript";
|
|
2176
2176
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2300,7 +2300,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2300
2300
|
}) || false;
|
|
2301
2301
|
}
|
|
2302
2302
|
|
|
2303
|
-
// bazel-out/
|
|
2303
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2304
2304
|
var CompletionEngine = class {
|
|
2305
2305
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2306
2306
|
this.tcb = tcb;
|
|
@@ -2457,10 +2457,10 @@ var CompletionEngine = class {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
|
|
2460
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2461
2461
|
import ts27 from "typescript";
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2464
2464
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2465
2465
|
import ts14 from "typescript";
|
|
2466
2466
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2513,11 +2513,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
};
|
|
2515
2515
|
|
|
2516
|
-
// bazel-out/
|
|
2516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2517
2517
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2518
2518
|
import ts20 from "typescript";
|
|
2519
2519
|
|
|
2520
|
-
// bazel-out/
|
|
2520
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2521
2521
|
import ts15 from "typescript";
|
|
2522
2522
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2523
2523
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2591,16 +2591,16 @@ function isAccessExpression(node) {
|
|
|
2591
2591
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2592
2592
|
}
|
|
2593
2593
|
|
|
2594
|
-
// bazel-out/
|
|
2594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2595
2595
|
import ts19 from "typescript";
|
|
2596
2596
|
|
|
2597
|
-
// bazel-out/
|
|
2597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2598
2598
|
import ts18 from "typescript";
|
|
2599
2599
|
|
|
2600
|
-
// bazel-out/
|
|
2600
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2601
2601
|
import ts17 from "typescript";
|
|
2602
2602
|
|
|
2603
|
-
// bazel-out/
|
|
2603
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2604
2604
|
import ts16 from "typescript";
|
|
2605
2605
|
var INELIGIBLE = {};
|
|
2606
2606
|
function canEmitType(type, canEmit) {
|
|
@@ -2675,7 +2675,7 @@ var TypeEmitter = class {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
};
|
|
2677
2677
|
|
|
2678
|
-
// bazel-out/
|
|
2678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2679
2679
|
var TypeParameterEmitter = class {
|
|
2680
2680
|
constructor(typeParameters, reflector) {
|
|
2681
2681
|
this.typeParameters = typeParameters;
|
|
@@ -2752,7 +2752,7 @@ var TypeParameterEmitter = class {
|
|
|
2752
2752
|
}
|
|
2753
2753
|
};
|
|
2754
2754
|
|
|
2755
|
-
// bazel-out/
|
|
2755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2756
2756
|
var TcbInliningRequirement;
|
|
2757
2757
|
(function(TcbInliningRequirement2) {
|
|
2758
2758
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2832,7 +2832,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2832
2832
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2833
2833
|
}
|
|
2834
2834
|
|
|
2835
|
-
// bazel-out/
|
|
2835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2836
2836
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2837
2837
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2838
2838
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2944,7 +2944,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2944
2944
|
});
|
|
2945
2945
|
}
|
|
2946
2946
|
|
|
2947
|
-
// bazel-out/
|
|
2947
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2948
2948
|
var Environment = class {
|
|
2949
2949
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2950
2950
|
this.config = config;
|
|
@@ -3036,7 +3036,7 @@ var Environment = class {
|
|
|
3036
3036
|
}
|
|
3037
3037
|
};
|
|
3038
3038
|
|
|
3039
|
-
// bazel-out/
|
|
3039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3040
3040
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
3041
3041
|
import ts21 from "typescript";
|
|
3042
3042
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3169,7 +3169,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
3171
|
|
|
3172
|
-
// bazel-out/
|
|
3172
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3173
3173
|
import ts22 from "typescript";
|
|
3174
3174
|
var TypeCheckShimGenerator = class {
|
|
3175
3175
|
constructor() {
|
|
@@ -3187,11 +3187,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3187
3187
|
}
|
|
3188
3188
|
};
|
|
3189
3189
|
|
|
3190
|
-
// bazel-out/
|
|
3190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3191
3191
|
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";
|
|
3192
3192
|
import ts25 from "typescript";
|
|
3193
3193
|
|
|
3194
|
-
// bazel-out/
|
|
3194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3195
3195
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3196
3196
|
import ts23 from "typescript";
|
|
3197
3197
|
function wrapForDiagnostics(expr) {
|
|
@@ -3237,7 +3237,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3237
3237
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
|
-
// bazel-out/
|
|
3240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3241
3241
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3242
3242
|
import ts24 from "typescript";
|
|
3243
3243
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3567,7 +3567,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3567
3567
|
};
|
|
3568
3568
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3569
3569
|
|
|
3570
|
-
// bazel-out/
|
|
3570
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3571
3571
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3572
3572
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3573
3573
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3591,7 +3591,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
};
|
|
3593
3593
|
|
|
3594
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3595
3595
|
var TcbGenericContextBehavior;
|
|
3596
3596
|
(function(TcbGenericContextBehavior2) {
|
|
3597
3597
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4694,7 +4694,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
};
|
|
4696
4696
|
|
|
4697
|
-
// bazel-out/
|
|
4697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4698
4698
|
import ts26 from "typescript";
|
|
4699
4699
|
var TypeCheckFile = class extends Environment {
|
|
4700
4700
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4730,7 +4730,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
};
|
|
4732
4732
|
|
|
4733
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4734
4734
|
var InliningMode;
|
|
4735
4735
|
(function(InliningMode2) {
|
|
4736
4736
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4968,10 +4968,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4968
4968
|
return splits;
|
|
4969
4969
|
}
|
|
4970
4970
|
|
|
4971
|
-
// bazel-out/
|
|
4971
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4972
4972
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4973
4973
|
|
|
4974
|
-
// bazel-out/
|
|
4974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4975
4975
|
var LF_CHAR = 10;
|
|
4976
4976
|
var CR_CHAR = 13;
|
|
4977
4977
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5012,7 +5012,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5012
5012
|
return low - 1;
|
|
5013
5013
|
}
|
|
5014
5014
|
|
|
5015
|
-
// bazel-out/
|
|
5015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5016
5016
|
var TemplateSource = class {
|
|
5017
5017
|
constructor(mapping, file) {
|
|
5018
5018
|
this.mapping = mapping;
|
|
@@ -5063,7 +5063,7 @@ var TemplateSourceManager = class {
|
|
|
5063
5063
|
}
|
|
5064
5064
|
};
|
|
5065
5065
|
|
|
5066
|
-
// bazel-out/
|
|
5066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5067
5067
|
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";
|
|
5068
5068
|
import ts28 from "typescript";
|
|
5069
5069
|
var SymbolBuilder = class {
|
|
@@ -5547,7 +5547,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5547
5547
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5548
5548
|
}
|
|
5549
5549
|
|
|
5550
|
-
// bazel-out/
|
|
5550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5551
5551
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5552
5552
|
var TemplateTypeCheckerImpl = class {
|
|
5553
5553
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6241,10 +6241,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6241
6241
|
}
|
|
6242
6242
|
};
|
|
6243
6243
|
|
|
6244
|
-
// bazel-out/
|
|
6244
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6245
6245
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6246
6246
|
|
|
6247
|
-
// bazel-out/
|
|
6247
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6248
6248
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6249
6249
|
var TemplateCheckWithVisitor = class {
|
|
6250
6250
|
run(ctx, component, template) {
|
|
@@ -6321,7 +6321,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6321
6321
|
}
|
|
6322
6322
|
};
|
|
6323
6323
|
|
|
6324
|
-
// bazel-out/
|
|
6324
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6325
6325
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6326
6326
|
constructor() {
|
|
6327
6327
|
super(...arguments);
|
|
@@ -6346,7 +6346,7 @@ var factory = {
|
|
|
6346
6346
|
create: () => new InvalidBananaInBoxCheck()
|
|
6347
6347
|
};
|
|
6348
6348
|
|
|
6349
|
-
// bazel-out/
|
|
6349
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6350
6350
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6351
6351
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6352
6352
|
["ngIf", "NgIf"],
|
|
@@ -6391,7 +6391,7 @@ var factory2 = {
|
|
|
6391
6391
|
}
|
|
6392
6392
|
};
|
|
6393
6393
|
|
|
6394
|
-
// bazel-out/
|
|
6394
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6395
6395
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6396
6396
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6397
6397
|
constructor() {
|
|
@@ -6424,7 +6424,7 @@ var factory3 = {
|
|
|
6424
6424
|
create: () => new MissingNgForOfLetCheck()
|
|
6425
6425
|
};
|
|
6426
6426
|
|
|
6427
|
-
// bazel-out/
|
|
6427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6428
6428
|
import { Binary } from "@angular/compiler";
|
|
6429
6429
|
import ts29 from "typescript";
|
|
6430
6430
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6469,7 +6469,7 @@ var factory4 = {
|
|
|
6469
6469
|
}
|
|
6470
6470
|
};
|
|
6471
6471
|
|
|
6472
|
-
// bazel-out/
|
|
6472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6473
6473
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6474
6474
|
import ts30 from "typescript";
|
|
6475
6475
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6515,7 +6515,7 @@ var factory5 = {
|
|
|
6515
6515
|
}
|
|
6516
6516
|
};
|
|
6517
6517
|
|
|
6518
|
-
// bazel-out/
|
|
6518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6519
6519
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6520
6520
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6521
6521
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6539,7 +6539,7 @@ var factory6 = {
|
|
|
6539
6539
|
create: () => new SuffixNotSupportedCheck()
|
|
6540
6540
|
};
|
|
6541
6541
|
|
|
6542
|
-
// bazel-out/
|
|
6542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6543
6543
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6544
6544
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6545
6545
|
constructor() {
|
|
@@ -6578,10 +6578,10 @@ var factory7 = {
|
|
|
6578
6578
|
create: () => new TextAttributeNotBindingSpec()
|
|
6579
6579
|
};
|
|
6580
6580
|
|
|
6581
|
-
// bazel-out/
|
|
6581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6582
6582
|
import ts31 from "typescript";
|
|
6583
6583
|
|
|
6584
|
-
// bazel-out/
|
|
6584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6585
6585
|
var DiagnosticCategoryLabel;
|
|
6586
6586
|
(function(DiagnosticCategoryLabel2) {
|
|
6587
6587
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6589,7 +6589,7 @@ var DiagnosticCategoryLabel;
|
|
|
6589
6589
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6590
6590
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6591
6591
|
|
|
6592
|
-
// bazel-out/
|
|
6592
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6593
6593
|
var ExtendedTemplateCheckerImpl = class {
|
|
6594
6594
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6595
6595
|
var _a, _b, _c, _d, _e;
|
|
@@ -6642,7 +6642,7 @@ function assertNever(value) {
|
|
|
6642
6642
|
${value}`);
|
|
6643
6643
|
}
|
|
6644
6644
|
|
|
6645
|
-
// bazel-out/
|
|
6645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6646
6646
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6647
6647
|
factory,
|
|
6648
6648
|
factory4,
|
|
@@ -6653,7 +6653,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6653
6653
|
factory6
|
|
6654
6654
|
];
|
|
6655
6655
|
|
|
6656
|
-
// bazel-out/
|
|
6656
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6657
6657
|
var CompilationTicketKind;
|
|
6658
6658
|
(function(CompilationTicketKind2) {
|
|
6659
6659
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6821,10 +6821,17 @@ var NgCompiler = class {
|
|
|
6821
6821
|
const compilation = this.ensureAnalyzed();
|
|
6822
6822
|
const ttc = compilation.templateTypeChecker;
|
|
6823
6823
|
const diagnostics = [];
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6824
|
+
try {
|
|
6825
|
+
diagnostics.push(...ttc.getDiagnosticsForComponent(component));
|
|
6826
|
+
const extendedTemplateChecker = compilation.extendedTemplateChecker;
|
|
6827
|
+
if (this.options.strictTemplates && extendedTemplateChecker) {
|
|
6828
|
+
diagnostics.push(...extendedTemplateChecker.getDiagnosticsForComponent(component));
|
|
6829
|
+
}
|
|
6830
|
+
} catch (err) {
|
|
6831
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
6832
|
+
throw err;
|
|
6833
|
+
}
|
|
6834
|
+
diagnostics.push(err.toDiagnostic());
|
|
6828
6835
|
}
|
|
6829
6836
|
return this.addMessageTextDetails(diagnostics);
|
|
6830
6837
|
}
|
|
@@ -7373,7 +7380,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7373
7380
|
return versions;
|
|
7374
7381
|
}
|
|
7375
7382
|
|
|
7376
|
-
// bazel-out/
|
|
7383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7377
7384
|
import ts33 from "typescript";
|
|
7378
7385
|
var DelegatingCompilerHost2 = class {
|
|
7379
7386
|
constructor(delegate) {
|
|
@@ -7518,7 +7525,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7518
7525
|
}
|
|
7519
7526
|
};
|
|
7520
7527
|
|
|
7521
|
-
// bazel-out/
|
|
7528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7522
7529
|
var NgtscProgram = class {
|
|
7523
7530
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7524
7531
|
this.options = options;
|
|
@@ -7736,15 +7743,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7736
7743
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7737
7744
|
}
|
|
7738
7745
|
|
|
7739
|
-
// bazel-out/
|
|
7746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7740
7747
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7741
7748
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7742
7749
|
}
|
|
7743
7750
|
|
|
7744
|
-
// bazel-out/
|
|
7751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7745
7752
|
import ts36 from "typescript";
|
|
7746
7753
|
|
|
7747
|
-
// bazel-out/
|
|
7754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7748
7755
|
import ts35 from "typescript";
|
|
7749
7756
|
function createMessageDiagnostic(messageText) {
|
|
7750
7757
|
return {
|
|
@@ -7758,7 +7765,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7758
7765
|
};
|
|
7759
7766
|
}
|
|
7760
7767
|
|
|
7761
|
-
// bazel-out/
|
|
7768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7762
7769
|
var defaultFormatHost = {
|
|
7763
7770
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7764
7771
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7970,4 +7977,4 @@ export {
|
|
|
7970
7977
|
* found in the LICENSE file at https://angular.io/license
|
|
7971
7978
|
*/
|
|
7972
7979
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7973
|
-
//# sourceMappingURL=chunk-
|
|
7980
|
+
//# sourceMappingURL=chunk-M65TNV27.js.map
|