@angular/compiler-cli 13.0.0 → 13.0.1
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/index.js +235 -230
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +67 -67
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +59 -59
- package/bundles/linker/index.js.map +1 -1
- package/bundles/ngcc/index.js +376 -363
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +377 -364
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +248 -248
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +234 -229
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +232 -227
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -47,16 +47,16 @@ var __toModule = (module2) => {
|
|
|
47
47
|
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
51
51
|
import "reflect-metadata";
|
|
52
52
|
|
|
53
|
-
// bazel-out/
|
|
53
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
54
54
|
import {
|
|
55
55
|
EOL
|
|
56
56
|
} from "os";
|
|
57
57
|
import ts from "typescript";
|
|
58
58
|
|
|
59
|
-
// bazel-out/
|
|
59
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
60
60
|
var InvalidFileSystem = class {
|
|
61
61
|
exists(path8) {
|
|
62
62
|
throw makeError();
|
|
@@ -144,7 +144,7 @@ function makeError() {
|
|
|
144
144
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
// bazel-out/
|
|
147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
148
148
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
149
149
|
function stripExtension(path8) {
|
|
150
150
|
return path8.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -157,7 +157,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
157
157
|
return sf;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// bazel-out/
|
|
160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
161
161
|
var fs = new InvalidFileSystem();
|
|
162
162
|
function getFileSystem() {
|
|
163
163
|
return fs;
|
|
@@ -204,7 +204,7 @@ function toRelativeImport(relativePath) {
|
|
|
204
204
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
208
208
|
var LogicalProjectPath = {
|
|
209
209
|
relativePathBetween: function(from, to) {
|
|
210
210
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -250,7 +250,7 @@ function isWithinBasePath(base, path8) {
|
|
|
250
250
|
return isLocalRelativePath(relative(base, path8));
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
254
254
|
import {
|
|
255
255
|
copyFileSync,
|
|
256
256
|
existsSync,
|
|
@@ -395,15 +395,15 @@ function toggleCase(str) {
|
|
|
395
395
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
// bazel-out/
|
|
398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
399
399
|
import ts88 from "typescript";
|
|
400
400
|
import yargs from "yargs";
|
|
401
401
|
|
|
402
|
-
// bazel-out/
|
|
402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
403
403
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
404
404
|
import ts86 from "typescript";
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
407
407
|
var ErrorCode;
|
|
408
408
|
(function(ErrorCode2) {
|
|
409
409
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -454,7 +454,7 @@ var ErrorCode;
|
|
|
454
454
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
455
455
|
})(ErrorCode || (ErrorCode = {}));
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
458
458
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
459
459
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
460
460
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -465,10 +465,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
465
465
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
466
466
|
]);
|
|
467
467
|
|
|
468
|
-
// bazel-out/
|
|
468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
469
469
|
import ts2 from "typescript";
|
|
470
470
|
|
|
471
|
-
// bazel-out/
|
|
471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
472
472
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
473
473
|
function replaceTsWithNgInErrors(errors) {
|
|
474
474
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -477,7 +477,7 @@ function ngErrorCode(code) {
|
|
|
477
477
|
return parseInt("-99" + code);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
481
481
|
var FatalDiagnosticError = class {
|
|
482
482
|
constructor(code, node, message, relatedInformation) {
|
|
483
483
|
this.code = code;
|
|
@@ -514,10 +514,10 @@ function makeRelatedInformation(node, messageText) {
|
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
518
518
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
519
519
|
|
|
520
|
-
// bazel-out/
|
|
520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
521
521
|
var DEFAULT_ERROR_CODE = 100;
|
|
522
522
|
var UNKNOWN_ERROR_CODE = 500;
|
|
523
523
|
var SOURCE = "angular";
|
|
@@ -535,7 +535,7 @@ var EmitFlags;
|
|
|
535
535
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
536
536
|
})(EmitFlags || (EmitFlags = {}));
|
|
537
537
|
|
|
538
|
-
// bazel-out/
|
|
538
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
539
539
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
540
540
|
import fs3 from "fs";
|
|
541
541
|
import {
|
|
@@ -548,13 +548,13 @@ import {
|
|
|
548
548
|
} from "path";
|
|
549
549
|
import ts9 from "typescript";
|
|
550
550
|
|
|
551
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
552
552
|
import ts5 from "typescript";
|
|
553
553
|
|
|
554
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
555
555
|
import ts3 from "typescript";
|
|
556
556
|
|
|
557
|
-
// bazel-out/
|
|
557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
558
558
|
var METADATA_VERSION = 4;
|
|
559
559
|
function isClassMetadata(value) {
|
|
560
560
|
return value && value.__symbolic === "class";
|
|
@@ -616,7 +616,7 @@ function isMetadataError(value) {
|
|
|
616
616
|
return value && value.__symbolic === "error";
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
620
620
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
621
621
|
function isMethodCallOf(callExpression, memberName) {
|
|
622
622
|
const expression = callExpression.expression;
|
|
@@ -1175,7 +1175,7 @@ function arrayOrEmpty(v) {
|
|
|
1175
1175
|
return v || empty;
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1179
1179
|
import ts4 from "typescript";
|
|
1180
1180
|
var Symbols = class {
|
|
1181
1181
|
constructor(sourceFile) {
|
|
@@ -1300,7 +1300,7 @@ function populateBuiltins(symbols) {
|
|
|
1300
1300
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
// bazel-out/
|
|
1303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1304
1304
|
var isStatic = (node) => ts5.getCombinedModifierFlags(node) & ts5.ModifierFlags.Static;
|
|
1305
1305
|
var MetadataCollector = class {
|
|
1306
1306
|
constructor(options = {}) {
|
|
@@ -1921,7 +1921,7 @@ function expandedMessage(error2) {
|
|
|
1921
1921
|
return error2.message;
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1925
1925
|
import {
|
|
1926
1926
|
basename as basename4,
|
|
1927
1927
|
dirname as dirname4,
|
|
@@ -1930,7 +1930,7 @@ import {
|
|
|
1930
1930
|
} from "path";
|
|
1931
1931
|
import ts7 from "typescript";
|
|
1932
1932
|
|
|
1933
|
-
// bazel-out/
|
|
1933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1934
1934
|
import {
|
|
1935
1935
|
basename as basename3,
|
|
1936
1936
|
dirname as dirname3,
|
|
@@ -2400,7 +2400,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2400
2400
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2404
2404
|
var INDEX_HEADER = `/**
|
|
2405
2405
|
* Generated bundle index. Do not edit.
|
|
2406
2406
|
*/
|
|
@@ -2434,7 +2434,7 @@ function compare(select) {
|
|
|
2434
2434
|
};
|
|
2435
2435
|
}
|
|
2436
2436
|
|
|
2437
|
-
// bazel-out/
|
|
2437
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2438
2438
|
var DTS = /\.d\.ts$/;
|
|
2439
2439
|
var JS_EXT = /(\.js|)$/;
|
|
2440
2440
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2513,7 +2513,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2513
2513
|
return { host, indexName: name };
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
2516
|
-
// bazel-out/
|
|
2516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2517
2517
|
import { syntaxError } from "@angular/compiler";
|
|
2518
2518
|
import {
|
|
2519
2519
|
relative as relative3
|
|
@@ -2579,7 +2579,7 @@ function stripComment(commentText) {
|
|
|
2579
2579
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2580
2580
|
}
|
|
2581
2581
|
|
|
2582
|
-
// bazel-out/
|
|
2582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2583
2583
|
function createMetadataReaderCache() {
|
|
2584
2584
|
const data = new Map();
|
|
2585
2585
|
return { data };
|
|
@@ -2656,7 +2656,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2656
2656
|
return newMetadata;
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
|
-
// bazel-out/
|
|
2659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2660
2660
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2661
2661
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2662
2662
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3116,7 +3116,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3116
3116
|
return `${fileName}.$ngresource$`;
|
|
3117
3117
|
}
|
|
3118
3118
|
|
|
3119
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3120
3120
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3121
3121
|
import {
|
|
3122
3122
|
readFileSync as readFileSync2
|
|
@@ -3124,7 +3124,7 @@ import {
|
|
|
3124
3124
|
import * as path6 from "path";
|
|
3125
3125
|
import ts85 from "typescript";
|
|
3126
3126
|
|
|
3127
|
-
// bazel-out/
|
|
3127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3128
3128
|
import ts10 from "typescript";
|
|
3129
3129
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3130
3130
|
const ts89 = [];
|
|
@@ -3159,21 +3159,21 @@ function diagnosticMessageToString(message) {
|
|
|
3159
3159
|
return ts10.flattenDiagnosticMessageText(message, "\n");
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
|
-
// bazel-out/
|
|
3162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3163
3163
|
import ts73 from "typescript";
|
|
3164
3164
|
|
|
3165
|
-
// bazel-out/
|
|
3165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3166
3166
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3167
3167
|
import ts39 from "typescript";
|
|
3168
3168
|
|
|
3169
|
-
// bazel-out/
|
|
3169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3170
3170
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3171
3171
|
|
|
3172
|
-
// bazel-out/
|
|
3172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3173
3173
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3174
3174
|
import ts13 from "typescript";
|
|
3175
3175
|
|
|
3176
|
-
// bazel-out/
|
|
3176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3177
3177
|
import ts11 from "typescript";
|
|
3178
3178
|
var TS2 = /\.tsx?$/i;
|
|
3179
3179
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3261,7 +3261,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3261
3261
|
return redirectInfo.unredirected;
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
|
-
// bazel-out/
|
|
3264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3265
3265
|
import ts12 from "typescript";
|
|
3266
3266
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3267
3267
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3285,7 +3285,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3285
3285
|
return foundExportName;
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
|
-
// bazel-out/
|
|
3288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3289
3289
|
var ImportFlags;
|
|
3290
3290
|
(function(ImportFlags2) {
|
|
3291
3291
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3445,7 +3445,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3445
3445
|
}
|
|
3446
3446
|
};
|
|
3447
3447
|
|
|
3448
|
-
// bazel-out/
|
|
3448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3449
3449
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3450
3450
|
var UnifiedModulesAliasingHost = class {
|
|
3451
3451
|
constructor(unifiedModulesHost) {
|
|
@@ -3508,7 +3508,7 @@ var AliasStrategy = class {
|
|
|
3508
3508
|
}
|
|
3509
3509
|
};
|
|
3510
3510
|
|
|
3511
|
-
// bazel-out/
|
|
3511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3512
3512
|
function relativePathBetween(from, to) {
|
|
3513
3513
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3514
3514
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3517,7 +3517,7 @@ function normalizeSeparators2(path8) {
|
|
|
3517
3517
|
return path8.replace(/\\/g, "/");
|
|
3518
3518
|
}
|
|
3519
3519
|
|
|
3520
|
-
// bazel-out/
|
|
3520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3521
3521
|
var NoopImportRewriter = class {
|
|
3522
3522
|
shouldImportSymbol(symbol, specifier) {
|
|
3523
3523
|
return true;
|
|
@@ -3575,7 +3575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3575
3575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3576
3576
|
}
|
|
3577
3577
|
|
|
3578
|
-
// bazel-out/
|
|
3578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3579
3579
|
import ts14 from "typescript";
|
|
3580
3580
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3581
3581
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3620,7 +3620,7 @@ var DefaultImportTracker = class {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
3622
|
|
|
3623
|
-
// bazel-out/
|
|
3623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3624
3624
|
var Reference = class {
|
|
3625
3625
|
constructor(node, bestGuessOwningModule = null) {
|
|
3626
3626
|
this.node = node;
|
|
@@ -3683,7 +3683,7 @@ var Reference = class {
|
|
|
3683
3683
|
}
|
|
3684
3684
|
};
|
|
3685
3685
|
|
|
3686
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3687
3687
|
var ModuleResolver = class {
|
|
3688
3688
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3689
3689
|
this.program = program;
|
|
@@ -3700,7 +3700,7 @@ var ModuleResolver = class {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
};
|
|
3702
3702
|
|
|
3703
|
-
// bazel-out/
|
|
3703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3704
3704
|
import ts15 from "typescript";
|
|
3705
3705
|
var SemanticSymbol = class {
|
|
3706
3706
|
constructor(decl) {
|
|
@@ -3716,7 +3716,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3716
3716
|
return decl.name.text;
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
// bazel-out/
|
|
3719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3720
3720
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3721
3721
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3722
3722
|
isPublicApiAffected() {
|
|
@@ -3859,10 +3859,10 @@ function getImportPath(expr) {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
|
|
3862
|
-
// bazel-out/
|
|
3862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3863
3863
|
import ts16 from "typescript";
|
|
3864
3864
|
|
|
3865
|
-
// bazel-out/
|
|
3865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3866
3866
|
function isSymbolEqual(a, b) {
|
|
3867
3867
|
if (a.decl === b.decl) {
|
|
3868
3868
|
return true;
|
|
@@ -3912,7 +3912,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3912
3912
|
return true;
|
|
3913
3913
|
}
|
|
3914
3914
|
|
|
3915
|
-
// bazel-out/
|
|
3915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3916
3916
|
function extractSemanticTypeParameters(node) {
|
|
3917
3917
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3918
3918
|
return null;
|
|
@@ -3932,17 +3932,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
3932
3932
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3933
3933
|
}
|
|
3934
3934
|
|
|
3935
|
-
// bazel-out/
|
|
3935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
3936
3936
|
var MetaType;
|
|
3937
3937
|
(function(MetaType2) {
|
|
3938
3938
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
3939
3939
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
3940
3940
|
})(MetaType || (MetaType = {}));
|
|
3941
3941
|
|
|
3942
|
-
// bazel-out/
|
|
3942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
3943
3943
|
import ts22 from "typescript";
|
|
3944
3944
|
|
|
3945
|
-
// bazel-out/
|
|
3945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
3946
3946
|
import ts17 from "typescript";
|
|
3947
3947
|
var Decorator = {
|
|
3948
3948
|
nodeForError: (decorator) => {
|
|
@@ -3977,7 +3977,7 @@ function isConcreteDeclaration(decl) {
|
|
|
3977
3977
|
return decl.kind === 0;
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
// bazel-out/
|
|
3980
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
3981
3981
|
import ts18 from "typescript";
|
|
3982
3982
|
function typeToValue(typeNode, checker) {
|
|
3983
3983
|
if (typeNode === null) {
|
|
@@ -4138,10 +4138,10 @@ function extractModuleName(node) {
|
|
|
4138
4138
|
return node.moduleSpecifier.text;
|
|
4139
4139
|
}
|
|
4140
4140
|
|
|
4141
|
-
// bazel-out/
|
|
4141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4142
4142
|
import ts20 from "typescript";
|
|
4143
4143
|
|
|
4144
|
-
// bazel-out/
|
|
4144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4145
4145
|
import ts19 from "typescript";
|
|
4146
4146
|
function isNamedClassDeclaration(node) {
|
|
4147
4147
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4150,7 +4150,7 @@ function isIdentifier(node) {
|
|
|
4150
4150
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4151
4151
|
}
|
|
4152
4152
|
|
|
4153
|
-
// bazel-out/
|
|
4153
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4154
4154
|
var TypeScriptReflectionHost = class {
|
|
4155
4155
|
constructor(checker) {
|
|
4156
4156
|
this.checker = checker;
|
|
@@ -4586,7 +4586,7 @@ function getExportedName(decl, originalId) {
|
|
|
4586
4586
|
}
|
|
4587
4587
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4588
4588
|
|
|
4589
|
-
// bazel-out/
|
|
4589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4590
4590
|
var ClassPropertyMapping = class {
|
|
4591
4591
|
constructor(forwardMap) {
|
|
4592
4592
|
this.forwardMap = forwardMap;
|
|
@@ -4662,7 +4662,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4662
4662
|
return reverseMap;
|
|
4663
4663
|
}
|
|
4664
4664
|
|
|
4665
|
-
// bazel-out/
|
|
4665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4666
4666
|
import ts21 from "typescript";
|
|
4667
4667
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4668
4668
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4829,7 +4829,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4829
4829
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4830
4830
|
}
|
|
4831
4831
|
|
|
4832
|
-
// bazel-out/
|
|
4832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4833
4833
|
var DtsMetadataReader = class {
|
|
4834
4834
|
constructor(checker, reflector) {
|
|
4835
4835
|
this.checker = checker;
|
|
@@ -4929,7 +4929,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4929
4929
|
return null;
|
|
4930
4930
|
}
|
|
4931
4931
|
|
|
4932
|
-
// bazel-out/
|
|
4932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
4933
4933
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4934
4934
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4935
4935
|
if (topMeta === null) {
|
|
@@ -4986,7 +4986,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4986
4986
|
});
|
|
4987
4987
|
}
|
|
4988
4988
|
|
|
4989
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
4990
4990
|
var LocalMetadataRegistry = class {
|
|
4991
4991
|
constructor() {
|
|
4992
4992
|
this.directives = new Map();
|
|
@@ -5045,7 +5045,7 @@ var InjectableClassRegistry = class {
|
|
|
5045
5045
|
}
|
|
5046
5046
|
};
|
|
5047
5047
|
|
|
5048
|
-
// bazel-out/
|
|
5048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5049
5049
|
var ResourceRegistry = class {
|
|
5050
5050
|
constructor() {
|
|
5051
5051
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5110,10 +5110,10 @@ var ResourceRegistry = class {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
|
|
5113
|
-
// bazel-out/
|
|
5113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5114
5114
|
import ts23 from "typescript";
|
|
5115
5115
|
|
|
5116
|
-
// bazel-out/
|
|
5116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5117
5117
|
var DynamicValue = class {
|
|
5118
5118
|
constructor(node, reason, code) {
|
|
5119
5119
|
this.node = node;
|
|
@@ -5198,7 +5198,7 @@ var DynamicValue = class {
|
|
|
5198
5198
|
}
|
|
5199
5199
|
};
|
|
5200
5200
|
|
|
5201
|
-
// bazel-out/
|
|
5201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5202
5202
|
var ResolvedModule = class {
|
|
5203
5203
|
constructor(exports, evaluate) {
|
|
5204
5204
|
this.exports = exports;
|
|
@@ -5228,7 +5228,7 @@ var EnumValue = class {
|
|
|
5228
5228
|
var KnownFn = class {
|
|
5229
5229
|
};
|
|
5230
5230
|
|
|
5231
|
-
// bazel-out/
|
|
5231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5232
5232
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5233
5233
|
var _a, _b;
|
|
5234
5234
|
if (value === null) {
|
|
@@ -5354,10 +5354,10 @@ function getContainerNode(node) {
|
|
|
5354
5354
|
return node.getSourceFile();
|
|
5355
5355
|
}
|
|
5356
5356
|
|
|
5357
|
-
// bazel-out/
|
|
5357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5358
5358
|
import ts24 from "typescript";
|
|
5359
5359
|
|
|
5360
|
-
// bazel-out/
|
|
5360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5361
5361
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5362
5362
|
constructor(lhs) {
|
|
5363
5363
|
super();
|
|
@@ -5410,7 +5410,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5410
5410
|
}
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
// bazel-out/
|
|
5413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5414
5414
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5415
5415
|
};
|
|
5416
5416
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5463,7 +5463,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
};
|
|
5465
5465
|
|
|
5466
|
-
// bazel-out/
|
|
5466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5467
5467
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5468
5468
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5469
5469
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5487,7 +5487,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5487
5487
|
}
|
|
5488
5488
|
}
|
|
5489
5489
|
|
|
5490
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5491
5491
|
function literalBinaryOp(op) {
|
|
5492
5492
|
return { op, literal: true };
|
|
5493
5493
|
}
|
|
@@ -6072,7 +6072,7 @@ function owningModule(context, override = null) {
|
|
|
6072
6072
|
}
|
|
6073
6073
|
}
|
|
6074
6074
|
|
|
6075
|
-
// bazel-out/
|
|
6075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6076
6076
|
var PartialEvaluator = class {
|
|
6077
6077
|
constructor(host, checker, dependencyTracker) {
|
|
6078
6078
|
this.host = host;
|
|
@@ -6092,7 +6092,7 @@ var PartialEvaluator = class {
|
|
|
6092
6092
|
}
|
|
6093
6093
|
};
|
|
6094
6094
|
|
|
6095
|
-
// bazel-out/
|
|
6095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6096
6096
|
var PerfPhase;
|
|
6097
6097
|
(function(PerfPhase2) {
|
|
6098
6098
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6157,7 +6157,7 @@ var PerfCheckpoint;
|
|
|
6157
6157
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6158
6158
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6159
6159
|
|
|
6160
|
-
// bazel-out/
|
|
6160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6161
6161
|
var NoopPerfRecorder = class {
|
|
6162
6162
|
eventCount() {
|
|
6163
6163
|
}
|
|
@@ -6174,7 +6174,7 @@ var NoopPerfRecorder = class {
|
|
|
6174
6174
|
};
|
|
6175
6175
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6176
6176
|
|
|
6177
|
-
// bazel-out/
|
|
6177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6178
6178
|
function mark() {
|
|
6179
6179
|
return process.hrtime();
|
|
6180
6180
|
}
|
|
@@ -6183,7 +6183,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6183
6183
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
|
-
// bazel-out/
|
|
6186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6187
6187
|
var ActivePerfRecorder = class {
|
|
6188
6188
|
constructor(zeroTime) {
|
|
6189
6189
|
this.zeroTime = zeroTime;
|
|
@@ -6277,7 +6277,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6277
6277
|
}
|
|
6278
6278
|
};
|
|
6279
6279
|
|
|
6280
|
-
// bazel-out/
|
|
6280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6281
6281
|
var CompilationMode;
|
|
6282
6282
|
(function(CompilationMode2) {
|
|
6283
6283
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6295,7 +6295,7 @@ var HandlerFlags;
|
|
|
6295
6295
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6296
6296
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6297
6297
|
|
|
6298
|
-
// bazel-out/
|
|
6298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6299
6299
|
import ts25 from "typescript";
|
|
6300
6300
|
function aliasTransformFactory(exportStatements) {
|
|
6301
6301
|
return (context) => {
|
|
@@ -6313,10 +6313,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6313
6313
|
};
|
|
6314
6314
|
}
|
|
6315
6315
|
|
|
6316
|
-
// bazel-out/
|
|
6316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6317
6317
|
import ts26 from "typescript";
|
|
6318
6318
|
|
|
6319
|
-
// bazel-out/
|
|
6319
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6320
6320
|
var TraitState;
|
|
6321
6321
|
(function(TraitState2) {
|
|
6322
6322
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6371,7 +6371,7 @@ var TraitImpl = class {
|
|
|
6371
6371
|
}
|
|
6372
6372
|
};
|
|
6373
6373
|
|
|
6374
|
-
// bazel-out/
|
|
6374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6375
6375
|
var TraitCompiler = class {
|
|
6376
6376
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6377
6377
|
this.handlers = handlers;
|
|
@@ -6808,10 +6808,10 @@ var TraitCompiler = class {
|
|
|
6808
6808
|
}
|
|
6809
6809
|
};
|
|
6810
6810
|
|
|
6811
|
-
// bazel-out/
|
|
6811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6812
6812
|
import ts31 from "typescript";
|
|
6813
6813
|
|
|
6814
|
-
// bazel-out/
|
|
6814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6815
6815
|
var Context = class {
|
|
6816
6816
|
constructor(isStatement) {
|
|
6817
6817
|
this.isStatement = isStatement;
|
|
@@ -6824,7 +6824,7 @@ var Context = class {
|
|
|
6824
6824
|
}
|
|
6825
6825
|
};
|
|
6826
6826
|
|
|
6827
|
-
// bazel-out/
|
|
6827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6828
6828
|
import ts27 from "typescript";
|
|
6829
6829
|
var ImportManager = class {
|
|
6830
6830
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6860,7 +6860,7 @@ var ImportManager = class {
|
|
|
6860
6860
|
}
|
|
6861
6861
|
};
|
|
6862
6862
|
|
|
6863
|
-
// bazel-out/
|
|
6863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6864
6864
|
import {
|
|
6865
6865
|
BinaryOperator,
|
|
6866
6866
|
ConditionalExpr,
|
|
@@ -7104,7 +7104,7 @@ function createRange(span) {
|
|
|
7104
7104
|
};
|
|
7105
7105
|
}
|
|
7106
7106
|
|
|
7107
|
-
// bazel-out/
|
|
7107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7108
7108
|
import {
|
|
7109
7109
|
BuiltinTypeName
|
|
7110
7110
|
} from "@angular/compiler";
|
|
@@ -7283,7 +7283,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7283
7283
|
}
|
|
7284
7284
|
};
|
|
7285
7285
|
|
|
7286
|
-
// bazel-out/
|
|
7286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7287
7287
|
import ts29 from "typescript";
|
|
7288
7288
|
var PureAnnotation;
|
|
7289
7289
|
(function(PureAnnotation2) {
|
|
@@ -7455,7 +7455,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7455
7455
|
}
|
|
7456
7456
|
}
|
|
7457
7457
|
|
|
7458
|
-
// bazel-out/
|
|
7458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7459
7459
|
function translateExpression(expression, imports, options = {}) {
|
|
7460
7460
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7461
7461
|
}
|
|
@@ -7463,7 +7463,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7463
7463
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7464
7464
|
}
|
|
7465
7465
|
|
|
7466
|
-
// bazel-out/
|
|
7466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7467
7467
|
import ts30 from "typescript";
|
|
7468
7468
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7469
7469
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7491,7 +7491,7 @@ function isImportStatement(stmt) {
|
|
|
7491
7491
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7492
7492
|
}
|
|
7493
7493
|
|
|
7494
|
-
// bazel-out/
|
|
7494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7495
7495
|
var DtsTransformRegistry = class {
|
|
7496
7496
|
constructor() {
|
|
7497
7497
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7616,11 +7616,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7616
7616
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7617
7617
|
}
|
|
7618
7618
|
|
|
7619
|
-
// bazel-out/
|
|
7619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7620
7620
|
import { ConstantPool } from "@angular/compiler";
|
|
7621
7621
|
import ts33 from "typescript";
|
|
7622
7622
|
|
|
7623
|
-
// bazel-out/
|
|
7623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7624
7624
|
import ts32 from "typescript";
|
|
7625
7625
|
function visit(node, visitor, context) {
|
|
7626
7626
|
return visitor._visit(node, context);
|
|
@@ -7682,7 +7682,7 @@ function hasStatements(node) {
|
|
|
7682
7682
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7683
7683
|
}
|
|
7684
7684
|
|
|
7685
|
-
// bazel-out/
|
|
7685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7686
7686
|
var NO_DECORATORS = new Set();
|
|
7687
7687
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7688
7688
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7863,10 +7863,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7863
7863
|
};
|
|
7864
7864
|
}
|
|
7865
7865
|
|
|
7866
|
-
// bazel-out/
|
|
7866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7867
7867
|
import ts35 from "typescript";
|
|
7868
7868
|
|
|
7869
|
-
// bazel-out/
|
|
7869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7870
7870
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7871
7871
|
import ts34 from "typescript";
|
|
7872
7872
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8226,7 +8226,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8226
8226
|
};
|
|
8227
8227
|
}
|
|
8228
8228
|
|
|
8229
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8230
8230
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8231
8231
|
var _a;
|
|
8232
8232
|
let chainedMessage;
|
|
@@ -8322,11 +8322,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8322
8322
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8323
8323
|
}
|
|
8324
8324
|
|
|
8325
|
-
// bazel-out/
|
|
8326
|
-
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8326
|
+
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8327
8327
|
import ts37 from "typescript";
|
|
8328
8328
|
|
|
8329
|
-
// bazel-out/
|
|
8329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8330
8330
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8331
8331
|
function compileNgFactoryDefField(metadata) {
|
|
8332
8332
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8337,7 +8337,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8337
8337
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8338
8338
|
}
|
|
8339
8339
|
|
|
8340
|
-
// bazel-out/
|
|
8340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8341
8341
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8342
8342
|
import ts36 from "typescript";
|
|
8343
8343
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8425,7 +8425,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8425
8425
|
return result.transformed[0];
|
|
8426
8426
|
}
|
|
8427
8427
|
|
|
8428
|
-
// bazel-out/
|
|
8428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8429
8429
|
var EMPTY_OBJECT = {};
|
|
8430
8430
|
var FIELD_DECORATORS = [
|
|
8431
8431
|
"Input",
|
|
@@ -8733,17 +8733,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
|
|
|
8733
8733
|
};
|
|
8734
8734
|
}
|
|
8735
8735
|
function extractQueryMetadata(exprNode, name, args, propertyName, reflector, evaluator) {
|
|
8736
|
-
var _a;
|
|
8737
8736
|
if (args.length === 0) {
|
|
8738
8737
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
|
|
8739
8738
|
}
|
|
8740
8739
|
const first = name === "ViewChild" || name === "ContentChild";
|
|
8741
|
-
const
|
|
8740
|
+
const forwardReferenceTarget = tryUnwrapForwardRef(args[0], reflector);
|
|
8741
|
+
const node = forwardReferenceTarget != null ? forwardReferenceTarget : args[0];
|
|
8742
8742
|
const arg = evaluator.evaluate(node);
|
|
8743
8743
|
let isStatic2 = false;
|
|
8744
8744
|
let predicate = null;
|
|
8745
8745
|
if (arg instanceof Reference || arg instanceof DynamicValue) {
|
|
8746
|
-
predicate = new WrappedNodeExpr4(node);
|
|
8746
|
+
predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
|
|
8747
8747
|
} else if (typeof arg === "string") {
|
|
8748
8748
|
predicate = [arg];
|
|
8749
8749
|
} else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
|
|
@@ -8987,7 +8987,7 @@ var QUERY_TYPES = new Set([
|
|
|
8987
8987
|
"ViewChildren"
|
|
8988
8988
|
]);
|
|
8989
8989
|
|
|
8990
|
-
// bazel-out/
|
|
8990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
8991
8991
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
8992
8992
|
import ts38 from "typescript";
|
|
8993
8993
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -9421,7 +9421,7 @@ function isNgModule(node, compilation) {
|
|
|
9421
9421
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9422
9422
|
}
|
|
9423
9423
|
|
|
9424
|
-
// bazel-out/
|
|
9424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9425
9425
|
var EMPTY_MAP = new Map();
|
|
9426
9426
|
var EMPTY_ARRAY = [];
|
|
9427
9427
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10305,8 +10305,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10305
10305
|
return null;
|
|
10306
10306
|
}
|
|
10307
10307
|
|
|
10308
|
-
// bazel-out/
|
|
10309
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable,
|
|
10308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10309
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10310
10310
|
import ts40 from "typescript";
|
|
10311
10311
|
var InjectableDecoratorHandler = class {
|
|
10312
10312
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10394,7 +10394,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10394
10394
|
type,
|
|
10395
10395
|
typeArgumentCount,
|
|
10396
10396
|
internalType,
|
|
10397
|
-
providedIn:
|
|
10397
|
+
providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
|
|
10398
10398
|
};
|
|
10399
10399
|
} else if (decorator.args.length === 1) {
|
|
10400
10400
|
const metaNode = decorator.args[0];
|
|
@@ -10402,7 +10402,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10402
10402
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10403
10403
|
}
|
|
10404
10404
|
const meta = reflectObjectLiteral(metaNode);
|
|
10405
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) :
|
|
10405
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
|
|
10406
10406
|
let deps = void 0;
|
|
10407
10407
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10408
10408
|
const depsExpr = meta.get("deps");
|
|
@@ -10430,7 +10430,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10430
10430
|
}
|
|
10431
10431
|
function getProviderExpression(expression, reflector) {
|
|
10432
10432
|
const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
|
|
10433
|
-
return
|
|
10433
|
+
return createMayBeForwardRefExpression2(new WrappedNodeExpr7(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
|
|
10434
10434
|
}
|
|
10435
10435
|
function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
|
|
10436
10436
|
if (decorator.args === null) {
|
|
@@ -10505,7 +10505,7 @@ function getDep(dep, reflector) {
|
|
|
10505
10505
|
return meta;
|
|
10506
10506
|
}
|
|
10507
10507
|
|
|
10508
|
-
// bazel-out/
|
|
10508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10509
10509
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10510
10510
|
import ts41 from "typescript";
|
|
10511
10511
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10630,13 +10630,13 @@ var PipeDecoratorHandler = class {
|
|
|
10630
10630
|
}
|
|
10631
10631
|
};
|
|
10632
10632
|
|
|
10633
|
-
// bazel-out/
|
|
10633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10634
10634
|
var NoopReferencesRegistry = class {
|
|
10635
10635
|
add(source, ...references) {
|
|
10636
10636
|
}
|
|
10637
10637
|
};
|
|
10638
10638
|
|
|
10639
|
-
// bazel-out/
|
|
10639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10640
10640
|
var CycleAnalyzer = class {
|
|
10641
10641
|
constructor(importGraph) {
|
|
10642
10642
|
this.importGraph = importGraph;
|
|
@@ -10707,7 +10707,7 @@ var Cycle = class {
|
|
|
10707
10707
|
}
|
|
10708
10708
|
};
|
|
10709
10709
|
|
|
10710
|
-
// bazel-out/
|
|
10710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10711
10711
|
import ts42 from "typescript";
|
|
10712
10712
|
var ImportGraph = class {
|
|
10713
10713
|
constructor(checker, perf) {
|
|
@@ -10790,7 +10790,7 @@ var Found = class {
|
|
|
10790
10790
|
}
|
|
10791
10791
|
};
|
|
10792
10792
|
|
|
10793
|
-
// bazel-out/
|
|
10793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10794
10794
|
import ts43 from "typescript";
|
|
10795
10795
|
var FlatIndexGenerator = class {
|
|
10796
10796
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10815,7 +10815,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10815
10815
|
}
|
|
10816
10816
|
};
|
|
10817
10817
|
|
|
10818
|
-
// bazel-out/
|
|
10818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10819
10819
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10820
10820
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10821
10821
|
let resolvedEntryPoint = null;
|
|
@@ -10831,7 +10831,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10831
10831
|
return resolvedEntryPoint;
|
|
10832
10832
|
}
|
|
10833
10833
|
|
|
10834
|
-
// bazel-out/
|
|
10834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10835
10835
|
import ts44 from "typescript";
|
|
10836
10836
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10837
10837
|
const diagnostics = [];
|
|
@@ -10911,7 +10911,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10911
10911
|
}
|
|
10912
10912
|
}
|
|
10913
10913
|
|
|
10914
|
-
// bazel-out/
|
|
10914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10915
10915
|
var ReferenceGraph = class {
|
|
10916
10916
|
constructor() {
|
|
10917
10917
|
this.references = new Map();
|
|
@@ -10965,7 +10965,7 @@ var ReferenceGraph = class {
|
|
|
10965
10965
|
}
|
|
10966
10966
|
};
|
|
10967
10967
|
|
|
10968
|
-
// bazel-out/
|
|
10968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
10969
10969
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
10970
10970
|
var UpdateMode;
|
|
10971
10971
|
(function(UpdateMode2) {
|
|
@@ -10973,13 +10973,13 @@ var UpdateMode;
|
|
|
10973
10973
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
10974
10974
|
})(UpdateMode || (UpdateMode = {}));
|
|
10975
10975
|
|
|
10976
|
-
// bazel-out/
|
|
10976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
10977
10977
|
import ts48 from "typescript";
|
|
10978
10978
|
|
|
10979
|
-
// bazel-out/
|
|
10979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
10980
10980
|
import ts45 from "typescript";
|
|
10981
10981
|
|
|
10982
|
-
// bazel-out/
|
|
10982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
10983
10983
|
var NgExtension = Symbol("NgExtension");
|
|
10984
10984
|
function isExtended(sf) {
|
|
10985
10985
|
return sf[NgExtension] !== void 0;
|
|
@@ -11039,7 +11039,7 @@ function retagTsFile(sf) {
|
|
|
11039
11039
|
}
|
|
11040
11040
|
}
|
|
11041
11041
|
|
|
11042
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11043
11043
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11044
11044
|
function makeShimFileName(fileName, suffix) {
|
|
11045
11045
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11054,7 +11054,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11054
11054
|
return moduleName;
|
|
11055
11055
|
}
|
|
11056
11056
|
|
|
11057
|
-
// bazel-out/
|
|
11057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11058
11058
|
var ShimAdapter = class {
|
|
11059
11059
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11060
11060
|
this.delegate = delegate;
|
|
@@ -11151,7 +11151,7 @@ var ShimAdapter = class {
|
|
|
11151
11151
|
}
|
|
11152
11152
|
};
|
|
11153
11153
|
|
|
11154
|
-
// bazel-out/
|
|
11154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11155
11155
|
import ts46 from "typescript";
|
|
11156
11156
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11157
11157
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11300,7 +11300,7 @@ function updateInitializers(stmt, update) {
|
|
|
11300
11300
|
return ts46.updateVariableStatement(stmt, stmt.modifiers, ts46.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts46.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
11301
11301
|
}
|
|
11302
11302
|
|
|
11303
|
-
// bazel-out/
|
|
11303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11304
11304
|
var ShimReferenceTagger = class {
|
|
11305
11305
|
constructor(shimExtensions) {
|
|
11306
11306
|
this.tagged = new Set();
|
|
@@ -11334,7 +11334,7 @@ var ShimReferenceTagger = class {
|
|
|
11334
11334
|
}
|
|
11335
11335
|
};
|
|
11336
11336
|
|
|
11337
|
-
// bazel-out/
|
|
11337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11338
11338
|
import ts47 from "typescript";
|
|
11339
11339
|
var SummaryGenerator = class {
|
|
11340
11340
|
constructor() {
|
|
@@ -11374,7 +11374,7 @@ function isExported2(decl) {
|
|
|
11374
11374
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11375
11375
|
}
|
|
11376
11376
|
|
|
11377
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11378
11378
|
var DelegatingCompilerHost = class {
|
|
11379
11379
|
constructor(delegate) {
|
|
11380
11380
|
this.delegate = delegate;
|
|
@@ -11483,7 +11483,7 @@ var TsCreateProgramDriver = class {
|
|
|
11483
11483
|
}
|
|
11484
11484
|
};
|
|
11485
11485
|
|
|
11486
|
-
// bazel-out/
|
|
11486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11487
11487
|
var FileDependencyGraph = class {
|
|
11488
11488
|
constructor() {
|
|
11489
11489
|
this.nodes = new Map();
|
|
@@ -11550,7 +11550,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11550
11550
|
return false;
|
|
11551
11551
|
}
|
|
11552
11552
|
|
|
11553
|
-
// bazel-out/
|
|
11553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11554
11554
|
var IncrementalStateKind;
|
|
11555
11555
|
(function(IncrementalStateKind2) {
|
|
11556
11556
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11558,7 +11558,7 @@ var IncrementalStateKind;
|
|
|
11558
11558
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11559
11559
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11560
11560
|
|
|
11561
|
-
// bazel-out/
|
|
11561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11562
11562
|
var PhaseKind;
|
|
11563
11563
|
(function(PhaseKind2) {
|
|
11564
11564
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11759,7 +11759,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11759
11759
|
}
|
|
11760
11760
|
}
|
|
11761
11761
|
|
|
11762
|
-
// bazel-out/
|
|
11762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11763
11763
|
var TrackedIncrementalBuildStrategy = class {
|
|
11764
11764
|
constructor() {
|
|
11765
11765
|
this.state = null;
|
|
@@ -11780,7 +11780,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
11780
11780
|
};
|
|
11781
11781
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11782
11782
|
|
|
11783
|
-
// bazel-out/
|
|
11783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11784
11784
|
var IdentifierKind;
|
|
11785
11785
|
(function(IdentifierKind2) {
|
|
11786
11786
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11798,7 +11798,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11798
11798
|
}
|
|
11799
11799
|
};
|
|
11800
11800
|
|
|
11801
|
-
// bazel-out/
|
|
11801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11802
11802
|
var IndexingContext = class {
|
|
11803
11803
|
constructor() {
|
|
11804
11804
|
this.components = new Set();
|
|
@@ -11808,10 +11808,10 @@ var IndexingContext = class {
|
|
|
11808
11808
|
}
|
|
11809
11809
|
};
|
|
11810
11810
|
|
|
11811
|
-
// bazel-out/
|
|
11811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11812
11812
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11813
11813
|
|
|
11814
|
-
// bazel-out/
|
|
11814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11815
11815
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11816
11816
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11817
11817
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12015,7 +12015,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12015
12015
|
return visitor.identifiers;
|
|
12016
12016
|
}
|
|
12017
12017
|
|
|
12018
|
-
// bazel-out/
|
|
12018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12019
12019
|
function generateAnalysis(context) {
|
|
12020
12020
|
const analysis = new Map();
|
|
12021
12021
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12049,7 +12049,7 @@ function generateAnalysis(context) {
|
|
|
12049
12049
|
return analysis;
|
|
12050
12050
|
}
|
|
12051
12051
|
|
|
12052
|
-
// bazel-out/
|
|
12052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12053
12053
|
import ts49 from "typescript";
|
|
12054
12054
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12055
12055
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12194,7 +12194,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12194
12194
|
};
|
|
12195
12195
|
}
|
|
12196
12196
|
|
|
12197
|
-
// bazel-out/
|
|
12197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12198
12198
|
var MetadataDtsModuleScopeResolver = class {
|
|
12199
12199
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12200
12200
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12280,7 +12280,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12280
12280
|
}
|
|
12281
12281
|
};
|
|
12282
12282
|
|
|
12283
|
-
// bazel-out/
|
|
12283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12284
12284
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12285
12285
|
import ts50 from "typescript";
|
|
12286
12286
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12588,7 +12588,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12588
12588
|
]);
|
|
12589
12589
|
}
|
|
12590
12590
|
|
|
12591
|
-
// bazel-out/
|
|
12591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12592
12592
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12593
12593
|
import ts51 from "typescript";
|
|
12594
12594
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12649,7 +12649,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12649
12649
|
}
|
|
12650
12650
|
};
|
|
12651
12651
|
|
|
12652
|
-
// bazel-out/
|
|
12652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12653
12653
|
import ts52 from "typescript";
|
|
12654
12654
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12655
12655
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12713,24 +12713,24 @@ function hasIvySwitches(stmt) {
|
|
|
12713
12713
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12714
12714
|
}
|
|
12715
12715
|
|
|
12716
|
-
// bazel-out/
|
|
12716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12717
12717
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12718
12718
|
|
|
12719
|
-
// bazel-out/
|
|
12719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12720
12720
|
var OptimizeFor;
|
|
12721
12721
|
(function(OptimizeFor2) {
|
|
12722
12722
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12723
12723
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12724
12724
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12725
12725
|
|
|
12726
|
-
// bazel-out/
|
|
12726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12727
12727
|
var CompletionKind;
|
|
12728
12728
|
(function(CompletionKind2) {
|
|
12729
12729
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12730
12730
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12731
12731
|
})(CompletionKind || (CompletionKind = {}));
|
|
12732
12732
|
|
|
12733
|
-
// bazel-out/
|
|
12733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12734
12734
|
var SymbolKind;
|
|
12735
12735
|
(function(SymbolKind2) {
|
|
12736
12736
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12746,7 +12746,7 @@ var SymbolKind;
|
|
|
12746
12746
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12747
12747
|
})(SymbolKind || (SymbolKind = {}));
|
|
12748
12748
|
|
|
12749
|
-
// bazel-out/
|
|
12749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12750
12750
|
import ts53 from "typescript";
|
|
12751
12751
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12752
12752
|
if (mapping.type === "direct") {
|
|
@@ -12819,7 +12819,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12819
12819
|
}
|
|
12820
12820
|
}
|
|
12821
12821
|
|
|
12822
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12823
12823
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12824
12824
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12825
12825
|
function getTemplateId(clazz) {
|
|
@@ -12836,11 +12836,11 @@ function allocateTemplateId(sf) {
|
|
|
12836
12836
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12837
12837
|
}
|
|
12838
12838
|
|
|
12839
|
-
// bazel-out/
|
|
12839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12840
12840
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12841
12841
|
import ts55 from "typescript";
|
|
12842
12842
|
|
|
12843
|
-
// bazel-out/
|
|
12843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12844
12844
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12845
12845
|
import ts54 from "typescript";
|
|
12846
12846
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -12960,7 +12960,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
12960
12960
|
}) || false;
|
|
12961
12961
|
}
|
|
12962
12962
|
|
|
12963
|
-
// bazel-out/
|
|
12963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12964
12964
|
var CompletionEngine = class {
|
|
12965
12965
|
constructor(tcb, data, shimPath) {
|
|
12966
12966
|
this.tcb = tcb;
|
|
@@ -13111,10 +13111,10 @@ var CompletionEngine = class {
|
|
|
13111
13111
|
}
|
|
13112
13112
|
};
|
|
13113
13113
|
|
|
13114
|
-
// bazel-out/
|
|
13114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13115
13115
|
import ts69 from "typescript";
|
|
13116
13116
|
|
|
13117
|
-
// bazel-out/
|
|
13117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13118
13118
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13119
13119
|
import ts56 from "typescript";
|
|
13120
13120
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13164,11 +13164,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13164
13164
|
}
|
|
13165
13165
|
};
|
|
13166
13166
|
|
|
13167
|
-
// bazel-out/
|
|
13167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13168
13168
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13169
13169
|
import ts62 from "typescript";
|
|
13170
13170
|
|
|
13171
|
-
// bazel-out/
|
|
13171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13172
13172
|
import ts57 from "typescript";
|
|
13173
13173
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13174
13174
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13237,16 +13237,16 @@ function isAccessExpression(node) {
|
|
|
13237
13237
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13238
13238
|
}
|
|
13239
13239
|
|
|
13240
|
-
// bazel-out/
|
|
13240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13241
13241
|
import ts61 from "typescript";
|
|
13242
13242
|
|
|
13243
|
-
// bazel-out/
|
|
13243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13244
13244
|
import ts60 from "typescript";
|
|
13245
13245
|
|
|
13246
|
-
// bazel-out/
|
|
13246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13247
13247
|
import ts59 from "typescript";
|
|
13248
13248
|
|
|
13249
|
-
// bazel-out/
|
|
13249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13250
13250
|
import ts58 from "typescript";
|
|
13251
13251
|
var INELIGIBLE = {};
|
|
13252
13252
|
function canEmitType(type, resolver) {
|
|
@@ -13321,7 +13321,7 @@ var TypeEmitter = class {
|
|
|
13321
13321
|
}
|
|
13322
13322
|
};
|
|
13323
13323
|
|
|
13324
|
-
// bazel-out/
|
|
13324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13325
13325
|
var TypeParameterEmitter = class {
|
|
13326
13326
|
constructor(typeParameters, reflector) {
|
|
13327
13327
|
this.typeParameters = typeParameters;
|
|
@@ -13384,7 +13384,7 @@ var TypeParameterEmitter = class {
|
|
|
13384
13384
|
}
|
|
13385
13385
|
};
|
|
13386
13386
|
|
|
13387
|
-
// bazel-out/
|
|
13387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13388
13388
|
var TcbInliningRequirement;
|
|
13389
13389
|
(function(TcbInliningRequirement2) {
|
|
13390
13390
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13463,7 +13463,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13463
13463
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13464
13464
|
}
|
|
13465
13465
|
|
|
13466
|
-
// bazel-out/
|
|
13466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13467
13467
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13468
13468
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13469
13469
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13537,7 +13537,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13537
13537
|
});
|
|
13538
13538
|
}
|
|
13539
13539
|
|
|
13540
|
-
// bazel-out/
|
|
13540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13541
13541
|
var Environment = class {
|
|
13542
13542
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13543
13543
|
this.config = config;
|
|
@@ -13623,7 +13623,7 @@ var Environment = class {
|
|
|
13623
13623
|
}
|
|
13624
13624
|
};
|
|
13625
13625
|
|
|
13626
|
-
// bazel-out/
|
|
13626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13627
13627
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13628
13628
|
import ts63 from "typescript";
|
|
13629
13629
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13755,7 +13755,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13755
13755
|
});
|
|
13756
13756
|
}
|
|
13757
13757
|
|
|
13758
|
-
// bazel-out/
|
|
13758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13759
13759
|
import ts64 from "typescript";
|
|
13760
13760
|
var TypeCheckShimGenerator = class {
|
|
13761
13761
|
constructor() {
|
|
@@ -13773,11 +13773,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13773
13773
|
}
|
|
13774
13774
|
};
|
|
13775
13775
|
|
|
13776
|
-
// bazel-out/
|
|
13776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13777
13777
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, 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";
|
|
13778
13778
|
import ts67 from "typescript";
|
|
13779
13779
|
|
|
13780
|
-
// bazel-out/
|
|
13780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13781
13781
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13782
13782
|
import ts65 from "typescript";
|
|
13783
13783
|
function wrapForDiagnostics(expr) {
|
|
@@ -13823,7 +13823,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13823
13823
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13824
13824
|
}
|
|
13825
13825
|
|
|
13826
|
-
// bazel-out/
|
|
13826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13827
13827
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13828
13828
|
import ts66 from "typescript";
|
|
13829
13829
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14127,7 +14127,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14127
14127
|
};
|
|
14128
14128
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14129
14129
|
|
|
14130
|
-
// bazel-out/
|
|
14130
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14131
14131
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14132
14132
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14133
14133
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14151,7 +14151,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14151
14151
|
}
|
|
14152
14152
|
};
|
|
14153
14153
|
|
|
14154
|
-
// bazel-out/
|
|
14154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14155
14155
|
var TcbGenericContextBehavior;
|
|
14156
14156
|
(function(TcbGenericContextBehavior2) {
|
|
14157
14157
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -14491,12 +14491,7 @@ var TcbDirectiveInputsOp = class extends TcbOp {
|
|
|
14491
14491
|
let dirId = null;
|
|
14492
14492
|
const inputs = getBoundInputs(this.dir, this.node, this.tcb);
|
|
14493
14493
|
for (const input of inputs) {
|
|
14494
|
-
|
|
14495
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14496
|
-
expr = tsCastToAny(expr);
|
|
14497
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14498
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14499
|
-
}
|
|
14494
|
+
const expr = widenBinding(translateInput(input.attribute, this.tcb, this.scope), this.tcb);
|
|
14500
14495
|
let assignment = wrapForDiagnostics(expr);
|
|
14501
14496
|
for (const fieldName of input.fieldNames) {
|
|
14502
14497
|
let target;
|
|
@@ -14617,12 +14612,7 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
|
|
|
14617
14612
|
if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
|
|
14618
14613
|
continue;
|
|
14619
14614
|
}
|
|
14620
|
-
|
|
14621
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14622
|
-
expr = tsCastToAny(expr);
|
|
14623
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14624
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14625
|
-
}
|
|
14615
|
+
const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
|
|
14626
14616
|
if (this.tcb.env.config.checkTypeOfDomBindings && binding.type === 0) {
|
|
14627
14617
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
14628
14618
|
if (elId === null) {
|
|
@@ -15107,12 +15097,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
|
15107
15097
|
const members = inputs.map((input) => {
|
|
15108
15098
|
const propertyName = ts67.createStringLiteral(input.field);
|
|
15109
15099
|
if (input.type === "binding") {
|
|
15110
|
-
|
|
15111
|
-
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15112
|
-
expr = tsCastToAny(expr);
|
|
15113
|
-
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15114
|
-
expr = ts67.createNonNullExpression(expr);
|
|
15115
|
-
}
|
|
15100
|
+
const expr = widenBinding(input.expression, tcb);
|
|
15116
15101
|
const assignment = ts67.createPropertyAssignment(propertyName, wrapForDiagnostics(expr));
|
|
15117
15102
|
addParseSpanInfo(assignment, input.sourceSpan);
|
|
15118
15103
|
return assignment;
|
|
@@ -15149,6 +15134,19 @@ function translateInput(attr, tcb, scope) {
|
|
|
15149
15134
|
return ts67.createStringLiteral(attr.value);
|
|
15150
15135
|
}
|
|
15151
15136
|
}
|
|
15137
|
+
function widenBinding(expr, tcb) {
|
|
15138
|
+
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15139
|
+
return tsCastToAny(expr);
|
|
15140
|
+
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15141
|
+
if (ts67.isObjectLiteralExpression(expr) || ts67.isArrayLiteralExpression(expr)) {
|
|
15142
|
+
return expr;
|
|
15143
|
+
} else {
|
|
15144
|
+
return ts67.createNonNullExpression(expr);
|
|
15145
|
+
}
|
|
15146
|
+
} else {
|
|
15147
|
+
return expr;
|
|
15148
|
+
}
|
|
15149
|
+
}
|
|
15152
15150
|
var EVENT_PARAMETER = "$event";
|
|
15153
15151
|
function tcbCreateEventHandler(event, tcb, scope, eventType) {
|
|
15154
15152
|
const handler = tcbEventHandlerExpression(event.handler, tcb, scope);
|
|
@@ -15203,7 +15201,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15203
15201
|
}
|
|
15204
15202
|
};
|
|
15205
15203
|
|
|
15206
|
-
// bazel-out/
|
|
15204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15207
15205
|
import ts68 from "typescript";
|
|
15208
15206
|
var TypeCheckFile = class extends Environment {
|
|
15209
15207
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15239,7 +15237,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15239
15237
|
}
|
|
15240
15238
|
};
|
|
15241
15239
|
|
|
15242
|
-
// bazel-out/
|
|
15240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15243
15241
|
var InliningMode;
|
|
15244
15242
|
(function(InliningMode2) {
|
|
15245
15243
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15469,10 +15467,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15469
15467
|
return splits;
|
|
15470
15468
|
}
|
|
15471
15469
|
|
|
15472
|
-
// bazel-out/
|
|
15470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15473
15471
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15474
15472
|
|
|
15475
|
-
// bazel-out/
|
|
15473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15476
15474
|
var LF_CHAR = 10;
|
|
15477
15475
|
var CR_CHAR = 13;
|
|
15478
15476
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15513,7 +15511,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15513
15511
|
return low - 1;
|
|
15514
15512
|
}
|
|
15515
15513
|
|
|
15516
|
-
// bazel-out/
|
|
15514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15517
15515
|
var TemplateSource = class {
|
|
15518
15516
|
constructor(mapping, file) {
|
|
15519
15517
|
this.mapping = mapping;
|
|
@@ -15564,7 +15562,7 @@ var TemplateSourceManager = class {
|
|
|
15564
15562
|
}
|
|
15565
15563
|
};
|
|
15566
15564
|
|
|
15567
|
-
// bazel-out/
|
|
15565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15568
15566
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite3, 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";
|
|
15569
15567
|
import ts70 from "typescript";
|
|
15570
15568
|
var SymbolBuilder = class {
|
|
@@ -15989,7 +15987,7 @@ function sourceSpanEqual(a, b) {
|
|
|
15989
15987
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
15990
15988
|
}
|
|
15991
15989
|
|
|
15992
|
-
// bazel-out/
|
|
15990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15993
15991
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15994
15992
|
var TemplateTypeCheckerImpl = class {
|
|
15995
15993
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16505,7 +16503,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16505
16503
|
}
|
|
16506
16504
|
};
|
|
16507
16505
|
|
|
16508
|
-
// bazel-out/
|
|
16506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16509
16507
|
var ExtendedTemplateCheckerImpl = class {
|
|
16510
16508
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16511
16509
|
this.templateChecks = templateChecks;
|
|
@@ -16524,11 +16522,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16524
16522
|
}
|
|
16525
16523
|
};
|
|
16526
16524
|
|
|
16527
|
-
// bazel-out/
|
|
16525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16528
16526
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16529
16527
|
import ts71 from "typescript";
|
|
16530
16528
|
|
|
16531
|
-
// bazel-out/
|
|
16529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16532
16530
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16533
16531
|
var TemplateCheckWithVisitor = class {
|
|
16534
16532
|
run(ctx, component, template) {
|
|
@@ -16605,7 +16603,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16605
16603
|
}
|
|
16606
16604
|
};
|
|
16607
16605
|
|
|
16608
|
-
// bazel-out/
|
|
16606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16609
16607
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16610
16608
|
constructor() {
|
|
16611
16609
|
super(...arguments);
|
|
@@ -16625,7 +16623,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16625
16623
|
}
|
|
16626
16624
|
};
|
|
16627
16625
|
|
|
16628
|
-
// bazel-out/
|
|
16626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16629
16627
|
import { Binary } from "@angular/compiler";
|
|
16630
16628
|
import ts72 from "typescript";
|
|
16631
16629
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16653,7 +16651,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16653
16651
|
}
|
|
16654
16652
|
};
|
|
16655
16653
|
|
|
16656
|
-
// bazel-out/
|
|
16654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16657
16655
|
var CompilationTicketKind;
|
|
16658
16656
|
(function(CompilationTicketKind2) {
|
|
16659
16657
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17275,11 +17273,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17275
17273
|
return versions;
|
|
17276
17274
|
}
|
|
17277
17275
|
|
|
17278
|
-
// bazel-out/
|
|
17276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17279
17277
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17280
17278
|
import ts76 from "typescript";
|
|
17281
17279
|
|
|
17282
|
-
// bazel-out/
|
|
17280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17283
17281
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17284
17282
|
import {
|
|
17285
17283
|
relative as relative5,
|
|
@@ -17334,12 +17332,19 @@ function getPathNormalizer(basePath) {
|
|
|
17334
17332
|
};
|
|
17335
17333
|
}
|
|
17336
17334
|
|
|
17337
|
-
// bazel-out/
|
|
17335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17338
17336
|
import ts74 from "typescript";
|
|
17339
17337
|
|
|
17340
|
-
// bazel-out/
|
|
17338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17341
17339
|
function toNumbers(value) {
|
|
17342
|
-
|
|
17340
|
+
const suffixIndex = value.lastIndexOf("-");
|
|
17341
|
+
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
17342
|
+
const parsed = parseInt(segment, 10);
|
|
17343
|
+
if (isNaN(parsed)) {
|
|
17344
|
+
throw Error(`Unable to parse version string ${value}.`);
|
|
17345
|
+
}
|
|
17346
|
+
return parsed;
|
|
17347
|
+
});
|
|
17343
17348
|
}
|
|
17344
17349
|
function compareNumbers(a, b) {
|
|
17345
17350
|
const max = Math.max(a.length, b.length);
|
|
@@ -17365,7 +17370,7 @@ function compareVersions(v1, v2) {
|
|
|
17365
17370
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17366
17371
|
}
|
|
17367
17372
|
|
|
17368
|
-
// bazel-out/
|
|
17373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17369
17374
|
var MIN_TS_VERSION = "4.4.2";
|
|
17370
17375
|
var MAX_TS_VERSION = "4.5.0";
|
|
17371
17376
|
var tsVersion = ts74.version;
|
|
@@ -17378,7 +17383,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17378
17383
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17379
17384
|
}
|
|
17380
17385
|
|
|
17381
|
-
// bazel-out/
|
|
17386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17382
17387
|
import ts75 from "typescript";
|
|
17383
17388
|
var DelegatingCompilerHost2 = class {
|
|
17384
17389
|
constructor(delegate) {
|
|
@@ -17518,7 +17523,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17518
17523
|
}
|
|
17519
17524
|
};
|
|
17520
17525
|
|
|
17521
|
-
// bazel-out/
|
|
17526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17522
17527
|
var NgtscProgram = class {
|
|
17523
17528
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17524
17529
|
this.options = options;
|
|
@@ -17731,10 +17736,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17731
17736
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17732
17737
|
}
|
|
17733
17738
|
|
|
17734
|
-
// bazel-out/
|
|
17739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17735
17740
|
import ts78 from "typescript";
|
|
17736
17741
|
|
|
17737
|
-
// bazel-out/
|
|
17742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17738
17743
|
import ts77 from "typescript";
|
|
17739
17744
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17740
17745
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17769,7 +17774,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17769
17774
|
throw Error("Unable to downlevel Angular decorators due to an incompatible TypeScript version.\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
17770
17775
|
}
|
|
17771
17776
|
|
|
17772
|
-
// bazel-out/
|
|
17777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17773
17778
|
function isAngularDecorator3(decorator, isCore) {
|
|
17774
17779
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17775
17780
|
}
|
|
@@ -18073,7 +18078,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18073
18078
|
};
|
|
18074
18079
|
}
|
|
18075
18080
|
|
|
18076
|
-
// bazel-out/
|
|
18081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18077
18082
|
import ts79 from "typescript";
|
|
18078
18083
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18079
18084
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18268,7 +18273,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18268
18273
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18269
18274
|
}
|
|
18270
18275
|
|
|
18271
|
-
// bazel-out/
|
|
18276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18272
18277
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18273
18278
|
import ts80 from "typescript";
|
|
18274
18279
|
function toMap(items, select) {
|
|
@@ -18545,7 +18550,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18545
18550
|
return exportTable;
|
|
18546
18551
|
}
|
|
18547
18552
|
|
|
18548
|
-
// bazel-out/
|
|
18553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18549
18554
|
import ts81 from "typescript";
|
|
18550
18555
|
var MetadataCache = class {
|
|
18551
18556
|
constructor(collector, strict, transformers) {
|
|
@@ -18586,10 +18591,10 @@ var MetadataCache = class {
|
|
|
18586
18591
|
}
|
|
18587
18592
|
};
|
|
18588
18593
|
|
|
18589
|
-
// bazel-out/
|
|
18594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18590
18595
|
import ts83 from "typescript";
|
|
18591
18596
|
|
|
18592
|
-
// bazel-out/
|
|
18597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18593
18598
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18594
18599
|
import ts82 from "typescript";
|
|
18595
18600
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19041,7 +19046,7 @@ function translateModifiers(modifiers) {
|
|
|
19041
19046
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19042
19047
|
}
|
|
19043
19048
|
|
|
19044
|
-
// bazel-out/
|
|
19049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19045
19050
|
function getPreamble(original) {
|
|
19046
19051
|
return `*
|
|
19047
19052
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19088,7 +19093,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19088
19093
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19089
19094
|
}
|
|
19090
19095
|
|
|
19091
|
-
// bazel-out/
|
|
19096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19092
19097
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19093
19098
|
import ts84 from "typescript";
|
|
19094
19099
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19124,7 +19129,7 @@ function isClassStmt(v) {
|
|
|
19124
19129
|
return v instanceof ClassStmt2;
|
|
19125
19130
|
}
|
|
19126
19131
|
|
|
19127
|
-
// bazel-out/
|
|
19132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19128
19133
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19129
19134
|
if (modules.length === 0) {
|
|
19130
19135
|
return () => (sf) => sf;
|
|
@@ -19142,7 +19147,7 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19142
19147
|
};
|
|
19143
19148
|
}
|
|
19144
19149
|
|
|
19145
|
-
// bazel-out/
|
|
19150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19146
19151
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19147
19152
|
var VE_DISABLED_MESSAGE = `
|
|
19148
19153
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
@@ -19867,7 +19872,7 @@ function isIvyNgModule(clazz) {
|
|
|
19867
19872
|
return false;
|
|
19868
19873
|
}
|
|
19869
19874
|
|
|
19870
|
-
// bazel-out/
|
|
19875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19871
19876
|
var defaultFormatHost = {
|
|
19872
19877
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19873
19878
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20096,7 +20101,7 @@ function hasErrors(diags) {
|
|
|
20096
20101
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20097
20102
|
}
|
|
20098
20103
|
|
|
20099
|
-
// bazel-out/
|
|
20104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
20100
20105
|
import {
|
|
20101
20106
|
watch
|
|
20102
20107
|
} from "chokidar";
|
|
@@ -20310,7 +20315,7 @@ function performWatchCompilation(host) {
|
|
|
20310
20315
|
}
|
|
20311
20316
|
}
|
|
20312
20317
|
|
|
20313
|
-
// bazel-out/
|
|
20318
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
20314
20319
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
20315
20320
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
20316
20321
|
if (configErrors.length) {
|
|
@@ -20438,7 +20443,7 @@ function printDiagnostics(diagnostics, options, consoleError) {
|
|
|
20438
20443
|
consoleError(formatDiagnostics(diagnostics, formatHost));
|
|
20439
20444
|
}
|
|
20440
20445
|
|
|
20441
|
-
// bazel-out/
|
|
20446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
20442
20447
|
async function runNgcComamnd() {
|
|
20443
20448
|
process.title = "Angular Compiler (ngc)";
|
|
20444
20449
|
const args = process.argv.slice(2);
|