@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- 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 +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -47,16 +47,16 @@ var __toModule = (module2) => {
|
|
|
47
47
|
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
51
51
|
import "reflect-metadata";
|
|
52
52
|
|
|
53
|
-
// bazel-out/
|
|
53
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
54
54
|
import {
|
|
55
55
|
EOL
|
|
56
56
|
} from "os";
|
|
57
57
|
import ts from "typescript";
|
|
58
58
|
|
|
59
|
-
// bazel-out/
|
|
59
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
60
60
|
var InvalidFileSystem = class {
|
|
61
61
|
exists(path8) {
|
|
62
62
|
throw makeError();
|
|
@@ -144,7 +144,7 @@ function makeError() {
|
|
|
144
144
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
// bazel-out/
|
|
147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
148
148
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
149
149
|
function stripExtension(path8) {
|
|
150
150
|
return path8.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -157,7 +157,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
157
157
|
return sf;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// bazel-out/
|
|
160
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
161
161
|
var fs = new InvalidFileSystem();
|
|
162
162
|
function getFileSystem() {
|
|
163
163
|
return fs;
|
|
@@ -204,7 +204,7 @@ function toRelativeImport(relativePath) {
|
|
|
204
204
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
208
208
|
var LogicalProjectPath = {
|
|
209
209
|
relativePathBetween: function(from, to) {
|
|
210
210
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -250,7 +250,7 @@ function isWithinBasePath(base, path8) {
|
|
|
250
250
|
return isLocalRelativePath(relative(base, path8));
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
254
254
|
import {
|
|
255
255
|
copyFileSync,
|
|
256
256
|
existsSync,
|
|
@@ -395,18 +395,15 @@ function toggleCase(str) {
|
|
|
395
395
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
// bazel-out/
|
|
398
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
399
399
|
import ts88 from "typescript";
|
|
400
400
|
import yargs from "yargs";
|
|
401
401
|
|
|
402
|
-
// bazel-out/
|
|
402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
403
403
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
404
404
|
import ts86 from "typescript";
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
407
|
-
import ts2 from "typescript";
|
|
408
|
-
|
|
409
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
406
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
410
407
|
var ErrorCode;
|
|
411
408
|
(function(ErrorCode2) {
|
|
412
409
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -456,7 +453,8 @@ var ErrorCode;
|
|
|
456
453
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
457
454
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
458
455
|
})(ErrorCode || (ErrorCode = {}));
|
|
459
|
-
|
|
456
|
+
|
|
457
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
460
458
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
461
459
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
462
460
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -466,11 +464,20 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
466
464
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
467
465
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
468
466
|
]);
|
|
467
|
+
|
|
468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
469
|
+
import ts2 from "typescript";
|
|
470
|
+
|
|
471
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
472
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
473
|
+
function replaceTsWithNgInErrors(errors) {
|
|
474
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
475
|
+
}
|
|
469
476
|
function ngErrorCode(code) {
|
|
470
477
|
return parseInt("-99" + code);
|
|
471
478
|
}
|
|
472
479
|
|
|
473
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
474
481
|
var FatalDiagnosticError = class {
|
|
475
482
|
constructor(code, node, message, relatedInformation) {
|
|
476
483
|
this.code = code;
|
|
@@ -507,13 +514,10 @@ function makeRelatedInformation(node, messageText) {
|
|
|
507
514
|
};
|
|
508
515
|
}
|
|
509
516
|
|
|
510
|
-
// bazel-out/
|
|
511
|
-
var
|
|
512
|
-
function replaceTsWithNgInErrors(errors) {
|
|
513
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
514
|
-
}
|
|
517
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
518
|
+
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
515
519
|
|
|
516
|
-
// bazel-out/
|
|
520
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
517
521
|
var DEFAULT_ERROR_CODE = 100;
|
|
518
522
|
var UNKNOWN_ERROR_CODE = 500;
|
|
519
523
|
var SOURCE = "angular";
|
|
@@ -531,7 +535,7 @@ var EmitFlags;
|
|
|
531
535
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
532
536
|
})(EmitFlags || (EmitFlags = {}));
|
|
533
537
|
|
|
534
|
-
// bazel-out/
|
|
538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
535
539
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
536
540
|
import fs3 from "fs";
|
|
537
541
|
import {
|
|
@@ -544,13 +548,13 @@ import {
|
|
|
544
548
|
} from "path";
|
|
545
549
|
import ts9 from "typescript";
|
|
546
550
|
|
|
547
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
548
552
|
import ts5 from "typescript";
|
|
549
553
|
|
|
550
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
551
555
|
import ts3 from "typescript";
|
|
552
556
|
|
|
553
|
-
// bazel-out/
|
|
557
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
554
558
|
var METADATA_VERSION = 4;
|
|
555
559
|
function isClassMetadata(value) {
|
|
556
560
|
return value && value.__symbolic === "class";
|
|
@@ -612,7 +616,7 @@ function isMetadataError(value) {
|
|
|
612
616
|
return value && value.__symbolic === "error";
|
|
613
617
|
}
|
|
614
618
|
|
|
615
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
616
620
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
617
621
|
function isMethodCallOf(callExpression, memberName) {
|
|
618
622
|
const expression = callExpression.expression;
|
|
@@ -1171,7 +1175,7 @@ function arrayOrEmpty(v) {
|
|
|
1171
1175
|
return v || empty;
|
|
1172
1176
|
}
|
|
1173
1177
|
|
|
1174
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1175
1179
|
import ts4 from "typescript";
|
|
1176
1180
|
var Symbols = class {
|
|
1177
1181
|
constructor(sourceFile) {
|
|
@@ -1296,7 +1300,7 @@ function populateBuiltins(symbols) {
|
|
|
1296
1300
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1297
1301
|
}
|
|
1298
1302
|
|
|
1299
|
-
// bazel-out/
|
|
1303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1300
1304
|
var isStatic = (node) => ts5.getCombinedModifierFlags(node) & ts5.ModifierFlags.Static;
|
|
1301
1305
|
var MetadataCollector = class {
|
|
1302
1306
|
constructor(options = {}) {
|
|
@@ -1917,7 +1921,7 @@ function expandedMessage(error2) {
|
|
|
1917
1921
|
return error2.message;
|
|
1918
1922
|
}
|
|
1919
1923
|
|
|
1920
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1921
1925
|
import {
|
|
1922
1926
|
basename as basename4,
|
|
1923
1927
|
dirname as dirname4,
|
|
@@ -1926,7 +1930,7 @@ import {
|
|
|
1926
1930
|
} from "path";
|
|
1927
1931
|
import ts7 from "typescript";
|
|
1928
1932
|
|
|
1929
|
-
// bazel-out/
|
|
1933
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1930
1934
|
import {
|
|
1931
1935
|
basename as basename3,
|
|
1932
1936
|
dirname as dirname3,
|
|
@@ -2396,7 +2400,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2396
2400
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2397
2401
|
}
|
|
2398
2402
|
|
|
2399
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2400
2404
|
var INDEX_HEADER = `/**
|
|
2401
2405
|
* Generated bundle index. Do not edit.
|
|
2402
2406
|
*/
|
|
@@ -2430,7 +2434,7 @@ function compare(select) {
|
|
|
2430
2434
|
};
|
|
2431
2435
|
}
|
|
2432
2436
|
|
|
2433
|
-
// bazel-out/
|
|
2437
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2434
2438
|
var DTS = /\.d\.ts$/;
|
|
2435
2439
|
var JS_EXT = /(\.js|)$/;
|
|
2436
2440
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2509,7 +2513,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2509
2513
|
return { host, indexName: name };
|
|
2510
2514
|
}
|
|
2511
2515
|
|
|
2512
|
-
// bazel-out/
|
|
2516
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2513
2517
|
import { syntaxError } from "@angular/compiler";
|
|
2514
2518
|
import {
|
|
2515
2519
|
relative as relative3
|
|
@@ -2575,7 +2579,7 @@ function stripComment(commentText) {
|
|
|
2575
2579
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2576
2580
|
}
|
|
2577
2581
|
|
|
2578
|
-
// bazel-out/
|
|
2582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2579
2583
|
function createMetadataReaderCache() {
|
|
2580
2584
|
const data = new Map();
|
|
2581
2585
|
return { data };
|
|
@@ -2652,7 +2656,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2652
2656
|
return newMetadata;
|
|
2653
2657
|
}
|
|
2654
2658
|
|
|
2655
|
-
// bazel-out/
|
|
2659
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2656
2660
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2657
2661
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2658
2662
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3112,7 +3116,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3112
3116
|
return `${fileName}.$ngresource$`;
|
|
3113
3117
|
}
|
|
3114
3118
|
|
|
3115
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3116
3120
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3117
3121
|
import {
|
|
3118
3122
|
readFileSync as readFileSync2
|
|
@@ -3120,7 +3124,7 @@ import {
|
|
|
3120
3124
|
import * as path6 from "path";
|
|
3121
3125
|
import ts85 from "typescript";
|
|
3122
3126
|
|
|
3123
|
-
// bazel-out/
|
|
3127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3124
3128
|
import ts10 from "typescript";
|
|
3125
3129
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3126
3130
|
const ts89 = [];
|
|
@@ -3155,21 +3159,21 @@ function diagnosticMessageToString(message) {
|
|
|
3155
3159
|
return ts10.flattenDiagnosticMessageText(message, "\n");
|
|
3156
3160
|
}
|
|
3157
3161
|
|
|
3158
|
-
// bazel-out/
|
|
3162
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3159
3163
|
import ts73 from "typescript";
|
|
3160
3164
|
|
|
3161
|
-
// bazel-out/
|
|
3165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3162
3166
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3163
3167
|
import ts39 from "typescript";
|
|
3164
3168
|
|
|
3165
|
-
// bazel-out/
|
|
3169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3166
3170
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3167
3171
|
|
|
3168
|
-
// bazel-out/
|
|
3172
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3169
3173
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3170
3174
|
import ts13 from "typescript";
|
|
3171
3175
|
|
|
3172
|
-
// bazel-out/
|
|
3176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3173
3177
|
import ts11 from "typescript";
|
|
3174
3178
|
var TS2 = /\.tsx?$/i;
|
|
3175
3179
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3257,7 +3261,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3257
3261
|
return redirectInfo.unredirected;
|
|
3258
3262
|
}
|
|
3259
3263
|
|
|
3260
|
-
// bazel-out/
|
|
3264
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3261
3265
|
import ts12 from "typescript";
|
|
3262
3266
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3263
3267
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3281,7 +3285,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3281
3285
|
return foundExportName;
|
|
3282
3286
|
}
|
|
3283
3287
|
|
|
3284
|
-
// bazel-out/
|
|
3288
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3285
3289
|
var ImportFlags;
|
|
3286
3290
|
(function(ImportFlags2) {
|
|
3287
3291
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3441,7 +3445,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3441
3445
|
}
|
|
3442
3446
|
};
|
|
3443
3447
|
|
|
3444
|
-
// bazel-out/
|
|
3448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3445
3449
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3446
3450
|
var UnifiedModulesAliasingHost = class {
|
|
3447
3451
|
constructor(unifiedModulesHost) {
|
|
@@ -3504,7 +3508,7 @@ var AliasStrategy = class {
|
|
|
3504
3508
|
}
|
|
3505
3509
|
};
|
|
3506
3510
|
|
|
3507
|
-
// bazel-out/
|
|
3511
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3508
3512
|
function relativePathBetween(from, to) {
|
|
3509
3513
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3510
3514
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3513,7 +3517,7 @@ function normalizeSeparators2(path8) {
|
|
|
3513
3517
|
return path8.replace(/\\/g, "/");
|
|
3514
3518
|
}
|
|
3515
3519
|
|
|
3516
|
-
// bazel-out/
|
|
3520
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3517
3521
|
var NoopImportRewriter = class {
|
|
3518
3522
|
shouldImportSymbol(symbol, specifier) {
|
|
3519
3523
|
return true;
|
|
@@ -3571,7 +3575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3571
3575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3572
3576
|
}
|
|
3573
3577
|
|
|
3574
|
-
// bazel-out/
|
|
3578
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3575
3579
|
import ts14 from "typescript";
|
|
3576
3580
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3577
3581
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3616,7 +3620,7 @@ var DefaultImportTracker = class {
|
|
|
3616
3620
|
}
|
|
3617
3621
|
};
|
|
3618
3622
|
|
|
3619
|
-
// bazel-out/
|
|
3623
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3620
3624
|
var Reference = class {
|
|
3621
3625
|
constructor(node, bestGuessOwningModule = null) {
|
|
3622
3626
|
this.node = node;
|
|
@@ -3679,7 +3683,7 @@ var Reference = class {
|
|
|
3679
3683
|
}
|
|
3680
3684
|
};
|
|
3681
3685
|
|
|
3682
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3683
3687
|
var ModuleResolver = class {
|
|
3684
3688
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3685
3689
|
this.program = program;
|
|
@@ -3696,7 +3700,7 @@ var ModuleResolver = class {
|
|
|
3696
3700
|
}
|
|
3697
3701
|
};
|
|
3698
3702
|
|
|
3699
|
-
// bazel-out/
|
|
3703
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3700
3704
|
import ts15 from "typescript";
|
|
3701
3705
|
var SemanticSymbol = class {
|
|
3702
3706
|
constructor(decl) {
|
|
@@ -3712,7 +3716,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3712
3716
|
return decl.name.text;
|
|
3713
3717
|
}
|
|
3714
3718
|
|
|
3715
|
-
// bazel-out/
|
|
3719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3716
3720
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3717
3721
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3718
3722
|
isPublicApiAffected() {
|
|
@@ -3855,10 +3859,10 @@ function getImportPath(expr) {
|
|
|
3855
3859
|
}
|
|
3856
3860
|
}
|
|
3857
3861
|
|
|
3858
|
-
// bazel-out/
|
|
3862
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3859
3863
|
import ts16 from "typescript";
|
|
3860
3864
|
|
|
3861
|
-
// bazel-out/
|
|
3865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3862
3866
|
function isSymbolEqual(a, b) {
|
|
3863
3867
|
if (a.decl === b.decl) {
|
|
3864
3868
|
return true;
|
|
@@ -3908,7 +3912,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3908
3912
|
return true;
|
|
3909
3913
|
}
|
|
3910
3914
|
|
|
3911
|
-
// bazel-out/
|
|
3915
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3912
3916
|
function extractSemanticTypeParameters(node) {
|
|
3913
3917
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3914
3918
|
return null;
|
|
@@ -3928,17 +3932,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
3928
3932
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3929
3933
|
}
|
|
3930
3934
|
|
|
3931
|
-
// bazel-out/
|
|
3935
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
3932
3936
|
var MetaType;
|
|
3933
3937
|
(function(MetaType2) {
|
|
3934
3938
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
3935
3939
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
3936
3940
|
})(MetaType || (MetaType = {}));
|
|
3937
3941
|
|
|
3938
|
-
// bazel-out/
|
|
3942
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
3939
3943
|
import ts22 from "typescript";
|
|
3940
3944
|
|
|
3941
|
-
// bazel-out/
|
|
3945
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
3942
3946
|
import ts17 from "typescript";
|
|
3943
3947
|
var Decorator = {
|
|
3944
3948
|
nodeForError: (decorator) => {
|
|
@@ -3973,7 +3977,7 @@ function isConcreteDeclaration(decl) {
|
|
|
3973
3977
|
return decl.kind === 0;
|
|
3974
3978
|
}
|
|
3975
3979
|
|
|
3976
|
-
// bazel-out/
|
|
3980
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
3977
3981
|
import ts18 from "typescript";
|
|
3978
3982
|
function typeToValue(typeNode, checker) {
|
|
3979
3983
|
if (typeNode === null) {
|
|
@@ -4134,10 +4138,10 @@ function extractModuleName(node) {
|
|
|
4134
4138
|
return node.moduleSpecifier.text;
|
|
4135
4139
|
}
|
|
4136
4140
|
|
|
4137
|
-
// bazel-out/
|
|
4141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4138
4142
|
import ts20 from "typescript";
|
|
4139
4143
|
|
|
4140
|
-
// bazel-out/
|
|
4144
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4141
4145
|
import ts19 from "typescript";
|
|
4142
4146
|
function isNamedClassDeclaration(node) {
|
|
4143
4147
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4146,7 +4150,7 @@ function isIdentifier(node) {
|
|
|
4146
4150
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4147
4151
|
}
|
|
4148
4152
|
|
|
4149
|
-
// bazel-out/
|
|
4153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4150
4154
|
var TypeScriptReflectionHost = class {
|
|
4151
4155
|
constructor(checker) {
|
|
4152
4156
|
this.checker = checker;
|
|
@@ -4582,7 +4586,7 @@ function getExportedName(decl, originalId) {
|
|
|
4582
4586
|
}
|
|
4583
4587
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4584
4588
|
|
|
4585
|
-
// bazel-out/
|
|
4589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4586
4590
|
var ClassPropertyMapping = class {
|
|
4587
4591
|
constructor(forwardMap) {
|
|
4588
4592
|
this.forwardMap = forwardMap;
|
|
@@ -4658,7 +4662,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4658
4662
|
return reverseMap;
|
|
4659
4663
|
}
|
|
4660
4664
|
|
|
4661
|
-
// bazel-out/
|
|
4665
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4662
4666
|
import ts21 from "typescript";
|
|
4663
4667
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4664
4668
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4825,7 +4829,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4825
4829
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4826
4830
|
}
|
|
4827
4831
|
|
|
4828
|
-
// bazel-out/
|
|
4832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4829
4833
|
var DtsMetadataReader = class {
|
|
4830
4834
|
constructor(checker, reflector) {
|
|
4831
4835
|
this.checker = checker;
|
|
@@ -4925,7 +4929,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4925
4929
|
return null;
|
|
4926
4930
|
}
|
|
4927
4931
|
|
|
4928
|
-
// bazel-out/
|
|
4932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
4929
4933
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4930
4934
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4931
4935
|
if (topMeta === null) {
|
|
@@ -4982,7 +4986,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4982
4986
|
});
|
|
4983
4987
|
}
|
|
4984
4988
|
|
|
4985
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
4986
4990
|
var LocalMetadataRegistry = class {
|
|
4987
4991
|
constructor() {
|
|
4988
4992
|
this.directives = new Map();
|
|
@@ -5041,7 +5045,7 @@ var InjectableClassRegistry = class {
|
|
|
5041
5045
|
}
|
|
5042
5046
|
};
|
|
5043
5047
|
|
|
5044
|
-
// bazel-out/
|
|
5048
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5045
5049
|
var ResourceRegistry = class {
|
|
5046
5050
|
constructor() {
|
|
5047
5051
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5106,10 +5110,10 @@ var ResourceRegistry = class {
|
|
|
5106
5110
|
}
|
|
5107
5111
|
};
|
|
5108
5112
|
|
|
5109
|
-
// bazel-out/
|
|
5113
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5110
5114
|
import ts23 from "typescript";
|
|
5111
5115
|
|
|
5112
|
-
// bazel-out/
|
|
5116
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5113
5117
|
var DynamicValue = class {
|
|
5114
5118
|
constructor(node, reason, code) {
|
|
5115
5119
|
this.node = node;
|
|
@@ -5194,7 +5198,7 @@ var DynamicValue = class {
|
|
|
5194
5198
|
}
|
|
5195
5199
|
};
|
|
5196
5200
|
|
|
5197
|
-
// bazel-out/
|
|
5201
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5198
5202
|
var ResolvedModule = class {
|
|
5199
5203
|
constructor(exports, evaluate) {
|
|
5200
5204
|
this.exports = exports;
|
|
@@ -5224,7 +5228,7 @@ var EnumValue = class {
|
|
|
5224
5228
|
var KnownFn = class {
|
|
5225
5229
|
};
|
|
5226
5230
|
|
|
5227
|
-
// bazel-out/
|
|
5231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5228
5232
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5229
5233
|
var _a, _b;
|
|
5230
5234
|
if (value === null) {
|
|
@@ -5350,10 +5354,10 @@ function getContainerNode(node) {
|
|
|
5350
5354
|
return node.getSourceFile();
|
|
5351
5355
|
}
|
|
5352
5356
|
|
|
5353
|
-
// bazel-out/
|
|
5357
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5354
5358
|
import ts24 from "typescript";
|
|
5355
5359
|
|
|
5356
|
-
// bazel-out/
|
|
5360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5357
5361
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5358
5362
|
constructor(lhs) {
|
|
5359
5363
|
super();
|
|
@@ -5406,7 +5410,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5406
5410
|
}
|
|
5407
5411
|
};
|
|
5408
5412
|
|
|
5409
|
-
// bazel-out/
|
|
5413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5410
5414
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5411
5415
|
};
|
|
5412
5416
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5459,7 +5463,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5459
5463
|
}
|
|
5460
5464
|
};
|
|
5461
5465
|
|
|
5462
|
-
// bazel-out/
|
|
5466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5463
5467
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5464
5468
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5465
5469
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5483,7 +5487,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5483
5487
|
}
|
|
5484
5488
|
}
|
|
5485
5489
|
|
|
5486
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5487
5491
|
function literalBinaryOp(op) {
|
|
5488
5492
|
return { op, literal: true };
|
|
5489
5493
|
}
|
|
@@ -6068,7 +6072,7 @@ function owningModule(context, override = null) {
|
|
|
6068
6072
|
}
|
|
6069
6073
|
}
|
|
6070
6074
|
|
|
6071
|
-
// bazel-out/
|
|
6075
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6072
6076
|
var PartialEvaluator = class {
|
|
6073
6077
|
constructor(host, checker, dependencyTracker) {
|
|
6074
6078
|
this.host = host;
|
|
@@ -6088,7 +6092,7 @@ var PartialEvaluator = class {
|
|
|
6088
6092
|
}
|
|
6089
6093
|
};
|
|
6090
6094
|
|
|
6091
|
-
// bazel-out/
|
|
6095
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6092
6096
|
var PerfPhase;
|
|
6093
6097
|
(function(PerfPhase2) {
|
|
6094
6098
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6153,7 +6157,7 @@ var PerfCheckpoint;
|
|
|
6153
6157
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6154
6158
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6155
6159
|
|
|
6156
|
-
// bazel-out/
|
|
6160
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6157
6161
|
var NoopPerfRecorder = class {
|
|
6158
6162
|
eventCount() {
|
|
6159
6163
|
}
|
|
@@ -6170,7 +6174,7 @@ var NoopPerfRecorder = class {
|
|
|
6170
6174
|
};
|
|
6171
6175
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6172
6176
|
|
|
6173
|
-
// bazel-out/
|
|
6177
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6174
6178
|
function mark() {
|
|
6175
6179
|
return process.hrtime();
|
|
6176
6180
|
}
|
|
@@ -6179,7 +6183,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6179
6183
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6180
6184
|
}
|
|
6181
6185
|
|
|
6182
|
-
// bazel-out/
|
|
6186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6183
6187
|
var ActivePerfRecorder = class {
|
|
6184
6188
|
constructor(zeroTime) {
|
|
6185
6189
|
this.zeroTime = zeroTime;
|
|
@@ -6273,7 +6277,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6273
6277
|
}
|
|
6274
6278
|
};
|
|
6275
6279
|
|
|
6276
|
-
// bazel-out/
|
|
6280
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6277
6281
|
var CompilationMode;
|
|
6278
6282
|
(function(CompilationMode2) {
|
|
6279
6283
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6291,7 +6295,7 @@ var HandlerFlags;
|
|
|
6291
6295
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6292
6296
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6293
6297
|
|
|
6294
|
-
// bazel-out/
|
|
6298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6295
6299
|
import ts25 from "typescript";
|
|
6296
6300
|
function aliasTransformFactory(exportStatements) {
|
|
6297
6301
|
return (context) => {
|
|
@@ -6309,10 +6313,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6309
6313
|
};
|
|
6310
6314
|
}
|
|
6311
6315
|
|
|
6312
|
-
// bazel-out/
|
|
6316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6313
6317
|
import ts26 from "typescript";
|
|
6314
6318
|
|
|
6315
|
-
// bazel-out/
|
|
6319
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6316
6320
|
var TraitState;
|
|
6317
6321
|
(function(TraitState2) {
|
|
6318
6322
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6367,7 +6371,7 @@ var TraitImpl = class {
|
|
|
6367
6371
|
}
|
|
6368
6372
|
};
|
|
6369
6373
|
|
|
6370
|
-
// bazel-out/
|
|
6374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6371
6375
|
var TraitCompiler = class {
|
|
6372
6376
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6373
6377
|
this.handlers = handlers;
|
|
@@ -6804,10 +6808,10 @@ var TraitCompiler = class {
|
|
|
6804
6808
|
}
|
|
6805
6809
|
};
|
|
6806
6810
|
|
|
6807
|
-
// bazel-out/
|
|
6811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6808
6812
|
import ts31 from "typescript";
|
|
6809
6813
|
|
|
6810
|
-
// bazel-out/
|
|
6814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6811
6815
|
var Context = class {
|
|
6812
6816
|
constructor(isStatement) {
|
|
6813
6817
|
this.isStatement = isStatement;
|
|
@@ -6820,7 +6824,7 @@ var Context = class {
|
|
|
6820
6824
|
}
|
|
6821
6825
|
};
|
|
6822
6826
|
|
|
6823
|
-
// bazel-out/
|
|
6827
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6824
6828
|
import ts27 from "typescript";
|
|
6825
6829
|
var ImportManager = class {
|
|
6826
6830
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6856,7 +6860,7 @@ var ImportManager = class {
|
|
|
6856
6860
|
}
|
|
6857
6861
|
};
|
|
6858
6862
|
|
|
6859
|
-
// bazel-out/
|
|
6863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6860
6864
|
import {
|
|
6861
6865
|
BinaryOperator,
|
|
6862
6866
|
ConditionalExpr,
|
|
@@ -7100,7 +7104,7 @@ function createRange(span) {
|
|
|
7100
7104
|
};
|
|
7101
7105
|
}
|
|
7102
7106
|
|
|
7103
|
-
// bazel-out/
|
|
7107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7104
7108
|
import {
|
|
7105
7109
|
BuiltinTypeName
|
|
7106
7110
|
} from "@angular/compiler";
|
|
@@ -7279,7 +7283,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7279
7283
|
}
|
|
7280
7284
|
};
|
|
7281
7285
|
|
|
7282
|
-
// bazel-out/
|
|
7286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7283
7287
|
import ts29 from "typescript";
|
|
7284
7288
|
var PureAnnotation;
|
|
7285
7289
|
(function(PureAnnotation2) {
|
|
@@ -7451,7 +7455,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7451
7455
|
}
|
|
7452
7456
|
}
|
|
7453
7457
|
|
|
7454
|
-
// bazel-out/
|
|
7458
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7455
7459
|
function translateExpression(expression, imports, options = {}) {
|
|
7456
7460
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7457
7461
|
}
|
|
@@ -7459,7 +7463,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7459
7463
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7460
7464
|
}
|
|
7461
7465
|
|
|
7462
|
-
// bazel-out/
|
|
7466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7463
7467
|
import ts30 from "typescript";
|
|
7464
7468
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7465
7469
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7487,7 +7491,7 @@ function isImportStatement(stmt) {
|
|
|
7487
7491
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7488
7492
|
}
|
|
7489
7493
|
|
|
7490
|
-
// bazel-out/
|
|
7494
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7491
7495
|
var DtsTransformRegistry = class {
|
|
7492
7496
|
constructor() {
|
|
7493
7497
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7612,11 +7616,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7612
7616
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7613
7617
|
}
|
|
7614
7618
|
|
|
7615
|
-
// bazel-out/
|
|
7619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7616
7620
|
import { ConstantPool } from "@angular/compiler";
|
|
7617
7621
|
import ts33 from "typescript";
|
|
7618
7622
|
|
|
7619
|
-
// bazel-out/
|
|
7623
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7620
7624
|
import ts32 from "typescript";
|
|
7621
7625
|
function visit(node, visitor, context) {
|
|
7622
7626
|
return visitor._visit(node, context);
|
|
@@ -7678,7 +7682,7 @@ function hasStatements(node) {
|
|
|
7678
7682
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7679
7683
|
}
|
|
7680
7684
|
|
|
7681
|
-
// bazel-out/
|
|
7685
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7682
7686
|
var NO_DECORATORS = new Set();
|
|
7683
7687
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7684
7688
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7859,10 +7863,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7859
7863
|
};
|
|
7860
7864
|
}
|
|
7861
7865
|
|
|
7862
|
-
// bazel-out/
|
|
7866
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7863
7867
|
import ts35 from "typescript";
|
|
7864
7868
|
|
|
7865
|
-
// bazel-out/
|
|
7869
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7866
7870
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7867
7871
|
import ts34 from "typescript";
|
|
7868
7872
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8222,7 +8226,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8222
8226
|
};
|
|
8223
8227
|
}
|
|
8224
8228
|
|
|
8225
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8226
8230
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8227
8231
|
var _a;
|
|
8228
8232
|
let chainedMessage;
|
|
@@ -8318,11 +8322,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8318
8322
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8319
8323
|
}
|
|
8320
8324
|
|
|
8321
|
-
// bazel-out/
|
|
8325
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8322
8326
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8323
8327
|
import ts37 from "typescript";
|
|
8324
8328
|
|
|
8325
|
-
// bazel-out/
|
|
8329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8326
8330
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8327
8331
|
function compileNgFactoryDefField(metadata) {
|
|
8328
8332
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8333,7 +8337,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8333
8337
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8334
8338
|
}
|
|
8335
8339
|
|
|
8336
|
-
// bazel-out/
|
|
8340
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8337
8341
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8338
8342
|
import ts36 from "typescript";
|
|
8339
8343
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8421,7 +8425,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8421
8425
|
return result.transformed[0];
|
|
8422
8426
|
}
|
|
8423
8427
|
|
|
8424
|
-
// bazel-out/
|
|
8428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8425
8429
|
var EMPTY_OBJECT = {};
|
|
8426
8430
|
var FIELD_DECORATORS = [
|
|
8427
8431
|
"Input",
|
|
@@ -8983,8 +8987,8 @@ var QUERY_TYPES = new Set([
|
|
|
8983
8987
|
"ViewChildren"
|
|
8984
8988
|
]);
|
|
8985
8989
|
|
|
8986
|
-
// bazel-out/
|
|
8987
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
8990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
8991
|
+
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
8988
8992
|
import ts38 from "typescript";
|
|
8989
8993
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
8990
8994
|
constructor() {
|
|
@@ -9031,7 +9035,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
9031
9035
|
}
|
|
9032
9036
|
};
|
|
9033
9037
|
var NgModuleDecoratorHandler = class {
|
|
9034
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
9038
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
9035
9039
|
this.reflector = reflector;
|
|
9036
9040
|
this.evaluator = evaluator;
|
|
9037
9041
|
this.metaReader = metaReader;
|
|
@@ -9044,7 +9048,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9044
9048
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
9045
9049
|
this.injectableRegistry = injectableRegistry;
|
|
9046
9050
|
this.perf = perf;
|
|
9047
|
-
this.localeId = localeId;
|
|
9048
9051
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
9049
9052
|
this.name = NgModuleDecoratorHandler.name;
|
|
9050
9053
|
}
|
|
@@ -9330,14 +9333,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9330
9333
|
type: injectorDef.type
|
|
9331
9334
|
}
|
|
9332
9335
|
];
|
|
9333
|
-
if (this.localeId) {
|
|
9334
|
-
res.push({
|
|
9335
|
-
name: "\u0275loc",
|
|
9336
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
9337
|
-
statements: [],
|
|
9338
|
-
type: STRING_TYPE
|
|
9339
|
-
});
|
|
9340
|
-
}
|
|
9341
9336
|
return res;
|
|
9342
9337
|
}
|
|
9343
9338
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -9426,7 +9421,7 @@ function isNgModule(node, compilation) {
|
|
|
9426
9421
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9427
9422
|
}
|
|
9428
9423
|
|
|
9429
|
-
// bazel-out/
|
|
9424
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9430
9425
|
var EMPTY_MAP = new Map();
|
|
9431
9426
|
var EMPTY_ARRAY = [];
|
|
9432
9427
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10310,8 +10305,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10310
10305
|
return null;
|
|
10311
10306
|
}
|
|
10312
10307
|
|
|
10313
|
-
// bazel-out/
|
|
10314
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
10308
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10309
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10315
10310
|
import ts40 from "typescript";
|
|
10316
10311
|
var InjectableDecoratorHandler = class {
|
|
10317
10312
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10399,7 +10394,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10399
10394
|
type,
|
|
10400
10395
|
typeArgumentCount,
|
|
10401
10396
|
internalType,
|
|
10402
|
-
providedIn: createR3ProviderExpression(new
|
|
10397
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
10403
10398
|
};
|
|
10404
10399
|
} else if (decorator.args.length === 1) {
|
|
10405
10400
|
const metaNode = decorator.args[0];
|
|
@@ -10407,7 +10402,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10407
10402
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10408
10403
|
}
|
|
10409
10404
|
const meta = reflectObjectLiteral(metaNode);
|
|
10410
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
10405
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
10411
10406
|
let deps = void 0;
|
|
10412
10407
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10413
10408
|
const depsExpr = meta.get("deps");
|
|
@@ -10510,7 +10505,7 @@ function getDep(dep, reflector) {
|
|
|
10510
10505
|
return meta;
|
|
10511
10506
|
}
|
|
10512
10507
|
|
|
10513
|
-
// bazel-out/
|
|
10508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10514
10509
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10515
10510
|
import ts41 from "typescript";
|
|
10516
10511
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10635,13 +10630,13 @@ var PipeDecoratorHandler = class {
|
|
|
10635
10630
|
}
|
|
10636
10631
|
};
|
|
10637
10632
|
|
|
10638
|
-
// bazel-out/
|
|
10633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10639
10634
|
var NoopReferencesRegistry = class {
|
|
10640
10635
|
add(source, ...references) {
|
|
10641
10636
|
}
|
|
10642
10637
|
};
|
|
10643
10638
|
|
|
10644
|
-
// bazel-out/
|
|
10639
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10645
10640
|
var CycleAnalyzer = class {
|
|
10646
10641
|
constructor(importGraph) {
|
|
10647
10642
|
this.importGraph = importGraph;
|
|
@@ -10712,7 +10707,7 @@ var Cycle = class {
|
|
|
10712
10707
|
}
|
|
10713
10708
|
};
|
|
10714
10709
|
|
|
10715
|
-
// bazel-out/
|
|
10710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10716
10711
|
import ts42 from "typescript";
|
|
10717
10712
|
var ImportGraph = class {
|
|
10718
10713
|
constructor(checker, perf) {
|
|
@@ -10795,7 +10790,7 @@ var Found = class {
|
|
|
10795
10790
|
}
|
|
10796
10791
|
};
|
|
10797
10792
|
|
|
10798
|
-
// bazel-out/
|
|
10793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10799
10794
|
import ts43 from "typescript";
|
|
10800
10795
|
var FlatIndexGenerator = class {
|
|
10801
10796
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10820,7 +10815,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10820
10815
|
}
|
|
10821
10816
|
};
|
|
10822
10817
|
|
|
10823
|
-
// bazel-out/
|
|
10818
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10824
10819
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10825
10820
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10826
10821
|
let resolvedEntryPoint = null;
|
|
@@ -10836,7 +10831,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10836
10831
|
return resolvedEntryPoint;
|
|
10837
10832
|
}
|
|
10838
10833
|
|
|
10839
|
-
// bazel-out/
|
|
10834
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10840
10835
|
import ts44 from "typescript";
|
|
10841
10836
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10842
10837
|
const diagnostics = [];
|
|
@@ -10916,7 +10911,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10916
10911
|
}
|
|
10917
10912
|
}
|
|
10918
10913
|
|
|
10919
|
-
// bazel-out/
|
|
10914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10920
10915
|
var ReferenceGraph = class {
|
|
10921
10916
|
constructor() {
|
|
10922
10917
|
this.references = new Map();
|
|
@@ -10970,7 +10965,7 @@ var ReferenceGraph = class {
|
|
|
10970
10965
|
}
|
|
10971
10966
|
};
|
|
10972
10967
|
|
|
10973
|
-
// bazel-out/
|
|
10968
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
10974
10969
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
10975
10970
|
var UpdateMode;
|
|
10976
10971
|
(function(UpdateMode2) {
|
|
@@ -10978,13 +10973,13 @@ var UpdateMode;
|
|
|
10978
10973
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
10979
10974
|
})(UpdateMode || (UpdateMode = {}));
|
|
10980
10975
|
|
|
10981
|
-
// bazel-out/
|
|
10976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
10982
10977
|
import ts48 from "typescript";
|
|
10983
10978
|
|
|
10984
|
-
// bazel-out/
|
|
10979
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
10985
10980
|
import ts45 from "typescript";
|
|
10986
10981
|
|
|
10987
|
-
// bazel-out/
|
|
10982
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
10988
10983
|
var NgExtension = Symbol("NgExtension");
|
|
10989
10984
|
function isExtended(sf) {
|
|
10990
10985
|
return sf[NgExtension] !== void 0;
|
|
@@ -11044,7 +11039,7 @@ function retagTsFile(sf) {
|
|
|
11044
11039
|
}
|
|
11045
11040
|
}
|
|
11046
11041
|
|
|
11047
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11048
11043
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11049
11044
|
function makeShimFileName(fileName, suffix) {
|
|
11050
11045
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11059,7 +11054,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11059
11054
|
return moduleName;
|
|
11060
11055
|
}
|
|
11061
11056
|
|
|
11062
|
-
// bazel-out/
|
|
11057
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11063
11058
|
var ShimAdapter = class {
|
|
11064
11059
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11065
11060
|
this.delegate = delegate;
|
|
@@ -11156,7 +11151,7 @@ var ShimAdapter = class {
|
|
|
11156
11151
|
}
|
|
11157
11152
|
};
|
|
11158
11153
|
|
|
11159
|
-
// bazel-out/
|
|
11154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11160
11155
|
import ts46 from "typescript";
|
|
11161
11156
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11162
11157
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11305,7 +11300,7 @@ function updateInitializers(stmt, update) {
|
|
|
11305
11300
|
return ts46.updateVariableStatement(stmt, stmt.modifiers, ts46.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts46.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
11306
11301
|
}
|
|
11307
11302
|
|
|
11308
|
-
// bazel-out/
|
|
11303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11309
11304
|
var ShimReferenceTagger = class {
|
|
11310
11305
|
constructor(shimExtensions) {
|
|
11311
11306
|
this.tagged = new Set();
|
|
@@ -11339,7 +11334,7 @@ var ShimReferenceTagger = class {
|
|
|
11339
11334
|
}
|
|
11340
11335
|
};
|
|
11341
11336
|
|
|
11342
|
-
// bazel-out/
|
|
11337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11343
11338
|
import ts47 from "typescript";
|
|
11344
11339
|
var SummaryGenerator = class {
|
|
11345
11340
|
constructor() {
|
|
@@ -11379,7 +11374,7 @@ function isExported2(decl) {
|
|
|
11379
11374
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11380
11375
|
}
|
|
11381
11376
|
|
|
11382
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11383
11378
|
var DelegatingCompilerHost = class {
|
|
11384
11379
|
constructor(delegate) {
|
|
11385
11380
|
this.delegate = delegate;
|
|
@@ -11488,7 +11483,7 @@ var TsCreateProgramDriver = class {
|
|
|
11488
11483
|
}
|
|
11489
11484
|
};
|
|
11490
11485
|
|
|
11491
|
-
// bazel-out/
|
|
11486
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11492
11487
|
var FileDependencyGraph = class {
|
|
11493
11488
|
constructor() {
|
|
11494
11489
|
this.nodes = new Map();
|
|
@@ -11555,7 +11550,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11555
11550
|
return false;
|
|
11556
11551
|
}
|
|
11557
11552
|
|
|
11558
|
-
// bazel-out/
|
|
11553
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11559
11554
|
var IncrementalStateKind;
|
|
11560
11555
|
(function(IncrementalStateKind2) {
|
|
11561
11556
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11563,7 +11558,7 @@ var IncrementalStateKind;
|
|
|
11563
11558
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11564
11559
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11565
11560
|
|
|
11566
|
-
// bazel-out/
|
|
11561
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11567
11562
|
var PhaseKind;
|
|
11568
11563
|
(function(PhaseKind2) {
|
|
11569
11564
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11764,7 +11759,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11764
11759
|
}
|
|
11765
11760
|
}
|
|
11766
11761
|
|
|
11767
|
-
// bazel-out/
|
|
11762
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11768
11763
|
var TrackedIncrementalBuildStrategy = class {
|
|
11769
11764
|
constructor() {
|
|
11770
11765
|
this.state = null;
|
|
@@ -11785,7 +11780,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
11785
11780
|
};
|
|
11786
11781
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11787
11782
|
|
|
11788
|
-
// bazel-out/
|
|
11783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11789
11784
|
var IdentifierKind;
|
|
11790
11785
|
(function(IdentifierKind2) {
|
|
11791
11786
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11803,7 +11798,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11803
11798
|
}
|
|
11804
11799
|
};
|
|
11805
11800
|
|
|
11806
|
-
// bazel-out/
|
|
11801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11807
11802
|
var IndexingContext = class {
|
|
11808
11803
|
constructor() {
|
|
11809
11804
|
this.components = new Set();
|
|
@@ -11813,10 +11808,10 @@ var IndexingContext = class {
|
|
|
11813
11808
|
}
|
|
11814
11809
|
};
|
|
11815
11810
|
|
|
11816
|
-
// bazel-out/
|
|
11811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11817
11812
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11818
11813
|
|
|
11819
|
-
// bazel-out/
|
|
11814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11820
11815
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11821
11816
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11822
11817
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12020,7 +12015,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12020
12015
|
return visitor.identifiers;
|
|
12021
12016
|
}
|
|
12022
12017
|
|
|
12023
|
-
// bazel-out/
|
|
12018
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12024
12019
|
function generateAnalysis(context) {
|
|
12025
12020
|
const analysis = new Map();
|
|
12026
12021
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12054,7 +12049,7 @@ function generateAnalysis(context) {
|
|
|
12054
12049
|
return analysis;
|
|
12055
12050
|
}
|
|
12056
12051
|
|
|
12057
|
-
// bazel-out/
|
|
12052
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12058
12053
|
import ts49 from "typescript";
|
|
12059
12054
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12060
12055
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12199,7 +12194,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12199
12194
|
};
|
|
12200
12195
|
}
|
|
12201
12196
|
|
|
12202
|
-
// bazel-out/
|
|
12197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12203
12198
|
var MetadataDtsModuleScopeResolver = class {
|
|
12204
12199
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12205
12200
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12285,7 +12280,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12285
12280
|
}
|
|
12286
12281
|
};
|
|
12287
12282
|
|
|
12288
|
-
// bazel-out/
|
|
12283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12289
12284
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12290
12285
|
import ts50 from "typescript";
|
|
12291
12286
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12593,7 +12588,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12593
12588
|
]);
|
|
12594
12589
|
}
|
|
12595
12590
|
|
|
12596
|
-
// bazel-out/
|
|
12591
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12597
12592
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12598
12593
|
import ts51 from "typescript";
|
|
12599
12594
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12654,7 +12649,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12654
12649
|
}
|
|
12655
12650
|
};
|
|
12656
12651
|
|
|
12657
|
-
// bazel-out/
|
|
12652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12658
12653
|
import ts52 from "typescript";
|
|
12659
12654
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12660
12655
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12718,24 +12713,24 @@ function hasIvySwitches(stmt) {
|
|
|
12718
12713
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12719
12714
|
}
|
|
12720
12715
|
|
|
12721
|
-
// bazel-out/
|
|
12716
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12722
12717
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12723
12718
|
|
|
12724
|
-
// bazel-out/
|
|
12719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12725
12720
|
var OptimizeFor;
|
|
12726
12721
|
(function(OptimizeFor2) {
|
|
12727
12722
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12728
12723
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12729
12724
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12730
12725
|
|
|
12731
|
-
// bazel-out/
|
|
12726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12732
12727
|
var CompletionKind;
|
|
12733
12728
|
(function(CompletionKind2) {
|
|
12734
12729
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12735
12730
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12736
12731
|
})(CompletionKind || (CompletionKind = {}));
|
|
12737
12732
|
|
|
12738
|
-
// bazel-out/
|
|
12733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12739
12734
|
var SymbolKind;
|
|
12740
12735
|
(function(SymbolKind2) {
|
|
12741
12736
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12751,7 +12746,7 @@ var SymbolKind;
|
|
|
12751
12746
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12752
12747
|
})(SymbolKind || (SymbolKind = {}));
|
|
12753
12748
|
|
|
12754
|
-
// bazel-out/
|
|
12749
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12755
12750
|
import ts53 from "typescript";
|
|
12756
12751
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12757
12752
|
if (mapping.type === "direct") {
|
|
@@ -12824,7 +12819,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12824
12819
|
}
|
|
12825
12820
|
}
|
|
12826
12821
|
|
|
12827
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12828
12823
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12829
12824
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12830
12825
|
function getTemplateId(clazz) {
|
|
@@ -12841,11 +12836,11 @@ function allocateTemplateId(sf) {
|
|
|
12841
12836
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12842
12837
|
}
|
|
12843
12838
|
|
|
12844
|
-
// bazel-out/
|
|
12839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12845
12840
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12846
12841
|
import ts55 from "typescript";
|
|
12847
12842
|
|
|
12848
|
-
// bazel-out/
|
|
12843
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12849
12844
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12850
12845
|
import ts54 from "typescript";
|
|
12851
12846
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -12965,7 +12960,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
12965
12960
|
}) || false;
|
|
12966
12961
|
}
|
|
12967
12962
|
|
|
12968
|
-
// bazel-out/
|
|
12963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12969
12964
|
var CompletionEngine = class {
|
|
12970
12965
|
constructor(tcb, data, shimPath) {
|
|
12971
12966
|
this.tcb = tcb;
|
|
@@ -13116,10 +13111,10 @@ var CompletionEngine = class {
|
|
|
13116
13111
|
}
|
|
13117
13112
|
};
|
|
13118
13113
|
|
|
13119
|
-
// bazel-out/
|
|
13114
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13120
13115
|
import ts69 from "typescript";
|
|
13121
13116
|
|
|
13122
|
-
// bazel-out/
|
|
13117
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13123
13118
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13124
13119
|
import ts56 from "typescript";
|
|
13125
13120
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13169,11 +13164,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13169
13164
|
}
|
|
13170
13165
|
};
|
|
13171
13166
|
|
|
13172
|
-
// bazel-out/
|
|
13167
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13173
13168
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13174
13169
|
import ts62 from "typescript";
|
|
13175
13170
|
|
|
13176
|
-
// bazel-out/
|
|
13171
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13177
13172
|
import ts57 from "typescript";
|
|
13178
13173
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13179
13174
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13242,16 +13237,16 @@ function isAccessExpression(node) {
|
|
|
13242
13237
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13243
13238
|
}
|
|
13244
13239
|
|
|
13245
|
-
// bazel-out/
|
|
13240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13246
13241
|
import ts61 from "typescript";
|
|
13247
13242
|
|
|
13248
|
-
// bazel-out/
|
|
13243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13249
13244
|
import ts60 from "typescript";
|
|
13250
13245
|
|
|
13251
|
-
// bazel-out/
|
|
13246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13252
13247
|
import ts59 from "typescript";
|
|
13253
13248
|
|
|
13254
|
-
// bazel-out/
|
|
13249
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13255
13250
|
import ts58 from "typescript";
|
|
13256
13251
|
var INELIGIBLE = {};
|
|
13257
13252
|
function canEmitType(type, resolver) {
|
|
@@ -13326,7 +13321,7 @@ var TypeEmitter = class {
|
|
|
13326
13321
|
}
|
|
13327
13322
|
};
|
|
13328
13323
|
|
|
13329
|
-
// bazel-out/
|
|
13324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13330
13325
|
var TypeParameterEmitter = class {
|
|
13331
13326
|
constructor(typeParameters, reflector) {
|
|
13332
13327
|
this.typeParameters = typeParameters;
|
|
@@ -13389,7 +13384,7 @@ var TypeParameterEmitter = class {
|
|
|
13389
13384
|
}
|
|
13390
13385
|
};
|
|
13391
13386
|
|
|
13392
|
-
// bazel-out/
|
|
13387
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13393
13388
|
var TcbInliningRequirement;
|
|
13394
13389
|
(function(TcbInliningRequirement2) {
|
|
13395
13390
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13468,7 +13463,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13468
13463
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13469
13464
|
}
|
|
13470
13465
|
|
|
13471
|
-
// bazel-out/
|
|
13466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13472
13467
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13473
13468
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13474
13469
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13542,7 +13537,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13542
13537
|
});
|
|
13543
13538
|
}
|
|
13544
13539
|
|
|
13545
|
-
// bazel-out/
|
|
13540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13546
13541
|
var Environment = class {
|
|
13547
13542
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13548
13543
|
this.config = config;
|
|
@@ -13628,7 +13623,7 @@ var Environment = class {
|
|
|
13628
13623
|
}
|
|
13629
13624
|
};
|
|
13630
13625
|
|
|
13631
|
-
// bazel-out/
|
|
13626
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13632
13627
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13633
13628
|
import ts63 from "typescript";
|
|
13634
13629
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13760,7 +13755,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13760
13755
|
});
|
|
13761
13756
|
}
|
|
13762
13757
|
|
|
13763
|
-
// bazel-out/
|
|
13758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13764
13759
|
import ts64 from "typescript";
|
|
13765
13760
|
var TypeCheckShimGenerator = class {
|
|
13766
13761
|
constructor() {
|
|
@@ -13778,11 +13773,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13778
13773
|
}
|
|
13779
13774
|
};
|
|
13780
13775
|
|
|
13781
|
-
// bazel-out/
|
|
13776
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13782
13777
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
13783
13778
|
import ts67 from "typescript";
|
|
13784
13779
|
|
|
13785
|
-
// bazel-out/
|
|
13780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13786
13781
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13787
13782
|
import ts65 from "typescript";
|
|
13788
13783
|
function wrapForDiagnostics(expr) {
|
|
@@ -13828,7 +13823,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13828
13823
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13829
13824
|
}
|
|
13830
13825
|
|
|
13831
|
-
// bazel-out/
|
|
13826
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13832
13827
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13833
13828
|
import ts66 from "typescript";
|
|
13834
13829
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14132,7 +14127,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14132
14127
|
};
|
|
14133
14128
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14134
14129
|
|
|
14135
|
-
// bazel-out/
|
|
14130
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14136
14131
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14137
14132
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14138
14133
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14156,7 +14151,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14156
14151
|
}
|
|
14157
14152
|
};
|
|
14158
14153
|
|
|
14159
|
-
// bazel-out/
|
|
14154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14160
14155
|
var TcbGenericContextBehavior;
|
|
14161
14156
|
(function(TcbGenericContextBehavior2) {
|
|
14162
14157
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15208,7 +15203,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15208
15203
|
}
|
|
15209
15204
|
};
|
|
15210
15205
|
|
|
15211
|
-
// bazel-out/
|
|
15206
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15212
15207
|
import ts68 from "typescript";
|
|
15213
15208
|
var TypeCheckFile = class extends Environment {
|
|
15214
15209
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15244,7 +15239,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15244
15239
|
}
|
|
15245
15240
|
};
|
|
15246
15241
|
|
|
15247
|
-
// bazel-out/
|
|
15242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15248
15243
|
var InliningMode;
|
|
15249
15244
|
(function(InliningMode2) {
|
|
15250
15245
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15474,10 +15469,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15474
15469
|
return splits;
|
|
15475
15470
|
}
|
|
15476
15471
|
|
|
15477
|
-
// bazel-out/
|
|
15472
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15478
15473
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15479
15474
|
|
|
15480
|
-
// bazel-out/
|
|
15475
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15481
15476
|
var LF_CHAR = 10;
|
|
15482
15477
|
var CR_CHAR = 13;
|
|
15483
15478
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15518,7 +15513,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15518
15513
|
return low - 1;
|
|
15519
15514
|
}
|
|
15520
15515
|
|
|
15521
|
-
// bazel-out/
|
|
15516
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15522
15517
|
var TemplateSource = class {
|
|
15523
15518
|
constructor(mapping, file) {
|
|
15524
15519
|
this.mapping = mapping;
|
|
@@ -15569,7 +15564,7 @@ var TemplateSourceManager = class {
|
|
|
15569
15564
|
}
|
|
15570
15565
|
};
|
|
15571
15566
|
|
|
15572
|
-
// bazel-out/
|
|
15567
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15573
15568
|
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";
|
|
15574
15569
|
import ts70 from "typescript";
|
|
15575
15570
|
var SymbolBuilder = class {
|
|
@@ -15994,7 +15989,7 @@ function sourceSpanEqual(a, b) {
|
|
|
15994
15989
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
15995
15990
|
}
|
|
15996
15991
|
|
|
15997
|
-
// bazel-out/
|
|
15992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15998
15993
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15999
15994
|
var TemplateTypeCheckerImpl = class {
|
|
16000
15995
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16510,7 +16505,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16510
16505
|
}
|
|
16511
16506
|
};
|
|
16512
16507
|
|
|
16513
|
-
// bazel-out/
|
|
16508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16514
16509
|
var ExtendedTemplateCheckerImpl = class {
|
|
16515
16510
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16516
16511
|
this.templateChecks = templateChecks;
|
|
@@ -16529,11 +16524,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16529
16524
|
}
|
|
16530
16525
|
};
|
|
16531
16526
|
|
|
16532
|
-
// bazel-out/
|
|
16527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16533
16528
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16534
16529
|
import ts71 from "typescript";
|
|
16535
16530
|
|
|
16536
|
-
// bazel-out/
|
|
16531
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16537
16532
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16538
16533
|
var TemplateCheckWithVisitor = class {
|
|
16539
16534
|
run(ctx, component, template) {
|
|
@@ -16610,7 +16605,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16610
16605
|
}
|
|
16611
16606
|
};
|
|
16612
16607
|
|
|
16613
|
-
// bazel-out/
|
|
16608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16614
16609
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16615
16610
|
constructor() {
|
|
16616
16611
|
super(...arguments);
|
|
@@ -16630,7 +16625,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16630
16625
|
}
|
|
16631
16626
|
};
|
|
16632
16627
|
|
|
16633
|
-
// bazel-out/
|
|
16628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16634
16629
|
import { Binary } from "@angular/compiler";
|
|
16635
16630
|
import ts72 from "typescript";
|
|
16636
16631
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16658,7 +16653,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16658
16653
|
}
|
|
16659
16654
|
};
|
|
16660
16655
|
|
|
16661
|
-
// bazel-out/
|
|
16656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16662
16657
|
var CompilationTicketKind;
|
|
16663
16658
|
(function(CompilationTicketKind2) {
|
|
16664
16659
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17155,7 +17150,7 @@ var NgCompiler = class {
|
|
|
17155
17150
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
17156
17151
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
17157
17152
|
new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
|
|
17158
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder
|
|
17153
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder)
|
|
17159
17154
|
];
|
|
17160
17155
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater);
|
|
17161
17156
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -17280,11 +17275,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17280
17275
|
return versions;
|
|
17281
17276
|
}
|
|
17282
17277
|
|
|
17283
|
-
// bazel-out/
|
|
17278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17284
17279
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17285
17280
|
import ts76 from "typescript";
|
|
17286
17281
|
|
|
17287
|
-
// bazel-out/
|
|
17282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17288
17283
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17289
17284
|
import {
|
|
17290
17285
|
relative as relative5,
|
|
@@ -17339,10 +17334,10 @@ function getPathNormalizer(basePath) {
|
|
|
17339
17334
|
};
|
|
17340
17335
|
}
|
|
17341
17336
|
|
|
17342
|
-
// bazel-out/
|
|
17337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17343
17338
|
import ts74 from "typescript";
|
|
17344
17339
|
|
|
17345
|
-
// bazel-out/
|
|
17340
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17346
17341
|
function toNumbers(value) {
|
|
17347
17342
|
return value.split(".").map(Number);
|
|
17348
17343
|
}
|
|
@@ -17370,7 +17365,7 @@ function compareVersions(v1, v2) {
|
|
|
17370
17365
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17371
17366
|
}
|
|
17372
17367
|
|
|
17373
|
-
// bazel-out/
|
|
17368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17374
17369
|
var MIN_TS_VERSION = "4.4.2";
|
|
17375
17370
|
var MAX_TS_VERSION = "4.5.0";
|
|
17376
17371
|
var tsVersion = ts74.version;
|
|
@@ -17383,7 +17378,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17383
17378
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17384
17379
|
}
|
|
17385
17380
|
|
|
17386
|
-
// bazel-out/
|
|
17381
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17387
17382
|
import ts75 from "typescript";
|
|
17388
17383
|
var DelegatingCompilerHost2 = class {
|
|
17389
17384
|
constructor(delegate) {
|
|
@@ -17523,7 +17518,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17523
17518
|
}
|
|
17524
17519
|
};
|
|
17525
17520
|
|
|
17526
|
-
// bazel-out/
|
|
17521
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17527
17522
|
var NgtscProgram = class {
|
|
17528
17523
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17529
17524
|
this.options = options;
|
|
@@ -17736,10 +17731,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17736
17731
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17737
17732
|
}
|
|
17738
17733
|
|
|
17739
|
-
// bazel-out/
|
|
17734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17740
17735
|
import ts78 from "typescript";
|
|
17741
17736
|
|
|
17742
|
-
// bazel-out/
|
|
17737
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17743
17738
|
import ts77 from "typescript";
|
|
17744
17739
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17745
17740
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17774,7 +17769,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17774
17769
|
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.");
|
|
17775
17770
|
}
|
|
17776
17771
|
|
|
17777
|
-
// bazel-out/
|
|
17772
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17778
17773
|
function isAngularDecorator3(decorator, isCore) {
|
|
17779
17774
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17780
17775
|
}
|
|
@@ -18078,7 +18073,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18078
18073
|
};
|
|
18079
18074
|
}
|
|
18080
18075
|
|
|
18081
|
-
// bazel-out/
|
|
18076
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18082
18077
|
import ts79 from "typescript";
|
|
18083
18078
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18084
18079
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18273,7 +18268,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18273
18268
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18274
18269
|
}
|
|
18275
18270
|
|
|
18276
|
-
// bazel-out/
|
|
18271
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18277
18272
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18278
18273
|
import ts80 from "typescript";
|
|
18279
18274
|
function toMap(items, select) {
|
|
@@ -18550,7 +18545,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18550
18545
|
return exportTable;
|
|
18551
18546
|
}
|
|
18552
18547
|
|
|
18553
|
-
// bazel-out/
|
|
18548
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18554
18549
|
import ts81 from "typescript";
|
|
18555
18550
|
var MetadataCache = class {
|
|
18556
18551
|
constructor(collector, strict, transformers) {
|
|
@@ -18591,10 +18586,10 @@ var MetadataCache = class {
|
|
|
18591
18586
|
}
|
|
18592
18587
|
};
|
|
18593
18588
|
|
|
18594
|
-
// bazel-out/
|
|
18589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18595
18590
|
import ts83 from "typescript";
|
|
18596
18591
|
|
|
18597
|
-
// bazel-out/
|
|
18592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18598
18593
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18599
18594
|
import ts82 from "typescript";
|
|
18600
18595
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19046,7 +19041,7 @@ function translateModifiers(modifiers) {
|
|
|
19046
19041
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19047
19042
|
}
|
|
19048
19043
|
|
|
19049
|
-
// bazel-out/
|
|
19044
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19050
19045
|
function getPreamble(original) {
|
|
19051
19046
|
return `*
|
|
19052
19047
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19093,7 +19088,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19093
19088
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19094
19089
|
}
|
|
19095
19090
|
|
|
19096
|
-
// bazel-out/
|
|
19091
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19097
19092
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19098
19093
|
import ts84 from "typescript";
|
|
19099
19094
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19129,7 +19124,7 @@ function isClassStmt(v) {
|
|
|
19129
19124
|
return v instanceof ClassStmt2;
|
|
19130
19125
|
}
|
|
19131
19126
|
|
|
19132
|
-
// bazel-out/
|
|
19127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19133
19128
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19134
19129
|
if (modules.length === 0) {
|
|
19135
19130
|
return () => (sf) => sf;
|
|
@@ -19147,8 +19142,13 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19147
19142
|
};
|
|
19148
19143
|
}
|
|
19149
19144
|
|
|
19150
|
-
// bazel-out/
|
|
19145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19151
19146
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19147
|
+
var VE_DISABLED_MESSAGE = `
|
|
19148
|
+
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
19149
|
+
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
19150
|
+
https://angular.io/guide/ivy for more information.
|
|
19151
|
+
`.trim().split("\n").join(" ");
|
|
19152
19152
|
var LOWER_FIELDS = ["useValue", "useFactory", "data", "id", "loadChildren"];
|
|
19153
19153
|
var R3_LOWER_FIELDS = [...LOWER_FIELDS, "providers", "imports", "exports"];
|
|
19154
19154
|
var tempProgramHandlerForTest = null;
|
|
@@ -19165,6 +19165,9 @@ var AngularCompilerProgram = class {
|
|
|
19165
19165
|
this._optionsDiagnostics = [];
|
|
19166
19166
|
this._transformTsDiagnostics = [];
|
|
19167
19167
|
this._isCompilingAngularCore = null;
|
|
19168
|
+
if (true) {
|
|
19169
|
+
throw new Error(VE_DISABLED_MESSAGE);
|
|
19170
|
+
}
|
|
19168
19171
|
this.rootNames = [...rootNames];
|
|
19169
19172
|
if (!options.disableTypeScriptVersionCheck) {
|
|
19170
19173
|
verifySupportedTypeScriptVersion();
|
|
@@ -19864,10 +19867,7 @@ function isIvyNgModule(clazz) {
|
|
|
19864
19867
|
return false;
|
|
19865
19868
|
}
|
|
19866
19869
|
|
|
19867
|
-
// bazel-out/
|
|
19868
|
-
function filterErrorsAndWarnings(diagnostics) {
|
|
19869
|
-
return diagnostics.filter((d) => d.category !== ts86.DiagnosticCategory.Message);
|
|
19870
|
-
}
|
|
19870
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19871
19871
|
var defaultFormatHost = {
|
|
19872
19872
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19873
19873
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20030,7 +20030,9 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
20030
20030
|
return null;
|
|
20031
20031
|
}
|
|
20032
20032
|
function exitCodeFromResult(diags) {
|
|
20033
|
-
if (!diags
|
|
20033
|
+
if (!diags)
|
|
20034
|
+
return 0;
|
|
20035
|
+
if (diags.every((diag) => diag.category !== ts86.DiagnosticCategory.Error)) {
|
|
20034
20036
|
return 0;
|
|
20035
20037
|
}
|
|
20036
20038
|
return diags.some((d) => d.source === "angular" && d.code === UNKNOWN_ERROR_CODE) ? 2 : 1;
|
|
@@ -20094,7 +20096,7 @@ function hasErrors(diags) {
|
|
|
20094
20096
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20095
20097
|
}
|
|
20096
20098
|
|
|
20097
|
-
// bazel-out/
|
|
20099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
20098
20100
|
import {
|
|
20099
20101
|
watch
|
|
20100
20102
|
} from "chokidar";
|
|
@@ -20308,7 +20310,7 @@ function performWatchCompilation(host) {
|
|
|
20308
20310
|
}
|
|
20309
20311
|
}
|
|
20310
20312
|
|
|
20311
|
-
// bazel-out/
|
|
20313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
20312
20314
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
20313
20315
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
20314
20316
|
if (configErrors.length) {
|
|
@@ -20419,7 +20421,7 @@ function getFormatDiagnosticsHost(options) {
|
|
|
20419
20421
|
};
|
|
20420
20422
|
}
|
|
20421
20423
|
function reportErrorsAndExit(allDiagnostics, options, consoleError = console.error) {
|
|
20422
|
-
const errorsAndWarnings =
|
|
20424
|
+
const errorsAndWarnings = allDiagnostics.filter((d) => d.category !== ts88.DiagnosticCategory.Message);
|
|
20423
20425
|
printDiagnostics(errorsAndWarnings, options, consoleError);
|
|
20424
20426
|
return exitCodeFromResult(allDiagnostics);
|
|
20425
20427
|
}
|
|
@@ -20436,7 +20438,7 @@ function printDiagnostics(diagnostics, options, consoleError) {
|
|
|
20436
20438
|
consoleError(formatDiagnostics(diagnostics, formatHost));
|
|
20437
20439
|
}
|
|
20438
20440
|
|
|
20439
|
-
// bazel-out/
|
|
20441
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
20440
20442
|
async function runNgcComamnd() {
|
|
20441
20443
|
process.title = "Angular Compiler (ngc)";
|
|
20442
20444
|
const args = process.argv.slice(2);
|