@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
package/bundles/index.js
CHANGED
|
@@ -30,13 +30,13 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
30
30
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
34
34
|
import {
|
|
35
35
|
EOL
|
|
36
36
|
} from "os";
|
|
37
37
|
import ts from "typescript";
|
|
38
38
|
|
|
39
|
-
// bazel-out/
|
|
39
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
40
40
|
var InvalidFileSystem = class {
|
|
41
41
|
exists(path7) {
|
|
42
42
|
throw makeError();
|
|
@@ -124,7 +124,7 @@ function makeError() {
|
|
|
124
124
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
// bazel-out/
|
|
127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
128
128
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
129
129
|
function normalizeSeparators(path7) {
|
|
130
130
|
return path7.replace(/\\/g, "/");
|
|
@@ -140,7 +140,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
140
140
|
return sf;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
// bazel-out/
|
|
143
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
144
144
|
var fs = new InvalidFileSystem();
|
|
145
145
|
function getFileSystem() {
|
|
146
146
|
return fs;
|
|
@@ -197,7 +197,7 @@ function toRelativeImport(relativePath) {
|
|
|
197
197
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
201
201
|
var NgtscCompilerHost = class {
|
|
202
202
|
constructor(fs5, options = {}) {
|
|
203
203
|
this.fs = fs5;
|
|
@@ -250,7 +250,7 @@ var NgtscCompilerHost = class {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
254
254
|
var LogicalProjectPath = {
|
|
255
255
|
relativePathBetween: function(from, to) {
|
|
256
256
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -296,7 +296,7 @@ function isWithinBasePath(base, path7) {
|
|
|
296
296
|
return isLocalRelativePath(relative(base, path7));
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
300
300
|
import {
|
|
301
301
|
copyFileSync,
|
|
302
302
|
existsSync,
|
|
@@ -441,20 +441,20 @@ function toggleCase(str) {
|
|
|
441
441
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
// bazel-out/
|
|
444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
445
445
|
import { StaticReflector, StaticSymbol } from "@angular/compiler";
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
448
448
|
import { Version } from "@angular/compiler";
|
|
449
|
-
var VERSION = new Version("13.0.0
|
|
449
|
+
var VERSION = new Version("13.0.0");
|
|
450
450
|
|
|
451
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
452
452
|
import ts4 from "typescript";
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
455
455
|
import ts2 from "typescript";
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/schema.mjs
|
|
458
458
|
var METADATA_VERSION = 4;
|
|
459
459
|
function isModuleMetadata(value) {
|
|
460
460
|
return value && value.__symbolic === "module";
|
|
@@ -542,7 +542,7 @@ function isMetadataError(value) {
|
|
|
542
542
|
return value && value.__symbolic === "error";
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
// bazel-out/
|
|
545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
546
546
|
var spreadElementSyntaxKind = ts2.SyntaxKind.SpreadElement || ts2.SyntaxKind.SpreadElementExpression;
|
|
547
547
|
function isMethodCallOf(callExpression, memberName) {
|
|
548
548
|
const expression = callExpression.expression;
|
|
@@ -1101,7 +1101,7 @@ function arrayOrEmpty(v) {
|
|
|
1101
1101
|
return v || empty;
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
1105
1105
|
import ts3 from "typescript";
|
|
1106
1106
|
var Symbols = class {
|
|
1107
1107
|
constructor(sourceFile) {
|
|
@@ -1226,7 +1226,7 @@ function populateBuiltins(symbols) {
|
|
|
1226
1226
|
].forEach((name) => symbols.set(name, { __symbolic: "reference", name }));
|
|
1227
1227
|
}
|
|
1228
1228
|
|
|
1229
|
-
// bazel-out/
|
|
1229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
1230
1230
|
var isStatic = (node) => ts4.getCombinedModifierFlags(node) & ts4.ModifierFlags.Static;
|
|
1231
1231
|
var MetadataCollector = class {
|
|
1232
1232
|
constructor(options = {}) {
|
|
@@ -1847,7 +1847,7 @@ function expandedMessage(error2) {
|
|
|
1847
1847
|
return error2.message;
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
// bazel-out/
|
|
1850
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
1851
1851
|
import {
|
|
1852
1852
|
basename as basename4,
|
|
1853
1853
|
dirname as dirname4,
|
|
@@ -1856,7 +1856,7 @@ import {
|
|
|
1856
1856
|
} from "path";
|
|
1857
1857
|
import ts6 from "typescript";
|
|
1858
1858
|
|
|
1859
|
-
// bazel-out/
|
|
1859
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
1860
1860
|
import {
|
|
1861
1861
|
basename as basename3,
|
|
1862
1862
|
dirname as dirname3,
|
|
@@ -2326,7 +2326,7 @@ function getSymbolDeclaration(symbol) {
|
|
|
2326
2326
|
return symbol.exports ? getSymbolDeclaration(symbol.exports) : symbol;
|
|
2327
2327
|
}
|
|
2328
2328
|
|
|
2329
|
-
// bazel-out/
|
|
2329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/index_writer.mjs
|
|
2330
2330
|
var INDEX_HEADER = `/**
|
|
2331
2331
|
* Generated bundle index. Do not edit.
|
|
2332
2332
|
*/
|
|
@@ -2360,7 +2360,7 @@ function compare(select) {
|
|
|
2360
2360
|
};
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
|
-
// bazel-out/
|
|
2363
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
2364
2364
|
var DTS = /\.d\.ts$/;
|
|
2365
2365
|
var JS_EXT = /(\.js|)$/;
|
|
2366
2366
|
function createSyntheticIndexHost(delegate, syntheticIndex) {
|
|
@@ -2439,7 +2439,7 @@ function createBundleIndexHost(ngOptions, rootFiles, host, getMetadataCache) {
|
|
|
2439
2439
|
return { host, indexName: name };
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
|
-
// bazel-out/
|
|
2442
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
2443
2443
|
var DEFAULT_ERROR_CODE = 100;
|
|
2444
2444
|
var UNKNOWN_ERROR_CODE = 500;
|
|
2445
2445
|
var SOURCE = "angular";
|
|
@@ -2460,7 +2460,7 @@ var EmitFlags;
|
|
|
2460
2460
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
2461
2461
|
})(EmitFlags || (EmitFlags = {}));
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2464
2464
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
2465
2465
|
import fs3 from "fs";
|
|
2466
2466
|
import {
|
|
@@ -2473,7 +2473,7 @@ import {
|
|
|
2473
2473
|
} from "path";
|
|
2474
2474
|
import ts8 from "typescript";
|
|
2475
2475
|
|
|
2476
|
-
// bazel-out/
|
|
2476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
2477
2477
|
import { syntaxError } from "@angular/compiler";
|
|
2478
2478
|
import {
|
|
2479
2479
|
relative as relative3
|
|
@@ -2539,7 +2539,7 @@ function stripComment(commentText) {
|
|
|
2539
2539
|
return commentText.replace(/^\/\*\*?/, "").replace(/\*\/$/, "").trim();
|
|
2540
2540
|
}
|
|
2541
2541
|
|
|
2542
|
-
// bazel-out/
|
|
2542
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_reader.mjs
|
|
2543
2543
|
function createMetadataReaderCache() {
|
|
2544
2544
|
const data = new Map();
|
|
2545
2545
|
return { data };
|
|
@@ -2616,7 +2616,7 @@ function upgradeMetadataWithDtsData(host, oldMetadata, dtsFilePath) {
|
|
|
2616
2616
|
return newMetadata;
|
|
2617
2617
|
}
|
|
2618
2618
|
|
|
2619
|
-
// bazel-out/
|
|
2619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
2620
2620
|
var NODE_MODULES_PACKAGE_NAME = /node_modules\/((\w|-|\.)+|(@(\w|-|\.)+\/(\w|-|\.)+))/;
|
|
2621
2621
|
var EXT = /(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/;
|
|
2622
2622
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
@@ -3076,7 +3076,7 @@ function addNgResourceSuffix(fileName) {
|
|
|
3076
3076
|
return `${fileName}.$ngresource$`;
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
|
-
// bazel-out/
|
|
3079
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
3080
3080
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
3081
3081
|
import {
|
|
3082
3082
|
readFileSync as readFileSync2
|
|
@@ -3084,7 +3084,7 @@ import {
|
|
|
3084
3084
|
import * as path6 from "path";
|
|
3085
3085
|
import ts85 from "typescript";
|
|
3086
3086
|
|
|
3087
|
-
// bazel-out/
|
|
3087
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
3088
3088
|
import ts9 from "typescript";
|
|
3089
3089
|
function translateDiagnostics(host, untranslatedDiagnostics) {
|
|
3090
3090
|
const ts87 = [];
|
|
@@ -3119,17 +3119,14 @@ function diagnosticMessageToString(message) {
|
|
|
3119
3119
|
return ts9.flattenDiagnosticMessageText(message, "\n");
|
|
3120
3120
|
}
|
|
3121
3121
|
|
|
3122
|
-
// bazel-out/
|
|
3122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3123
3123
|
import ts73 from "typescript";
|
|
3124
3124
|
|
|
3125
|
-
// bazel-out/
|
|
3125
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
3126
3126
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
3127
3127
|
import ts39 from "typescript";
|
|
3128
3128
|
|
|
3129
|
-
// bazel-out/
|
|
3130
|
-
import ts10 from "typescript";
|
|
3131
|
-
|
|
3132
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
3129
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
3133
3130
|
var ErrorCode;
|
|
3134
3131
|
(function(ErrorCode2) {
|
|
3135
3132
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -3179,7 +3176,8 @@ var ErrorCode;
|
|
|
3179
3176
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
3180
3177
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
3181
3178
|
})(ErrorCode || (ErrorCode = {}));
|
|
3182
|
-
|
|
3179
|
+
|
|
3180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
3183
3181
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
3184
3182
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
3185
3183
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -3189,11 +3187,20 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
3189
3187
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
3190
3188
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
3191
3189
|
]);
|
|
3190
|
+
|
|
3191
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3192
|
+
import ts10 from "typescript";
|
|
3193
|
+
|
|
3194
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
3195
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
3196
|
+
function replaceTsWithNgInErrors(errors) {
|
|
3197
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
3198
|
+
}
|
|
3192
3199
|
function ngErrorCode(code) {
|
|
3193
3200
|
return parseInt("-99" + code);
|
|
3194
3201
|
}
|
|
3195
3202
|
|
|
3196
|
-
// bazel-out/
|
|
3203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3197
3204
|
var FatalDiagnosticError = class {
|
|
3198
3205
|
constructor(code, node, message, relatedInformation) {
|
|
3199
3206
|
this.code = code;
|
|
@@ -3230,20 +3237,17 @@ function makeRelatedInformation(node, messageText) {
|
|
|
3230
3237
|
};
|
|
3231
3238
|
}
|
|
3232
3239
|
|
|
3233
|
-
// bazel-out/
|
|
3234
|
-
var
|
|
3235
|
-
function replaceTsWithNgInErrors(errors) {
|
|
3236
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
3237
|
-
}
|
|
3240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
3241
|
+
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
3238
3242
|
|
|
3239
|
-
// bazel-out/
|
|
3243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3240
3244
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3241
3245
|
|
|
3242
|
-
// bazel-out/
|
|
3246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3243
3247
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3244
3248
|
import ts13 from "typescript";
|
|
3245
3249
|
|
|
3246
|
-
// bazel-out/
|
|
3250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3247
3251
|
import ts11 from "typescript";
|
|
3248
3252
|
var TS2 = /\.tsx?$/i;
|
|
3249
3253
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3331,7 +3335,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3331
3335
|
return redirectInfo.unredirected;
|
|
3332
3336
|
}
|
|
3333
3337
|
|
|
3334
|
-
// bazel-out/
|
|
3338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3335
3339
|
import ts12 from "typescript";
|
|
3336
3340
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3337
3341
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3355,7 +3359,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3355
3359
|
return foundExportName;
|
|
3356
3360
|
}
|
|
3357
3361
|
|
|
3358
|
-
// bazel-out/
|
|
3362
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3359
3363
|
var ImportFlags;
|
|
3360
3364
|
(function(ImportFlags2) {
|
|
3361
3365
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3515,7 +3519,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3515
3519
|
}
|
|
3516
3520
|
};
|
|
3517
3521
|
|
|
3518
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3519
3523
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3520
3524
|
var UnifiedModulesAliasingHost = class {
|
|
3521
3525
|
constructor(unifiedModulesHost) {
|
|
@@ -3578,7 +3582,7 @@ var AliasStrategy = class {
|
|
|
3578
3582
|
}
|
|
3579
3583
|
};
|
|
3580
3584
|
|
|
3581
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3582
3586
|
function relativePathBetween(from, to) {
|
|
3583
3587
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3584
3588
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3587,7 +3591,7 @@ function normalizeSeparators2(path7) {
|
|
|
3587
3591
|
return path7.replace(/\\/g, "/");
|
|
3588
3592
|
}
|
|
3589
3593
|
|
|
3590
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3591
3595
|
var NoopImportRewriter = class {
|
|
3592
3596
|
shouldImportSymbol(symbol, specifier) {
|
|
3593
3597
|
return true;
|
|
@@ -3645,7 +3649,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3645
3649
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3646
3650
|
}
|
|
3647
3651
|
|
|
3648
|
-
// bazel-out/
|
|
3652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3649
3653
|
import ts14 from "typescript";
|
|
3650
3654
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3651
3655
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3690,7 +3694,7 @@ var DefaultImportTracker = class {
|
|
|
3690
3694
|
}
|
|
3691
3695
|
};
|
|
3692
3696
|
|
|
3693
|
-
// bazel-out/
|
|
3697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3694
3698
|
var Reference = class {
|
|
3695
3699
|
constructor(node, bestGuessOwningModule = null) {
|
|
3696
3700
|
this.node = node;
|
|
@@ -3753,7 +3757,7 @@ var Reference = class {
|
|
|
3753
3757
|
}
|
|
3754
3758
|
};
|
|
3755
3759
|
|
|
3756
|
-
// bazel-out/
|
|
3760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3757
3761
|
var ModuleResolver = class {
|
|
3758
3762
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3759
3763
|
this.program = program;
|
|
@@ -3770,7 +3774,7 @@ var ModuleResolver = class {
|
|
|
3770
3774
|
}
|
|
3771
3775
|
};
|
|
3772
3776
|
|
|
3773
|
-
// bazel-out/
|
|
3777
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3774
3778
|
import ts15 from "typescript";
|
|
3775
3779
|
var SemanticSymbol = class {
|
|
3776
3780
|
constructor(decl) {
|
|
@@ -3786,7 +3790,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3786
3790
|
return decl.name.text;
|
|
3787
3791
|
}
|
|
3788
3792
|
|
|
3789
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3790
3794
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3791
3795
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3792
3796
|
isPublicApiAffected() {
|
|
@@ -3929,10 +3933,10 @@ function getImportPath(expr) {
|
|
|
3929
3933
|
}
|
|
3930
3934
|
}
|
|
3931
3935
|
|
|
3932
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3933
3937
|
import ts16 from "typescript";
|
|
3934
3938
|
|
|
3935
|
-
// bazel-out/
|
|
3939
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3936
3940
|
function isSymbolEqual(a, b) {
|
|
3937
3941
|
if (a.decl === b.decl) {
|
|
3938
3942
|
return true;
|
|
@@ -3982,7 +3986,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3982
3986
|
return true;
|
|
3983
3987
|
}
|
|
3984
3988
|
|
|
3985
|
-
// bazel-out/
|
|
3989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3986
3990
|
function extractSemanticTypeParameters(node) {
|
|
3987
3991
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3988
3992
|
return null;
|
|
@@ -4002,17 +4006,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
4002
4006
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
4003
4007
|
}
|
|
4004
4008
|
|
|
4005
|
-
// bazel-out/
|
|
4009
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
4006
4010
|
var MetaType;
|
|
4007
4011
|
(function(MetaType2) {
|
|
4008
4012
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
4009
4013
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
4010
4014
|
})(MetaType || (MetaType = {}));
|
|
4011
4015
|
|
|
4012
|
-
// bazel-out/
|
|
4016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4013
4017
|
import ts22 from "typescript";
|
|
4014
4018
|
|
|
4015
|
-
// bazel-out/
|
|
4019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
4016
4020
|
import ts17 from "typescript";
|
|
4017
4021
|
var Decorator = {
|
|
4018
4022
|
nodeForError: (decorator) => {
|
|
@@ -4047,7 +4051,7 @@ function isConcreteDeclaration(decl) {
|
|
|
4047
4051
|
return decl.kind === 0;
|
|
4048
4052
|
}
|
|
4049
4053
|
|
|
4050
|
-
// bazel-out/
|
|
4054
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
4051
4055
|
import ts18 from "typescript";
|
|
4052
4056
|
function typeToValue(typeNode, checker) {
|
|
4053
4057
|
if (typeNode === null) {
|
|
@@ -4208,10 +4212,10 @@ function extractModuleName(node) {
|
|
|
4208
4212
|
return node.moduleSpecifier.text;
|
|
4209
4213
|
}
|
|
4210
4214
|
|
|
4211
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4212
4216
|
import ts20 from "typescript";
|
|
4213
4217
|
|
|
4214
|
-
// bazel-out/
|
|
4218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4215
4219
|
import ts19 from "typescript";
|
|
4216
4220
|
function isNamedClassDeclaration(node) {
|
|
4217
4221
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4220,7 +4224,7 @@ function isIdentifier(node) {
|
|
|
4220
4224
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4221
4225
|
}
|
|
4222
4226
|
|
|
4223
|
-
// bazel-out/
|
|
4227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4224
4228
|
var TypeScriptReflectionHost = class {
|
|
4225
4229
|
constructor(checker) {
|
|
4226
4230
|
this.checker = checker;
|
|
@@ -4656,7 +4660,7 @@ function getExportedName(decl, originalId) {
|
|
|
4656
4660
|
}
|
|
4657
4661
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4658
4662
|
|
|
4659
|
-
// bazel-out/
|
|
4663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4660
4664
|
var ClassPropertyMapping = class {
|
|
4661
4665
|
constructor(forwardMap) {
|
|
4662
4666
|
this.forwardMap = forwardMap;
|
|
@@ -4732,7 +4736,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4732
4736
|
return reverseMap;
|
|
4733
4737
|
}
|
|
4734
4738
|
|
|
4735
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4736
4740
|
import ts21 from "typescript";
|
|
4737
4741
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4738
4742
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4899,7 +4903,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4899
4903
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4900
4904
|
}
|
|
4901
4905
|
|
|
4902
|
-
// bazel-out/
|
|
4906
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4903
4907
|
var DtsMetadataReader = class {
|
|
4904
4908
|
constructor(checker, reflector) {
|
|
4905
4909
|
this.checker = checker;
|
|
@@ -4999,7 +5003,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
4999
5003
|
return null;
|
|
5000
5004
|
}
|
|
5001
5005
|
|
|
5002
|
-
// bazel-out/
|
|
5006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
5003
5007
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
5004
5008
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
5005
5009
|
if (topMeta === null) {
|
|
@@ -5056,7 +5060,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
5056
5060
|
});
|
|
5057
5061
|
}
|
|
5058
5062
|
|
|
5059
|
-
// bazel-out/
|
|
5063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
5060
5064
|
var LocalMetadataRegistry = class {
|
|
5061
5065
|
constructor() {
|
|
5062
5066
|
this.directives = new Map();
|
|
@@ -5115,7 +5119,7 @@ var InjectableClassRegistry = class {
|
|
|
5115
5119
|
}
|
|
5116
5120
|
};
|
|
5117
5121
|
|
|
5118
|
-
// bazel-out/
|
|
5122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5119
5123
|
var ResourceRegistry = class {
|
|
5120
5124
|
constructor() {
|
|
5121
5125
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5180,10 +5184,10 @@ var ResourceRegistry = class {
|
|
|
5180
5184
|
}
|
|
5181
5185
|
};
|
|
5182
5186
|
|
|
5183
|
-
// bazel-out/
|
|
5187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5184
5188
|
import ts23 from "typescript";
|
|
5185
5189
|
|
|
5186
|
-
// bazel-out/
|
|
5190
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5187
5191
|
var DynamicValue = class {
|
|
5188
5192
|
constructor(node, reason, code) {
|
|
5189
5193
|
this.node = node;
|
|
@@ -5268,7 +5272,7 @@ var DynamicValue = class {
|
|
|
5268
5272
|
}
|
|
5269
5273
|
};
|
|
5270
5274
|
|
|
5271
|
-
// bazel-out/
|
|
5275
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5272
5276
|
var ResolvedModule = class {
|
|
5273
5277
|
constructor(exports, evaluate) {
|
|
5274
5278
|
this.exports = exports;
|
|
@@ -5298,7 +5302,7 @@ var EnumValue = class {
|
|
|
5298
5302
|
var KnownFn = class {
|
|
5299
5303
|
};
|
|
5300
5304
|
|
|
5301
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5302
5306
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5303
5307
|
var _a, _b;
|
|
5304
5308
|
if (value === null) {
|
|
@@ -5424,10 +5428,10 @@ function getContainerNode(node) {
|
|
|
5424
5428
|
return node.getSourceFile();
|
|
5425
5429
|
}
|
|
5426
5430
|
|
|
5427
|
-
// bazel-out/
|
|
5431
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5428
5432
|
import ts24 from "typescript";
|
|
5429
5433
|
|
|
5430
|
-
// bazel-out/
|
|
5434
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5431
5435
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5432
5436
|
constructor(lhs) {
|
|
5433
5437
|
super();
|
|
@@ -5480,7 +5484,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5480
5484
|
}
|
|
5481
5485
|
};
|
|
5482
5486
|
|
|
5483
|
-
// bazel-out/
|
|
5487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5484
5488
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5485
5489
|
};
|
|
5486
5490
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5533,7 +5537,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5533
5537
|
}
|
|
5534
5538
|
};
|
|
5535
5539
|
|
|
5536
|
-
// bazel-out/
|
|
5540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5537
5541
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5538
5542
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5539
5543
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5557,7 +5561,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5557
5561
|
}
|
|
5558
5562
|
}
|
|
5559
5563
|
|
|
5560
|
-
// bazel-out/
|
|
5564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5561
5565
|
function literalBinaryOp(op) {
|
|
5562
5566
|
return { op, literal: true };
|
|
5563
5567
|
}
|
|
@@ -6142,7 +6146,7 @@ function owningModule(context, override = null) {
|
|
|
6142
6146
|
}
|
|
6143
6147
|
}
|
|
6144
6148
|
|
|
6145
|
-
// bazel-out/
|
|
6149
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6146
6150
|
var PartialEvaluator = class {
|
|
6147
6151
|
constructor(host, checker, dependencyTracker) {
|
|
6148
6152
|
this.host = host;
|
|
@@ -6162,7 +6166,7 @@ var PartialEvaluator = class {
|
|
|
6162
6166
|
}
|
|
6163
6167
|
};
|
|
6164
6168
|
|
|
6165
|
-
// bazel-out/
|
|
6169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6166
6170
|
var PerfPhase;
|
|
6167
6171
|
(function(PerfPhase2) {
|
|
6168
6172
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6227,7 +6231,7 @@ var PerfCheckpoint;
|
|
|
6227
6231
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6228
6232
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6229
6233
|
|
|
6230
|
-
// bazel-out/
|
|
6234
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6231
6235
|
var NoopPerfRecorder = class {
|
|
6232
6236
|
eventCount() {
|
|
6233
6237
|
}
|
|
@@ -6244,7 +6248,7 @@ var NoopPerfRecorder = class {
|
|
|
6244
6248
|
};
|
|
6245
6249
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6246
6250
|
|
|
6247
|
-
// bazel-out/
|
|
6251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6248
6252
|
function mark() {
|
|
6249
6253
|
return process.hrtime();
|
|
6250
6254
|
}
|
|
@@ -6253,7 +6257,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6253
6257
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6254
6258
|
}
|
|
6255
6259
|
|
|
6256
|
-
// bazel-out/
|
|
6260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6257
6261
|
var ActivePerfRecorder = class {
|
|
6258
6262
|
constructor(zeroTime) {
|
|
6259
6263
|
this.zeroTime = zeroTime;
|
|
@@ -6347,7 +6351,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6347
6351
|
}
|
|
6348
6352
|
};
|
|
6349
6353
|
|
|
6350
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6351
6355
|
var CompilationMode;
|
|
6352
6356
|
(function(CompilationMode2) {
|
|
6353
6357
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6365,7 +6369,7 @@ var HandlerFlags;
|
|
|
6365
6369
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6366
6370
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6367
6371
|
|
|
6368
|
-
// bazel-out/
|
|
6372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6369
6373
|
import ts25 from "typescript";
|
|
6370
6374
|
function aliasTransformFactory(exportStatements) {
|
|
6371
6375
|
return (context) => {
|
|
@@ -6383,10 +6387,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6383
6387
|
};
|
|
6384
6388
|
}
|
|
6385
6389
|
|
|
6386
|
-
// bazel-out/
|
|
6390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6387
6391
|
import ts26 from "typescript";
|
|
6388
6392
|
|
|
6389
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6390
6394
|
var TraitState;
|
|
6391
6395
|
(function(TraitState2) {
|
|
6392
6396
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6441,7 +6445,7 @@ var TraitImpl = class {
|
|
|
6441
6445
|
}
|
|
6442
6446
|
};
|
|
6443
6447
|
|
|
6444
|
-
// bazel-out/
|
|
6448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6445
6449
|
var TraitCompiler = class {
|
|
6446
6450
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6447
6451
|
this.handlers = handlers;
|
|
@@ -6878,10 +6882,10 @@ var TraitCompiler = class {
|
|
|
6878
6882
|
}
|
|
6879
6883
|
};
|
|
6880
6884
|
|
|
6881
|
-
// bazel-out/
|
|
6885
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6882
6886
|
import ts31 from "typescript";
|
|
6883
6887
|
|
|
6884
|
-
// bazel-out/
|
|
6888
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6885
6889
|
var Context = class {
|
|
6886
6890
|
constructor(isStatement) {
|
|
6887
6891
|
this.isStatement = isStatement;
|
|
@@ -6894,7 +6898,7 @@ var Context = class {
|
|
|
6894
6898
|
}
|
|
6895
6899
|
};
|
|
6896
6900
|
|
|
6897
|
-
// bazel-out/
|
|
6901
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6898
6902
|
import ts27 from "typescript";
|
|
6899
6903
|
var ImportManager = class {
|
|
6900
6904
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6930,7 +6934,7 @@ var ImportManager = class {
|
|
|
6930
6934
|
}
|
|
6931
6935
|
};
|
|
6932
6936
|
|
|
6933
|
-
// bazel-out/
|
|
6937
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6934
6938
|
import {
|
|
6935
6939
|
BinaryOperator,
|
|
6936
6940
|
ConditionalExpr,
|
|
@@ -7174,7 +7178,7 @@ function createRange(span) {
|
|
|
7174
7178
|
};
|
|
7175
7179
|
}
|
|
7176
7180
|
|
|
7177
|
-
// bazel-out/
|
|
7181
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7178
7182
|
import {
|
|
7179
7183
|
BuiltinTypeName
|
|
7180
7184
|
} from "@angular/compiler";
|
|
@@ -7353,7 +7357,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7353
7357
|
}
|
|
7354
7358
|
};
|
|
7355
7359
|
|
|
7356
|
-
// bazel-out/
|
|
7360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7357
7361
|
import ts29 from "typescript";
|
|
7358
7362
|
var PureAnnotation;
|
|
7359
7363
|
(function(PureAnnotation2) {
|
|
@@ -7525,7 +7529,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7525
7529
|
}
|
|
7526
7530
|
}
|
|
7527
7531
|
|
|
7528
|
-
// bazel-out/
|
|
7532
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7529
7533
|
function translateExpression(expression, imports, options = {}) {
|
|
7530
7534
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7531
7535
|
}
|
|
@@ -7533,7 +7537,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7533
7537
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7534
7538
|
}
|
|
7535
7539
|
|
|
7536
|
-
// bazel-out/
|
|
7540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7537
7541
|
import ts30 from "typescript";
|
|
7538
7542
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7539
7543
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7561,7 +7565,7 @@ function isImportStatement(stmt) {
|
|
|
7561
7565
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7562
7566
|
}
|
|
7563
7567
|
|
|
7564
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7565
7569
|
var DtsTransformRegistry = class {
|
|
7566
7570
|
constructor() {
|
|
7567
7571
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7686,11 +7690,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7686
7690
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7687
7691
|
}
|
|
7688
7692
|
|
|
7689
|
-
// bazel-out/
|
|
7693
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7690
7694
|
import { ConstantPool } from "@angular/compiler";
|
|
7691
7695
|
import ts33 from "typescript";
|
|
7692
7696
|
|
|
7693
|
-
// bazel-out/
|
|
7697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7694
7698
|
import ts32 from "typescript";
|
|
7695
7699
|
function visit(node, visitor, context) {
|
|
7696
7700
|
return visitor._visit(node, context);
|
|
@@ -7752,7 +7756,7 @@ function hasStatements(node) {
|
|
|
7752
7756
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7753
7757
|
}
|
|
7754
7758
|
|
|
7755
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7756
7760
|
var NO_DECORATORS = new Set();
|
|
7757
7761
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7758
7762
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7933,10 +7937,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7933
7937
|
};
|
|
7934
7938
|
}
|
|
7935
7939
|
|
|
7936
|
-
// bazel-out/
|
|
7940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7937
7941
|
import ts35 from "typescript";
|
|
7938
7942
|
|
|
7939
|
-
// bazel-out/
|
|
7943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7940
7944
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7941
7945
|
import ts34 from "typescript";
|
|
7942
7946
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8296,7 +8300,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8296
8300
|
};
|
|
8297
8301
|
}
|
|
8298
8302
|
|
|
8299
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8300
8304
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8301
8305
|
var _a;
|
|
8302
8306
|
let chainedMessage;
|
|
@@ -8392,11 +8396,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8392
8396
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8393
8397
|
}
|
|
8394
8398
|
|
|
8395
|
-
// bazel-out/
|
|
8399
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8396
8400
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8397
8401
|
import ts37 from "typescript";
|
|
8398
8402
|
|
|
8399
|
-
// bazel-out/
|
|
8403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8400
8404
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8401
8405
|
function compileNgFactoryDefField(metadata) {
|
|
8402
8406
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8407,7 +8411,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8407
8411
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8408
8412
|
}
|
|
8409
8413
|
|
|
8410
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8411
8415
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8412
8416
|
import ts36 from "typescript";
|
|
8413
8417
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8495,7 +8499,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8495
8499
|
return result.transformed[0];
|
|
8496
8500
|
}
|
|
8497
8501
|
|
|
8498
|
-
// bazel-out/
|
|
8502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8499
8503
|
var EMPTY_OBJECT = {};
|
|
8500
8504
|
var FIELD_DECORATORS = [
|
|
8501
8505
|
"Input",
|
|
@@ -9057,8 +9061,8 @@ var QUERY_TYPES = new Set([
|
|
|
9057
9061
|
"ViewChildren"
|
|
9058
9062
|
]);
|
|
9059
9063
|
|
|
9060
|
-
// bazel-out/
|
|
9061
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
9064
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
9065
|
+
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
9062
9066
|
import ts38 from "typescript";
|
|
9063
9067
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
9064
9068
|
constructor() {
|
|
@@ -9105,7 +9109,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
9105
9109
|
}
|
|
9106
9110
|
};
|
|
9107
9111
|
var NgModuleDecoratorHandler = class {
|
|
9108
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
9112
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
9109
9113
|
this.reflector = reflector;
|
|
9110
9114
|
this.evaluator = evaluator;
|
|
9111
9115
|
this.metaReader = metaReader;
|
|
@@ -9118,7 +9122,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9118
9122
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
9119
9123
|
this.injectableRegistry = injectableRegistry;
|
|
9120
9124
|
this.perf = perf;
|
|
9121
|
-
this.localeId = localeId;
|
|
9122
9125
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
9123
9126
|
this.name = NgModuleDecoratorHandler.name;
|
|
9124
9127
|
}
|
|
@@ -9404,14 +9407,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9404
9407
|
type: injectorDef.type
|
|
9405
9408
|
}
|
|
9406
9409
|
];
|
|
9407
|
-
if (this.localeId) {
|
|
9408
|
-
res.push({
|
|
9409
|
-
name: "\u0275loc",
|
|
9410
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
9411
|
-
statements: [],
|
|
9412
|
-
type: STRING_TYPE
|
|
9413
|
-
});
|
|
9414
|
-
}
|
|
9415
9410
|
return res;
|
|
9416
9411
|
}
|
|
9417
9412
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -9500,7 +9495,7 @@ function isNgModule(node, compilation) {
|
|
|
9500
9495
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9501
9496
|
}
|
|
9502
9497
|
|
|
9503
|
-
// bazel-out/
|
|
9498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9504
9499
|
var EMPTY_MAP = new Map();
|
|
9505
9500
|
var EMPTY_ARRAY = [];
|
|
9506
9501
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10384,8 +10379,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10384
10379
|
return null;
|
|
10385
10380
|
}
|
|
10386
10381
|
|
|
10387
|
-
// bazel-out/
|
|
10388
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
10382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
10383
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10389
10384
|
import ts40 from "typescript";
|
|
10390
10385
|
var InjectableDecoratorHandler = class {
|
|
10391
10386
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10473,7 +10468,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10473
10468
|
type,
|
|
10474
10469
|
typeArgumentCount,
|
|
10475
10470
|
internalType,
|
|
10476
|
-
providedIn: createR3ProviderExpression(new
|
|
10471
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
10477
10472
|
};
|
|
10478
10473
|
} else if (decorator.args.length === 1) {
|
|
10479
10474
|
const metaNode = decorator.args[0];
|
|
@@ -10481,7 +10476,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10481
10476
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10482
10477
|
}
|
|
10483
10478
|
const meta = reflectObjectLiteral(metaNode);
|
|
10484
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
10479
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
10485
10480
|
let deps = void 0;
|
|
10486
10481
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10487
10482
|
const depsExpr = meta.get("deps");
|
|
@@ -10584,7 +10579,7 @@ function getDep(dep, reflector) {
|
|
|
10584
10579
|
return meta;
|
|
10585
10580
|
}
|
|
10586
10581
|
|
|
10587
|
-
// bazel-out/
|
|
10582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10588
10583
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10589
10584
|
import ts41 from "typescript";
|
|
10590
10585
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10709,13 +10704,13 @@ var PipeDecoratorHandler = class {
|
|
|
10709
10704
|
}
|
|
10710
10705
|
};
|
|
10711
10706
|
|
|
10712
|
-
// bazel-out/
|
|
10707
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10713
10708
|
var NoopReferencesRegistry = class {
|
|
10714
10709
|
add(source, ...references) {
|
|
10715
10710
|
}
|
|
10716
10711
|
};
|
|
10717
10712
|
|
|
10718
|
-
// bazel-out/
|
|
10713
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10719
10714
|
var CycleAnalyzer = class {
|
|
10720
10715
|
constructor(importGraph) {
|
|
10721
10716
|
this.importGraph = importGraph;
|
|
@@ -10786,7 +10781,7 @@ var Cycle = class {
|
|
|
10786
10781
|
}
|
|
10787
10782
|
};
|
|
10788
10783
|
|
|
10789
|
-
// bazel-out/
|
|
10784
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10790
10785
|
import ts42 from "typescript";
|
|
10791
10786
|
var ImportGraph = class {
|
|
10792
10787
|
constructor(checker, perf) {
|
|
@@ -10869,7 +10864,7 @@ var Found = class {
|
|
|
10869
10864
|
}
|
|
10870
10865
|
};
|
|
10871
10866
|
|
|
10872
|
-
// bazel-out/
|
|
10867
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10873
10868
|
import ts43 from "typescript";
|
|
10874
10869
|
var FlatIndexGenerator = class {
|
|
10875
10870
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10894,7 +10889,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10894
10889
|
}
|
|
10895
10890
|
};
|
|
10896
10891
|
|
|
10897
|
-
// bazel-out/
|
|
10892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10898
10893
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10899
10894
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10900
10895
|
let resolvedEntryPoint = null;
|
|
@@ -10910,7 +10905,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10910
10905
|
return resolvedEntryPoint;
|
|
10911
10906
|
}
|
|
10912
10907
|
|
|
10913
|
-
// bazel-out/
|
|
10908
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10914
10909
|
import ts44 from "typescript";
|
|
10915
10910
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10916
10911
|
const diagnostics = [];
|
|
@@ -10990,7 +10985,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10990
10985
|
}
|
|
10991
10986
|
}
|
|
10992
10987
|
|
|
10993
|
-
// bazel-out/
|
|
10988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10994
10989
|
var ReferenceGraph = class {
|
|
10995
10990
|
constructor() {
|
|
10996
10991
|
this.references = new Map();
|
|
@@ -11044,7 +11039,7 @@ var ReferenceGraph = class {
|
|
|
11044
11039
|
}
|
|
11045
11040
|
};
|
|
11046
11041
|
|
|
11047
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
11048
11043
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
11049
11044
|
var UpdateMode;
|
|
11050
11045
|
(function(UpdateMode2) {
|
|
@@ -11052,13 +11047,13 @@ var UpdateMode;
|
|
|
11052
11047
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
11053
11048
|
})(UpdateMode || (UpdateMode = {}));
|
|
11054
11049
|
|
|
11055
|
-
// bazel-out/
|
|
11050
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11056
11051
|
import ts48 from "typescript";
|
|
11057
11052
|
|
|
11058
|
-
// bazel-out/
|
|
11053
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11059
11054
|
import ts45 from "typescript";
|
|
11060
11055
|
|
|
11061
|
-
// bazel-out/
|
|
11056
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
11062
11057
|
var NgExtension = Symbol("NgExtension");
|
|
11063
11058
|
function isExtended(sf) {
|
|
11064
11059
|
return sf[NgExtension] !== void 0;
|
|
@@ -11118,7 +11113,7 @@ function retagTsFile(sf) {
|
|
|
11118
11113
|
}
|
|
11119
11114
|
}
|
|
11120
11115
|
|
|
11121
|
-
// bazel-out/
|
|
11116
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11122
11117
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11123
11118
|
function makeShimFileName(fileName, suffix) {
|
|
11124
11119
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11133,7 +11128,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11133
11128
|
return moduleName;
|
|
11134
11129
|
}
|
|
11135
11130
|
|
|
11136
|
-
// bazel-out/
|
|
11131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11137
11132
|
var ShimAdapter = class {
|
|
11138
11133
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11139
11134
|
this.delegate = delegate;
|
|
@@ -11230,7 +11225,7 @@ var ShimAdapter = class {
|
|
|
11230
11225
|
}
|
|
11231
11226
|
};
|
|
11232
11227
|
|
|
11233
|
-
// bazel-out/
|
|
11228
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11234
11229
|
import ts46 from "typescript";
|
|
11235
11230
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11236
11231
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11379,7 +11374,7 @@ function updateInitializers(stmt, update) {
|
|
|
11379
11374
|
return ts46.updateVariableStatement(stmt, stmt.modifiers, ts46.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts46.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
11380
11375
|
}
|
|
11381
11376
|
|
|
11382
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11383
11378
|
var ShimReferenceTagger = class {
|
|
11384
11379
|
constructor(shimExtensions) {
|
|
11385
11380
|
this.tagged = new Set();
|
|
@@ -11413,7 +11408,7 @@ var ShimReferenceTagger = class {
|
|
|
11413
11408
|
}
|
|
11414
11409
|
};
|
|
11415
11410
|
|
|
11416
|
-
// bazel-out/
|
|
11411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11417
11412
|
import ts47 from "typescript";
|
|
11418
11413
|
var SummaryGenerator = class {
|
|
11419
11414
|
constructor() {
|
|
@@ -11453,7 +11448,7 @@ function isExported2(decl) {
|
|
|
11453
11448
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11454
11449
|
}
|
|
11455
11450
|
|
|
11456
|
-
// bazel-out/
|
|
11451
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11457
11452
|
var DelegatingCompilerHost = class {
|
|
11458
11453
|
constructor(delegate) {
|
|
11459
11454
|
this.delegate = delegate;
|
|
@@ -11562,7 +11557,7 @@ var TsCreateProgramDriver = class {
|
|
|
11562
11557
|
}
|
|
11563
11558
|
};
|
|
11564
11559
|
|
|
11565
|
-
// bazel-out/
|
|
11560
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11566
11561
|
var FileDependencyGraph = class {
|
|
11567
11562
|
constructor() {
|
|
11568
11563
|
this.nodes = new Map();
|
|
@@ -11629,7 +11624,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11629
11624
|
return false;
|
|
11630
11625
|
}
|
|
11631
11626
|
|
|
11632
|
-
// bazel-out/
|
|
11627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11633
11628
|
var IncrementalStateKind;
|
|
11634
11629
|
(function(IncrementalStateKind2) {
|
|
11635
11630
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11637,7 +11632,7 @@ var IncrementalStateKind;
|
|
|
11637
11632
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11638
11633
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11639
11634
|
|
|
11640
|
-
// bazel-out/
|
|
11635
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11641
11636
|
var PhaseKind;
|
|
11642
11637
|
(function(PhaseKind2) {
|
|
11643
11638
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11838,7 +11833,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11838
11833
|
}
|
|
11839
11834
|
}
|
|
11840
11835
|
|
|
11841
|
-
// bazel-out/
|
|
11836
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11842
11837
|
var TrackedIncrementalBuildStrategy = class {
|
|
11843
11838
|
constructor() {
|
|
11844
11839
|
this.state = null;
|
|
@@ -11874,7 +11869,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
11874
11869
|
};
|
|
11875
11870
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11876
11871
|
|
|
11877
|
-
// bazel-out/
|
|
11872
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11878
11873
|
var IdentifierKind;
|
|
11879
11874
|
(function(IdentifierKind2) {
|
|
11880
11875
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11892,7 +11887,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11892
11887
|
}
|
|
11893
11888
|
};
|
|
11894
11889
|
|
|
11895
|
-
// bazel-out/
|
|
11890
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11896
11891
|
var IndexingContext = class {
|
|
11897
11892
|
constructor() {
|
|
11898
11893
|
this.components = new Set();
|
|
@@ -11902,10 +11897,10 @@ var IndexingContext = class {
|
|
|
11902
11897
|
}
|
|
11903
11898
|
};
|
|
11904
11899
|
|
|
11905
|
-
// bazel-out/
|
|
11900
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11906
11901
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11907
11902
|
|
|
11908
|
-
// bazel-out/
|
|
11903
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11909
11904
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11910
11905
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11911
11906
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12109,7 +12104,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12109
12104
|
return visitor.identifiers;
|
|
12110
12105
|
}
|
|
12111
12106
|
|
|
12112
|
-
// bazel-out/
|
|
12107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12113
12108
|
function generateAnalysis(context) {
|
|
12114
12109
|
const analysis = new Map();
|
|
12115
12110
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12143,7 +12138,7 @@ function generateAnalysis(context) {
|
|
|
12143
12138
|
return analysis;
|
|
12144
12139
|
}
|
|
12145
12140
|
|
|
12146
|
-
// bazel-out/
|
|
12141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12147
12142
|
import ts49 from "typescript";
|
|
12148
12143
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12149
12144
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12288,7 +12283,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12288
12283
|
};
|
|
12289
12284
|
}
|
|
12290
12285
|
|
|
12291
|
-
// bazel-out/
|
|
12286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12292
12287
|
var MetadataDtsModuleScopeResolver = class {
|
|
12293
12288
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12294
12289
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12374,7 +12369,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12374
12369
|
}
|
|
12375
12370
|
};
|
|
12376
12371
|
|
|
12377
|
-
// bazel-out/
|
|
12372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12378
12373
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12379
12374
|
import ts50 from "typescript";
|
|
12380
12375
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12682,7 +12677,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12682
12677
|
]);
|
|
12683
12678
|
}
|
|
12684
12679
|
|
|
12685
|
-
// bazel-out/
|
|
12680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12686
12681
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12687
12682
|
import ts51 from "typescript";
|
|
12688
12683
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12743,7 +12738,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12743
12738
|
}
|
|
12744
12739
|
};
|
|
12745
12740
|
|
|
12746
|
-
// bazel-out/
|
|
12741
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12747
12742
|
import ts52 from "typescript";
|
|
12748
12743
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12749
12744
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12807,24 +12802,24 @@ function hasIvySwitches(stmt) {
|
|
|
12807
12802
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12808
12803
|
}
|
|
12809
12804
|
|
|
12810
|
-
// bazel-out/
|
|
12805
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12811
12806
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12812
12807
|
|
|
12813
|
-
// bazel-out/
|
|
12808
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12814
12809
|
var OptimizeFor;
|
|
12815
12810
|
(function(OptimizeFor2) {
|
|
12816
12811
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12817
12812
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12818
12813
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12819
12814
|
|
|
12820
|
-
// bazel-out/
|
|
12815
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12821
12816
|
var CompletionKind;
|
|
12822
12817
|
(function(CompletionKind2) {
|
|
12823
12818
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12824
12819
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12825
12820
|
})(CompletionKind || (CompletionKind = {}));
|
|
12826
12821
|
|
|
12827
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12828
12823
|
var SymbolKind;
|
|
12829
12824
|
(function(SymbolKind2) {
|
|
12830
12825
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12840,7 +12835,7 @@ var SymbolKind;
|
|
|
12840
12835
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12841
12836
|
})(SymbolKind || (SymbolKind = {}));
|
|
12842
12837
|
|
|
12843
|
-
// bazel-out/
|
|
12838
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12844
12839
|
import ts53 from "typescript";
|
|
12845
12840
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12846
12841
|
if (mapping.type === "direct") {
|
|
@@ -12913,7 +12908,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12913
12908
|
}
|
|
12914
12909
|
}
|
|
12915
12910
|
|
|
12916
|
-
// bazel-out/
|
|
12911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12917
12912
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12918
12913
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12919
12914
|
function getTemplateId(clazz) {
|
|
@@ -12930,11 +12925,11 @@ function allocateTemplateId(sf) {
|
|
|
12930
12925
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12931
12926
|
}
|
|
12932
12927
|
|
|
12933
|
-
// bazel-out/
|
|
12928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12934
12929
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12935
12930
|
import ts55 from "typescript";
|
|
12936
12931
|
|
|
12937
|
-
// bazel-out/
|
|
12932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12938
12933
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12939
12934
|
import ts54 from "typescript";
|
|
12940
12935
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -13054,7 +13049,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
13054
13049
|
}) || false;
|
|
13055
13050
|
}
|
|
13056
13051
|
|
|
13057
|
-
// bazel-out/
|
|
13052
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
13058
13053
|
var CompletionEngine = class {
|
|
13059
13054
|
constructor(tcb, data, shimPath) {
|
|
13060
13055
|
this.tcb = tcb;
|
|
@@ -13205,10 +13200,10 @@ var CompletionEngine = class {
|
|
|
13205
13200
|
}
|
|
13206
13201
|
};
|
|
13207
13202
|
|
|
13208
|
-
// bazel-out/
|
|
13203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13209
13204
|
import ts69 from "typescript";
|
|
13210
13205
|
|
|
13211
|
-
// bazel-out/
|
|
13206
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13212
13207
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13213
13208
|
import ts56 from "typescript";
|
|
13214
13209
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13258,11 +13253,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13258
13253
|
}
|
|
13259
13254
|
};
|
|
13260
13255
|
|
|
13261
|
-
// bazel-out/
|
|
13256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13262
13257
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13263
13258
|
import ts62 from "typescript";
|
|
13264
13259
|
|
|
13265
|
-
// bazel-out/
|
|
13260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13266
13261
|
import ts57 from "typescript";
|
|
13267
13262
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13268
13263
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13331,16 +13326,16 @@ function isAccessExpression(node) {
|
|
|
13331
13326
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13332
13327
|
}
|
|
13333
13328
|
|
|
13334
|
-
// bazel-out/
|
|
13329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13335
13330
|
import ts61 from "typescript";
|
|
13336
13331
|
|
|
13337
|
-
// bazel-out/
|
|
13332
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13338
13333
|
import ts60 from "typescript";
|
|
13339
13334
|
|
|
13340
|
-
// bazel-out/
|
|
13335
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13341
13336
|
import ts59 from "typescript";
|
|
13342
13337
|
|
|
13343
|
-
// bazel-out/
|
|
13338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13344
13339
|
import ts58 from "typescript";
|
|
13345
13340
|
var INELIGIBLE = {};
|
|
13346
13341
|
function canEmitType(type, resolver) {
|
|
@@ -13415,7 +13410,7 @@ var TypeEmitter = class {
|
|
|
13415
13410
|
}
|
|
13416
13411
|
};
|
|
13417
13412
|
|
|
13418
|
-
// bazel-out/
|
|
13413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13419
13414
|
var TypeParameterEmitter = class {
|
|
13420
13415
|
constructor(typeParameters, reflector) {
|
|
13421
13416
|
this.typeParameters = typeParameters;
|
|
@@ -13478,7 +13473,7 @@ var TypeParameterEmitter = class {
|
|
|
13478
13473
|
}
|
|
13479
13474
|
};
|
|
13480
13475
|
|
|
13481
|
-
// bazel-out/
|
|
13476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13482
13477
|
var TcbInliningRequirement;
|
|
13483
13478
|
(function(TcbInliningRequirement2) {
|
|
13484
13479
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13557,7 +13552,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13557
13552
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13558
13553
|
}
|
|
13559
13554
|
|
|
13560
|
-
// bazel-out/
|
|
13555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13561
13556
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13562
13557
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13563
13558
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13631,7 +13626,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13631
13626
|
});
|
|
13632
13627
|
}
|
|
13633
13628
|
|
|
13634
|
-
// bazel-out/
|
|
13629
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13635
13630
|
var Environment = class {
|
|
13636
13631
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13637
13632
|
this.config = config;
|
|
@@ -13717,7 +13712,7 @@ var Environment = class {
|
|
|
13717
13712
|
}
|
|
13718
13713
|
};
|
|
13719
13714
|
|
|
13720
|
-
// bazel-out/
|
|
13715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13721
13716
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13722
13717
|
import ts63 from "typescript";
|
|
13723
13718
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13849,7 +13844,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13849
13844
|
});
|
|
13850
13845
|
}
|
|
13851
13846
|
|
|
13852
|
-
// bazel-out/
|
|
13847
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13853
13848
|
import ts64 from "typescript";
|
|
13854
13849
|
var TypeCheckShimGenerator = class {
|
|
13855
13850
|
constructor() {
|
|
@@ -13867,11 +13862,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13867
13862
|
}
|
|
13868
13863
|
};
|
|
13869
13864
|
|
|
13870
|
-
// bazel-out/
|
|
13865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13871
13866
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
13872
13867
|
import ts67 from "typescript";
|
|
13873
13868
|
|
|
13874
|
-
// bazel-out/
|
|
13869
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13875
13870
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13876
13871
|
import ts65 from "typescript";
|
|
13877
13872
|
function wrapForDiagnostics(expr) {
|
|
@@ -13917,7 +13912,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13917
13912
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13918
13913
|
}
|
|
13919
13914
|
|
|
13920
|
-
// bazel-out/
|
|
13915
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13921
13916
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13922
13917
|
import ts66 from "typescript";
|
|
13923
13918
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14221,7 +14216,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14221
14216
|
};
|
|
14222
14217
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14223
14218
|
|
|
14224
|
-
// bazel-out/
|
|
14219
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14225
14220
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14226
14221
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14227
14222
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14245,7 +14240,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14245
14240
|
}
|
|
14246
14241
|
};
|
|
14247
14242
|
|
|
14248
|
-
// bazel-out/
|
|
14243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14249
14244
|
var TcbGenericContextBehavior;
|
|
14250
14245
|
(function(TcbGenericContextBehavior2) {
|
|
14251
14246
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15297,7 +15292,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15297
15292
|
}
|
|
15298
15293
|
};
|
|
15299
15294
|
|
|
15300
|
-
// bazel-out/
|
|
15295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15301
15296
|
import ts68 from "typescript";
|
|
15302
15297
|
var TypeCheckFile = class extends Environment {
|
|
15303
15298
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15333,7 +15328,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15333
15328
|
}
|
|
15334
15329
|
};
|
|
15335
15330
|
|
|
15336
|
-
// bazel-out/
|
|
15331
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15337
15332
|
var InliningMode;
|
|
15338
15333
|
(function(InliningMode2) {
|
|
15339
15334
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15563,10 +15558,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15563
15558
|
return splits;
|
|
15564
15559
|
}
|
|
15565
15560
|
|
|
15566
|
-
// bazel-out/
|
|
15561
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15567
15562
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15568
15563
|
|
|
15569
|
-
// bazel-out/
|
|
15564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15570
15565
|
var LF_CHAR = 10;
|
|
15571
15566
|
var CR_CHAR = 13;
|
|
15572
15567
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15607,7 +15602,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15607
15602
|
return low - 1;
|
|
15608
15603
|
}
|
|
15609
15604
|
|
|
15610
|
-
// bazel-out/
|
|
15605
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15611
15606
|
var TemplateSource = class {
|
|
15612
15607
|
constructor(mapping, file) {
|
|
15613
15608
|
this.mapping = mapping;
|
|
@@ -15658,7 +15653,7 @@ var TemplateSourceManager = class {
|
|
|
15658
15653
|
}
|
|
15659
15654
|
};
|
|
15660
15655
|
|
|
15661
|
-
// bazel-out/
|
|
15656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15662
15657
|
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";
|
|
15663
15658
|
import ts70 from "typescript";
|
|
15664
15659
|
var SymbolBuilder = class {
|
|
@@ -16083,7 +16078,7 @@ function sourceSpanEqual(a, b) {
|
|
|
16083
16078
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
16084
16079
|
}
|
|
16085
16080
|
|
|
16086
|
-
// bazel-out/
|
|
16081
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
16087
16082
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
16088
16083
|
var TemplateTypeCheckerImpl = class {
|
|
16089
16084
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16599,7 +16594,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16599
16594
|
}
|
|
16600
16595
|
};
|
|
16601
16596
|
|
|
16602
|
-
// bazel-out/
|
|
16597
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16603
16598
|
var ExtendedTemplateCheckerImpl = class {
|
|
16604
16599
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16605
16600
|
this.templateChecks = templateChecks;
|
|
@@ -16618,11 +16613,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16618
16613
|
}
|
|
16619
16614
|
};
|
|
16620
16615
|
|
|
16621
|
-
// bazel-out/
|
|
16616
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16622
16617
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16623
16618
|
import ts71 from "typescript";
|
|
16624
16619
|
|
|
16625
|
-
// bazel-out/
|
|
16620
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16626
16621
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16627
16622
|
var TemplateCheckWithVisitor = class {
|
|
16628
16623
|
run(ctx, component, template) {
|
|
@@ -16699,7 +16694,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16699
16694
|
}
|
|
16700
16695
|
};
|
|
16701
16696
|
|
|
16702
|
-
// bazel-out/
|
|
16697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16703
16698
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16704
16699
|
constructor() {
|
|
16705
16700
|
super(...arguments);
|
|
@@ -16719,7 +16714,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16719
16714
|
}
|
|
16720
16715
|
};
|
|
16721
16716
|
|
|
16722
|
-
// bazel-out/
|
|
16717
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16723
16718
|
import { Binary } from "@angular/compiler";
|
|
16724
16719
|
import ts72 from "typescript";
|
|
16725
16720
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16747,7 +16742,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16747
16742
|
}
|
|
16748
16743
|
};
|
|
16749
16744
|
|
|
16750
|
-
// bazel-out/
|
|
16745
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16751
16746
|
var CompilationTicketKind;
|
|
16752
16747
|
(function(CompilationTicketKind2) {
|
|
16753
16748
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17261,7 +17256,7 @@ var NgCompiler = class {
|
|
|
17261
17256
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
17262
17257
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
17263
17258
|
new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
|
|
17264
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder
|
|
17259
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, injectableRegistry, this.delegatingPerfRecorder)
|
|
17265
17260
|
];
|
|
17266
17261
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater);
|
|
17267
17262
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -17386,11 +17381,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17386
17381
|
return versions;
|
|
17387
17382
|
}
|
|
17388
17383
|
|
|
17389
|
-
// bazel-out/
|
|
17384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17390
17385
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17391
17386
|
import ts76 from "typescript";
|
|
17392
17387
|
|
|
17393
|
-
// bazel-out/
|
|
17388
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17394
17389
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17395
17390
|
import {
|
|
17396
17391
|
relative as relative5,
|
|
@@ -17445,10 +17440,10 @@ function getPathNormalizer(basePath) {
|
|
|
17445
17440
|
};
|
|
17446
17441
|
}
|
|
17447
17442
|
|
|
17448
|
-
// bazel-out/
|
|
17443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17449
17444
|
import ts74 from "typescript";
|
|
17450
17445
|
|
|
17451
|
-
// bazel-out/
|
|
17446
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17452
17447
|
function toNumbers(value) {
|
|
17453
17448
|
return value.split(".").map(Number);
|
|
17454
17449
|
}
|
|
@@ -17476,7 +17471,7 @@ function compareVersions(v1, v2) {
|
|
|
17476
17471
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17477
17472
|
}
|
|
17478
17473
|
|
|
17479
|
-
// bazel-out/
|
|
17474
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17480
17475
|
var MIN_TS_VERSION = "4.4.2";
|
|
17481
17476
|
var MAX_TS_VERSION = "4.5.0";
|
|
17482
17477
|
var tsVersion = ts74.version;
|
|
@@ -17489,7 +17484,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17489
17484
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17490
17485
|
}
|
|
17491
17486
|
|
|
17492
|
-
// bazel-out/
|
|
17487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17493
17488
|
import ts75 from "typescript";
|
|
17494
17489
|
var DelegatingCompilerHost2 = class {
|
|
17495
17490
|
constructor(delegate) {
|
|
@@ -17629,7 +17624,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17629
17624
|
}
|
|
17630
17625
|
};
|
|
17631
17626
|
|
|
17632
|
-
// bazel-out/
|
|
17627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17633
17628
|
var NgtscProgram = class {
|
|
17634
17629
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17635
17630
|
this.options = options;
|
|
@@ -17842,10 +17837,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17842
17837
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17843
17838
|
}
|
|
17844
17839
|
|
|
17845
|
-
// bazel-out/
|
|
17840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17846
17841
|
import ts78 from "typescript";
|
|
17847
17842
|
|
|
17848
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17849
17844
|
import ts77 from "typescript";
|
|
17850
17845
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17851
17846
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17880,7 +17875,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17880
17875
|
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.");
|
|
17881
17876
|
}
|
|
17882
17877
|
|
|
17883
|
-
// bazel-out/
|
|
17878
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17884
17879
|
function isAngularDecorator3(decorator, isCore) {
|
|
17885
17880
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17886
17881
|
}
|
|
@@ -18184,7 +18179,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18184
18179
|
};
|
|
18185
18180
|
}
|
|
18186
18181
|
|
|
18187
|
-
// bazel-out/
|
|
18182
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18188
18183
|
import ts79 from "typescript";
|
|
18189
18184
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18190
18185
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18379,7 +18374,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18379
18374
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18380
18375
|
}
|
|
18381
18376
|
|
|
18382
|
-
// bazel-out/
|
|
18377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18383
18378
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18384
18379
|
import ts80 from "typescript";
|
|
18385
18380
|
function toMap(items, select) {
|
|
@@ -18656,7 +18651,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18656
18651
|
return exportTable;
|
|
18657
18652
|
}
|
|
18658
18653
|
|
|
18659
|
-
// bazel-out/
|
|
18654
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18660
18655
|
import ts81 from "typescript";
|
|
18661
18656
|
var MetadataCache = class {
|
|
18662
18657
|
constructor(collector, strict, transformers) {
|
|
@@ -18697,10 +18692,10 @@ var MetadataCache = class {
|
|
|
18697
18692
|
}
|
|
18698
18693
|
};
|
|
18699
18694
|
|
|
18700
|
-
// bazel-out/
|
|
18695
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18701
18696
|
import ts83 from "typescript";
|
|
18702
18697
|
|
|
18703
|
-
// bazel-out/
|
|
18698
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18704
18699
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18705
18700
|
import ts82 from "typescript";
|
|
18706
18701
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19152,7 +19147,7 @@ function translateModifiers(modifiers) {
|
|
|
19152
19147
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19153
19148
|
}
|
|
19154
19149
|
|
|
19155
|
-
// bazel-out/
|
|
19150
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19156
19151
|
function getPreamble(original) {
|
|
19157
19152
|
return `*
|
|
19158
19153
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19199,7 +19194,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19199
19194
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19200
19195
|
}
|
|
19201
19196
|
|
|
19202
|
-
// bazel-out/
|
|
19197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19203
19198
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19204
19199
|
import ts84 from "typescript";
|
|
19205
19200
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19235,7 +19230,7 @@ function isClassStmt(v) {
|
|
|
19235
19230
|
return v instanceof ClassStmt2;
|
|
19236
19231
|
}
|
|
19237
19232
|
|
|
19238
|
-
// bazel-out/
|
|
19233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19239
19234
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19240
19235
|
if (modules.length === 0) {
|
|
19241
19236
|
return () => (sf) => sf;
|
|
@@ -19253,8 +19248,13 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19253
19248
|
};
|
|
19254
19249
|
}
|
|
19255
19250
|
|
|
19256
|
-
// bazel-out/
|
|
19251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19257
19252
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19253
|
+
var VE_DISABLED_MESSAGE = `
|
|
19254
|
+
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
19255
|
+
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
19256
|
+
https://angular.io/guide/ivy for more information.
|
|
19257
|
+
`.trim().split("\n").join(" ");
|
|
19258
19258
|
var LOWER_FIELDS = ["useValue", "useFactory", "data", "id", "loadChildren"];
|
|
19259
19259
|
var R3_LOWER_FIELDS = [...LOWER_FIELDS, "providers", "imports", "exports"];
|
|
19260
19260
|
var tempProgramHandlerForTest = null;
|
|
@@ -19271,6 +19271,9 @@ var AngularCompilerProgram = class {
|
|
|
19271
19271
|
this._optionsDiagnostics = [];
|
|
19272
19272
|
this._transformTsDiagnostics = [];
|
|
19273
19273
|
this._isCompilingAngularCore = null;
|
|
19274
|
+
if (true) {
|
|
19275
|
+
throw new Error(VE_DISABLED_MESSAGE);
|
|
19276
|
+
}
|
|
19274
19277
|
this.rootNames = [...rootNames];
|
|
19275
19278
|
if (!options.disableTypeScriptVersionCheck) {
|
|
19276
19279
|
verifySupportedTypeScriptVersion();
|
|
@@ -19970,12 +19973,9 @@ function isIvyNgModule(clazz) {
|
|
|
19970
19973
|
return false;
|
|
19971
19974
|
}
|
|
19972
19975
|
|
|
19973
|
-
// bazel-out/
|
|
19976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19974
19977
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
19975
19978
|
import ts86 from "typescript";
|
|
19976
|
-
function filterErrorsAndWarnings(diagnostics) {
|
|
19977
|
-
return diagnostics.filter((d) => d.category !== ts86.DiagnosticCategory.Message);
|
|
19978
|
-
}
|
|
19979
19979
|
var defaultFormatHost = {
|
|
19980
19980
|
getCurrentDirectory: () => ts86.sys.getCurrentDirectory(),
|
|
19981
19981
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -20138,7 +20138,9 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
20138
20138
|
return null;
|
|
20139
20139
|
}
|
|
20140
20140
|
function exitCodeFromResult(diags) {
|
|
20141
|
-
if (!diags
|
|
20141
|
+
if (!diags)
|
|
20142
|
+
return 0;
|
|
20143
|
+
if (diags.every((diag) => diag.category !== ts86.DiagnosticCategory.Error)) {
|
|
20142
20144
|
return 0;
|
|
20143
20145
|
}
|
|
20144
20146
|
return diags.some((d) => d.source === "angular" && d.code === UNKNOWN_ERROR_CODE) ? 2 : 1;
|
|
@@ -20202,7 +20204,7 @@ function hasErrors(diags) {
|
|
|
20202
20204
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20203
20205
|
}
|
|
20204
20206
|
|
|
20205
|
-
// bazel-out/
|
|
20207
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
20206
20208
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
20207
20209
|
ngDevMode: false,
|
|
20208
20210
|
ngI18nClosureMode: false
|
|
@@ -20216,7 +20218,7 @@ function constructorParametersDownlevelTransform(program) {
|
|
|
20216
20218
|
return getDownlevelDecoratorsTransform(typeChecker, reflectionHost, [], false, false, true);
|
|
20217
20219
|
}
|
|
20218
20220
|
|
|
20219
|
-
// bazel-out/
|
|
20221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
20220
20222
|
var LogLevel;
|
|
20221
20223
|
(function(LogLevel2) {
|
|
20222
20224
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -20225,7 +20227,7 @@ var LogLevel;
|
|
|
20225
20227
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
20226
20228
|
})(LogLevel || (LogLevel = {}));
|
|
20227
20229
|
|
|
20228
|
-
// bazel-out/
|
|
20230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
20229
20231
|
var RESET = "[0m";
|
|
20230
20232
|
var RED = "[31m";
|
|
20231
20233
|
var YELLOW = "[33m";
|
|
@@ -20255,7 +20257,7 @@ var ConsoleLogger = class {
|
|
|
20255
20257
|
}
|
|
20256
20258
|
};
|
|
20257
20259
|
|
|
20258
|
-
// bazel-out/
|
|
20260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
20259
20261
|
var NgTscPlugin = class {
|
|
20260
20262
|
constructor(ngOptions) {
|
|
20261
20263
|
this.ngOptions = ngOptions;
|
|
@@ -20324,7 +20326,7 @@ var NgTscPlugin = class {
|
|
|
20324
20326
|
}
|
|
20325
20327
|
};
|
|
20326
20328
|
|
|
20327
|
-
// bazel-out/
|
|
20329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
20328
20330
|
setFileSystem(new NodeJSFileSystem());
|
|
20329
20331
|
export {
|
|
20330
20332
|
ConsoleLogger,
|
|
@@ -20358,7 +20360,6 @@ export {
|
|
|
20358
20360
|
defaultGatherDiagnostics,
|
|
20359
20361
|
dirname,
|
|
20360
20362
|
exitCodeFromResult,
|
|
20361
|
-
filterErrorsAndWarnings,
|
|
20362
20363
|
flattenDiagnosticMessageChain,
|
|
20363
20364
|
formatDiagnostic,
|
|
20364
20365
|
formatDiagnosticPosition,
|