@angular/compiler-cli 16.2.0-next.4 → 16.2.0-rc.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-GRJYX2PA.js → chunk-5GPIY4NW.js} +5 -5
- package/bundles/{chunk-WF3L5COT.js → chunk-CS2FNZXR.js} +774 -47
- package/bundles/chunk-CS2FNZXR.js.map +6 -0
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-SJLWUYXS.js → chunk-EMPTJWPY.js} +5 -7
- package/bundles/chunk-EMPTJWPY.js.map +6 -0
- package/bundles/{chunk-EKTJ7622.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-7PCPPTTO.js → chunk-HJOPJLIM.js} +5 -5
- package/bundles/{chunk-IPC76KA7.js → chunk-LRT6BBZP.js} +8 -8
- package/bundles/{chunk-E72KZKRK.js → chunk-NFCNUCPF.js} +97 -97
- package/bundles/chunk-NFCNUCPF.js.map +6 -0
- package/bundles/{chunk-YZ3WOD5G.js → chunk-NYVNWJZI.js} +207 -111
- package/bundles/chunk-NYVNWJZI.js.map +6 -0
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-DKWZY2MH.js → chunk-TU4LAK6J.js} +33 -31
- package/bundles/{chunk-DKWZY2MH.js.map → chunk-TU4LAK6J.js.map} +1 -1
- package/bundles/chunk-UHYH6BYB.js +12 -0
- package/bundles/chunk-UHYH6BYB.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 +7 -8
- 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 +8 -2
- package/src/ngtsc/annotations/component/src/metadata.d.ts +1 -1
- package/src/ngtsc/imports/index.d.ts +1 -0
- package/src/ngtsc/imports/src/deferred_symbol_tracker.d.ts +47 -0
- package/src/ngtsc/reflection/src/host.d.ts +4 -0
- package/src/ngtsc/reflection/src/typescript.d.ts +5 -0
- package/bundles/chunk-E72KZKRK.js.map +0 -6
- package/bundles/chunk-NIK4FIWB.js +0 -643
- package/bundles/chunk-NIK4FIWB.js.map +0 -6
- package/bundles/chunk-SJLWUYXS.js.map +0 -6
- package/bundles/chunk-WF3L5COT.js.map +0 -6
- package/bundles/chunk-YZ3WOD5G.js.map +0 -6
- /package/bundles/{chunk-GRJYX2PA.js.map → chunk-5GPIY4NW.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-7PCPPTTO.js.map → chunk-HJOPJLIM.js.map} +0 -0
- /package/bundles/{chunk-IPC76KA7.js.map → chunk-LRT6BBZP.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
|
@@ -36,21 +36,18 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
TypeScriptReflectionHost,
|
|
42
|
-
isNamedClassDeclaration
|
|
43
|
-
} from "./chunk-NIK4FIWB.js";
|
|
39
|
+
} from "./chunk-NYVNWJZI.js";
|
|
44
40
|
import {
|
|
45
41
|
ImportManager,
|
|
46
42
|
translateExpression,
|
|
47
43
|
translateType
|
|
48
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-LRT6BBZP.js";
|
|
49
45
|
import {
|
|
50
46
|
AbsoluteModuleStrategy,
|
|
51
47
|
AliasStrategy,
|
|
52
48
|
COMPILER_ERRORS_WITH_GUIDES,
|
|
53
49
|
DefaultImportTracker,
|
|
50
|
+
DeferredSymbolTracker,
|
|
54
51
|
ERROR_DETAILS_PAGE_BASE_URL,
|
|
55
52
|
ErrorCode,
|
|
56
53
|
ExtendedTemplateDiagnosticName,
|
|
@@ -65,6 +62,7 @@ import {
|
|
|
65
62
|
Reference,
|
|
66
63
|
ReferenceEmitter,
|
|
67
64
|
RelativePathStrategy,
|
|
65
|
+
TypeScriptReflectionHost,
|
|
68
66
|
UnifiedModulesAliasingHost,
|
|
69
67
|
UnifiedModulesStrategy,
|
|
70
68
|
addDiagnosticChain,
|
|
@@ -74,6 +72,7 @@ import {
|
|
|
74
72
|
getTokenAtPosition,
|
|
75
73
|
isAssignment,
|
|
76
74
|
isDtsPath,
|
|
75
|
+
isNamedClassDeclaration,
|
|
77
76
|
isNonDeclarationTsPath,
|
|
78
77
|
isSymbolWithValueDeclaration,
|
|
79
78
|
makeDiagnostic,
|
|
@@ -84,14 +83,14 @@ import {
|
|
|
84
83
|
relativePathBetween,
|
|
85
84
|
replaceTsWithNgInErrors,
|
|
86
85
|
toUnredirectedSourceFile
|
|
87
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-CS2FNZXR.js";
|
|
88
87
|
import {
|
|
89
88
|
ActivePerfRecorder,
|
|
90
89
|
DelegatingPerfRecorder,
|
|
91
90
|
PerfCheckpoint,
|
|
92
91
|
PerfEvent,
|
|
93
92
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-HJOPJLIM.js";
|
|
95
94
|
import {
|
|
96
95
|
LogicalFileSystem,
|
|
97
96
|
absoluteFrom,
|
|
@@ -101,9 +100,9 @@ import {
|
|
|
101
100
|
getSourceFileOrError,
|
|
102
101
|
join,
|
|
103
102
|
resolve
|
|
104
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-EC5K6QPP.js";
|
|
105
104
|
|
|
106
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
107
106
|
var DEFAULT_ERROR_CODE = 100;
|
|
108
107
|
var UNKNOWN_ERROR_CODE = 500;
|
|
109
108
|
var SOURCE = "angular";
|
|
@@ -121,7 +120,7 @@ var EmitFlags;
|
|
|
121
120
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
122
121
|
})(EmitFlags || (EmitFlags = {}));
|
|
123
122
|
|
|
124
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
125
124
|
import ts from "typescript";
|
|
126
125
|
var wrapHostForTest = null;
|
|
127
126
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -131,11 +130,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
131
130
|
return tsHost;
|
|
132
131
|
}
|
|
133
132
|
|
|
134
|
-
// bazel-out/
|
|
133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
135
134
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
136
135
|
import ts32 from "typescript";
|
|
137
136
|
|
|
138
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
139
138
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
140
139
|
import * as path from "path";
|
|
141
140
|
function i18nGetExtension(formatName) {
|
|
@@ -186,10 +185,10 @@ function getPathNormalizer(basePath) {
|
|
|
186
185
|
};
|
|
187
186
|
}
|
|
188
187
|
|
|
189
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
190
189
|
import ts2 from "typescript";
|
|
191
190
|
|
|
192
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
193
192
|
function toNumbers(value) {
|
|
194
193
|
const suffixIndex = value.lastIndexOf("-");
|
|
195
194
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -224,7 +223,7 @@ function compareVersions(v1, v2) {
|
|
|
224
223
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
225
224
|
}
|
|
226
225
|
|
|
227
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
228
227
|
var MIN_TS_VERSION = "4.9.3";
|
|
229
228
|
var MAX_TS_VERSION = "5.2.0";
|
|
230
229
|
var tsVersion = ts2.version;
|
|
@@ -237,10 +236,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
237
236
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
238
237
|
}
|
|
239
238
|
|
|
240
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
241
240
|
import ts30 from "typescript";
|
|
242
241
|
|
|
243
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
244
243
|
var CycleAnalyzer = class {
|
|
245
244
|
constructor(importGraph) {
|
|
246
245
|
this.importGraph = importGraph;
|
|
@@ -311,7 +310,7 @@ var Cycle = class {
|
|
|
311
310
|
}
|
|
312
311
|
};
|
|
313
312
|
|
|
314
|
-
// bazel-out/
|
|
313
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
315
314
|
import ts3 from "typescript";
|
|
316
315
|
var ImportGraph = class {
|
|
317
316
|
constructor(checker, perf) {
|
|
@@ -403,7 +402,7 @@ var Found = class {
|
|
|
403
402
|
}
|
|
404
403
|
};
|
|
405
404
|
|
|
406
|
-
// bazel-out/
|
|
405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
407
406
|
import ts4 from "typescript";
|
|
408
407
|
var FlatIndexGenerator = class {
|
|
409
408
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -428,7 +427,7 @@ export * from '${relativeEntryPoint}';
|
|
|
428
427
|
}
|
|
429
428
|
};
|
|
430
429
|
|
|
431
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
432
431
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
433
432
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
434
433
|
let resolvedEntryPoint = null;
|
|
@@ -444,7 +443,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
444
443
|
return resolvedEntryPoint;
|
|
445
444
|
}
|
|
446
445
|
|
|
447
|
-
// bazel-out/
|
|
446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
448
447
|
import ts5 from "typescript";
|
|
449
448
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
450
449
|
const diagnostics = [];
|
|
@@ -524,7 +523,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
524
523
|
}
|
|
525
524
|
}
|
|
526
525
|
|
|
527
|
-
// bazel-out/
|
|
526
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
528
527
|
var ReferenceGraph = class {
|
|
529
528
|
constructor() {
|
|
530
529
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -578,7 +577,7 @@ var ReferenceGraph = class {
|
|
|
578
577
|
}
|
|
579
578
|
};
|
|
580
579
|
|
|
581
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
582
581
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
583
582
|
var UpdateMode;
|
|
584
583
|
(function(UpdateMode2) {
|
|
@@ -586,13 +585,13 @@ var UpdateMode;
|
|
|
586
585
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
587
586
|
})(UpdateMode || (UpdateMode = {}));
|
|
588
587
|
|
|
589
|
-
// bazel-out/
|
|
588
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
590
589
|
import ts7 from "typescript";
|
|
591
590
|
|
|
592
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
593
592
|
import ts6 from "typescript";
|
|
594
593
|
|
|
595
|
-
// bazel-out/
|
|
594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
596
595
|
var NgExtension = Symbol("NgExtension");
|
|
597
596
|
function isExtended(sf) {
|
|
598
597
|
return sf[NgExtension] !== void 0;
|
|
@@ -652,13 +651,13 @@ function retagTsFile(sf) {
|
|
|
652
651
|
}
|
|
653
652
|
}
|
|
654
653
|
|
|
655
|
-
// bazel-out/
|
|
654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
656
655
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
657
656
|
function makeShimFileName(fileName, suffix) {
|
|
658
657
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
659
658
|
}
|
|
660
659
|
|
|
661
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
662
661
|
var ShimAdapter = class {
|
|
663
662
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
664
663
|
this.delegate = delegate;
|
|
@@ -753,7 +752,7 @@ var ShimAdapter = class {
|
|
|
753
752
|
}
|
|
754
753
|
};
|
|
755
754
|
|
|
756
|
-
// bazel-out/
|
|
755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
757
756
|
var ShimReferenceTagger = class {
|
|
758
757
|
constructor(shimExtensions) {
|
|
759
758
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -787,7 +786,7 @@ var ShimReferenceTagger = class {
|
|
|
787
786
|
}
|
|
788
787
|
};
|
|
789
788
|
|
|
790
|
-
// bazel-out/
|
|
789
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
791
790
|
var DelegatingCompilerHost = class {
|
|
792
791
|
constructor(delegate) {
|
|
793
792
|
this.delegate = delegate;
|
|
@@ -900,7 +899,7 @@ var TsCreateProgramDriver = class {
|
|
|
900
899
|
}
|
|
901
900
|
};
|
|
902
901
|
|
|
903
|
-
// bazel-out/
|
|
902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
904
903
|
var FileDependencyGraph = class {
|
|
905
904
|
constructor() {
|
|
906
905
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -967,7 +966,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
967
966
|
return false;
|
|
968
967
|
}
|
|
969
968
|
|
|
970
|
-
// bazel-out/
|
|
969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
971
970
|
var IncrementalStateKind;
|
|
972
971
|
(function(IncrementalStateKind2) {
|
|
973
972
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -975,7 +974,7 @@ var IncrementalStateKind;
|
|
|
975
974
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
976
975
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
977
976
|
|
|
978
|
-
// bazel-out/
|
|
977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
979
978
|
var PhaseKind;
|
|
980
979
|
(function(PhaseKind2) {
|
|
981
980
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1176,7 +1175,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1176
1175
|
}
|
|
1177
1176
|
}
|
|
1178
1177
|
|
|
1179
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1180
1179
|
var TrackedIncrementalBuildStrategy = class {
|
|
1181
1180
|
constructor() {
|
|
1182
1181
|
this.state = null;
|
|
@@ -1212,7 +1211,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1212
1211
|
};
|
|
1213
1212
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1214
1213
|
|
|
1215
|
-
// bazel-out/
|
|
1214
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1216
1215
|
var IdentifierKind;
|
|
1217
1216
|
(function(IdentifierKind2) {
|
|
1218
1217
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1230,7 +1229,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1230
1229
|
}
|
|
1231
1230
|
};
|
|
1232
1231
|
|
|
1233
|
-
// bazel-out/
|
|
1232
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1234
1233
|
var IndexingContext = class {
|
|
1235
1234
|
constructor() {
|
|
1236
1235
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1240,10 +1239,10 @@ var IndexingContext = class {
|
|
|
1240
1239
|
}
|
|
1241
1240
|
};
|
|
1242
1241
|
|
|
1243
|
-
// bazel-out/
|
|
1242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1244
1243
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1245
1244
|
|
|
1246
|
-
// bazel-out/
|
|
1245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1247
1246
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1248
1247
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1249
1248
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1496,7 +1495,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1496
1495
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1497
1496
|
}
|
|
1498
1497
|
|
|
1499
|
-
// bazel-out/
|
|
1498
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1500
1499
|
function generateAnalysis(context) {
|
|
1501
1500
|
const analysis = /* @__PURE__ */ new Map();
|
|
1502
1501
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1532,7 +1531,7 @@ function generateAnalysis(context) {
|
|
|
1532
1531
|
return analysis;
|
|
1533
1532
|
}
|
|
1534
1533
|
|
|
1535
|
-
// bazel-out/
|
|
1534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
1536
1535
|
var NgModuleIndexImpl = class {
|
|
1537
1536
|
constructor(metaReader, localReader) {
|
|
1538
1537
|
this.metaReader = metaReader;
|
|
@@ -1621,7 +1620,7 @@ var NgModuleIndexImpl = class {
|
|
|
1621
1620
|
}
|
|
1622
1621
|
};
|
|
1623
1622
|
|
|
1624
|
-
// bazel-out/
|
|
1623
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1625
1624
|
import ts8 from "typescript";
|
|
1626
1625
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1627
1626
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1767,7 +1766,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1767
1766
|
};
|
|
1768
1767
|
}
|
|
1769
1768
|
|
|
1770
|
-
// bazel-out/
|
|
1769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1771
1770
|
var StandaloneComponentScopeReader = class {
|
|
1772
1771
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1773
1772
|
this.metaReader = metaReader;
|
|
@@ -1845,10 +1844,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1845
1844
|
}
|
|
1846
1845
|
};
|
|
1847
1846
|
|
|
1848
|
-
// bazel-out/
|
|
1847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1849
1848
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
|
|
1850
1849
|
|
|
1851
|
-
// bazel-out/
|
|
1850
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1852
1851
|
import ts9 from "typescript";
|
|
1853
1852
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1854
1853
|
var _a;
|
|
@@ -1955,7 +1954,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
1955
1954
|
return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
|
|
1956
1955
|
}
|
|
1957
1956
|
|
|
1958
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
1959
1958
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
1960
1959
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
1961
1960
|
function getTemplateId(clazz) {
|
|
@@ -1972,11 +1971,11 @@ function allocateTemplateId(sf) {
|
|
|
1972
1971
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
1973
1972
|
}
|
|
1974
1973
|
|
|
1975
|
-
// bazel-out/
|
|
1974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
1976
1975
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
1977
1976
|
import ts11 from "typescript";
|
|
1978
1977
|
|
|
1979
|
-
// bazel-out/
|
|
1978
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
1980
1979
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
1981
1980
|
import ts10 from "typescript";
|
|
1982
1981
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2106,7 +2105,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2106
2105
|
}) || false;
|
|
2107
2106
|
}
|
|
2108
2107
|
|
|
2109
|
-
// bazel-out/
|
|
2108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2110
2109
|
var CompletionEngine = class {
|
|
2111
2110
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2112
2111
|
this.tcb = tcb;
|
|
@@ -2263,10 +2262,10 @@ var CompletionEngine = class {
|
|
|
2263
2262
|
}
|
|
2264
2263
|
};
|
|
2265
2264
|
|
|
2266
|
-
// bazel-out/
|
|
2265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2267
2266
|
import ts25 from "typescript";
|
|
2268
2267
|
|
|
2269
|
-
// bazel-out/
|
|
2268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2270
2269
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2271
2270
|
import ts12 from "typescript";
|
|
2272
2271
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2319,11 +2318,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2319
2318
|
}
|
|
2320
2319
|
};
|
|
2321
2320
|
|
|
2322
|
-
// bazel-out/
|
|
2321
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2323
2322
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2324
2323
|
import ts18 from "typescript";
|
|
2325
2324
|
|
|
2326
|
-
// bazel-out/
|
|
2325
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2327
2326
|
import ts13 from "typescript";
|
|
2328
2327
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
2329
2328
|
ts13.SyntaxKind.ParenthesizedExpression,
|
|
@@ -2397,16 +2396,16 @@ function isAccessExpression(node) {
|
|
|
2397
2396
|
return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
|
|
2398
2397
|
}
|
|
2399
2398
|
|
|
2400
|
-
// bazel-out/
|
|
2399
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2401
2400
|
import ts17 from "typescript";
|
|
2402
2401
|
|
|
2403
|
-
// bazel-out/
|
|
2402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2404
2403
|
import ts16 from "typescript";
|
|
2405
2404
|
|
|
2406
|
-
// bazel-out/
|
|
2405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2407
2406
|
import ts15 from "typescript";
|
|
2408
2407
|
|
|
2409
|
-
// bazel-out/
|
|
2408
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2410
2409
|
import ts14 from "typescript";
|
|
2411
2410
|
var INELIGIBLE = {};
|
|
2412
2411
|
function canEmitType(type, canEmit) {
|
|
@@ -2481,7 +2480,7 @@ var TypeEmitter = class {
|
|
|
2481
2480
|
}
|
|
2482
2481
|
};
|
|
2483
2482
|
|
|
2484
|
-
// bazel-out/
|
|
2483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2485
2484
|
var TypeParameterEmitter = class {
|
|
2486
2485
|
constructor(typeParameters, reflector) {
|
|
2487
2486
|
this.typeParameters = typeParameters;
|
|
@@ -2558,7 +2557,7 @@ var TypeParameterEmitter = class {
|
|
|
2558
2557
|
}
|
|
2559
2558
|
};
|
|
2560
2559
|
|
|
2561
|
-
// bazel-out/
|
|
2560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2562
2561
|
var TcbInliningRequirement;
|
|
2563
2562
|
(function(TcbInliningRequirement2) {
|
|
2564
2563
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2638,7 +2637,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2638
2637
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2639
2638
|
}
|
|
2640
2639
|
|
|
2641
|
-
// bazel-out/
|
|
2640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2642
2641
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2643
2642
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2644
2643
|
const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2749,7 +2748,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2749
2748
|
});
|
|
2750
2749
|
}
|
|
2751
2750
|
|
|
2752
|
-
// bazel-out/
|
|
2751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2753
2752
|
var Environment = class {
|
|
2754
2753
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2755
2754
|
this.config = config;
|
|
@@ -2843,7 +2842,7 @@ var Environment = class {
|
|
|
2843
2842
|
}
|
|
2844
2843
|
};
|
|
2845
2844
|
|
|
2846
|
-
// bazel-out/
|
|
2845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2847
2846
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2848
2847
|
import ts19 from "typescript";
|
|
2849
2848
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2980,7 +2979,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2980
2979
|
};
|
|
2981
2980
|
}
|
|
2982
2981
|
|
|
2983
|
-
// bazel-out/
|
|
2982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2984
2983
|
import ts20 from "typescript";
|
|
2985
2984
|
var TypeCheckShimGenerator = class {
|
|
2986
2985
|
constructor() {
|
|
@@ -2998,11 +2997,11 @@ var TypeCheckShimGenerator = class {
|
|
|
2998
2997
|
}
|
|
2999
2998
|
};
|
|
3000
2999
|
|
|
3001
|
-
// bazel-out/
|
|
3000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3002
3001
|
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";
|
|
3003
3002
|
import ts23 from "typescript";
|
|
3004
3003
|
|
|
3005
|
-
// bazel-out/
|
|
3004
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3006
3005
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3007
3006
|
import ts21 from "typescript";
|
|
3008
3007
|
function wrapForDiagnostics(expr) {
|
|
@@ -3048,7 +3047,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3048
3047
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3049
3048
|
}
|
|
3050
3049
|
|
|
3051
|
-
// bazel-out/
|
|
3050
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3052
3051
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3053
3052
|
import ts22 from "typescript";
|
|
3054
3053
|
var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
|
|
@@ -3381,7 +3380,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
3381
3380
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
3382
3381
|
})();
|
|
3383
3382
|
|
|
3384
|
-
// bazel-out/
|
|
3383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3385
3384
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3386
3385
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3387
3386
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3405,7 +3404,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3405
3404
|
}
|
|
3406
3405
|
};
|
|
3407
3406
|
|
|
3408
|
-
// bazel-out/
|
|
3407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3409
3408
|
var TcbGenericContextBehavior;
|
|
3410
3409
|
(function(TcbGenericContextBehavior2) {
|
|
3411
3410
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4532,7 +4531,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4532
4531
|
}
|
|
4533
4532
|
};
|
|
4534
4533
|
|
|
4535
|
-
// bazel-out/
|
|
4534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4536
4535
|
import ts24 from "typescript";
|
|
4537
4536
|
var TypeCheckFile = class extends Environment {
|
|
4538
4537
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4568,7 +4567,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4568
4567
|
}
|
|
4569
4568
|
};
|
|
4570
4569
|
|
|
4571
|
-
// bazel-out/
|
|
4570
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4572
4571
|
var InliningMode;
|
|
4573
4572
|
(function(InliningMode2) {
|
|
4574
4573
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4805,10 +4804,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4805
4804
|
return splits;
|
|
4806
4805
|
}
|
|
4807
4806
|
|
|
4808
|
-
// bazel-out/
|
|
4807
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4809
4808
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4810
4809
|
|
|
4811
|
-
// bazel-out/
|
|
4810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4812
4811
|
var LF_CHAR = 10;
|
|
4813
4812
|
var CR_CHAR = 13;
|
|
4814
4813
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4849,7 +4848,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4849
4848
|
return low - 1;
|
|
4850
4849
|
}
|
|
4851
4850
|
|
|
4852
|
-
// bazel-out/
|
|
4851
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4853
4852
|
var TemplateSource = class {
|
|
4854
4853
|
constructor(mapping, file) {
|
|
4855
4854
|
this.mapping = mapping;
|
|
@@ -4900,7 +4899,7 @@ var TemplateSourceManager = class {
|
|
|
4900
4899
|
}
|
|
4901
4900
|
};
|
|
4902
4901
|
|
|
4903
|
-
// bazel-out/
|
|
4902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4904
4903
|
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";
|
|
4905
4904
|
import ts26 from "typescript";
|
|
4906
4905
|
var SymbolBuilder = class {
|
|
@@ -5384,7 +5383,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5384
5383
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5385
5384
|
}
|
|
5386
5385
|
|
|
5387
|
-
// bazel-out/
|
|
5386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5388
5387
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5389
5388
|
var TemplateTypeCheckerImpl = class {
|
|
5390
5389
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -6081,10 +6080,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
6081
6080
|
}
|
|
6082
6081
|
};
|
|
6083
6082
|
|
|
6084
|
-
// bazel-out/
|
|
6083
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6085
6084
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
6086
6085
|
|
|
6087
|
-
// bazel-out/
|
|
6086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
6088
6087
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger } from "@angular/compiler";
|
|
6089
6088
|
var TemplateCheckWithVisitor = class {
|
|
6090
6089
|
run(ctx, component, template) {
|
|
@@ -6183,7 +6182,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
6183
6182
|
}
|
|
6184
6183
|
};
|
|
6185
6184
|
|
|
6186
|
-
// bazel-out/
|
|
6185
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
6187
6186
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
6188
6187
|
constructor() {
|
|
6189
6188
|
super(...arguments);
|
|
@@ -6208,7 +6207,7 @@ var factory = {
|
|
|
6208
6207
|
create: () => new InvalidBananaInBoxCheck()
|
|
6209
6208
|
};
|
|
6210
6209
|
|
|
6211
|
-
// bazel-out/
|
|
6210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
6212
6211
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
6213
6212
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
6214
6213
|
["ngIf", "NgIf"],
|
|
@@ -6253,7 +6252,7 @@ var factory2 = {
|
|
|
6253
6252
|
}
|
|
6254
6253
|
};
|
|
6255
6254
|
|
|
6256
|
-
// bazel-out/
|
|
6255
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
6257
6256
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
6258
6257
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
6259
6258
|
constructor() {
|
|
@@ -6286,7 +6285,7 @@ var factory3 = {
|
|
|
6286
6285
|
create: () => new MissingNgForOfLetCheck()
|
|
6287
6286
|
};
|
|
6288
6287
|
|
|
6289
|
-
// bazel-out/
|
|
6288
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
6290
6289
|
import { Binary } from "@angular/compiler";
|
|
6291
6290
|
import ts27 from "typescript";
|
|
6292
6291
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6331,7 +6330,7 @@ var factory4 = {
|
|
|
6331
6330
|
}
|
|
6332
6331
|
};
|
|
6333
6332
|
|
|
6334
|
-
// bazel-out/
|
|
6333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
6335
6334
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
6336
6335
|
import ts28 from "typescript";
|
|
6337
6336
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6377,7 +6376,7 @@ var factory5 = {
|
|
|
6377
6376
|
}
|
|
6378
6377
|
};
|
|
6379
6378
|
|
|
6380
|
-
// bazel-out/
|
|
6379
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
6381
6380
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
6382
6381
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
6383
6382
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -6401,7 +6400,7 @@ var factory6 = {
|
|
|
6401
6400
|
create: () => new SuffixNotSupportedCheck()
|
|
6402
6401
|
};
|
|
6403
6402
|
|
|
6404
|
-
// bazel-out/
|
|
6403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
6405
6404
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
6406
6405
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
6407
6406
|
constructor() {
|
|
@@ -6440,10 +6439,10 @@ var factory7 = {
|
|
|
6440
6439
|
create: () => new TextAttributeNotBindingSpec()
|
|
6441
6440
|
};
|
|
6442
6441
|
|
|
6443
|
-
// bazel-out/
|
|
6442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6444
6443
|
import ts29 from "typescript";
|
|
6445
6444
|
|
|
6446
|
-
// bazel-out/
|
|
6445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
6447
6446
|
var DiagnosticCategoryLabel;
|
|
6448
6447
|
(function(DiagnosticCategoryLabel2) {
|
|
6449
6448
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -6451,7 +6450,7 @@ var DiagnosticCategoryLabel;
|
|
|
6451
6450
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
6452
6451
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
6453
6452
|
|
|
6454
|
-
// bazel-out/
|
|
6453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
6455
6454
|
var ExtendedTemplateCheckerImpl = class {
|
|
6456
6455
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
6457
6456
|
var _a, _b, _c, _d, _e;
|
|
@@ -6504,7 +6503,7 @@ function assertNever(value) {
|
|
|
6504
6503
|
${value}`);
|
|
6505
6504
|
}
|
|
6506
6505
|
|
|
6507
|
-
// bazel-out/
|
|
6506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6508
6507
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6509
6508
|
factory,
|
|
6510
6509
|
factory4,
|
|
@@ -6515,7 +6514,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
6515
6514
|
factory6
|
|
6516
6515
|
];
|
|
6517
6516
|
|
|
6518
|
-
// bazel-out/
|
|
6517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6519
6518
|
var CompilationTicketKind;
|
|
6520
6519
|
(function(CompilationTicketKind2) {
|
|
6521
6520
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7043,6 +7042,7 @@ var NgCompiler = class {
|
|
|
7043
7042
|
}
|
|
7044
7043
|
const dtsTransforms = new DtsTransformRegistry();
|
|
7045
7044
|
const resourceRegistry = new ResourceRegistry();
|
|
7045
|
+
const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker());
|
|
7046
7046
|
let compilationMode = CompilationMode.FULL;
|
|
7047
7047
|
if (!isCore) {
|
|
7048
7048
|
switch (this.options.compilationMode) {
|
|
@@ -7068,7 +7068,7 @@ var NgCompiler = class {
|
|
|
7068
7068
|
throw new Error('JIT mode support ("supportJitMode" option) cannot be disabled in partial compilation mode.');
|
|
7069
7069
|
}
|
|
7070
7070
|
const handlers = [
|
|
7071
|
-
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.enabledBlockTypes, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed, compilationMode),
|
|
7071
|
+
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.enabledBlockTypes, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed, compilationMode, deferredSymbolsTracker),
|
|
7072
7072
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, supportTestBed),
|
|
7073
7073
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed),
|
|
7074
7074
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed),
|
|
@@ -7259,7 +7259,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
7259
7259
|
return versions;
|
|
7260
7260
|
}
|
|
7261
7261
|
|
|
7262
|
-
// bazel-out/
|
|
7262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
7263
7263
|
import ts31 from "typescript";
|
|
7264
7264
|
var DelegatingCompilerHost2 = class {
|
|
7265
7265
|
constructor(delegate) {
|
|
@@ -7392,7 +7392,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
7392
7392
|
}
|
|
7393
7393
|
};
|
|
7394
7394
|
|
|
7395
|
-
// bazel-out/
|
|
7395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
7396
7396
|
var NgtscProgram = class {
|
|
7397
7397
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
7398
7398
|
this.options = options;
|
|
@@ -7610,15 +7610,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7610
7610
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7611
7611
|
}
|
|
7612
7612
|
|
|
7613
|
-
// bazel-out/
|
|
7613
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7614
7614
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7615
7615
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7616
7616
|
}
|
|
7617
7617
|
|
|
7618
|
-
// bazel-out/
|
|
7618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7619
7619
|
import ts34 from "typescript";
|
|
7620
7620
|
|
|
7621
|
-
// bazel-out/
|
|
7621
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7622
7622
|
import ts33 from "typescript";
|
|
7623
7623
|
function createMessageDiagnostic(messageText) {
|
|
7624
7624
|
return {
|
|
@@ -7632,7 +7632,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7632
7632
|
};
|
|
7633
7633
|
}
|
|
7634
7634
|
|
|
7635
|
-
// bazel-out/
|
|
7635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7636
7636
|
var defaultFormatHost = {
|
|
7637
7637
|
getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
|
|
7638
7638
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7846,4 +7846,4 @@ export {
|
|
|
7846
7846
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7847
7847
|
* found in the LICENSE file at https://angular.io/license
|
|
7848
7848
|
*/
|
|
7849
|
-
//# sourceMappingURL=chunk-
|
|
7849
|
+
//# sourceMappingURL=chunk-NFCNUCPF.js.map
|