@angular/compiler-cli 16.1.1 → 16.2.0-next.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-JXL4GN5W.js → chunk-3SPKRPX3.js} +100 -100
- package/bundles/chunk-3SPKRPX3.js.map +6 -0
- package/bundles/{chunk-HJOPJLIM.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-OOJTRSMD.js → chunk-ADNHTL54.js} +31 -31
- package/bundles/{chunk-LKUXUQLD.js → chunk-CWFGODIP.js} +5 -5
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-AAX4HKH5.js → chunk-LOZJLM26.js} +8 -8
- package/bundles/{chunk-EMELASNB.js → chunk-LVVIYUZC.js} +103 -99
- package/bundles/{chunk-EMELASNB.js.map → chunk-LVVIYUZC.js.map} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-OIJPCKRW.js → chunk-NIK4FIWB.js} +6 -6
- package/bundles/{chunk-ONCDPGC3.js → chunk-SJLWUYXS.js} +5 -5
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-KPIJL3UY.js → chunk-WF3L5COT.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 +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +4 -3
- package/src/ngtsc/annotations/directive/src/handler.d.ts +4 -3
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/src/injectable.d.ts +2 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
- package/src/ngtsc/transform/src/api.d.ts +1 -20
- package/bundles/chunk-JXL4GN5W.js.map +0 -6
- /package/bundles/{chunk-HJOPJLIM.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-OOJTRSMD.js.map → chunk-ADNHTL54.js.map} +0 -0
- /package/bundles/{chunk-LKUXUQLD.js.map → chunk-CWFGODIP.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-AAX4HKH5.js.map → chunk-LOZJLM26.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-OIJPCKRW.js.map → chunk-NIK4FIWB.js.map} +0 -0
- /package/bundles/{chunk-ONCDPGC3.js.map → chunk-SJLWUYXS.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-KPIJL3UY.js.map → chunk-WF3L5COT.js.map} +0 -0
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3SPKRPX3.js";
|
|
40
40
|
import {
|
|
41
41
|
TypeScriptReflectionHost,
|
|
42
42
|
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NIK4FIWB.js";
|
|
44
44
|
import {
|
|
45
45
|
ImportManager,
|
|
46
46
|
translateExpression,
|
|
47
47
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LOZJLM26.js";
|
|
49
49
|
import {
|
|
50
50
|
AbsoluteModuleStrategy,
|
|
51
51
|
AliasStrategy,
|
|
@@ -84,14 +84,14 @@ import {
|
|
|
84
84
|
relativePathBetween,
|
|
85
85
|
replaceTsWithNgInErrors,
|
|
86
86
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-WF3L5COT.js";
|
|
88
88
|
import {
|
|
89
89
|
ActivePerfRecorder,
|
|
90
90
|
DelegatingPerfRecorder,
|
|
91
91
|
PerfCheckpoint,
|
|
92
92
|
PerfEvent,
|
|
93
93
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-7PCPPTTO.js";
|
|
95
95
|
import {
|
|
96
96
|
LogicalFileSystem,
|
|
97
97
|
absoluteFrom,
|
|
@@ -101,9 +101,9 @@ import {
|
|
|
101
101
|
getSourceFileOrError,
|
|
102
102
|
join,
|
|
103
103
|
resolve
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-TBUSSXUA.js";
|
|
105
105
|
|
|
106
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
109
|
var SOURCE = "angular";
|
|
@@ -121,7 +121,7 @@ var EmitFlags;
|
|
|
121
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
125
|
import ts from "typescript";
|
|
126
126
|
var wrapHostForTest = null;
|
|
127
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +131,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
131
|
return tsHost;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
135
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
136
|
import ts32 from "typescript";
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
139
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
140
|
import * as path from "path";
|
|
141
141
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +186,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
190
|
import ts2 from "typescript";
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
193
|
function toNumbers(value) {
|
|
194
194
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
195
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,7 +224,7 @@ function compareVersions(v1, v2) {
|
|
|
224
224
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
228
228
|
var MIN_TS_VERSION = "4.9.3";
|
|
229
229
|
var MAX_TS_VERSION = "5.2.0";
|
|
230
230
|
var tsVersion = ts2.version;
|
|
@@ -237,10 +237,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
237
237
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
// bazel-out/
|
|
240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
241
|
import ts30 from "typescript";
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
244
|
var CycleAnalyzer = class {
|
|
245
245
|
constructor(importGraph) {
|
|
246
246
|
this.importGraph = importGraph;
|
|
@@ -311,7 +311,7 @@ var Cycle = class {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
315
|
import ts3 from "typescript";
|
|
316
316
|
var ImportGraph = class {
|
|
317
317
|
constructor(checker, perf) {
|
|
@@ -403,7 +403,7 @@ var Found = class {
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
407
|
import ts4 from "typescript";
|
|
408
408
|
var FlatIndexGenerator = class {
|
|
409
409
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
-
// bazel-out/
|
|
431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
434
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
444
|
return resolvedEntryPoint;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
448
|
import ts5 from "typescript";
|
|
449
449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
450
|
const diagnostics = [];
|
|
@@ -524,7 +524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
528
|
var ReferenceGraph = class {
|
|
529
529
|
constructor() {
|
|
530
530
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +578,7 @@ var ReferenceGraph = class {
|
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
582
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
583
|
var UpdateMode;
|
|
584
584
|
(function(UpdateMode2) {
|
|
@@ -586,13 +586,13 @@ var UpdateMode;
|
|
|
586
586
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
587
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
590
|
import ts7 from "typescript";
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
593
|
import ts6 from "typescript";
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
596
|
var NgExtension = Symbol("NgExtension");
|
|
597
597
|
function isExtended(sf) {
|
|
598
598
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +652,13 @@ function retagTsFile(sf) {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// bazel-out/
|
|
655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
656
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
657
|
function makeShimFileName(fileName, suffix) {
|
|
658
658
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
662
|
var ShimAdapter = class {
|
|
663
663
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
664
|
this.delegate = delegate;
|
|
@@ -753,7 +753,7 @@ var ShimAdapter = class {
|
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
757
|
var ShimReferenceTagger = class {
|
|
758
758
|
constructor(shimExtensions) {
|
|
759
759
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +787,7 @@ var ShimReferenceTagger = class {
|
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
-
// bazel-out/
|
|
790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
791
|
var DelegatingCompilerHost = class {
|
|
792
792
|
constructor(delegate) {
|
|
793
793
|
this.delegate = delegate;
|
|
@@ -900,7 +900,7 @@ var TsCreateProgramDriver = class {
|
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
904
904
|
var FileDependencyGraph = class {
|
|
905
905
|
constructor() {
|
|
906
906
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -967,7 +967,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
967
967
|
return false;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
// bazel-out/
|
|
970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
971
971
|
var IncrementalStateKind;
|
|
972
972
|
(function(IncrementalStateKind2) {
|
|
973
973
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -975,7 +975,7 @@ var IncrementalStateKind;
|
|
|
975
975
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
976
976
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
977
977
|
|
|
978
|
-
// bazel-out/
|
|
978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
979
979
|
var PhaseKind;
|
|
980
980
|
(function(PhaseKind2) {
|
|
981
981
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1176,7 +1176,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
// bazel-out/
|
|
1179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1180
1180
|
var TrackedIncrementalBuildStrategy = class {
|
|
1181
1181
|
constructor() {
|
|
1182
1182
|
this.state = null;
|
|
@@ -1212,7 +1212,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1214
1214
|
|
|
1215
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1216
1216
|
var IdentifierKind;
|
|
1217
1217
|
(function(IdentifierKind2) {
|
|
1218
1218
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1230,7 +1230,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1234
1234
|
var IndexingContext = class {
|
|
1235
1235
|
constructor() {
|
|
1236
1236
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1240,10 +1240,10 @@ var IndexingContext = class {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1244
1244
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1247
1247
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1248
1248
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1249
1249
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1480,7 +1480,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1480
1480
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1484
1484
|
function generateAnalysis(context) {
|
|
1485
1485
|
const analysis = /* @__PURE__ */ new Map();
|
|
1486
1486
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1516,7 +1516,7 @@ function generateAnalysis(context) {
|
|
|
1516
1516
|
return analysis;
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1520
1520
|
var NgModuleIndexImpl = class {
|
|
1521
1521
|
constructor(metaReader, localReader) {
|
|
1522
1522
|
this.metaReader = metaReader;
|
|
@@ -1605,7 +1605,7 @@ var NgModuleIndexImpl = class {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
// bazel-out/
|
|
1608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1609
1609
|
import ts8 from "typescript";
|
|
1610
1610
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1611
1611
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1751,7 +1751,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1755
1755
|
var StandaloneComponentScopeReader = class {
|
|
1756
1756
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1757
1757
|
this.metaReader = metaReader;
|
|
@@ -1829,10 +1829,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1833
1833
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1834
1834
|
|
|
1835
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1836
1836
|
import ts9 from "typescript";
|
|
1837
1837
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1838
1838
|
var _a;
|
|
@@ -1939,7 +1939,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1939
1939
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
// bazel-out/
|
|
1942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1943
1943
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1944
1944
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1945
1945
|
function getTemplateId(clazz) {
|
|
@@ -1956,11 +1956,11 @@ function allocateTemplateId(sf) {
|
|
|
1956
1956
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
|
-
// bazel-out/
|
|
1959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1960
1960
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1961
1961
|
import ts11 from "typescript";
|
|
1962
1962
|
|
|
1963
|
-
// bazel-out/
|
|
1963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1964
1964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1965
1965
|
import ts10 from "typescript";
|
|
1966
1966
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2090,7 +2090,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2090
2090
|
}) || false;
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2094
2094
|
var CompletionEngine = class {
|
|
2095
2095
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2096
2096
|
this.tcb = tcb;
|
|
@@ -2247,10 +2247,10 @@ var CompletionEngine = class {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
2249
|
|
|
2250
|
-
// bazel-out/
|
|
2250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2251
2251
|
import ts25 from "typescript";
|
|
2252
2252
|
|
|
2253
|
-
// bazel-out/
|
|
2253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2254
2254
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2255
2255
|
import ts12 from "typescript";
|
|
2256
2256
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2303,11 +2303,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2307
2307
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2308
2308
|
import ts18 from "typescript";
|
|
2309
2309
|
|
|
2310
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2311
2311
|
import ts13 from "typescript";
|
|
2312
2312
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2313
2313
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2381,16 +2381,16 @@ function isAccessExpression(node) {
|
|
|
2381
2381
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2385
2385
|
import ts17 from "typescript";
|
|
2386
2386
|
|
|
2387
|
-
// bazel-out/
|
|
2387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2388
2388
|
import ts16 from "typescript";
|
|
2389
2389
|
|
|
2390
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2391
2391
|
import ts15 from "typescript";
|
|
2392
2392
|
|
|
2393
|
-
// bazel-out/
|
|
2393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2394
2394
|
import ts14 from "typescript";
|
|
2395
2395
|
var INELIGIBLE = {};
|
|
2396
2396
|
function canEmitType(type, canEmit) {
|
|
@@ -2465,7 +2465,7 @@ var TypeEmitter = class {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
};
|
|
2467
2467
|
|
|
2468
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2469
2469
|
var TypeParameterEmitter = class {
|
|
2470
2470
|
constructor(typeParameters, reflector) {
|
|
2471
2471
|
this.typeParameters = typeParameters;
|
|
@@ -2542,7 +2542,7 @@ var TypeParameterEmitter = class {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
};
|
|
2544
2544
|
|
|
2545
|
-
// bazel-out/
|
|
2545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2546
2546
|
var TcbInliningRequirement;
|
|
2547
2547
|
(function(TcbInliningRequirement2) {
|
|
2548
2548
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2622,7 +2622,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2622
2622
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2623
2623
|
}
|
|
2624
2624
|
|
|
2625
|
-
// bazel-out/
|
|
2625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2626
2626
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2627
2627
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2628
2628
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2733,7 +2733,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2733
2733
|
});
|
|
2734
2734
|
}
|
|
2735
2735
|
|
|
2736
|
-
// bazel-out/
|
|
2736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2737
2737
|
var Environment = class {
|
|
2738
2738
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2739
2739
|
this.config = config;
|
|
@@ -2827,7 +2827,7 @@ var Environment = class {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
};
|
|
2829
2829
|
|
|
2830
|
-
// bazel-out/
|
|
2830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2831
2831
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2832
2832
|
import ts19 from "typescript";
|
|
2833
2833
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2964,7 +2964,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2964
2964
|
};
|
|
2965
2965
|
}
|
|
2966
2966
|
|
|
2967
|
-
// bazel-out/
|
|
2967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2968
2968
|
import ts20 from "typescript";
|
|
2969
2969
|
var TypeCheckShimGenerator = class {
|
|
2970
2970
|
constructor() {
|
|
@@ -2982,11 +2982,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2982
2982
|
}
|
|
2983
2983
|
};
|
|
2984
2984
|
|
|
2985
|
-
// bazel-out/
|
|
2985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
2986
2986
|
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, TransplantedType } from "@angular/compiler";
|
|
2987
2987
|
import ts23 from "typescript";
|
|
2988
2988
|
|
|
2989
|
-
// bazel-out/
|
|
2989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2990
2990
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2991
2991
|
import ts21 from "typescript";
|
|
2992
2992
|
function wrapForDiagnostics(expr) {
|
|
@@ -3032,7 +3032,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3032
3032
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3033
3033
|
}
|
|
3034
3034
|
|
|
3035
|
-
// bazel-out/
|
|
3035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3036
3036
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3037
3037
|
import ts22 from "typescript";
|
|
3038
3038
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3365,7 +3365,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3365
3365
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3366
3366
|
})();
|
|
3367
3367
|
|
|
3368
|
-
// bazel-out/
|
|
3368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3369
3369
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3370
3370
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3371
3371
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3389,7 +3389,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3389
3389
|
}
|
|
3390
3390
|
};
|
|
3391
3391
|
|
|
3392
|
-
// bazel-out/
|
|
3392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3393
3393
|
var TcbGenericContextBehavior;
|
|
3394
3394
|
(function(TcbGenericContextBehavior2) {
|
|
3395
3395
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4516,7 +4516,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4516
4516
|
}
|
|
4517
4517
|
};
|
|
4518
4518
|
|
|
4519
|
-
// bazel-out/
|
|
4519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4520
4520
|
import ts24 from "typescript";
|
|
4521
4521
|
var TypeCheckFile = class extends Environment {
|
|
4522
4522
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4552,7 +4552,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
4554
|
|
|
4555
|
-
// bazel-out/
|
|
4555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4556
4556
|
var InliningMode;
|
|
4557
4557
|
(function(InliningMode2) {
|
|
4558
4558
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4789,10 +4789,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4789
4789
|
return splits;
|
|
4790
4790
|
}
|
|
4791
4791
|
|
|
4792
|
-
// bazel-out/
|
|
4792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4793
4793
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4794
4794
|
|
|
4795
|
-
// bazel-out/
|
|
4795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4796
4796
|
var LF_CHAR = 10;
|
|
4797
4797
|
var CR_CHAR = 13;
|
|
4798
4798
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4833,7 +4833,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4833
4833
|
return low - 1;
|
|
4834
4834
|
}
|
|
4835
4835
|
|
|
4836
|
-
// bazel-out/
|
|
4836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4837
4837
|
var TemplateSource = class {
|
|
4838
4838
|
constructor(mapping, file) {
|
|
4839
4839
|
this.mapping = mapping;
|
|
@@ -4884,7 +4884,7 @@ var TemplateSourceManager = class {
|
|
|
4884
4884
|
}
|
|
4885
4885
|
};
|
|
4886
4886
|
|
|
4887
|
-
// bazel-out/
|
|
4887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4888
4888
|
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";
|
|
4889
4889
|
import ts26 from "typescript";
|
|
4890
4890
|
var SymbolBuilder = class {
|
|
@@ -5368,7 +5368,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5368
5368
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5369
5369
|
}
|
|
5370
5370
|
|
|
5371
|
-
// bazel-out/
|
|
5371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5372
5372
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5373
5373
|
var TemplateTypeCheckerImpl = class {
|
|
5374
5374
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6065,10 +6065,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6065
6065
|
}
|
|
6066
6066
|
};
|
|
6067
6067
|
|
|
6068
|
-
// bazel-out/
|
|
6068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6069
6069
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6070
6070
|
|
|
6071
|
-
// bazel-out/
|
|
6071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6072
6072
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6073
6073
|
var TemplateCheckWithVisitor = class {
|
|
6074
6074
|
run(ctx, component, template) {
|
|
@@ -6145,7 +6145,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6145
6145
|
}
|
|
6146
6146
|
};
|
|
6147
6147
|
|
|
6148
|
-
// bazel-out/
|
|
6148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6149
6149
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6150
6150
|
constructor() {
|
|
6151
6151
|
super(...arguments);
|
|
@@ -6170,7 +6170,7 @@ var factory = {
|
|
|
6170
6170
|
create: () => new InvalidBananaInBoxCheck()
|
|
6171
6171
|
};
|
|
6172
6172
|
|
|
6173
|
-
// bazel-out/
|
|
6173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6174
6174
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6175
6175
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6176
6176
|
["ngIf", "NgIf"],
|
|
@@ -6215,7 +6215,7 @@ var factory2 = {
|
|
|
6215
6215
|
}
|
|
6216
6216
|
};
|
|
6217
6217
|
|
|
6218
|
-
// bazel-out/
|
|
6218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6219
6219
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6220
6220
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6221
6221
|
constructor() {
|
|
@@ -6248,7 +6248,7 @@ var factory3 = {
|
|
|
6248
6248
|
create: () => new MissingNgForOfLetCheck()
|
|
6249
6249
|
};
|
|
6250
6250
|
|
|
6251
|
-
// bazel-out/
|
|
6251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6252
6252
|
import { Binary } from "@angular/compiler";
|
|
6253
6253
|
import ts27 from "typescript";
|
|
6254
6254
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6293,7 +6293,7 @@ var factory4 = {
|
|
|
6293
6293
|
}
|
|
6294
6294
|
};
|
|
6295
6295
|
|
|
6296
|
-
// bazel-out/
|
|
6296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6297
6297
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6298
6298
|
import ts28 from "typescript";
|
|
6299
6299
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6339,7 +6339,7 @@ var factory5 = {
|
|
|
6339
6339
|
}
|
|
6340
6340
|
};
|
|
6341
6341
|
|
|
6342
|
-
// bazel-out/
|
|
6342
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6343
6343
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6344
6344
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6345
6345
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6363,7 +6363,7 @@ var factory6 = {
|
|
|
6363
6363
|
create: () => new SuffixNotSupportedCheck()
|
|
6364
6364
|
};
|
|
6365
6365
|
|
|
6366
|
-
// bazel-out/
|
|
6366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6367
6367
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6368
6368
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6369
6369
|
constructor() {
|
|
@@ -6402,10 +6402,10 @@ var factory7 = {
|
|
|
6402
6402
|
create: () => new TextAttributeNotBindingSpec()
|
|
6403
6403
|
};
|
|
6404
6404
|
|
|
6405
|
-
// bazel-out/
|
|
6405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6406
6406
|
import ts29 from "typescript";
|
|
6407
6407
|
|
|
6408
|
-
// bazel-out/
|
|
6408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6409
6409
|
var DiagnosticCategoryLabel;
|
|
6410
6410
|
(function(DiagnosticCategoryLabel2) {
|
|
6411
6411
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6413,7 +6413,7 @@ var DiagnosticCategoryLabel;
|
|
|
6413
6413
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6414
6414
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6415
6415
|
|
|
6416
|
-
// bazel-out/
|
|
6416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6417
6417
|
var ExtendedTemplateCheckerImpl = class {
|
|
6418
6418
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6419
6419
|
var _a, _b, _c, _d, _e;
|
|
@@ -6466,7 +6466,7 @@ function assertNever(value) {
|
|
|
6466
6466
|
${value}`);
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
|
-
// bazel-out/
|
|
6469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6470
6470
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6471
6471
|
factory,
|
|
6472
6472
|
factory4,
|
|
@@ -6477,7 +6477,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6477
6477
|
factory6
|
|
6478
6478
|
];
|
|
6479
6479
|
|
|
6480
|
-
// bazel-out/
|
|
6480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6481
6481
|
var CompilationTicketKind;
|
|
6482
6482
|
(function(CompilationTicketKind2) {
|
|
6483
6483
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6949,7 +6949,7 @@ var NgCompiler = class {
|
|
|
6949
6949
|
return diagnostics;
|
|
6950
6950
|
}
|
|
6951
6951
|
makeCompilation() {
|
|
6952
|
-
var _a;
|
|
6952
|
+
var _a, _b;
|
|
6953
6953
|
const checker = this.inputProgram.getTypeChecker();
|
|
6954
6954
|
const reflector = new TypeScriptReflectionHost(checker);
|
|
6955
6955
|
let refEmitter;
|
|
@@ -7020,12 +7020,16 @@ var NgCompiler = class {
|
|
|
7020
7020
|
}
|
|
7021
7021
|
const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
|
|
7022
7022
|
const strictCtorDeps = this.options.strictInjectionParameters || false;
|
|
7023
|
+
const supportTestBed = (_a = this.options.supportTestBed) != null ? _a : true;
|
|
7024
|
+
if (supportTestBed === false && compilationMode === CompilationMode.PARTIAL) {
|
|
7025
|
+
throw new Error('TestBed support ("supportTestBed" option) cannot be disabled in partial compilation mode.');
|
|
7026
|
+
}
|
|
7023
7027
|
const handlers = [
|
|
7024
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
7025
|
-
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder),
|
|
7026
|
-
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
7027
|
-
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
|
|
7028
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (
|
|
7028
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed),
|
|
7029
|
+
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, supportTestBed),
|
|
7030
|
+
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed),
|
|
7031
|
+
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed),
|
|
7032
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_b = this.options.onlyPublishPublicTypingsForNgModules) != null ? _b : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed)
|
|
7029
7033
|
];
|
|
7030
7034
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
|
|
7031
7035
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -7212,7 +7216,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7212
7216
|
return versions;
|
|
7213
7217
|
}
|
|
7214
7218
|
|
|
7215
|
-
// bazel-out/
|
|
7219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7216
7220
|
import ts31 from "typescript";
|
|
7217
7221
|
var DelegatingCompilerHost2 = class {
|
|
7218
7222
|
constructor(delegate) {
|
|
@@ -7345,7 +7349,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7345
7349
|
}
|
|
7346
7350
|
};
|
|
7347
7351
|
|
|
7348
|
-
// bazel-out/
|
|
7352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7349
7353
|
var NgtscProgram = class {
|
|
7350
7354
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7351
7355
|
this.options = options;
|
|
@@ -7563,15 +7567,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7563
7567
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7564
7568
|
}
|
|
7565
7569
|
|
|
7566
|
-
// bazel-out/
|
|
7570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7567
7571
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7568
7572
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7569
7573
|
}
|
|
7570
7574
|
|
|
7571
|
-
// bazel-out/
|
|
7575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7572
7576
|
import ts34 from "typescript";
|
|
7573
7577
|
|
|
7574
|
-
// bazel-out/
|
|
7578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7575
7579
|
import ts33 from "typescript";
|
|
7576
7580
|
function createMessageDiagnostic(messageText) {
|
|
7577
7581
|
return {
|
|
@@ -7585,7 +7589,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7585
7589
|
};
|
|
7586
7590
|
}
|
|
7587
7591
|
|
|
7588
|
-
// bazel-out/
|
|
7592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7589
7593
|
var defaultFormatHost = {
|
|
7590
7594
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7591
7595
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7799,4 +7803,4 @@ export {
|
|
|
7799
7803
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7800
7804
|
* found in the LICENSE file at https://angular.io/license
|
|
7801
7805
|
*/
|
|
7802
|
-
//# sourceMappingURL=chunk-
|
|
7806
|
+
//# sourceMappingURL=chunk-LVVIYUZC.js.map
|