@angular/compiler-cli 14.0.0-rc.2 → 14.0.0-rc.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-ZJCM37WF.js → chunk-2IMT6JFI.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-2IMT6JFI.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-7XY4OMWJ.js} +31 -31
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-7XY4OMWJ.js.map} +0 -0
- package/bundles/{chunk-VLER5B3O.js → chunk-AWUSLKAS.js} +100 -98
- package/bundles/chunk-AWUSLKAS.js.map +6 -0
- package/bundles/{chunk-SYV2KBTF.js → chunk-EN4WVK2E.js} +5 -5
- package/bundles/{chunk-SYV2KBTF.js.map → chunk-EN4WVK2E.js.map} +0 -0
- package/bundles/{chunk-VSZPIAX6.js → chunk-GWA6QBDZ.js} +85 -76
- package/bundles/{chunk-VSZPIAX6.js.map → chunk-GWA6QBDZ.js.map} +1 -1
- package/bundles/{chunk-GGBQTGO6.js → chunk-I7TI6THJ.js} +40 -40
- package/bundles/{chunk-GGBQTGO6.js.map → chunk-I7TI6THJ.js.map} +0 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-JDKMNZ6O.js} +26 -26
- package/bundles/{chunk-SFACRVMZ.js.map → chunk-JDKMNZ6O.js.map} +0 -0
- package/bundles/{chunk-RV5PLZZB.js → chunk-KAZROYQX.js} +70 -70
- package/bundles/{chunk-RV5PLZZB.js.map → chunk-KAZROYQX.js.map} +0 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-LX5Q27EF.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-LX5Q27EF.js.map} +0 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-OLGEBPBY.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-OLGEBPBY.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- package/bundles/{chunk-QK4SXRQA.js → chunk-R4NY3TJC.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-R4NY3TJC.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-T7MYRXIE.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-T7MYRXIE.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-W6KM7BUM.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-W6KM7BUM.js.map} +0 -0
- package/bundles/{chunk-BFPVXDJN.js → chunk-WGBFSDVQ.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WGBFSDVQ.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +2 -2
- package/bundles/chunk-VLER5B3O.js.map +0 -6
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
aliasTransformFactory,
|
|
31
31
|
declarationTransformFactory,
|
|
32
32
|
ivyTransformFactory
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GWA6QBDZ.js";
|
|
34
34
|
import {
|
|
35
35
|
TypeScriptReflectionHost,
|
|
36
36
|
isNamedClassDeclaration
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-2IMT6JFI.js";
|
|
38
38
|
import {
|
|
39
39
|
AbsoluteModuleStrategy,
|
|
40
40
|
AliasStrategy,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
toUnredirectedSourceFile,
|
|
74
74
|
translateExpression,
|
|
75
75
|
translateType
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-JDKMNZ6O.js";
|
|
77
77
|
import {
|
|
78
78
|
LogicalFileSystem,
|
|
79
79
|
absoluteFrom,
|
|
@@ -84,20 +84,20 @@ import {
|
|
|
84
84
|
getSourceFileOrError,
|
|
85
85
|
join,
|
|
86
86
|
resolve
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-T7MYRXIE.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-R4NY3TJC.js";
|
|
95
95
|
import {
|
|
96
96
|
__spreadProps,
|
|
97
97
|
__spreadValues
|
|
98
98
|
} from "./chunk-GMSUYBZP.js";
|
|
99
99
|
|
|
100
|
-
// bazel-out/
|
|
100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
101
101
|
var DEFAULT_ERROR_CODE = 100;
|
|
102
102
|
var UNKNOWN_ERROR_CODE = 500;
|
|
103
103
|
var SOURCE = "angular";
|
|
@@ -115,7 +115,7 @@ var EmitFlags;
|
|
|
115
115
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
116
116
|
})(EmitFlags || (EmitFlags = {}));
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
119
119
|
import ts from "typescript";
|
|
120
120
|
var wrapHostForTest = null;
|
|
121
121
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -125,21 +125,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
125
125
|
return tsHost;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
// bazel-out/
|
|
128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
129
129
|
var OptimizeFor;
|
|
130
130
|
(function(OptimizeFor2) {
|
|
131
131
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
132
132
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
133
133
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
134
134
|
|
|
135
|
-
// bazel-out/
|
|
135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
136
136
|
var CompletionKind;
|
|
137
137
|
(function(CompletionKind2) {
|
|
138
138
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
139
139
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
140
140
|
})(CompletionKind || (CompletionKind = {}));
|
|
141
141
|
|
|
142
|
-
// bazel-out/
|
|
142
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
143
143
|
var SymbolKind;
|
|
144
144
|
(function(SymbolKind2) {
|
|
145
145
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -155,11 +155,11 @@ var SymbolKind;
|
|
|
155
155
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
156
156
|
})(SymbolKind || (SymbolKind = {}));
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
159
159
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
160
160
|
import ts33 from "typescript";
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
163
163
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
164
164
|
import * as path from "path";
|
|
165
165
|
function i18nGetExtension(formatName) {
|
|
@@ -210,10 +210,10 @@ function getPathNormalizer(basePath) {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
214
214
|
import ts2 from "typescript";
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
217
217
|
function toNumbers(value) {
|
|
218
218
|
const suffixIndex = value.lastIndexOf("-");
|
|
219
219
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -248,7 +248,7 @@ function compareVersions(v1, v2) {
|
|
|
248
248
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
252
252
|
var MIN_TS_VERSION = "4.6.2";
|
|
253
253
|
var MAX_TS_VERSION = "4.8.0";
|
|
254
254
|
var tsVersion = ts2.version;
|
|
@@ -261,10 +261,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
261
261
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
265
265
|
import ts31 from "typescript";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
268
268
|
var CycleAnalyzer = class {
|
|
269
269
|
constructor(importGraph) {
|
|
270
270
|
this.importGraph = importGraph;
|
|
@@ -335,7 +335,7 @@ var Cycle = class {
|
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
// bazel-out/
|
|
338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
339
339
|
import ts3 from "typescript";
|
|
340
340
|
var ImportGraph = class {
|
|
341
341
|
constructor(checker, perf) {
|
|
@@ -427,7 +427,7 @@ var Found = class {
|
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
|
|
430
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
431
431
|
import ts4 from "typescript";
|
|
432
432
|
var FlatIndexGenerator = class {
|
|
433
433
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -452,7 +452,7 @@ export * from '${relativeEntryPoint}';
|
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
456
456
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
457
457
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
458
458
|
let resolvedEntryPoint = null;
|
|
@@ -468,7 +468,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
468
468
|
return resolvedEntryPoint;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
// bazel-out/
|
|
471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
472
472
|
import ts5 from "typescript";
|
|
473
473
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
474
474
|
const diagnostics = [];
|
|
@@ -548,7 +548,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
552
552
|
var ReferenceGraph = class {
|
|
553
553
|
constructor() {
|
|
554
554
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -602,7 +602,7 @@ var ReferenceGraph = class {
|
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
// bazel-out/
|
|
605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
606
606
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
607
607
|
var UpdateMode;
|
|
608
608
|
(function(UpdateMode2) {
|
|
@@ -610,13 +610,13 @@ var UpdateMode;
|
|
|
610
610
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
611
611
|
})(UpdateMode || (UpdateMode = {}));
|
|
612
612
|
|
|
613
|
-
// bazel-out/
|
|
613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
614
614
|
import ts9 from "typescript";
|
|
615
615
|
|
|
616
|
-
// bazel-out/
|
|
616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
617
617
|
import ts6 from "typescript";
|
|
618
618
|
|
|
619
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
620
620
|
var NgExtension = Symbol("NgExtension");
|
|
621
621
|
function isExtended(sf) {
|
|
622
622
|
return sf[NgExtension] !== void 0;
|
|
@@ -676,7 +676,7 @@ function retagTsFile(sf) {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
// bazel-out/
|
|
679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
680
680
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
681
681
|
function makeShimFileName(fileName, suffix) {
|
|
682
682
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -691,7 +691,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
691
691
|
return moduleName;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
-
// bazel-out/
|
|
694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
695
695
|
var ShimAdapter = class {
|
|
696
696
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
697
697
|
this.delegate = delegate;
|
|
@@ -788,7 +788,7 @@ var ShimAdapter = class {
|
|
|
788
788
|
}
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
-
// bazel-out/
|
|
791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
792
792
|
import ts7 from "typescript";
|
|
793
793
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
794
794
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -935,7 +935,7 @@ function updateInitializers(stmt, update) {
|
|
|
935
935
|
return ts7.factory.updateVariableStatement(stmt, stmt.modifiers, ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
// bazel-out/
|
|
938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
939
939
|
var ShimReferenceTagger = class {
|
|
940
940
|
constructor(shimExtensions) {
|
|
941
941
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -969,7 +969,7 @@ var ShimReferenceTagger = class {
|
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// bazel-out/
|
|
972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
973
973
|
import ts8 from "typescript";
|
|
974
974
|
var SummaryGenerator = class {
|
|
975
975
|
constructor() {
|
|
@@ -1009,7 +1009,7 @@ function isExported2(decl) {
|
|
|
1009
1009
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword);
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
// bazel-out/
|
|
1012
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1013
1013
|
var DelegatingCompilerHost = class {
|
|
1014
1014
|
constructor(delegate) {
|
|
1015
1015
|
this.delegate = delegate;
|
|
@@ -1119,7 +1119,7 @@ var TsCreateProgramDriver = class {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
1121
|
|
|
1122
|
-
// bazel-out/
|
|
1122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1123
1123
|
var FileDependencyGraph = class {
|
|
1124
1124
|
constructor() {
|
|
1125
1125
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1186,7 +1186,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1186
1186
|
return false;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
|
-
// bazel-out/
|
|
1189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1190
1190
|
var IncrementalStateKind;
|
|
1191
1191
|
(function(IncrementalStateKind2) {
|
|
1192
1192
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1194,7 +1194,7 @@ var IncrementalStateKind;
|
|
|
1194
1194
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1195
1195
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1196
1196
|
|
|
1197
|
-
// bazel-out/
|
|
1197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1198
1198
|
var PhaseKind;
|
|
1199
1199
|
(function(PhaseKind2) {
|
|
1200
1200
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1395,7 +1395,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
-
// bazel-out/
|
|
1398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1399
1399
|
var TrackedIncrementalBuildStrategy = class {
|
|
1400
1400
|
constructor() {
|
|
1401
1401
|
this.state = null;
|
|
@@ -1431,7 +1431,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1431
1431
|
};
|
|
1432
1432
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1433
1433
|
|
|
1434
|
-
// bazel-out/
|
|
1434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1435
1435
|
var IdentifierKind;
|
|
1436
1436
|
(function(IdentifierKind2) {
|
|
1437
1437
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1449,7 +1449,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
};
|
|
1451
1451
|
|
|
1452
|
-
// bazel-out/
|
|
1452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1453
1453
|
var IndexingContext = class {
|
|
1454
1454
|
constructor() {
|
|
1455
1455
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1459,10 +1459,10 @@ var IndexingContext = class {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
1461
|
|
|
1462
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1463
1463
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1464
1464
|
|
|
1465
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1466
1466
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1467
1467
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1468
1468
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1699,7 +1699,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1699
1699
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
|
-
// bazel-out/
|
|
1702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1703
1703
|
function generateAnalysis(context) {
|
|
1704
1704
|
const analysis = /* @__PURE__ */ new Map();
|
|
1705
1705
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1735,7 +1735,7 @@ function generateAnalysis(context) {
|
|
|
1735
1735
|
return analysis;
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
|
-
// bazel-out/
|
|
1738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1739
1739
|
import ts10 from "typescript";
|
|
1740
1740
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1741
1741
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1881,7 +1881,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1881
1881
|
};
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
// bazel-out/
|
|
1884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1885
1885
|
var StandaloneComponentScopeReader = class {
|
|
1886
1886
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1887
1887
|
this.metaReader = metaReader;
|
|
@@ -1959,10 +1959,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
};
|
|
1961
1961
|
|
|
1962
|
-
// bazel-out/
|
|
1962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1963
1963
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1964
1964
|
|
|
1965
|
-
// bazel-out/
|
|
1965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1966
1966
|
import ts11 from "typescript";
|
|
1967
1967
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1968
1968
|
if (mapping.type === "direct") {
|
|
@@ -2035,7 +2035,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
// bazel-out/
|
|
2038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2039
2039
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2040
2040
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2041
2041
|
function getTemplateId(clazz) {
|
|
@@ -2052,11 +2052,11 @@ function allocateTemplateId(sf) {
|
|
|
2052
2052
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
|
-
// bazel-out/
|
|
2055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2056
2056
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2057
2057
|
import ts13 from "typescript";
|
|
2058
2058
|
|
|
2059
|
-
// bazel-out/
|
|
2059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2060
2060
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2061
2061
|
import ts12 from "typescript";
|
|
2062
2062
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2176,7 +2176,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2176
2176
|
}) || false;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
// bazel-out/
|
|
2179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2180
2180
|
var CompletionEngine = class {
|
|
2181
2181
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2182
2182
|
this.tcb = tcb;
|
|
@@ -2333,10 +2333,10 @@ var CompletionEngine = class {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
};
|
|
2335
2335
|
|
|
2336
|
-
// bazel-out/
|
|
2336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2337
2337
|
import ts27 from "typescript";
|
|
2338
2338
|
|
|
2339
|
-
// bazel-out/
|
|
2339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2340
2340
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2341
2341
|
import ts14 from "typescript";
|
|
2342
2342
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2367,19 +2367,21 @@ var RegistryDomSchemaChecker = class {
|
|
|
2367
2367
|
this._diagnostics.push(diag);
|
|
2368
2368
|
}
|
|
2369
2369
|
}
|
|
2370
|
-
checkProperty(id, element, name, span, schemas) {
|
|
2370
|
+
checkProperty(id, element, name, span, schemas, hostIsStandalone) {
|
|
2371
2371
|
if (!REGISTRY.hasProperty(element.name, name, schemas)) {
|
|
2372
2372
|
const mapping = this.resolver.getSourceMapping(id);
|
|
2373
|
+
const decorator = hostIsStandalone ? "@Component" : "@NgModule";
|
|
2374
|
+
const schemas2 = `'${decorator}.schemas'`;
|
|
2373
2375
|
let errorMsg = `Can't bind to '${name}' since it isn't a known property of '${element.name}'.`;
|
|
2374
2376
|
if (element.name.startsWith("ng-")) {
|
|
2375
2377
|
errorMsg += `
|
|
2376
|
-
1. If '${name}' is an Angular directive, then add 'CommonModule' to the '
|
|
2377
|
-
2. To allow any property add 'NO_ERRORS_SCHEMA' to the
|
|
2378
|
+
1. If '${name}' is an Angular directive, then add 'CommonModule' to the '${decorator}.imports' of this component.
|
|
2379
|
+
2. To allow any property add 'NO_ERRORS_SCHEMA' to the ${schemas2} of this component.`;
|
|
2378
2380
|
} else if (element.name.indexOf("-") > -1) {
|
|
2379
2381
|
errorMsg += `
|
|
2380
|
-
1. If '${element.name}' is an Angular component and it has '${name}' input, then verify that it is part of this module.
|
|
2381
|
-
2. If '${element.name}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
|
|
2382
|
-
3. To allow any property add 'NO_ERRORS_SCHEMA' to the
|
|
2382
|
+
1. If '${element.name}' is an Angular component and it has '${name}' input, then verify that it is ${hostIsStandalone ? "included in the '@Component.imports' of this component" : "part of this module"}.
|
|
2383
|
+
2. If '${element.name}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas2} of this component to suppress this message.
|
|
2384
|
+
3. To allow any property add 'NO_ERRORS_SCHEMA' to the ${schemas2} of this component.`;
|
|
2383
2385
|
}
|
|
2384
2386
|
const diag = makeTemplateDiagnostic(id, mapping, span, ts14.DiagnosticCategory.Error, ngErrorCode(ErrorCode.SCHEMA_INVALID_ATTRIBUTE), errorMsg);
|
|
2385
2387
|
this._diagnostics.push(diag);
|
|
@@ -2387,11 +2389,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2387
2389
|
}
|
|
2388
2390
|
};
|
|
2389
2391
|
|
|
2390
|
-
// bazel-out/
|
|
2392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2391
2393
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2392
2394
|
import ts20 from "typescript";
|
|
2393
2395
|
|
|
2394
|
-
// bazel-out/
|
|
2396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2395
2397
|
import ts15 from "typescript";
|
|
2396
2398
|
var PARSED_TS_VERSION = parseFloat(ts15.versionMajorMinor);
|
|
2397
2399
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
@@ -2464,16 +2466,16 @@ function isAccessExpression(node) {
|
|
|
2464
2466
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2465
2467
|
}
|
|
2466
2468
|
|
|
2467
|
-
// bazel-out/
|
|
2469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2468
2470
|
import ts19 from "typescript";
|
|
2469
2471
|
|
|
2470
|
-
// bazel-out/
|
|
2472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2471
2473
|
import ts18 from "typescript";
|
|
2472
2474
|
|
|
2473
|
-
// bazel-out/
|
|
2475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2474
2476
|
import ts17 from "typescript";
|
|
2475
2477
|
|
|
2476
|
-
// bazel-out/
|
|
2478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2477
2479
|
import ts16 from "typescript";
|
|
2478
2480
|
var INELIGIBLE = {};
|
|
2479
2481
|
function canEmitType(type, canEmit) {
|
|
@@ -2535,7 +2537,7 @@ var TypeEmitter = class {
|
|
|
2535
2537
|
}
|
|
2536
2538
|
};
|
|
2537
2539
|
|
|
2538
|
-
// bazel-out/
|
|
2540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2539
2541
|
var TypeParameterEmitter = class {
|
|
2540
2542
|
constructor(typeParameters, reflector) {
|
|
2541
2543
|
this.typeParameters = typeParameters;
|
|
@@ -2612,7 +2614,7 @@ var TypeParameterEmitter = class {
|
|
|
2612
2614
|
}
|
|
2613
2615
|
};
|
|
2614
2616
|
|
|
2615
|
-
// bazel-out/
|
|
2617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2616
2618
|
var TcbInliningRequirement;
|
|
2617
2619
|
(function(TcbInliningRequirement2) {
|
|
2618
2620
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2692,7 +2694,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2692
2694
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2693
2695
|
}
|
|
2694
2696
|
|
|
2695
|
-
// bazel-out/
|
|
2697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2696
2698
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2697
2699
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2698
2700
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2763,7 +2765,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2763
2765
|
});
|
|
2764
2766
|
}
|
|
2765
2767
|
|
|
2766
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2767
2769
|
var Environment = class {
|
|
2768
2770
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2769
2771
|
this.config = config;
|
|
@@ -2855,7 +2857,7 @@ var Environment = class {
|
|
|
2855
2857
|
}
|
|
2856
2858
|
};
|
|
2857
2859
|
|
|
2858
|
-
// bazel-out/
|
|
2860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2859
2861
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2860
2862
|
import ts21 from "typescript";
|
|
2861
2863
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2987,7 +2989,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2987
2989
|
});
|
|
2988
2990
|
}
|
|
2989
2991
|
|
|
2990
|
-
// bazel-out/
|
|
2992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2991
2993
|
import ts22 from "typescript";
|
|
2992
2994
|
var TypeCheckShimGenerator = class {
|
|
2993
2995
|
constructor() {
|
|
@@ -3005,11 +3007,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3005
3007
|
}
|
|
3006
3008
|
};
|
|
3007
3009
|
|
|
3008
|
-
// bazel-out/
|
|
3010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3009
3011
|
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";
|
|
3010
3012
|
import ts25 from "typescript";
|
|
3011
3013
|
|
|
3012
|
-
// bazel-out/
|
|
3014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3013
3015
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3014
3016
|
import ts23 from "typescript";
|
|
3015
3017
|
function wrapForDiagnostics(expr) {
|
|
@@ -3055,7 +3057,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3055
3057
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3056
3058
|
}
|
|
3057
3059
|
|
|
3058
|
-
// bazel-out/
|
|
3060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3059
3061
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3060
3062
|
import ts24 from "typescript";
|
|
3061
3063
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3385,7 +3387,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3385
3387
|
};
|
|
3386
3388
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3387
3389
|
|
|
3388
|
-
// bazel-out/
|
|
3390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3389
3391
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3390
3392
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3391
3393
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3409,7 +3411,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3409
3411
|
}
|
|
3410
3412
|
};
|
|
3411
3413
|
|
|
3412
|
-
// bazel-out/
|
|
3414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3413
3415
|
var TcbGenericContextBehavior;
|
|
3414
3416
|
(function(TcbGenericContextBehavior2) {
|
|
3415
3417
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -3838,7 +3840,7 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
|
|
|
3838
3840
|
if (binding.type === 0) {
|
|
3839
3841
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
3840
3842
|
const propertyName = ATTR_TO_PROP[binding.name] || binding.name;
|
|
3841
|
-
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas);
|
|
3843
|
+
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
3842
3844
|
}
|
|
3843
3845
|
}
|
|
3844
3846
|
}
|
|
@@ -4460,7 +4462,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4460
4462
|
}
|
|
4461
4463
|
};
|
|
4462
4464
|
|
|
4463
|
-
// bazel-out/
|
|
4465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4464
4466
|
import ts26 from "typescript";
|
|
4465
4467
|
var TypeCheckFile = class extends Environment {
|
|
4466
4468
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4496,7 +4498,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4496
4498
|
}
|
|
4497
4499
|
};
|
|
4498
4500
|
|
|
4499
|
-
// bazel-out/
|
|
4501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4500
4502
|
var InliningMode;
|
|
4501
4503
|
(function(InliningMode2) {
|
|
4502
4504
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4727,10 +4729,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4727
4729
|
return splits;
|
|
4728
4730
|
}
|
|
4729
4731
|
|
|
4730
|
-
// bazel-out/
|
|
4732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4731
4733
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4732
4734
|
|
|
4733
|
-
// bazel-out/
|
|
4735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4734
4736
|
var LF_CHAR = 10;
|
|
4735
4737
|
var CR_CHAR = 13;
|
|
4736
4738
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4771,7 +4773,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4771
4773
|
return low - 1;
|
|
4772
4774
|
}
|
|
4773
4775
|
|
|
4774
|
-
// bazel-out/
|
|
4776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4775
4777
|
var TemplateSource = class {
|
|
4776
4778
|
constructor(mapping, file) {
|
|
4777
4779
|
this.mapping = mapping;
|
|
@@ -4822,7 +4824,7 @@ var TemplateSourceManager = class {
|
|
|
4822
4824
|
}
|
|
4823
4825
|
};
|
|
4824
4826
|
|
|
4825
|
-
// bazel-out/
|
|
4827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4826
4828
|
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";
|
|
4827
4829
|
import ts28 from "typescript";
|
|
4828
4830
|
var SymbolBuilder = class {
|
|
@@ -5262,7 +5264,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5262
5264
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5263
5265
|
}
|
|
5264
5266
|
|
|
5265
|
-
// bazel-out/
|
|
5267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5266
5268
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5267
5269
|
var TemplateTypeCheckerImpl = class {
|
|
5268
5270
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5798,10 +5800,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5798
5800
|
}
|
|
5799
5801
|
};
|
|
5800
5802
|
|
|
5801
|
-
// bazel-out/
|
|
5803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5802
5804
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5803
5805
|
|
|
5804
|
-
// bazel-out/
|
|
5806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5805
5807
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5806
5808
|
var TemplateCheckWithVisitor = class {
|
|
5807
5809
|
run(ctx, component, template) {
|
|
@@ -5878,7 +5880,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5878
5880
|
}
|
|
5879
5881
|
};
|
|
5880
5882
|
|
|
5881
|
-
// bazel-out/
|
|
5883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5882
5884
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5883
5885
|
constructor() {
|
|
5884
5886
|
super(...arguments);
|
|
@@ -5903,7 +5905,7 @@ var factory = {
|
|
|
5903
5905
|
create: () => new InvalidBananaInBoxCheck()
|
|
5904
5906
|
};
|
|
5905
5907
|
|
|
5906
|
-
// bazel-out/
|
|
5908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
5907
5909
|
import { Binary } from "@angular/compiler";
|
|
5908
5910
|
import ts29 from "typescript";
|
|
5909
5911
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -5948,10 +5950,10 @@ var factory2 = {
|
|
|
5948
5950
|
}
|
|
5949
5951
|
};
|
|
5950
5952
|
|
|
5951
|
-
// bazel-out/
|
|
5953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5952
5954
|
import ts30 from "typescript";
|
|
5953
5955
|
|
|
5954
|
-
// bazel-out/
|
|
5956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
5955
5957
|
var DiagnosticCategoryLabel;
|
|
5956
5958
|
(function(DiagnosticCategoryLabel2) {
|
|
5957
5959
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -5959,7 +5961,7 @@ var DiagnosticCategoryLabel;
|
|
|
5959
5961
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
5960
5962
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
5961
5963
|
|
|
5962
|
-
// bazel-out/
|
|
5964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5963
5965
|
var ExtendedTemplateCheckerImpl = class {
|
|
5964
5966
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
5965
5967
|
var _a, _b, _c, _d, _e;
|
|
@@ -6011,13 +6013,13 @@ function assertNever(value) {
|
|
|
6011
6013
|
${value}`);
|
|
6012
6014
|
}
|
|
6013
6015
|
|
|
6014
|
-
// bazel-out/
|
|
6016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6015
6017
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6016
6018
|
factory,
|
|
6017
6019
|
factory2
|
|
6018
6020
|
];
|
|
6019
6021
|
|
|
6020
|
-
// bazel-out/
|
|
6022
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6021
6023
|
var CompilationTicketKind;
|
|
6022
6024
|
(function(CompilationTicketKind2) {
|
|
6023
6025
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6713,7 +6715,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6713
6715
|
return versions;
|
|
6714
6716
|
}
|
|
6715
6717
|
|
|
6716
|
-
// bazel-out/
|
|
6718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6717
6719
|
import ts32 from "typescript";
|
|
6718
6720
|
var DelegatingCompilerHost2 = class {
|
|
6719
6721
|
constructor(delegate) {
|
|
@@ -6857,7 +6859,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
6857
6859
|
}
|
|
6858
6860
|
};
|
|
6859
6861
|
|
|
6860
|
-
// bazel-out/
|
|
6862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
6861
6863
|
var NgtscProgram = class {
|
|
6862
6864
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
6863
6865
|
this.options = options;
|
|
@@ -7064,15 +7066,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7064
7066
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7065
7067
|
}
|
|
7066
7068
|
|
|
7067
|
-
// bazel-out/
|
|
7069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7068
7070
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7069
7071
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7070
7072
|
}
|
|
7071
7073
|
|
|
7072
|
-
// bazel-out/
|
|
7074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7073
7075
|
import ts35 from "typescript";
|
|
7074
7076
|
|
|
7075
|
-
// bazel-out/
|
|
7077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7076
7078
|
import ts34 from "typescript";
|
|
7077
7079
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
7078
7080
|
function createMessageDiagnostic(messageText) {
|
|
@@ -7087,7 +7089,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7087
7089
|
};
|
|
7088
7090
|
}
|
|
7089
7091
|
|
|
7090
|
-
// bazel-out/
|
|
7092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7091
7093
|
var defaultFormatHost = {
|
|
7092
7094
|
getCurrentDirectory: () => ts35.sys.getCurrentDirectory(),
|
|
7093
7095
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7300,4 +7302,4 @@ export {
|
|
|
7300
7302
|
* found in the LICENSE file at https://angular.io/license
|
|
7301
7303
|
*/
|
|
7302
7304
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7303
|
-
//# sourceMappingURL=chunk-
|
|
7305
|
+
//# sourceMappingURL=chunk-AWUSLKAS.js.map
|