@angular/compiler-cli 13.0.0-rc.2 → 13.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +209 -218
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +279 -288
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +280 -289
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +244 -253
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +208 -217
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +206 -215
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
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,15 +395,15 @@ function toggleCase(str) {
|
|
|
395
395
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
// bazel-out/
|
|
398
|
+
// bazel-out/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/
|
|
406
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
407
407
|
var ErrorCode;
|
|
408
408
|
(function(ErrorCode2) {
|
|
409
409
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -454,7 +454,7 @@ var ErrorCode;
|
|
|
454
454
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
455
455
|
})(ErrorCode || (ErrorCode = {}));
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
458
458
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
459
459
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
460
460
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -465,10 +465,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
465
465
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
466
466
|
]);
|
|
467
467
|
|
|
468
|
-
// bazel-out/
|
|
468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
469
469
|
import ts2 from "typescript";
|
|
470
470
|
|
|
471
|
-
// bazel-out/
|
|
471
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
472
472
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
473
473
|
function replaceTsWithNgInErrors(errors) {
|
|
474
474
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -477,7 +477,7 @@ function ngErrorCode(code) {
|
|
|
477
477
|
return parseInt("-99" + code);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
481
481
|
var FatalDiagnosticError = class {
|
|
482
482
|
constructor(code, node, message, relatedInformation) {
|
|
483
483
|
this.code = code;
|
|
@@ -514,10 +514,10 @@ function makeRelatedInformation(node, messageText) {
|
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
518
518
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
519
519
|
|
|
520
|
-
// bazel-out/
|
|
520
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
521
521
|
var DEFAULT_ERROR_CODE = 100;
|
|
522
522
|
var UNKNOWN_ERROR_CODE = 500;
|
|
523
523
|
var SOURCE = "angular";
|
|
@@ -535,7 +535,7 @@ var EmitFlags;
|
|
|
535
535
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
536
536
|
})(EmitFlags || (EmitFlags = {}));
|
|
537
537
|
|
|
538
|
-
// bazel-out/
|
|
538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
539
539
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
540
540
|
import fs3 from "fs";
|
|
541
541
|
import {
|
|
@@ -548,13 +548,13 @@ import {
|
|
|
548
548
|
} from "path";
|
|
549
549
|
import ts9 from "typescript";
|
|
550
550
|
|
|
551
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
552
552
|
import ts5 from "typescript";
|
|
553
553
|
|
|
554
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
555
555
|
import ts3 from "typescript";
|
|
556
556
|
|
|
557
|
-
// bazel-out/
|
|
557
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
558
558
|
var METADATA_VERSION = 4;
|
|
559
559
|
function isClassMetadata(value) {
|
|
560
560
|
return value && value.__symbolic === "class";
|
|
@@ -616,7 +616,7 @@ function isMetadataError(value) {
|
|
|
616
616
|
return value && value.__symbolic === "error";
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
620
620
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
621
621
|
function isMethodCallOf(callExpression, memberName) {
|
|
622
622
|
const expression = callExpression.expression;
|
|
@@ -1175,7 +1175,7 @@ function arrayOrEmpty(v) {
|
|
|
1175
1175
|
return v || empty;
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1179
1179
|
import ts4 from "typescript";
|
|
1180
1180
|
var Symbols = class {
|
|
1181
1181
|
constructor(sourceFile) {
|
|
@@ -1300,7 +1300,7 @@ function populateBuiltins(symbols) {
|
|
|
1300
1300
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
|
-
// bazel-out/
|
|
1303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1304
1304
|
var isStatic = (node) => ts5.getCombinedModifierFlags(node) & ts5.ModifierFlags.Static;
|
|
1305
1305
|
var MetadataCollector = class {
|
|
1306
1306
|
constructor(options = {}) {
|
|
@@ -1921,7 +1921,7 @@ function expandedMessage(error2) {
|
|
|
1921
1921
|
return error2.message;
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1925
1925
|
import {
|
|
1926
1926
|
basename as basename4,
|
|
1927
1927
|
dirname as dirname4,
|
|
@@ -1930,7 +1930,7 @@ import {
|
|
|
1930
1930
|
} from "path";
|
|
1931
1931
|
import ts7 from "typescript";
|
|
1932
1932
|
|
|
1933
|
-
// bazel-out/
|
|
1933
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1934
1934
|
import {
|
|
1935
1935
|
basename as basename3,
|
|
1936
1936
|
dirname as dirname3,
|
|
@@ -2400,7 +2400,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2400
2400
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2401
2401
|
}
|
|
2402
2402
|
|
|
2403
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2404
2404
|
var INDEX_HEADER = `/**
|
|
2405
2405
|
* Generated bundle index. Do not edit.
|
|
2406
2406
|
*/
|
|
@@ -2434,7 +2434,7 @@ function compare(select) {
|
|
|
2434
2434
|
};
|
|
2435
2435
|
}
|
|
2436
2436
|
|
|
2437
|
-
// bazel-out/
|
|
2437
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2438
2438
|
var DTS = /\.d\.ts$/;
|
|
2439
2439
|
var JS_EXT = /(\.js|)$/;
|
|
2440
2440
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2513,7 +2513,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2513
2513
|
return { host, indexName: name };
|
|
2514
2514
|
}
|
|
2515
2515
|
|
|
2516
|
-
// bazel-out/
|
|
2516
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2517
2517
|
import { syntaxError } from "@angular/compiler";
|
|
2518
2518
|
import {
|
|
2519
2519
|
relative as relative3
|
|
@@ -2579,7 +2579,7 @@ function stripComment(commentText) {
|
|
|
2579
2579
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2580
2580
|
}
|
|
2581
2581
|
|
|
2582
|
-
// bazel-out/
|
|
2582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2583
2583
|
function createMetadataReaderCache() {
|
|
2584
2584
|
const data = new Map();
|
|
2585
2585
|
return { data };
|
|
@@ -2656,7 +2656,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2656
2656
|
return newMetadata;
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
|
-
// bazel-out/
|
|
2659
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2660
2660
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2661
2661
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2662
2662
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3116,7 +3116,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3116
3116
|
return `${fileName}.$ngresource$`;
|
|
3117
3117
|
}
|
|
3118
3118
|
|
|
3119
|
-
// bazel-out/
|
|
3119
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3120
3120
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3121
3121
|
import {
|
|
3122
3122
|
readFileSync as readFileSync2
|
|
@@ -3124,7 +3124,7 @@ import {
|
|
|
3124
3124
|
import * as path6 from "path";
|
|
3125
3125
|
import ts85 from "typescript";
|
|
3126
3126
|
|
|
3127
|
-
// bazel-out/
|
|
3127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3128
3128
|
import ts10 from "typescript";
|
|
3129
3129
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3130
3130
|
const ts89 = [];
|
|
@@ -3159,21 +3159,21 @@ function diagnosticMessageToString(message) {
|
|
|
3159
3159
|
return ts10.flattenDiagnosticMessageText(message, "\n");
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
|
-
// bazel-out/
|
|
3162
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3163
3163
|
import ts73 from "typescript";
|
|
3164
3164
|
|
|
3165
|
-
// bazel-out/
|
|
3165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3166
3166
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3167
3167
|
import ts39 from "typescript";
|
|
3168
3168
|
|
|
3169
|
-
// bazel-out/
|
|
3169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3170
3170
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3171
3171
|
|
|
3172
|
-
// bazel-out/
|
|
3172
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3173
3173
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3174
3174
|
import ts13 from "typescript";
|
|
3175
3175
|
|
|
3176
|
-
// bazel-out/
|
|
3176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3177
3177
|
import ts11 from "typescript";
|
|
3178
3178
|
var TS2 = /\.tsx?$/i;
|
|
3179
3179
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3261,7 +3261,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3261
3261
|
return redirectInfo.unredirected;
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
|
-
// bazel-out/
|
|
3264
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3265
3265
|
import ts12 from "typescript";
|
|
3266
3266
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3267
3267
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3285,7 +3285,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3285
3285
|
return foundExportName;
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
|
-
// bazel-out/
|
|
3288
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3289
3289
|
var ImportFlags;
|
|
3290
3290
|
(function(ImportFlags2) {
|
|
3291
3291
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3445,7 +3445,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3445
3445
|
}
|
|
3446
3446
|
};
|
|
3447
3447
|
|
|
3448
|
-
// bazel-out/
|
|
3448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3449
3449
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3450
3450
|
var UnifiedModulesAliasingHost = class {
|
|
3451
3451
|
constructor(unifiedModulesHost) {
|
|
@@ -3508,7 +3508,7 @@ var AliasStrategy = class {
|
|
|
3508
3508
|
}
|
|
3509
3509
|
};
|
|
3510
3510
|
|
|
3511
|
-
// bazel-out/
|
|
3511
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3512
3512
|
function relativePathBetween(from, to) {
|
|
3513
3513
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3514
3514
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3517,7 +3517,7 @@ function normalizeSeparators2(path8) {
|
|
|
3517
3517
|
return path8.replace(/\\/g, "/");
|
|
3518
3518
|
}
|
|
3519
3519
|
|
|
3520
|
-
// bazel-out/
|
|
3520
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3521
3521
|
var NoopImportRewriter = class {
|
|
3522
3522
|
shouldImportSymbol(symbol, specifier) {
|
|
3523
3523
|
return true;
|
|
@@ -3575,7 +3575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3575
3575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3576
3576
|
}
|
|
3577
3577
|
|
|
3578
|
-
// bazel-out/
|
|
3578
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3579
3579
|
import ts14 from "typescript";
|
|
3580
3580
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3581
3581
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3620,7 +3620,7 @@ var DefaultImportTracker = class {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
3622
|
|
|
3623
|
-
// bazel-out/
|
|
3623
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3624
3624
|
var Reference = class {
|
|
3625
3625
|
constructor(node, bestGuessOwningModule = null) {
|
|
3626
3626
|
this.node = node;
|
|
@@ -3683,7 +3683,7 @@ var Reference = class {
|
|
|
3683
3683
|
}
|
|
3684
3684
|
};
|
|
3685
3685
|
|
|
3686
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3687
3687
|
var ModuleResolver = class {
|
|
3688
3688
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3689
3689
|
this.program = program;
|
|
@@ -3700,7 +3700,7 @@ var ModuleResolver = class {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
};
|
|
3702
3702
|
|
|
3703
|
-
// bazel-out/
|
|
3703
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3704
3704
|
import ts15 from "typescript";
|
|
3705
3705
|
var SemanticSymbol = class {
|
|
3706
3706
|
constructor(decl) {
|
|
@@ -3716,7 +3716,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3716
3716
|
return decl.name.text;
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
// bazel-out/
|
|
3719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3720
3720
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3721
3721
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3722
3722
|
isPublicApiAffected() {
|
|
@@ -3859,10 +3859,10 @@ function getImportPath(expr) {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
|
|
3862
|
-
// bazel-out/
|
|
3862
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3863
3863
|
import ts16 from "typescript";
|
|
3864
3864
|
|
|
3865
|
-
// bazel-out/
|
|
3865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3866
3866
|
function isSymbolEqual(a, b) {
|
|
3867
3867
|
if (a.decl === b.decl) {
|
|
3868
3868
|
return true;
|
|
@@ -3912,7 +3912,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3912
3912
|
return true;
|
|
3913
3913
|
}
|
|
3914
3914
|
|
|
3915
|
-
// bazel-out/
|
|
3915
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3916
3916
|
function extractSemanticTypeParameters(node) {
|
|
3917
3917
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3918
3918
|
return null;
|
|
@@ -3932,17 +3932,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
3932
3932
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3933
3933
|
}
|
|
3934
3934
|
|
|
3935
|
-
// bazel-out/
|
|
3935
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
3936
3936
|
var MetaType;
|
|
3937
3937
|
(function(MetaType2) {
|
|
3938
3938
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
3939
3939
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
3940
3940
|
})(MetaType || (MetaType = {}));
|
|
3941
3941
|
|
|
3942
|
-
// bazel-out/
|
|
3942
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
3943
3943
|
import ts22 from "typescript";
|
|
3944
3944
|
|
|
3945
|
-
// bazel-out/
|
|
3945
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
3946
3946
|
import ts17 from "typescript";
|
|
3947
3947
|
var Decorator = {
|
|
3948
3948
|
nodeForError: (decorator) => {
|
|
@@ -3977,7 +3977,7 @@ function isConcreteDeclaration(decl) {
|
|
|
3977
3977
|
return decl.kind === 0;
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
// bazel-out/
|
|
3980
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
3981
3981
|
import ts18 from "typescript";
|
|
3982
3982
|
function typeToValue(typeNode, checker) {
|
|
3983
3983
|
if (typeNode === null) {
|
|
@@ -4138,10 +4138,10 @@ function extractModuleName(node) {
|
|
|
4138
4138
|
return node.moduleSpecifier.text;
|
|
4139
4139
|
}
|
|
4140
4140
|
|
|
4141
|
-
// bazel-out/
|
|
4141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4142
4142
|
import ts20 from "typescript";
|
|
4143
4143
|
|
|
4144
|
-
// bazel-out/
|
|
4144
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4145
4145
|
import ts19 from "typescript";
|
|
4146
4146
|
function isNamedClassDeclaration(node) {
|
|
4147
4147
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4150,7 +4150,7 @@ function isIdentifier(node) {
|
|
|
4150
4150
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4151
4151
|
}
|
|
4152
4152
|
|
|
4153
|
-
// bazel-out/
|
|
4153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4154
4154
|
var TypeScriptReflectionHost = class {
|
|
4155
4155
|
constructor(checker) {
|
|
4156
4156
|
this.checker = checker;
|
|
@@ -4586,7 +4586,7 @@ function getExportedName(decl, originalId) {
|
|
|
4586
4586
|
}
|
|
4587
4587
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4588
4588
|
|
|
4589
|
-
// bazel-out/
|
|
4589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4590
4590
|
var ClassPropertyMapping = class {
|
|
4591
4591
|
constructor(forwardMap) {
|
|
4592
4592
|
this.forwardMap = forwardMap;
|
|
@@ -4662,7 +4662,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4662
4662
|
return reverseMap;
|
|
4663
4663
|
}
|
|
4664
4664
|
|
|
4665
|
-
// bazel-out/
|
|
4665
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4666
4666
|
import ts21 from "typescript";
|
|
4667
4667
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4668
4668
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4829,7 +4829,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4829
4829
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4830
4830
|
}
|
|
4831
4831
|
|
|
4832
|
-
// bazel-out/
|
|
4832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4833
4833
|
var DtsMetadataReader = class {
|
|
4834
4834
|
constructor(checker, reflector) {
|
|
4835
4835
|
this.checker = checker;
|
|
@@ -4929,7 +4929,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4929
4929
|
return null;
|
|
4930
4930
|
}
|
|
4931
4931
|
|
|
4932
|
-
// bazel-out/
|
|
4932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
4933
4933
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4934
4934
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4935
4935
|
if (topMeta === null) {
|
|
@@ -4986,7 +4986,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4986
4986
|
});
|
|
4987
4987
|
}
|
|
4988
4988
|
|
|
4989
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
4990
4990
|
var LocalMetadataRegistry = class {
|
|
4991
4991
|
constructor() {
|
|
4992
4992
|
this.directives = new Map();
|
|
@@ -5045,7 +5045,7 @@ var InjectableClassRegistry = class {
|
|
|
5045
5045
|
}
|
|
5046
5046
|
};
|
|
5047
5047
|
|
|
5048
|
-
// bazel-out/
|
|
5048
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5049
5049
|
var ResourceRegistry = class {
|
|
5050
5050
|
constructor() {
|
|
5051
5051
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5110,10 +5110,10 @@ var ResourceRegistry = class {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
5112
5112
|
|
|
5113
|
-
// bazel-out/
|
|
5113
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5114
5114
|
import ts23 from "typescript";
|
|
5115
5115
|
|
|
5116
|
-
// bazel-out/
|
|
5116
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5117
5117
|
var DynamicValue = class {
|
|
5118
5118
|
constructor(node, reason, code) {
|
|
5119
5119
|
this.node = node;
|
|
@@ -5198,7 +5198,7 @@ var DynamicValue = class {
|
|
|
5198
5198
|
}
|
|
5199
5199
|
};
|
|
5200
5200
|
|
|
5201
|
-
// bazel-out/
|
|
5201
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5202
5202
|
var ResolvedModule = class {
|
|
5203
5203
|
constructor(exports, evaluate) {
|
|
5204
5204
|
this.exports = exports;
|
|
@@ -5228,7 +5228,7 @@ var EnumValue = class {
|
|
|
5228
5228
|
var KnownFn = class {
|
|
5229
5229
|
};
|
|
5230
5230
|
|
|
5231
|
-
// bazel-out/
|
|
5231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5232
5232
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5233
5233
|
var _a, _b;
|
|
5234
5234
|
if (value === null) {
|
|
@@ -5354,10 +5354,10 @@ function getContainerNode(node) {
|
|
|
5354
5354
|
return node.getSourceFile();
|
|
5355
5355
|
}
|
|
5356
5356
|
|
|
5357
|
-
// bazel-out/
|
|
5357
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5358
5358
|
import ts24 from "typescript";
|
|
5359
5359
|
|
|
5360
|
-
// bazel-out/
|
|
5360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5361
5361
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5362
5362
|
constructor(lhs) {
|
|
5363
5363
|
super();
|
|
@@ -5410,7 +5410,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5410
5410
|
}
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
// bazel-out/
|
|
5413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5414
5414
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5415
5415
|
};
|
|
5416
5416
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5463,7 +5463,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
};
|
|
5465
5465
|
|
|
5466
|
-
// bazel-out/
|
|
5466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5467
5467
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5468
5468
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5469
5469
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5487,7 +5487,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5487
5487
|
}
|
|
5488
5488
|
}
|
|
5489
5489
|
|
|
5490
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5491
5491
|
function literalBinaryOp(op) {
|
|
5492
5492
|
return { op, literal: true };
|
|
5493
5493
|
}
|
|
@@ -6072,7 +6072,7 @@ function owningModule(context, override = null) {
|
|
|
6072
6072
|
}
|
|
6073
6073
|
}
|
|
6074
6074
|
|
|
6075
|
-
// bazel-out/
|
|
6075
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6076
6076
|
var PartialEvaluator = class {
|
|
6077
6077
|
constructor(host, checker, dependencyTracker) {
|
|
6078
6078
|
this.host = host;
|
|
@@ -6092,7 +6092,7 @@ var PartialEvaluator = class {
|
|
|
6092
6092
|
}
|
|
6093
6093
|
};
|
|
6094
6094
|
|
|
6095
|
-
// bazel-out/
|
|
6095
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6096
6096
|
var PerfPhase;
|
|
6097
6097
|
(function(PerfPhase2) {
|
|
6098
6098
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6157,7 +6157,7 @@ var PerfCheckpoint;
|
|
|
6157
6157
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6158
6158
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6159
6159
|
|
|
6160
|
-
// bazel-out/
|
|
6160
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6161
6161
|
var NoopPerfRecorder = class {
|
|
6162
6162
|
eventCount() {
|
|
6163
6163
|
}
|
|
@@ -6174,7 +6174,7 @@ var NoopPerfRecorder = class {
|
|
|
6174
6174
|
};
|
|
6175
6175
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6176
6176
|
|
|
6177
|
-
// bazel-out/
|
|
6177
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6178
6178
|
function mark() {
|
|
6179
6179
|
return process.hrtime();
|
|
6180
6180
|
}
|
|
@@ -6183,7 +6183,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6183
6183
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
|
-
// bazel-out/
|
|
6186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6187
6187
|
var ActivePerfRecorder = class {
|
|
6188
6188
|
constructor(zeroTime) {
|
|
6189
6189
|
this.zeroTime = zeroTime;
|
|
@@ -6277,7 +6277,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6277
6277
|
}
|
|
6278
6278
|
};
|
|
6279
6279
|
|
|
6280
|
-
// bazel-out/
|
|
6280
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6281
6281
|
var CompilationMode;
|
|
6282
6282
|
(function(CompilationMode2) {
|
|
6283
6283
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6295,7 +6295,7 @@ var HandlerFlags;
|
|
|
6295
6295
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6296
6296
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6297
6297
|
|
|
6298
|
-
// bazel-out/
|
|
6298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6299
6299
|
import ts25 from "typescript";
|
|
6300
6300
|
function aliasTransformFactory(exportStatements) {
|
|
6301
6301
|
return (context) => {
|
|
@@ -6313,10 +6313,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6313
6313
|
};
|
|
6314
6314
|
}
|
|
6315
6315
|
|
|
6316
|
-
// bazel-out/
|
|
6316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6317
6317
|
import ts26 from "typescript";
|
|
6318
6318
|
|
|
6319
|
-
// bazel-out/
|
|
6319
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6320
6320
|
var TraitState;
|
|
6321
6321
|
(function(TraitState2) {
|
|
6322
6322
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6371,7 +6371,7 @@ var TraitImpl = class {
|
|
|
6371
6371
|
}
|
|
6372
6372
|
};
|
|
6373
6373
|
|
|
6374
|
-
// bazel-out/
|
|
6374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6375
6375
|
var TraitCompiler = class {
|
|
6376
6376
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6377
6377
|
this.handlers = handlers;
|
|
@@ -6808,10 +6808,10 @@ var TraitCompiler = class {
|
|
|
6808
6808
|
}
|
|
6809
6809
|
};
|
|
6810
6810
|
|
|
6811
|
-
// bazel-out/
|
|
6811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6812
6812
|
import ts31 from "typescript";
|
|
6813
6813
|
|
|
6814
|
-
// bazel-out/
|
|
6814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6815
6815
|
var Context = class {
|
|
6816
6816
|
constructor(isStatement) {
|
|
6817
6817
|
this.isStatement = isStatement;
|
|
@@ -6824,7 +6824,7 @@ var Context = class {
|
|
|
6824
6824
|
}
|
|
6825
6825
|
};
|
|
6826
6826
|
|
|
6827
|
-
// bazel-out/
|
|
6827
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6828
6828
|
import ts27 from "typescript";
|
|
6829
6829
|
var ImportManager = class {
|
|
6830
6830
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6860,7 +6860,7 @@ var ImportManager = class {
|
|
|
6860
6860
|
}
|
|
6861
6861
|
};
|
|
6862
6862
|
|
|
6863
|
-
// bazel-out/
|
|
6863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6864
6864
|
import {
|
|
6865
6865
|
BinaryOperator,
|
|
6866
6866
|
ConditionalExpr,
|
|
@@ -7104,7 +7104,7 @@ function createRange(span) {
|
|
|
7104
7104
|
};
|
|
7105
7105
|
}
|
|
7106
7106
|
|
|
7107
|
-
// bazel-out/
|
|
7107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7108
7108
|
import {
|
|
7109
7109
|
BuiltinTypeName
|
|
7110
7110
|
} from "@angular/compiler";
|
|
@@ -7283,7 +7283,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7283
7283
|
}
|
|
7284
7284
|
};
|
|
7285
7285
|
|
|
7286
|
-
// bazel-out/
|
|
7286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7287
7287
|
import ts29 from "typescript";
|
|
7288
7288
|
var PureAnnotation;
|
|
7289
7289
|
(function(PureAnnotation2) {
|
|
@@ -7455,7 +7455,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7455
7455
|
}
|
|
7456
7456
|
}
|
|
7457
7457
|
|
|
7458
|
-
// bazel-out/
|
|
7458
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7459
7459
|
function translateExpression(expression, imports, options = {}) {
|
|
7460
7460
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7461
7461
|
}
|
|
@@ -7463,7 +7463,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7463
7463
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7464
7464
|
}
|
|
7465
7465
|
|
|
7466
|
-
// bazel-out/
|
|
7466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7467
7467
|
import ts30 from "typescript";
|
|
7468
7468
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7469
7469
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7491,7 +7491,7 @@ function isImportStatement(stmt) {
|
|
|
7491
7491
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7492
7492
|
}
|
|
7493
7493
|
|
|
7494
|
-
// bazel-out/
|
|
7494
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7495
7495
|
var DtsTransformRegistry = class {
|
|
7496
7496
|
constructor() {
|
|
7497
7497
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7616,11 +7616,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7616
7616
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7617
7617
|
}
|
|
7618
7618
|
|
|
7619
|
-
// bazel-out/
|
|
7619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7620
7620
|
import { ConstantPool } from "@angular/compiler";
|
|
7621
7621
|
import ts33 from "typescript";
|
|
7622
7622
|
|
|
7623
|
-
// bazel-out/
|
|
7623
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7624
7624
|
import ts32 from "typescript";
|
|
7625
7625
|
function visit(node, visitor, context) {
|
|
7626
7626
|
return visitor._visit(node, context);
|
|
@@ -7682,7 +7682,7 @@ function hasStatements(node) {
|
|
|
7682
7682
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7683
7683
|
}
|
|
7684
7684
|
|
|
7685
|
-
// bazel-out/
|
|
7685
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7686
7686
|
var NO_DECORATORS = new Set();
|
|
7687
7687
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7688
7688
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7863,10 +7863,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7863
7863
|
};
|
|
7864
7864
|
}
|
|
7865
7865
|
|
|
7866
|
-
// bazel-out/
|
|
7866
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7867
7867
|
import ts35 from "typescript";
|
|
7868
7868
|
|
|
7869
|
-
// bazel-out/
|
|
7869
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7870
7870
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7871
7871
|
import ts34 from "typescript";
|
|
7872
7872
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8226,7 +8226,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8226
8226
|
};
|
|
8227
8227
|
}
|
|
8228
8228
|
|
|
8229
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8230
8230
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8231
8231
|
var _a;
|
|
8232
8232
|
let chainedMessage;
|
|
@@ -8322,11 +8322,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8322
8322
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8323
8323
|
}
|
|
8324
8324
|
|
|
8325
|
-
// bazel-out/
|
|
8325
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8326
8326
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8327
8327
|
import ts37 from "typescript";
|
|
8328
8328
|
|
|
8329
|
-
// bazel-out/
|
|
8329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8330
8330
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8331
8331
|
function compileNgFactoryDefField(metadata) {
|
|
8332
8332
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8337,7 +8337,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8337
8337
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8338
8338
|
}
|
|
8339
8339
|
|
|
8340
|
-
// bazel-out/
|
|
8340
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8341
8341
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8342
8342
|
import ts36 from "typescript";
|
|
8343
8343
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8425,7 +8425,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8425
8425
|
return result.transformed[0];
|
|
8426
8426
|
}
|
|
8427
8427
|
|
|
8428
|
-
// bazel-out/
|
|
8428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8429
8429
|
var EMPTY_OBJECT = {};
|
|
8430
8430
|
var FIELD_DECORATORS = [
|
|
8431
8431
|
"Input",
|
|
@@ -8987,8 +8987,8 @@ var QUERY_TYPES = new Set([
|
|
|
8987
8987
|
"ViewChildren"
|
|
8988
8988
|
]);
|
|
8989
8989
|
|
|
8990
|
-
// bazel-out/
|
|
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,
|
|
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";
|
|
8992
8992
|
import ts38 from "typescript";
|
|
8993
8993
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
8994
8994
|
constructor() {
|
|
@@ -9035,7 +9035,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
9035
9035
|
}
|
|
9036
9036
|
};
|
|
9037
9037
|
var NgModuleDecoratorHandler = class {
|
|
9038
|
-
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) {
|
|
9039
9039
|
this.reflector = reflector;
|
|
9040
9040
|
this.evaluator = evaluator;
|
|
9041
9041
|
this.metaReader = metaReader;
|
|
@@ -9048,7 +9048,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9048
9048
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
9049
9049
|
this.injectableRegistry = injectableRegistry;
|
|
9050
9050
|
this.perf = perf;
|
|
9051
|
-
this.localeId = localeId;
|
|
9052
9051
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
9053
9052
|
this.name = NgModuleDecoratorHandler.name;
|
|
9054
9053
|
}
|
|
@@ -9334,14 +9333,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9334
9333
|
type: injectorDef.type
|
|
9335
9334
|
}
|
|
9336
9335
|
];
|
|
9337
|
-
if (this.localeId) {
|
|
9338
|
-
res.push({
|
|
9339
|
-
name: "\u0275loc",
|
|
9340
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
9341
|
-
statements: [],
|
|
9342
|
-
type: STRING_TYPE
|
|
9343
|
-
});
|
|
9344
|
-
}
|
|
9345
9336
|
return res;
|
|
9346
9337
|
}
|
|
9347
9338
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -9430,7 +9421,7 @@ function isNgModule(node, compilation) {
|
|
|
9430
9421
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9431
9422
|
}
|
|
9432
9423
|
|
|
9433
|
-
// bazel-out/
|
|
9424
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9434
9425
|
var EMPTY_MAP = new Map();
|
|
9435
9426
|
var EMPTY_ARRAY = [];
|
|
9436
9427
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10314,8 +10305,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10314
10305
|
return null;
|
|
10315
10306
|
}
|
|
10316
10307
|
|
|
10317
|
-
// bazel-out/
|
|
10318
|
-
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";
|
|
10319
10310
|
import ts40 from "typescript";
|
|
10320
10311
|
var InjectableDecoratorHandler = class {
|
|
10321
10312
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10403,7 +10394,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10403
10394
|
type,
|
|
10404
10395
|
typeArgumentCount,
|
|
10405
10396
|
internalType,
|
|
10406
|
-
providedIn: createR3ProviderExpression(new
|
|
10397
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
10407
10398
|
};
|
|
10408
10399
|
} else if (decorator.args.length === 1) {
|
|
10409
10400
|
const metaNode = decorator.args[0];
|
|
@@ -10411,7 +10402,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10411
10402
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10412
10403
|
}
|
|
10413
10404
|
const meta = reflectObjectLiteral(metaNode);
|
|
10414
|
-
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);
|
|
10415
10406
|
let deps = void 0;
|
|
10416
10407
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10417
10408
|
const depsExpr = meta.get("deps");
|
|
@@ -10514,7 +10505,7 @@ function getDep(dep, reflector) {
|
|
|
10514
10505
|
return meta;
|
|
10515
10506
|
}
|
|
10516
10507
|
|
|
10517
|
-
// bazel-out/
|
|
10508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10518
10509
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10519
10510
|
import ts41 from "typescript";
|
|
10520
10511
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10639,13 +10630,13 @@ var PipeDecoratorHandler = class {
|
|
|
10639
10630
|
}
|
|
10640
10631
|
};
|
|
10641
10632
|
|
|
10642
|
-
// bazel-out/
|
|
10633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10643
10634
|
var NoopReferencesRegistry = class {
|
|
10644
10635
|
add(source, ...references) {
|
|
10645
10636
|
}
|
|
10646
10637
|
};
|
|
10647
10638
|
|
|
10648
|
-
// bazel-out/
|
|
10639
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10649
10640
|
var CycleAnalyzer = class {
|
|
10650
10641
|
constructor(importGraph) {
|
|
10651
10642
|
this.importGraph = importGraph;
|
|
@@ -10716,7 +10707,7 @@ var Cycle = class {
|
|
|
10716
10707
|
}
|
|
10717
10708
|
};
|
|
10718
10709
|
|
|
10719
|
-
// bazel-out/
|
|
10710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10720
10711
|
import ts42 from "typescript";
|
|
10721
10712
|
var ImportGraph = class {
|
|
10722
10713
|
constructor(checker, perf) {
|
|
@@ -10799,7 +10790,7 @@ var Found = class {
|
|
|
10799
10790
|
}
|
|
10800
10791
|
};
|
|
10801
10792
|
|
|
10802
|
-
// bazel-out/
|
|
10793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10803
10794
|
import ts43 from "typescript";
|
|
10804
10795
|
var FlatIndexGenerator = class {
|
|
10805
10796
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10824,7 +10815,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10824
10815
|
}
|
|
10825
10816
|
};
|
|
10826
10817
|
|
|
10827
|
-
// bazel-out/
|
|
10818
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10828
10819
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10829
10820
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10830
10821
|
let resolvedEntryPoint = null;
|
|
@@ -10840,7 +10831,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10840
10831
|
return resolvedEntryPoint;
|
|
10841
10832
|
}
|
|
10842
10833
|
|
|
10843
|
-
// bazel-out/
|
|
10834
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10844
10835
|
import ts44 from "typescript";
|
|
10845
10836
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10846
10837
|
const diagnostics = [];
|
|
@@ -10920,7 +10911,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10920
10911
|
}
|
|
10921
10912
|
}
|
|
10922
10913
|
|
|
10923
|
-
// bazel-out/
|
|
10914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10924
10915
|
var ReferenceGraph = class {
|
|
10925
10916
|
constructor() {
|
|
10926
10917
|
this.references = new Map();
|
|
@@ -10974,7 +10965,7 @@ var ReferenceGraph = class {
|
|
|
10974
10965
|
}
|
|
10975
10966
|
};
|
|
10976
10967
|
|
|
10977
|
-
// bazel-out/
|
|
10968
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
10978
10969
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
10979
10970
|
var UpdateMode;
|
|
10980
10971
|
(function(UpdateMode2) {
|
|
@@ -10982,13 +10973,13 @@ var UpdateMode;
|
|
|
10982
10973
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
10983
10974
|
})(UpdateMode || (UpdateMode = {}));
|
|
10984
10975
|
|
|
10985
|
-
// bazel-out/
|
|
10976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
10986
10977
|
import ts48 from "typescript";
|
|
10987
10978
|
|
|
10988
|
-
// bazel-out/
|
|
10979
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
10989
10980
|
import ts45 from "typescript";
|
|
10990
10981
|
|
|
10991
|
-
// bazel-out/
|
|
10982
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
10992
10983
|
var NgExtension = Symbol("NgExtension");
|
|
10993
10984
|
function isExtended(sf) {
|
|
10994
10985
|
return sf[NgExtension] !== void 0;
|
|
@@ -11048,7 +11039,7 @@ function retagTsFile(sf) {
|
|
|
11048
11039
|
}
|
|
11049
11040
|
}
|
|
11050
11041
|
|
|
11051
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11052
11043
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11053
11044
|
function makeShimFileName(fileName, suffix) {
|
|
11054
11045
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11063,7 +11054,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11063
11054
|
return moduleName;
|
|
11064
11055
|
}
|
|
11065
11056
|
|
|
11066
|
-
// bazel-out/
|
|
11057
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11067
11058
|
var ShimAdapter = class {
|
|
11068
11059
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11069
11060
|
this.delegate = delegate;
|
|
@@ -11160,7 +11151,7 @@ var ShimAdapter = class {
|
|
|
11160
11151
|
}
|
|
11161
11152
|
};
|
|
11162
11153
|
|
|
11163
|
-
// bazel-out/
|
|
11154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11164
11155
|
import ts46 from "typescript";
|
|
11165
11156
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11166
11157
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11309,7 +11300,7 @@ function updateInitializers(stmt, update) {
|
|
|
11309
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)))));
|
|
11310
11301
|
}
|
|
11311
11302
|
|
|
11312
|
-
// bazel-out/
|
|
11303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11313
11304
|
var ShimReferenceTagger = class {
|
|
11314
11305
|
constructor(shimExtensions) {
|
|
11315
11306
|
this.tagged = new Set();
|
|
@@ -11343,7 +11334,7 @@ var ShimReferenceTagger = class {
|
|
|
11343
11334
|
}
|
|
11344
11335
|
};
|
|
11345
11336
|
|
|
11346
|
-
// bazel-out/
|
|
11337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11347
11338
|
import ts47 from "typescript";
|
|
11348
11339
|
var SummaryGenerator = class {
|
|
11349
11340
|
constructor() {
|
|
@@ -11383,7 +11374,7 @@ function isExported2(decl) {
|
|
|
11383
11374
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11384
11375
|
}
|
|
11385
11376
|
|
|
11386
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11387
11378
|
var DelegatingCompilerHost = class {
|
|
11388
11379
|
constructor(delegate) {
|
|
11389
11380
|
this.delegate = delegate;
|
|
@@ -11492,7 +11483,7 @@ var TsCreateProgramDriver = class {
|
|
|
11492
11483
|
}
|
|
11493
11484
|
};
|
|
11494
11485
|
|
|
11495
|
-
// bazel-out/
|
|
11486
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11496
11487
|
var FileDependencyGraph = class {
|
|
11497
11488
|
constructor() {
|
|
11498
11489
|
this.nodes = new Map();
|
|
@@ -11559,7 +11550,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11559
11550
|
return false;
|
|
11560
11551
|
}
|
|
11561
11552
|
|
|
11562
|
-
// bazel-out/
|
|
11553
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11563
11554
|
var IncrementalStateKind;
|
|
11564
11555
|
(function(IncrementalStateKind2) {
|
|
11565
11556
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11567,7 +11558,7 @@ var IncrementalStateKind;
|
|
|
11567
11558
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11568
11559
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11569
11560
|
|
|
11570
|
-
// bazel-out/
|
|
11561
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11571
11562
|
var PhaseKind;
|
|
11572
11563
|
(function(PhaseKind2) {
|
|
11573
11564
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11768,7 +11759,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11768
11759
|
}
|
|
11769
11760
|
}
|
|
11770
11761
|
|
|
11771
|
-
// bazel-out/
|
|
11762
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11772
11763
|
var TrackedIncrementalBuildStrategy = class {
|
|
11773
11764
|
constructor() {
|
|
11774
11765
|
this.state = null;
|
|
@@ -11789,7 +11780,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
11789
11780
|
};
|
|
11790
11781
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11791
11782
|
|
|
11792
|
-
// bazel-out/
|
|
11783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11793
11784
|
var IdentifierKind;
|
|
11794
11785
|
(function(IdentifierKind2) {
|
|
11795
11786
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11807,7 +11798,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11807
11798
|
}
|
|
11808
11799
|
};
|
|
11809
11800
|
|
|
11810
|
-
// bazel-out/
|
|
11801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11811
11802
|
var IndexingContext = class {
|
|
11812
11803
|
constructor() {
|
|
11813
11804
|
this.components = new Set();
|
|
@@ -11817,10 +11808,10 @@ var IndexingContext = class {
|
|
|
11817
11808
|
}
|
|
11818
11809
|
};
|
|
11819
11810
|
|
|
11820
|
-
// bazel-out/
|
|
11811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11821
11812
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11822
11813
|
|
|
11823
|
-
// bazel-out/
|
|
11814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11824
11815
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11825
11816
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11826
11817
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12024,7 +12015,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12024
12015
|
return visitor.identifiers;
|
|
12025
12016
|
}
|
|
12026
12017
|
|
|
12027
|
-
// bazel-out/
|
|
12018
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12028
12019
|
function generateAnalysis(context) {
|
|
12029
12020
|
const analysis = new Map();
|
|
12030
12021
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12058,7 +12049,7 @@ function generateAnalysis(context) {
|
|
|
12058
12049
|
return analysis;
|
|
12059
12050
|
}
|
|
12060
12051
|
|
|
12061
|
-
// bazel-out/
|
|
12052
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12062
12053
|
import ts49 from "typescript";
|
|
12063
12054
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12064
12055
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12203,7 +12194,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12203
12194
|
};
|
|
12204
12195
|
}
|
|
12205
12196
|
|
|
12206
|
-
// bazel-out/
|
|
12197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12207
12198
|
var MetadataDtsModuleScopeResolver = class {
|
|
12208
12199
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12209
12200
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12289,7 +12280,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12289
12280
|
}
|
|
12290
12281
|
};
|
|
12291
12282
|
|
|
12292
|
-
// bazel-out/
|
|
12283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12293
12284
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12294
12285
|
import ts50 from "typescript";
|
|
12295
12286
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12597,7 +12588,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12597
12588
|
]);
|
|
12598
12589
|
}
|
|
12599
12590
|
|
|
12600
|
-
// bazel-out/
|
|
12591
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12601
12592
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12602
12593
|
import ts51 from "typescript";
|
|
12603
12594
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12658,7 +12649,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12658
12649
|
}
|
|
12659
12650
|
};
|
|
12660
12651
|
|
|
12661
|
-
// bazel-out/
|
|
12652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12662
12653
|
import ts52 from "typescript";
|
|
12663
12654
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12664
12655
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12722,24 +12713,24 @@ function hasIvySwitches(stmt) {
|
|
|
12722
12713
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12723
12714
|
}
|
|
12724
12715
|
|
|
12725
|
-
// bazel-out/
|
|
12716
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12726
12717
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12727
12718
|
|
|
12728
|
-
// bazel-out/
|
|
12719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12729
12720
|
var OptimizeFor;
|
|
12730
12721
|
(function(OptimizeFor2) {
|
|
12731
12722
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12732
12723
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12733
12724
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12734
12725
|
|
|
12735
|
-
// bazel-out/
|
|
12726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12736
12727
|
var CompletionKind;
|
|
12737
12728
|
(function(CompletionKind2) {
|
|
12738
12729
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12739
12730
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12740
12731
|
})(CompletionKind || (CompletionKind = {}));
|
|
12741
12732
|
|
|
12742
|
-
// bazel-out/
|
|
12733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12743
12734
|
var SymbolKind;
|
|
12744
12735
|
(function(SymbolKind2) {
|
|
12745
12736
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12755,7 +12746,7 @@ var SymbolKind;
|
|
|
12755
12746
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12756
12747
|
})(SymbolKind || (SymbolKind = {}));
|
|
12757
12748
|
|
|
12758
|
-
// bazel-out/
|
|
12749
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12759
12750
|
import ts53 from "typescript";
|
|
12760
12751
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12761
12752
|
if (mapping.type === "direct") {
|
|
@@ -12828,7 +12819,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12828
12819
|
}
|
|
12829
12820
|
}
|
|
12830
12821
|
|
|
12831
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12832
12823
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12833
12824
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12834
12825
|
function getTemplateId(clazz) {
|
|
@@ -12845,11 +12836,11 @@ function allocateTemplateId(sf) {
|
|
|
12845
12836
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12846
12837
|
}
|
|
12847
12838
|
|
|
12848
|
-
// bazel-out/
|
|
12839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12849
12840
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12850
12841
|
import ts55 from "typescript";
|
|
12851
12842
|
|
|
12852
|
-
// bazel-out/
|
|
12843
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12853
12844
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12854
12845
|
import ts54 from "typescript";
|
|
12855
12846
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -12969,7 +12960,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
12969
12960
|
}) || false;
|
|
12970
12961
|
}
|
|
12971
12962
|
|
|
12972
|
-
// bazel-out/
|
|
12963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12973
12964
|
var CompletionEngine = class {
|
|
12974
12965
|
constructor(tcb, data, shimPath) {
|
|
12975
12966
|
this.tcb = tcb;
|
|
@@ -13120,10 +13111,10 @@ var CompletionEngine = class {
|
|
|
13120
13111
|
}
|
|
13121
13112
|
};
|
|
13122
13113
|
|
|
13123
|
-
// bazel-out/
|
|
13114
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13124
13115
|
import ts69 from "typescript";
|
|
13125
13116
|
|
|
13126
|
-
// bazel-out/
|
|
13117
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13127
13118
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13128
13119
|
import ts56 from "typescript";
|
|
13129
13120
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13173,11 +13164,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13173
13164
|
}
|
|
13174
13165
|
};
|
|
13175
13166
|
|
|
13176
|
-
// bazel-out/
|
|
13167
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13177
13168
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13178
13169
|
import ts62 from "typescript";
|
|
13179
13170
|
|
|
13180
|
-
// bazel-out/
|
|
13171
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13181
13172
|
import ts57 from "typescript";
|
|
13182
13173
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13183
13174
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13246,16 +13237,16 @@ function isAccessExpression(node) {
|
|
|
13246
13237
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13247
13238
|
}
|
|
13248
13239
|
|
|
13249
|
-
// bazel-out/
|
|
13240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13250
13241
|
import ts61 from "typescript";
|
|
13251
13242
|
|
|
13252
|
-
// bazel-out/
|
|
13243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13253
13244
|
import ts60 from "typescript";
|
|
13254
13245
|
|
|
13255
|
-
// bazel-out/
|
|
13246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13256
13247
|
import ts59 from "typescript";
|
|
13257
13248
|
|
|
13258
|
-
// bazel-out/
|
|
13249
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13259
13250
|
import ts58 from "typescript";
|
|
13260
13251
|
var INELIGIBLE = {};
|
|
13261
13252
|
function canEmitType(type, resolver) {
|
|
@@ -13330,7 +13321,7 @@ var TypeEmitter = class {
|
|
|
13330
13321
|
}
|
|
13331
13322
|
};
|
|
13332
13323
|
|
|
13333
|
-
// bazel-out/
|
|
13324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13334
13325
|
var TypeParameterEmitter = class {
|
|
13335
13326
|
constructor(typeParameters, reflector) {
|
|
13336
13327
|
this.typeParameters = typeParameters;
|
|
@@ -13393,7 +13384,7 @@ var TypeParameterEmitter = class {
|
|
|
13393
13384
|
}
|
|
13394
13385
|
};
|
|
13395
13386
|
|
|
13396
|
-
// bazel-out/
|
|
13387
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13397
13388
|
var TcbInliningRequirement;
|
|
13398
13389
|
(function(TcbInliningRequirement2) {
|
|
13399
13390
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13472,7 +13463,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13472
13463
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13473
13464
|
}
|
|
13474
13465
|
|
|
13475
|
-
// bazel-out/
|
|
13466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13476
13467
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13477
13468
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13478
13469
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13546,7 +13537,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13546
13537
|
});
|
|
13547
13538
|
}
|
|
13548
13539
|
|
|
13549
|
-
// bazel-out/
|
|
13540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13550
13541
|
var Environment = class {
|
|
13551
13542
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13552
13543
|
this.config = config;
|
|
@@ -13632,7 +13623,7 @@ var Environment = class {
|
|
|
13632
13623
|
}
|
|
13633
13624
|
};
|
|
13634
13625
|
|
|
13635
|
-
// bazel-out/
|
|
13626
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13636
13627
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13637
13628
|
import ts63 from "typescript";
|
|
13638
13629
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13764,7 +13755,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13764
13755
|
});
|
|
13765
13756
|
}
|
|
13766
13757
|
|
|
13767
|
-
// bazel-out/
|
|
13758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13768
13759
|
import ts64 from "typescript";
|
|
13769
13760
|
var TypeCheckShimGenerator = class {
|
|
13770
13761
|
constructor() {
|
|
@@ -13782,11 +13773,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13782
13773
|
}
|
|
13783
13774
|
};
|
|
13784
13775
|
|
|
13785
|
-
// bazel-out/
|
|
13776
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13786
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";
|
|
13787
13778
|
import ts67 from "typescript";
|
|
13788
13779
|
|
|
13789
|
-
// bazel-out/
|
|
13780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13790
13781
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13791
13782
|
import ts65 from "typescript";
|
|
13792
13783
|
function wrapForDiagnostics(expr) {
|
|
@@ -13832,7 +13823,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13832
13823
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13833
13824
|
}
|
|
13834
13825
|
|
|
13835
|
-
// bazel-out/
|
|
13826
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13836
13827
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13837
13828
|
import ts66 from "typescript";
|
|
13838
13829
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14136,7 +14127,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14136
14127
|
};
|
|
14137
14128
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14138
14129
|
|
|
14139
|
-
// bazel-out/
|
|
14130
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14140
14131
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14141
14132
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14142
14133
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14160,7 +14151,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14160
14151
|
}
|
|
14161
14152
|
};
|
|
14162
14153
|
|
|
14163
|
-
// bazel-out/
|
|
14154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14164
14155
|
var TcbGenericContextBehavior;
|
|
14165
14156
|
(function(TcbGenericContextBehavior2) {
|
|
14166
14157
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15212,7 +15203,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15212
15203
|
}
|
|
15213
15204
|
};
|
|
15214
15205
|
|
|
15215
|
-
// bazel-out/
|
|
15206
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15216
15207
|
import ts68 from "typescript";
|
|
15217
15208
|
var TypeCheckFile = class extends Environment {
|
|
15218
15209
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15248,7 +15239,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15248
15239
|
}
|
|
15249
15240
|
};
|
|
15250
15241
|
|
|
15251
|
-
// bazel-out/
|
|
15242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15252
15243
|
var InliningMode;
|
|
15253
15244
|
(function(InliningMode2) {
|
|
15254
15245
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15478,10 +15469,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15478
15469
|
return splits;
|
|
15479
15470
|
}
|
|
15480
15471
|
|
|
15481
|
-
// bazel-out/
|
|
15472
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15482
15473
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15483
15474
|
|
|
15484
|
-
// bazel-out/
|
|
15475
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15485
15476
|
var LF_CHAR = 10;
|
|
15486
15477
|
var CR_CHAR = 13;
|
|
15487
15478
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15522,7 +15513,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15522
15513
|
return low - 1;
|
|
15523
15514
|
}
|
|
15524
15515
|
|
|
15525
|
-
// bazel-out/
|
|
15516
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15526
15517
|
var TemplateSource = class {
|
|
15527
15518
|
constructor(mapping, file) {
|
|
15528
15519
|
this.mapping = mapping;
|
|
@@ -15573,7 +15564,7 @@ var TemplateSourceManager = class {
|
|
|
15573
15564
|
}
|
|
15574
15565
|
};
|
|
15575
15566
|
|
|
15576
|
-
// bazel-out/
|
|
15567
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15577
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";
|
|
15578
15569
|
import ts70 from "typescript";
|
|
15579
15570
|
var SymbolBuilder = class {
|
|
@@ -15998,7 +15989,7 @@ function sourceSpanEqual(a, b) {
|
|
|
15998
15989
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
15999
15990
|
}
|
|
16000
15991
|
|
|
16001
|
-
// bazel-out/
|
|
15992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
16002
15993
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
16003
15994
|
var TemplateTypeCheckerImpl = class {
|
|
16004
15995
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16514,7 +16505,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16514
16505
|
}
|
|
16515
16506
|
};
|
|
16516
16507
|
|
|
16517
|
-
// bazel-out/
|
|
16508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16518
16509
|
var ExtendedTemplateCheckerImpl = class {
|
|
16519
16510
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16520
16511
|
this.templateChecks = templateChecks;
|
|
@@ -16533,11 +16524,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16533
16524
|
}
|
|
16534
16525
|
};
|
|
16535
16526
|
|
|
16536
|
-
// bazel-out/
|
|
16527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16537
16528
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16538
16529
|
import ts71 from "typescript";
|
|
16539
16530
|
|
|
16540
|
-
// bazel-out/
|
|
16531
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16541
16532
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16542
16533
|
var TemplateCheckWithVisitor = class {
|
|
16543
16534
|
run(ctx, component, template) {
|
|
@@ -16614,7 +16605,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16614
16605
|
}
|
|
16615
16606
|
};
|
|
16616
16607
|
|
|
16617
|
-
// bazel-out/
|
|
16608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16618
16609
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16619
16610
|
constructor() {
|
|
16620
16611
|
super(...arguments);
|
|
@@ -16634,7 +16625,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16634
16625
|
}
|
|
16635
16626
|
};
|
|
16636
16627
|
|
|
16637
|
-
// bazel-out/
|
|
16628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16638
16629
|
import { Binary } from "@angular/compiler";
|
|
16639
16630
|
import ts72 from "typescript";
|
|
16640
16631
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16662,7 +16653,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16662
16653
|
}
|
|
16663
16654
|
};
|
|
16664
16655
|
|
|
16665
|
-
// bazel-out/
|
|
16656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16666
16657
|
var CompilationTicketKind;
|
|
16667
16658
|
(function(CompilationTicketKind2) {
|
|
16668
16659
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17159,7 +17150,7 @@ var NgCompiler = class {
|
|
|
17159
17150
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
17160
17151
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
17161
17152
|
new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
|
|
17162
|
-
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)
|
|
17163
17154
|
];
|
|
17164
17155
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater);
|
|
17165
17156
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -17284,11 +17275,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17284
17275
|
return versions;
|
|
17285
17276
|
}
|
|
17286
17277
|
|
|
17287
|
-
// bazel-out/
|
|
17278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17288
17279
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17289
17280
|
import ts76 from "typescript";
|
|
17290
17281
|
|
|
17291
|
-
// bazel-out/
|
|
17282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17292
17283
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17293
17284
|
import {
|
|
17294
17285
|
relative as relative5,
|
|
@@ -17343,10 +17334,10 @@ function getPathNormalizer(basePath) {
|
|
|
17343
17334
|
};
|
|
17344
17335
|
}
|
|
17345
17336
|
|
|
17346
|
-
// bazel-out/
|
|
17337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17347
17338
|
import ts74 from "typescript";
|
|
17348
17339
|
|
|
17349
|
-
// bazel-out/
|
|
17340
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17350
17341
|
function toNumbers(value) {
|
|
17351
17342
|
return value.split(".").map(Number);
|
|
17352
17343
|
}
|
|
@@ -17374,7 +17365,7 @@ function compareVersions(v1, v2) {
|
|
|
17374
17365
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17375
17366
|
}
|
|
17376
17367
|
|
|
17377
|
-
// bazel-out/
|
|
17368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17378
17369
|
var MIN_TS_VERSION = "4.4.2";
|
|
17379
17370
|
var MAX_TS_VERSION = "4.5.0";
|
|
17380
17371
|
var tsVersion = ts74.version;
|
|
@@ -17387,7 +17378,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17387
17378
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17388
17379
|
}
|
|
17389
17380
|
|
|
17390
|
-
// bazel-out/
|
|
17381
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17391
17382
|
import ts75 from "typescript";
|
|
17392
17383
|
var DelegatingCompilerHost2 = class {
|
|
17393
17384
|
constructor(delegate) {
|
|
@@ -17527,7 +17518,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17527
17518
|
}
|
|
17528
17519
|
};
|
|
17529
17520
|
|
|
17530
|
-
// bazel-out/
|
|
17521
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17531
17522
|
var NgtscProgram = class {
|
|
17532
17523
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17533
17524
|
this.options = options;
|
|
@@ -17740,10 +17731,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17740
17731
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17741
17732
|
}
|
|
17742
17733
|
|
|
17743
|
-
// bazel-out/
|
|
17734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17744
17735
|
import ts78 from "typescript";
|
|
17745
17736
|
|
|
17746
|
-
// bazel-out/
|
|
17737
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17747
17738
|
import ts77 from "typescript";
|
|
17748
17739
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17749
17740
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17778,7 +17769,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17778
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.");
|
|
17779
17770
|
}
|
|
17780
17771
|
|
|
17781
|
-
// bazel-out/
|
|
17772
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17782
17773
|
function isAngularDecorator3(decorator, isCore) {
|
|
17783
17774
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17784
17775
|
}
|
|
@@ -18082,7 +18073,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18082
18073
|
};
|
|
18083
18074
|
}
|
|
18084
18075
|
|
|
18085
|
-
// bazel-out/
|
|
18076
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18086
18077
|
import ts79 from "typescript";
|
|
18087
18078
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18088
18079
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18277,7 +18268,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18277
18268
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18278
18269
|
}
|
|
18279
18270
|
|
|
18280
|
-
// bazel-out/
|
|
18271
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18281
18272
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18282
18273
|
import ts80 from "typescript";
|
|
18283
18274
|
function toMap(items, select) {
|
|
@@ -18554,7 +18545,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18554
18545
|
return exportTable;
|
|
18555
18546
|
}
|
|
18556
18547
|
|
|
18557
|
-
// bazel-out/
|
|
18548
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18558
18549
|
import ts81 from "typescript";
|
|
18559
18550
|
var MetadataCache = class {
|
|
18560
18551
|
constructor(collector, strict, transformers) {
|
|
@@ -18595,10 +18586,10 @@ var MetadataCache = class {
|
|
|
18595
18586
|
}
|
|
18596
18587
|
};
|
|
18597
18588
|
|
|
18598
|
-
// bazel-out/
|
|
18589
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18599
18590
|
import ts83 from "typescript";
|
|
18600
18591
|
|
|
18601
|
-
// bazel-out/
|
|
18592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18602
18593
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18603
18594
|
import ts82 from "typescript";
|
|
18604
18595
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19050,7 +19041,7 @@ function translateModifiers(modifiers) {
|
|
|
19050
19041
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19051
19042
|
}
|
|
19052
19043
|
|
|
19053
|
-
// bazel-out/
|
|
19044
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19054
19045
|
function getPreamble(original) {
|
|
19055
19046
|
return `*
|
|
19056
19047
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19097,7 +19088,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19097
19088
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19098
19089
|
}
|
|
19099
19090
|
|
|
19100
|
-
// bazel-out/
|
|
19091
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19101
19092
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19102
19093
|
import ts84 from "typescript";
|
|
19103
19094
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19133,7 +19124,7 @@ function isClassStmt(v) {
|
|
|
19133
19124
|
return v instanceof ClassStmt2;
|
|
19134
19125
|
}
|
|
19135
19126
|
|
|
19136
|
-
// bazel-out/
|
|
19127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19137
19128
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19138
19129
|
if (modules.length === 0) {
|
|
19139
19130
|
return () => (sf) => sf;
|
|
@@ -19151,7 +19142,7 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19151
19142
|
};
|
|
19152
19143
|
}
|
|
19153
19144
|
|
|
19154
|
-
// bazel-out/
|
|
19145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19155
19146
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19156
19147
|
var VE_DISABLED_MESSAGE = `
|
|
19157
19148
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
@@ -19876,7 +19867,7 @@ function isIvyNgModule(clazz) {
|
|
|
19876
19867
|
return false;
|
|
19877
19868
|
}
|
|
19878
19869
|
|
|
19879
|
-
// bazel-out/
|
|
19870
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19880
19871
|
var defaultFormatHost = {
|
|
19881
19872
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19882
19873
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20105,7 +20096,7 @@ function hasErrors(diags) {
|
|
|
20105
20096
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20106
20097
|
}
|
|
20107
20098
|
|
|
20108
|
-
// bazel-out/
|
|
20099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
20109
20100
|
import {
|
|
20110
20101
|
watch
|
|
20111
20102
|
} from "chokidar";
|
|
@@ -20319,7 +20310,7 @@ function performWatchCompilation(host) {
|
|
|
20319
20310
|
}
|
|
20320
20311
|
}
|
|
20321
20312
|
|
|
20322
|
-
// bazel-out/
|
|
20313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
20323
20314
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
20324
20315
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
20325
20316
|
if (configErrors.length) {
|
|
@@ -20447,7 +20438,7 @@ function printDiagnostics(diagnostics, options, consoleError) {
|
|
|
20447
20438
|
consoleError(formatDiagnostics(diagnostics, formatHost));
|
|
20448
20439
|
}
|
|
20449
20440
|
|
|
20450
|
-
// bazel-out/
|
|
20441
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
20451
20442
|
async function runNgcComamnd() {
|
|
20452
20443
|
process.title = "Angular Compiler (ngc)";
|
|
20453
20444
|
const args = process.argv.slice(2);
|