@angular/compiler-cli 16.1.0-next.1 → 16.1.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-Q5UROHFU.js → chunk-2LWEHGUD.js} +119 -110
- package/bundles/chunk-2LWEHGUD.js.map +6 -0
- package/bundles/{chunk-B6WD2R2T.js → chunk-2PV6GDIB.js} +22 -21
- package/bundles/chunk-2PV6GDIB.js.map +6 -0
- package/bundles/{chunk-VLCBVJOY.js → chunk-4KV4DPNH.js} +8 -8
- package/bundles/{chunk-QCPJUH3P.js → chunk-7ECYCAFM.js} +224 -104
- package/bundles/chunk-7ECYCAFM.js.map +6 -0
- package/bundles/{chunk-OVMU6P3K.js → chunk-C5JIFUTE.js} +5 -6
- package/bundles/{chunk-OVMU6P3K.js.map → chunk-C5JIFUTE.js.map} +1 -1
- package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-TBUSSXUA.js → chunk-K2U2VZ7S.js} +7 -7
- package/bundles/{chunk-WOVOJRYO.js → chunk-OPZ2XHZS.js} +46 -36
- package/bundles/chunk-OPZ2XHZS.js.map +6 -0
- package/bundles/{chunk-EKTJ7622.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-7PCPPTTO.js → chunk-URH5LEAG.js} +5 -5
- package/bundles/{chunk-64MYZ5SD.js → chunk-UZO5WCWI.js} +5 -5
- package/bundles/{chunk-T2BBDUF3.js → chunk-ZE33XMQ7.js} +9 -6
- package/bundles/chunk-ZE33XMQ7.js.map +6 -0
- 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 +3 -3
- package/src/ngtsc/annotations/common/index.d.ts +1 -0
- package/src/ngtsc/annotations/common/src/input_transforms.d.ts +11 -0
- package/src/ngtsc/annotations/common/src/util.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +5 -0
- package/src/ngtsc/metadata/src/api.d.ts +6 -0
- package/src/ngtsc/metadata/src/property_mapping.d.ts +3 -2
- package/src/ngtsc/reflection/src/host.d.ts +4 -0
- package/src/ngtsc/transform/src/api.d.ts +1 -1
- package/src/ngtsc/typecheck/api/api.d.ts +1 -2
- package/bundles/chunk-B6WD2R2T.js.map +0 -6
- package/bundles/chunk-Q5UROHFU.js.map +0 -6
- package/bundles/chunk-QCPJUH3P.js.map +0 -6
- package/bundles/chunk-T2BBDUF3.js.map +0 -6
- package/bundles/chunk-WOVOJRYO.js.map +0 -6
- /package/bundles/{chunk-VLCBVJOY.js.map → chunk-4KV4DPNH.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-K2U2VZ7S.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-7PCPPTTO.js.map → chunk-URH5LEAG.js.map} +0 -0
- /package/bundles/{chunk-64MYZ5SD.js.map → chunk-UZO5WCWI.js.map} +0 -0
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7ECYCAFM.js";
|
|
40
40
|
import {
|
|
41
41
|
TypeScriptReflectionHost,
|
|
42
42
|
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZE33XMQ7.js";
|
|
44
44
|
import {
|
|
45
45
|
ImportManager,
|
|
46
46
|
translateExpression,
|
|
47
47
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4KV4DPNH.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-2PV6GDIB.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-URH5LEAG.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-K2U2VZ7S.js";
|
|
105
105
|
|
|
106
|
-
// bazel-out/
|
|
106
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
107
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
108
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
109
|
var SOURCE = "angular";
|
|
@@ -121,7 +121,7 @@ var EmitFlags;
|
|
|
121
121
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
122
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
125
|
import ts from "typescript";
|
|
126
126
|
var wrapHostForTest = null;
|
|
127
127
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +131,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
131
|
return tsHost;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
135
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
136
|
import ts32 from "typescript";
|
|
137
137
|
|
|
138
|
-
// bazel-out/
|
|
138
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
139
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
140
|
import * as path from "path";
|
|
141
141
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +186,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
190
|
import ts2 from "typescript";
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
193
|
function toNumbers(value) {
|
|
194
194
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
195
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,7 +224,7 @@ function compareVersions(v1, v2) {
|
|
|
224
224
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin-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/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
241
|
import ts30 from "typescript";
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
244
|
var CycleAnalyzer = class {
|
|
245
245
|
constructor(importGraph) {
|
|
246
246
|
this.importGraph = importGraph;
|
|
@@ -311,7 +311,7 @@ var Cycle = class {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
315
|
import ts3 from "typescript";
|
|
316
316
|
var ImportGraph = class {
|
|
317
317
|
constructor(checker, perf) {
|
|
@@ -403,7 +403,7 @@ var Found = class {
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
407
|
import ts4 from "typescript";
|
|
408
408
|
var FlatIndexGenerator = class {
|
|
409
409
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +428,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
-
// bazel-out/
|
|
431
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
432
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
433
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
434
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +444,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
444
|
return resolvedEntryPoint;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
448
|
import ts5 from "typescript";
|
|
449
449
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
450
|
const diagnostics = [];
|
|
@@ -524,7 +524,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
528
|
var ReferenceGraph = class {
|
|
529
529
|
constructor() {
|
|
530
530
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +578,7 @@ var ReferenceGraph = class {
|
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
// bazel-out/
|
|
581
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
582
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
583
|
var UpdateMode;
|
|
584
584
|
(function(UpdateMode2) {
|
|
@@ -586,13 +586,13 @@ var UpdateMode;
|
|
|
586
586
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
587
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
590
|
import ts7 from "typescript";
|
|
591
591
|
|
|
592
|
-
// bazel-out/
|
|
592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
593
|
import ts6 from "typescript";
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
596
|
var NgExtension = Symbol("NgExtension");
|
|
597
597
|
function isExtended(sf) {
|
|
598
598
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +652,13 @@ function retagTsFile(sf) {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// bazel-out/
|
|
655
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
656
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
657
|
function makeShimFileName(fileName, suffix) {
|
|
658
658
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
662
|
var ShimAdapter = class {
|
|
663
663
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
664
|
this.delegate = delegate;
|
|
@@ -753,7 +753,7 @@ var ShimAdapter = class {
|
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
757
|
var ShimReferenceTagger = class {
|
|
758
758
|
constructor(shimExtensions) {
|
|
759
759
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +787,7 @@ var ShimReferenceTagger = class {
|
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
-
// bazel-out/
|
|
790
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
791
|
var DelegatingCompilerHost = class {
|
|
792
792
|
constructor(delegate) {
|
|
793
793
|
this.delegate = delegate;
|
|
@@ -900,7 +900,7 @@ var TsCreateProgramDriver = class {
|
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
904
904
|
var FileDependencyGraph = class {
|
|
905
905
|
constructor() {
|
|
906
906
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -967,7 +967,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
967
967
|
return false;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
// bazel-out/
|
|
970
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
971
971
|
var IncrementalStateKind;
|
|
972
972
|
(function(IncrementalStateKind2) {
|
|
973
973
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -975,7 +975,7 @@ var IncrementalStateKind;
|
|
|
975
975
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
976
976
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
977
977
|
|
|
978
|
-
// bazel-out/
|
|
978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
979
979
|
var PhaseKind;
|
|
980
980
|
(function(PhaseKind2) {
|
|
981
981
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1176,7 +1176,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
|
-
// bazel-out/
|
|
1179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1180
1180
|
var TrackedIncrementalBuildStrategy = class {
|
|
1181
1181
|
constructor() {
|
|
1182
1182
|
this.state = null;
|
|
@@ -1212,7 +1212,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1212
1212
|
};
|
|
1213
1213
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1214
1214
|
|
|
1215
|
-
// bazel-out/
|
|
1215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1216
1216
|
var IdentifierKind;
|
|
1217
1217
|
(function(IdentifierKind2) {
|
|
1218
1218
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1230,7 +1230,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
1232
|
|
|
1233
|
-
// bazel-out/
|
|
1233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1234
1234
|
var IndexingContext = class {
|
|
1235
1235
|
constructor() {
|
|
1236
1236
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1240,10 +1240,10 @@ var IndexingContext = class {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1244
1244
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1247
1247
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1248
1248
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1249
1249
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1480,7 +1480,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1480
1480
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1484
1484
|
function generateAnalysis(context) {
|
|
1485
1485
|
const analysis = /* @__PURE__ */ new Map();
|
|
1486
1486
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1516,7 +1516,7 @@ function generateAnalysis(context) {
|
|
|
1516
1516
|
return analysis;
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1520
1520
|
var NgModuleIndexImpl = class {
|
|
1521
1521
|
constructor(metaReader, localReader) {
|
|
1522
1522
|
this.metaReader = metaReader;
|
|
@@ -1605,7 +1605,7 @@ var NgModuleIndexImpl = class {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
// bazel-out/
|
|
1608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1609
1609
|
import ts8 from "typescript";
|
|
1610
1610
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1611
1611
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1751,7 +1751,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
// bazel-out/
|
|
1754
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1755
1755
|
var StandaloneComponentScopeReader = class {
|
|
1756
1756
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1757
1757
|
this.metaReader = metaReader;
|
|
@@ -1829,10 +1829,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1833
1833
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1834
1834
|
|
|
1835
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1836
1836
|
import ts9 from "typescript";
|
|
1837
1837
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1838
1838
|
var _a;
|
|
@@ -1939,7 +1939,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1939
1939
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
// bazel-out/
|
|
1942
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1943
1943
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1944
1944
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1945
1945
|
function getTemplateId(clazz) {
|
|
@@ -1956,11 +1956,11 @@ function allocateTemplateId(sf) {
|
|
|
1956
1956
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1957
1957
|
}
|
|
1958
1958
|
|
|
1959
|
-
// bazel-out/
|
|
1959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1960
1960
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1961
1961
|
import ts11 from "typescript";
|
|
1962
1962
|
|
|
1963
|
-
// bazel-out/
|
|
1963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1964
1964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1965
1965
|
import ts10 from "typescript";
|
|
1966
1966
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2090,7 +2090,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2090
2090
|
}) || false;
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2094
2094
|
var CompletionEngine = class {
|
|
2095
2095
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2096
2096
|
this.tcb = tcb;
|
|
@@ -2247,10 +2247,10 @@ var CompletionEngine = class {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
2249
|
|
|
2250
|
-
// bazel-out/
|
|
2250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2251
2251
|
import ts25 from "typescript";
|
|
2252
2252
|
|
|
2253
|
-
// bazel-out/
|
|
2253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2254
2254
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2255
2255
|
import ts12 from "typescript";
|
|
2256
2256
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2303,11 +2303,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2307
2307
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2308
2308
|
import ts18 from "typescript";
|
|
2309
2309
|
|
|
2310
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2311
2311
|
import ts13 from "typescript";
|
|
2312
2312
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2313
2313
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2381,16 +2381,16 @@ function isAccessExpression(node) {
|
|
|
2381
2381
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2385
2385
|
import ts17 from "typescript";
|
|
2386
2386
|
|
|
2387
|
-
// bazel-out/
|
|
2387
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2388
2388
|
import ts16 from "typescript";
|
|
2389
2389
|
|
|
2390
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2391
2391
|
import ts15 from "typescript";
|
|
2392
2392
|
|
|
2393
|
-
// bazel-out/
|
|
2393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2394
2394
|
import ts14 from "typescript";
|
|
2395
2395
|
var INELIGIBLE = {};
|
|
2396
2396
|
function canEmitType(type, canEmit) {
|
|
@@ -2465,7 +2465,7 @@ var TypeEmitter = class {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
};
|
|
2467
2467
|
|
|
2468
|
-
// bazel-out/
|
|
2468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2469
2469
|
var TypeParameterEmitter = class {
|
|
2470
2470
|
constructor(typeParameters, reflector) {
|
|
2471
2471
|
this.typeParameters = typeParameters;
|
|
@@ -2542,7 +2542,7 @@ var TypeParameterEmitter = class {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
};
|
|
2544
2544
|
|
|
2545
|
-
// bazel-out/
|
|
2545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2546
2546
|
var TcbInliningRequirement;
|
|
2547
2547
|
(function(TcbInliningRequirement2) {
|
|
2548
2548
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2622,7 +2622,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2622
2622
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2623
2623
|
}
|
|
2624
2624
|
|
|
2625
|
-
// bazel-out/
|
|
2625
|
+
// bazel-out/darwin-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);
|
|
@@ -2680,18 +2680,17 @@ function generateInlineTypeCtor(node, meta) {
|
|
|
2680
2680
|
}
|
|
2681
2681
|
function constructTypeCtorParameter(node, meta, rawType) {
|
|
2682
2682
|
let initType = null;
|
|
2683
|
-
const keys = meta.fields.inputs;
|
|
2684
2683
|
const plainKeys = [];
|
|
2685
2684
|
const coercedKeys = [];
|
|
2686
|
-
for (const
|
|
2687
|
-
if (!meta.coercedInputFields.has(
|
|
2688
|
-
plainKeys.push(ts17.factory.createLiteralTypeNode(ts17.factory.createStringLiteral(
|
|
2685
|
+
for (const { classPropertyName, transform } of meta.fields.inputs) {
|
|
2686
|
+
if (!meta.coercedInputFields.has(classPropertyName)) {
|
|
2687
|
+
plainKeys.push(ts17.factory.createLiteralTypeNode(ts17.factory.createStringLiteral(classPropertyName)));
|
|
2689
2688
|
} else {
|
|
2690
2689
|
coercedKeys.push(ts17.factory.createPropertySignature(
|
|
2691
2690
|
void 0,
|
|
2692
|
-
|
|
2691
|
+
classPropertyName,
|
|
2693
2692
|
void 0,
|
|
2694
|
-
tsCreateTypeQueryForCoercedInput(rawType.typeName,
|
|
2693
|
+
transform == null ? tsCreateTypeQueryForCoercedInput(rawType.typeName, classPropertyName) : transform.type
|
|
2695
2694
|
));
|
|
2696
2695
|
}
|
|
2697
2696
|
}
|
|
@@ -2734,7 +2733,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2734
2733
|
});
|
|
2735
2734
|
}
|
|
2736
2735
|
|
|
2737
|
-
// bazel-out/
|
|
2736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2738
2737
|
var Environment = class {
|
|
2739
2738
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2740
2739
|
this.config = config;
|
|
@@ -2772,8 +2771,7 @@ var Environment = class {
|
|
|
2772
2771
|
fnName,
|
|
2773
2772
|
body: true,
|
|
2774
2773
|
fields: {
|
|
2775
|
-
inputs: dir.inputs
|
|
2776
|
-
outputs: dir.outputs.classPropertyNames,
|
|
2774
|
+
inputs: dir.inputs,
|
|
2777
2775
|
queries: dir.queries
|
|
2778
2776
|
},
|
|
2779
2777
|
coercedInputFields: dir.coercedInputFields
|
|
@@ -2829,7 +2827,7 @@ var Environment = class {
|
|
|
2829
2827
|
}
|
|
2830
2828
|
};
|
|
2831
2829
|
|
|
2832
|
-
// bazel-out/
|
|
2830
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2833
2831
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2834
2832
|
import ts19 from "typescript";
|
|
2835
2833
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2966,7 +2964,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2966
2964
|
};
|
|
2967
2965
|
}
|
|
2968
2966
|
|
|
2969
|
-
// bazel-out/
|
|
2967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2970
2968
|
import ts20 from "typescript";
|
|
2971
2969
|
var TypeCheckShimGenerator = class {
|
|
2972
2970
|
constructor() {
|
|
@@ -2984,11 +2982,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2984
2982
|
}
|
|
2985
2983
|
};
|
|
2986
2984
|
|
|
2987
|
-
// bazel-out/
|
|
2988
|
-
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
2985
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
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";
|
|
2989
2987
|
import ts23 from "typescript";
|
|
2990
2988
|
|
|
2991
|
-
// bazel-out/
|
|
2989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
2992
2990
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
2993
2991
|
import ts21 from "typescript";
|
|
2994
2992
|
function wrapForDiagnostics(expr) {
|
|
@@ -3034,7 +3032,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3034
3032
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3035
3033
|
}
|
|
3036
3034
|
|
|
3037
|
-
// bazel-out/
|
|
3035
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3038
3036
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3039
3037
|
import ts22 from "typescript";
|
|
3040
3038
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3367,7 +3365,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3367
3365
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3368
3366
|
})();
|
|
3369
3367
|
|
|
3370
|
-
// bazel-out/
|
|
3368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3371
3369
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3372
3370
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3373
3371
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3391,7 +3389,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3391
3389
|
}
|
|
3392
3390
|
};
|
|
3393
3391
|
|
|
3394
|
-
// bazel-out/
|
|
3392
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3395
3393
|
var TcbGenericContextBehavior;
|
|
3396
3394
|
(function(TcbGenericContextBehavior2) {
|
|
3397
3395
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -3740,18 +3738,23 @@ var TcbDirectiveInputsOp = class extends TcbOp {
|
|
|
3740
3738
|
for (const attr of boundAttrs) {
|
|
3741
3739
|
const expr = widenBinding(translateInput(attr.attribute, this.tcb, this.scope), this.tcb);
|
|
3742
3740
|
let assignment = wrapForDiagnostics(expr);
|
|
3743
|
-
for (const { fieldName, required } of attr.inputs) {
|
|
3741
|
+
for (const { fieldName, required, transformType } of attr.inputs) {
|
|
3744
3742
|
let target;
|
|
3745
3743
|
if (required) {
|
|
3746
3744
|
seenRequiredInputs.add(fieldName);
|
|
3747
3745
|
}
|
|
3748
3746
|
if (this.dir.coercedInputFields.has(fieldName)) {
|
|
3749
|
-
|
|
3750
|
-
if (
|
|
3751
|
-
|
|
3747
|
+
let type;
|
|
3748
|
+
if (transformType) {
|
|
3749
|
+
type = this.tcb.env.referenceTransplantedType(new TransplantedType(transformType));
|
|
3750
|
+
} else {
|
|
3751
|
+
const dirTypeRef = this.tcb.env.referenceType(this.dir.ref);
|
|
3752
|
+
if (!ts23.isTypeReferenceNode(dirTypeRef)) {
|
|
3753
|
+
throw new Error(`Expected TypeReferenceNode from reference to ${this.dir.ref.debugName}`);
|
|
3754
|
+
}
|
|
3755
|
+
type = tsCreateTypeQueryForCoercedInput(dirTypeRef.typeName, fieldName);
|
|
3752
3756
|
}
|
|
3753
3757
|
const id = this.tcb.allocateId();
|
|
3754
|
-
const type = tsCreateTypeQueryForCoercedInput(dirTypeRef.typeName, fieldName);
|
|
3755
3758
|
this.scope.addStatement(tsDeclareVariable(id, type));
|
|
3756
3759
|
target = id;
|
|
3757
3760
|
} else if (this.dir.undeclaredInputFields.has(fieldName)) {
|
|
@@ -4408,7 +4411,14 @@ function getBoundAttributes(directive, node) {
|
|
|
4408
4411
|
if (inputs !== null) {
|
|
4409
4412
|
boundInputs.push({
|
|
4410
4413
|
attribute: attr,
|
|
4411
|
-
inputs: inputs.map((input) =>
|
|
4414
|
+
inputs: inputs.map((input) => {
|
|
4415
|
+
var _a;
|
|
4416
|
+
return {
|
|
4417
|
+
fieldName: input.classPropertyName,
|
|
4418
|
+
required: input.required,
|
|
4419
|
+
transformType: ((_a = input.transform) == null ? void 0 : _a.type) || null
|
|
4420
|
+
};
|
|
4421
|
+
})
|
|
4412
4422
|
});
|
|
4413
4423
|
}
|
|
4414
4424
|
};
|
|
@@ -4506,7 +4516,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4506
4516
|
}
|
|
4507
4517
|
};
|
|
4508
4518
|
|
|
4509
|
-
// bazel-out/
|
|
4519
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4510
4520
|
import ts24 from "typescript";
|
|
4511
4521
|
var TypeCheckFile = class extends Environment {
|
|
4512
4522
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4542,7 +4552,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4542
4552
|
}
|
|
4543
4553
|
};
|
|
4544
4554
|
|
|
4545
|
-
// bazel-out/
|
|
4555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4546
4556
|
var InliningMode;
|
|
4547
4557
|
(function(InliningMode2) {
|
|
4548
4558
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4587,8 +4597,7 @@ var TypeCheckContextImpl = class {
|
|
|
4587
4597
|
fnName: "ngTypeCtor",
|
|
4588
4598
|
body: !dirNode.getSourceFile().isDeclarationFile,
|
|
4589
4599
|
fields: {
|
|
4590
|
-
inputs: dir.inputs
|
|
4591
|
-
outputs: dir.outputs.classPropertyNames,
|
|
4600
|
+
inputs: dir.inputs,
|
|
4592
4601
|
queries: dir.queries
|
|
4593
4602
|
},
|
|
4594
4603
|
coercedInputFields: dir.coercedInputFields
|
|
@@ -4780,10 +4789,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4780
4789
|
return splits;
|
|
4781
4790
|
}
|
|
4782
4791
|
|
|
4783
|
-
// bazel-out/
|
|
4792
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4784
4793
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4785
4794
|
|
|
4786
|
-
// bazel-out/
|
|
4795
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4787
4796
|
var LF_CHAR = 10;
|
|
4788
4797
|
var CR_CHAR = 13;
|
|
4789
4798
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4824,7 +4833,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4824
4833
|
return low - 1;
|
|
4825
4834
|
}
|
|
4826
4835
|
|
|
4827
|
-
// bazel-out/
|
|
4836
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4828
4837
|
var TemplateSource = class {
|
|
4829
4838
|
constructor(mapping, file) {
|
|
4830
4839
|
this.mapping = mapping;
|
|
@@ -4875,7 +4884,7 @@ var TemplateSourceManager = class {
|
|
|
4875
4884
|
}
|
|
4876
4885
|
};
|
|
4877
4886
|
|
|
4878
|
-
// bazel-out/
|
|
4887
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4879
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";
|
|
4880
4889
|
import ts26 from "typescript";
|
|
4881
4890
|
var SymbolBuilder = class {
|
|
@@ -5359,7 +5368,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5359
5368
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5360
5369
|
}
|
|
5361
5370
|
|
|
5362
|
-
// bazel-out/
|
|
5371
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5363
5372
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5364
5373
|
var TemplateTypeCheckerImpl = class {
|
|
5365
5374
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6053,10 +6062,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6053
6062
|
}
|
|
6054
6063
|
};
|
|
6055
6064
|
|
|
6056
|
-
// bazel-out/
|
|
6065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6057
6066
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6058
6067
|
|
|
6059
|
-
// bazel-out/
|
|
6068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6060
6069
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
6061
6070
|
var TemplateCheckWithVisitor = class {
|
|
6062
6071
|
run(ctx, component, template) {
|
|
@@ -6133,7 +6142,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6133
6142
|
}
|
|
6134
6143
|
};
|
|
6135
6144
|
|
|
6136
|
-
// bazel-out/
|
|
6145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6137
6146
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6138
6147
|
constructor() {
|
|
6139
6148
|
super(...arguments);
|
|
@@ -6158,7 +6167,7 @@ var factory = {
|
|
|
6158
6167
|
create: () => new InvalidBananaInBoxCheck()
|
|
6159
6168
|
};
|
|
6160
6169
|
|
|
6161
|
-
// bazel-out/
|
|
6170
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6162
6171
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6163
6172
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6164
6173
|
["ngIf", "NgIf"],
|
|
@@ -6203,7 +6212,7 @@ var factory2 = {
|
|
|
6203
6212
|
}
|
|
6204
6213
|
};
|
|
6205
6214
|
|
|
6206
|
-
// bazel-out/
|
|
6215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6207
6216
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6208
6217
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6209
6218
|
constructor() {
|
|
@@ -6236,7 +6245,7 @@ var factory3 = {
|
|
|
6236
6245
|
create: () => new MissingNgForOfLetCheck()
|
|
6237
6246
|
};
|
|
6238
6247
|
|
|
6239
|
-
// bazel-out/
|
|
6248
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6240
6249
|
import { Binary } from "@angular/compiler";
|
|
6241
6250
|
import ts27 from "typescript";
|
|
6242
6251
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6281,7 +6290,7 @@ var factory4 = {
|
|
|
6281
6290
|
}
|
|
6282
6291
|
};
|
|
6283
6292
|
|
|
6284
|
-
// bazel-out/
|
|
6293
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6285
6294
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6286
6295
|
import ts28 from "typescript";
|
|
6287
6296
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6327,7 +6336,7 @@ var factory5 = {
|
|
|
6327
6336
|
}
|
|
6328
6337
|
};
|
|
6329
6338
|
|
|
6330
|
-
// bazel-out/
|
|
6339
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6331
6340
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6332
6341
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6333
6342
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6351,7 +6360,7 @@ var factory6 = {
|
|
|
6351
6360
|
create: () => new SuffixNotSupportedCheck()
|
|
6352
6361
|
};
|
|
6353
6362
|
|
|
6354
|
-
// bazel-out/
|
|
6363
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6355
6364
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6356
6365
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6357
6366
|
constructor() {
|
|
@@ -6390,10 +6399,10 @@ var factory7 = {
|
|
|
6390
6399
|
create: () => new TextAttributeNotBindingSpec()
|
|
6391
6400
|
};
|
|
6392
6401
|
|
|
6393
|
-
// bazel-out/
|
|
6402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6394
6403
|
import ts29 from "typescript";
|
|
6395
6404
|
|
|
6396
|
-
// bazel-out/
|
|
6405
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6397
6406
|
var DiagnosticCategoryLabel;
|
|
6398
6407
|
(function(DiagnosticCategoryLabel2) {
|
|
6399
6408
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6401,7 +6410,7 @@ var DiagnosticCategoryLabel;
|
|
|
6401
6410
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6402
6411
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6403
6412
|
|
|
6404
|
-
// bazel-out/
|
|
6413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6405
6414
|
var ExtendedTemplateCheckerImpl = class {
|
|
6406
6415
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6407
6416
|
var _a, _b, _c, _d, _e;
|
|
@@ -6454,7 +6463,7 @@ function assertNever(value) {
|
|
|
6454
6463
|
${value}`);
|
|
6455
6464
|
}
|
|
6456
6465
|
|
|
6457
|
-
// bazel-out/
|
|
6466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6458
6467
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6459
6468
|
factory,
|
|
6460
6469
|
factory4,
|
|
@@ -6465,7 +6474,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6465
6474
|
factory6
|
|
6466
6475
|
];
|
|
6467
6476
|
|
|
6468
|
-
// bazel-out/
|
|
6477
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6469
6478
|
var CompilationTicketKind;
|
|
6470
6479
|
(function(CompilationTicketKind2) {
|
|
6471
6480
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7200,7 +7209,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7200
7209
|
return versions;
|
|
7201
7210
|
}
|
|
7202
7211
|
|
|
7203
|
-
// bazel-out/
|
|
7212
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7204
7213
|
import ts31 from "typescript";
|
|
7205
7214
|
var DelegatingCompilerHost2 = class {
|
|
7206
7215
|
constructor(delegate) {
|
|
@@ -7333,7 +7342,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7333
7342
|
}
|
|
7334
7343
|
};
|
|
7335
7344
|
|
|
7336
|
-
// bazel-out/
|
|
7345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7337
7346
|
var NgtscProgram = class {
|
|
7338
7347
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7339
7348
|
this.options = options;
|
|
@@ -7551,15 +7560,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7551
7560
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7552
7561
|
}
|
|
7553
7562
|
|
|
7554
|
-
// bazel-out/
|
|
7563
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7555
7564
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7556
7565
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7557
7566
|
}
|
|
7558
7567
|
|
|
7559
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7560
7569
|
import ts34 from "typescript";
|
|
7561
7570
|
|
|
7562
|
-
// bazel-out/
|
|
7571
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7563
7572
|
import ts33 from "typescript";
|
|
7564
7573
|
function createMessageDiagnostic(messageText) {
|
|
7565
7574
|
return {
|
|
@@ -7573,7 +7582,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7573
7582
|
};
|
|
7574
7583
|
}
|
|
7575
7584
|
|
|
7576
|
-
// bazel-out/
|
|
7585
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7577
7586
|
var defaultFormatHost = {
|
|
7578
7587
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7579
7588
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7787,4 +7796,4 @@ export {
|
|
|
7787
7796
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7788
7797
|
* found in the LICENSE file at https://angular.io/license
|
|
7789
7798
|
*/
|
|
7790
|
-
//# sourceMappingURL=chunk-
|
|
7799
|
+
//# sourceMappingURL=chunk-2LWEHGUD.js.map
|