@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
|
@@ -11,13 +11,13 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
15
15
|
import {
|
|
16
16
|
EOL
|
|
17
17
|
} from "os";
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
21
21
|
var InvalidFileSystem = class {
|
|
22
22
|
exists(path) {
|
|
23
23
|
throw makeError();
|
|
@@ -105,11 +105,11 @@ function makeError() {
|
|
|
105
105
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
109
109
|
var fs = new InvalidFileSystem();
|
|
110
110
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
111
111
|
|
|
112
|
-
// bazel-out/
|
|
112
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
113
113
|
import {
|
|
114
114
|
copyFileSync,
|
|
115
115
|
existsSync,
|
|
@@ -254,7 +254,7 @@ function toggleCase(str) {
|
|
|
254
254
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
258
258
|
var LogLevel;
|
|
259
259
|
(function(LogLevel2) {
|
|
260
260
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -263,7 +263,7 @@ var LogLevel;
|
|
|
263
263
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
264
264
|
})(LogLevel || (LogLevel = {}));
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
267
267
|
var RESET = "[0m";
|
|
268
268
|
var RED = "[31m";
|
|
269
269
|
var YELLOW = "[33m";
|
|
@@ -293,7 +293,7 @@ var ConsoleLogger = class {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
297
297
|
function removeLockFile(fs4, logger2, lockFilePath2, pid) {
|
|
298
298
|
try {
|
|
299
299
|
logger2.debug(`Attempting to remove lock-file at ${lockFilePath2}.`);
|
|
@@ -313,7 +313,7 @@ function removeLockFile(fs4, logger2, lockFilePath2, pid) {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.mjs
|
|
317
317
|
var fs3 = new NodeJSFileSystem();
|
|
318
318
|
var logLevel = parseInt(process.argv.pop(), 10);
|
|
319
319
|
var logger = new ConsoleLogger(logLevel);
|
package/bundles/private/bazel.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -68,7 +68,7 @@ var PerfCheckpoint;
|
|
|
68
68
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
69
69
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
70
70
|
|
|
71
|
-
// bazel-out/
|
|
71
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
72
72
|
var NoopPerfRecorder = class {
|
|
73
73
|
eventCount() {
|
|
74
74
|
}
|
|
@@ -27,7 +27,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
27
27
|
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
31
31
|
var LogLevel;
|
|
32
32
|
(function(LogLevel2) {
|
|
33
33
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -36,7 +36,7 @@ var LogLevel;
|
|
|
36
36
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
37
37
|
})(LogLevel || (LogLevel = {}));
|
|
38
38
|
|
|
39
|
-
// bazel-out/
|
|
39
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
40
40
|
var RESET = "[0m";
|
|
41
41
|
var RED = "[31m";
|
|
42
42
|
var YELLOW = "[33m";
|
|
@@ -66,13 +66,13 @@ var ConsoleLogger = class {
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
// bazel-out/
|
|
69
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
70
70
|
import {
|
|
71
71
|
EOL
|
|
72
72
|
} from "os";
|
|
73
73
|
import ts from "typescript";
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
76
76
|
var InvalidFileSystem = class {
|
|
77
77
|
exists(path) {
|
|
78
78
|
throw makeError();
|
|
@@ -160,7 +160,7 @@ function makeError() {
|
|
|
160
160
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
164
164
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
165
165
|
function normalizeSeparators(path) {
|
|
166
166
|
return path.replace(/\\/g, "/");
|
|
@@ -176,7 +176,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
176
176
|
return sf;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
180
180
|
var fs = new InvalidFileSystem();
|
|
181
181
|
function getFileSystem() {
|
|
182
182
|
return fs;
|
|
@@ -233,7 +233,7 @@ function toRelativeImport(relativePath) {
|
|
|
233
233
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
// bazel-out/
|
|
236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
237
237
|
var NgtscCompilerHost = class {
|
|
238
238
|
constructor(fs3, options = {}) {
|
|
239
239
|
this.fs = fs3;
|
|
@@ -286,7 +286,7 @@ var NgtscCompilerHost = class {
|
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
|
|
289
|
-
// bazel-out/
|
|
289
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
290
290
|
var LogicalProjectPath = {
|
|
291
291
|
relativePathBetween: function(from, to) {
|
|
292
292
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -332,7 +332,7 @@ function isWithinBasePath(base, path) {
|
|
|
332
332
|
return isLocalRelativePath(relative(base, path));
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
// bazel-out/
|
|
335
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
336
336
|
import {
|
|
337
337
|
copyFileSync,
|
|
338
338
|
existsSync,
|
|
@@ -477,7 +477,7 @@ function toggleCase(str) {
|
|
|
477
477
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
481
481
|
var ContentOrigin;
|
|
482
482
|
(function(ContentOrigin2) {
|
|
483
483
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -485,11 +485,11 @@ var ContentOrigin;
|
|
|
485
485
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
486
486
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
487
487
|
|
|
488
|
-
// bazel-out/
|
|
488
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
489
489
|
import mapHelpers from "convert-source-map";
|
|
490
490
|
import { decode, encode } from "sourcemap-codec";
|
|
491
491
|
|
|
492
|
-
// bazel-out/
|
|
492
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
493
493
|
function compareSegments(a, b) {
|
|
494
494
|
return a.position - b.position;
|
|
495
495
|
}
|
|
@@ -509,7 +509,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
509
509
|
return { line, column, position, next: void 0 };
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
// bazel-out/
|
|
512
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
513
513
|
function removeSourceMapComments(contents) {
|
|
514
514
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
515
515
|
}
|
|
@@ -760,7 +760,7 @@ var Cache = class {
|
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
|
|
763
|
-
// bazel-out/
|
|
763
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
764
764
|
import mapHelpers2 from "convert-source-map";
|
|
765
765
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
766
766
|
var SourceFileLoader = class {
|
|
@@ -23,14 +23,11 @@ var __spreadValues = (a, b) => {
|
|
|
23
23
|
};
|
|
24
24
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
27
27
|
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";
|
|
28
28
|
import ts31 from "typescript";
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
31
|
-
import ts from "typescript";
|
|
32
|
-
|
|
33
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
30
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
34
31
|
var ErrorCode;
|
|
35
32
|
(function(ErrorCode2) {
|
|
36
33
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -80,6 +77,8 @@ var ErrorCode;
|
|
|
80
77
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
81
78
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
82
79
|
})(ErrorCode || (ErrorCode = {}));
|
|
80
|
+
|
|
81
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
83
82
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
84
83
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
85
84
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -90,13 +89,16 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
90
89
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
91
90
|
]);
|
|
92
91
|
|
|
93
|
-
// bazel-out/
|
|
92
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
93
|
+
import ts from "typescript";
|
|
94
|
+
|
|
95
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
94
96
|
import {
|
|
95
97
|
EOL
|
|
96
98
|
} from "os";
|
|
97
99
|
import ts2 from "typescript";
|
|
98
100
|
|
|
99
|
-
// bazel-out/
|
|
101
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
100
102
|
var InvalidFileSystem = class {
|
|
101
103
|
exists(path) {
|
|
102
104
|
throw makeError();
|
|
@@ -184,11 +186,11 @@ function makeError() {
|
|
|
184
186
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
185
187
|
}
|
|
186
188
|
|
|
187
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
188
190
|
var fs = new InvalidFileSystem();
|
|
189
191
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
190
192
|
|
|
191
|
-
// bazel-out/
|
|
193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
192
194
|
import {
|
|
193
195
|
copyFileSync,
|
|
194
196
|
existsSync,
|
|
@@ -219,14 +221,14 @@ var isCommonJS = typeof __filename !== "undefined";
|
|
|
219
221
|
var currentFileUrl = isCommonJS ? null : __ESM_IMPORT_META_URL__;
|
|
220
222
|
var currentFileName = isCommonJS ? __filename : fileURLToPath(currentFileUrl);
|
|
221
223
|
|
|
222
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
223
225
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
224
226
|
|
|
225
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
226
228
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
227
229
|
import ts5 from "typescript";
|
|
228
230
|
|
|
229
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
230
232
|
import ts3 from "typescript";
|
|
231
233
|
function identifierOfNode(decl) {
|
|
232
234
|
if (decl.name !== void 0 && ts3.isIdentifier(decl.name)) {
|
|
@@ -245,10 +247,10 @@ function isTypeDeclaration(node) {
|
|
|
245
247
|
return ts3.isEnumDeclaration(node) || ts3.isTypeAliasDeclaration(node) || ts3.isInterfaceDeclaration(node);
|
|
246
248
|
}
|
|
247
249
|
|
|
248
|
-
// bazel-out/
|
|
250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
249
251
|
import ts4 from "typescript";
|
|
250
252
|
|
|
251
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
252
254
|
var ImportFlags;
|
|
253
255
|
(function(ImportFlags2) {
|
|
254
256
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -257,7 +259,7 @@ var ImportFlags;
|
|
|
257
259
|
ImportFlags2[ImportFlags2["AllowTypeImports"] = 4] = "AllowTypeImports";
|
|
258
260
|
})(ImportFlags || (ImportFlags = {}));
|
|
259
261
|
|
|
260
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
261
263
|
var CORE_SUPPORTED_SYMBOLS = new Map([
|
|
262
264
|
["\u0275\u0275defineInjectable", "\u0275\u0275defineInjectable"],
|
|
263
265
|
["\u0275\u0275defineInjector", "\u0275\u0275defineInjector"],
|
|
@@ -273,11 +275,11 @@ var CORE_SUPPORTED_SYMBOLS = new Map([
|
|
|
273
275
|
["\u0275noSideEffects", "\u0275noSideEffects"]
|
|
274
276
|
]);
|
|
275
277
|
|
|
276
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
277
279
|
import ts6 from "typescript";
|
|
278
280
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
279
281
|
|
|
280
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
281
283
|
var Reference = class {
|
|
282
284
|
constructor(node, bestGuessOwningModule = null) {
|
|
283
285
|
this.node = node;
|
|
@@ -340,26 +342,26 @@ var Reference = class {
|
|
|
340
342
|
}
|
|
341
343
|
};
|
|
342
344
|
|
|
343
|
-
// bazel-out/
|
|
345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
344
346
|
import ts7 from "typescript";
|
|
345
347
|
|
|
346
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
347
349
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
348
350
|
|
|
349
|
-
// bazel-out/
|
|
351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
350
352
|
import ts8 from "typescript";
|
|
351
353
|
|
|
352
|
-
// bazel-out/
|
|
354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
353
355
|
var MetaType;
|
|
354
356
|
(function(MetaType2) {
|
|
355
357
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
356
358
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
357
359
|
})(MetaType || (MetaType = {}));
|
|
358
360
|
|
|
359
|
-
// bazel-out/
|
|
361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
360
362
|
import ts14 from "typescript";
|
|
361
363
|
|
|
362
|
-
// bazel-out/
|
|
364
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
363
365
|
import ts9 from "typescript";
|
|
364
366
|
function isDecoratorIdentifier(exp) {
|
|
365
367
|
return ts9.isIdentifier(exp) || ts9.isPropertyAccessExpression(exp) && ts9.isIdentifier(exp.expression) && ts9.isIdentifier(exp.name);
|
|
@@ -385,7 +387,7 @@ function isConcreteDeclaration(decl) {
|
|
|
385
387
|
return decl.kind === 0;
|
|
386
388
|
}
|
|
387
389
|
|
|
388
|
-
// bazel-out/
|
|
390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
389
391
|
import ts10 from "typescript";
|
|
390
392
|
function typeToValue(typeNode, checker) {
|
|
391
393
|
if (typeNode === null) {
|
|
@@ -546,10 +548,10 @@ function extractModuleName(node) {
|
|
|
546
548
|
return node.moduleSpecifier.text;
|
|
547
549
|
}
|
|
548
550
|
|
|
549
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
550
552
|
import ts12 from "typescript";
|
|
551
553
|
|
|
552
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
553
555
|
import ts11 from "typescript";
|
|
554
556
|
function isNamedClassDeclaration(node) {
|
|
555
557
|
return ts11.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -558,7 +560,7 @@ function isIdentifier(node) {
|
|
|
558
560
|
return node !== void 0 && ts11.isIdentifier(node);
|
|
559
561
|
}
|
|
560
562
|
|
|
561
|
-
// bazel-out/
|
|
563
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
562
564
|
var TypeScriptReflectionHost = class {
|
|
563
565
|
constructor(checker) {
|
|
564
566
|
this.checker = checker;
|
|
@@ -935,7 +937,7 @@ function getExportedName(decl, originalId) {
|
|
|
935
937
|
}
|
|
936
938
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
937
939
|
|
|
938
|
-
// bazel-out/
|
|
940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
939
941
|
var ClassPropertyMapping = class {
|
|
940
942
|
constructor(forwardMap) {
|
|
941
943
|
this.forwardMap = forwardMap;
|
|
@@ -1011,13 +1013,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1011
1013
|
return reverseMap;
|
|
1012
1014
|
}
|
|
1013
1015
|
|
|
1014
|
-
// bazel-out/
|
|
1016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1015
1017
|
import ts13 from "typescript";
|
|
1016
1018
|
|
|
1017
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1018
1020
|
import ts15 from "typescript";
|
|
1019
1021
|
|
|
1020
|
-
// bazel-out/
|
|
1022
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
1021
1023
|
var DynamicValue = class {
|
|
1022
1024
|
constructor(node, reason, code) {
|
|
1023
1025
|
this.node = node;
|
|
@@ -1102,7 +1104,7 @@ var DynamicValue = class {
|
|
|
1102
1104
|
}
|
|
1103
1105
|
};
|
|
1104
1106
|
|
|
1105
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
1106
1108
|
var ResolvedModule = class {
|
|
1107
1109
|
constructor(exports, evaluate) {
|
|
1108
1110
|
this.exports = exports;
|
|
@@ -1132,10 +1134,10 @@ var EnumValue = class {
|
|
|
1132
1134
|
var KnownFn = class {
|
|
1133
1135
|
};
|
|
1134
1136
|
|
|
1135
|
-
// bazel-out/
|
|
1137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
1136
1138
|
import ts16 from "typescript";
|
|
1137
1139
|
|
|
1138
|
-
// bazel-out/
|
|
1140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
1139
1141
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
1140
1142
|
constructor(lhs) {
|
|
1141
1143
|
super();
|
|
@@ -1188,7 +1190,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
1188
1190
|
}
|
|
1189
1191
|
};
|
|
1190
1192
|
|
|
1191
|
-
// bazel-out/
|
|
1193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
1192
1194
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
1193
1195
|
};
|
|
1194
1196
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -1241,7 +1243,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
1241
1243
|
}
|
|
1242
1244
|
};
|
|
1243
1245
|
|
|
1244
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
1245
1247
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
1246
1248
|
var assignTsHelperFn = new AssignHelperFn();
|
|
1247
1249
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -1265,7 +1267,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
1265
1267
|
}
|
|
1266
1268
|
}
|
|
1267
1269
|
|
|
1268
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
1269
1271
|
function literalBinaryOp(op) {
|
|
1270
1272
|
return { op, literal: true };
|
|
1271
1273
|
}
|
|
@@ -1850,7 +1852,7 @@ function owningModule(context, override = null) {
|
|
|
1850
1852
|
}
|
|
1851
1853
|
}
|
|
1852
1854
|
|
|
1853
|
-
// bazel-out/
|
|
1855
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1854
1856
|
var PartialEvaluator = class {
|
|
1855
1857
|
constructor(host, checker, dependencyTracker) {
|
|
1856
1858
|
this.host = host;
|
|
@@ -1870,7 +1872,7 @@ var PartialEvaluator = class {
|
|
|
1870
1872
|
}
|
|
1871
1873
|
};
|
|
1872
1874
|
|
|
1873
|
-
// bazel-out/
|
|
1875
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
1874
1876
|
var PerfPhase;
|
|
1875
1877
|
(function(PerfPhase2) {
|
|
1876
1878
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -1935,7 +1937,7 @@ var PerfCheckpoint;
|
|
|
1935
1937
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
1936
1938
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
1937
1939
|
|
|
1938
|
-
// bazel-out/
|
|
1940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
1939
1941
|
var NoopPerfRecorder = class {
|
|
1940
1942
|
eventCount() {
|
|
1941
1943
|
}
|
|
@@ -1952,7 +1954,7 @@ var NoopPerfRecorder = class {
|
|
|
1952
1954
|
};
|
|
1953
1955
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
1954
1956
|
|
|
1955
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
1956
1958
|
var CompilationMode;
|
|
1957
1959
|
(function(CompilationMode2) {
|
|
1958
1960
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -1970,13 +1972,13 @@ var HandlerFlags;
|
|
|
1970
1972
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
1971
1973
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
1972
1974
|
|
|
1973
|
-
// bazel-out/
|
|
1975
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
1974
1976
|
import ts17 from "typescript";
|
|
1975
1977
|
|
|
1976
|
-
// bazel-out/
|
|
1978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1977
1979
|
import ts18 from "typescript";
|
|
1978
1980
|
|
|
1979
|
-
// bazel-out/
|
|
1981
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
1980
1982
|
var TraitState;
|
|
1981
1983
|
(function(TraitState2) {
|
|
1982
1984
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -1985,13 +1987,13 @@ var TraitState;
|
|
|
1985
1987
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
1986
1988
|
})(TraitState || (TraitState = {}));
|
|
1987
1989
|
|
|
1988
|
-
// bazel-out/
|
|
1990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1989
1991
|
import ts23 from "typescript";
|
|
1990
1992
|
|
|
1991
|
-
// bazel-out/
|
|
1993
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1992
1994
|
import ts19 from "typescript";
|
|
1993
1995
|
|
|
1994
|
-
// bazel-out/
|
|
1996
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
1995
1997
|
import {
|
|
1996
1998
|
BinaryOperator,
|
|
1997
1999
|
ConditionalExpr,
|
|
@@ -2022,13 +2024,13 @@ var BINARY_OPERATORS2 = new Map([
|
|
|
2022
2024
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
2023
2025
|
]);
|
|
2024
2026
|
|
|
2025
|
-
// bazel-out/
|
|
2027
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2026
2028
|
import {
|
|
2027
2029
|
BuiltinTypeName
|
|
2028
2030
|
} from "@angular/compiler";
|
|
2029
2031
|
import ts20 from "typescript";
|
|
2030
2032
|
|
|
2031
|
-
// bazel-out/
|
|
2033
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2032
2034
|
import ts21 from "typescript";
|
|
2033
2035
|
var PureAnnotation;
|
|
2034
2036
|
(function(PureAnnotation2) {
|
|
@@ -2065,23 +2067,23 @@ var VAR_TYPES = {
|
|
|
2065
2067
|
"var": ts21.NodeFlags.None
|
|
2066
2068
|
};
|
|
2067
2069
|
|
|
2068
|
-
// bazel-out/
|
|
2070
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
2069
2071
|
import ts22 from "typescript";
|
|
2070
2072
|
|
|
2071
|
-
// bazel-out/
|
|
2073
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2072
2074
|
import { ConstantPool } from "@angular/compiler";
|
|
2073
2075
|
import ts25 from "typescript";
|
|
2074
2076
|
|
|
2075
|
-
// bazel-out/
|
|
2077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2076
2078
|
import ts24 from "typescript";
|
|
2077
2079
|
|
|
2078
|
-
// bazel-out/
|
|
2080
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2079
2081
|
var NO_DECORATORS = new Set();
|
|
2080
2082
|
|
|
2081
|
-
// bazel-out/
|
|
2083
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
2082
2084
|
import ts27 from "typescript";
|
|
2083
2085
|
|
|
2084
|
-
// bazel-out/
|
|
2086
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
2085
2087
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2086
2088
|
import ts26 from "typescript";
|
|
2087
2089
|
function isAngularCoreReference(reference, symbolName) {
|
|
@@ -2119,18 +2121,18 @@ function forwardRefResolver(ref, args) {
|
|
|
2119
2121
|
return expandForwardRef(args[0]);
|
|
2120
2122
|
}
|
|
2121
2123
|
|
|
2122
|
-
// bazel-out/
|
|
2124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
2123
2125
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
2124
2126
|
import ts29 from "typescript";
|
|
2125
2127
|
|
|
2126
|
-
// bazel-out/
|
|
2128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
2127
2129
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2128
2130
|
|
|
2129
|
-
// bazel-out/
|
|
2131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
2130
2132
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2131
2133
|
import ts28 from "typescript";
|
|
2132
2134
|
|
|
2133
|
-
// bazel-out/
|
|
2135
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
2134
2136
|
var LIFECYCLE_HOOKS = new Set([
|
|
2135
2137
|
"ngOnChanges",
|
|
2136
2138
|
"ngOnInit",
|
|
@@ -2148,18 +2150,18 @@ var QUERY_TYPES = new Set([
|
|
|
2148
2150
|
"ViewChildren"
|
|
2149
2151
|
]);
|
|
2150
2152
|
|
|
2151
|
-
// bazel-out/
|
|
2152
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
2153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
2154
|
+
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";
|
|
2153
2155
|
import ts30 from "typescript";
|
|
2154
2156
|
|
|
2155
|
-
// bazel-out/
|
|
2157
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
2156
2158
|
var EMPTY_MAP = new Map();
|
|
2157
2159
|
|
|
2158
|
-
// bazel-out/
|
|
2159
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
2160
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
2161
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
2160
2162
|
import ts32 from "typescript";
|
|
2161
2163
|
|
|
2162
|
-
// bazel-out/
|
|
2164
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
2163
2165
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
2164
2166
|
import ts33 from "typescript";
|
|
2165
2167
|
export {
|