@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
|
@@ -31,16 +31,16 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
31
31
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
35
35
|
import "reflect-metadata";
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
38
38
|
import {
|
|
39
39
|
EOL
|
|
40
40
|
} from "os";
|
|
41
41
|
import ts from "typescript";
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
44
44
|
var InvalidFileSystem = class {
|
|
45
45
|
exists(path8) {
|
|
46
46
|
throw makeError();
|
|
@@ -128,7 +128,7 @@ function makeError() {
|
|
|
128
128
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
132
132
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
133
133
|
function stripExtension(path8) {
|
|
134
134
|
return path8.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -141,7 +141,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
141
141
|
return sf;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
145
145
|
var fs = new InvalidFileSystem();
|
|
146
146
|
function getFileSystem() {
|
|
147
147
|
return fs;
|
|
@@ -188,7 +188,7 @@ function toRelativeImport(relativePath) {
|
|
|
188
188
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
192
192
|
var LogicalProjectPath = {
|
|
193
193
|
relativePathBetween: function(from, to) {
|
|
194
194
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -234,7 +234,7 @@ function isWithinBasePath(base, path8) {
|
|
|
234
234
|
return isLocalRelativePath(relative(base, path8));
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
238
238
|
import {
|
|
239
239
|
copyFileSync,
|
|
240
240
|
existsSync,
|
|
@@ -379,21 +379,18 @@ function toggleCase(str) {
|
|
|
379
379
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
// bazel-out/
|
|
382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
383
383
|
import yargs2 from "yargs";
|
|
384
384
|
|
|
385
|
-
// bazel-out/
|
|
385
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
386
386
|
import ts88 from "typescript";
|
|
387
387
|
import yargs from "yargs";
|
|
388
388
|
|
|
389
|
-
// bazel-out/
|
|
389
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
390
390
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
391
391
|
import ts86 from "typescript";
|
|
392
392
|
|
|
393
|
-
// bazel-out/
|
|
394
|
-
import ts2 from "typescript";
|
|
395
|
-
|
|
396
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
397
394
|
var ErrorCode;
|
|
398
395
|
(function(ErrorCode2) {
|
|
399
396
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -443,7 +440,8 @@ var ErrorCode;
|
|
|
443
440
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
444
441
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
445
442
|
})(ErrorCode || (ErrorCode = {}));
|
|
446
|
-
|
|
443
|
+
|
|
444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
447
445
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
448
446
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
449
447
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -453,11 +451,20 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
453
451
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
454
452
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
455
453
|
]);
|
|
454
|
+
|
|
455
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
456
|
+
import ts2 from "typescript";
|
|
457
|
+
|
|
458
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
459
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
460
|
+
function replaceTsWithNgInErrors(errors) {
|
|
461
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
462
|
+
}
|
|
456
463
|
function ngErrorCode(code) {
|
|
457
464
|
return parseInt("-99" + code);
|
|
458
465
|
}
|
|
459
466
|
|
|
460
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
461
468
|
var FatalDiagnosticError = class {
|
|
462
469
|
constructor(code, node, message, relatedInformation) {
|
|
463
470
|
this.code = code;
|
|
@@ -494,13 +501,10 @@ function makeRelatedInformation(node, messageText) {
|
|
|
494
501
|
};
|
|
495
502
|
}
|
|
496
503
|
|
|
497
|
-
// bazel-out/
|
|
498
|
-
var
|
|
499
|
-
function replaceTsWithNgInErrors(errors) {
|
|
500
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
501
|
-
}
|
|
504
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
505
|
+
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
502
506
|
|
|
503
|
-
// bazel-out/
|
|
507
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
504
508
|
var DEFAULT_ERROR_CODE = 100;
|
|
505
509
|
var UNKNOWN_ERROR_CODE = 500;
|
|
506
510
|
var SOURCE = "angular";
|
|
@@ -518,7 +522,7 @@ var EmitFlags;
|
|
|
518
522
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
519
523
|
})(EmitFlags || (EmitFlags = {}));
|
|
520
524
|
|
|
521
|
-
// bazel-out/
|
|
525
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
522
526
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
523
527
|
import fs3 from "fs";
|
|
524
528
|
import {
|
|
@@ -531,13 +535,13 @@ import {
|
|
|
531
535
|
} from "path";
|
|
532
536
|
import ts9 from "typescript";
|
|
533
537
|
|
|
534
|
-
// bazel-out/
|
|
538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
535
539
|
import ts5 from "typescript";
|
|
536
540
|
|
|
537
|
-
// bazel-out/
|
|
541
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
538
542
|
import ts3 from "typescript";
|
|
539
543
|
|
|
540
|
-
// bazel-out/
|
|
544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
541
545
|
var METADATA_VERSION = 4;
|
|
542
546
|
function isClassMetadata(value) {
|
|
543
547
|
return value && value.__symbolic === "class";
|
|
@@ -599,7 +603,7 @@ function isMetadataError(value) {
|
|
|
599
603
|
return value && value.__symbolic === "error";
|
|
600
604
|
}
|
|
601
605
|
|
|
602
|
-
// bazel-out/
|
|
606
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
603
607
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
604
608
|
function isMethodCallOf(callExpression, memberName) {
|
|
605
609
|
const expression = callExpression.expression;
|
|
@@ -1158,7 +1162,7 @@ function arrayOrEmpty(v) {
|
|
|
1158
1162
|
return v || empty;
|
|
1159
1163
|
}
|
|
1160
1164
|
|
|
1161
|
-
// bazel-out/
|
|
1165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1162
1166
|
import ts4 from "typescript";
|
|
1163
1167
|
var Symbols = class {
|
|
1164
1168
|
constructor(sourceFile) {
|
|
@@ -1283,7 +1287,7 @@ function populateBuiltins(symbols) {
|
|
|
1283
1287
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1284
1288
|
}
|
|
1285
1289
|
|
|
1286
|
-
// bazel-out/
|
|
1290
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1287
1291
|
var isStatic = (node) => ts5.getCombinedModifierFlags(node) & ts5.ModifierFlags.Static;
|
|
1288
1292
|
var MetadataCollector = class {
|
|
1289
1293
|
constructor(options = {}) {
|
|
@@ -1904,7 +1908,7 @@ function expandedMessage(error2) {
|
|
|
1904
1908
|
return error2.message;
|
|
1905
1909
|
}
|
|
1906
1910
|
|
|
1907
|
-
// bazel-out/
|
|
1911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1908
1912
|
import {
|
|
1909
1913
|
basename as basename4,
|
|
1910
1914
|
dirname as dirname4,
|
|
@@ -1913,7 +1917,7 @@ import {
|
|
|
1913
1917
|
} from "path";
|
|
1914
1918
|
import ts7 from "typescript";
|
|
1915
1919
|
|
|
1916
|
-
// bazel-out/
|
|
1920
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1917
1921
|
import {
|
|
1918
1922
|
basename as basename3,
|
|
1919
1923
|
dirname as dirname3,
|
|
@@ -2383,7 +2387,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2383
2387
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2384
2388
|
}
|
|
2385
2389
|
|
|
2386
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2387
2391
|
var INDEX_HEADER = `/**
|
|
2388
2392
|
* Generated bundle index. Do not edit.
|
|
2389
2393
|
*/
|
|
@@ -2417,7 +2421,7 @@ function compare(select) {
|
|
|
2417
2421
|
};
|
|
2418
2422
|
}
|
|
2419
2423
|
|
|
2420
|
-
// bazel-out/
|
|
2424
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2421
2425
|
var DTS = /\.d\.ts$/;
|
|
2422
2426
|
var JS_EXT = /(\.js|)$/;
|
|
2423
2427
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2496,7 +2500,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2496
2500
|
return { host, indexName: name };
|
|
2497
2501
|
}
|
|
2498
2502
|
|
|
2499
|
-
// bazel-out/
|
|
2503
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2500
2504
|
import { syntaxError } from "@angular/compiler";
|
|
2501
2505
|
import {
|
|
2502
2506
|
relative as relative3
|
|
@@ -2562,7 +2566,7 @@ function stripComment(commentText) {
|
|
|
2562
2566
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2563
2567
|
}
|
|
2564
2568
|
|
|
2565
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2566
2570
|
function createMetadataReaderCache() {
|
|
2567
2571
|
const data = new Map();
|
|
2568
2572
|
return { data };
|
|
@@ -2639,7 +2643,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2639
2643
|
return newMetadata;
|
|
2640
2644
|
}
|
|
2641
2645
|
|
|
2642
|
-
// bazel-out/
|
|
2646
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2643
2647
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2644
2648
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2645
2649
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3099,7 +3103,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3099
3103
|
return `${fileName}.$ngresource$`;
|
|
3100
3104
|
}
|
|
3101
3105
|
|
|
3102
|
-
// bazel-out/
|
|
3106
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3103
3107
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3104
3108
|
import {
|
|
3105
3109
|
readFileSync as readFileSync2
|
|
@@ -3107,7 +3111,7 @@ import {
|
|
|
3107
3111
|
import * as path6 from "path";
|
|
3108
3112
|
import ts85 from "typescript";
|
|
3109
3113
|
|
|
3110
|
-
// bazel-out/
|
|
3114
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3111
3115
|
import ts10 from "typescript";
|
|
3112
3116
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3113
3117
|
const ts89 = [];
|
|
@@ -3142,21 +3146,21 @@ function diagnosticMessageToString(message) {
|
|
|
3142
3146
|
return ts10.flattenDiagnosticMessageText(message, "\n");
|
|
3143
3147
|
}
|
|
3144
3148
|
|
|
3145
|
-
// bazel-out/
|
|
3149
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3146
3150
|
import ts73 from "typescript";
|
|
3147
3151
|
|
|
3148
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3149
3153
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3150
3154
|
import ts39 from "typescript";
|
|
3151
3155
|
|
|
3152
|
-
// bazel-out/
|
|
3156
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3153
3157
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3154
3158
|
|
|
3155
|
-
// bazel-out/
|
|
3159
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3156
3160
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3157
3161
|
import ts13 from "typescript";
|
|
3158
3162
|
|
|
3159
|
-
// bazel-out/
|
|
3163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3160
3164
|
import ts11 from "typescript";
|
|
3161
3165
|
var TS2 = /\.tsx?$/i;
|
|
3162
3166
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3244,7 +3248,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3244
3248
|
return redirectInfo.unredirected;
|
|
3245
3249
|
}
|
|
3246
3250
|
|
|
3247
|
-
// bazel-out/
|
|
3251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3248
3252
|
import ts12 from "typescript";
|
|
3249
3253
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3250
3254
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3268,7 +3272,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3268
3272
|
return foundExportName;
|
|
3269
3273
|
}
|
|
3270
3274
|
|
|
3271
|
-
// bazel-out/
|
|
3275
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3272
3276
|
var ImportFlags;
|
|
3273
3277
|
(function(ImportFlags2) {
|
|
3274
3278
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3428,7 +3432,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3428
3432
|
}
|
|
3429
3433
|
};
|
|
3430
3434
|
|
|
3431
|
-
// bazel-out/
|
|
3435
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3432
3436
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3433
3437
|
var UnifiedModulesAliasingHost = class {
|
|
3434
3438
|
constructor(unifiedModulesHost) {
|
|
@@ -3491,7 +3495,7 @@ var AliasStrategy = class {
|
|
|
3491
3495
|
}
|
|
3492
3496
|
};
|
|
3493
3497
|
|
|
3494
|
-
// bazel-out/
|
|
3498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3495
3499
|
function relativePathBetween(from, to) {
|
|
3496
3500
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3497
3501
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3500,7 +3504,7 @@ function normalizeSeparators2(path8) {
|
|
|
3500
3504
|
return path8.replace(/\\/g, "/");
|
|
3501
3505
|
}
|
|
3502
3506
|
|
|
3503
|
-
// bazel-out/
|
|
3507
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3504
3508
|
var NoopImportRewriter = class {
|
|
3505
3509
|
shouldImportSymbol(symbol, specifier) {
|
|
3506
3510
|
return true;
|
|
@@ -3558,7 +3562,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3558
3562
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3559
3563
|
}
|
|
3560
3564
|
|
|
3561
|
-
// bazel-out/
|
|
3565
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3562
3566
|
import ts14 from "typescript";
|
|
3563
3567
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3564
3568
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3603,7 +3607,7 @@ var DefaultImportTracker = class {
|
|
|
3603
3607
|
}
|
|
3604
3608
|
};
|
|
3605
3609
|
|
|
3606
|
-
// bazel-out/
|
|
3610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3607
3611
|
var Reference = class {
|
|
3608
3612
|
constructor(node, bestGuessOwningModule = null) {
|
|
3609
3613
|
this.node = node;
|
|
@@ -3666,7 +3670,7 @@ var Reference = class {
|
|
|
3666
3670
|
}
|
|
3667
3671
|
};
|
|
3668
3672
|
|
|
3669
|
-
// bazel-out/
|
|
3673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3670
3674
|
var ModuleResolver = class {
|
|
3671
3675
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3672
3676
|
this.program = program;
|
|
@@ -3683,7 +3687,7 @@ var ModuleResolver = class {
|
|
|
3683
3687
|
}
|
|
3684
3688
|
};
|
|
3685
3689
|
|
|
3686
|
-
// bazel-out/
|
|
3690
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3687
3691
|
import ts15 from "typescript";
|
|
3688
3692
|
var SemanticSymbol = class {
|
|
3689
3693
|
constructor(decl) {
|
|
@@ -3699,7 +3703,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3699
3703
|
return decl.name.text;
|
|
3700
3704
|
}
|
|
3701
3705
|
|
|
3702
|
-
// bazel-out/
|
|
3706
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3703
3707
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3704
3708
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3705
3709
|
isPublicApiAffected() {
|
|
@@ -3842,10 +3846,10 @@ function getImportPath(expr) {
|
|
|
3842
3846
|
}
|
|
3843
3847
|
}
|
|
3844
3848
|
|
|
3845
|
-
// bazel-out/
|
|
3849
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3846
3850
|
import ts16 from "typescript";
|
|
3847
3851
|
|
|
3848
|
-
// bazel-out/
|
|
3852
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3849
3853
|
function isSymbolEqual(a, b) {
|
|
3850
3854
|
if (a.decl === b.decl) {
|
|
3851
3855
|
return true;
|
|
@@ -3895,7 +3899,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3895
3899
|
return true;
|
|
3896
3900
|
}
|
|
3897
3901
|
|
|
3898
|
-
// bazel-out/
|
|
3902
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3899
3903
|
function extractSemanticTypeParameters(node) {
|
|
3900
3904
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3901
3905
|
return null;
|
|
@@ -3915,17 +3919,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
3915
3919
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3916
3920
|
}
|
|
3917
3921
|
|
|
3918
|
-
// bazel-out/
|
|
3922
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
3919
3923
|
var MetaType;
|
|
3920
3924
|
(function(MetaType2) {
|
|
3921
3925
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
3922
3926
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
3923
3927
|
})(MetaType || (MetaType = {}));
|
|
3924
3928
|
|
|
3925
|
-
// bazel-out/
|
|
3929
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
3926
3930
|
import ts22 from "typescript";
|
|
3927
3931
|
|
|
3928
|
-
// bazel-out/
|
|
3932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
3929
3933
|
import ts17 from "typescript";
|
|
3930
3934
|
var Decorator = {
|
|
3931
3935
|
nodeForError: (decorator) => {
|
|
@@ -3960,7 +3964,7 @@ function isConcreteDeclaration(decl) {
|
|
|
3960
3964
|
return decl.kind === 0;
|
|
3961
3965
|
}
|
|
3962
3966
|
|
|
3963
|
-
// bazel-out/
|
|
3967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
3964
3968
|
import ts18 from "typescript";
|
|
3965
3969
|
function typeToValue(typeNode, checker) {
|
|
3966
3970
|
if (typeNode === null) {
|
|
@@ -4121,10 +4125,10 @@ function extractModuleName(node) {
|
|
|
4121
4125
|
return node.moduleSpecifier.text;
|
|
4122
4126
|
}
|
|
4123
4127
|
|
|
4124
|
-
// bazel-out/
|
|
4128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4125
4129
|
import ts20 from "typescript";
|
|
4126
4130
|
|
|
4127
|
-
// bazel-out/
|
|
4131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4128
4132
|
import ts19 from "typescript";
|
|
4129
4133
|
function isNamedClassDeclaration(node) {
|
|
4130
4134
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4133,7 +4137,7 @@ function isIdentifier(node) {
|
|
|
4133
4137
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4134
4138
|
}
|
|
4135
4139
|
|
|
4136
|
-
// bazel-out/
|
|
4140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4137
4141
|
var TypeScriptReflectionHost = class {
|
|
4138
4142
|
constructor(checker) {
|
|
4139
4143
|
this.checker = checker;
|
|
@@ -4569,7 +4573,7 @@ function getExportedName(decl, originalId) {
|
|
|
4569
4573
|
}
|
|
4570
4574
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4571
4575
|
|
|
4572
|
-
// bazel-out/
|
|
4576
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4573
4577
|
var ClassPropertyMapping = class {
|
|
4574
4578
|
constructor(forwardMap) {
|
|
4575
4579
|
this.forwardMap = forwardMap;
|
|
@@ -4645,7 +4649,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4645
4649
|
return reverseMap;
|
|
4646
4650
|
}
|
|
4647
4651
|
|
|
4648
|
-
// bazel-out/
|
|
4652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4649
4653
|
import ts21 from "typescript";
|
|
4650
4654
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4651
4655
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4812,7 +4816,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4812
4816
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4813
4817
|
}
|
|
4814
4818
|
|
|
4815
|
-
// bazel-out/
|
|
4819
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4816
4820
|
var DtsMetadataReader = class {
|
|
4817
4821
|
constructor(checker, reflector) {
|
|
4818
4822
|
this.checker = checker;
|
|
@@ -4912,7 +4916,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4912
4916
|
return null;
|
|
4913
4917
|
}
|
|
4914
4918
|
|
|
4915
|
-
// bazel-out/
|
|
4919
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
4916
4920
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4917
4921
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4918
4922
|
if (topMeta === null) {
|
|
@@ -4969,7 +4973,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4969
4973
|
});
|
|
4970
4974
|
}
|
|
4971
4975
|
|
|
4972
|
-
// bazel-out/
|
|
4976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
4973
4977
|
var LocalMetadataRegistry = class {
|
|
4974
4978
|
constructor() {
|
|
4975
4979
|
this.directives = new Map();
|
|
@@ -5028,7 +5032,7 @@ var InjectableClassRegistry = class {
|
|
|
5028
5032
|
}
|
|
5029
5033
|
};
|
|
5030
5034
|
|
|
5031
|
-
// bazel-out/
|
|
5035
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5032
5036
|
var ResourceRegistry = class {
|
|
5033
5037
|
constructor() {
|
|
5034
5038
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5093,10 +5097,10 @@ var ResourceRegistry = class {
|
|
|
5093
5097
|
}
|
|
5094
5098
|
};
|
|
5095
5099
|
|
|
5096
|
-
// bazel-out/
|
|
5100
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5097
5101
|
import ts23 from "typescript";
|
|
5098
5102
|
|
|
5099
|
-
// bazel-out/
|
|
5103
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5100
5104
|
var DynamicValue = class {
|
|
5101
5105
|
constructor(node, reason, code) {
|
|
5102
5106
|
this.node = node;
|
|
@@ -5181,7 +5185,7 @@ var DynamicValue = class {
|
|
|
5181
5185
|
}
|
|
5182
5186
|
};
|
|
5183
5187
|
|
|
5184
|
-
// bazel-out/
|
|
5188
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5185
5189
|
var ResolvedModule = class {
|
|
5186
5190
|
constructor(exports, evaluate) {
|
|
5187
5191
|
this.exports = exports;
|
|
@@ -5211,7 +5215,7 @@ var EnumValue = class {
|
|
|
5211
5215
|
var KnownFn = class {
|
|
5212
5216
|
};
|
|
5213
5217
|
|
|
5214
|
-
// bazel-out/
|
|
5218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5215
5219
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5216
5220
|
var _a, _b;
|
|
5217
5221
|
if (value === null) {
|
|
@@ -5337,10 +5341,10 @@ function getContainerNode(node) {
|
|
|
5337
5341
|
return node.getSourceFile();
|
|
5338
5342
|
}
|
|
5339
5343
|
|
|
5340
|
-
// bazel-out/
|
|
5344
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5341
5345
|
import ts24 from "typescript";
|
|
5342
5346
|
|
|
5343
|
-
// bazel-out/
|
|
5347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5344
5348
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5345
5349
|
constructor(lhs) {
|
|
5346
5350
|
super();
|
|
@@ -5393,7 +5397,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5393
5397
|
}
|
|
5394
5398
|
};
|
|
5395
5399
|
|
|
5396
|
-
// bazel-out/
|
|
5400
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5397
5401
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5398
5402
|
};
|
|
5399
5403
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5446,7 +5450,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5446
5450
|
}
|
|
5447
5451
|
};
|
|
5448
5452
|
|
|
5449
|
-
// bazel-out/
|
|
5453
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5450
5454
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5451
5455
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5452
5456
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5470,7 +5474,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5470
5474
|
}
|
|
5471
5475
|
}
|
|
5472
5476
|
|
|
5473
|
-
// bazel-out/
|
|
5477
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5474
5478
|
function literalBinaryOp(op) {
|
|
5475
5479
|
return { op, literal: true };
|
|
5476
5480
|
}
|
|
@@ -6055,7 +6059,7 @@ function owningModule(context, override = null) {
|
|
|
6055
6059
|
}
|
|
6056
6060
|
}
|
|
6057
6061
|
|
|
6058
|
-
// bazel-out/
|
|
6062
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6059
6063
|
var PartialEvaluator = class {
|
|
6060
6064
|
constructor(host, checker, dependencyTracker) {
|
|
6061
6065
|
this.host = host;
|
|
@@ -6075,7 +6079,7 @@ var PartialEvaluator = class {
|
|
|
6075
6079
|
}
|
|
6076
6080
|
};
|
|
6077
6081
|
|
|
6078
|
-
// bazel-out/
|
|
6082
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6079
6083
|
var PerfPhase;
|
|
6080
6084
|
(function(PerfPhase2) {
|
|
6081
6085
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6140,7 +6144,7 @@ var PerfCheckpoint;
|
|
|
6140
6144
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6141
6145
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6142
6146
|
|
|
6143
|
-
// bazel-out/
|
|
6147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6144
6148
|
var NoopPerfRecorder = class {
|
|
6145
6149
|
eventCount() {
|
|
6146
6150
|
}
|
|
@@ -6157,7 +6161,7 @@ var NoopPerfRecorder = class {
|
|
|
6157
6161
|
};
|
|
6158
6162
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6159
6163
|
|
|
6160
|
-
// bazel-out/
|
|
6164
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6161
6165
|
function mark() {
|
|
6162
6166
|
return process.hrtime();
|
|
6163
6167
|
}
|
|
@@ -6166,7 +6170,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6166
6170
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6167
6171
|
}
|
|
6168
6172
|
|
|
6169
|
-
// bazel-out/
|
|
6173
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6170
6174
|
var ActivePerfRecorder = class {
|
|
6171
6175
|
constructor(zeroTime) {
|
|
6172
6176
|
this.zeroTime = zeroTime;
|
|
@@ -6260,7 +6264,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6260
6264
|
}
|
|
6261
6265
|
};
|
|
6262
6266
|
|
|
6263
|
-
// bazel-out/
|
|
6267
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6264
6268
|
var CompilationMode;
|
|
6265
6269
|
(function(CompilationMode2) {
|
|
6266
6270
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6278,7 +6282,7 @@ var HandlerFlags;
|
|
|
6278
6282
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6279
6283
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6280
6284
|
|
|
6281
|
-
// bazel-out/
|
|
6285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6282
6286
|
import ts25 from "typescript";
|
|
6283
6287
|
function aliasTransformFactory(exportStatements) {
|
|
6284
6288
|
return (context) => {
|
|
@@ -6296,10 +6300,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6296
6300
|
};
|
|
6297
6301
|
}
|
|
6298
6302
|
|
|
6299
|
-
// bazel-out/
|
|
6303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6300
6304
|
import ts26 from "typescript";
|
|
6301
6305
|
|
|
6302
|
-
// bazel-out/
|
|
6306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6303
6307
|
var TraitState;
|
|
6304
6308
|
(function(TraitState2) {
|
|
6305
6309
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6354,7 +6358,7 @@ var TraitImpl = class {
|
|
|
6354
6358
|
}
|
|
6355
6359
|
};
|
|
6356
6360
|
|
|
6357
|
-
// bazel-out/
|
|
6361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6358
6362
|
var TraitCompiler = class {
|
|
6359
6363
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6360
6364
|
this.handlers = handlers;
|
|
@@ -6791,10 +6795,10 @@ var TraitCompiler = class {
|
|
|
6791
6795
|
}
|
|
6792
6796
|
};
|
|
6793
6797
|
|
|
6794
|
-
// bazel-out/
|
|
6798
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6795
6799
|
import ts31 from "typescript";
|
|
6796
6800
|
|
|
6797
|
-
// bazel-out/
|
|
6801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6798
6802
|
var Context = class {
|
|
6799
6803
|
constructor(isStatement) {
|
|
6800
6804
|
this.isStatement = isStatement;
|
|
@@ -6807,7 +6811,7 @@ var Context = class {
|
|
|
6807
6811
|
}
|
|
6808
6812
|
};
|
|
6809
6813
|
|
|
6810
|
-
// bazel-out/
|
|
6814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6811
6815
|
import ts27 from "typescript";
|
|
6812
6816
|
var ImportManager = class {
|
|
6813
6817
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6843,7 +6847,7 @@ var ImportManager = class {
|
|
|
6843
6847
|
}
|
|
6844
6848
|
};
|
|
6845
6849
|
|
|
6846
|
-
// bazel-out/
|
|
6850
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6847
6851
|
import {
|
|
6848
6852
|
BinaryOperator,
|
|
6849
6853
|
ConditionalExpr,
|
|
@@ -7087,7 +7091,7 @@ function createRange(span) {
|
|
|
7087
7091
|
};
|
|
7088
7092
|
}
|
|
7089
7093
|
|
|
7090
|
-
// bazel-out/
|
|
7094
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7091
7095
|
import {
|
|
7092
7096
|
BuiltinTypeName
|
|
7093
7097
|
} from "@angular/compiler";
|
|
@@ -7266,7 +7270,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7266
7270
|
}
|
|
7267
7271
|
};
|
|
7268
7272
|
|
|
7269
|
-
// bazel-out/
|
|
7273
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7270
7274
|
import ts29 from "typescript";
|
|
7271
7275
|
var PureAnnotation;
|
|
7272
7276
|
(function(PureAnnotation2) {
|
|
@@ -7438,7 +7442,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7438
7442
|
}
|
|
7439
7443
|
}
|
|
7440
7444
|
|
|
7441
|
-
// bazel-out/
|
|
7445
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7442
7446
|
function translateExpression(expression, imports, options = {}) {
|
|
7443
7447
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7444
7448
|
}
|
|
@@ -7446,7 +7450,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7446
7450
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7447
7451
|
}
|
|
7448
7452
|
|
|
7449
|
-
// bazel-out/
|
|
7453
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7450
7454
|
import ts30 from "typescript";
|
|
7451
7455
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7452
7456
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7474,7 +7478,7 @@ function isImportStatement(stmt) {
|
|
|
7474
7478
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7475
7479
|
}
|
|
7476
7480
|
|
|
7477
|
-
// bazel-out/
|
|
7481
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7478
7482
|
var DtsTransformRegistry = class {
|
|
7479
7483
|
constructor() {
|
|
7480
7484
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7599,11 +7603,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7599
7603
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7600
7604
|
}
|
|
7601
7605
|
|
|
7602
|
-
// bazel-out/
|
|
7606
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7603
7607
|
import { ConstantPool } from "@angular/compiler";
|
|
7604
7608
|
import ts33 from "typescript";
|
|
7605
7609
|
|
|
7606
|
-
// bazel-out/
|
|
7610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7607
7611
|
import ts32 from "typescript";
|
|
7608
7612
|
function visit(node, visitor, context) {
|
|
7609
7613
|
return visitor._visit(node, context);
|
|
@@ -7665,7 +7669,7 @@ function hasStatements(node) {
|
|
|
7665
7669
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7666
7670
|
}
|
|
7667
7671
|
|
|
7668
|
-
// bazel-out/
|
|
7672
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7669
7673
|
var NO_DECORATORS = new Set();
|
|
7670
7674
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7671
7675
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7846,10 +7850,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7846
7850
|
};
|
|
7847
7851
|
}
|
|
7848
7852
|
|
|
7849
|
-
// bazel-out/
|
|
7853
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7850
7854
|
import ts35 from "typescript";
|
|
7851
7855
|
|
|
7852
|
-
// bazel-out/
|
|
7856
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7853
7857
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7854
7858
|
import ts34 from "typescript";
|
|
7855
7859
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8209,7 +8213,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8209
8213
|
};
|
|
8210
8214
|
}
|
|
8211
8215
|
|
|
8212
|
-
// bazel-out/
|
|
8216
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8213
8217
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8214
8218
|
var _a;
|
|
8215
8219
|
let chainedMessage;
|
|
@@ -8305,11 +8309,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8305
8309
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8306
8310
|
}
|
|
8307
8311
|
|
|
8308
|
-
// bazel-out/
|
|
8312
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8309
8313
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8310
8314
|
import ts37 from "typescript";
|
|
8311
8315
|
|
|
8312
|
-
// bazel-out/
|
|
8316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8313
8317
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8314
8318
|
function compileNgFactoryDefField(metadata) {
|
|
8315
8319
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8320,7 +8324,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8320
8324
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8321
8325
|
}
|
|
8322
8326
|
|
|
8323
|
-
// bazel-out/
|
|
8327
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8324
8328
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8325
8329
|
import ts36 from "typescript";
|
|
8326
8330
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8408,7 +8412,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8408
8412
|
return result.transformed[0];
|
|
8409
8413
|
}
|
|
8410
8414
|
|
|
8411
|
-
// bazel-out/
|
|
8415
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8412
8416
|
var EMPTY_OBJECT = {};
|
|
8413
8417
|
var FIELD_DECORATORS = [
|
|
8414
8418
|
"Input",
|
|
@@ -8970,8 +8974,8 @@ var QUERY_TYPES = new Set([
|
|
|
8970
8974
|
"ViewChildren"
|
|
8971
8975
|
]);
|
|
8972
8976
|
|
|
8973
|
-
// bazel-out/
|
|
8974
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
8977
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
8978
|
+
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
8975
8979
|
import ts38 from "typescript";
|
|
8976
8980
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
8977
8981
|
constructor() {
|
|
@@ -9018,7 +9022,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
9018
9022
|
}
|
|
9019
9023
|
};
|
|
9020
9024
|
var NgModuleDecoratorHandler = class {
|
|
9021
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
9025
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
9022
9026
|
this.reflector = reflector;
|
|
9023
9027
|
this.evaluator = evaluator;
|
|
9024
9028
|
this.metaReader = metaReader;
|
|
@@ -9031,7 +9035,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9031
9035
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
9032
9036
|
this.injectableRegistry = injectableRegistry;
|
|
9033
9037
|
this.perf = perf;
|
|
9034
|
-
this.localeId = localeId;
|
|
9035
9038
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
9036
9039
|
this.name = NgModuleDecoratorHandler.name;
|
|
9037
9040
|
}
|
|
@@ -9317,14 +9320,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9317
9320
|
type: injectorDef.type
|
|
9318
9321
|
}
|
|
9319
9322
|
];
|
|
9320
|
-
if (this.localeId) {
|
|
9321
|
-
res.push({
|
|
9322
|
-
name: "\u0275loc",
|
|
9323
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
9324
|
-
statements: [],
|
|
9325
|
-
type: STRING_TYPE
|
|
9326
|
-
});
|
|
9327
|
-
}
|
|
9328
9323
|
return res;
|
|
9329
9324
|
}
|
|
9330
9325
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -9413,7 +9408,7 @@ function isNgModule(node, compilation) {
|
|
|
9413
9408
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9414
9409
|
}
|
|
9415
9410
|
|
|
9416
|
-
// bazel-out/
|
|
9411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9417
9412
|
var EMPTY_MAP = new Map();
|
|
9418
9413
|
var EMPTY_ARRAY = [];
|
|
9419
9414
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10297,8 +10292,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10297
10292
|
return null;
|
|
10298
10293
|
}
|
|
10299
10294
|
|
|
10300
|
-
// bazel-out/
|
|
10301
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
10295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10296
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10302
10297
|
import ts40 from "typescript";
|
|
10303
10298
|
var InjectableDecoratorHandler = class {
|
|
10304
10299
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10386,7 +10381,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10386
10381
|
type,
|
|
10387
10382
|
typeArgumentCount,
|
|
10388
10383
|
internalType,
|
|
10389
|
-
providedIn: createR3ProviderExpression(new
|
|
10384
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
10390
10385
|
};
|
|
10391
10386
|
} else if (decorator.args.length === 1) {
|
|
10392
10387
|
const metaNode = decorator.args[0];
|
|
@@ -10394,7 +10389,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10394
10389
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10395
10390
|
}
|
|
10396
10391
|
const meta = reflectObjectLiteral(metaNode);
|
|
10397
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
10392
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
10398
10393
|
let deps = void 0;
|
|
10399
10394
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10400
10395
|
const depsExpr = meta.get("deps");
|
|
@@ -10497,7 +10492,7 @@ function getDep(dep, reflector) {
|
|
|
10497
10492
|
return meta;
|
|
10498
10493
|
}
|
|
10499
10494
|
|
|
10500
|
-
// bazel-out/
|
|
10495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10501
10496
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10502
10497
|
import ts41 from "typescript";
|
|
10503
10498
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10622,13 +10617,13 @@ var PipeDecoratorHandler = class {
|
|
|
10622
10617
|
}
|
|
10623
10618
|
};
|
|
10624
10619
|
|
|
10625
|
-
// bazel-out/
|
|
10620
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10626
10621
|
var NoopReferencesRegistry = class {
|
|
10627
10622
|
add(source, ...references) {
|
|
10628
10623
|
}
|
|
10629
10624
|
};
|
|
10630
10625
|
|
|
10631
|
-
// bazel-out/
|
|
10626
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10632
10627
|
var CycleAnalyzer = class {
|
|
10633
10628
|
constructor(importGraph) {
|
|
10634
10629
|
this.importGraph = importGraph;
|
|
@@ -10699,7 +10694,7 @@ var Cycle = class {
|
|
|
10699
10694
|
}
|
|
10700
10695
|
};
|
|
10701
10696
|
|
|
10702
|
-
// bazel-out/
|
|
10697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10703
10698
|
import ts42 from "typescript";
|
|
10704
10699
|
var ImportGraph = class {
|
|
10705
10700
|
constructor(checker, perf) {
|
|
@@ -10782,7 +10777,7 @@ var Found = class {
|
|
|
10782
10777
|
}
|
|
10783
10778
|
};
|
|
10784
10779
|
|
|
10785
|
-
// bazel-out/
|
|
10780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10786
10781
|
import ts43 from "typescript";
|
|
10787
10782
|
var FlatIndexGenerator = class {
|
|
10788
10783
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10807,7 +10802,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10807
10802
|
}
|
|
10808
10803
|
};
|
|
10809
10804
|
|
|
10810
|
-
// bazel-out/
|
|
10805
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10811
10806
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10812
10807
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10813
10808
|
let resolvedEntryPoint = null;
|
|
@@ -10823,7 +10818,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10823
10818
|
return resolvedEntryPoint;
|
|
10824
10819
|
}
|
|
10825
10820
|
|
|
10826
|
-
// bazel-out/
|
|
10821
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10827
10822
|
import ts44 from "typescript";
|
|
10828
10823
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10829
10824
|
const diagnostics = [];
|
|
@@ -10903,7 +10898,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10903
10898
|
}
|
|
10904
10899
|
}
|
|
10905
10900
|
|
|
10906
|
-
// bazel-out/
|
|
10901
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10907
10902
|
var ReferenceGraph = class {
|
|
10908
10903
|
constructor() {
|
|
10909
10904
|
this.references = new Map();
|
|
@@ -10957,7 +10952,7 @@ var ReferenceGraph = class {
|
|
|
10957
10952
|
}
|
|
10958
10953
|
};
|
|
10959
10954
|
|
|
10960
|
-
// bazel-out/
|
|
10955
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
10961
10956
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
10962
10957
|
var UpdateMode;
|
|
10963
10958
|
(function(UpdateMode2) {
|
|
@@ -10965,13 +10960,13 @@ var UpdateMode;
|
|
|
10965
10960
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
10966
10961
|
})(UpdateMode || (UpdateMode = {}));
|
|
10967
10962
|
|
|
10968
|
-
// bazel-out/
|
|
10963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
10969
10964
|
import ts48 from "typescript";
|
|
10970
10965
|
|
|
10971
|
-
// bazel-out/
|
|
10966
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
10972
10967
|
import ts45 from "typescript";
|
|
10973
10968
|
|
|
10974
|
-
// bazel-out/
|
|
10969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
10975
10970
|
var NgExtension = Symbol("NgExtension");
|
|
10976
10971
|
function isExtended(sf) {
|
|
10977
10972
|
return sf[NgExtension] !== void 0;
|
|
@@ -11031,7 +11026,7 @@ function retagTsFile(sf) {
|
|
|
11031
11026
|
}
|
|
11032
11027
|
}
|
|
11033
11028
|
|
|
11034
|
-
// bazel-out/
|
|
11029
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11035
11030
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11036
11031
|
function makeShimFileName(fileName, suffix) {
|
|
11037
11032
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11046,7 +11041,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11046
11041
|
return moduleName;
|
|
11047
11042
|
}
|
|
11048
11043
|
|
|
11049
|
-
// bazel-out/
|
|
11044
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11050
11045
|
var ShimAdapter = class {
|
|
11051
11046
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11052
11047
|
this.delegate = delegate;
|
|
@@ -11143,7 +11138,7 @@ var ShimAdapter = class {
|
|
|
11143
11138
|
}
|
|
11144
11139
|
};
|
|
11145
11140
|
|
|
11146
|
-
// bazel-out/
|
|
11141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11147
11142
|
import ts46 from "typescript";
|
|
11148
11143
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11149
11144
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11292,7 +11287,7 @@ function updateInitializers(stmt, update) {
|
|
|
11292
11287
|
return ts46.updateVariableStatement(stmt, stmt.modifiers, ts46.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts46.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
11293
11288
|
}
|
|
11294
11289
|
|
|
11295
|
-
// bazel-out/
|
|
11290
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11296
11291
|
var ShimReferenceTagger = class {
|
|
11297
11292
|
constructor(shimExtensions) {
|
|
11298
11293
|
this.tagged = new Set();
|
|
@@ -11326,7 +11321,7 @@ var ShimReferenceTagger = class {
|
|
|
11326
11321
|
}
|
|
11327
11322
|
};
|
|
11328
11323
|
|
|
11329
|
-
// bazel-out/
|
|
11324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11330
11325
|
import ts47 from "typescript";
|
|
11331
11326
|
var SummaryGenerator = class {
|
|
11332
11327
|
constructor() {
|
|
@@ -11366,7 +11361,7 @@ function isExported2(decl) {
|
|
|
11366
11361
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11367
11362
|
}
|
|
11368
11363
|
|
|
11369
|
-
// bazel-out/
|
|
11364
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11370
11365
|
var DelegatingCompilerHost = class {
|
|
11371
11366
|
constructor(delegate) {
|
|
11372
11367
|
this.delegate = delegate;
|
|
@@ -11475,7 +11470,7 @@ var TsCreateProgramDriver = class {
|
|
|
11475
11470
|
}
|
|
11476
11471
|
};
|
|
11477
11472
|
|
|
11478
|
-
// bazel-out/
|
|
11473
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11479
11474
|
var FileDependencyGraph = class {
|
|
11480
11475
|
constructor() {
|
|
11481
11476
|
this.nodes = new Map();
|
|
@@ -11542,7 +11537,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11542
11537
|
return false;
|
|
11543
11538
|
}
|
|
11544
11539
|
|
|
11545
|
-
// bazel-out/
|
|
11540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11546
11541
|
var IncrementalStateKind;
|
|
11547
11542
|
(function(IncrementalStateKind2) {
|
|
11548
11543
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11550,7 +11545,7 @@ var IncrementalStateKind;
|
|
|
11550
11545
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11551
11546
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11552
11547
|
|
|
11553
|
-
// bazel-out/
|
|
11548
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11554
11549
|
var PhaseKind;
|
|
11555
11550
|
(function(PhaseKind2) {
|
|
11556
11551
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11751,7 +11746,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11751
11746
|
}
|
|
11752
11747
|
}
|
|
11753
11748
|
|
|
11754
|
-
// bazel-out/
|
|
11749
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11755
11750
|
var TrackedIncrementalBuildStrategy = class {
|
|
11756
11751
|
constructor() {
|
|
11757
11752
|
this.state = null;
|
|
@@ -11772,7 +11767,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
11772
11767
|
};
|
|
11773
11768
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11774
11769
|
|
|
11775
|
-
// bazel-out/
|
|
11770
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11776
11771
|
var IdentifierKind;
|
|
11777
11772
|
(function(IdentifierKind2) {
|
|
11778
11773
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11790,7 +11785,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11790
11785
|
}
|
|
11791
11786
|
};
|
|
11792
11787
|
|
|
11793
|
-
// bazel-out/
|
|
11788
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11794
11789
|
var IndexingContext = class {
|
|
11795
11790
|
constructor() {
|
|
11796
11791
|
this.components = new Set();
|
|
@@ -11800,10 +11795,10 @@ var IndexingContext = class {
|
|
|
11800
11795
|
}
|
|
11801
11796
|
};
|
|
11802
11797
|
|
|
11803
|
-
// bazel-out/
|
|
11798
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11804
11799
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11805
11800
|
|
|
11806
|
-
// bazel-out/
|
|
11801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11807
11802
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11808
11803
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11809
11804
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12007,7 +12002,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12007
12002
|
return visitor.identifiers;
|
|
12008
12003
|
}
|
|
12009
12004
|
|
|
12010
|
-
// bazel-out/
|
|
12005
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12011
12006
|
function generateAnalysis(context) {
|
|
12012
12007
|
const analysis = new Map();
|
|
12013
12008
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12041,7 +12036,7 @@ function generateAnalysis(context) {
|
|
|
12041
12036
|
return analysis;
|
|
12042
12037
|
}
|
|
12043
12038
|
|
|
12044
|
-
// bazel-out/
|
|
12039
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12045
12040
|
import ts49 from "typescript";
|
|
12046
12041
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12047
12042
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12186,7 +12181,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12186
12181
|
};
|
|
12187
12182
|
}
|
|
12188
12183
|
|
|
12189
|
-
// bazel-out/
|
|
12184
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12190
12185
|
var MetadataDtsModuleScopeResolver = class {
|
|
12191
12186
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12192
12187
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12272,7 +12267,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12272
12267
|
}
|
|
12273
12268
|
};
|
|
12274
12269
|
|
|
12275
|
-
// bazel-out/
|
|
12270
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12276
12271
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12277
12272
|
import ts50 from "typescript";
|
|
12278
12273
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12580,7 +12575,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12580
12575
|
]);
|
|
12581
12576
|
}
|
|
12582
12577
|
|
|
12583
|
-
// bazel-out/
|
|
12578
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12584
12579
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12585
12580
|
import ts51 from "typescript";
|
|
12586
12581
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12641,7 +12636,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12641
12636
|
}
|
|
12642
12637
|
};
|
|
12643
12638
|
|
|
12644
|
-
// bazel-out/
|
|
12639
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12645
12640
|
import ts52 from "typescript";
|
|
12646
12641
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12647
12642
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12705,24 +12700,24 @@ function hasIvySwitches(stmt) {
|
|
|
12705
12700
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12706
12701
|
}
|
|
12707
12702
|
|
|
12708
|
-
// bazel-out/
|
|
12703
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12709
12704
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12710
12705
|
|
|
12711
|
-
// bazel-out/
|
|
12706
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12712
12707
|
var OptimizeFor;
|
|
12713
12708
|
(function(OptimizeFor2) {
|
|
12714
12709
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12715
12710
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12716
12711
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12717
12712
|
|
|
12718
|
-
// bazel-out/
|
|
12713
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12719
12714
|
var CompletionKind;
|
|
12720
12715
|
(function(CompletionKind2) {
|
|
12721
12716
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12722
12717
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12723
12718
|
})(CompletionKind || (CompletionKind = {}));
|
|
12724
12719
|
|
|
12725
|
-
// bazel-out/
|
|
12720
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12726
12721
|
var SymbolKind;
|
|
12727
12722
|
(function(SymbolKind2) {
|
|
12728
12723
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12738,7 +12733,7 @@ var SymbolKind;
|
|
|
12738
12733
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12739
12734
|
})(SymbolKind || (SymbolKind = {}));
|
|
12740
12735
|
|
|
12741
|
-
// bazel-out/
|
|
12736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12742
12737
|
import ts53 from "typescript";
|
|
12743
12738
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12744
12739
|
if (mapping.type === "direct") {
|
|
@@ -12811,7 +12806,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12811
12806
|
}
|
|
12812
12807
|
}
|
|
12813
12808
|
|
|
12814
|
-
// bazel-out/
|
|
12809
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12815
12810
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12816
12811
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12817
12812
|
function getTemplateId(clazz) {
|
|
@@ -12828,11 +12823,11 @@ function allocateTemplateId(sf) {
|
|
|
12828
12823
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12829
12824
|
}
|
|
12830
12825
|
|
|
12831
|
-
// bazel-out/
|
|
12826
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12832
12827
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12833
12828
|
import ts55 from "typescript";
|
|
12834
12829
|
|
|
12835
|
-
// bazel-out/
|
|
12830
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12836
12831
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12837
12832
|
import ts54 from "typescript";
|
|
12838
12833
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -12952,7 +12947,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
12952
12947
|
}) || false;
|
|
12953
12948
|
}
|
|
12954
12949
|
|
|
12955
|
-
// bazel-out/
|
|
12950
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12956
12951
|
var CompletionEngine = class {
|
|
12957
12952
|
constructor(tcb, data, shimPath) {
|
|
12958
12953
|
this.tcb = tcb;
|
|
@@ -13103,10 +13098,10 @@ var CompletionEngine = class {
|
|
|
13103
13098
|
}
|
|
13104
13099
|
};
|
|
13105
13100
|
|
|
13106
|
-
// bazel-out/
|
|
13101
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13107
13102
|
import ts69 from "typescript";
|
|
13108
13103
|
|
|
13109
|
-
// bazel-out/
|
|
13104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13110
13105
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13111
13106
|
import ts56 from "typescript";
|
|
13112
13107
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13156,11 +13151,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13156
13151
|
}
|
|
13157
13152
|
};
|
|
13158
13153
|
|
|
13159
|
-
// bazel-out/
|
|
13154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13160
13155
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13161
13156
|
import ts62 from "typescript";
|
|
13162
13157
|
|
|
13163
|
-
// bazel-out/
|
|
13158
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13164
13159
|
import ts57 from "typescript";
|
|
13165
13160
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13166
13161
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13229,16 +13224,16 @@ function isAccessExpression(node) {
|
|
|
13229
13224
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13230
13225
|
}
|
|
13231
13226
|
|
|
13232
|
-
// bazel-out/
|
|
13227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13233
13228
|
import ts61 from "typescript";
|
|
13234
13229
|
|
|
13235
|
-
// bazel-out/
|
|
13230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13236
13231
|
import ts60 from "typescript";
|
|
13237
13232
|
|
|
13238
|
-
// bazel-out/
|
|
13233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13239
13234
|
import ts59 from "typescript";
|
|
13240
13235
|
|
|
13241
|
-
// bazel-out/
|
|
13236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13242
13237
|
import ts58 from "typescript";
|
|
13243
13238
|
var INELIGIBLE = {};
|
|
13244
13239
|
function canEmitType(type, resolver) {
|
|
@@ -13313,7 +13308,7 @@ var TypeEmitter = class {
|
|
|
13313
13308
|
}
|
|
13314
13309
|
};
|
|
13315
13310
|
|
|
13316
|
-
// bazel-out/
|
|
13311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13317
13312
|
var TypeParameterEmitter = class {
|
|
13318
13313
|
constructor(typeParameters, reflector) {
|
|
13319
13314
|
this.typeParameters = typeParameters;
|
|
@@ -13376,7 +13371,7 @@ var TypeParameterEmitter = class {
|
|
|
13376
13371
|
}
|
|
13377
13372
|
};
|
|
13378
13373
|
|
|
13379
|
-
// bazel-out/
|
|
13374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13380
13375
|
var TcbInliningRequirement;
|
|
13381
13376
|
(function(TcbInliningRequirement2) {
|
|
13382
13377
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13455,7 +13450,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13455
13450
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13456
13451
|
}
|
|
13457
13452
|
|
|
13458
|
-
// bazel-out/
|
|
13453
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13459
13454
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13460
13455
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13461
13456
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13529,7 +13524,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13529
13524
|
});
|
|
13530
13525
|
}
|
|
13531
13526
|
|
|
13532
|
-
// bazel-out/
|
|
13527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13533
13528
|
var Environment = class {
|
|
13534
13529
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13535
13530
|
this.config = config;
|
|
@@ -13615,7 +13610,7 @@ var Environment = class {
|
|
|
13615
13610
|
}
|
|
13616
13611
|
};
|
|
13617
13612
|
|
|
13618
|
-
// bazel-out/
|
|
13613
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13619
13614
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13620
13615
|
import ts63 from "typescript";
|
|
13621
13616
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13747,7 +13742,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13747
13742
|
});
|
|
13748
13743
|
}
|
|
13749
13744
|
|
|
13750
|
-
// bazel-out/
|
|
13745
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13751
13746
|
import ts64 from "typescript";
|
|
13752
13747
|
var TypeCheckShimGenerator = class {
|
|
13753
13748
|
constructor() {
|
|
@@ -13765,11 +13760,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13765
13760
|
}
|
|
13766
13761
|
};
|
|
13767
13762
|
|
|
13768
|
-
// bazel-out/
|
|
13763
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13769
13764
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
13770
13765
|
import ts67 from "typescript";
|
|
13771
13766
|
|
|
13772
|
-
// bazel-out/
|
|
13767
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13773
13768
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13774
13769
|
import ts65 from "typescript";
|
|
13775
13770
|
function wrapForDiagnostics(expr) {
|
|
@@ -13815,7 +13810,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13815
13810
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13816
13811
|
}
|
|
13817
13812
|
|
|
13818
|
-
// bazel-out/
|
|
13813
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13819
13814
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13820
13815
|
import ts66 from "typescript";
|
|
13821
13816
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14119,7 +14114,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14119
14114
|
};
|
|
14120
14115
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14121
14116
|
|
|
14122
|
-
// bazel-out/
|
|
14117
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14123
14118
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14124
14119
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14125
14120
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14143,7 +14138,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14143
14138
|
}
|
|
14144
14139
|
};
|
|
14145
14140
|
|
|
14146
|
-
// bazel-out/
|
|
14141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14147
14142
|
var TcbGenericContextBehavior;
|
|
14148
14143
|
(function(TcbGenericContextBehavior2) {
|
|
14149
14144
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15195,7 +15190,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15195
15190
|
}
|
|
15196
15191
|
};
|
|
15197
15192
|
|
|
15198
|
-
// bazel-out/
|
|
15193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15199
15194
|
import ts68 from "typescript";
|
|
15200
15195
|
var TypeCheckFile = class extends Environment {
|
|
15201
15196
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15231,7 +15226,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15231
15226
|
}
|
|
15232
15227
|
};
|
|
15233
15228
|
|
|
15234
|
-
// bazel-out/
|
|
15229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15235
15230
|
var InliningMode;
|
|
15236
15231
|
(function(InliningMode2) {
|
|
15237
15232
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15461,10 +15456,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15461
15456
|
return splits;
|
|
15462
15457
|
}
|
|
15463
15458
|
|
|
15464
|
-
// bazel-out/
|
|
15459
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15465
15460
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15466
15461
|
|
|
15467
|
-
// bazel-out/
|
|
15462
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15468
15463
|
var LF_CHAR = 10;
|
|
15469
15464
|
var CR_CHAR = 13;
|
|
15470
15465
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15505,7 +15500,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15505
15500
|
return low - 1;
|
|
15506
15501
|
}
|
|
15507
15502
|
|
|
15508
|
-
// bazel-out/
|
|
15503
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15509
15504
|
var TemplateSource = class {
|
|
15510
15505
|
constructor(mapping, file) {
|
|
15511
15506
|
this.mapping = mapping;
|
|
@@ -15556,7 +15551,7 @@ var TemplateSourceManager = class {
|
|
|
15556
15551
|
}
|
|
15557
15552
|
};
|
|
15558
15553
|
|
|
15559
|
-
// bazel-out/
|
|
15554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15560
15555
|
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";
|
|
15561
15556
|
import ts70 from "typescript";
|
|
15562
15557
|
var SymbolBuilder = class {
|
|
@@ -15981,7 +15976,7 @@ function sourceSpanEqual(a, b) {
|
|
|
15981
15976
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
15982
15977
|
}
|
|
15983
15978
|
|
|
15984
|
-
// bazel-out/
|
|
15979
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
15985
15980
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
15986
15981
|
var TemplateTypeCheckerImpl = class {
|
|
15987
15982
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16497,7 +16492,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16497
16492
|
}
|
|
16498
16493
|
};
|
|
16499
16494
|
|
|
16500
|
-
// bazel-out/
|
|
16495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16501
16496
|
var ExtendedTemplateCheckerImpl = class {
|
|
16502
16497
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16503
16498
|
this.templateChecks = templateChecks;
|
|
@@ -16516,11 +16511,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16516
16511
|
}
|
|
16517
16512
|
};
|
|
16518
16513
|
|
|
16519
|
-
// bazel-out/
|
|
16514
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16520
16515
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16521
16516
|
import ts71 from "typescript";
|
|
16522
16517
|
|
|
16523
|
-
// bazel-out/
|
|
16518
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16524
16519
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16525
16520
|
var TemplateCheckWithVisitor = class {
|
|
16526
16521
|
run(ctx, component, template) {
|
|
@@ -16597,7 +16592,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16597
16592
|
}
|
|
16598
16593
|
};
|
|
16599
16594
|
|
|
16600
|
-
// bazel-out/
|
|
16595
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16601
16596
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16602
16597
|
constructor() {
|
|
16603
16598
|
super(...arguments);
|
|
@@ -16617,7 +16612,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16617
16612
|
}
|
|
16618
16613
|
};
|
|
16619
16614
|
|
|
16620
|
-
// bazel-out/
|
|
16615
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16621
16616
|
import { Binary } from "@angular/compiler";
|
|
16622
16617
|
import ts72 from "typescript";
|
|
16623
16618
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16645,7 +16640,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16645
16640
|
}
|
|
16646
16641
|
};
|
|
16647
16642
|
|
|
16648
|
-
// bazel-out/
|
|
16643
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16649
16644
|
var CompilationTicketKind;
|
|
16650
16645
|
(function(CompilationTicketKind2) {
|
|
16651
16646
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17142,7 +17137,7 @@ var NgCompiler = class {
|
|
|
17142
17137
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
17143
17138
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
17144
17139
|
new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
|
|
17145
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder
|
|
17140
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder)
|
|
17146
17141
|
];
|
|
17147
17142
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater);
|
|
17148
17143
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -17267,11 +17262,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17267
17262
|
return versions;
|
|
17268
17263
|
}
|
|
17269
17264
|
|
|
17270
|
-
// bazel-out/
|
|
17265
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17271
17266
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17272
17267
|
import ts76 from "typescript";
|
|
17273
17268
|
|
|
17274
|
-
// bazel-out/
|
|
17269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17275
17270
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17276
17271
|
import {
|
|
17277
17272
|
relative as relative5,
|
|
@@ -17326,10 +17321,10 @@ function getPathNormalizer(basePath) {
|
|
|
17326
17321
|
};
|
|
17327
17322
|
}
|
|
17328
17323
|
|
|
17329
|
-
// bazel-out/
|
|
17324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17330
17325
|
import ts74 from "typescript";
|
|
17331
17326
|
|
|
17332
|
-
// bazel-out/
|
|
17327
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17333
17328
|
function toNumbers(value) {
|
|
17334
17329
|
return value.split(".").map(Number);
|
|
17335
17330
|
}
|
|
@@ -17357,7 +17352,7 @@ function compareVersions(v1, v2) {
|
|
|
17357
17352
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17358
17353
|
}
|
|
17359
17354
|
|
|
17360
|
-
// bazel-out/
|
|
17355
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17361
17356
|
var MIN_TS_VERSION = "4.4.2";
|
|
17362
17357
|
var MAX_TS_VERSION = "4.5.0";
|
|
17363
17358
|
var tsVersion = ts74.version;
|
|
@@ -17370,7 +17365,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17370
17365
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17371
17366
|
}
|
|
17372
17367
|
|
|
17373
|
-
// bazel-out/
|
|
17368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17374
17369
|
import ts75 from "typescript";
|
|
17375
17370
|
var DelegatingCompilerHost2 = class {
|
|
17376
17371
|
constructor(delegate) {
|
|
@@ -17510,7 +17505,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17510
17505
|
}
|
|
17511
17506
|
};
|
|
17512
17507
|
|
|
17513
|
-
// bazel-out/
|
|
17508
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17514
17509
|
var NgtscProgram = class {
|
|
17515
17510
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17516
17511
|
this.options = options;
|
|
@@ -17723,10 +17718,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17723
17718
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17724
17719
|
}
|
|
17725
17720
|
|
|
17726
|
-
// bazel-out/
|
|
17721
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17727
17722
|
import ts78 from "typescript";
|
|
17728
17723
|
|
|
17729
|
-
// bazel-out/
|
|
17724
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17730
17725
|
import ts77 from "typescript";
|
|
17731
17726
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17732
17727
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17761,7 +17756,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17761
17756
|
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.");
|
|
17762
17757
|
}
|
|
17763
17758
|
|
|
17764
|
-
// bazel-out/
|
|
17759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17765
17760
|
function isAngularDecorator3(decorator, isCore) {
|
|
17766
17761
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17767
17762
|
}
|
|
@@ -18065,7 +18060,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18065
18060
|
};
|
|
18066
18061
|
}
|
|
18067
18062
|
|
|
18068
|
-
// bazel-out/
|
|
18063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18069
18064
|
import ts79 from "typescript";
|
|
18070
18065
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18071
18066
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18260,7 +18255,7 @@ function updateComponentProperties(args2, loader) {
|
|
|
18260
18255
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18261
18256
|
}
|
|
18262
18257
|
|
|
18263
|
-
// bazel-out/
|
|
18258
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18264
18259
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18265
18260
|
import ts80 from "typescript";
|
|
18266
18261
|
function toMap(items, select) {
|
|
@@ -18537,7 +18532,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18537
18532
|
return exportTable;
|
|
18538
18533
|
}
|
|
18539
18534
|
|
|
18540
|
-
// bazel-out/
|
|
18535
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18541
18536
|
import ts81 from "typescript";
|
|
18542
18537
|
var MetadataCache = class {
|
|
18543
18538
|
constructor(collector, strict, transformers) {
|
|
@@ -18578,10 +18573,10 @@ var MetadataCache = class {
|
|
|
18578
18573
|
}
|
|
18579
18574
|
};
|
|
18580
18575
|
|
|
18581
|
-
// bazel-out/
|
|
18576
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18582
18577
|
import ts83 from "typescript";
|
|
18583
18578
|
|
|
18584
|
-
// bazel-out/
|
|
18579
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18585
18580
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18586
18581
|
import ts82 from "typescript";
|
|
18587
18582
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19033,7 +19028,7 @@ function translateModifiers(modifiers) {
|
|
|
19033
19028
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19034
19029
|
}
|
|
19035
19030
|
|
|
19036
|
-
// bazel-out/
|
|
19031
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19037
19032
|
function getPreamble(original) {
|
|
19038
19033
|
return `*
|
|
19039
19034
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19080,7 +19075,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19080
19075
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19081
19076
|
}
|
|
19082
19077
|
|
|
19083
|
-
// bazel-out/
|
|
19078
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19084
19079
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19085
19080
|
import ts84 from "typescript";
|
|
19086
19081
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19116,7 +19111,7 @@ function isClassStmt(v) {
|
|
|
19116
19111
|
return v instanceof ClassStmt2;
|
|
19117
19112
|
}
|
|
19118
19113
|
|
|
19119
|
-
// bazel-out/
|
|
19114
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19120
19115
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19121
19116
|
if (modules.length === 0) {
|
|
19122
19117
|
return () => (sf) => sf;
|
|
@@ -19134,8 +19129,13 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19134
19129
|
};
|
|
19135
19130
|
}
|
|
19136
19131
|
|
|
19137
|
-
// bazel-out/
|
|
19132
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19138
19133
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19134
|
+
var VE_DISABLED_MESSAGE = `
|
|
19135
|
+
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
19136
|
+
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
19137
|
+
https://angular.io/guide/ivy for more information.
|
|
19138
|
+
`.trim().split("\n").join(" ");
|
|
19139
19139
|
var LOWER_FIELDS = ["useValue", "useFactory", "data", "id", "loadChildren"];
|
|
19140
19140
|
var R3_LOWER_FIELDS = [...LOWER_FIELDS, "providers", "imports", "exports"];
|
|
19141
19141
|
var tempProgramHandlerForTest = null;
|
|
@@ -19152,6 +19152,9 @@ var AngularCompilerProgram = class {
|
|
|
19152
19152
|
this._optionsDiagnostics = [];
|
|
19153
19153
|
this._transformTsDiagnostics = [];
|
|
19154
19154
|
this._isCompilingAngularCore = null;
|
|
19155
|
+
if (true) {
|
|
19156
|
+
throw new Error(VE_DISABLED_MESSAGE);
|
|
19157
|
+
}
|
|
19155
19158
|
this.rootNames = [...rootNames];
|
|
19156
19159
|
if (!options.disableTypeScriptVersionCheck) {
|
|
19157
19160
|
verifySupportedTypeScriptVersion();
|
|
@@ -19851,10 +19854,7 @@ function isIvyNgModule(clazz) {
|
|
|
19851
19854
|
return false;
|
|
19852
19855
|
}
|
|
19853
19856
|
|
|
19854
|
-
// bazel-out/
|
|
19855
|
-
function filterErrorsAndWarnings(diagnostics) {
|
|
19856
|
-
return diagnostics.filter((d) => d.category !== ts86.DiagnosticCategory.Message);
|
|
19857
|
-
}
|
|
19857
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19858
19858
|
var defaultFormatHost = {
|
|
19859
19859
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19860
19860
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20017,7 +20017,9 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
20017
20017
|
return null;
|
|
20018
20018
|
}
|
|
20019
20019
|
function exitCodeFromResult(diags) {
|
|
20020
|
-
if (!diags
|
|
20020
|
+
if (!diags)
|
|
20021
|
+
return 0;
|
|
20022
|
+
if (diags.every((diag) => diag.category !== ts86.DiagnosticCategory.Error)) {
|
|
20021
20023
|
return 0;
|
|
20022
20024
|
}
|
|
20023
20025
|
return diags.some((d) => d.source === "angular" && d.code === UNKNOWN_ERROR_CODE) ? 2 : 1;
|
|
@@ -20081,7 +20083,7 @@ function hasErrors(diags) {
|
|
|
20081
20083
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20082
20084
|
}
|
|
20083
20085
|
|
|
20084
|
-
// bazel-out/
|
|
20086
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
20085
20087
|
import {
|
|
20086
20088
|
watch
|
|
20087
20089
|
} from "chokidar";
|
|
@@ -20295,7 +20297,7 @@ function performWatchCompilation(host) {
|
|
|
20295
20297
|
}
|
|
20296
20298
|
}
|
|
20297
20299
|
|
|
20298
|
-
// bazel-out/
|
|
20300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
20299
20301
|
function main(args2, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
20300
20302
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args2);
|
|
20301
20303
|
if (configErrors.length) {
|
|
@@ -20406,7 +20408,7 @@ function getFormatDiagnosticsHost(options) {
|
|
|
20406
20408
|
};
|
|
20407
20409
|
}
|
|
20408
20410
|
function reportErrorsAndExit(allDiagnostics, options, consoleError = console.error) {
|
|
20409
|
-
const errorsAndWarnings =
|
|
20411
|
+
const errorsAndWarnings = allDiagnostics.filter((d) => d.category !== ts88.DiagnosticCategory.Message);
|
|
20410
20412
|
printDiagnostics(errorsAndWarnings, options, consoleError);
|
|
20411
20413
|
return exitCodeFromResult(allDiagnostics);
|
|
20412
20414
|
}
|
|
@@ -20423,7 +20425,7 @@ function printDiagnostics(diagnostics, options, consoleError) {
|
|
|
20423
20425
|
consoleError(formatDiagnostics(diagnostics, formatHost));
|
|
20424
20426
|
}
|
|
20425
20427
|
|
|
20426
|
-
// bazel-out/
|
|
20428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
20427
20429
|
function mainXi18n(args2, consoleError = console.error) {
|
|
20428
20430
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
20429
20431
|
return main(args2, consoleError, config, void 0, void 0, void 0);
|
|
@@ -20445,7 +20447,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
20445
20447
|
return __spreadProps(__spreadValues({}, config), { emitFlags: EmitFlags.I18nBundle });
|
|
20446
20448
|
}
|
|
20447
20449
|
|
|
20448
|
-
// bazel-out/
|
|
20450
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
20449
20451
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
20450
20452
|
var args = process.argv.slice(2);
|
|
20451
20453
|
setFileSystem(new NodeJSFileSystem());
|