@angular/compiler-cli 13.0.0-rc.2 → 13.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +209 -218
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +279 -288
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +280 -289
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +244 -253
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +208 -217
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +206 -215
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
package/bundles/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-rc.
|
|
449
|
+
var VERSION = new Version("13.0.0-rc.3");
|
|
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,14 +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/
|
|
3129
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
3130
3130
|
var ErrorCode;
|
|
3131
3131
|
(function(ErrorCode2) {
|
|
3132
3132
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -3177,7 +3177,7 @@ var ErrorCode;
|
|
|
3177
3177
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
3178
3178
|
})(ErrorCode || (ErrorCode = {}));
|
|
3179
3179
|
|
|
3180
|
-
// bazel-out/
|
|
3180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
3181
3181
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
3182
3182
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
3183
3183
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -3188,10 +3188,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
3188
3188
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
3189
3189
|
]);
|
|
3190
3190
|
|
|
3191
|
-
// bazel-out/
|
|
3191
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3192
3192
|
import ts10 from "typescript";
|
|
3193
3193
|
|
|
3194
|
-
// bazel-out/
|
|
3194
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
3195
3195
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
3196
3196
|
function replaceTsWithNgInErrors(errors) {
|
|
3197
3197
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -3200,7 +3200,7 @@ function ngErrorCode(code) {
|
|
|
3200
3200
|
return parseInt("-99" + code);
|
|
3201
3201
|
}
|
|
3202
3202
|
|
|
3203
|
-
// bazel-out/
|
|
3203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
3204
3204
|
var FatalDiagnosticError = class {
|
|
3205
3205
|
constructor(code, node, message, relatedInformation) {
|
|
3206
3206
|
this.code = code;
|
|
@@ -3237,17 +3237,17 @@ function makeRelatedInformation(node, messageText) {
|
|
|
3237
3237
|
};
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
|
-
// bazel-out/
|
|
3240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
3241
3241
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
3242
3242
|
|
|
3243
|
-
// bazel-out/
|
|
3243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3244
3244
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3245
3245
|
|
|
3246
|
-
// bazel-out/
|
|
3246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3247
3247
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
3248
3248
|
import ts13 from "typescript";
|
|
3249
3249
|
|
|
3250
|
-
// bazel-out/
|
|
3250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
3251
3251
|
import ts11 from "typescript";
|
|
3252
3252
|
var TS2 = /\.tsx?$/i;
|
|
3253
3253
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -3335,7 +3335,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
3335
3335
|
return redirectInfo.unredirected;
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
// bazel-out/
|
|
3338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
3339
3339
|
import ts12 from "typescript";
|
|
3340
3340
|
function findExportedNameOfNode(target, file, reflector) {
|
|
3341
3341
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -3359,7 +3359,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
3359
3359
|
return foundExportName;
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
3362
|
-
// bazel-out/
|
|
3362
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
3363
3363
|
var ImportFlags;
|
|
3364
3364
|
(function(ImportFlags2) {
|
|
3365
3365
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -3519,7 +3519,7 @@ var UnifiedModulesStrategy = class {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
3523
3523
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
3524
3524
|
var UnifiedModulesAliasingHost = class {
|
|
3525
3525
|
constructor(unifiedModulesHost) {
|
|
@@ -3582,7 +3582,7 @@ var AliasStrategy = class {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
};
|
|
3584
3584
|
|
|
3585
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
3586
3586
|
function relativePathBetween(from, to) {
|
|
3587
3587
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
3588
3588
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -3591,7 +3591,7 @@ function normalizeSeparators2(path7) {
|
|
|
3591
3591
|
return path7.replace(/\\/g, "/");
|
|
3592
3592
|
}
|
|
3593
3593
|
|
|
3594
|
-
// bazel-out/
|
|
3594
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
3595
3595
|
var NoopImportRewriter = class {
|
|
3596
3596
|
shouldImportSymbol(symbol, specifier) {
|
|
3597
3597
|
return true;
|
|
@@ -3649,7 +3649,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
3649
3649
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
3650
3650
|
}
|
|
3651
3651
|
|
|
3652
|
-
// bazel-out/
|
|
3652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
3653
3653
|
import ts14 from "typescript";
|
|
3654
3654
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
3655
3655
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -3694,7 +3694,7 @@ var DefaultImportTracker = class {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
};
|
|
3696
3696
|
|
|
3697
|
-
// bazel-out/
|
|
3697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
3698
3698
|
var Reference = class {
|
|
3699
3699
|
constructor(node, bestGuessOwningModule = null) {
|
|
3700
3700
|
this.node = node;
|
|
@@ -3757,7 +3757,7 @@ var Reference = class {
|
|
|
3757
3757
|
}
|
|
3758
3758
|
};
|
|
3759
3759
|
|
|
3760
|
-
// bazel-out/
|
|
3760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
3761
3761
|
var ModuleResolver = class {
|
|
3762
3762
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
3763
3763
|
this.program = program;
|
|
@@ -3774,7 +3774,7 @@ var ModuleResolver = class {
|
|
|
3774
3774
|
}
|
|
3775
3775
|
};
|
|
3776
3776
|
|
|
3777
|
-
// bazel-out/
|
|
3777
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3778
3778
|
import ts15 from "typescript";
|
|
3779
3779
|
var SemanticSymbol = class {
|
|
3780
3780
|
constructor(decl) {
|
|
@@ -3790,7 +3790,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3790
3790
|
return decl.name.text;
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3794
3794
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3795
3795
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3796
3796
|
isPublicApiAffected() {
|
|
@@ -3933,10 +3933,10 @@ function getImportPath(expr) {
|
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
3935
3935
|
|
|
3936
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3937
3937
|
import ts16 from "typescript";
|
|
3938
3938
|
|
|
3939
|
-
// bazel-out/
|
|
3939
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3940
3940
|
function isSymbolEqual(a, b) {
|
|
3941
3941
|
if (a.decl === b.decl) {
|
|
3942
3942
|
return true;
|
|
@@ -3986,7 +3986,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3986
3986
|
return true;
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
// bazel-out/
|
|
3989
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3990
3990
|
function extractSemanticTypeParameters(node) {
|
|
3991
3991
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3992
3992
|
return null;
|
|
@@ -4006,17 +4006,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
4006
4006
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
4007
4007
|
}
|
|
4008
4008
|
|
|
4009
|
-
// bazel-out/
|
|
4009
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
4010
4010
|
var MetaType;
|
|
4011
4011
|
(function(MetaType2) {
|
|
4012
4012
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
4013
4013
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
4014
4014
|
})(MetaType || (MetaType = {}));
|
|
4015
4015
|
|
|
4016
|
-
// bazel-out/
|
|
4016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4017
4017
|
import ts22 from "typescript";
|
|
4018
4018
|
|
|
4019
|
-
// bazel-out/
|
|
4019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
4020
4020
|
import ts17 from "typescript";
|
|
4021
4021
|
var Decorator = {
|
|
4022
4022
|
nodeForError: (decorator) => {
|
|
@@ -4051,7 +4051,7 @@ function isConcreteDeclaration(decl) {
|
|
|
4051
4051
|
return decl.kind === 0;
|
|
4052
4052
|
}
|
|
4053
4053
|
|
|
4054
|
-
// bazel-out/
|
|
4054
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
4055
4055
|
import ts18 from "typescript";
|
|
4056
4056
|
function typeToValue(typeNode, checker) {
|
|
4057
4057
|
if (typeNode === null) {
|
|
@@ -4212,10 +4212,10 @@ function extractModuleName(node) {
|
|
|
4212
4212
|
return node.moduleSpecifier.text;
|
|
4213
4213
|
}
|
|
4214
4214
|
|
|
4215
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4216
4216
|
import ts20 from "typescript";
|
|
4217
4217
|
|
|
4218
|
-
// bazel-out/
|
|
4218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
4219
4219
|
import ts19 from "typescript";
|
|
4220
4220
|
function isNamedClassDeclaration(node) {
|
|
4221
4221
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -4224,7 +4224,7 @@ function isIdentifier(node) {
|
|
|
4224
4224
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
4225
4225
|
}
|
|
4226
4226
|
|
|
4227
|
-
// bazel-out/
|
|
4227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
4228
4228
|
var TypeScriptReflectionHost = class {
|
|
4229
4229
|
constructor(checker) {
|
|
4230
4230
|
this.checker = checker;
|
|
@@ -4660,7 +4660,7 @@ function getExportedName(decl, originalId) {
|
|
|
4660
4660
|
}
|
|
4661
4661
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
4662
4662
|
|
|
4663
|
-
// bazel-out/
|
|
4663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
4664
4664
|
var ClassPropertyMapping = class {
|
|
4665
4665
|
constructor(forwardMap) {
|
|
4666
4666
|
this.forwardMap = forwardMap;
|
|
@@ -4736,7 +4736,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4736
4736
|
return reverseMap;
|
|
4737
4737
|
}
|
|
4738
4738
|
|
|
4739
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
4740
4740
|
import ts21 from "typescript";
|
|
4741
4741
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4742
4742
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -4903,7 +4903,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
4903
4903
|
return members.some(({ isStatic: isStatic2, name }) => isStatic2 && (name === "\u0275prov" || name === "\u0275fac"));
|
|
4904
4904
|
}
|
|
4905
4905
|
|
|
4906
|
-
// bazel-out/
|
|
4906
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
4907
4907
|
var DtsMetadataReader = class {
|
|
4908
4908
|
constructor(checker, reflector) {
|
|
4909
4909
|
this.checker = checker;
|
|
@@ -5003,7 +5003,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
5003
5003
|
return null;
|
|
5004
5004
|
}
|
|
5005
5005
|
|
|
5006
|
-
// bazel-out/
|
|
5006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
5007
5007
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
5008
5008
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
5009
5009
|
if (topMeta === null) {
|
|
@@ -5060,7 +5060,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
5060
5060
|
});
|
|
5061
5061
|
}
|
|
5062
5062
|
|
|
5063
|
-
// bazel-out/
|
|
5063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
5064
5064
|
var LocalMetadataRegistry = class {
|
|
5065
5065
|
constructor() {
|
|
5066
5066
|
this.directives = new Map();
|
|
@@ -5119,7 +5119,7 @@ var InjectableClassRegistry = class {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
};
|
|
5121
5121
|
|
|
5122
|
-
// bazel-out/
|
|
5122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
5123
5123
|
var ResourceRegistry = class {
|
|
5124
5124
|
constructor() {
|
|
5125
5125
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -5184,10 +5184,10 @@ var ResourceRegistry = class {
|
|
|
5184
5184
|
}
|
|
5185
5185
|
};
|
|
5186
5186
|
|
|
5187
|
-
// bazel-out/
|
|
5187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5188
5188
|
import ts23 from "typescript";
|
|
5189
5189
|
|
|
5190
|
-
// bazel-out/
|
|
5190
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
5191
5191
|
var DynamicValue = class {
|
|
5192
5192
|
constructor(node, reason, code) {
|
|
5193
5193
|
this.node = node;
|
|
@@ -5272,7 +5272,7 @@ var DynamicValue = class {
|
|
|
5272
5272
|
}
|
|
5273
5273
|
};
|
|
5274
5274
|
|
|
5275
|
-
// bazel-out/
|
|
5275
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
5276
5276
|
var ResolvedModule = class {
|
|
5277
5277
|
constructor(exports, evaluate) {
|
|
5278
5278
|
this.exports = exports;
|
|
@@ -5302,7 +5302,7 @@ var EnumValue = class {
|
|
|
5302
5302
|
var KnownFn = class {
|
|
5303
5303
|
};
|
|
5304
5304
|
|
|
5305
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
5306
5306
|
function describeResolvedType(value, maxDepth = 1) {
|
|
5307
5307
|
var _a, _b;
|
|
5308
5308
|
if (value === null) {
|
|
@@ -5428,10 +5428,10 @@ function getContainerNode(node) {
|
|
|
5428
5428
|
return node.getSourceFile();
|
|
5429
5429
|
}
|
|
5430
5430
|
|
|
5431
|
-
// bazel-out/
|
|
5431
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5432
5432
|
import ts24 from "typescript";
|
|
5433
5433
|
|
|
5434
|
-
// bazel-out/
|
|
5434
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
5435
5435
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
5436
5436
|
constructor(lhs) {
|
|
5437
5437
|
super();
|
|
@@ -5484,7 +5484,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
};
|
|
5486
5486
|
|
|
5487
|
-
// bazel-out/
|
|
5487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
5488
5488
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
5489
5489
|
};
|
|
5490
5490
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -5537,7 +5537,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
5537
5537
|
}
|
|
5538
5538
|
};
|
|
5539
5539
|
|
|
5540
|
-
// bazel-out/
|
|
5540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
5541
5541
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
5542
5542
|
var assignTsHelperFn = new AssignHelperFn();
|
|
5543
5543
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -5561,7 +5561,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
5561
5561
|
}
|
|
5562
5562
|
}
|
|
5563
5563
|
|
|
5564
|
-
// bazel-out/
|
|
5564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
5565
5565
|
function literalBinaryOp(op) {
|
|
5566
5566
|
return { op, literal: true };
|
|
5567
5567
|
}
|
|
@@ -6146,7 +6146,7 @@ function owningModule(context, override = null) {
|
|
|
6146
6146
|
}
|
|
6147
6147
|
}
|
|
6148
6148
|
|
|
6149
|
-
// bazel-out/
|
|
6149
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
6150
6150
|
var PartialEvaluator = class {
|
|
6151
6151
|
constructor(host, checker, dependencyTracker) {
|
|
6152
6152
|
this.host = host;
|
|
@@ -6166,7 +6166,7 @@ var PartialEvaluator = class {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
};
|
|
6168
6168
|
|
|
6169
|
-
// bazel-out/
|
|
6169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
6170
6170
|
var PerfPhase;
|
|
6171
6171
|
(function(PerfPhase2) {
|
|
6172
6172
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -6231,7 +6231,7 @@ var PerfCheckpoint;
|
|
|
6231
6231
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
6232
6232
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
6233
6233
|
|
|
6234
|
-
// bazel-out/
|
|
6234
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
6235
6235
|
var NoopPerfRecorder = class {
|
|
6236
6236
|
eventCount() {
|
|
6237
6237
|
}
|
|
@@ -6248,7 +6248,7 @@ var NoopPerfRecorder = class {
|
|
|
6248
6248
|
};
|
|
6249
6249
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
6250
6250
|
|
|
6251
|
-
// bazel-out/
|
|
6251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
6252
6252
|
function mark() {
|
|
6253
6253
|
return process.hrtime();
|
|
6254
6254
|
}
|
|
@@ -6257,7 +6257,7 @@ function timeSinceInMicros(mark2) {
|
|
|
6257
6257
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
6258
6258
|
}
|
|
6259
6259
|
|
|
6260
|
-
// bazel-out/
|
|
6260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
6261
6261
|
var ActivePerfRecorder = class {
|
|
6262
6262
|
constructor(zeroTime) {
|
|
6263
6263
|
this.zeroTime = zeroTime;
|
|
@@ -6351,7 +6351,7 @@ var DelegatingPerfRecorder = class {
|
|
|
6351
6351
|
}
|
|
6352
6352
|
};
|
|
6353
6353
|
|
|
6354
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
6355
6355
|
var CompilationMode;
|
|
6356
6356
|
(function(CompilationMode2) {
|
|
6357
6357
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -6369,7 +6369,7 @@ var HandlerFlags;
|
|
|
6369
6369
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
6370
6370
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
6371
6371
|
|
|
6372
|
-
// bazel-out/
|
|
6372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
6373
6373
|
import ts25 from "typescript";
|
|
6374
6374
|
function aliasTransformFactory(exportStatements) {
|
|
6375
6375
|
return (context) => {
|
|
@@ -6387,10 +6387,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
6387
6387
|
};
|
|
6388
6388
|
}
|
|
6389
6389
|
|
|
6390
|
-
// bazel-out/
|
|
6390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6391
6391
|
import ts26 from "typescript";
|
|
6392
6392
|
|
|
6393
|
-
// bazel-out/
|
|
6393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
6394
6394
|
var TraitState;
|
|
6395
6395
|
(function(TraitState2) {
|
|
6396
6396
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -6445,7 +6445,7 @@ var TraitImpl = class {
|
|
|
6445
6445
|
}
|
|
6446
6446
|
};
|
|
6447
6447
|
|
|
6448
|
-
// bazel-out/
|
|
6448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
6449
6449
|
var TraitCompiler = class {
|
|
6450
6450
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
6451
6451
|
this.handlers = handlers;
|
|
@@ -6882,10 +6882,10 @@ var TraitCompiler = class {
|
|
|
6882
6882
|
}
|
|
6883
6883
|
};
|
|
6884
6884
|
|
|
6885
|
-
// bazel-out/
|
|
6885
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
6886
6886
|
import ts31 from "typescript";
|
|
6887
6887
|
|
|
6888
|
-
// bazel-out/
|
|
6888
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
6889
6889
|
var Context = class {
|
|
6890
6890
|
constructor(isStatement) {
|
|
6891
6891
|
this.isStatement = isStatement;
|
|
@@ -6898,7 +6898,7 @@ var Context = class {
|
|
|
6898
6898
|
}
|
|
6899
6899
|
};
|
|
6900
6900
|
|
|
6901
|
-
// bazel-out/
|
|
6901
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
6902
6902
|
import ts27 from "typescript";
|
|
6903
6903
|
var ImportManager = class {
|
|
6904
6904
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -6934,7 +6934,7 @@ var ImportManager = class {
|
|
|
6934
6934
|
}
|
|
6935
6935
|
};
|
|
6936
6936
|
|
|
6937
|
-
// bazel-out/
|
|
6937
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
6938
6938
|
import {
|
|
6939
6939
|
BinaryOperator,
|
|
6940
6940
|
ConditionalExpr,
|
|
@@ -7178,7 +7178,7 @@ function createRange(span) {
|
|
|
7178
7178
|
};
|
|
7179
7179
|
}
|
|
7180
7180
|
|
|
7181
|
-
// bazel-out/
|
|
7181
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
7182
7182
|
import {
|
|
7183
7183
|
BuiltinTypeName
|
|
7184
7184
|
} from "@angular/compiler";
|
|
@@ -7357,7 +7357,7 @@ var TypeTranslatorVisitor = class {
|
|
|
7357
7357
|
}
|
|
7358
7358
|
};
|
|
7359
7359
|
|
|
7360
|
-
// bazel-out/
|
|
7360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
7361
7361
|
import ts29 from "typescript";
|
|
7362
7362
|
var PureAnnotation;
|
|
7363
7363
|
(function(PureAnnotation2) {
|
|
@@ -7529,7 +7529,7 @@ function attachComments(statement, leadingComments) {
|
|
|
7529
7529
|
}
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
|
-
// bazel-out/
|
|
7532
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
7533
7533
|
function translateExpression(expression, imports, options = {}) {
|
|
7534
7534
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
7535
7535
|
}
|
|
@@ -7537,7 +7537,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
7537
7537
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
7538
7538
|
}
|
|
7539
7539
|
|
|
7540
|
-
// bazel-out/
|
|
7540
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
7541
7541
|
import ts30 from "typescript";
|
|
7542
7542
|
function addImports(importManager, sf, extraStatements = []) {
|
|
7543
7543
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -7565,7 +7565,7 @@ function isImportStatement(stmt) {
|
|
|
7565
7565
|
return ts30.isImportDeclaration(stmt) || ts30.isImportEqualsDeclaration(stmt) || ts30.isNamespaceImport(stmt);
|
|
7566
7566
|
}
|
|
7567
7567
|
|
|
7568
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
7569
7569
|
var DtsTransformRegistry = class {
|
|
7570
7570
|
constructor() {
|
|
7571
7571
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -7690,11 +7690,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
7690
7690
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
7691
7691
|
}
|
|
7692
7692
|
|
|
7693
|
-
// bazel-out/
|
|
7693
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7694
7694
|
import { ConstantPool } from "@angular/compiler";
|
|
7695
7695
|
import ts33 from "typescript";
|
|
7696
7696
|
|
|
7697
|
-
// bazel-out/
|
|
7697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
7698
7698
|
import ts32 from "typescript";
|
|
7699
7699
|
function visit(node, visitor, context) {
|
|
7700
7700
|
return visitor._visit(node, context);
|
|
@@ -7756,7 +7756,7 @@ function hasStatements(node) {
|
|
|
7756
7756
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
7757
7757
|
}
|
|
7758
7758
|
|
|
7759
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
7760
7760
|
var NO_DECORATORS = new Set();
|
|
7761
7761
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
7762
7762
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -7937,10 +7937,10 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
7937
7937
|
};
|
|
7938
7938
|
}
|
|
7939
7939
|
|
|
7940
|
-
// bazel-out/
|
|
7940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
7941
7941
|
import ts35 from "typescript";
|
|
7942
7942
|
|
|
7943
|
-
// bazel-out/
|
|
7943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
7944
7944
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
7945
7945
|
import ts34 from "typescript";
|
|
7946
7946
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -8300,7 +8300,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
8300
8300
|
};
|
|
8301
8301
|
}
|
|
8302
8302
|
|
|
8303
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
8304
8304
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
8305
8305
|
var _a;
|
|
8306
8306
|
let chainedMessage;
|
|
@@ -8396,11 +8396,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
8396
8396
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
8397
8397
|
}
|
|
8398
8398
|
|
|
8399
|
-
// bazel-out/
|
|
8399
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8400
8400
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
8401
8401
|
import ts37 from "typescript";
|
|
8402
8402
|
|
|
8403
|
-
// bazel-out/
|
|
8403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
8404
8404
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
8405
8405
|
function compileNgFactoryDefField(metadata) {
|
|
8406
8406
|
const res = compileFactoryFunction(metadata);
|
|
@@ -8411,7 +8411,7 @@ function compileDeclareFactory(metadata) {
|
|
|
8411
8411
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
8412
8412
|
}
|
|
8413
8413
|
|
|
8414
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
8415
8415
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
8416
8416
|
import ts36 from "typescript";
|
|
8417
8417
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -8499,7 +8499,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
8499
8499
|
return result.transformed[0];
|
|
8500
8500
|
}
|
|
8501
8501
|
|
|
8502
|
-
// bazel-out/
|
|
8502
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
8503
8503
|
var EMPTY_OBJECT = {};
|
|
8504
8504
|
var FIELD_DECORATORS = [
|
|
8505
8505
|
"Input",
|
|
@@ -9061,8 +9061,8 @@ var QUERY_TYPES = new Set([
|
|
|
9061
9061
|
"ViewChildren"
|
|
9062
9062
|
]);
|
|
9063
9063
|
|
|
9064
|
-
// bazel-out/
|
|
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,
|
|
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";
|
|
9066
9066
|
import ts38 from "typescript";
|
|
9067
9067
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
9068
9068
|
constructor() {
|
|
@@ -9109,7 +9109,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
9109
9109
|
}
|
|
9110
9110
|
};
|
|
9111
9111
|
var NgModuleDecoratorHandler = class {
|
|
9112
|
-
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) {
|
|
9113
9113
|
this.reflector = reflector;
|
|
9114
9114
|
this.evaluator = evaluator;
|
|
9115
9115
|
this.metaReader = metaReader;
|
|
@@ -9122,7 +9122,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9122
9122
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
9123
9123
|
this.injectableRegistry = injectableRegistry;
|
|
9124
9124
|
this.perf = perf;
|
|
9125
|
-
this.localeId = localeId;
|
|
9126
9125
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
9127
9126
|
this.name = NgModuleDecoratorHandler.name;
|
|
9128
9127
|
}
|
|
@@ -9408,14 +9407,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
9408
9407
|
type: injectorDef.type
|
|
9409
9408
|
}
|
|
9410
9409
|
];
|
|
9411
|
-
if (this.localeId) {
|
|
9412
|
-
res.push({
|
|
9413
|
-
name: "\u0275loc",
|
|
9414
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
9415
|
-
statements: [],
|
|
9416
|
-
type: STRING_TYPE
|
|
9417
|
-
});
|
|
9418
|
-
}
|
|
9419
9410
|
return res;
|
|
9420
9411
|
}
|
|
9421
9412
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -9504,7 +9495,7 @@ function isNgModule(node, compilation) {
|
|
|
9504
9495
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
9505
9496
|
}
|
|
9506
9497
|
|
|
9507
|
-
// bazel-out/
|
|
9498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
9508
9499
|
var EMPTY_MAP = new Map();
|
|
9509
9500
|
var EMPTY_ARRAY = [];
|
|
9510
9501
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -10388,8 +10379,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
10388
10379
|
return null;
|
|
10389
10380
|
}
|
|
10390
10381
|
|
|
10391
|
-
// bazel-out/
|
|
10392
|
-
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";
|
|
10393
10384
|
import ts40 from "typescript";
|
|
10394
10385
|
var InjectableDecoratorHandler = class {
|
|
10395
10386
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -10477,7 +10468,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10477
10468
|
type,
|
|
10478
10469
|
typeArgumentCount,
|
|
10479
10470
|
internalType,
|
|
10480
|
-
providedIn: createR3ProviderExpression(new
|
|
10471
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
10481
10472
|
};
|
|
10482
10473
|
} else if (decorator.args.length === 1) {
|
|
10483
10474
|
const metaNode = decorator.args[0];
|
|
@@ -10485,7 +10476,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
10485
10476
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
10486
10477
|
}
|
|
10487
10478
|
const meta = reflectObjectLiteral(metaNode);
|
|
10488
|
-
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);
|
|
10489
10480
|
let deps = void 0;
|
|
10490
10481
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
10491
10482
|
const depsExpr = meta.get("deps");
|
|
@@ -10588,7 +10579,7 @@ function getDep(dep, reflector) {
|
|
|
10588
10579
|
return meta;
|
|
10589
10580
|
}
|
|
10590
10581
|
|
|
10591
|
-
// bazel-out/
|
|
10582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
10592
10583
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
10593
10584
|
import ts41 from "typescript";
|
|
10594
10585
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -10713,13 +10704,13 @@ var PipeDecoratorHandler = class {
|
|
|
10713
10704
|
}
|
|
10714
10705
|
};
|
|
10715
10706
|
|
|
10716
|
-
// bazel-out/
|
|
10707
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
10717
10708
|
var NoopReferencesRegistry = class {
|
|
10718
10709
|
add(source, ...references) {
|
|
10719
10710
|
}
|
|
10720
10711
|
};
|
|
10721
10712
|
|
|
10722
|
-
// bazel-out/
|
|
10713
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
10723
10714
|
var CycleAnalyzer = class {
|
|
10724
10715
|
constructor(importGraph) {
|
|
10725
10716
|
this.importGraph = importGraph;
|
|
@@ -10790,7 +10781,7 @@ var Cycle = class {
|
|
|
10790
10781
|
}
|
|
10791
10782
|
};
|
|
10792
10783
|
|
|
10793
|
-
// bazel-out/
|
|
10784
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
10794
10785
|
import ts42 from "typescript";
|
|
10795
10786
|
var ImportGraph = class {
|
|
10796
10787
|
constructor(checker, perf) {
|
|
@@ -10873,7 +10864,7 @@ var Found = class {
|
|
|
10873
10864
|
}
|
|
10874
10865
|
};
|
|
10875
10866
|
|
|
10876
|
-
// bazel-out/
|
|
10867
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
10877
10868
|
import ts43 from "typescript";
|
|
10878
10869
|
var FlatIndexGenerator = class {
|
|
10879
10870
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -10898,7 +10889,7 @@ export * from '${relativeEntryPoint}';
|
|
|
10898
10889
|
}
|
|
10899
10890
|
};
|
|
10900
10891
|
|
|
10901
|
-
// bazel-out/
|
|
10892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
10902
10893
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
10903
10894
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
10904
10895
|
let resolvedEntryPoint = null;
|
|
@@ -10914,7 +10905,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
10914
10905
|
return resolvedEntryPoint;
|
|
10915
10906
|
}
|
|
10916
10907
|
|
|
10917
|
-
// bazel-out/
|
|
10908
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
10918
10909
|
import ts44 from "typescript";
|
|
10919
10910
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
10920
10911
|
const diagnostics = [];
|
|
@@ -10994,7 +10985,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
10994
10985
|
}
|
|
10995
10986
|
}
|
|
10996
10987
|
|
|
10997
|
-
// bazel-out/
|
|
10988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
10998
10989
|
var ReferenceGraph = class {
|
|
10999
10990
|
constructor() {
|
|
11000
10991
|
this.references = new Map();
|
|
@@ -11048,7 +11039,7 @@ var ReferenceGraph = class {
|
|
|
11048
11039
|
}
|
|
11049
11040
|
};
|
|
11050
11041
|
|
|
11051
|
-
// bazel-out/
|
|
11042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
11052
11043
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
11053
11044
|
var UpdateMode;
|
|
11054
11045
|
(function(UpdateMode2) {
|
|
@@ -11056,13 +11047,13 @@ var UpdateMode;
|
|
|
11056
11047
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
11057
11048
|
})(UpdateMode || (UpdateMode = {}));
|
|
11058
11049
|
|
|
11059
|
-
// bazel-out/
|
|
11050
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11060
11051
|
import ts48 from "typescript";
|
|
11061
11052
|
|
|
11062
|
-
// bazel-out/
|
|
11053
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11063
11054
|
import ts45 from "typescript";
|
|
11064
11055
|
|
|
11065
|
-
// bazel-out/
|
|
11056
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
11066
11057
|
var NgExtension = Symbol("NgExtension");
|
|
11067
11058
|
function isExtended(sf) {
|
|
11068
11059
|
return sf[NgExtension] !== void 0;
|
|
@@ -11122,7 +11113,7 @@ function retagTsFile(sf) {
|
|
|
11122
11113
|
}
|
|
11123
11114
|
}
|
|
11124
11115
|
|
|
11125
|
-
// bazel-out/
|
|
11116
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
11126
11117
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
11127
11118
|
function makeShimFileName(fileName, suffix) {
|
|
11128
11119
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -11137,7 +11128,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
11137
11128
|
return moduleName;
|
|
11138
11129
|
}
|
|
11139
11130
|
|
|
11140
|
-
// bazel-out/
|
|
11131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
11141
11132
|
var ShimAdapter = class {
|
|
11142
11133
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
11143
11134
|
this.delegate = delegate;
|
|
@@ -11234,7 +11225,7 @@ var ShimAdapter = class {
|
|
|
11234
11225
|
}
|
|
11235
11226
|
};
|
|
11236
11227
|
|
|
11237
|
-
// bazel-out/
|
|
11228
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
11238
11229
|
import ts46 from "typescript";
|
|
11239
11230
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
11240
11231
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -11383,7 +11374,7 @@ function updateInitializers(stmt, update) {
|
|
|
11383
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)))));
|
|
11384
11375
|
}
|
|
11385
11376
|
|
|
11386
|
-
// bazel-out/
|
|
11377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
11387
11378
|
var ShimReferenceTagger = class {
|
|
11388
11379
|
constructor(shimExtensions) {
|
|
11389
11380
|
this.tagged = new Set();
|
|
@@ -11417,7 +11408,7 @@ var ShimReferenceTagger = class {
|
|
|
11417
11408
|
}
|
|
11418
11409
|
};
|
|
11419
11410
|
|
|
11420
|
-
// bazel-out/
|
|
11411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
11421
11412
|
import ts47 from "typescript";
|
|
11422
11413
|
var SummaryGenerator = class {
|
|
11423
11414
|
constructor() {
|
|
@@ -11457,7 +11448,7 @@ function isExported2(decl) {
|
|
|
11457
11448
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts47.SyntaxKind.ExportKeyword);
|
|
11458
11449
|
}
|
|
11459
11450
|
|
|
11460
|
-
// bazel-out/
|
|
11451
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
11461
11452
|
var DelegatingCompilerHost = class {
|
|
11462
11453
|
constructor(delegate) {
|
|
11463
11454
|
this.delegate = delegate;
|
|
@@ -11566,7 +11557,7 @@ var TsCreateProgramDriver = class {
|
|
|
11566
11557
|
}
|
|
11567
11558
|
};
|
|
11568
11559
|
|
|
11569
|
-
// bazel-out/
|
|
11560
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
11570
11561
|
var FileDependencyGraph = class {
|
|
11571
11562
|
constructor() {
|
|
11572
11563
|
this.nodes = new Map();
|
|
@@ -11633,7 +11624,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
11633
11624
|
return false;
|
|
11634
11625
|
}
|
|
11635
11626
|
|
|
11636
|
-
// bazel-out/
|
|
11627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
11637
11628
|
var IncrementalStateKind;
|
|
11638
11629
|
(function(IncrementalStateKind2) {
|
|
11639
11630
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -11641,7 +11632,7 @@ var IncrementalStateKind;
|
|
|
11641
11632
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
11642
11633
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
11643
11634
|
|
|
11644
|
-
// bazel-out/
|
|
11635
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
11645
11636
|
var PhaseKind;
|
|
11646
11637
|
(function(PhaseKind2) {
|
|
11647
11638
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -11842,7 +11833,7 @@ function toOriginalSourceFile(sf) {
|
|
|
11842
11833
|
}
|
|
11843
11834
|
}
|
|
11844
11835
|
|
|
11845
|
-
// bazel-out/
|
|
11836
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
11846
11837
|
var TrackedIncrementalBuildStrategy = class {
|
|
11847
11838
|
constructor() {
|
|
11848
11839
|
this.state = null;
|
|
@@ -11878,7 +11869,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
11878
11869
|
};
|
|
11879
11870
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
11880
11871
|
|
|
11881
|
-
// bazel-out/
|
|
11872
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
11882
11873
|
var IdentifierKind;
|
|
11883
11874
|
(function(IdentifierKind2) {
|
|
11884
11875
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -11896,7 +11887,7 @@ var AbsoluteSourceSpan = class {
|
|
|
11896
11887
|
}
|
|
11897
11888
|
};
|
|
11898
11889
|
|
|
11899
|
-
// bazel-out/
|
|
11890
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
11900
11891
|
var IndexingContext = class {
|
|
11901
11892
|
constructor() {
|
|
11902
11893
|
this.components = new Set();
|
|
@@ -11906,10 +11897,10 @@ var IndexingContext = class {
|
|
|
11906
11897
|
}
|
|
11907
11898
|
};
|
|
11908
11899
|
|
|
11909
|
-
// bazel-out/
|
|
11900
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
11910
11901
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
11911
11902
|
|
|
11912
|
-
// bazel-out/
|
|
11903
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
11913
11904
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
11914
11905
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
11915
11906
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -12113,7 +12104,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
12113
12104
|
return visitor.identifiers;
|
|
12114
12105
|
}
|
|
12115
12106
|
|
|
12116
|
-
// bazel-out/
|
|
12107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
12117
12108
|
function generateAnalysis(context) {
|
|
12118
12109
|
const analysis = new Map();
|
|
12119
12110
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -12147,7 +12138,7 @@ function generateAnalysis(context) {
|
|
|
12147
12138
|
return analysis;
|
|
12148
12139
|
}
|
|
12149
12140
|
|
|
12150
|
-
// bazel-out/
|
|
12141
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
12151
12142
|
import ts49 from "typescript";
|
|
12152
12143
|
var CSS_PREPROCESSOR_EXT2 = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
12153
12144
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -12292,7 +12283,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
12292
12283
|
};
|
|
12293
12284
|
}
|
|
12294
12285
|
|
|
12295
|
-
// bazel-out/
|
|
12286
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
12296
12287
|
var MetadataDtsModuleScopeResolver = class {
|
|
12297
12288
|
constructor(dtsMetaReader, aliasingHost) {
|
|
12298
12289
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -12378,7 +12369,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
12378
12369
|
}
|
|
12379
12370
|
};
|
|
12380
12371
|
|
|
12381
|
-
// bazel-out/
|
|
12372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
12382
12373
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
12383
12374
|
import ts50 from "typescript";
|
|
12384
12375
|
var LocalModuleScopeRegistry = class {
|
|
@@ -12686,7 +12677,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
12686
12677
|
]);
|
|
12687
12678
|
}
|
|
12688
12679
|
|
|
12689
|
-
// bazel-out/
|
|
12680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
12690
12681
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
12691
12682
|
import ts51 from "typescript";
|
|
12692
12683
|
var TypeCheckScopeRegistry = class {
|
|
@@ -12747,7 +12738,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
12747
12738
|
}
|
|
12748
12739
|
};
|
|
12749
12740
|
|
|
12750
|
-
// bazel-out/
|
|
12741
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
12751
12742
|
import ts52 from "typescript";
|
|
12752
12743
|
var IVY_SWITCH_PRE_SUFFIX = "__PRE_R3__";
|
|
12753
12744
|
var IVY_SWITCH_POST_SUFFIX = "__POST_R3__";
|
|
@@ -12811,24 +12802,24 @@ function hasIvySwitches(stmt) {
|
|
|
12811
12802
|
return stmt.declarationList.declarations.some((decl) => decl.initializer !== void 0 && ts52.isIdentifier(decl.initializer) && decl.initializer.text.endsWith(IVY_SWITCH_PRE_SUFFIX));
|
|
12812
12803
|
}
|
|
12813
12804
|
|
|
12814
|
-
// bazel-out/
|
|
12805
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12815
12806
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
12816
12807
|
|
|
12817
|
-
// bazel-out/
|
|
12808
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
12818
12809
|
var OptimizeFor;
|
|
12819
12810
|
(function(OptimizeFor2) {
|
|
12820
12811
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
12821
12812
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
12822
12813
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12823
12814
|
|
|
12824
|
-
// bazel-out/
|
|
12815
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
12825
12816
|
var CompletionKind;
|
|
12826
12817
|
(function(CompletionKind2) {
|
|
12827
12818
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
12828
12819
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
12829
12820
|
})(CompletionKind || (CompletionKind = {}));
|
|
12830
12821
|
|
|
12831
|
-
// bazel-out/
|
|
12822
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
12832
12823
|
var SymbolKind;
|
|
12833
12824
|
(function(SymbolKind2) {
|
|
12834
12825
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -12844,7 +12835,7 @@ var SymbolKind;
|
|
|
12844
12835
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
12845
12836
|
})(SymbolKind || (SymbolKind = {}));
|
|
12846
12837
|
|
|
12847
|
-
// bazel-out/
|
|
12838
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
12848
12839
|
import ts53 from "typescript";
|
|
12849
12840
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
12850
12841
|
if (mapping.type === "direct") {
|
|
@@ -12917,7 +12908,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
12917
12908
|
}
|
|
12918
12909
|
}
|
|
12919
12910
|
|
|
12920
|
-
// bazel-out/
|
|
12911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
12921
12912
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
12922
12913
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
12923
12914
|
function getTemplateId(clazz) {
|
|
@@ -12934,11 +12925,11 @@ function allocateTemplateId(sf) {
|
|
|
12934
12925
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
12935
12926
|
}
|
|
12936
12927
|
|
|
12937
|
-
// bazel-out/
|
|
12928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
12938
12929
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
12939
12930
|
import ts55 from "typescript";
|
|
12940
12931
|
|
|
12941
|
-
// bazel-out/
|
|
12932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
12942
12933
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
12943
12934
|
import ts54 from "typescript";
|
|
12944
12935
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -13058,7 +13049,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
13058
13049
|
}) || false;
|
|
13059
13050
|
}
|
|
13060
13051
|
|
|
13061
|
-
// bazel-out/
|
|
13052
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
13062
13053
|
var CompletionEngine = class {
|
|
13063
13054
|
constructor(tcb, data, shimPath) {
|
|
13064
13055
|
this.tcb = tcb;
|
|
@@ -13209,10 +13200,10 @@ var CompletionEngine = class {
|
|
|
13209
13200
|
}
|
|
13210
13201
|
};
|
|
13211
13202
|
|
|
13212
|
-
// bazel-out/
|
|
13203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
13213
13204
|
import ts69 from "typescript";
|
|
13214
13205
|
|
|
13215
|
-
// bazel-out/
|
|
13206
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
13216
13207
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
13217
13208
|
import ts56 from "typescript";
|
|
13218
13209
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
@@ -13262,11 +13253,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
13262
13253
|
}
|
|
13263
13254
|
};
|
|
13264
13255
|
|
|
13265
|
-
// bazel-out/
|
|
13256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13266
13257
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
13267
13258
|
import ts62 from "typescript";
|
|
13268
13259
|
|
|
13269
|
-
// bazel-out/
|
|
13260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
13270
13261
|
import ts57 from "typescript";
|
|
13271
13262
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
13272
13263
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -13335,16 +13326,16 @@ function isAccessExpression(node) {
|
|
|
13335
13326
|
return ts57.isPropertyAccessExpression(node) || ts57.isElementAccessExpression(node);
|
|
13336
13327
|
}
|
|
13337
13328
|
|
|
13338
|
-
// bazel-out/
|
|
13329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13339
13330
|
import ts61 from "typescript";
|
|
13340
13331
|
|
|
13341
|
-
// bazel-out/
|
|
13332
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13342
13333
|
import ts60 from "typescript";
|
|
13343
13334
|
|
|
13344
|
-
// bazel-out/
|
|
13335
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13345
13336
|
import ts59 from "typescript";
|
|
13346
13337
|
|
|
13347
|
-
// bazel-out/
|
|
13338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
13348
13339
|
import ts58 from "typescript";
|
|
13349
13340
|
var INELIGIBLE = {};
|
|
13350
13341
|
function canEmitType(type, resolver) {
|
|
@@ -13419,7 +13410,7 @@ var TypeEmitter = class {
|
|
|
13419
13410
|
}
|
|
13420
13411
|
};
|
|
13421
13412
|
|
|
13422
|
-
// bazel-out/
|
|
13413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
13423
13414
|
var TypeParameterEmitter = class {
|
|
13424
13415
|
constructor(typeParameters, reflector) {
|
|
13425
13416
|
this.typeParameters = typeParameters;
|
|
@@ -13482,7 +13473,7 @@ var TypeParameterEmitter = class {
|
|
|
13482
13473
|
}
|
|
13483
13474
|
};
|
|
13484
13475
|
|
|
13485
|
-
// bazel-out/
|
|
13476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
13486
13477
|
var TcbInliningRequirement;
|
|
13487
13478
|
(function(TcbInliningRequirement2) {
|
|
13488
13479
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -13561,7 +13552,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
|
|
|
13561
13552
|
return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
|
|
13562
13553
|
}
|
|
13563
13554
|
|
|
13564
|
-
// bazel-out/
|
|
13555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
13565
13556
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
|
|
13566
13557
|
if (requiresInlineTypeCtor(node, reflector)) {
|
|
13567
13558
|
throw new Error(`${node.name.text} requires an inline type constructor`);
|
|
@@ -13635,7 +13626,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
13635
13626
|
});
|
|
13636
13627
|
}
|
|
13637
13628
|
|
|
13638
|
-
// bazel-out/
|
|
13629
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
13639
13630
|
var Environment = class {
|
|
13640
13631
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
13641
13632
|
this.config = config;
|
|
@@ -13721,7 +13712,7 @@ var Environment = class {
|
|
|
13721
13712
|
}
|
|
13722
13713
|
};
|
|
13723
13714
|
|
|
13724
|
-
// bazel-out/
|
|
13715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
13725
13716
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
13726
13717
|
import ts63 from "typescript";
|
|
13727
13718
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -13853,7 +13844,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
13853
13844
|
});
|
|
13854
13845
|
}
|
|
13855
13846
|
|
|
13856
|
-
// bazel-out/
|
|
13847
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
13857
13848
|
import ts64 from "typescript";
|
|
13858
13849
|
var TypeCheckShimGenerator = class {
|
|
13859
13850
|
constructor() {
|
|
@@ -13871,11 +13862,11 @@ var TypeCheckShimGenerator = class {
|
|
|
13871
13862
|
}
|
|
13872
13863
|
};
|
|
13873
13864
|
|
|
13874
|
-
// bazel-out/
|
|
13865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
13875
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";
|
|
13876
13867
|
import ts67 from "typescript";
|
|
13877
13868
|
|
|
13878
|
-
// bazel-out/
|
|
13869
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
13879
13870
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
13880
13871
|
import ts65 from "typescript";
|
|
13881
13872
|
function wrapForDiagnostics(expr) {
|
|
@@ -13921,7 +13912,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
13921
13912
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
13922
13913
|
}
|
|
13923
13914
|
|
|
13924
|
-
// bazel-out/
|
|
13915
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
13925
13916
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
13926
13917
|
import ts66 from "typescript";
|
|
13927
13918
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -14225,7 +14216,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
14225
14216
|
};
|
|
14226
14217
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
14227
14218
|
|
|
14228
|
-
// bazel-out/
|
|
14219
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
14229
14220
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
14230
14221
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
14231
14222
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -14249,7 +14240,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
14249
14240
|
}
|
|
14250
14241
|
};
|
|
14251
14242
|
|
|
14252
|
-
// bazel-out/
|
|
14243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
14253
14244
|
var TcbGenericContextBehavior;
|
|
14254
14245
|
(function(TcbGenericContextBehavior2) {
|
|
14255
14246
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -15301,7 +15292,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
15301
15292
|
}
|
|
15302
15293
|
};
|
|
15303
15294
|
|
|
15304
|
-
// bazel-out/
|
|
15295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
15305
15296
|
import ts68 from "typescript";
|
|
15306
15297
|
var TypeCheckFile = class extends Environment {
|
|
15307
15298
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -15337,7 +15328,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
15337
15328
|
}
|
|
15338
15329
|
};
|
|
15339
15330
|
|
|
15340
|
-
// bazel-out/
|
|
15331
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
15341
15332
|
var InliningMode;
|
|
15342
15333
|
(function(InliningMode2) {
|
|
15343
15334
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -15567,10 +15558,10 @@ function splitStringAtPoints(str, points) {
|
|
|
15567
15558
|
return splits;
|
|
15568
15559
|
}
|
|
15569
15560
|
|
|
15570
|
-
// bazel-out/
|
|
15561
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15571
15562
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
15572
15563
|
|
|
15573
|
-
// bazel-out/
|
|
15564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
15574
15565
|
var LF_CHAR = 10;
|
|
15575
15566
|
var CR_CHAR = 13;
|
|
15576
15567
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -15611,7 +15602,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
15611
15602
|
return low - 1;
|
|
15612
15603
|
}
|
|
15613
15604
|
|
|
15614
|
-
// bazel-out/
|
|
15605
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
15615
15606
|
var TemplateSource = class {
|
|
15616
15607
|
constructor(mapping, file) {
|
|
15617
15608
|
this.mapping = mapping;
|
|
@@ -15662,7 +15653,7 @@ var TemplateSourceManager = class {
|
|
|
15662
15653
|
}
|
|
15663
15654
|
};
|
|
15664
15655
|
|
|
15665
|
-
// bazel-out/
|
|
15656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
15666
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";
|
|
15667
15658
|
import ts70 from "typescript";
|
|
15668
15659
|
var SymbolBuilder = class {
|
|
@@ -16087,7 +16078,7 @@ function sourceSpanEqual(a, b) {
|
|
|
16087
16078
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
16088
16079
|
}
|
|
16089
16080
|
|
|
16090
|
-
// bazel-out/
|
|
16081
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
16091
16082
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
16092
16083
|
var TemplateTypeCheckerImpl = class {
|
|
16093
16084
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -16603,7 +16594,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
16603
16594
|
}
|
|
16604
16595
|
};
|
|
16605
16596
|
|
|
16606
|
-
// bazel-out/
|
|
16597
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
16607
16598
|
var ExtendedTemplateCheckerImpl = class {
|
|
16608
16599
|
constructor(templateTypeChecker, typeChecker, templateChecks) {
|
|
16609
16600
|
this.templateChecks = templateChecks;
|
|
@@ -16622,11 +16613,11 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
16622
16613
|
}
|
|
16623
16614
|
};
|
|
16624
16615
|
|
|
16625
|
-
// bazel-out/
|
|
16616
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16626
16617
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
16627
16618
|
import ts71 from "typescript";
|
|
16628
16619
|
|
|
16629
|
-
// bazel-out/
|
|
16620
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
16630
16621
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
16631
16622
|
var TemplateCheckWithVisitor = class {
|
|
16632
16623
|
run(ctx, component, template) {
|
|
@@ -16703,7 +16694,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
16703
16694
|
}
|
|
16704
16695
|
};
|
|
16705
16696
|
|
|
16706
|
-
// bazel-out/
|
|
16697
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
16707
16698
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
16708
16699
|
constructor() {
|
|
16709
16700
|
super(...arguments);
|
|
@@ -16723,7 +16714,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
16723
16714
|
}
|
|
16724
16715
|
};
|
|
16725
16716
|
|
|
16726
|
-
// bazel-out/
|
|
16717
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
16727
16718
|
import { Binary } from "@angular/compiler";
|
|
16728
16719
|
import ts72 from "typescript";
|
|
16729
16720
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -16751,7 +16742,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
16751
16742
|
}
|
|
16752
16743
|
};
|
|
16753
16744
|
|
|
16754
|
-
// bazel-out/
|
|
16745
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
16755
16746
|
var CompilationTicketKind;
|
|
16756
16747
|
(function(CompilationTicketKind2) {
|
|
16757
16748
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -17265,7 +17256,7 @@ var NgCompiler = class {
|
|
|
17265
17256
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, isCore, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
17266
17257
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
17267
17258
|
new InjectableDecoratorHandler(reflector, isCore, this.options.strictInjectionParameters || false, injectableRegistry, this.delegatingPerfRecorder),
|
|
17268
|
-
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)
|
|
17269
17260
|
];
|
|
17270
17261
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater);
|
|
17271
17262
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -17390,11 +17381,11 @@ function versionMapFromProgram(program, driver) {
|
|
|
17390
17381
|
return versions;
|
|
17391
17382
|
}
|
|
17392
17383
|
|
|
17393
|
-
// bazel-out/
|
|
17384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17394
17385
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
17395
17386
|
import ts76 from "typescript";
|
|
17396
17387
|
|
|
17397
|
-
// bazel-out/
|
|
17388
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17398
17389
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
17399
17390
|
import {
|
|
17400
17391
|
relative as relative5,
|
|
@@ -17449,10 +17440,10 @@ function getPathNormalizer(basePath) {
|
|
|
17449
17440
|
};
|
|
17450
17441
|
}
|
|
17451
17442
|
|
|
17452
|
-
// bazel-out/
|
|
17443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17453
17444
|
import ts74 from "typescript";
|
|
17454
17445
|
|
|
17455
|
-
// bazel-out/
|
|
17446
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/typescript_version.mjs
|
|
17456
17447
|
function toNumbers(value) {
|
|
17457
17448
|
return value.split(".").map(Number);
|
|
17458
17449
|
}
|
|
@@ -17480,7 +17471,7 @@ function compareVersions(v1, v2) {
|
|
|
17480
17471
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17481
17472
|
}
|
|
17482
17473
|
|
|
17483
|
-
// bazel-out/
|
|
17474
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17484
17475
|
var MIN_TS_VERSION = "4.4.2";
|
|
17485
17476
|
var MAX_TS_VERSION = "4.5.0";
|
|
17486
17477
|
var tsVersion = ts74.version;
|
|
@@ -17493,7 +17484,7 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17493
17484
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17494
17485
|
}
|
|
17495
17486
|
|
|
17496
|
-
// bazel-out/
|
|
17487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
17497
17488
|
import ts75 from "typescript";
|
|
17498
17489
|
var DelegatingCompilerHost2 = class {
|
|
17499
17490
|
constructor(delegate) {
|
|
@@ -17633,7 +17624,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
17633
17624
|
}
|
|
17634
17625
|
};
|
|
17635
17626
|
|
|
17636
|
-
// bazel-out/
|
|
17627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17637
17628
|
var NgtscProgram = class {
|
|
17638
17629
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
17639
17630
|
this.options = options;
|
|
@@ -17846,10 +17837,10 @@ function mergeEmitResults(emitResults) {
|
|
|
17846
17837
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
17847
17838
|
}
|
|
17848
17839
|
|
|
17849
|
-
// bazel-out/
|
|
17840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17850
17841
|
import ts78 from "typescript";
|
|
17851
17842
|
|
|
17852
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
17853
17844
|
import ts77 from "typescript";
|
|
17854
17845
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
17855
17846
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -17884,7 +17875,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
17884
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.");
|
|
17885
17876
|
}
|
|
17886
17877
|
|
|
17887
|
-
// bazel-out/
|
|
17878
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
17888
17879
|
function isAngularDecorator3(decorator, isCore) {
|
|
17889
17880
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
17890
17881
|
}
|
|
@@ -18188,7 +18179,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
18188
18179
|
};
|
|
18189
18180
|
}
|
|
18190
18181
|
|
|
18191
|
-
// bazel-out/
|
|
18182
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
18192
18183
|
import ts79 from "typescript";
|
|
18193
18184
|
var PRECONDITIONS_TEXT = "angularCompilerOptions.enableResourceInlining requires all resources to be statically resolvable.";
|
|
18194
18185
|
function getResourceLoader(host, containingFileName) {
|
|
@@ -18383,7 +18374,7 @@ function updateComponentProperties(args, loader) {
|
|
|
18383
18374
|
return ts79.createNodeArray([ts79.updateObjectLiteral(componentArg, newProperties)]);
|
|
18384
18375
|
}
|
|
18385
18376
|
|
|
18386
|
-
// bazel-out/
|
|
18377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
18387
18378
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
18388
18379
|
import ts80 from "typescript";
|
|
18389
18380
|
function toMap(items, select) {
|
|
@@ -18660,7 +18651,7 @@ function createExportTableFor(sourceFile) {
|
|
|
18660
18651
|
return exportTable;
|
|
18661
18652
|
}
|
|
18662
18653
|
|
|
18663
|
-
// bazel-out/
|
|
18654
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
18664
18655
|
import ts81 from "typescript";
|
|
18665
18656
|
var MetadataCache = class {
|
|
18666
18657
|
constructor(collector, strict, transformers) {
|
|
@@ -18701,10 +18692,10 @@ var MetadataCache = class {
|
|
|
18701
18692
|
}
|
|
18702
18693
|
};
|
|
18703
18694
|
|
|
18704
|
-
// bazel-out/
|
|
18695
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
18705
18696
|
import ts83 from "typescript";
|
|
18706
18697
|
|
|
18707
|
-
// bazel-out/
|
|
18698
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
18708
18699
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
18709
18700
|
import ts82 from "typescript";
|
|
18710
18701
|
var METHOD_THIS_NAME = "this";
|
|
@@ -19156,7 +19147,7 @@ function translateModifiers(modifiers) {
|
|
|
19156
19147
|
return modifiers == null ? void 0 : modifiers.map(modifierFromModifier);
|
|
19157
19148
|
}
|
|
19158
19149
|
|
|
19159
|
-
// bazel-out/
|
|
19150
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
19160
19151
|
function getPreamble(original) {
|
|
19161
19152
|
return `*
|
|
19162
19153
|
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
|
|
@@ -19203,7 +19194,7 @@ function getFileoverviewComment2(sourceFile) {
|
|
|
19203
19194
|
return stripComment(commentText).replace(/^\*\s+/, "");
|
|
19204
19195
|
}
|
|
19205
19196
|
|
|
19206
|
-
// bazel-out/
|
|
19197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
19207
19198
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
19208
19199
|
import ts84 from "typescript";
|
|
19209
19200
|
var PartialModuleMetadataTransformer = class {
|
|
@@ -19239,7 +19230,7 @@ function isClassStmt(v) {
|
|
|
19239
19230
|
return v instanceof ClassStmt2;
|
|
19240
19231
|
}
|
|
19241
19232
|
|
|
19242
|
-
// bazel-out/
|
|
19233
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_transform.mjs
|
|
19243
19234
|
function getAngularClassTransformerFactory(modules, annotateForClosureCompiler) {
|
|
19244
19235
|
if (modules.length === 0) {
|
|
19245
19236
|
return () => (sf) => sf;
|
|
@@ -19257,7 +19248,7 @@ function getAngularClassTransformerFactory(modules, annotateForClosureCompiler)
|
|
|
19257
19248
|
};
|
|
19258
19249
|
}
|
|
19259
19250
|
|
|
19260
|
-
// bazel-out/
|
|
19251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
19261
19252
|
var MAX_FILE_COUNT_FOR_SINGLE_FILE_EMIT = 20;
|
|
19262
19253
|
var VE_DISABLED_MESSAGE = `
|
|
19263
19254
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
@@ -19982,7 +19973,7 @@ function isIvyNgModule(clazz) {
|
|
|
19982
19973
|
return false;
|
|
19983
19974
|
}
|
|
19984
19975
|
|
|
19985
|
-
// bazel-out/
|
|
19976
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
19986
19977
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
19987
19978
|
import ts86 from "typescript";
|
|
19988
19979
|
var defaultFormatHost = {
|
|
@@ -20213,7 +20204,7 @@ function hasErrors(diags) {
|
|
|
20213
20204
|
return diags.some((d) => d.category === ts86.DiagnosticCategory.Error);
|
|
20214
20205
|
}
|
|
20215
20206
|
|
|
20216
|
-
// bazel-out/
|
|
20207
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
20217
20208
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
20218
20209
|
ngDevMode: false,
|
|
20219
20210
|
ngI18nClosureMode: false
|
|
@@ -20227,7 +20218,7 @@ function constructorParametersDownlevelTransform(program) {
|
|
|
20227
20218
|
return getDownlevelDecoratorsTransform(typeChecker, reflectionHost, [], false, false, true);
|
|
20228
20219
|
}
|
|
20229
20220
|
|
|
20230
|
-
// bazel-out/
|
|
20221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
20231
20222
|
var LogLevel;
|
|
20232
20223
|
(function(LogLevel2) {
|
|
20233
20224
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -20236,7 +20227,7 @@ var LogLevel;
|
|
|
20236
20227
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
20237
20228
|
})(LogLevel || (LogLevel = {}));
|
|
20238
20229
|
|
|
20239
|
-
// bazel-out/
|
|
20230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
20240
20231
|
var RESET = "[0m";
|
|
20241
20232
|
var RED = "[31m";
|
|
20242
20233
|
var YELLOW = "[33m";
|
|
@@ -20266,7 +20257,7 @@ var ConsoleLogger = class {
|
|
|
20266
20257
|
}
|
|
20267
20258
|
};
|
|
20268
20259
|
|
|
20269
|
-
// bazel-out/
|
|
20260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
20270
20261
|
var NgTscPlugin = class {
|
|
20271
20262
|
constructor(ngOptions) {
|
|
20272
20263
|
this.ngOptions = ngOptions;
|
|
@@ -20335,7 +20326,7 @@ var NgTscPlugin = class {
|
|
|
20335
20326
|
}
|
|
20336
20327
|
};
|
|
20337
20328
|
|
|
20338
|
-
// bazel-out/
|
|
20329
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
20339
20330
|
setFileSystem(new NodeJSFileSystem());
|
|
20340
20331
|
export {
|
|
20341
20332
|
ConsoleLogger,
|