@angular/compiler-cli 14.2.0-next.0 → 14.2.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-4JF5LVDW.js → chunk-3GWIAJ6N.js} +28 -14
- package/bundles/chunk-3GWIAJ6N.js.map +6 -0
- package/bundles/{chunk-TOKOIIBI.js → chunk-4NRCP3Y6.js} +7 -7
- package/bundles/{chunk-TOKOIIBI.js.map → chunk-4NRCP3Y6.js.map} +0 -0
- package/bundles/{chunk-CYVTLM4Z.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-CYVTLM4Z.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-E7NQQTT7.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-E7NQQTT7.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/chunk-CLRZAXXE.js +89 -0
- package/bundles/chunk-CLRZAXXE.js.map +6 -0
- package/bundles/{chunk-3AXTYLAQ.js → chunk-DEPZI7L5.js} +31 -31
- package/bundles/{chunk-3AXTYLAQ.js.map → chunk-DEPZI7L5.js.map} +0 -0
- package/bundles/{chunk-4OLMNGX2.js → chunk-DGTSPJIN.js} +40 -40
- package/bundles/{chunk-4OLMNGX2.js.map → chunk-DGTSPJIN.js.map} +0 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-R3C7RFJ4.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-DEKIANJX.js → chunk-I4BG3CAN.js} +75 -71
- package/bundles/chunk-I4BG3CAN.js.map +6 -0
- package/bundles/{chunk-FM6NPN5V.js → chunk-ICPLY7FO.js} +4 -4
- package/bundles/{chunk-FM6NPN5V.js.map → chunk-ICPLY7FO.js.map} +0 -0
- package/bundles/{chunk-3ALDQ2SE.js → chunk-J6AVV3MN.js} +142 -107
- package/bundles/chunk-J6AVV3MN.js.map +6 -0
- package/bundles/{chunk-WCXUQ743.js → chunk-NDIOQ2EH.js} +154 -113
- package/bundles/chunk-NDIOQ2EH.js.map +6 -0
- package/bundles/{chunk-NFCN3OZI.js → chunk-NJ2FQOJT.js} +17 -12
- package/bundles/chunk-NJ2FQOJT.js.map +6 -0
- package/bundles/{chunk-2HPI44CB.js → chunk-RCXOJZDO.js} +5 -5
- package/bundles/{chunk-2HPI44CB.js.map → chunk-RCXOJZDO.js.map} +0 -0
- package/bundles/{chunk-2EU3LGV7.js → chunk-TTIGAMYZ.js} +8 -6
- package/bundles/{chunk-2EU3LGV7.js.map → chunk-TTIGAMYZ.js.map} +1 -1
- package/bundles/{chunk-TSVR3WF5.js → chunk-XR6BVLNN.js} +26 -26
- package/bundles/{chunk-TSVR3WF5.js.map → chunk-XR6BVLNN.js.map} +1 -1
- package/bundles/index.js +13 -12
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +13 -12
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -4
- package/bundles/ngcc/index.js +13 -12
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +14 -13
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -5
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +3 -2
- package/bundles/src/bin/ng_xi18n.js +11 -10
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -8
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/annotations/component/src/metadata.d.ts +1 -0
- package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -0
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +1 -0
- package/src/ngtsc/annotations/src/pipe.d.ts +1 -0
- package/src/ngtsc/core/api/src/options.d.ts +4 -0
- package/src/ngtsc/core/src/compiler.d.ts +1 -1
- package/src/ngtsc/metadata/src/api.d.ts +13 -0
- package/src/ngtsc/ts_compatibility/index.d.ts +9 -0
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +127 -0
- package/src/ngtsc/typecheck/api/checker.d.ts +14 -4
- package/src/ngtsc/typecheck/src/checker.d.ts +5 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -7
- package/bundles/chunk-3ALDQ2SE.js.map +0 -6
- package/bundles/chunk-4JF5LVDW.js.map +0 -6
- package/bundles/chunk-DEKIANJX.js.map +0 -6
- package/bundles/chunk-NFCN3OZI.js.map +0 -6
- package/bundles/chunk-WCXUQ743.js.map +0 -6
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
aliasTransformFactory,
|
|
31
31
|
declarationTransformFactory,
|
|
32
32
|
ivyTransformFactory
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-J6AVV3MN.js";
|
|
34
34
|
import {
|
|
35
35
|
TypeScriptReflectionHost,
|
|
36
36
|
isNamedClassDeclaration
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NJ2FQOJT.js";
|
|
38
38
|
import {
|
|
39
39
|
AbsoluteModuleStrategy,
|
|
40
40
|
AliasStrategy,
|
|
@@ -73,7 +73,13 @@ import {
|
|
|
73
73
|
toUnredirectedSourceFile,
|
|
74
74
|
translateExpression,
|
|
75
75
|
translateType
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-XR6BVLNN.js";
|
|
77
|
+
import {
|
|
78
|
+
getDecorators,
|
|
79
|
+
getModifiers,
|
|
80
|
+
updateImportDeclaration,
|
|
81
|
+
updateTypeParameterDeclaration
|
|
82
|
+
} from "./chunk-CLRZAXXE.js";
|
|
77
83
|
import {
|
|
78
84
|
LogicalFileSystem,
|
|
79
85
|
absoluteFrom,
|
|
@@ -84,16 +90,16 @@ import {
|
|
|
84
90
|
getSourceFileOrError,
|
|
85
91
|
join,
|
|
86
92
|
resolve
|
|
87
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-4NRCP3Y6.js";
|
|
88
94
|
import {
|
|
89
95
|
ActivePerfRecorder,
|
|
90
96
|
DelegatingPerfRecorder,
|
|
91
97
|
PerfCheckpoint,
|
|
92
98
|
PerfEvent,
|
|
93
99
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RCXOJZDO.js";
|
|
95
101
|
|
|
96
|
-
// bazel-out/
|
|
102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
97
103
|
var DEFAULT_ERROR_CODE = 100;
|
|
98
104
|
var UNKNOWN_ERROR_CODE = 500;
|
|
99
105
|
var SOURCE = "angular";
|
|
@@ -111,7 +117,7 @@ var EmitFlags;
|
|
|
111
117
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
112
118
|
})(EmitFlags || (EmitFlags = {}));
|
|
113
119
|
|
|
114
|
-
// bazel-out/
|
|
120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
115
121
|
import ts from "typescript";
|
|
116
122
|
var wrapHostForTest = null;
|
|
117
123
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -121,21 +127,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
121
127
|
return tsHost;
|
|
122
128
|
}
|
|
123
129
|
|
|
124
|
-
// bazel-out/
|
|
130
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
125
131
|
var OptimizeFor;
|
|
126
132
|
(function(OptimizeFor2) {
|
|
127
133
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
128
134
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
129
135
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
130
136
|
|
|
131
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
132
138
|
var CompletionKind;
|
|
133
139
|
(function(CompletionKind2) {
|
|
134
140
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
135
141
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
136
142
|
})(CompletionKind || (CompletionKind = {}));
|
|
137
143
|
|
|
138
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
139
145
|
var SymbolKind;
|
|
140
146
|
(function(SymbolKind2) {
|
|
141
147
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -151,11 +157,11 @@ var SymbolKind;
|
|
|
151
157
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
152
158
|
})(SymbolKind || (SymbolKind = {}));
|
|
153
159
|
|
|
154
|
-
// bazel-out/
|
|
160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
155
161
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
156
162
|
import ts34 from "typescript";
|
|
157
163
|
|
|
158
|
-
// bazel-out/
|
|
164
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
159
165
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
160
166
|
import * as path from "path";
|
|
161
167
|
function i18nGetExtension(formatName) {
|
|
@@ -206,10 +212,10 @@ function getPathNormalizer(basePath) {
|
|
|
206
212
|
};
|
|
207
213
|
}
|
|
208
214
|
|
|
209
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
210
216
|
import ts2 from "typescript";
|
|
211
217
|
|
|
212
|
-
// bazel-out/
|
|
218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
213
219
|
function toNumbers(value) {
|
|
214
220
|
const suffixIndex = value.lastIndexOf("-");
|
|
215
221
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -244,9 +250,9 @@ function compareVersions(v1, v2) {
|
|
|
244
250
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
245
251
|
}
|
|
246
252
|
|
|
247
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
248
254
|
var MIN_TS_VERSION = "4.6.2";
|
|
249
|
-
var MAX_TS_VERSION = "4.
|
|
255
|
+
var MAX_TS_VERSION = "4.9.0";
|
|
250
256
|
var tsVersion = ts2.version;
|
|
251
257
|
function checkVersion(version, minVersion, maxVersion) {
|
|
252
258
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -257,10 +263,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
257
263
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
258
264
|
}
|
|
259
265
|
|
|
260
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
261
267
|
import ts32 from "typescript";
|
|
262
268
|
|
|
263
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
264
270
|
var CycleAnalyzer = class {
|
|
265
271
|
constructor(importGraph) {
|
|
266
272
|
this.importGraph = importGraph;
|
|
@@ -331,7 +337,7 @@ var Cycle = class {
|
|
|
331
337
|
}
|
|
332
338
|
};
|
|
333
339
|
|
|
334
|
-
// bazel-out/
|
|
340
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
335
341
|
import ts3 from "typescript";
|
|
336
342
|
var ImportGraph = class {
|
|
337
343
|
constructor(checker, perf) {
|
|
@@ -423,7 +429,7 @@ var Found = class {
|
|
|
423
429
|
}
|
|
424
430
|
};
|
|
425
431
|
|
|
426
|
-
// bazel-out/
|
|
432
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
427
433
|
import ts4 from "typescript";
|
|
428
434
|
var FlatIndexGenerator = class {
|
|
429
435
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -448,7 +454,7 @@ export * from '${relativeEntryPoint}';
|
|
|
448
454
|
}
|
|
449
455
|
};
|
|
450
456
|
|
|
451
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
452
458
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
453
459
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
454
460
|
let resolvedEntryPoint = null;
|
|
@@ -464,7 +470,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
464
470
|
return resolvedEntryPoint;
|
|
465
471
|
}
|
|
466
472
|
|
|
467
|
-
// bazel-out/
|
|
473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
468
474
|
import ts5 from "typescript";
|
|
469
475
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
470
476
|
const diagnostics = [];
|
|
@@ -544,7 +550,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
544
550
|
}
|
|
545
551
|
}
|
|
546
552
|
|
|
547
|
-
// bazel-out/
|
|
553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
548
554
|
var ReferenceGraph = class {
|
|
549
555
|
constructor() {
|
|
550
556
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -598,7 +604,7 @@ var ReferenceGraph = class {
|
|
|
598
604
|
}
|
|
599
605
|
};
|
|
600
606
|
|
|
601
|
-
// bazel-out/
|
|
607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
602
608
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
603
609
|
var UpdateMode;
|
|
604
610
|
(function(UpdateMode2) {
|
|
@@ -606,13 +612,13 @@ var UpdateMode;
|
|
|
606
612
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
607
613
|
})(UpdateMode || (UpdateMode = {}));
|
|
608
614
|
|
|
609
|
-
// bazel-out/
|
|
615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
610
616
|
import ts9 from "typescript";
|
|
611
617
|
|
|
612
|
-
// bazel-out/
|
|
618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
613
619
|
import ts6 from "typescript";
|
|
614
620
|
|
|
615
|
-
// bazel-out/
|
|
621
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
616
622
|
var NgExtension = Symbol("NgExtension");
|
|
617
623
|
function isExtended(sf) {
|
|
618
624
|
return sf[NgExtension] !== void 0;
|
|
@@ -672,7 +678,7 @@ function retagTsFile(sf) {
|
|
|
672
678
|
}
|
|
673
679
|
}
|
|
674
680
|
|
|
675
|
-
// bazel-out/
|
|
681
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
676
682
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
677
683
|
function makeShimFileName(fileName, suffix) {
|
|
678
684
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -687,7 +693,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
687
693
|
return moduleName;
|
|
688
694
|
}
|
|
689
695
|
|
|
690
|
-
// bazel-out/
|
|
696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
691
697
|
var ShimAdapter = class {
|
|
692
698
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
693
699
|
this.delegate = delegate;
|
|
@@ -784,7 +790,7 @@ var ShimAdapter = class {
|
|
|
784
790
|
}
|
|
785
791
|
};
|
|
786
792
|
|
|
787
|
-
// bazel-out/
|
|
793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
788
794
|
import ts7 from "typescript";
|
|
789
795
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
790
796
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -798,7 +804,7 @@ var FactoryGenerator = class {
|
|
|
798
804
|
generateShimForFile(sf, genFilePath) {
|
|
799
805
|
const absoluteSfPath = absoluteFromSourceFile(sf);
|
|
800
806
|
const relativePathToSource = "./" + basename(sf.fileName).replace(TS_DTS_SUFFIX, "");
|
|
801
|
-
const symbolNames = sf.statements.filter(ts7.isClassDeclaration).filter((decl) => isExported(decl) && decl
|
|
807
|
+
const symbolNames = sf.statements.filter(ts7.isClassDeclaration).filter((decl) => isExported(decl) && getDecorators(decl) !== void 0 && decl.name !== void 0).map((decl) => decl.name.text);
|
|
802
808
|
let sourceText = "";
|
|
803
809
|
const leadingComment = getFileoverviewComment(sf);
|
|
804
810
|
if (leadingComment !== null) {
|
|
@@ -832,7 +838,8 @@ var FactoryGenerator = class {
|
|
|
832
838
|
}
|
|
833
839
|
};
|
|
834
840
|
function isExported(decl) {
|
|
835
|
-
|
|
841
|
+
const modifiers = getModifiers(decl);
|
|
842
|
+
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts7.SyntaxKind.ExportKeyword);
|
|
836
843
|
}
|
|
837
844
|
function generatedFactoryTransform(factoryMap, importRewriter) {
|
|
838
845
|
return (context) => {
|
|
@@ -853,7 +860,7 @@ function transformFactorySourceFile(factoryMap, context, importRewriter, file) {
|
|
|
853
860
|
if (ts7.isImportDeclaration(stmt) && ts7.isStringLiteral(stmt.moduleSpecifier) && stmt.moduleSpecifier.text === "@angular/core") {
|
|
854
861
|
const rewrittenModuleSpecifier = importRewriter.rewriteSpecifier("@angular/core", sourceFilePath);
|
|
855
862
|
if (rewrittenModuleSpecifier !== stmt.moduleSpecifier.text) {
|
|
856
|
-
transformedStatements.push(
|
|
863
|
+
transformedStatements.push(updateImportDeclaration(stmt, getModifiers(stmt), stmt.importClause, ts7.factory.createStringLiteral(rewrittenModuleSpecifier), void 0));
|
|
857
864
|
if (stmt.importClause !== void 0 && stmt.importClause.namedBindings !== void 0 && ts7.isNamespaceImport(stmt.importClause.namedBindings)) {
|
|
858
865
|
coreImportIdentifiers.add(stmt.importClause.namedBindings.name.text);
|
|
859
866
|
}
|
|
@@ -928,10 +935,10 @@ function wrapInNoSideEffects(expr) {
|
|
|
928
935
|
]);
|
|
929
936
|
}
|
|
930
937
|
function updateInitializers(stmt, update) {
|
|
931
|
-
return ts7.factory.updateVariableStatement(stmt, stmt
|
|
938
|
+
return ts7.factory.updateVariableStatement(stmt, 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)))));
|
|
932
939
|
}
|
|
933
940
|
|
|
934
|
-
// bazel-out/
|
|
941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
935
942
|
var ShimReferenceTagger = class {
|
|
936
943
|
constructor(shimExtensions) {
|
|
937
944
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -965,7 +972,7 @@ var ShimReferenceTagger = class {
|
|
|
965
972
|
}
|
|
966
973
|
};
|
|
967
974
|
|
|
968
|
-
// bazel-out/
|
|
975
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
969
976
|
import ts8 from "typescript";
|
|
970
977
|
var SummaryGenerator = class {
|
|
971
978
|
constructor() {
|
|
@@ -976,7 +983,7 @@ var SummaryGenerator = class {
|
|
|
976
983
|
const symbolNames = [];
|
|
977
984
|
for (const stmt of sf.statements) {
|
|
978
985
|
if (ts8.isClassDeclaration(stmt)) {
|
|
979
|
-
if (!isExported2(stmt) || stmt.
|
|
986
|
+
if (!isExported2(stmt) || stmt.name === void 0 || getDecorators(stmt) === void 0) {
|
|
980
987
|
continue;
|
|
981
988
|
}
|
|
982
989
|
symbolNames.push(stmt.name.text);
|
|
@@ -1002,10 +1009,11 @@ var SummaryGenerator = class {
|
|
|
1002
1009
|
}
|
|
1003
1010
|
};
|
|
1004
1011
|
function isExported2(decl) {
|
|
1005
|
-
|
|
1012
|
+
const modifiers = getModifiers(decl);
|
|
1013
|
+
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
|
|
1006
1014
|
}
|
|
1007
1015
|
|
|
1008
|
-
// bazel-out/
|
|
1016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1009
1017
|
var DelegatingCompilerHost = class {
|
|
1010
1018
|
constructor(delegate) {
|
|
1011
1019
|
this.delegate = delegate;
|
|
@@ -1115,7 +1123,7 @@ var TsCreateProgramDriver = class {
|
|
|
1115
1123
|
}
|
|
1116
1124
|
};
|
|
1117
1125
|
|
|
1118
|
-
// bazel-out/
|
|
1126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1119
1127
|
var FileDependencyGraph = class {
|
|
1120
1128
|
constructor() {
|
|
1121
1129
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1182,7 +1190,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1182
1190
|
return false;
|
|
1183
1191
|
}
|
|
1184
1192
|
|
|
1185
|
-
// bazel-out/
|
|
1193
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1186
1194
|
var IncrementalStateKind;
|
|
1187
1195
|
(function(IncrementalStateKind2) {
|
|
1188
1196
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1190,7 +1198,7 @@ var IncrementalStateKind;
|
|
|
1190
1198
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1191
1199
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1192
1200
|
|
|
1193
|
-
// bazel-out/
|
|
1201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1194
1202
|
var PhaseKind;
|
|
1195
1203
|
(function(PhaseKind2) {
|
|
1196
1204
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1391,7 +1399,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1391
1399
|
}
|
|
1392
1400
|
}
|
|
1393
1401
|
|
|
1394
|
-
// bazel-out/
|
|
1402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1395
1403
|
var TrackedIncrementalBuildStrategy = class {
|
|
1396
1404
|
constructor() {
|
|
1397
1405
|
this.state = null;
|
|
@@ -1427,7 +1435,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1427
1435
|
};
|
|
1428
1436
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1429
1437
|
|
|
1430
|
-
// bazel-out/
|
|
1438
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1431
1439
|
var IdentifierKind;
|
|
1432
1440
|
(function(IdentifierKind2) {
|
|
1433
1441
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1445,7 +1453,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1445
1453
|
}
|
|
1446
1454
|
};
|
|
1447
1455
|
|
|
1448
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1449
1457
|
var IndexingContext = class {
|
|
1450
1458
|
constructor() {
|
|
1451
1459
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1455,10 +1463,10 @@ var IndexingContext = class {
|
|
|
1455
1463
|
}
|
|
1456
1464
|
};
|
|
1457
1465
|
|
|
1458
|
-
// bazel-out/
|
|
1466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1459
1467
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1460
1468
|
|
|
1461
|
-
// bazel-out/
|
|
1469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1462
1470
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1463
1471
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1464
1472
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1695,7 +1703,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1695
1703
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1696
1704
|
}
|
|
1697
1705
|
|
|
1698
|
-
// bazel-out/
|
|
1706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1699
1707
|
function generateAnalysis(context) {
|
|
1700
1708
|
const analysis = /* @__PURE__ */ new Map();
|
|
1701
1709
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1731,7 +1739,7 @@ function generateAnalysis(context) {
|
|
|
1731
1739
|
return analysis;
|
|
1732
1740
|
}
|
|
1733
1741
|
|
|
1734
|
-
// bazel-out/
|
|
1742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1735
1743
|
import ts10 from "typescript";
|
|
1736
1744
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1737
1745
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1877,7 +1885,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1877
1885
|
};
|
|
1878
1886
|
}
|
|
1879
1887
|
|
|
1880
|
-
// bazel-out/
|
|
1888
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1881
1889
|
var StandaloneComponentScopeReader = class {
|
|
1882
1890
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1883
1891
|
this.metaReader = metaReader;
|
|
@@ -1955,10 +1963,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1955
1963
|
}
|
|
1956
1964
|
};
|
|
1957
1965
|
|
|
1958
|
-
// bazel-out/
|
|
1966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1959
1967
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1960
1968
|
|
|
1961
|
-
// bazel-out/
|
|
1969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1962
1970
|
import ts11 from "typescript";
|
|
1963
1971
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1964
1972
|
if (mapping.type === "direct") {
|
|
@@ -2031,7 +2039,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2031
2039
|
}
|
|
2032
2040
|
}
|
|
2033
2041
|
|
|
2034
|
-
// bazel-out/
|
|
2042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2035
2043
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2036
2044
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2037
2045
|
function getTemplateId(clazz) {
|
|
@@ -2048,11 +2056,11 @@ function allocateTemplateId(sf) {
|
|
|
2048
2056
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2049
2057
|
}
|
|
2050
2058
|
|
|
2051
|
-
// bazel-out/
|
|
2059
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2052
2060
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2053
2061
|
import ts13 from "typescript";
|
|
2054
2062
|
|
|
2055
|
-
// bazel-out/
|
|
2063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2056
2064
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2057
2065
|
import ts12 from "typescript";
|
|
2058
2066
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2172,7 +2180,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2172
2180
|
}) || false;
|
|
2173
2181
|
}
|
|
2174
2182
|
|
|
2175
|
-
// bazel-out/
|
|
2183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2176
2184
|
var CompletionEngine = class {
|
|
2177
2185
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2178
2186
|
this.tcb = tcb;
|
|
@@ -2329,10 +2337,10 @@ var CompletionEngine = class {
|
|
|
2329
2337
|
}
|
|
2330
2338
|
};
|
|
2331
2339
|
|
|
2332
|
-
// bazel-out/
|
|
2340
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2333
2341
|
import ts27 from "typescript";
|
|
2334
2342
|
|
|
2335
|
-
// bazel-out/
|
|
2343
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2336
2344
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2337
2345
|
import ts14 from "typescript";
|
|
2338
2346
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2385,13 +2393,12 @@ var RegistryDomSchemaChecker = class {
|
|
|
2385
2393
|
}
|
|
2386
2394
|
};
|
|
2387
2395
|
|
|
2388
|
-
// bazel-out/
|
|
2396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2389
2397
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2390
2398
|
import ts20 from "typescript";
|
|
2391
2399
|
|
|
2392
|
-
// bazel-out/
|
|
2400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2393
2401
|
import ts15 from "typescript";
|
|
2394
|
-
var PARSED_TS_VERSION = parseFloat(ts15.versionMajorMinor);
|
|
2395
2402
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2396
2403
|
ts15.SyntaxKind.ParenthesizedExpression,
|
|
2397
2404
|
ts15.SyntaxKind.Identifier,
|
|
@@ -2433,23 +2440,20 @@ function tsCallMethod(receiver, methodName, args = []) {
|
|
|
2433
2440
|
const methodAccess = ts15.factory.createPropertyAccessExpression(receiver, methodName);
|
|
2434
2441
|
return ts15.factory.createCallExpression(methodAccess, void 0, args);
|
|
2435
2442
|
}
|
|
2436
|
-
function tsUpdateTypeParameterDeclaration(node, name, constraint, defaultType) {
|
|
2437
|
-
return PARSED_TS_VERSION < 4.7 ? ts15.factory.updateTypeParameterDeclaration(node, name, constraint, defaultType) : ts15.factory.updateTypeParameterDeclaration(node, [], name, constraint, defaultType);
|
|
2438
|
-
}
|
|
2439
2443
|
function isAccessExpression(node) {
|
|
2440
2444
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2441
2445
|
}
|
|
2442
2446
|
|
|
2443
|
-
// bazel-out/
|
|
2447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2444
2448
|
import ts19 from "typescript";
|
|
2445
2449
|
|
|
2446
|
-
// bazel-out/
|
|
2450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2447
2451
|
import ts18 from "typescript";
|
|
2448
2452
|
|
|
2449
|
-
// bazel-out/
|
|
2453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2450
2454
|
import ts17 from "typescript";
|
|
2451
2455
|
|
|
2452
|
-
// bazel-out/
|
|
2456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2453
2457
|
import ts16 from "typescript";
|
|
2454
2458
|
var INELIGIBLE = {};
|
|
2455
2459
|
function canEmitType(type, canEmit) {
|
|
@@ -2511,7 +2515,7 @@ var TypeEmitter = class {
|
|
|
2511
2515
|
}
|
|
2512
2516
|
};
|
|
2513
2517
|
|
|
2514
|
-
// bazel-out/
|
|
2518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2515
2519
|
var TypeParameterEmitter = class {
|
|
2516
2520
|
constructor(typeParameters, reflector) {
|
|
2517
2521
|
this.typeParameters = typeParameters;
|
|
@@ -2548,7 +2552,7 @@ var TypeParameterEmitter = class {
|
|
|
2548
2552
|
return this.typeParameters.map((typeParam) => {
|
|
2549
2553
|
const constraint = typeParam.constraint !== void 0 ? emitter.emitType(typeParam.constraint) : void 0;
|
|
2550
2554
|
const defaultType = typeParam.default !== void 0 ? emitter.emitType(typeParam.default) : void 0;
|
|
2551
|
-
return
|
|
2555
|
+
return updateTypeParameterDeclaration(typeParam, typeParam.modifiers, typeParam.name, constraint, defaultType);
|
|
2552
2556
|
});
|
|
2553
2557
|
}
|
|
2554
2558
|
resolveTypeReference(type) {
|
|
@@ -2588,7 +2592,7 @@ var TypeParameterEmitter = class {
|
|
|
2588
2592
|
}
|
|
2589
2593
|
};
|
|
2590
2594
|
|
|
2591
|
-
// bazel-out/
|
|
2595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2592
2596
|
var TcbInliningRequirement;
|
|
2593
2597
|
(function(TcbInliningRequirement2) {
|
|
2594
2598
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2668,7 +2672,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2668
2672
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2669
2673
|
}
|
|
2670
2674
|
|
|
2671
|
-
// bazel-out/
|
|
2675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2672
2676
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2673
2677
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2674
2678
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2732,14 +2736,14 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2732
2736
|
}
|
|
2733
2737
|
return params.map((param) => {
|
|
2734
2738
|
if (param.default === void 0) {
|
|
2735
|
-
return
|
|
2739
|
+
return updateTypeParameterDeclaration(param, param.modifiers, param.name, param.constraint, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.AnyKeyword));
|
|
2736
2740
|
} else {
|
|
2737
2741
|
return param;
|
|
2738
2742
|
}
|
|
2739
2743
|
});
|
|
2740
2744
|
}
|
|
2741
2745
|
|
|
2742
|
-
// bazel-out/
|
|
2746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2743
2747
|
var Environment = class {
|
|
2744
2748
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2745
2749
|
this.config = config;
|
|
@@ -2831,7 +2835,7 @@ var Environment = class {
|
|
|
2831
2835
|
}
|
|
2832
2836
|
};
|
|
2833
2837
|
|
|
2834
|
-
// bazel-out/
|
|
2838
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2835
2839
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2836
2840
|
import ts21 from "typescript";
|
|
2837
2841
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2964,7 +2968,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2964
2968
|
};
|
|
2965
2969
|
}
|
|
2966
2970
|
|
|
2967
|
-
// bazel-out/
|
|
2971
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2968
2972
|
import ts22 from "typescript";
|
|
2969
2973
|
var TypeCheckShimGenerator = class {
|
|
2970
2974
|
constructor() {
|
|
@@ -2982,11 +2986,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2982
2986
|
}
|
|
2983
2987
|
};
|
|
2984
2988
|
|
|
2985
|
-
// bazel-out/
|
|
2989
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2986
2990
|
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";
|
|
2987
2991
|
import ts25 from "typescript";
|
|
2988
2992
|
|
|
2989
|
-
// bazel-out/
|
|
2993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2990
2994
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2991
2995
|
import ts23 from "typescript";
|
|
2992
2996
|
function wrapForDiagnostics(expr) {
|
|
@@ -3032,7 +3036,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3032
3036
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3033
3037
|
}
|
|
3034
3038
|
|
|
3035
|
-
// bazel-out/
|
|
3039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3036
3040
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3037
3041
|
import ts24 from "typescript";
|
|
3038
3042
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3362,7 +3366,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3362
3366
|
};
|
|
3363
3367
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3364
3368
|
|
|
3365
|
-
// bazel-out/
|
|
3369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3366
3370
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3367
3371
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3368
3372
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3386,7 +3390,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3386
3390
|
}
|
|
3387
3391
|
};
|
|
3388
3392
|
|
|
3389
|
-
// bazel-out/
|
|
3393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3390
3394
|
var TcbGenericContextBehavior;
|
|
3391
3395
|
(function(TcbGenericContextBehavior2) {
|
|
3392
3396
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4437,7 +4441,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4437
4441
|
}
|
|
4438
4442
|
};
|
|
4439
4443
|
|
|
4440
|
-
// bazel-out/
|
|
4444
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4441
4445
|
import ts26 from "typescript";
|
|
4442
4446
|
var TypeCheckFile = class extends Environment {
|
|
4443
4447
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4473,7 +4477,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4473
4477
|
}
|
|
4474
4478
|
};
|
|
4475
4479
|
|
|
4476
|
-
// bazel-out/
|
|
4480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4477
4481
|
var InliningMode;
|
|
4478
4482
|
(function(InliningMode2) {
|
|
4479
4483
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4711,10 +4715,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4711
4715
|
return splits;
|
|
4712
4716
|
}
|
|
4713
4717
|
|
|
4714
|
-
// bazel-out/
|
|
4718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4715
4719
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4716
4720
|
|
|
4717
|
-
// bazel-out/
|
|
4721
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4718
4722
|
var LF_CHAR = 10;
|
|
4719
4723
|
var CR_CHAR = 13;
|
|
4720
4724
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4755,7 +4759,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4755
4759
|
return low - 1;
|
|
4756
4760
|
}
|
|
4757
4761
|
|
|
4758
|
-
// bazel-out/
|
|
4762
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4759
4763
|
var TemplateSource = class {
|
|
4760
4764
|
constructor(mapping, file) {
|
|
4761
4765
|
this.mapping = mapping;
|
|
@@ -4806,7 +4810,7 @@ var TemplateSourceManager = class {
|
|
|
4806
4810
|
}
|
|
4807
4811
|
};
|
|
4808
4812
|
|
|
4809
|
-
// bazel-out/
|
|
4813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4810
4814
|
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";
|
|
4811
4815
|
import ts28 from "typescript";
|
|
4812
4816
|
var SymbolBuilder = class {
|
|
@@ -5251,10 +5255,10 @@ function sourceSpanEqual(a, b) {
|
|
|
5251
5255
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5252
5256
|
}
|
|
5253
5257
|
|
|
5254
|
-
// bazel-out/
|
|
5258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5255
5259
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5256
5260
|
var TemplateTypeCheckerImpl = class {
|
|
5257
|
-
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
5261
|
+
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
5258
5262
|
this.originalProgram = originalProgram;
|
|
5259
5263
|
this.programDriver = programDriver;
|
|
5260
5264
|
this.typeCheckAdapter = typeCheckAdapter;
|
|
@@ -5263,6 +5267,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5263
5267
|
this.reflector = reflector;
|
|
5264
5268
|
this.compilerHost = compilerHost;
|
|
5265
5269
|
this.priorBuild = priorBuild;
|
|
5270
|
+
this.metaReader = metaReader;
|
|
5266
5271
|
this.componentScopeReader = componentScopeReader;
|
|
5267
5272
|
this.typeCheckScopeRegistry = typeCheckScopeRegistry;
|
|
5268
5273
|
this.perf = perf;
|
|
@@ -5648,6 +5653,40 @@ var TemplateTypeCheckerImpl = class {
|
|
|
5648
5653
|
getPotentialDomEvents(tagName) {
|
|
5649
5654
|
return REGISTRY2.allKnownEventsOfElement(tagName);
|
|
5650
5655
|
}
|
|
5656
|
+
getPrimaryAngularDecorator(target) {
|
|
5657
|
+
this.ensureAllShimsForOneFile(target.getSourceFile());
|
|
5658
|
+
if (!isNamedClassDeclaration(target)) {
|
|
5659
|
+
return null;
|
|
5660
|
+
}
|
|
5661
|
+
const ref = new Reference(target);
|
|
5662
|
+
const dirMeta = this.metaReader.getDirectiveMetadata(ref);
|
|
5663
|
+
if (dirMeta !== null) {
|
|
5664
|
+
return dirMeta.decorator;
|
|
5665
|
+
}
|
|
5666
|
+
const pipeMeta = this.metaReader.getPipeMetadata(ref);
|
|
5667
|
+
if (pipeMeta !== null) {
|
|
5668
|
+
return pipeMeta.decorator;
|
|
5669
|
+
}
|
|
5670
|
+
const ngModuleMeta = this.metaReader.getNgModuleMetadata(ref);
|
|
5671
|
+
if (ngModuleMeta !== null) {
|
|
5672
|
+
return ngModuleMeta.decorator;
|
|
5673
|
+
}
|
|
5674
|
+
return null;
|
|
5675
|
+
}
|
|
5676
|
+
getOwningNgModule(component) {
|
|
5677
|
+
if (!isNamedClassDeclaration(component)) {
|
|
5678
|
+
return null;
|
|
5679
|
+
}
|
|
5680
|
+
const dirMeta = this.metaReader.getDirectiveMetadata(new Reference(component));
|
|
5681
|
+
if (dirMeta !== null && dirMeta.isStandalone) {
|
|
5682
|
+
return null;
|
|
5683
|
+
}
|
|
5684
|
+
const scope = this.componentScopeReader.getScopeForComponent(component);
|
|
5685
|
+
if (scope === null || scope.kind !== ComponentScopeKind.NgModule || !isNamedClassDeclaration(scope.ngModule)) {
|
|
5686
|
+
return null;
|
|
5687
|
+
}
|
|
5688
|
+
return scope.ngModule;
|
|
5689
|
+
}
|
|
5651
5690
|
getScopeData(component) {
|
|
5652
5691
|
if (this.scopeCache.has(component)) {
|
|
5653
5692
|
return this.scopeCache.get(component);
|
|
@@ -5788,10 +5827,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5788
5827
|
}
|
|
5789
5828
|
};
|
|
5790
5829
|
|
|
5791
|
-
// bazel-out/
|
|
5830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5792
5831
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5793
5832
|
|
|
5794
|
-
// bazel-out/
|
|
5833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5795
5834
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5796
5835
|
var TemplateCheckWithVisitor = class {
|
|
5797
5836
|
run(ctx, component, template) {
|
|
@@ -5868,7 +5907,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5868
5907
|
}
|
|
5869
5908
|
};
|
|
5870
5909
|
|
|
5871
|
-
// bazel-out/
|
|
5910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5872
5911
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5873
5912
|
constructor() {
|
|
5874
5913
|
super(...arguments);
|
|
@@ -5893,7 +5932,7 @@ var factory = {
|
|
|
5893
5932
|
create: () => new InvalidBananaInBoxCheck()
|
|
5894
5933
|
};
|
|
5895
5934
|
|
|
5896
|
-
// bazel-out/
|
|
5935
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
5897
5936
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
5898
5937
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
5899
5938
|
["ngIf", "NgIf"],
|
|
@@ -5938,7 +5977,7 @@ var factory2 = {
|
|
|
5938
5977
|
}
|
|
5939
5978
|
};
|
|
5940
5979
|
|
|
5941
|
-
// bazel-out/
|
|
5980
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
5942
5981
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
5943
5982
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
5944
5983
|
constructor() {
|
|
@@ -5971,7 +6010,7 @@ var factory3 = {
|
|
|
5971
6010
|
create: () => new MissingNgForOfLetCheck()
|
|
5972
6011
|
};
|
|
5973
6012
|
|
|
5974
|
-
// bazel-out/
|
|
6013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
5975
6014
|
import { Binary } from "@angular/compiler";
|
|
5976
6015
|
import ts29 from "typescript";
|
|
5977
6016
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6016,7 +6055,7 @@ var factory4 = {
|
|
|
6016
6055
|
}
|
|
6017
6056
|
};
|
|
6018
6057
|
|
|
6019
|
-
// bazel-out/
|
|
6058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6020
6059
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6021
6060
|
import ts30 from "typescript";
|
|
6022
6061
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6062,7 +6101,7 @@ var factory5 = {
|
|
|
6062
6101
|
}
|
|
6063
6102
|
};
|
|
6064
6103
|
|
|
6065
|
-
// bazel-out/
|
|
6104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6066
6105
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6067
6106
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6068
6107
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6086,7 +6125,7 @@ var factory6 = {
|
|
|
6086
6125
|
create: () => new SuffixNotSupportedCheck()
|
|
6087
6126
|
};
|
|
6088
6127
|
|
|
6089
|
-
// bazel-out/
|
|
6128
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6090
6129
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6091
6130
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6092
6131
|
constructor() {
|
|
@@ -6125,10 +6164,10 @@ var factory7 = {
|
|
|
6125
6164
|
create: () => new TextAttributeNotBindingSpec()
|
|
6126
6165
|
};
|
|
6127
6166
|
|
|
6128
|
-
// bazel-out/
|
|
6167
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6129
6168
|
import ts31 from "typescript";
|
|
6130
6169
|
|
|
6131
|
-
// bazel-out/
|
|
6170
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6132
6171
|
var DiagnosticCategoryLabel;
|
|
6133
6172
|
(function(DiagnosticCategoryLabel2) {
|
|
6134
6173
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6136,7 +6175,7 @@ var DiagnosticCategoryLabel;
|
|
|
6136
6175
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6137
6176
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6138
6177
|
|
|
6139
|
-
// bazel-out/
|
|
6178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6140
6179
|
var ExtendedTemplateCheckerImpl = class {
|
|
6141
6180
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6142
6181
|
var _a, _b, _c, _d, _e;
|
|
@@ -6189,7 +6228,7 @@ function assertNever(value) {
|
|
|
6189
6228
|
${value}`);
|
|
6190
6229
|
}
|
|
6191
6230
|
|
|
6192
|
-
// bazel-out/
|
|
6231
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6193
6232
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6194
6233
|
factory,
|
|
6195
6234
|
factory4,
|
|
@@ -6200,7 +6239,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6200
6239
|
factory6
|
|
6201
6240
|
];
|
|
6202
6241
|
|
|
6203
|
-
// bazel-out/
|
|
6242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6204
6243
|
var CompilationTicketKind;
|
|
6205
6244
|
(function(CompilationTicketKind2) {
|
|
6206
6245
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6260,19 +6299,20 @@ function incrementalFromStateTicket(oldProgram, oldState, newProgram, options, i
|
|
|
6260
6299
|
}
|
|
6261
6300
|
var NgCompiler = class {
|
|
6262
6301
|
constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
|
|
6302
|
+
var _a;
|
|
6263
6303
|
this.adapter = adapter;
|
|
6264
6304
|
this.options = options;
|
|
6265
6305
|
this.inputProgram = inputProgram;
|
|
6266
6306
|
this.programDriver = programDriver;
|
|
6267
6307
|
this.incrementalStrategy = incrementalStrategy;
|
|
6268
6308
|
this.incrementalCompilation = incrementalCompilation;
|
|
6269
|
-
this.enableTemplateTypeChecker = enableTemplateTypeChecker;
|
|
6270
6309
|
this.usePoisonedData = usePoisonedData;
|
|
6271
6310
|
this.livePerfRecorder = livePerfRecorder;
|
|
6272
6311
|
this.compilation = null;
|
|
6273
6312
|
this.constructionDiagnostics = [];
|
|
6274
6313
|
this.nonTemplateDiagnostics = null;
|
|
6275
6314
|
this.delegatingPerfRecorder = new DelegatingPerfRecorder(this.perfRecorder);
|
|
6315
|
+
this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a = options._enableTemplateTypeChecker) != null ? _a : false);
|
|
6276
6316
|
this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
|
|
6277
6317
|
this.currentProgram = inputProgram;
|
|
6278
6318
|
this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
|
|
@@ -6719,7 +6759,7 @@ var NgCompiler = class {
|
|
|
6719
6759
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
6720
6760
|
this.currentProgram = program;
|
|
6721
6761
|
});
|
|
6722
|
-
const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
|
|
6762
|
+
const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, metaReader, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
|
|
6723
6763
|
const extendedTemplateChecker = this.constructionDiagnostics.length === 0 ? new ExtendedTemplateCheckerImpl(templateTypeChecker, checker, ALL_DIAGNOSTIC_FACTORIES, this.options) : null;
|
|
6724
6764
|
return {
|
|
6725
6765
|
isCore,
|
|
@@ -6747,7 +6787,8 @@ function isAngularCorePackage(program) {
|
|
|
6747
6787
|
if (!ts32.isVariableStatement(stmt)) {
|
|
6748
6788
|
return false;
|
|
6749
6789
|
}
|
|
6750
|
-
|
|
6790
|
+
const modifiers = getModifiers(stmt);
|
|
6791
|
+
if (modifiers === void 0 || !modifiers.some((mod) => mod.kind === ts32.SyntaxKind.ExportKeyword)) {
|
|
6751
6792
|
return false;
|
|
6752
6793
|
}
|
|
6753
6794
|
return stmt.declarationList.declarations.some((decl) => {
|
|
@@ -6898,7 +6939,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6898
6939
|
return versions;
|
|
6899
6940
|
}
|
|
6900
6941
|
|
|
6901
|
-
// bazel-out/
|
|
6942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6902
6943
|
import ts33 from "typescript";
|
|
6903
6944
|
var DelegatingCompilerHost2 = class {
|
|
6904
6945
|
constructor(delegate) {
|
|
@@ -7042,7 +7083,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7042
7083
|
}
|
|
7043
7084
|
};
|
|
7044
7085
|
|
|
7045
|
-
// bazel-out/
|
|
7086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7046
7087
|
var NgtscProgram = class {
|
|
7047
7088
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7048
7089
|
this.options = options;
|
|
@@ -7251,15 +7292,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7251
7292
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7252
7293
|
}
|
|
7253
7294
|
|
|
7254
|
-
// bazel-out/
|
|
7295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7255
7296
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7256
7297
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7257
7298
|
}
|
|
7258
7299
|
|
|
7259
|
-
// bazel-out/
|
|
7300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7260
7301
|
import ts36 from "typescript";
|
|
7261
7302
|
|
|
7262
|
-
// bazel-out/
|
|
7303
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7263
7304
|
import ts35 from "typescript";
|
|
7264
7305
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
7265
7306
|
function createMessageDiagnostic(messageText) {
|
|
@@ -7274,7 +7315,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7274
7315
|
};
|
|
7275
7316
|
}
|
|
7276
7317
|
|
|
7277
|
-
// bazel-out/
|
|
7318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7278
7319
|
var defaultFormatHost = {
|
|
7279
7320
|
getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
|
|
7280
7321
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7489,4 +7530,4 @@ export {
|
|
|
7489
7530
|
* found in the LICENSE file at https://angular.io/license
|
|
7490
7531
|
*/
|
|
7491
7532
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7492
|
-
//# sourceMappingURL=chunk-
|
|
7533
|
+
//# sourceMappingURL=chunk-NDIOQ2EH.js.map
|