@angular/compiler-cli 13.0.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +235 -230
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +67 -67
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +59 -59
- package/bundles/linker/index.js.map +1 -1
- package/bundles/ngcc/index.js +376 -363
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +377 -364
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +248 -248
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +234 -229
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +232 -227
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
package/bundles/index.js
CHANGED
|
@@ -30,13 +30,13 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
30
30
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
34
34
|
import {
|
|
35
35
|
EOL
|
|
36
36
|
} from "os";
|
|
37
37
|
import ts from "typescript";
|
|
38
38
|
|
|
39
|
-
// bazel-out/
|
|
39
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
40
40
|
var InvalidFileSystem = class {
|
|
41
41
|
exists(path7) {
|
|
42
42
|
throw makeError();
|
|
@@ -124,7 +124,7 @@ function makeError() {
|
|
|
124
124
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
// bazel-out/
|
|
127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
128
128
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
129
129
|
function normalizeSeparators(path7) {
|
|
130
130
|
return path7.replace(/\\/g, "/");
|
|
@@ -140,7 +140,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
140
140
|
return sf;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
// bazel-out/
|
|
143
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
144
144
|
var fs = new InvalidFileSystem();
|
|
145
145
|
function getFileSystem() {
|
|
146
146
|
return fs;
|
|
@@ -197,7 +197,7 @@ function toRelativeImport(relativePath) {
|
|
|
197
197
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
201
201
|
var NgtscCompilerHost = class {
|
|
202
202
|
constructor(fs5, options = {}) {
|
|
203
203
|
this.fs = fs5;
|
|
@@ -250,7 +250,7 @@ var NgtscCompilerHost = class {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
254
254
|
var LogicalProjectPath = {
|
|
255
255
|
relativePathBetween: function(from, to) {
|
|
256
256
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -296,7 +296,7 @@ function isWithinBasePath(base, path7) {
|
|
|
296
296
|
return isLocalRelativePath(relative(base, path7));
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
300
300
|
import {
|
|
301
301
|
copyFileSync,
|
|
302
302
|
existsSync,
|
|
@@ -441,20 +441,20 @@ function toggleCase(str) {
|
|
|
441
441
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
// bazel-out/
|
|
444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
445
445
|
import { StaticReflector, StaticSymbol } from "@angular/compiler";
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
448
448
|
import { Version } from "@angular/compiler";
|
|
449
|
-
var VERSION = new Version("13.0.
|
|
449
|
+
var VERSION = new Version("13.0.1");
|
|
450
450
|
|
|
451
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
452
452
|
import ts4 from "typescript";
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
455
455
|
import ts2 from "typescript";
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
458
458
|
var METADATA_VERSION = 4;
|
|
459
459
|
function isModuleMetadata(value) {
|
|
460
460
|
return value && value.__symbolic === "module";
|
|
@@ -542,7 +542,7 @@ function isMetadataError(value) {
|
|
|
542
542
|
return value && value.__symbolic === "error";
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
// bazel-out/
|
|
545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
546
546
|
var spreadElementSyntaxKind = ts2.SyntaxKind.SpreadElement || ts2.SyntaxKind.SpreadElementExpression;
|
|
547
547
|
function isMethodCallOf(callExpression, memberName) {
|
|
548
548
|
const expression = callExpression.expression;
|
|
@@ -1101,7 +1101,7 @@ function arrayOrEmpty(v) {
|
|
|
1101
1101
|
return v || empty;
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1105
1105
|
import ts3 from "typescript";
|
|
1106
1106
|
var Symbols = class {
|
|
1107
1107
|
constructor(sourceFile) {
|
|
@@ -1226,7 +1226,7 @@ function populateBuiltins(symbols) {
|
|
|
1226
1226
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1227
1227
|
}
|
|
1228
1228
|
|
|
1229
|
-
// bazel-out/
|
|
1229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1230
1230
|
var isStatic = (node) => ts4.getCombinedModifierFlags(node) & ts4.ModifierFlags.Static;
|
|
1231
1231
|
var MetadataCollector = class {
|
|
1232
1232
|
constructor(options = {}) {
|
|
@@ -1847,7 +1847,7 @@ function expandedMessage(error2) {
|
|
|
1847
1847
|
return error2.message;
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
// bazel-out/
|
|
1850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1851
1851
|
import {
|
|
1852
1852
|
basename as basename4,
|
|
1853
1853
|
dirname as dirname4,
|
|
@@ -1856,7 +1856,7 @@ import {
|
|
|
1856
1856
|
} from "path";
|
|
1857
1857
|
import ts6 from "typescript";
|
|
1858
1858
|
|
|
1859
|
-
// bazel-out/
|
|
1859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1860
1860
|
import {
|
|
1861
1861
|
basename as basename3,
|
|
1862
1862
|
dirname as dirname3,
|
|
@@ -2326,7 +2326,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2326
2326
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2327
2327
|
}
|
|
2328
2328
|
|
|
2329
|
-
// bazel-out/
|
|
2329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2330
2330
|
var INDEX_HEADER = `/**
|
|
2331
2331
|
* Generated bundle index. Do not edit.
|
|
2332
2332
|
*/
|
|
@@ -2360,7 +2360,7 @@ function compare(select) {
|
|
|
2360
2360
|
};
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
|
-
// bazel-out/
|
|
2363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2364
2364
|
var DTS = /\.d\.ts$/;
|
|
2365
2365
|
var JS_EXT = /(\.js|)$/;
|
|
2366
2366
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2439,7 +2439,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2439
2439
|
return { host, indexName: name };
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
|
-
// bazel-out/
|
|
2442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
2443
2443
|
var DEFAULT_ERROR_CODE = 100;
|
|
2444
2444
|
var UNKNOWN_ERROR_CODE = 500;
|
|
2445
2445
|
var SOURCE = "angular";
|
|
@@ -2460,7 +2460,7 @@ var EmitFlags;
|
|
|
2460
2460
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
2461
2461
|
})(EmitFlags || (EmitFlags = {}));
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2464
2464
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
2465
2465
|
import fs3 from "fs";
|
|
2466
2466
|
import {
|
|
@@ -2473,7 +2473,7 @@ import {
|
|
|
2473
2473
|
} from "path";
|
|
2474
2474
|
import ts8 from "typescript";
|
|
2475
2475
|
|
|
2476
|
-
// bazel-out/
|
|
2476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2477
2477
|
import { syntaxError } from "@angular/compiler";
|
|
2478
2478
|
import {
|
|
2479
2479
|
relative as relative3
|
|
@@ -2539,7 +2539,7 @@ function stripComment(commentText) {
|
|
|
2539
2539
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2540
2540
|
}
|
|
2541
2541
|
|
|
2542
|
-
// bazel-out/
|
|
2542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2543
2543
|
function createMetadataReaderCache() {
|
|
2544
2544
|
const data = new Map();
|
|
2545
2545
|
return { data };
|
|
@@ -2616,7 +2616,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2616
2616
|
return newMetadata;
|
|
2617
2617
|
}
|
|
2618
2618
|
|
|
2619
|
-
// bazel-out/
|
|
2619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2620
2620
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2621
2621
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2622
2622
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3076,7 +3076,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3076
3076
|
return `${fileName}.$ngresource$`;
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
|
-
// bazel-out/
|
|
3079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3080
3080
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3081
3081
|
import {
|
|
3082
3082
|
readFileSync as readFileSync2
|
|
@@ -3084,7 +3084,7 @@ import {
|
|
|
3084
3084
|
import * as path6 from "path";
|
|
3085
3085
|
import ts85 from "typescript";
|
|
3086
3086
|
|
|
3087
|
-
// bazel-out/
|
|
3087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3088
3088
|
import ts9 from "typescript";
|
|
3089
3089
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3090
3090
|
const ts87 = [];
|
|
@@ -3119,14 +3119,14 @@ function diagnosticMessageToString(message) {
|
|
|
3119
3119
|
return ts9.flattenDiagnosticMessageText(message, "\n");
|
|
3120
3120
|
}
|
|
3121
3121
|
|
|
3122
|
-
// bazel-out/
|
|
3122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3123
3123
|
import ts73 from "typescript";
|
|
3124
3124
|
|
|
3125
|
-
// bazel-out/
|
|
3125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3126
3126
|
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";
|
|
3127
3127
|
import ts39 from "typescript";
|
|
3128
3128
|
|
|
3129
|
-
// bazel-out/
|
|
3129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
3130
3130
|
var ErrorCode;
|
|
3131
3131
|
(function(ErrorCode2) {
|
|
3132
3132
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -3177,7 +3177,7 @@ var ErrorCode;
|
|
|
3177
3177
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
3178
3178
|
})(ErrorCode || (ErrorCode = {}));
|
|
3179
3179
|
|
|
3180
|
-
// bazel-out/
|
|
3180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
3181
3181
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
3182
3182
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
3183
3183
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -3188,10 +3188,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
3188
3188
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
3189
3189
|
]);
|
|
3190
3190
|
|
|
3191
|
-
// bazel-out/
|
|
3191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3192
3192
|
import ts10 from "typescript";
|
|
3193
3193
|
|
|
3194
|
-
// bazel-out/
|
|
3194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
3195
3195
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
3196
3196
|
function replaceTsWithNgInErrors(errors) {
|
|
3197
3197
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -3200,7 +3200,7 @@ function ngErrorCode(code) {
|
|
|
3200
3200
|
return parseInt("-99" + code);
|
|
3201
3201
|
}
|
|
3202
3202
|
|
|
3203
|
-
// bazel-out/
|
|
3203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3204
3204
|
var FatalDiagnosticError = class {
|
|
3205
3205
|
constructor(code, node, message, relatedInformation) {
|
|
3206
3206
|
this.code = code;
|
|
@@ -3237,17 +3237,17 @@ function makeRelatedInformation(node, messageText) {
|
|
|
3237
3237
|
};
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
|
-
// bazel-out/
|
|
3240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
3241
3241
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
3242
3242
|
|
|
3243
|
-
// bazel-out/
|
|
3243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3244
3244
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3245
3245
|
|
|
3246
|
-
// bazel-out/
|
|
3246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3247
3247
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3248
3248
|
import ts13 from "typescript";
|
|
3249
3249
|
|
|
3250
|
-
// bazel-out/
|
|
3250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3251
3251
|
import ts11 from "typescript";
|
|
3252
3252
|
var TS2 = /\.tsx?$/i;
|
|
3253
3253
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3335,7 +3335,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3335
3335
|
return redirectInfo.unredirected;
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
// bazel-out/
|
|
3338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3339
3339
|
import ts12 from "typescript";
|
|
3340
3340
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3341
3341
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3359,7 +3359,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3359
3359
|
return foundExportName;
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
3362
|
-
// bazel-out/
|
|
3362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3363
3363
|
var ImportFlags;
|
|
3364
3364
|
(function(ImportFlags2) {
|
|
3365
3365
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3519,7 +3519,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3523
3523
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3524
3524
|
var UnifiedModulesAliasingHost = class {
|
|
3525
3525
|
constructor(unifiedModulesHost) {
|
|
@@ -3582,7 +3582,7 @@ var AliasStrategy = class {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
};
|
|
3584
3584
|
|
|
3585
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3586
3586
|
function relativePathBetween(from, to) {
|
|
3587
3587
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3588
3588
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3591,7 +3591,7 @@ function normalizeSeparators2(path7) {
|
|
|
3591
3591
|
return path7.replace(/\\/g, "/");
|
|
3592
3592
|
}
|
|
3593
3593
|
|
|
3594
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3595
3595
|
var NoopImportRewriter = class {
|
|
3596
3596
|
shouldImportSymbol(symbol, specifier) {
|
|
3597
3597
|
return true;
|
|
@@ -3649,7 +3649,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3649
3649
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3650
3650
|
}
|
|
3651
3651
|
|
|
3652
|
-
// bazel-out/
|
|
3652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3653
3653
|
import ts14 from "typescript";
|
|
3654
3654
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3655
3655
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3694,7 +3694,7 @@ var DefaultImportTracker = class {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
};
|
|
3696
3696
|
|
|
3697
|
-
// bazel-out/
|
|
3697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3698
3698
|
var Reference = class {
|
|
3699
3699
|
constructor(node, bestGuessOwningModule = null) {
|
|
3700
3700
|
this.node = node;
|
|
@@ -3757,7 +3757,7 @@ var Reference = class {
|
|
|
3757
3757
|
}
|
|
3758
3758
|
};
|
|
3759
3759
|
|
|
3760
|
-
// bazel-out/
|
|
3760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3761
3761
|
var ModuleResolver = class {
|
|
3762
3762
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3763
3763
|
this.program = program;
|
|
@@ -3774,7 +3774,7 @@ var ModuleResolver = class {
|
|
|
3774
3774
|
}
|
|
3775
3775
|
};
|
|
3776
3776
|
|
|
3777
|
-
// bazel-out/
|
|
3777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3778
3778
|
import ts15 from "typescript";
|
|
3779
3779
|
var SemanticSymbol = class {
|
|
3780
3780
|
constructor(decl) {
|
|
@@ -3790,7 +3790,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3790
3790
|
return decl.name.text;
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3794
3794
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3795
3795
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3796
3796
|
isPublicApiAffected() {
|
|
@@ -3933,10 +3933,10 @@ function getImportPath(expr) {
|
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
3935
3935
|
|
|
3936
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3937
3937
|
import ts16 from "typescript";
|
|
3938
3938
|
|
|
3939
|
-
// bazel-out/
|
|
3939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3940
3940
|
function isSymbolEqual(a, b) {
|
|
3941
3941
|
if (a.decl === b.decl) {
|
|
3942
3942
|
return true;
|
|
@@ -3986,7 +3986,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3986
3986
|
return true;
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
// bazel-out/
|
|
3989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3990
3990
|
function extractSemanticTypeParameters(node) {
|
|
3991
3991
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3992
3992
|
return null;
|
|
@@ -4006,17 +4006,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
4006
4006
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
4007
4007
|
}
|
|
4008
4008
|
|
|
4009
|
-
// bazel-out/
|
|
4009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
4010
4010
|
var MetaType;
|
|
4011
4011
|
(function(MetaType2) {
|
|
4012
4012
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
4013
4013
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
4014
4014
|
})(MetaType || (MetaType = {}));
|
|
4015
4015
|
|
|
4016
|
-
// bazel-out/
|
|
4016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4017
4017
|
import ts22 from "typescript";
|
|
4018
4018
|
|
|
4019
|
-
// bazel-out/
|
|
4019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
4020
4020
|
import ts17 from "typescript";
|
|
4021
4021
|
var Decorator = {
|
|
4022
4022
|
nodeForError: (decorator) => {
|
|
@@ -4051,7 +4051,7 @@ function isConcreteDeclaration(decl) {
|
|
|
4051
4051
|
return decl.kind === 0;
|
|
4052
4052
|
}
|
|
4053
4053
|
|
|
4054
|
-
// bazel-out/
|
|
4054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
4055
4055
|
import ts18 from "typescript";
|
|
4056
4056
|
function typeToValue(typeNode, checker) {
|
|
4057
4057
|
if (typeNode === null) {
|
|
@@ -4212,10 +4212,10 @@ function extractModuleName(node) {
|
|
|
4212
4212
|
return node.moduleSpecifier.text;
|
|
4213
4213
|
}
|
|
4214
4214
|
|
|
4215
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4216
4216
|
import ts20 from "typescript";
|
|
4217
4217
|
|
|
4218
|
-
// bazel-out/
|
|
4218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4219
4219
|
import ts19 from "typescript";
|
|
4220
4220
|
function isNamedClassDeclaration(node) {
|
|
4221
4221
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4224,7 +4224,7 @@ function isIdentifier(node) {
|
|
|
4224
4224
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
-
// bazel-out/
|
|
4227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4228
4228
|
var TypeScriptReflectionHost = class {
|
|
4229
4229
|
constructor(checker) {
|
|
4230
4230
|
this.checker = checker;
|
|
@@ -4660,7 +4660,7 @@ function getExportedName(decl, originalId) {
|
|
|
4660
4660
|
}
|
|
4661
4661
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4662
4662
|
|
|
4663
|
-
// bazel-out/
|
|
4663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4664
4664
|
var ClassPropertyMapping = class {
|
|
4665
4665
|
constructor(forwardMap) {
|
|
4666
4666
|
this.forwardMap = forwardMap;
|
|
@@ -4736,7 +4736,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4736
4736
|
return reverseMap;
|
|
4737
4737
|
}
|
|
4738
4738
|
|
|
4739
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4740
4740
|
import ts21 from "typescript";
|
|
4741
4741
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4742
4742
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4903,7 +4903,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4903
4903
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4904
4904
|
}
|
|
4905
4905
|
|
|
4906
|
-
// bazel-out/
|
|
4906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4907
4907
|
var DtsMetadataReader = class {
|
|
4908
4908
|
constructor(checker, reflector) {
|
|
4909
4909
|
this.checker = checker;
|
|
@@ -5003,7 +5003,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
5003
5003
|
return null;
|
|
5004
5004
|
}
|
|
5005
5005
|
|
|
5006
|
-
// bazel-out/
|
|
5006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
5007
5007
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
5008
5008
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
5009
5009
|
if (topMeta === null) {
|
|
@@ -5060,7 +5060,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
5060
5060
|
});
|
|
5061
5061
|
}
|
|
5062
5062
|
|
|
5063
|
-
// bazel-out/
|
|
5063
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
5064
5064
|
var LocalMetadataRegistry = class {
|
|
5065
5065
|
constructor() {
|
|
5066
5066
|
this.directives = new Map();
|
|
@@ -5119,7 +5119,7 @@ var InjectableClassRegistry = class {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
};
|
|
5121
5121
|
|
|
5122
|
-
// bazel-out/
|
|
5122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5123
5123
|
var ResourceRegistry = class {
|
|
5124
5124
|
constructor() {
|
|
5125
5125
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5184,10 +5184,10 @@ var ResourceRegistry = class {
|
|
|
5184
5184
|
}
|
|
5185
5185
|
};
|
|
5186
5186
|
|
|
5187
|
-
// bazel-out/
|
|
5187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5188
5188
|
import ts23 from "typescript";
|
|
5189
5189
|
|
|
5190
|
-
// bazel-out/
|
|
5190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5191
5191
|
var DynamicValue = class {
|
|
5192
5192
|
constructor(node, reason, code) {
|
|
5193
5193
|
this.node = node;
|
|
@@ -5272,7 +5272,7 @@ var DynamicValue = class {
|
|
|
5272
5272
|
}
|
|
5273
5273
|
};
|
|
5274
5274
|
|
|
5275
|
-
// bazel-out/
|
|
5275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5276
5276
|
var ResolvedModule = class {
|
|
5277
5277
|
constructor(exports, evaluate) {
|
|
5278
5278
|
this.exports = exports;
|
|
@@ -5302,7 +5302,7 @@ var EnumValue = class {
|
|
|
5302
5302
|
var KnownFn = class {
|
|
5303
5303
|
};
|
|
5304
5304
|
|
|
5305
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5306
5306
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5307
5307
|
var _a, _b;
|
|
5308
5308
|
if (value === null) {
|
|
@@ -5428,10 +5428,10 @@ function getContainerNode(node) {
|
|
|
5428
5428
|
return node.getSourceFile();
|
|
5429
5429
|
}
|
|
5430
5430
|
|
|
5431
|
-
// bazel-out/
|
|
5431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5432
5432
|
import ts24 from "typescript";
|
|
5433
5433
|
|
|
5434
|
-
// bazel-out/
|
|
5434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5435
5435
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5436
5436
|
constructor(lhs) {
|
|
5437
5437
|
super();
|
|
@@ -5484,7 +5484,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
};
|
|
5486
5486
|
|
|
5487
|
-
// bazel-out/
|
|
5487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5488
5488
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5489
5489
|
};
|
|
5490
5490
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5537,7 +5537,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5537
5537
|
}
|
|
5538
5538
|
};
|
|
5539
5539
|
|
|
5540
|
-
// bazel-out/
|
|
5540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5541
5541
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5542
5542
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5543
5543
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5561,7 +5561,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5561
5561
|
}
|
|
5562
5562
|
}
|
|
5563
5563
|
|
|
5564
|
-
// bazel-out/
|
|
5564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5565
5565
|
function literalBinaryOp(op) {
|
|
5566
5566
|
return { op, literal: true };
|
|
5567
5567
|
}
|
|
@@ -6146,7 +6146,7 @@ function owningModule(context, override = null) {
|
|
|
6146
6146
|
}
|
|
6147
6147
|
}
|
|
6148
6148
|
|
|
6149
|
-
// bazel-out/
|
|
6149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6150
6150
|
var PartialEvaluator = class {
|
|
6151
6151
|
constructor(host, checker, dependencyTracker) {
|
|
6152
6152
|
this.host = host;
|
|
@@ -6166,7 +6166,7 @@ var PartialEvaluator = class {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
};
|
|
6168
6168
|
|
|
6169
|
-
// bazel-out/
|
|
6169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6170
6170
|
var PerfPhase;
|
|
6171
6171
|
(function(PerfPhase2) {
|
|
6172
6172
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6231,7 +6231,7 @@ var PerfCheckpoint;
|
|
|
6231
6231
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6232
6232
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6233
6233
|
|
|
6234
|
-
// bazel-out/
|
|
6234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6235
6235
|
var NoopPerfRecorder = class {
|
|
6236
6236
|
eventCount() {
|
|
6237
6237
|
}
|
|
@@ -6248,7 +6248,7 @@ var NoopPerfRecorder = class {
|
|
|
6248
6248
|
};
|
|
6249
6249
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6250
6250
|
|
|
6251
|
-
// bazel-out/
|
|
6251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6252
6252
|
function mark() {
|
|
6253
6253
|
return process.hrtime();
|
|
6254
6254
|
}
|
|
@@ -6257,7 +6257,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6257
6257
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6258
6258
|
}
|
|
6259
6259
|
|
|
6260
|
-
// bazel-out/
|
|
6260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6261
6261
|
var ActivePerfRecorder = class {
|
|
6262
6262
|
constructor(zeroTime) {
|
|
6263
6263
|
this.zeroTime = zeroTime;
|
|
@@ -6351,7 +6351,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6351
6351
|
}
|
|
6352
6352
|
};
|
|
6353
6353
|
|
|
6354
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6355
6355
|
var CompilationMode;
|
|
6356
6356
|
(function(CompilationMode2) {
|
|
6357
6357
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6369,7 +6369,7 @@ var HandlerFlags;
|
|
|
6369
6369
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6370
6370
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6371
6371
|
|
|
6372
|
-
// bazel-out/
|
|
6372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6373
6373
|
import ts25 from "typescript";
|
|
6374
6374
|
function aliasTransformFactory(exportStatements) {
|
|
6375
6375
|
return (context) => {
|
|
@@ -6387,10 +6387,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6387
6387
|
};
|
|
6388
6388
|
}
|
|
6389
6389
|
|
|
6390
|
-
// bazel-out/
|
|
6390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6391
6391
|
import ts26 from "typescript";
|
|
6392
6392
|
|
|
6393
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6394
6394
|
var TraitState;
|
|
6395
6395
|
(function(TraitState2) {
|
|
6396
6396
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6445,7 +6445,7 @@ var TraitImpl = class {
|
|
|
6445
6445
|
}
|
|
6446
6446
|
};
|
|
6447
6447
|
|
|
6448
|
-
// bazel-out/
|
|
6448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6449
6449
|
var TraitCompiler = class {
|
|
6450
6450
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6451
6451
|
this.handlers = handlers;
|
|
@@ -6882,10 +6882,10 @@ var TraitCompiler = class {
|
|
|
6882
6882
|
}
|
|
6883
6883
|
};
|
|
6884
6884
|
|
|
6885
|
-
// bazel-out/
|
|
6885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6886
6886
|
import ts31 from "typescript";
|
|
6887
6887
|
|
|
6888
|
-
// bazel-out/
|
|
6888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6889
6889
|
var Context = class {
|
|
6890
6890
|
constructor(isStatement) {
|
|
6891
6891
|
this.isStatement = isStatement;
|
|
@@ -6898,7 +6898,7 @@ var Context = class {
|
|
|
6898
6898
|
}
|
|
6899
6899
|
};
|
|
6900
6900
|
|
|
6901
|
-
// bazel-out/
|
|
6901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6902
6902
|
import ts27 from "typescript";
|
|
6903
6903
|
var ImportManager = class {
|
|
6904
6904
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6934,7 +6934,7 @@ var ImportManager = class {
|
|
|
6934
6934
|
}
|
|
6935
6935
|
};
|
|
6936
6936
|
|
|
6937
|
-
// bazel-out/
|
|
6937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6938
6938
|
import {
|
|
6939
6939
|
BinaryOperator,
|
|
6940
6940
|
ConditionalExpr,
|
|
@@ -7178,7 +7178,7 @@ function createRange(span) {
|
|
|
7178
7178
|
};
|
|
7179
7179
|
}
|
|
7180
7180
|
|
|
7181
|
-
// bazel-out/
|
|
7181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7182
7182
|
import {
|
|
7183
7183
|
BuiltinTypeName
|
|
7184
7184
|
} from "@angular/compiler";
|
|
@@ -7357,7 +7357,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7357
7357
|
}
|
|
7358
7358
|
};
|
|
7359
7359
|
|
|
7360
|
-
// bazel-out/
|
|
7360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7361
7361
|
import ts29 from "typescript";
|
|
7362
7362
|
var PureAnnotation;
|
|
7363
7363
|
(function(PureAnnotation2) {
|
|
@@ -7529,7 +7529,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7529
7529
|
}
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
|
-
// bazel-out/
|
|
7532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7533
7533
|
function translateExpression(expression, imports, options = {}) {
|
|
7534
7534
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7535
7535
|
}
|
|
@@ -7537,7 +7537,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7537
7537
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7538
7538
|
}
|
|
7539
7539
|
|
|
7540
|
-
// bazel-out/
|
|
7540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7541
7541
|
import ts30 from "typescript";
|
|
7542
7542
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7543
7543
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7565,7 +7565,7 @@ function isImportStatement(stmt) {
|
|
|
7565
7565
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7566
7566
|
}
|
|
7567
7567
|
|
|
7568
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7569
7569
|
var DtsTransformRegistry = class {
|
|
7570
7570
|
constructor() {
|
|
7571
7571
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7690,11 +7690,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7690
7690
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7691
7691
|
}
|
|
7692
7692
|
|
|
7693
|
-
// bazel-out/
|
|
7693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7694
7694
|
import { ConstantPool } from "@angular/compiler";
|
|
7695
7695
|
import ts33 from "typescript";
|
|
7696
7696
|
|
|
7697
|
-
// bazel-out/
|
|
7697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7698
7698
|
import ts32 from "typescript";
|
|
7699
7699
|
function visit(node, visitor, context) {
|
|
7700
7700
|
return visitor._visit(node, context);
|
|
@@ -7756,7 +7756,7 @@ function hasStatements(node) {
|
|
|
7756
7756
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7757
7757
|
}
|
|
7758
7758
|
|
|
7759
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7760
7760
|
var NO_DECORATORS = new Set();
|
|
7761
7761
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7762
7762
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7937,10 +7937,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7937
7937
|
};
|
|
7938
7938
|
}
|
|
7939
7939
|
|
|
7940
|
-
// bazel-out/
|
|
7940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7941
7941
|
import ts35 from "typescript";
|
|
7942
7942
|
|
|
7943
|
-
// bazel-out/
|
|
7943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7944
7944
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7945
7945
|
import ts34 from "typescript";
|
|
7946
7946
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8300,7 +8300,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8300
8300
|
};
|
|
8301
8301
|
}
|
|
8302
8302
|
|
|
8303
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8304
8304
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8305
8305
|
var _a;
|
|
8306
8306
|
let chainedMessage;
|
|
@@ -8396,11 +8396,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8396
8396
|
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}.`);
|
|
8397
8397
|
}
|
|
8398
8398
|
|
|
8399
|
-
// bazel-out/
|
|
8400
|
-
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8400
|
+
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8401
8401
|
import ts37 from "typescript";
|
|
8402
8402
|
|
|
8403
|
-
// bazel-out/
|
|
8403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8404
8404
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8405
8405
|
function compileNgFactoryDefField(metadata) {
|
|
8406
8406
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8411,7 +8411,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8411
8411
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8412
8412
|
}
|
|
8413
8413
|
|
|
8414
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8415
8415
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8416
8416
|
import ts36 from "typescript";
|
|
8417
8417
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8499,7 +8499,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8499
8499
|
return result.transformed[0];
|
|
8500
8500
|
}
|
|
8501
8501
|
|
|
8502
|
-
// bazel-out/
|
|
8502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8503
8503
|
var EMPTY_OBJECT = {};
|
|
8504
8504
|
var FIELD_DECORATORS = [
|
|
8505
8505
|
"Input",
|
|
@@ -8807,17 +8807,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
|
|
|
8807
8807
|
};
|
|
8808
8808
|
}
|
|
8809
8809
|
function extractQueryMetadata(exprNode, name, args, propertyName, reflector, evaluator) {
|
|
8810
|
-
var _a;
|
|
8811
8810
|
if (args.length === 0) {
|
|
8812
8811
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
|
|
8813
8812
|
}
|
|
8814
8813
|
const first = name === "ViewChild" || name === "ContentChild";
|
|
8815
|
-
const
|
|
8814
|
+
const forwardReferenceTarget = tryUnwrapForwardRef(args[0], reflector);
|
|
8815
|
+
const node = forwardReferenceTarget != null ? forwardReferenceTarget : args[0];
|
|
8816
8816
|
const arg = evaluator.evaluate(node);
|
|
8817
8817
|
let isStatic2 = false;
|
|
8818
8818
|
let predicate = null;
|
|
8819
8819
|
if (arg instanceof Reference || arg instanceof DynamicValue) {
|
|
8820
|
-
predicate = new WrappedNodeExpr4(node);
|
|
8820
|
+
predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
|
|
8821
8821
|
} else if (typeof arg === "string") {
|
|
8822
8822
|
predicate = [arg];
|
|
8823
8823
|
} else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
|
|
@@ -9061,7 +9061,7 @@ var QUERY_TYPES = new Set([
|
|
|
9061
9061
|
"ViewChildren"
|
|
9062
9062
|
]);
|
|
9063
9063
|
|
|
9064
|
-
// bazel-out/
|
|
9064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
9065
9065
|
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";
|
|
9066
9066
|
import ts38 from "typescript";
|
|
9067
9067
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -9495,7 +9495,7 @@ function isNgModule(node, compilation) {
|
|
|
9495
9495
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9496
9496
|
}
|
|
9497
9497
|
|
|
9498
|
-
// bazel-out/
|
|
9498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9499
9499
|
var EMPTY_MAP = new Map();
|
|
9500
9500
|
var EMPTY_ARRAY = [];
|
|
9501
9501
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10379,8 +10379,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10379
10379
|
return null;
|
|
10380
10380
|
}
|
|
10381
10381
|
|
|
10382
|
-
// bazel-out/
|
|
10383
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable,
|
|
10382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10383
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10384
10384
|
import ts40 from "typescript";
|
|
10385
10385
|
var InjectableDecoratorHandler = class {
|
|
10386
10386
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10468,7 +10468,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10468
10468
|
type,
|
|
10469
10469
|
typeArgumentCount,
|
|
10470
10470
|
internalType,
|
|
10471
|
-
providedIn:
|
|
10471
|
+
providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
|
|
10472
10472
|
};
|
|
10473
10473
|
} else if (decorator.args.length === 1) {
|
|
10474
10474
|
const metaNode = decorator.args[0];
|
|
@@ -10476,7 +10476,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10476
10476
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10477
10477
|
}
|
|
10478
10478
|
const meta = reflectObjectLiteral(metaNode);
|
|
10479
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) :
|
|
10479
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
|
|
10480
10480
|
let deps = void 0;
|
|
10481
10481
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10482
10482
|
const depsExpr = meta.get("deps");
|
|
@@ -10504,7 +10504,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10504
10504
|
}
|
|
10505
10505
|
function getProviderExpression(expression, reflector) {
|
|
10506
10506
|
const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
|
|
10507
|
-
return
|
|
10507
|
+
return createMayBeForwardRefExpression2(new WrappedNodeExpr7(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
|
|
10508
10508
|
}
|
|
10509
10509
|
function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
|
|
10510
10510
|
if (decorator.args === null) {
|
|
@@ -10579,7 +10579,7 @@ function getDep(dep, reflector) {
|
|
|
10579
10579
|
return meta;
|
|
10580
10580
|
}
|
|
10581
10581
|
|
|
10582
|
-
// bazel-out/
|
|
10582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10583
10583
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10584
10584
|
import ts41 from "typescript";
|
|
10585
10585
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10704,13 +10704,13 @@ var PipeDecoratorHandler = class {
|
|
|
10704
10704
|
}
|
|
10705
10705
|
};
|
|
10706
10706
|
|
|
10707
|
-
// bazel-out/
|
|
10707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10708
10708
|
var NoopReferencesRegistry = class {
|
|
10709
10709
|
add(source, ...references) {
|
|
10710
10710
|
}
|
|
10711
10711
|
};
|
|
10712
10712
|
|
|
10713
|
-
// bazel-out/
|
|
10713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10714
10714
|
var CycleAnalyzer = class {
|
|
10715
10715
|
constructor(importGraph) {
|
|
10716
10716
|
this.importGraph = importGraph;
|
|
@@ -10781,7 +10781,7 @@ var Cycle = class {
|
|
|
10781
10781
|
}
|
|
10782
10782
|
};
|
|
10783
10783
|
|
|
10784
|
-
// bazel-out/
|
|
10784
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10785
10785
|
import ts42 from "typescript";
|
|
10786
10786
|
var ImportGraph = class {
|
|
10787
10787
|
constructor(checker, perf) {
|
|
@@ -10864,7 +10864,7 @@ var Found = class {
|
|
|
10864
10864
|
}
|
|
10865
10865
|
};
|
|
10866
10866
|
|
|
10867
|
-
// bazel-out/
|
|
10867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10868
10868
|
import ts43 from "typescript";
|
|
10869
10869
|
var FlatIndexGenerator = class {
|
|
10870
10870
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10889,7 +10889,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10889
10889
|
}
|
|
10890
10890
|
};
|
|
10891
10891
|
|
|
10892
|
-
// bazel-out/
|
|
10892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10893
10893
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10894
10894
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10895
10895
|
let resolvedEntryPoint = null;
|
|
@@ -10905,7 +10905,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10905
10905
|
return resolvedEntryPoint;
|
|
10906
10906
|
}
|
|
10907
10907
|
|
|
10908
|
-
// bazel-out/
|
|
10908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10909
10909
|
import ts44 from "typescript";
|
|
10910
10910
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10911
10911
|
const diagnostics = [];
|
|
@@ -10985,7 +10985,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10985
10985
|
}
|
|
10986
10986
|
}
|
|
10987
10987
|
|
|
10988
|
-
// bazel-out/
|
|
10988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10989
10989
|
var ReferenceGraph = class {
|
|
10990
10990
|
constructor() {
|
|
10991
10991
|
this.references = new Map();
|
|
@@ -11039,7 +11039,7 @@ var ReferenceGraph = class {
|
|
|
11039
11039
|
}
|
|
11040
11040
|
};
|
|
11041
11041
|
|
|
11042
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
11043
11043
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
11044
11044
|
var UpdateMode;
|
|
11045
11045
|
(function(UpdateMode2) {
|
|
@@ -11047,13 +11047,13 @@ var UpdateMode;
|
|
|
11047
11047
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
11048
11048
|
})(UpdateMode || (UpdateMode = {}));
|
|
11049
11049
|
|
|
11050
|
-
// bazel-out/
|
|
11050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11051
11051
|
import ts48 from "typescript";
|
|
11052
11052
|
|
|
11053
|
-
// bazel-out/
|
|
11053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11054
11054
|
import ts45 from "typescript";
|
|
11055
11055
|
|
|
11056
|
-
// bazel-out/
|
|
11056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
11057
11057
|
var NgExtension = Symbol("NgExtension");
|
|
11058
11058
|
function isExtended(sf) {
|
|
11059
11059
|
return sf[NgExtension] !== void 0;
|
|
@@ -11113,7 +11113,7 @@ function retagTsFile(sf) {
|
|
|
11113
11113
|
}
|
|
11114
11114
|
}
|
|
11115
11115
|
|
|
11116
|
-
// bazel-out/
|
|
11116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11117
11117
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11118
11118
|
function makeShimFileName(fileName, suffix) {
|
|
11119
11119
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11128,7 +11128,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11128
11128
|
return moduleName;
|
|
11129
11129
|
}
|
|
11130
11130
|
|
|
11131
|
-
// bazel-out/
|
|
11131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11132
11132
|
var ShimAdapter = class {
|
|
11133
11133
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11134
11134
|
this.delegate = delegate;
|
|
@@ -11225,7 +11225,7 @@ var ShimAdapter = class {
|
|
|
11225
11225
|
}
|
|
11226
11226
|
};
|
|
11227
11227
|
|
|
11228
|
-
// bazel-out/
|
|
11228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11229
11229
|
import ts46 from "typescript";
|
|
11230
11230
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11231
11231
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11374,7 +11374,7 @@ function updateInitializers(stmt, update) {
|
|
|
11374
11374
|
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)))));
|
|
11375
11375
|
}
|
|
11376
11376
|
|
|
11377
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11378
11378
|
var ShimReferenceTagger = class {
|
|
11379
11379
|
constructor(shimExtensions) {
|
|
11380
11380
|
this.tagged = new Set();
|
|
@@ -11408,7 +11408,7 @@ var ShimReferenceTagger = class {
|
|
|
11408
11408
|
}
|
|
11409
11409
|
};
|
|
11410
11410
|
|
|
11411
|
-
// bazel-out/
|
|
11411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11412
11412
|
import ts47 from "typescript";
|
|
11413
11413
|
var SummaryGenerator = class {
|
|
11414
11414
|
constructor() {
|
|
@@ -11448,7 +11448,7 @@ function isExported2(decl) {
|
|
|
11448
11448
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11449
11449
|
}
|
|
11450
11450
|
|
|
11451
|
-
// bazel-out/
|
|
11451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11452
11452
|
var DelegatingCompilerHost = class {
|
|
11453
11453
|
constructor(delegate) {
|
|
11454
11454
|
this.delegate = delegate;
|
|
@@ -11557,7 +11557,7 @@ var TsCreateProgramDriver = class {
|
|
|
11557
11557
|
}
|
|
11558
11558
|
};
|
|
11559
11559
|
|
|
11560
|
-
// bazel-out/
|
|
11560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11561
11561
|
var FileDependencyGraph = class {
|
|
11562
11562
|
constructor() {
|
|
11563
11563
|
this.nodes = new Map();
|
|
@@ -11624,7 +11624,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11624
11624
|
return false;
|
|
11625
11625
|
}
|
|
11626
11626
|
|
|
11627
|
-
// bazel-out/
|
|
11627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11628
11628
|
var IncrementalStateKind;
|
|
11629
11629
|
(function(IncrementalStateKind2) {
|
|
11630
11630
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11632,7 +11632,7 @@ var IncrementalStateKind;
|
|
|
11632
11632
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11633
11633
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11634
11634
|
|
|
11635
|
-
// bazel-out/
|
|
11635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11636
11636
|
var PhaseKind;
|
|
11637
11637
|
(function(PhaseKind2) {
|
|
11638
11638
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11833,7 +11833,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11833
11833
|
}
|
|
11834
11834
|
}
|
|
11835
11835
|
|
|
11836
|
-
// bazel-out/
|
|
11836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11837
11837
|
var TrackedIncrementalBuildStrategy = class {
|
|
11838
11838
|
constructor() {
|
|
11839
11839
|
this.state = null;
|
|
@@ -11869,7 +11869,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
11869
11869
|
};
|
|
11870
11870
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11871
11871
|
|
|
11872
|
-
// bazel-out/
|
|
11872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11873
11873
|
var IdentifierKind;
|
|
11874
11874
|
(function(IdentifierKind2) {
|
|
11875
11875
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11887,7 +11887,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11887
11887
|
}
|
|
11888
11888
|
};
|
|
11889
11889
|
|
|
11890
|
-
// bazel-out/
|
|
11890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11891
11891
|
var IndexingContext = class {
|
|
11892
11892
|
constructor() {
|
|
11893
11893
|
this.components = new Set();
|
|
@@ -11897,10 +11897,10 @@ var IndexingContext = class {
|
|
|
11897
11897
|
}
|
|
11898
11898
|
};
|
|
11899
11899
|
|
|
11900
|
-
// bazel-out/
|
|
11900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11901
11901
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11902
11902
|
|
|
11903
|
-
// bazel-out/
|
|
11903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11904
11904
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11905
11905
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11906
11906
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12104,7 +12104,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12104
12104
|
return visitor.identifiers;
|
|
12105
12105
|
}
|
|
12106
12106
|
|
|
12107
|
-
// bazel-out/
|
|
12107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12108
12108
|
function generateAnalysis(context) {
|
|
12109
12109
|
const analysis = new Map();
|
|
12110
12110
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12138,7 +12138,7 @@ function generateAnalysis(context) {
|
|
|
12138
12138
|
return analysis;
|
|
12139
12139
|
}
|
|
12140
12140
|
|
|
12141
|
-
// bazel-out/
|
|
12141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12142
12142
|
import ts49 from "typescript";
|
|
12143
12143
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12144
12144
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12283,7 +12283,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12283
12283
|
};
|
|
12284
12284
|
}
|
|
12285
12285
|
|
|
12286
|
-
// bazel-out/
|
|
12286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12287
12287
|
var MetadataDtsModuleScopeResolver = class {
|
|
12288
12288
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12289
12289
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12369,7 +12369,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12369
12369
|
}
|
|
12370
12370
|
};
|
|
12371
12371
|
|
|
12372
|
-
// bazel-out/
|
|
12372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12373
12373
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12374
12374
|
import ts50 from "typescript";
|
|
12375
12375
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12677,7 +12677,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12677
12677
|
]);
|
|
12678
12678
|
}
|
|
12679
12679
|
|
|
12680
|
-
// bazel-out/
|
|
12680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12681
12681
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12682
12682
|
import ts51 from "typescript";
|
|
12683
12683
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12738,7 +12738,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12738
12738
|
}
|
|
12739
12739
|
};
|
|
12740
12740
|
|
|
12741
|
-
// bazel-out/
|
|
12741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12742
12742
|
import ts52 from "typescript";
|
|
12743
12743
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12744
12744
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12802,24 +12802,24 @@ function hasIvySwitches(stmt) {
|
|
|
12802
12802
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12803
12803
|
}
|
|
12804
12804
|
|
|
12805
|
-
// bazel-out/
|
|
12805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12806
12806
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12807
12807
|
|
|
12808
|
-
// bazel-out/
|
|
12808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12809
12809
|
var OptimizeFor;
|
|
12810
12810
|
(function(OptimizeFor2) {
|
|
12811
12811
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12812
12812
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12813
12813
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12814
12814
|
|
|
12815
|
-
// bazel-out/
|
|
12815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12816
12816
|
var CompletionKind;
|
|
12817
12817
|
(function(CompletionKind2) {
|
|
12818
12818
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12819
12819
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12820
12820
|
})(CompletionKind || (CompletionKind = {}));
|
|
12821
12821
|
|
|
12822
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12823
12823
|
var SymbolKind;
|
|
12824
12824
|
(function(SymbolKind2) {
|
|
12825
12825
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12835,7 +12835,7 @@ var SymbolKind;
|
|
|
12835
12835
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12836
12836
|
})(SymbolKind || (SymbolKind = {}));
|
|
12837
12837
|
|
|
12838
|
-
// bazel-out/
|
|
12838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12839
12839
|
import ts53 from "typescript";
|
|
12840
12840
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12841
12841
|
if (mapping.type === "direct") {
|
|
@@ -12908,7 +12908,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12908
12908
|
}
|
|
12909
12909
|
}
|
|
12910
12910
|
|
|
12911
|
-
// bazel-out/
|
|
12911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12912
12912
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12913
12913
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12914
12914
|
function getTemplateId(clazz) {
|
|
@@ -12925,11 +12925,11 @@ function allocateTemplateId(sf) {
|
|
|
12925
12925
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12926
12926
|
}
|
|
12927
12927
|
|
|
12928
|
-
// bazel-out/
|
|
12928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12929
12929
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12930
12930
|
import ts55 from "typescript";
|
|
12931
12931
|
|
|
12932
|
-
// bazel-out/
|
|
12932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12933
12933
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12934
12934
|
import ts54 from "typescript";
|
|
12935
12935
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -13049,7 +13049,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
13049
13049
|
}) || false;
|
|
13050
13050
|
}
|
|
13051
13051
|
|
|
13052
|
-
// bazel-out/
|
|
13052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
13053
13053
|
var CompletionEngine = class {
|
|
13054
13054
|
constructor(tcb, data, shimPath) {
|
|
13055
13055
|
this.tcb = tcb;
|
|
@@ -13200,10 +13200,10 @@ var CompletionEngine = class {
|
|
|
13200
13200
|
}
|
|
13201
13201
|
};
|
|
13202
13202
|
|
|
13203
|
-
// bazel-out/
|
|
13203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13204
13204
|
import ts69 from "typescript";
|
|
13205
13205
|
|
|
13206
|
-
// bazel-out/
|
|
13206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13207
13207
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13208
13208
|
import ts56 from "typescript";
|
|
13209
13209
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13253,11 +13253,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13253
13253
|
}
|
|
13254
13254
|
};
|
|
13255
13255
|
|
|
13256
|
-
// bazel-out/
|
|
13256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13257
13257
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13258
13258
|
import ts62 from "typescript";
|
|
13259
13259
|
|
|
13260
|
-
// bazel-out/
|
|
13260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13261
13261
|
import ts57 from "typescript";
|
|
13262
13262
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13263
13263
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13326,16 +13326,16 @@ function isAccessExpression(node) {
|
|
|
13326
13326
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13327
13327
|
}
|
|
13328
13328
|
|
|
13329
|
-
// bazel-out/
|
|
13329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13330
13330
|
import ts61 from "typescript";
|
|
13331
13331
|
|
|
13332
|
-
// bazel-out/
|
|
13332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13333
13333
|
import ts60 from "typescript";
|
|
13334
13334
|
|
|
13335
|
-
// bazel-out/
|
|
13335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13336
13336
|
import ts59 from "typescript";
|
|
13337
13337
|
|
|
13338
|
-
// bazel-out/
|
|
13338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13339
13339
|
import ts58 from "typescript";
|
|
13340
13340
|
var INELIGIBLE = {};
|
|
13341
13341
|
function canEmitType(type, resolver) {
|
|
@@ -13410,7 +13410,7 @@ var TypeEmitter = class {
|
|
|
13410
13410
|
}
|
|
13411
13411
|
};
|
|
13412
13412
|
|
|
13413
|
-
// bazel-out/
|
|
13413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13414
13414
|
var TypeParameterEmitter = class {
|
|
13415
13415
|
constructor(typeParameters, reflector) {
|
|
13416
13416
|
this.typeParameters = typeParameters;
|
|
@@ -13473,7 +13473,7 @@ var TypeParameterEmitter = class {
|
|
|
13473
13473
|
}
|
|
13474
13474
|
};
|
|
13475
13475
|
|
|
13476
|
-
// bazel-out/
|
|
13476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13477
13477
|
var TcbInliningRequirement;
|
|
13478
13478
|
(function(TcbInliningRequirement2) {
|
|
13479
13479
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13552,7 +13552,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13552
13552
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13553
13553
|
}
|
|
13554
13554
|
|
|
13555
|
-
// bazel-out/
|
|
13555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13556
13556
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13557
13557
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13558
13558
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13626,7 +13626,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13626
13626
|
});
|
|
13627
13627
|
}
|
|
13628
13628
|
|
|
13629
|
-
// bazel-out/
|
|
13629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13630
13630
|
var Environment = class {
|
|
13631
13631
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13632
13632
|
this.config = config;
|
|
@@ -13712,7 +13712,7 @@ var Environment = class {
|
|
|
13712
13712
|
}
|
|
13713
13713
|
};
|
|
13714
13714
|
|
|
13715
|
-
// bazel-out/
|
|
13715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13716
13716
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13717
13717
|
import ts63 from "typescript";
|
|
13718
13718
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13844,7 +13844,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13844
13844
|
});
|
|
13845
13845
|
}
|
|
13846
13846
|
|
|
13847
|
-
// bazel-out/
|
|
13847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13848
13848
|
import ts64 from "typescript";
|
|
13849
13849
|
var TypeCheckShimGenerator = class {
|
|
13850
13850
|
constructor() {
|
|
@@ -13862,11 +13862,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13862
13862
|
}
|
|
13863
13863
|
};
|
|
13864
13864
|
|
|
13865
|
-
// bazel-out/
|
|
13865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13866
13866
|
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";
|
|
13867
13867
|
import ts67 from "typescript";
|
|
13868
13868
|
|
|
13869
|
-
// bazel-out/
|
|
13869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13870
13870
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13871
13871
|
import ts65 from "typescript";
|
|
13872
13872
|
function wrapForDiagnostics(expr) {
|
|
@@ -13912,7 +13912,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13912
13912
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13913
13913
|
}
|
|
13914
13914
|
|
|
13915
|
-
// bazel-out/
|
|
13915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13916
13916
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13917
13917
|
import ts66 from "typescript";
|
|
13918
13918
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14216,7 +14216,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14216
14216
|
};
|
|
14217
14217
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14218
14218
|
|
|
14219
|
-
// bazel-out/
|
|
14219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14220
14220
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14221
14221
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14222
14222
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14240,7 +14240,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14240
14240
|
}
|
|
14241
14241
|
};
|
|
14242
14242
|
|
|
14243
|
-
// bazel-out/
|
|
14243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14244
14244
|
var TcbGenericContextBehavior;
|
|
14245
14245
|
(function(TcbGenericContextBehavior2) {
|
|
14246
14246
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -14580,12 +14580,7 @@ var TcbDirectiveInputsOp = class extends TcbOp {
|
|
|
14580
14580
|
let dirId = null;
|
|
14581
14581
|
const inputs = getBoundInputs(this.dir, this.node, this.tcb);
|
|
14582
14582
|
for (const input of inputs) {
|
|
14583
|
-
|
|
14584
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14585
|
-
expr = tsCastToAny(expr);
|
|
14586
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14587
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14588
|
-
}
|
|
14583
|
+
const expr = widenBinding(translateInput(input.attribute, this.tcb, this.scope), this.tcb);
|
|
14589
14584
|
let assignment = wrapForDiagnostics(expr);
|
|
14590
14585
|
for (const fieldName of input.fieldNames) {
|
|
14591
14586
|
let target;
|
|
@@ -14706,12 +14701,7 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
|
|
|
14706
14701
|
if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
|
|
14707
14702
|
continue;
|
|
14708
14703
|
}
|
|
14709
|
-
|
|
14710
|
-
if (!this.tcb.env.config.checkTypeOfInputBindings) {
|
|
14711
|
-
expr = tsCastToAny(expr);
|
|
14712
|
-
} else if (!this.tcb.env.config.strictNullInputBindings) {
|
|
14713
|
-
expr = ts67.createNonNullExpression(expr);
|
|
14714
|
-
}
|
|
14704
|
+
const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
|
|
14715
14705
|
if (this.tcb.env.config.checkTypeOfDomBindings && binding.type === 0) {
|
|
14716
14706
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
14717
14707
|
if (elId === null) {
|
|
@@ -15196,12 +15186,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
|
15196
15186
|
const members = inputs.map((input) => {
|
|
15197
15187
|
const propertyName = ts67.createStringLiteral(input.field);
|
|
15198
15188
|
if (input.type === "binding") {
|
|
15199
|
-
|
|
15200
|
-
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15201
|
-
expr = tsCastToAny(expr);
|
|
15202
|
-
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15203
|
-
expr = ts67.createNonNullExpression(expr);
|
|
15204
|
-
}
|
|
15189
|
+
const expr = widenBinding(input.expression, tcb);
|
|
15205
15190
|
const assignment = ts67.createPropertyAssignment(propertyName, wrapForDiagnostics(expr));
|
|
15206
15191
|
addParseSpanInfo(assignment, input.sourceSpan);
|
|
15207
15192
|
return assignment;
|
|
@@ -15238,6 +15223,19 @@ function translateInput(attr, tcb, scope) {
|
|
|
15238
15223
|
return ts67.createStringLiteral(attr.value);
|
|
15239
15224
|
}
|
|
15240
15225
|
}
|
|
15226
|
+
function widenBinding(expr, tcb) {
|
|
15227
|
+
if (!tcb.env.config.checkTypeOfInputBindings) {
|
|
15228
|
+
return tsCastToAny(expr);
|
|
15229
|
+
} else if (!tcb.env.config.strictNullInputBindings) {
|
|
15230
|
+
if (ts67.isObjectLiteralExpression(expr) || ts67.isArrayLiteralExpression(expr)) {
|
|
15231
|
+
return expr;
|
|
15232
|
+
} else {
|
|
15233
|
+
return ts67.createNonNullExpression(expr);
|
|
15234
|
+
}
|
|
15235
|
+
} else {
|
|
15236
|
+
return expr;
|
|
15237
|
+
}
|
|
15238
|
+
}
|
|
15241
15239
|
var EVENT_PARAMETER = "$event";
|
|
15242
15240
|
function tcbCreateEventHandler(event, tcb, scope, eventType) {
|
|
15243
15241
|
const handler = tcbEventHandlerExpression(event.handler, tcb, scope);
|
|
@@ -15292,7 +15290,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15292
15290
|
}
|
|
15293
15291
|
};
|
|
15294
15292
|
|
|
15295
|
-
// bazel-out/
|
|
15293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15296
15294
|
import ts68 from "typescript";
|
|
15297
15295
|
var TypeCheckFile = class extends Environment {
|
|
15298
15296
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15328,7 +15326,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15328
15326
|
}
|
|
15329
15327
|
};
|
|
15330
15328
|
|
|
15331
|
-
// bazel-out/
|
|
15329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15332
15330
|
var InliningMode;
|
|
15333
15331
|
(function(InliningMode2) {
|
|
15334
15332
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15558,10 +15556,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15558
15556
|
return splits;
|
|
15559
15557
|
}
|
|
15560
15558
|
|
|
15561
|
-
// bazel-out/
|
|
15559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15562
15560
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15563
15561
|
|
|
15564
|
-
// bazel-out/
|
|
15562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15565
15563
|
var LF_CHAR = 10;
|
|
15566
15564
|
var CR_CHAR = 13;
|
|
15567
15565
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15602,7 +15600,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15602
15600
|
return low - 1;
|
|
15603
15601
|
}
|
|
15604
15602
|
|
|
15605
|
-
// bazel-out/
|
|
15603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15606
15604
|
var TemplateSource = class {
|
|
15607
15605
|
constructor(mapping, file) {
|
|
15608
15606
|
this.mapping = mapping;
|
|
@@ -15653,7 +15651,7 @@ var TemplateSourceManager = class {
|
|
|
15653
15651
|
}
|
|
15654
15652
|
};
|
|
15655
15653
|
|
|
15656
|
-
// bazel-out/
|
|
15654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15657
15655
|
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";
|
|
15658
15656
|
import ts70 from "typescript";
|
|
15659
15657
|
var SymbolBuilder = class {
|
|
@@ -16078,7 +16076,7 @@ function sourceSpanEqual(a, b) {
|
|
|
16078
16076
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
16079
16077
|
}
|
|
16080
16078
|
|
|
16081
|
-
// bazel-out/
|
|
16079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
16082
16080
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
16083
16081
|
var TemplateTypeCheckerImpl = class {
|
|
16084
16082
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16594,7 +16592,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16594
16592
|
}
|
|
16595
16593
|
};
|
|
16596
16594
|
|
|
16597
|
-
// bazel-out/
|
|
16595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16598
16596
|
var ExtendedTemplateCheckerImpl = class {
|
|
16599
16597
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16600
16598
|
this.templateChecks = templateChecks;
|
|
@@ -16613,11 +16611,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16613
16611
|
}
|
|
16614
16612
|
};
|
|
16615
16613
|
|
|
16616
|
-
// bazel-out/
|
|
16614
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16617
16615
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16618
16616
|
import ts71 from "typescript";
|
|
16619
16617
|
|
|
16620
|
-
// bazel-out/
|
|
16618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16621
16619
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16622
16620
|
var TemplateCheckWithVisitor = class {
|
|
16623
16621
|
run(ctx, component, template) {
|
|
@@ -16694,7 +16692,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16694
16692
|
}
|
|
16695
16693
|
};
|
|
16696
16694
|
|
|
16697
|
-
// bazel-out/
|
|
16695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16698
16696
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16699
16697
|
constructor() {
|
|
16700
16698
|
super(...arguments);
|
|
@@ -16714,7 +16712,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16714
16712
|
}
|
|
16715
16713
|
};
|
|
16716
16714
|
|
|
16717
|
-
// bazel-out/
|
|
16715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16718
16716
|
import { Binary } from "@angular/compiler";
|
|
16719
16717
|
import ts72 from "typescript";
|
|
16720
16718
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16742,7 +16740,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16742
16740
|
}
|
|
16743
16741
|
};
|
|
16744
16742
|
|
|
16745
|
-
// bazel-out/
|
|
16743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16746
16744
|
var CompilationTicketKind;
|
|
16747
16745
|
(function(CompilationTicketKind2) {
|
|
16748
16746
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17381,11 +17379,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17381
17379
|
return versions;
|
|
17382
17380
|
}
|
|
17383
17381
|
|
|
17384
|
-
// bazel-out/
|
|
17382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17385
17383
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17386
17384
|
import ts76 from "typescript";
|
|
17387
17385
|
|
|
17388
|
-
// bazel-out/
|
|
17386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17389
17387
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17390
17388
|
import {
|
|
17391
17389
|
relative as relative5,
|
|
@@ -17440,12 +17438,19 @@ function getPathNormalizer(basePath) {
|
|
|
17440
17438
|
};
|
|
17441
17439
|
}
|
|
17442
17440
|
|
|
17443
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17444
17442
|
import ts74 from "typescript";
|
|
17445
17443
|
|
|
17446
|
-
// bazel-out/
|
|
17444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17447
17445
|
function toNumbers(value) {
|
|
17448
|
-
|
|
17446
|
+
const suffixIndex = value.lastIndexOf("-");
|
|
17447
|
+
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
17448
|
+
const parsed = parseInt(segment, 10);
|
|
17449
|
+
if (isNaN(parsed)) {
|
|
17450
|
+
throw Error(`Unable to parse version string ${value}.`);
|
|
17451
|
+
}
|
|
17452
|
+
return parsed;
|
|
17453
|
+
});
|
|
17449
17454
|
}
|
|
17450
17455
|
function compareNumbers(a, b) {
|
|
17451
17456
|
const max = Math.max(a.length, b.length);
|
|
@@ -17471,7 +17476,7 @@ function compareVersions(v1, v2) {
|
|
|
17471
17476
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17472
17477
|
}
|
|
17473
17478
|
|
|
17474
|
-
// bazel-out/
|
|
17479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17475
17480
|
var MIN_TS_VERSION = "4.4.2";
|
|
17476
17481
|
var MAX_TS_VERSION = "4.5.0";
|
|
17477
17482
|
var tsVersion = ts74.version;
|
|
@@ -17484,7 +17489,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17484
17489
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17485
17490
|
}
|
|
17486
17491
|
|
|
17487
|
-
// bazel-out/
|
|
17492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17488
17493
|
import ts75 from "typescript";
|
|
17489
17494
|
var DelegatingCompilerHost2 = class {
|
|
17490
17495
|
constructor(delegate) {
|
|
@@ -17624,7 +17629,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17624
17629
|
}
|
|
17625
17630
|
};
|
|
17626
17631
|
|
|
17627
|
-
// bazel-out/
|
|
17632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17628
17633
|
var NgtscProgram = class {
|
|
17629
17634
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17630
17635
|
this.options = options;
|
|
@@ -17837,10 +17842,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17837
17842
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17838
17843
|
}
|
|
17839
17844
|
|
|
17840
|
-
// bazel-out/
|
|
17845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17841
17846
|
import ts78 from "typescript";
|
|
17842
17847
|
|
|
17843
|
-
// bazel-out/
|
|
17848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17844
17849
|
import ts77 from "typescript";
|
|
17845
17850
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17846
17851
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17875,7 +17880,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17875
17880
|
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.");
|
|
17876
17881
|
}
|
|
17877
17882
|
|
|
17878
|
-
// bazel-out/
|
|
17883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17879
17884
|
function isAngularDecorator3(decorator, isCore) {
|
|
17880
17885
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17881
17886
|
}
|
|
@@ -18179,7 +18184,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18179
18184
|
};
|
|
18180
18185
|
}
|
|
18181
18186
|
|
|
18182
|
-
// bazel-out/
|
|
18187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18183
18188
|
import ts79 from "typescript";
|
|
18184
18189
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18185
18190
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18374,7 +18379,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18374
18379
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18375
18380
|
}
|
|
18376
18381
|
|
|
18377
|
-
// bazel-out/
|
|
18382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18378
18383
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18379
18384
|
import ts80 from "typescript";
|
|
18380
18385
|
function toMap(items, select) {
|
|
@@ -18651,7 +18656,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18651
18656
|
return exportTable;
|
|
18652
18657
|
}
|
|
18653
18658
|
|
|
18654
|
-
// bazel-out/
|
|
18659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18655
18660
|
import ts81 from "typescript";
|
|
18656
18661
|
var MetadataCache = class {
|
|
18657
18662
|
constructor(collector, strict, transformers) {
|
|
@@ -18692,10 +18697,10 @@ var MetadataCache = class {
|
|
|
18692
18697
|
}
|
|
18693
18698
|
};
|
|
18694
18699
|
|
|
18695
|
-
// bazel-out/
|
|
18700
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18696
18701
|
import ts83 from "typescript";
|
|
18697
18702
|
|
|
18698
|
-
// bazel-out/
|
|
18703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18699
18704
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18700
18705
|
import ts82 from "typescript";
|
|
18701
18706
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19147,7 +19152,7 @@ function translateModifiers(modifiers) {
|
|
|
19147
19152
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19148
19153
|
}
|
|
19149
19154
|
|
|
19150
|
-
// bazel-out/
|
|
19155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19151
19156
|
function getPreamble(original) {
|
|
19152
19157
|
return `*
|
|
19153
19158
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19194,7 +19199,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19194
19199
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19195
19200
|
}
|
|
19196
19201
|
|
|
19197
|
-
// bazel-out/
|
|
19202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19198
19203
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19199
19204
|
import ts84 from "typescript";
|
|
19200
19205
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19230,7 +19235,7 @@ function isClassStmt(v) {
|
|
|
19230
19235
|
return v instanceof ClassStmt2;
|
|
19231
19236
|
}
|
|
19232
19237
|
|
|
19233
|
-
// bazel-out/
|
|
19238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19234
19239
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19235
19240
|
if (modules.length === 0) {
|
|
19236
19241
|
return () => (sf) => sf;
|
|
@@ -19248,7 +19253,7 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19248
19253
|
};
|
|
19249
19254
|
}
|
|
19250
19255
|
|
|
19251
|
-
// bazel-out/
|
|
19256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19252
19257
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19253
19258
|
var VE_DISABLED_MESSAGE = `
|
|
19254
19259
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
@@ -19973,7 +19978,7 @@ function isIvyNgModule(clazz) {
|
|
|
19973
19978
|
return false;
|
|
19974
19979
|
}
|
|
19975
19980
|
|
|
19976
|
-
// bazel-out/
|
|
19981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19977
19982
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
19978
19983
|
import ts86 from "typescript";
|
|
19979
19984
|
var defaultFormatHost = {
|
|
@@ -20204,7 +20209,7 @@ function hasErrors(diags) {
|
|
|
20204
20209
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20205
20210
|
}
|
|
20206
20211
|
|
|
20207
|
-
// bazel-out/
|
|
20212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
20208
20213
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
20209
20214
|
ngDevMode: false,
|
|
20210
20215
|
ngI18nClosureMode: false
|
|
@@ -20218,7 +20223,7 @@ function constructorParametersDownlevelTransform(program) {
|
|
|
20218
20223
|
return getDownlevelDecoratorsTransform(typeChecker, reflectionHost, [], false, false, true);
|
|
20219
20224
|
}
|
|
20220
20225
|
|
|
20221
|
-
// bazel-out/
|
|
20226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
20222
20227
|
var LogLevel;
|
|
20223
20228
|
(function(LogLevel2) {
|
|
20224
20229
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -20227,7 +20232,7 @@ var LogLevel;
|
|
|
20227
20232
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
20228
20233
|
})(LogLevel || (LogLevel = {}));
|
|
20229
20234
|
|
|
20230
|
-
// bazel-out/
|
|
20235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
20231
20236
|
var RESET = "[0m";
|
|
20232
20237
|
var RED = "[31m";
|
|
20233
20238
|
var YELLOW = "[33m";
|
|
@@ -20257,7 +20262,7 @@ var ConsoleLogger = class {
|
|
|
20257
20262
|
}
|
|
20258
20263
|
};
|
|
20259
20264
|
|
|
20260
|
-
// bazel-out/
|
|
20265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
20261
20266
|
var NgTscPlugin = class {
|
|
20262
20267
|
constructor(ngOptions) {
|
|
20263
20268
|
this.ngOptions = ngOptions;
|
|
@@ -20326,7 +20331,7 @@ var NgTscPlugin = class {
|
|
|
20326
20331
|
}
|
|
20327
20332
|
};
|
|
20328
20333
|
|
|
20329
|
-
// bazel-out/
|
|
20334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
20330
20335
|
setFileSystem(new NodeJSFileSystem());
|
|
20331
20336
|
export {
|
|
20332
20337
|
ConsoleLogger,
|