@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
|
@@ -31,16 +31,16 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
31
31
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
35
35
|
import "reflect-metadata";
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
38
38
|
import {
|
|
39
39
|
EOL
|
|
40
40
|
} from "os";
|
|
41
41
|
import ts from "typescript";
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
44
44
|
var InvalidFileSystem = class {
|
|
45
45
|
exists(path8) {
|
|
46
46
|
throw makeError();
|
|
@@ -128,7 +128,7 @@ function makeError() {
|
|
|
128
128
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
132
132
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
133
133
|
function stripExtension(path8) {
|
|
134
134
|
return path8.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -141,7 +141,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
141
141
|
return sf;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
145
145
|
var fs = new InvalidFileSystem();
|
|
146
146
|
function getFileSystem() {
|
|
147
147
|
return fs;
|
|
@@ -188,7 +188,7 @@ function toRelativeImport(relativePath) {
|
|
|
188
188
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
192
192
|
var LogicalProjectPath = {
|
|
193
193
|
relativePathBetween: function(from, to) {
|
|
194
194
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -234,7 +234,7 @@ function isWithinBasePath(base, path8) {
|
|
|
234
234
|
return isLocalRelativePath(relative(base, path8));
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
238
238
|
import {
|
|
239
239
|
copyFileSync,
|
|
240
240
|
existsSync,
|
|
@@ -379,18 +379,18 @@ function toggleCase(str) {
|
|
|
379
379
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
// bazel-out/
|
|
382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
383
383
|
import yargs2 from "yargs";
|
|
384
384
|
|
|
385
|
-
// bazel-out/
|
|
385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
386
386
|
import ts88 from "typescript";
|
|
387
387
|
import yargs from "yargs";
|
|
388
388
|
|
|
389
|
-
// bazel-out/
|
|
389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
390
390
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
391
391
|
import ts86 from "typescript";
|
|
392
392
|
|
|
393
|
-
// bazel-out/
|
|
393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
394
394
|
var ErrorCode;
|
|
395
395
|
(function(ErrorCode2) {
|
|
396
396
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -441,7 +441,7 @@ var ErrorCode;
|
|
|
441
441
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
442
442
|
})(ErrorCode || (ErrorCode = {}));
|
|
443
443
|
|
|
444
|
-
// bazel-out/
|
|
444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
445
445
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
446
446
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
447
447
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -452,10 +452,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
452
452
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
453
453
|
]);
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
456
456
|
import ts2 from "typescript";
|
|
457
457
|
|
|
458
|
-
// bazel-out/
|
|
458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
459
459
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
460
460
|
function replaceTsWithNgInErrors(errors) {
|
|
461
461
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -464,7 +464,7 @@ function ngErrorCode(code) {
|
|
|
464
464
|
return parseInt("-99" + code);
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
468
468
|
var FatalDiagnosticError = class {
|
|
469
469
|
constructor(code, node, message, relatedInformation) {
|
|
470
470
|
this.code = code;
|
|
@@ -501,10 +501,10 @@ function makeRelatedInformation(node, messageText) {
|
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
// bazel-out/
|
|
504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
505
505
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
506
506
|
|
|
507
|
-
// bazel-out/
|
|
507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
508
508
|
var DEFAULT_ERROR_CODE = 100;
|
|
509
509
|
var UNKNOWN_ERROR_CODE = 500;
|
|
510
510
|
var SOURCE = "angular";
|
|
@@ -522,7 +522,7 @@ var EmitFlags;
|
|
|
522
522
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
523
523
|
})(EmitFlags || (EmitFlags = {}));
|
|
524
524
|
|
|
525
|
-
// bazel-out/
|
|
525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
526
526
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
527
527
|
import fs3 from "fs";
|
|
528
528
|
import {
|
|
@@ -535,13 +535,13 @@ import {
|
|
|
535
535
|
} from "path";
|
|
536
536
|
import ts9 from "typescript";
|
|
537
537
|
|
|
538
|
-
// bazel-out/
|
|
538
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
539
539
|
import ts5 from "typescript";
|
|
540
540
|
|
|
541
|
-
// bazel-out/
|
|
541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
542
542
|
import ts3 from "typescript";
|
|
543
543
|
|
|
544
|
-
// bazel-out/
|
|
544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
545
545
|
var METADATA_VERSION = 4;
|
|
546
546
|
function isClassMetadata(value) {
|
|
547
547
|
return value && value.__symbolic === "class";
|
|
@@ -603,7 +603,7 @@ function isMetadataError(value) {
|
|
|
603
603
|
return value && value.__symbolic === "error";
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
// bazel-out/
|
|
606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
607
607
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
608
608
|
function isMethodCallOf(callExpression, memberName) {
|
|
609
609
|
const expression = callExpression.expression;
|
|
@@ -1162,7 +1162,7 @@ function arrayOrEmpty(v) {
|
|
|
1162
1162
|
return v || empty;
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
|
-
// bazel-out/
|
|
1165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1166
1166
|
import ts4 from "typescript";
|
|
1167
1167
|
var Symbols = class {
|
|
1168
1168
|
constructor(sourceFile) {
|
|
@@ -1287,7 +1287,7 @@ function populateBuiltins(symbols) {
|
|
|
1287
1287
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1288
1288
|
}
|
|
1289
1289
|
|
|
1290
|
-
// bazel-out/
|
|
1290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1291
1291
|
var isStatic = (node) => ts5.getCombinedModifierFlags(node) & ts5.ModifierFlags.Static;
|
|
1292
1292
|
var MetadataCollector = class {
|
|
1293
1293
|
constructor(options = {}) {
|
|
@@ -1908,7 +1908,7 @@ function expandedMessage(error2) {
|
|
|
1908
1908
|
return error2.message;
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
-
// bazel-out/
|
|
1911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1912
1912
|
import {
|
|
1913
1913
|
basename as basename4,
|
|
1914
1914
|
dirname as dirname4,
|
|
@@ -1917,7 +1917,7 @@ import {
|
|
|
1917
1917
|
} from "path";
|
|
1918
1918
|
import ts7 from "typescript";
|
|
1919
1919
|
|
|
1920
|
-
// bazel-out/
|
|
1920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1921
1921
|
import {
|
|
1922
1922
|
basename as basename3,
|
|
1923
1923
|
dirname as dirname3,
|
|
@@ -2387,7 +2387,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2387
2387
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2388
2388
|
}
|
|
2389
2389
|
|
|
2390
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2391
2391
|
var INDEX_HEADER = `/**
|
|
2392
2392
|
* Generated bundle index. Do not edit.
|
|
2393
2393
|
*/
|
|
@@ -2421,7 +2421,7 @@ function compare(select) {
|
|
|
2421
2421
|
};
|
|
2422
2422
|
}
|
|
2423
2423
|
|
|
2424
|
-
// bazel-out/
|
|
2424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2425
2425
|
var DTS = /\.d\.ts$/;
|
|
2426
2426
|
var JS_EXT = /(\.js|)$/;
|
|
2427
2427
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2500,7 +2500,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2500
2500
|
return { host, indexName: name };
|
|
2501
2501
|
}
|
|
2502
2502
|
|
|
2503
|
-
// bazel-out/
|
|
2503
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2504
2504
|
import { syntaxError } from "@angular/compiler";
|
|
2505
2505
|
import {
|
|
2506
2506
|
relative as relative3
|
|
@@ -2566,7 +2566,7 @@ function stripComment(commentText) {
|
|
|
2566
2566
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2567
2567
|
}
|
|
2568
2568
|
|
|
2569
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2570
2570
|
function createMetadataReaderCache() {
|
|
2571
2571
|
const data = new Map();
|
|
2572
2572
|
return { data };
|
|
@@ -2643,7 +2643,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2643
2643
|
return newMetadata;
|
|
2644
2644
|
}
|
|
2645
2645
|
|
|
2646
|
-
// bazel-out/
|
|
2646
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2647
2647
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2648
2648
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2649
2649
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3103,7 +3103,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3103
3103
|
return `${fileName}.$ngresource$`;
|
|
3104
3104
|
}
|
|
3105
3105
|
|
|
3106
|
-
// bazel-out/
|
|
3106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3107
3107
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3108
3108
|
import {
|
|
3109
3109
|
readFileSync as readFileSync2
|
|
@@ -3111,7 +3111,7 @@ import {
|
|
|
3111
3111
|
import * as path6 from "path";
|
|
3112
3112
|
import ts85 from "typescript";
|
|
3113
3113
|
|
|
3114
|
-
// bazel-out/
|
|
3114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3115
3115
|
import ts10 from "typescript";
|
|
3116
3116
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3117
3117
|
const ts89 = [];
|
|
@@ -3146,21 +3146,21 @@ function diagnosticMessageToString(message) {
|
|
|
3146
3146
|
return ts10.flattenDiagnosticMessageText(message, "\n");
|
|
3147
3147
|
}
|
|
3148
3148
|
|
|
3149
|
-
// bazel-out/
|
|
3149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3150
3150
|
import ts73 from "typescript";
|
|
3151
3151
|
|
|
3152
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3153
3153
|
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";
|
|
3154
3154
|
import ts39 from "typescript";
|
|
3155
3155
|
|
|
3156
|
-
// bazel-out/
|
|
3156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3157
3157
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3158
3158
|
|
|
3159
|
-
// bazel-out/
|
|
3159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3160
3160
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3161
3161
|
import ts13 from "typescript";
|
|
3162
3162
|
|
|
3163
|
-
// bazel-out/
|
|
3163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3164
3164
|
import ts11 from "typescript";
|
|
3165
3165
|
var TS2 = /\.tsx?$/i;
|
|
3166
3166
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3248,7 +3248,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3248
3248
|
return redirectInfo.unredirected;
|
|
3249
3249
|
}
|
|
3250
3250
|
|
|
3251
|
-
// bazel-out/
|
|
3251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3252
3252
|
import ts12 from "typescript";
|
|
3253
3253
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3254
3254
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3272,7 +3272,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3272
3272
|
return foundExportName;
|
|
3273
3273
|
}
|
|
3274
3274
|
|
|
3275
|
-
// bazel-out/
|
|
3275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3276
3276
|
var ImportFlags;
|
|
3277
3277
|
(function(ImportFlags2) {
|
|
3278
3278
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3432,7 +3432,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3432
3432
|
}
|
|
3433
3433
|
};
|
|
3434
3434
|
|
|
3435
|
-
// bazel-out/
|
|
3435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3436
3436
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3437
3437
|
var UnifiedModulesAliasingHost = class {
|
|
3438
3438
|
constructor(unifiedModulesHost) {
|
|
@@ -3495,7 +3495,7 @@ var AliasStrategy = class {
|
|
|
3495
3495
|
}
|
|
3496
3496
|
};
|
|
3497
3497
|
|
|
3498
|
-
// bazel-out/
|
|
3498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3499
3499
|
function relativePathBetween(from, to) {
|
|
3500
3500
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3501
3501
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3504,7 +3504,7 @@ function normalizeSeparators2(path8) {
|
|
|
3504
3504
|
return path8.replace(/\\/g, "/");
|
|
3505
3505
|
}
|
|
3506
3506
|
|
|
3507
|
-
// bazel-out/
|
|
3507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3508
3508
|
var NoopImportRewriter = class {
|
|
3509
3509
|
shouldImportSymbol(symbol, specifier) {
|
|
3510
3510
|
return true;
|
|
@@ -3562,7 +3562,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3562
3562
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3563
3563
|
}
|
|
3564
3564
|
|
|
3565
|
-
// bazel-out/
|
|
3565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3566
3566
|
import ts14 from "typescript";
|
|
3567
3567
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3568
3568
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3607,7 +3607,7 @@ var DefaultImportTracker = class {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
};
|
|
3609
3609
|
|
|
3610
|
-
// bazel-out/
|
|
3610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3611
3611
|
var Reference = class {
|
|
3612
3612
|
constructor(node, bestGuessOwningModule = null) {
|
|
3613
3613
|
this.node = node;
|
|
@@ -3670,7 +3670,7 @@ var Reference = class {
|
|
|
3670
3670
|
}
|
|
3671
3671
|
};
|
|
3672
3672
|
|
|
3673
|
-
// bazel-out/
|
|
3673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3674
3674
|
var ModuleResolver = class {
|
|
3675
3675
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3676
3676
|
this.program = program;
|
|
@@ -3687,7 +3687,7 @@ var ModuleResolver = class {
|
|
|
3687
3687
|
}
|
|
3688
3688
|
};
|
|
3689
3689
|
|
|
3690
|
-
// bazel-out/
|
|
3690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3691
3691
|
import ts15 from "typescript";
|
|
3692
3692
|
var SemanticSymbol = class {
|
|
3693
3693
|
constructor(decl) {
|
|
@@ -3703,7 +3703,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3703
3703
|
return decl.name.text;
|
|
3704
3704
|
}
|
|
3705
3705
|
|
|
3706
|
-
// bazel-out/
|
|
3706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3707
3707
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3708
3708
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3709
3709
|
isPublicApiAffected() {
|
|
@@ -3846,10 +3846,10 @@ function getImportPath(expr) {
|
|
|
3846
3846
|
}
|
|
3847
3847
|
}
|
|
3848
3848
|
|
|
3849
|
-
// bazel-out/
|
|
3849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3850
3850
|
import ts16 from "typescript";
|
|
3851
3851
|
|
|
3852
|
-
// bazel-out/
|
|
3852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3853
3853
|
function isSymbolEqual(a, b) {
|
|
3854
3854
|
if (a.decl === b.decl) {
|
|
3855
3855
|
return true;
|
|
@@ -3899,7 +3899,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3899
3899
|
return true;
|
|
3900
3900
|
}
|
|
3901
3901
|
|
|
3902
|
-
// bazel-out/
|
|
3902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3903
3903
|
function extractSemanticTypeParameters(node) {
|
|
3904
3904
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3905
3905
|
return null;
|
|
@@ -3919,17 +3919,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
3919
3919
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3920
3920
|
}
|
|
3921
3921
|
|
|
3922
|
-
// bazel-out/
|
|
3922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
3923
3923
|
var MetaType;
|
|
3924
3924
|
(function(MetaType2) {
|
|
3925
3925
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
3926
3926
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
3927
3927
|
})(MetaType || (MetaType = {}));
|
|
3928
3928
|
|
|
3929
|
-
// bazel-out/
|
|
3929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
3930
3930
|
import ts22 from "typescript";
|
|
3931
3931
|
|
|
3932
|
-
// bazel-out/
|
|
3932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
3933
3933
|
import ts17 from "typescript";
|
|
3934
3934
|
var Decorator = {
|
|
3935
3935
|
nodeForError: (decorator) => {
|
|
@@ -3964,7 +3964,7 @@ function isConcreteDeclaration(decl) {
|
|
|
3964
3964
|
return decl.kind === 0;
|
|
3965
3965
|
}
|
|
3966
3966
|
|
|
3967
|
-
// bazel-out/
|
|
3967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
3968
3968
|
import ts18 from "typescript";
|
|
3969
3969
|
function typeToValue(typeNode, checker) {
|
|
3970
3970
|
if (typeNode === null) {
|
|
@@ -4125,10 +4125,10 @@ function extractModuleName(node) {
|
|
|
4125
4125
|
return node.moduleSpecifier.text;
|
|
4126
4126
|
}
|
|
4127
4127
|
|
|
4128
|
-
// bazel-out/
|
|
4128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4129
4129
|
import ts20 from "typescript";
|
|
4130
4130
|
|
|
4131
|
-
// bazel-out/
|
|
4131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4132
4132
|
import ts19 from "typescript";
|
|
4133
4133
|
function isNamedClassDeclaration(node) {
|
|
4134
4134
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4137,7 +4137,7 @@ function isIdentifier(node) {
|
|
|
4137
4137
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4138
4138
|
}
|
|
4139
4139
|
|
|
4140
|
-
// bazel-out/
|
|
4140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4141
4141
|
var TypeScriptReflectionHost = class {
|
|
4142
4142
|
constructor(checker) {
|
|
4143
4143
|
this.checker = checker;
|
|
@@ -4573,7 +4573,7 @@ function getExportedName(decl, originalId) {
|
|
|
4573
4573
|
}
|
|
4574
4574
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4575
4575
|
|
|
4576
|
-
// bazel-out/
|
|
4576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4577
4577
|
var ClassPropertyMapping = class {
|
|
4578
4578
|
constructor(forwardMap) {
|
|
4579
4579
|
this.forwardMap = forwardMap;
|
|
@@ -4649,7 +4649,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4649
4649
|
return reverseMap;
|
|
4650
4650
|
}
|
|
4651
4651
|
|
|
4652
|
-
// bazel-out/
|
|
4652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4653
4653
|
import ts21 from "typescript";
|
|
4654
4654
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4655
4655
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4816,7 +4816,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4816
4816
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4817
4817
|
}
|
|
4818
4818
|
|
|
4819
|
-
// bazel-out/
|
|
4819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4820
4820
|
var DtsMetadataReader = class {
|
|
4821
4821
|
constructor(checker, reflector) {
|
|
4822
4822
|
this.checker = checker;
|
|
@@ -4916,7 +4916,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4916
4916
|
return null;
|
|
4917
4917
|
}
|
|
4918
4918
|
|
|
4919
|
-
// bazel-out/
|
|
4919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
4920
4920
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4921
4921
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4922
4922
|
if (topMeta === null) {
|
|
@@ -4973,7 +4973,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4973
4973
|
});
|
|
4974
4974
|
}
|
|
4975
4975
|
|
|
4976
|
-
// bazel-out/
|
|
4976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
4977
4977
|
var LocalMetadataRegistry = class {
|
|
4978
4978
|
constructor() {
|
|
4979
4979
|
this.directives = new Map();
|
|
@@ -5032,7 +5032,7 @@ var InjectableClassRegistry = class {
|
|
|
5032
5032
|
}
|
|
5033
5033
|
};
|
|
5034
5034
|
|
|
5035
|
-
// bazel-out/
|
|
5035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5036
5036
|
var ResourceRegistry = class {
|
|
5037
5037
|
constructor() {
|
|
5038
5038
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5097,10 +5097,10 @@ var ResourceRegistry = class {
|
|
|
5097
5097
|
}
|
|
5098
5098
|
};
|
|
5099
5099
|
|
|
5100
|
-
// bazel-out/
|
|
5100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5101
5101
|
import ts23 from "typescript";
|
|
5102
5102
|
|
|
5103
|
-
// bazel-out/
|
|
5103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5104
5104
|
var DynamicValue = class {
|
|
5105
5105
|
constructor(node, reason, code) {
|
|
5106
5106
|
this.node = node;
|
|
@@ -5185,7 +5185,7 @@ var DynamicValue = class {
|
|
|
5185
5185
|
}
|
|
5186
5186
|
};
|
|
5187
5187
|
|
|
5188
|
-
// bazel-out/
|
|
5188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5189
5189
|
var ResolvedModule = class {
|
|
5190
5190
|
constructor(exports, evaluate) {
|
|
5191
5191
|
this.exports = exports;
|
|
@@ -5215,7 +5215,7 @@ var EnumValue = class {
|
|
|
5215
5215
|
var KnownFn = class {
|
|
5216
5216
|
};
|
|
5217
5217
|
|
|
5218
|
-
// bazel-out/
|
|
5218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5219
5219
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5220
5220
|
var _a, _b;
|
|
5221
5221
|
if (value === null) {
|
|
@@ -5341,10 +5341,10 @@ function getContainerNode(node) {
|
|
|
5341
5341
|
return node.getSourceFile();
|
|
5342
5342
|
}
|
|
5343
5343
|
|
|
5344
|
-
// bazel-out/
|
|
5344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5345
5345
|
import ts24 from "typescript";
|
|
5346
5346
|
|
|
5347
|
-
// bazel-out/
|
|
5347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5348
5348
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5349
5349
|
constructor(lhs) {
|
|
5350
5350
|
super();
|
|
@@ -5397,7 +5397,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
};
|
|
5399
5399
|
|
|
5400
|
-
// bazel-out/
|
|
5400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5401
5401
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5402
5402
|
};
|
|
5403
5403
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5450,7 +5450,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5450
5450
|
}
|
|
5451
5451
|
};
|
|
5452
5452
|
|
|
5453
|
-
// bazel-out/
|
|
5453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5454
5454
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5455
5455
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5456
5456
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5474,7 +5474,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5474
5474
|
}
|
|
5475
5475
|
}
|
|
5476
5476
|
|
|
5477
|
-
// bazel-out/
|
|
5477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5478
5478
|
function literalBinaryOp(op) {
|
|
5479
5479
|
return { op, literal: true };
|
|
5480
5480
|
}
|
|
@@ -6059,7 +6059,7 @@ function owningModule(context, override = null) {
|
|
|
6059
6059
|
}
|
|
6060
6060
|
}
|
|
6061
6061
|
|
|
6062
|
-
// bazel-out/
|
|
6062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6063
6063
|
var PartialEvaluator = class {
|
|
6064
6064
|
constructor(host, checker, dependencyTracker) {
|
|
6065
6065
|
this.host = host;
|
|
@@ -6079,7 +6079,7 @@ var PartialEvaluator = class {
|
|
|
6079
6079
|
}
|
|
6080
6080
|
};
|
|
6081
6081
|
|
|
6082
|
-
// bazel-out/
|
|
6082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6083
6083
|
var PerfPhase;
|
|
6084
6084
|
(function(PerfPhase2) {
|
|
6085
6085
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6144,7 +6144,7 @@ var PerfCheckpoint;
|
|
|
6144
6144
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6145
6145
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6146
6146
|
|
|
6147
|
-
// bazel-out/
|
|
6147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6148
6148
|
var NoopPerfRecorder = class {
|
|
6149
6149
|
eventCount() {
|
|
6150
6150
|
}
|
|
@@ -6161,7 +6161,7 @@ var NoopPerfRecorder = class {
|
|
|
6161
6161
|
};
|
|
6162
6162
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6163
6163
|
|
|
6164
|
-
// bazel-out/
|
|
6164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6165
6165
|
function mark() {
|
|
6166
6166
|
return process.hrtime();
|
|
6167
6167
|
}
|
|
@@ -6170,7 +6170,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6170
6170
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6171
6171
|
}
|
|
6172
6172
|
|
|
6173
|
-
// bazel-out/
|
|
6173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6174
6174
|
var ActivePerfRecorder = class {
|
|
6175
6175
|
constructor(zeroTime) {
|
|
6176
6176
|
this.zeroTime = zeroTime;
|
|
@@ -6264,7 +6264,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6264
6264
|
}
|
|
6265
6265
|
};
|
|
6266
6266
|
|
|
6267
|
-
// bazel-out/
|
|
6267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6268
6268
|
var CompilationMode;
|
|
6269
6269
|
(function(CompilationMode2) {
|
|
6270
6270
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6282,7 +6282,7 @@ var HandlerFlags;
|
|
|
6282
6282
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6283
6283
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6284
6284
|
|
|
6285
|
-
// bazel-out/
|
|
6285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6286
6286
|
import ts25 from "typescript";
|
|
6287
6287
|
function aliasTransformFactory(exportStatements) {
|
|
6288
6288
|
return (context) => {
|
|
@@ -6300,10 +6300,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6300
6300
|
};
|
|
6301
6301
|
}
|
|
6302
6302
|
|
|
6303
|
-
// bazel-out/
|
|
6303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6304
6304
|
import ts26 from "typescript";
|
|
6305
6305
|
|
|
6306
|
-
// bazel-out/
|
|
6306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6307
6307
|
var TraitState;
|
|
6308
6308
|
(function(TraitState2) {
|
|
6309
6309
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6358,7 +6358,7 @@ var TraitImpl = class {
|
|
|
6358
6358
|
}
|
|
6359
6359
|
};
|
|
6360
6360
|
|
|
6361
|
-
// bazel-out/
|
|
6361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6362
6362
|
var TraitCompiler = class {
|
|
6363
6363
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6364
6364
|
this.handlers = handlers;
|
|
@@ -6795,10 +6795,10 @@ var TraitCompiler = class {
|
|
|
6795
6795
|
}
|
|
6796
6796
|
};
|
|
6797
6797
|
|
|
6798
|
-
// bazel-out/
|
|
6798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6799
6799
|
import ts31 from "typescript";
|
|
6800
6800
|
|
|
6801
|
-
// bazel-out/
|
|
6801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6802
6802
|
var Context = class {
|
|
6803
6803
|
constructor(isStatement) {
|
|
6804
6804
|
this.isStatement = isStatement;
|
|
@@ -6811,7 +6811,7 @@ var Context = class {
|
|
|
6811
6811
|
}
|
|
6812
6812
|
};
|
|
6813
6813
|
|
|
6814
|
-
// bazel-out/
|
|
6814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6815
6815
|
import ts27 from "typescript";
|
|
6816
6816
|
var ImportManager = class {
|
|
6817
6817
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6847,7 +6847,7 @@ var ImportManager = class {
|
|
|
6847
6847
|
}
|
|
6848
6848
|
};
|
|
6849
6849
|
|
|
6850
|
-
// bazel-out/
|
|
6850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6851
6851
|
import {
|
|
6852
6852
|
BinaryOperator,
|
|
6853
6853
|
ConditionalExpr,
|
|
@@ -7091,7 +7091,7 @@ function createRange(span) {
|
|
|
7091
7091
|
};
|
|
7092
7092
|
}
|
|
7093
7093
|
|
|
7094
|
-
// bazel-out/
|
|
7094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7095
7095
|
import {
|
|
7096
7096
|
BuiltinTypeName
|
|
7097
7097
|
} from "@angular/compiler";
|
|
@@ -7270,7 +7270,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7270
7270
|
}
|
|
7271
7271
|
};
|
|
7272
7272
|
|
|
7273
|
-
// bazel-out/
|
|
7273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7274
7274
|
import ts29 from "typescript";
|
|
7275
7275
|
var PureAnnotation;
|
|
7276
7276
|
(function(PureAnnotation2) {
|
|
@@ -7442,7 +7442,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7442
7442
|
}
|
|
7443
7443
|
}
|
|
7444
7444
|
|
|
7445
|
-
// bazel-out/
|
|
7445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7446
7446
|
function translateExpression(expression, imports, options = {}) {
|
|
7447
7447
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7448
7448
|
}
|
|
@@ -7450,7 +7450,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7450
7450
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7451
7451
|
}
|
|
7452
7452
|
|
|
7453
|
-
// bazel-out/
|
|
7453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7454
7454
|
import ts30 from "typescript";
|
|
7455
7455
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7456
7456
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7478,7 +7478,7 @@ function isImportStatement(stmt) {
|
|
|
7478
7478
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7479
7479
|
}
|
|
7480
7480
|
|
|
7481
|
-
// bazel-out/
|
|
7481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7482
7482
|
var DtsTransformRegistry = class {
|
|
7483
7483
|
constructor() {
|
|
7484
7484
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7603,11 +7603,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7603
7603
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7604
7604
|
}
|
|
7605
7605
|
|
|
7606
|
-
// bazel-out/
|
|
7606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7607
7607
|
import { ConstantPool } from "@angular/compiler";
|
|
7608
7608
|
import ts33 from "typescript";
|
|
7609
7609
|
|
|
7610
|
-
// bazel-out/
|
|
7610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7611
7611
|
import ts32 from "typescript";
|
|
7612
7612
|
function visit(node, visitor, context) {
|
|
7613
7613
|
return visitor._visit(node, context);
|
|
@@ -7669,7 +7669,7 @@ function hasStatements(node) {
|
|
|
7669
7669
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7670
7670
|
}
|
|
7671
7671
|
|
|
7672
|
-
// bazel-out/
|
|
7672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7673
7673
|
var NO_DECORATORS = new Set();
|
|
7674
7674
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7675
7675
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7850,10 +7850,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7850
7850
|
};
|
|
7851
7851
|
}
|
|
7852
7852
|
|
|
7853
|
-
// bazel-out/
|
|
7853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7854
7854
|
import ts35 from "typescript";
|
|
7855
7855
|
|
|
7856
|
-
// bazel-out/
|
|
7856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7857
7857
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7858
7858
|
import ts34 from "typescript";
|
|
7859
7859
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8213,7 +8213,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8213
8213
|
};
|
|
8214
8214
|
}
|
|
8215
8215
|
|
|
8216
|
-
// bazel-out/
|
|
8216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8217
8217
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8218
8218
|
var _a;
|
|
8219
8219
|
let chainedMessage;
|
|
@@ -8309,11 +8309,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8309
8309
|
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}.`);
|
|
8310
8310
|
}
|
|
8311
8311
|
|
|
8312
|
-
// bazel-out/
|
|
8313
|
-
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8313
|
+
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8314
8314
|
import ts37 from "typescript";
|
|
8315
8315
|
|
|
8316
|
-
// bazel-out/
|
|
8316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8317
8317
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8318
8318
|
function compileNgFactoryDefField(metadata) {
|
|
8319
8319
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8324,7 +8324,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8324
8324
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8325
8325
|
}
|
|
8326
8326
|
|
|
8327
|
-
// bazel-out/
|
|
8327
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8328
8328
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8329
8329
|
import ts36 from "typescript";
|
|
8330
8330
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8412,7 +8412,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8412
8412
|
return result.transformed[0];
|
|
8413
8413
|
}
|
|
8414
8414
|
|
|
8415
|
-
// bazel-out/
|
|
8415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8416
8416
|
var EMPTY_OBJECT = {};
|
|
8417
8417
|
var FIELD_DECORATORS = [
|
|
8418
8418
|
"Input",
|
|
@@ -8720,17 +8720,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
|
|
|
8720
8720
|
};
|
|
8721
8721
|
}
|
|
8722
8722
|
function extractQueryMetadata(exprNode, name, args2, propertyName, reflector, evaluator) {
|
|
8723
|
-
var _a;
|
|
8724
8723
|
if (args2.length === 0) {
|
|
8725
8724
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
|
|
8726
8725
|
}
|
|
8727
8726
|
const first = name === "ViewChild" || name === "ContentChild";
|
|
8728
|
-
const
|
|
8727
|
+
const forwardReferenceTarget = tryUnwrapForwardRef(args2[0], reflector);
|
|
8728
|
+
const node = forwardReferenceTarget != null ? forwardReferenceTarget : args2[0];
|
|
8729
8729
|
const arg = evaluator.evaluate(node);
|
|
8730
8730
|
let isStatic2 = false;
|
|
8731
8731
|
let predicate = null;
|
|
8732
8732
|
if (arg instanceof Reference || arg instanceof DynamicValue) {
|
|
8733
|
-
predicate = new WrappedNodeExpr4(node);
|
|
8733
|
+
predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
|
|
8734
8734
|
} else if (typeof arg === "string") {
|
|
8735
8735
|
predicate = [arg];
|
|
8736
8736
|
} else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
|
|
@@ -8974,7 +8974,7 @@ var QUERY_TYPES = new Set([
|
|
|
8974
8974
|
"ViewChildren"
|
|
8975
8975
|
]);
|
|
8976
8976
|
|
|
8977
|
-
// bazel-out/
|
|
8977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
8978
8978
|
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";
|
|
8979
8979
|
import ts38 from "typescript";
|
|
8980
8980
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -9408,7 +9408,7 @@ function isNgModule(node, compilation) {
|
|
|
9408
9408
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9409
9409
|
}
|
|
9410
9410
|
|
|
9411
|
-
// bazel-out/
|
|
9411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9412
9412
|
var EMPTY_MAP = new Map();
|
|
9413
9413
|
var EMPTY_ARRAY = [];
|
|
9414
9414
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10292,8 +10292,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10292
10292
|
return null;
|
|
10293
10293
|
}
|
|
10294
10294
|
|
|
10295
|
-
// bazel-out/
|
|
10296
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable,
|
|
10295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10296
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10297
10297
|
import ts40 from "typescript";
|
|
10298
10298
|
var InjectableDecoratorHandler = class {
|
|
10299
10299
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10381,7 +10381,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10381
10381
|
type,
|
|
10382
10382
|
typeArgumentCount,
|
|
10383
10383
|
internalType,
|
|
10384
|
-
providedIn:
|
|
10384
|
+
providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
|
|
10385
10385
|
};
|
|
10386
10386
|
} else if (decorator.args.length === 1) {
|
|
10387
10387
|
const metaNode = decorator.args[0];
|
|
@@ -10389,7 +10389,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10389
10389
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10390
10390
|
}
|
|
10391
10391
|
const meta = reflectObjectLiteral(metaNode);
|
|
10392
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) :
|
|
10392
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
|
|
10393
10393
|
let deps = void 0;
|
|
10394
10394
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10395
10395
|
const depsExpr = meta.get("deps");
|
|
@@ -10417,7 +10417,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10417
10417
|
}
|
|
10418
10418
|
function getProviderExpression(expression, reflector) {
|
|
10419
10419
|
const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
|
|
10420
|
-
return
|
|
10420
|
+
return createMayBeForwardRefExpression2(new WrappedNodeExpr7(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
|
|
10421
10421
|
}
|
|
10422
10422
|
function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
|
|
10423
10423
|
if (decorator.args === null) {
|
|
@@ -10492,7 +10492,7 @@ function getDep(dep, reflector) {
|
|
|
10492
10492
|
return meta;
|
|
10493
10493
|
}
|
|
10494
10494
|
|
|
10495
|
-
// bazel-out/
|
|
10495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10496
10496
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10497
10497
|
import ts41 from "typescript";
|
|
10498
10498
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10617,13 +10617,13 @@ var PipeDecoratorHandler = class {
|
|
|
10617
10617
|
}
|
|
10618
10618
|
};
|
|
10619
10619
|
|
|
10620
|
-
// bazel-out/
|
|
10620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10621
10621
|
var NoopReferencesRegistry = class {
|
|
10622
10622
|
add(source, ...references) {
|
|
10623
10623
|
}
|
|
10624
10624
|
};
|
|
10625
10625
|
|
|
10626
|
-
// bazel-out/
|
|
10626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10627
10627
|
var CycleAnalyzer = class {
|
|
10628
10628
|
constructor(importGraph) {
|
|
10629
10629
|
this.importGraph = importGraph;
|
|
@@ -10694,7 +10694,7 @@ var Cycle = class {
|
|
|
10694
10694
|
}
|
|
10695
10695
|
};
|
|
10696
10696
|
|
|
10697
|
-
// bazel-out/
|
|
10697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10698
10698
|
import ts42 from "typescript";
|
|
10699
10699
|
var ImportGraph = class {
|
|
10700
10700
|
constructor(checker, perf) {
|
|
@@ -10777,7 +10777,7 @@ var Found = class {
|
|
|
10777
10777
|
}
|
|
10778
10778
|
};
|
|
10779
10779
|
|
|
10780
|
-
// bazel-out/
|
|
10780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10781
10781
|
import ts43 from "typescript";
|
|
10782
10782
|
var FlatIndexGenerator = class {
|
|
10783
10783
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10802,7 +10802,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10802
10802
|
}
|
|
10803
10803
|
};
|
|
10804
10804
|
|
|
10805
|
-
// bazel-out/
|
|
10805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10806
10806
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10807
10807
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10808
10808
|
let resolvedEntryPoint = null;
|
|
@@ -10818,7 +10818,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10818
10818
|
return resolvedEntryPoint;
|
|
10819
10819
|
}
|
|
10820
10820
|
|
|
10821
|
-
// bazel-out/
|
|
10821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10822
10822
|
import ts44 from "typescript";
|
|
10823
10823
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10824
10824
|
const diagnostics = [];
|
|
@@ -10898,7 +10898,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10898
10898
|
}
|
|
10899
10899
|
}
|
|
10900
10900
|
|
|
10901
|
-
// bazel-out/
|
|
10901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10902
10902
|
var ReferenceGraph = class {
|
|
10903
10903
|
constructor() {
|
|
10904
10904
|
this.references = new Map();
|
|
@@ -10952,7 +10952,7 @@ var ReferenceGraph = class {
|
|
|
10952
10952
|
}
|
|
10953
10953
|
};
|
|
10954
10954
|
|
|
10955
|
-
// bazel-out/
|
|
10955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
10956
10956
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
10957
10957
|
var UpdateMode;
|
|
10958
10958
|
(function(UpdateMode2) {
|
|
@@ -10960,13 +10960,13 @@ var UpdateMode;
|
|
|
10960
10960
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
10961
10961
|
})(UpdateMode || (UpdateMode = {}));
|
|
10962
10962
|
|
|
10963
|
-
// bazel-out/
|
|
10963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
10964
10964
|
import ts48 from "typescript";
|
|
10965
10965
|
|
|
10966
|
-
// bazel-out/
|
|
10966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
10967
10967
|
import ts45 from "typescript";
|
|
10968
10968
|
|
|
10969
|
-
// bazel-out/
|
|
10969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
10970
10970
|
var NgExtension = Symbol("NgExtension");
|
|
10971
10971
|
function isExtended(sf) {
|
|
10972
10972
|
return sf[NgExtension] !== void 0;
|
|
@@ -11026,7 +11026,7 @@ function retagTsFile(sf) {
|
|
|
11026
11026
|
}
|
|
11027
11027
|
}
|
|
11028
11028
|
|
|
11029
|
-
// bazel-out/
|
|
11029
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11030
11030
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11031
11031
|
function makeShimFileName(fileName, suffix) {
|
|
11032
11032
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11041,7 +11041,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11041
11041
|
return moduleName;
|
|
11042
11042
|
}
|
|
11043
11043
|
|
|
11044
|
-
// bazel-out/
|
|
11044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11045
11045
|
var ShimAdapter = class {
|
|
11046
11046
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11047
11047
|
this.delegate = delegate;
|
|
@@ -11138,7 +11138,7 @@ var ShimAdapter = class {
|
|
|
11138
11138
|
}
|
|
11139
11139
|
};
|
|
11140
11140
|
|
|
11141
|
-
// bazel-out/
|
|
11141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11142
11142
|
import ts46 from "typescript";
|
|
11143
11143
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11144
11144
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11287,7 +11287,7 @@ function updateInitializers(stmt, update) {
|
|
|
11287
11287
|
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)))));
|
|
11288
11288
|
}
|
|
11289
11289
|
|
|
11290
|
-
// bazel-out/
|
|
11290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11291
11291
|
var ShimReferenceTagger = class {
|
|
11292
11292
|
constructor(shimExtensions) {
|
|
11293
11293
|
this.tagged = new Set();
|
|
@@ -11321,7 +11321,7 @@ var ShimReferenceTagger = class {
|
|
|
11321
11321
|
}
|
|
11322
11322
|
};
|
|
11323
11323
|
|
|
11324
|
-
// bazel-out/
|
|
11324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11325
11325
|
import ts47 from "typescript";
|
|
11326
11326
|
var SummaryGenerator = class {
|
|
11327
11327
|
constructor() {
|
|
@@ -11361,7 +11361,7 @@ function isExported2(decl) {
|
|
|
11361
11361
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11362
11362
|
}
|
|
11363
11363
|
|
|
11364
|
-
// bazel-out/
|
|
11364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11365
11365
|
var DelegatingCompilerHost = class {
|
|
11366
11366
|
constructor(delegate) {
|
|
11367
11367
|
this.delegate = delegate;
|
|
@@ -11470,7 +11470,7 @@ var TsCreateProgramDriver = class {
|
|
|
11470
11470
|
}
|
|
11471
11471
|
};
|
|
11472
11472
|
|
|
11473
|
-
// bazel-out/
|
|
11473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11474
11474
|
var FileDependencyGraph = class {
|
|
11475
11475
|
constructor() {
|
|
11476
11476
|
this.nodes = new Map();
|
|
@@ -11537,7 +11537,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11537
11537
|
return false;
|
|
11538
11538
|
}
|
|
11539
11539
|
|
|
11540
|
-
// bazel-out/
|
|
11540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11541
11541
|
var IncrementalStateKind;
|
|
11542
11542
|
(function(IncrementalStateKind2) {
|
|
11543
11543
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11545,7 +11545,7 @@ var IncrementalStateKind;
|
|
|
11545
11545
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11546
11546
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11547
11547
|
|
|
11548
|
-
// bazel-out/
|
|
11548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11549
11549
|
var PhaseKind;
|
|
11550
11550
|
(function(PhaseKind2) {
|
|
11551
11551
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11746,7 +11746,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11746
11746
|
}
|
|
11747
11747
|
}
|
|
11748
11748
|
|
|
11749
|
-
// bazel-out/
|
|
11749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11750
11750
|
var TrackedIncrementalBuildStrategy = class {
|
|
11751
11751
|
constructor() {
|
|
11752
11752
|
this.state = null;
|
|
@@ -11767,7 +11767,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
11767
11767
|
};
|
|
11768
11768
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11769
11769
|
|
|
11770
|
-
// bazel-out/
|
|
11770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11771
11771
|
var IdentifierKind;
|
|
11772
11772
|
(function(IdentifierKind2) {
|
|
11773
11773
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11785,7 +11785,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11785
11785
|
}
|
|
11786
11786
|
};
|
|
11787
11787
|
|
|
11788
|
-
// bazel-out/
|
|
11788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11789
11789
|
var IndexingContext = class {
|
|
11790
11790
|
constructor() {
|
|
11791
11791
|
this.components = new Set();
|
|
@@ -11795,10 +11795,10 @@ var IndexingContext = class {
|
|
|
11795
11795
|
}
|
|
11796
11796
|
};
|
|
11797
11797
|
|
|
11798
|
-
// bazel-out/
|
|
11798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11799
11799
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11800
11800
|
|
|
11801
|
-
// bazel-out/
|
|
11801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11802
11802
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11803
11803
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11804
11804
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12002,7 +12002,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12002
12002
|
return visitor.identifiers;
|
|
12003
12003
|
}
|
|
12004
12004
|
|
|
12005
|
-
// bazel-out/
|
|
12005
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12006
12006
|
function generateAnalysis(context) {
|
|
12007
12007
|
const analysis = new Map();
|
|
12008
12008
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12036,7 +12036,7 @@ function generateAnalysis(context) {
|
|
|
12036
12036
|
return analysis;
|
|
12037
12037
|
}
|
|
12038
12038
|
|
|
12039
|
-
// bazel-out/
|
|
12039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12040
12040
|
import ts49 from "typescript";
|
|
12041
12041
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12042
12042
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12181,7 +12181,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12181
12181
|
};
|
|
12182
12182
|
}
|
|
12183
12183
|
|
|
12184
|
-
// bazel-out/
|
|
12184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12185
12185
|
var MetadataDtsModuleScopeResolver = class {
|
|
12186
12186
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12187
12187
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12267,7 +12267,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12267
12267
|
}
|
|
12268
12268
|
};
|
|
12269
12269
|
|
|
12270
|
-
// bazel-out/
|
|
12270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12271
12271
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12272
12272
|
import ts50 from "typescript";
|
|
12273
12273
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12575,7 +12575,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12575
12575
|
]);
|
|
12576
12576
|
}
|
|
12577
12577
|
|
|
12578
|
-
// bazel-out/
|
|
12578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12579
12579
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12580
12580
|
import ts51 from "typescript";
|
|
12581
12581
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12636,7 +12636,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12636
12636
|
}
|
|
12637
12637
|
};
|
|
12638
12638
|
|
|
12639
|
-
// bazel-out/
|
|
12639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12640
12640
|
import ts52 from "typescript";
|
|
12641
12641
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12642
12642
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12700,24 +12700,24 @@ function hasIvySwitches(stmt) {
|
|
|
12700
12700
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12701
12701
|
}
|
|
12702
12702
|
|
|
12703
|
-
// bazel-out/
|
|
12703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12704
12704
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12705
12705
|
|
|
12706
|
-
// bazel-out/
|
|
12706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12707
12707
|
var OptimizeFor;
|
|
12708
12708
|
(function(OptimizeFor2) {
|
|
12709
12709
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12710
12710
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12711
12711
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12712
12712
|
|
|
12713
|
-
// bazel-out/
|
|
12713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12714
12714
|
var CompletionKind;
|
|
12715
12715
|
(function(CompletionKind2) {
|
|
12716
12716
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12717
12717
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12718
12718
|
})(CompletionKind || (CompletionKind = {}));
|
|
12719
12719
|
|
|
12720
|
-
// bazel-out/
|
|
12720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12721
12721
|
var SymbolKind;
|
|
12722
12722
|
(function(SymbolKind2) {
|
|
12723
12723
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12733,7 +12733,7 @@ var SymbolKind;
|
|
|
12733
12733
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12734
12734
|
})(SymbolKind || (SymbolKind = {}));
|
|
12735
12735
|
|
|
12736
|
-
// bazel-out/
|
|
12736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12737
12737
|
import ts53 from "typescript";
|
|
12738
12738
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12739
12739
|
if (mapping.type === "direct") {
|
|
@@ -12806,7 +12806,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12806
12806
|
}
|
|
12807
12807
|
}
|
|
12808
12808
|
|
|
12809
|
-
// bazel-out/
|
|
12809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12810
12810
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12811
12811
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12812
12812
|
function getTemplateId(clazz) {
|
|
@@ -12823,11 +12823,11 @@ function allocateTemplateId(sf) {
|
|
|
12823
12823
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12824
12824
|
}
|
|
12825
12825
|
|
|
12826
|
-
// bazel-out/
|
|
12826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12827
12827
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12828
12828
|
import ts55 from "typescript";
|
|
12829
12829
|
|
|
12830
|
-
// bazel-out/
|
|
12830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12831
12831
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12832
12832
|
import ts54 from "typescript";
|
|
12833
12833
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -12947,7 +12947,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
12947
12947
|
}) || false;
|
|
12948
12948
|
}
|
|
12949
12949
|
|
|
12950
|
-
// bazel-out/
|
|
12950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12951
12951
|
var CompletionEngine = class {
|
|
12952
12952
|
constructor(tcb, data, shimPath) {
|
|
12953
12953
|
this.tcb = tcb;
|
|
@@ -13098,10 +13098,10 @@ var CompletionEngine = class {
|
|
|
13098
13098
|
}
|
|
13099
13099
|
};
|
|
13100
13100
|
|
|
13101
|
-
// bazel-out/
|
|
13101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13102
13102
|
import ts69 from "typescript";
|
|
13103
13103
|
|
|
13104
|
-
// bazel-out/
|
|
13104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13105
13105
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13106
13106
|
import ts56 from "typescript";
|
|
13107
13107
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13151,11 +13151,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13151
13151
|
}
|
|
13152
13152
|
};
|
|
13153
13153
|
|
|
13154
|
-
// bazel-out/
|
|
13154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13155
13155
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13156
13156
|
import ts62 from "typescript";
|
|
13157
13157
|
|
|
13158
|
-
// bazel-out/
|
|
13158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13159
13159
|
import ts57 from "typescript";
|
|
13160
13160
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13161
13161
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13224,16 +13224,16 @@ function isAccessExpression(node) {
|
|
|
13224
13224
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13225
13225
|
}
|
|
13226
13226
|
|
|
13227
|
-
// bazel-out/
|
|
13227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13228
13228
|
import ts61 from "typescript";
|
|
13229
13229
|
|
|
13230
|
-
// bazel-out/
|
|
13230
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13231
13231
|
import ts60 from "typescript";
|
|
13232
13232
|
|
|
13233
|
-
// bazel-out/
|
|
13233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13234
13234
|
import ts59 from "typescript";
|
|
13235
13235
|
|
|
13236
|
-
// bazel-out/
|
|
13236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13237
13237
|
import ts58 from "typescript";
|
|
13238
13238
|
var INELIGIBLE = {};
|
|
13239
13239
|
function canEmitType(type, resolver) {
|
|
@@ -13308,7 +13308,7 @@ var TypeEmitter = class {
|
|
|
13308
13308
|
}
|
|
13309
13309
|
};
|
|
13310
13310
|
|
|
13311
|
-
// bazel-out/
|
|
13311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13312
13312
|
var TypeParameterEmitter = class {
|
|
13313
13313
|
constructor(typeParameters, reflector) {
|
|
13314
13314
|
this.typeParameters = typeParameters;
|
|
@@ -13371,7 +13371,7 @@ var TypeParameterEmitter = class {
|
|
|
13371
13371
|
}
|
|
13372
13372
|
};
|
|
13373
13373
|
|
|
13374
|
-
// bazel-out/
|
|
13374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13375
13375
|
var TcbInliningRequirement;
|
|
13376
13376
|
(function(TcbInliningRequirement2) {
|
|
13377
13377
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13450,7 +13450,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13450
13450
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13451
13451
|
}
|
|
13452
13452
|
|
|
13453
|
-
// bazel-out/
|
|
13453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13454
13454
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13455
13455
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13456
13456
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13524,7 +13524,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13524
13524
|
});
|
|
13525
13525
|
}
|
|
13526
13526
|
|
|
13527
|
-
// bazel-out/
|
|
13527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13528
13528
|
var Environment = class {
|
|
13529
13529
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13530
13530
|
this.config = config;
|
|
@@ -13610,7 +13610,7 @@ var Environment = class {
|
|
|
13610
13610
|
}
|
|
13611
13611
|
};
|
|
13612
13612
|
|
|
13613
|
-
// bazel-out/
|
|
13613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13614
13614
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13615
13615
|
import ts63 from "typescript";
|
|
13616
13616
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13742,7 +13742,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13742
13742
|
});
|
|
13743
13743
|
}
|
|
13744
13744
|
|
|
13745
|
-
// bazel-out/
|
|
13745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13746
13746
|
import ts64 from "typescript";
|
|
13747
13747
|
var TypeCheckShimGenerator = class {
|
|
13748
13748
|
constructor() {
|
|
@@ -13760,11 +13760,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13760
13760
|
}
|
|
13761
13761
|
};
|
|
13762
13762
|
|
|
13763
|
-
// bazel-out/
|
|
13763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13764
13764
|
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";
|
|
13765
13765
|
import ts67 from "typescript";
|
|
13766
13766
|
|
|
13767
|
-
// bazel-out/
|
|
13767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13768
13768
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13769
13769
|
import ts65 from "typescript";
|
|
13770
13770
|
function wrapForDiagnostics(expr) {
|
|
@@ -13810,7 +13810,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13810
13810
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13811
13811
|
}
|
|
13812
13812
|
|
|
13813
|
-
// bazel-out/
|
|
13813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13814
13814
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13815
13815
|
import ts66 from "typescript";
|
|
13816
13816
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14114,7 +14114,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14114
14114
|
};
|
|
14115
14115
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14116
14116
|
|
|
14117
|
-
// bazel-out/
|
|
14117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14118
14118
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14119
14119
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14120
14120
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14138,7 +14138,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14138
14138
|
}
|
|
14139
14139
|
};
|
|
14140
14140
|
|
|
14141
|
-
// bazel-out/
|
|
14141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14142
14142
|
var TcbGenericContextBehavior;
|
|
14143
14143
|
(function(TcbGenericContextBehavior2) {
|
|
14144
14144
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -14478,12 +14478,7 @@ var TcbDirectiveInputsOp = class extends TcbOp {
|
|
|
14478
14478
|
let dirId = null;
|
|
14479
14479
|
const inputs = getBoundInputs(this.dir, this.node, this.tcb);
|
|
14480
14480
|
for (const input of inputs) {
|
|
14481
|
-
|
|
14482
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14483
|
-
expr = tsCastToAny(expr);
|
|
14484
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14485
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14486
|
-
}
|
|
14481
|
+
const expr = widenBinding(translateInput(input.attribute, this.tcb, this.scope), this.tcb);
|
|
14487
14482
|
let assignment = wrapForDiagnostics(expr);
|
|
14488
14483
|
for (const fieldName of input.fieldNames) {
|
|
14489
14484
|
let target;
|
|
@@ -14604,12 +14599,7 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
|
|
|
14604
14599
|
if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
|
|
14605
14600
|
continue;
|
|
14606
14601
|
}
|
|
14607
|
-
|
|
14608
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14609
|
-
expr = tsCastToAny(expr);
|
|
14610
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14611
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14612
|
-
}
|
|
14602
|
+
const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
|
|
14613
14603
|
if (this.tcb.env.config.checkTypeOfDomBindings && binding.type === 0) {
|
|
14614
14604
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
14615
14605
|
if (elId === null) {
|
|
@@ -15094,12 +15084,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
|
15094
15084
|
const members = inputs.map((input) => {
|
|
15095
15085
|
const propertyName = ts67.createStringLiteral(input.field);
|
|
15096
15086
|
if (input.type === "binding") {
|
|
15097
|
-
|
|
15098
|
-
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15099
|
-
expr = tsCastToAny(expr);
|
|
15100
|
-
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15101
|
-
expr = ts67.createNonNullExpression(expr);
|
|
15102
|
-
}
|
|
15087
|
+
const expr = widenBinding(input.expression, tcb);
|
|
15103
15088
|
const assignment = ts67.createPropertyAssignment(propertyName, wrapForDiagnostics(expr));
|
|
15104
15089
|
addParseSpanInfo(assignment, input.sourceSpan);
|
|
15105
15090
|
return assignment;
|
|
@@ -15136,6 +15121,19 @@ function translateInput(attr, tcb, scope) {
|
|
|
15136
15121
|
return ts67.createStringLiteral(attr.value);
|
|
15137
15122
|
}
|
|
15138
15123
|
}
|
|
15124
|
+
function widenBinding(expr, tcb) {
|
|
15125
|
+
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15126
|
+
return tsCastToAny(expr);
|
|
15127
|
+
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15128
|
+
if (ts67.isObjectLiteralExpression(expr) || ts67.isArrayLiteralExpression(expr)) {
|
|
15129
|
+
return expr;
|
|
15130
|
+
} else {
|
|
15131
|
+
return ts67.createNonNullExpression(expr);
|
|
15132
|
+
}
|
|
15133
|
+
} else {
|
|
15134
|
+
return expr;
|
|
15135
|
+
}
|
|
15136
|
+
}
|
|
15139
15137
|
var EVENT_PARAMETER = "$event";
|
|
15140
15138
|
function tcbCreateEventHandler(event, tcb, scope, eventType) {
|
|
15141
15139
|
const handler = tcbEventHandlerExpression(event.handler, tcb, scope);
|
|
@@ -15190,7 +15188,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15190
15188
|
}
|
|
15191
15189
|
};
|
|
15192
15190
|
|
|
15193
|
-
// bazel-out/
|
|
15191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15194
15192
|
import ts68 from "typescript";
|
|
15195
15193
|
var TypeCheckFile = class extends Environment {
|
|
15196
15194
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15226,7 +15224,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15226
15224
|
}
|
|
15227
15225
|
};
|
|
15228
15226
|
|
|
15229
|
-
// bazel-out/
|
|
15227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15230
15228
|
var InliningMode;
|
|
15231
15229
|
(function(InliningMode2) {
|
|
15232
15230
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15456,10 +15454,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15456
15454
|
return splits;
|
|
15457
15455
|
}
|
|
15458
15456
|
|
|
15459
|
-
// bazel-out/
|
|
15457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15460
15458
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15461
15459
|
|
|
15462
|
-
// bazel-out/
|
|
15460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15463
15461
|
var LF_CHAR = 10;
|
|
15464
15462
|
var CR_CHAR = 13;
|
|
15465
15463
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15500,7 +15498,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15500
15498
|
return low - 1;
|
|
15501
15499
|
}
|
|
15502
15500
|
|
|
15503
|
-
// bazel-out/
|
|
15501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15504
15502
|
var TemplateSource = class {
|
|
15505
15503
|
constructor(mapping, file) {
|
|
15506
15504
|
this.mapping = mapping;
|
|
@@ -15551,7 +15549,7 @@ var TemplateSourceManager = class {
|
|
|
15551
15549
|
}
|
|
15552
15550
|
};
|
|
15553
15551
|
|
|
15554
|
-
// bazel-out/
|
|
15552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15555
15553
|
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";
|
|
15556
15554
|
import ts70 from "typescript";
|
|
15557
15555
|
var SymbolBuilder = class {
|
|
@@ -15976,7 +15974,7 @@ function sourceSpanEqual(a, b) {
|
|
|
15976
15974
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
15977
15975
|
}
|
|
15978
15976
|
|
|
15979
|
-
// bazel-out/
|
|
15977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15980
15978
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15981
15979
|
var TemplateTypeCheckerImpl = class {
|
|
15982
15980
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16492,7 +16490,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16492
16490
|
}
|
|
16493
16491
|
};
|
|
16494
16492
|
|
|
16495
|
-
// bazel-out/
|
|
16493
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16496
16494
|
var ExtendedTemplateCheckerImpl = class {
|
|
16497
16495
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16498
16496
|
this.templateChecks = templateChecks;
|
|
@@ -16511,11 +16509,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16511
16509
|
}
|
|
16512
16510
|
};
|
|
16513
16511
|
|
|
16514
|
-
// bazel-out/
|
|
16512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16515
16513
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16516
16514
|
import ts71 from "typescript";
|
|
16517
16515
|
|
|
16518
|
-
// bazel-out/
|
|
16516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16519
16517
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16520
16518
|
var TemplateCheckWithVisitor = class {
|
|
16521
16519
|
run(ctx, component, template) {
|
|
@@ -16592,7 +16590,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16592
16590
|
}
|
|
16593
16591
|
};
|
|
16594
16592
|
|
|
16595
|
-
// bazel-out/
|
|
16593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16596
16594
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16597
16595
|
constructor() {
|
|
16598
16596
|
super(...arguments);
|
|
@@ -16612,7 +16610,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16612
16610
|
}
|
|
16613
16611
|
};
|
|
16614
16612
|
|
|
16615
|
-
// bazel-out/
|
|
16613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16616
16614
|
import { Binary } from "@angular/compiler";
|
|
16617
16615
|
import ts72 from "typescript";
|
|
16618
16616
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16640,7 +16638,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16640
16638
|
}
|
|
16641
16639
|
};
|
|
16642
16640
|
|
|
16643
|
-
// bazel-out/
|
|
16641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16644
16642
|
var CompilationTicketKind;
|
|
16645
16643
|
(function(CompilationTicketKind2) {
|
|
16646
16644
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17262,11 +17260,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17262
17260
|
return versions;
|
|
17263
17261
|
}
|
|
17264
17262
|
|
|
17265
|
-
// bazel-out/
|
|
17263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17266
17264
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17267
17265
|
import ts76 from "typescript";
|
|
17268
17266
|
|
|
17269
|
-
// bazel-out/
|
|
17267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17270
17268
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17271
17269
|
import {
|
|
17272
17270
|
relative as relative5,
|
|
@@ -17321,12 +17319,19 @@ function getPathNormalizer(basePath) {
|
|
|
17321
17319
|
};
|
|
17322
17320
|
}
|
|
17323
17321
|
|
|
17324
|
-
// bazel-out/
|
|
17322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17325
17323
|
import ts74 from "typescript";
|
|
17326
17324
|
|
|
17327
|
-
// bazel-out/
|
|
17325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17328
17326
|
function toNumbers(value) {
|
|
17329
|
-
|
|
17327
|
+
const suffixIndex = value.lastIndexOf("-");
|
|
17328
|
+
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
17329
|
+
const parsed = parseInt(segment, 10);
|
|
17330
|
+
if (isNaN(parsed)) {
|
|
17331
|
+
throw Error(`Unable to parse version string ${value}.`);
|
|
17332
|
+
}
|
|
17333
|
+
return parsed;
|
|
17334
|
+
});
|
|
17330
17335
|
}
|
|
17331
17336
|
function compareNumbers(a, b) {
|
|
17332
17337
|
const max = Math.max(a.length, b.length);
|
|
@@ -17352,7 +17357,7 @@ function compareVersions(v1, v2) {
|
|
|
17352
17357
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17353
17358
|
}
|
|
17354
17359
|
|
|
17355
|
-
// bazel-out/
|
|
17360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17356
17361
|
var MIN_TS_VERSION = "4.4.2";
|
|
17357
17362
|
var MAX_TS_VERSION = "4.5.0";
|
|
17358
17363
|
var tsVersion = ts74.version;
|
|
@@ -17365,7 +17370,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17365
17370
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17366
17371
|
}
|
|
17367
17372
|
|
|
17368
|
-
// bazel-out/
|
|
17373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17369
17374
|
import ts75 from "typescript";
|
|
17370
17375
|
var DelegatingCompilerHost2 = class {
|
|
17371
17376
|
constructor(delegate) {
|
|
@@ -17505,7 +17510,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17505
17510
|
}
|
|
17506
17511
|
};
|
|
17507
17512
|
|
|
17508
|
-
// bazel-out/
|
|
17513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17509
17514
|
var NgtscProgram = class {
|
|
17510
17515
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17511
17516
|
this.options = options;
|
|
@@ -17718,10 +17723,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17718
17723
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17719
17724
|
}
|
|
17720
17725
|
|
|
17721
|
-
// bazel-out/
|
|
17726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17722
17727
|
import ts78 from "typescript";
|
|
17723
17728
|
|
|
17724
|
-
// bazel-out/
|
|
17729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17725
17730
|
import ts77 from "typescript";
|
|
17726
17731
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17727
17732
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17756,7 +17761,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17756
17761
|
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.");
|
|
17757
17762
|
}
|
|
17758
17763
|
|
|
17759
|
-
// bazel-out/
|
|
17764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17760
17765
|
function isAngularDecorator3(decorator, isCore) {
|
|
17761
17766
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17762
17767
|
}
|
|
@@ -18060,7 +18065,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18060
18065
|
};
|
|
18061
18066
|
}
|
|
18062
18067
|
|
|
18063
|
-
// bazel-out/
|
|
18068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18064
18069
|
import ts79 from "typescript";
|
|
18065
18070
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18066
18071
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18255,7 +18260,7 @@ function updateComponentProperties(args2, loader) {
|
|
|
18255
18260
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18256
18261
|
}
|
|
18257
18262
|
|
|
18258
|
-
// bazel-out/
|
|
18263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18259
18264
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18260
18265
|
import ts80 from "typescript";
|
|
18261
18266
|
function toMap(items, select) {
|
|
@@ -18532,7 +18537,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18532
18537
|
return exportTable;
|
|
18533
18538
|
}
|
|
18534
18539
|
|
|
18535
|
-
// bazel-out/
|
|
18540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18536
18541
|
import ts81 from "typescript";
|
|
18537
18542
|
var MetadataCache = class {
|
|
18538
18543
|
constructor(collector, strict, transformers) {
|
|
@@ -18573,10 +18578,10 @@ var MetadataCache = class {
|
|
|
18573
18578
|
}
|
|
18574
18579
|
};
|
|
18575
18580
|
|
|
18576
|
-
// bazel-out/
|
|
18581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18577
18582
|
import ts83 from "typescript";
|
|
18578
18583
|
|
|
18579
|
-
// bazel-out/
|
|
18584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18580
18585
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18581
18586
|
import ts82 from "typescript";
|
|
18582
18587
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19028,7 +19033,7 @@ function translateModifiers(modifiers) {
|
|
|
19028
19033
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19029
19034
|
}
|
|
19030
19035
|
|
|
19031
|
-
// bazel-out/
|
|
19036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19032
19037
|
function getPreamble(original) {
|
|
19033
19038
|
return `*
|
|
19034
19039
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19075,7 +19080,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19075
19080
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19076
19081
|
}
|
|
19077
19082
|
|
|
19078
|
-
// bazel-out/
|
|
19083
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19079
19084
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19080
19085
|
import ts84 from "typescript";
|
|
19081
19086
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19111,7 +19116,7 @@ function isClassStmt(v) {
|
|
|
19111
19116
|
return v instanceof ClassStmt2;
|
|
19112
19117
|
}
|
|
19113
19118
|
|
|
19114
|
-
// bazel-out/
|
|
19119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19115
19120
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19116
19121
|
if (modules.length === 0) {
|
|
19117
19122
|
return () => (sf) => sf;
|
|
@@ -19129,7 +19134,7 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19129
19134
|
};
|
|
19130
19135
|
}
|
|
19131
19136
|
|
|
19132
|
-
// bazel-out/
|
|
19137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19133
19138
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19134
19139
|
var VE_DISABLED_MESSAGE = `
|
|
19135
19140
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
@@ -19854,7 +19859,7 @@ function isIvyNgModule(clazz) {
|
|
|
19854
19859
|
return false;
|
|
19855
19860
|
}
|
|
19856
19861
|
|
|
19857
|
-
// bazel-out/
|
|
19862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19858
19863
|
var defaultFormatHost = {
|
|
19859
19864
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19860
19865
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20083,7 +20088,7 @@ function hasErrors(diags) {
|
|
|
20083
20088
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20084
20089
|
}
|
|
20085
20090
|
|
|
20086
|
-
// bazel-out/
|
|
20091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
20087
20092
|
import {
|
|
20088
20093
|
watch
|
|
20089
20094
|
} from "chokidar";
|
|
@@ -20297,7 +20302,7 @@ function performWatchCompilation(host) {
|
|
|
20297
20302
|
}
|
|
20298
20303
|
}
|
|
20299
20304
|
|
|
20300
|
-
// bazel-out/
|
|
20305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
20301
20306
|
function main(args2, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
20302
20307
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args2);
|
|
20303
20308
|
if (configErrors.length) {
|
|
@@ -20425,7 +20430,7 @@ function printDiagnostics(diagnostics, options, consoleError) {
|
|
|
20425
20430
|
consoleError(formatDiagnostics(diagnostics, formatHost));
|
|
20426
20431
|
}
|
|
20427
20432
|
|
|
20428
|
-
// bazel-out/
|
|
20433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
20429
20434
|
function mainXi18n(args2, consoleError = console.error) {
|
|
20430
20435
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
20431
20436
|
return main(args2, consoleError, config, void 0, void 0, void 0);
|
|
@@ -20447,7 +20452,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
20447
20452
|
return __spreadProps(__spreadValues({}, config), { emitFlags: EmitFlags.I18nBundle });
|
|
20448
20453
|
}
|
|
20449
20454
|
|
|
20450
|
-
// bazel-out/
|
|
20455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
20451
20456
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
20452
20457
|
var args = process.argv.slice(2);
|
|
20453
20458
|
setFileSystem(new NodeJSFileSystem());
|