@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
|
@@ -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,11 +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/
|
|
30
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
31
31
|
var ErrorCode;
|
|
32
32
|
(function(ErrorCode2) {
|
|
33
33
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -78,7 +78,7 @@ var ErrorCode;
|
|
|
78
78
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
79
79
|
})(ErrorCode || (ErrorCode = {}));
|
|
80
80
|
|
|
81
|
-
// bazel-out/
|
|
81
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
82
82
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
83
83
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
84
84
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -89,16 +89,16 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
89
89
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
90
90
|
]);
|
|
91
91
|
|
|
92
|
-
// bazel-out/
|
|
92
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
93
93
|
import ts from "typescript";
|
|
94
94
|
|
|
95
|
-
// bazel-out/
|
|
95
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
96
96
|
import {
|
|
97
97
|
EOL
|
|
98
98
|
} from "os";
|
|
99
99
|
import ts2 from "typescript";
|
|
100
100
|
|
|
101
|
-
// bazel-out/
|
|
101
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
102
102
|
var InvalidFileSystem = class {
|
|
103
103
|
exists(path) {
|
|
104
104
|
throw makeError();
|
|
@@ -186,11 +186,11 @@ function makeError() {
|
|
|
186
186
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
// bazel-out/
|
|
189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
190
190
|
var fs = new InvalidFileSystem();
|
|
191
191
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
192
192
|
|
|
193
|
-
// bazel-out/
|
|
193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
194
194
|
import {
|
|
195
195
|
copyFileSync,
|
|
196
196
|
existsSync,
|
|
@@ -221,14 +221,14 @@ var isCommonJS = typeof __filename !== "undefined";
|
|
|
221
221
|
var currentFileUrl = isCommonJS ? null : __ESM_IMPORT_META_URL__;
|
|
222
222
|
var currentFileName = isCommonJS ? __filename : fileURLToPath(currentFileUrl);
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
225
225
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
228
228
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
229
229
|
import ts5 from "typescript";
|
|
230
230
|
|
|
231
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
232
232
|
import ts3 from "typescript";
|
|
233
233
|
function identifierOfNode(decl) {
|
|
234
234
|
if (decl.name !== void 0 && ts3.isIdentifier(decl.name)) {
|
|
@@ -247,10 +247,10 @@ function isTypeDeclaration(node) {
|
|
|
247
247
|
return ts3.isEnumDeclaration(node) || ts3.isTypeAliasDeclaration(node) || ts3.isInterfaceDeclaration(node);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
// bazel-out/
|
|
250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
251
251
|
import ts4 from "typescript";
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
254
254
|
var ImportFlags;
|
|
255
255
|
(function(ImportFlags2) {
|
|
256
256
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -259,7 +259,7 @@ var ImportFlags;
|
|
|
259
259
|
ImportFlags2[ImportFlags2["AllowTypeImports"] = 4] = "AllowTypeImports";
|
|
260
260
|
})(ImportFlags || (ImportFlags = {}));
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
263
263
|
var CORE_SUPPORTED_SYMBOLS = new Map([
|
|
264
264
|
["\u0275\u0275defineInjectable", "\u0275\u0275defineInjectable"],
|
|
265
265
|
["\u0275\u0275defineInjector", "\u0275\u0275defineInjector"],
|
|
@@ -275,11 +275,11 @@ var CORE_SUPPORTED_SYMBOLS = new Map([
|
|
|
275
275
|
["\u0275noSideEffects", "\u0275noSideEffects"]
|
|
276
276
|
]);
|
|
277
277
|
|
|
278
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
279
279
|
import ts6 from "typescript";
|
|
280
280
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
283
283
|
var Reference = class {
|
|
284
284
|
constructor(node, bestGuessOwningModule = null) {
|
|
285
285
|
this.node = node;
|
|
@@ -342,26 +342,26 @@ var Reference = class {
|
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
344
|
|
|
345
|
-
// bazel-out/
|
|
345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
346
346
|
import ts7 from "typescript";
|
|
347
347
|
|
|
348
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
349
349
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
350
350
|
|
|
351
|
-
// bazel-out/
|
|
351
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
352
352
|
import ts8 from "typescript";
|
|
353
353
|
|
|
354
|
-
// bazel-out/
|
|
354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
355
355
|
var MetaType;
|
|
356
356
|
(function(MetaType2) {
|
|
357
357
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
358
358
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
359
359
|
})(MetaType || (MetaType = {}));
|
|
360
360
|
|
|
361
|
-
// bazel-out/
|
|
361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
362
362
|
import ts14 from "typescript";
|
|
363
363
|
|
|
364
|
-
// bazel-out/
|
|
364
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
365
365
|
import ts9 from "typescript";
|
|
366
366
|
function isDecoratorIdentifier(exp) {
|
|
367
367
|
return ts9.isIdentifier(exp) || ts9.isPropertyAccessExpression(exp) && ts9.isIdentifier(exp.expression) && ts9.isIdentifier(exp.name);
|
|
@@ -387,7 +387,7 @@ function isConcreteDeclaration(decl) {
|
|
|
387
387
|
return decl.kind === 0;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
// bazel-out/
|
|
390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
391
391
|
import ts10 from "typescript";
|
|
392
392
|
function typeToValue(typeNode, checker) {
|
|
393
393
|
if (typeNode === null) {
|
|
@@ -548,10 +548,10 @@ function extractModuleName(node) {
|
|
|
548
548
|
return node.moduleSpecifier.text;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
552
552
|
import ts12 from "typescript";
|
|
553
553
|
|
|
554
|
-
// bazel-out/
|
|
554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
555
555
|
import ts11 from "typescript";
|
|
556
556
|
function isNamedClassDeclaration(node) {
|
|
557
557
|
return ts11.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -560,7 +560,7 @@ function isIdentifier(node) {
|
|
|
560
560
|
return node !== void 0 && ts11.isIdentifier(node);
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
// bazel-out/
|
|
563
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
564
564
|
var TypeScriptReflectionHost = class {
|
|
565
565
|
constructor(checker) {
|
|
566
566
|
this.checker = checker;
|
|
@@ -937,7 +937,7 @@ function getExportedName(decl, originalId) {
|
|
|
937
937
|
}
|
|
938
938
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
939
939
|
|
|
940
|
-
// bazel-out/
|
|
940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
941
941
|
var ClassPropertyMapping = class {
|
|
942
942
|
constructor(forwardMap) {
|
|
943
943
|
this.forwardMap = forwardMap;
|
|
@@ -1013,13 +1013,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1013
1013
|
return reverseMap;
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
|
-
// bazel-out/
|
|
1016
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1017
1017
|
import ts13 from "typescript";
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1020
1020
|
import ts15 from "typescript";
|
|
1021
1021
|
|
|
1022
|
-
// bazel-out/
|
|
1022
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
1023
1023
|
var DynamicValue = class {
|
|
1024
1024
|
constructor(node, reason, code) {
|
|
1025
1025
|
this.node = node;
|
|
@@ -1104,7 +1104,7 @@ var DynamicValue = class {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
1106
1106
|
|
|
1107
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
1108
1108
|
var ResolvedModule = class {
|
|
1109
1109
|
constructor(exports, evaluate) {
|
|
1110
1110
|
this.exports = exports;
|
|
@@ -1134,10 +1134,10 @@ var EnumValue = class {
|
|
|
1134
1134
|
var KnownFn = class {
|
|
1135
1135
|
};
|
|
1136
1136
|
|
|
1137
|
-
// bazel-out/
|
|
1137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
1138
1138
|
import ts16 from "typescript";
|
|
1139
1139
|
|
|
1140
|
-
// bazel-out/
|
|
1140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
1141
1141
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
1142
1142
|
constructor(lhs) {
|
|
1143
1143
|
super();
|
|
@@ -1190,7 +1190,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
};
|
|
1192
1192
|
|
|
1193
|
-
// bazel-out/
|
|
1193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
1194
1194
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
1195
1195
|
};
|
|
1196
1196
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -1243,7 +1243,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
// bazel-out/
|
|
1246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
1247
1247
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
1248
1248
|
var assignTsHelperFn = new AssignHelperFn();
|
|
1249
1249
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -1267,7 +1267,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
1271
1271
|
function literalBinaryOp(op) {
|
|
1272
1272
|
return { op, literal: true };
|
|
1273
1273
|
}
|
|
@@ -1852,7 +1852,7 @@ function owningModule(context, override = null) {
|
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
|
-
// bazel-out/
|
|
1855
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1856
1856
|
var PartialEvaluator = class {
|
|
1857
1857
|
constructor(host, checker, dependencyTracker) {
|
|
1858
1858
|
this.host = host;
|
|
@@ -1872,7 +1872,7 @@ var PartialEvaluator = class {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
};
|
|
1874
1874
|
|
|
1875
|
-
// bazel-out/
|
|
1875
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
1876
1876
|
var PerfPhase;
|
|
1877
1877
|
(function(PerfPhase2) {
|
|
1878
1878
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -1937,7 +1937,7 @@ var PerfCheckpoint;
|
|
|
1937
1937
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
1938
1938
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
1939
1939
|
|
|
1940
|
-
// bazel-out/
|
|
1940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
1941
1941
|
var NoopPerfRecorder = class {
|
|
1942
1942
|
eventCount() {
|
|
1943
1943
|
}
|
|
@@ -1954,7 +1954,7 @@ var NoopPerfRecorder = class {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
1956
1956
|
|
|
1957
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
1958
1958
|
var CompilationMode;
|
|
1959
1959
|
(function(CompilationMode2) {
|
|
1960
1960
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -1972,13 +1972,13 @@ var HandlerFlags;
|
|
|
1972
1972
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
1973
1973
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
1974
1974
|
|
|
1975
|
-
// bazel-out/
|
|
1975
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
1976
1976
|
import ts17 from "typescript";
|
|
1977
1977
|
|
|
1978
|
-
// bazel-out/
|
|
1978
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1979
1979
|
import ts18 from "typescript";
|
|
1980
1980
|
|
|
1981
|
-
// bazel-out/
|
|
1981
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
1982
1982
|
var TraitState;
|
|
1983
1983
|
(function(TraitState2) {
|
|
1984
1984
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -1987,13 +1987,13 @@ var TraitState;
|
|
|
1987
1987
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
1988
1988
|
})(TraitState || (TraitState = {}));
|
|
1989
1989
|
|
|
1990
|
-
// bazel-out/
|
|
1990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1991
1991
|
import ts23 from "typescript";
|
|
1992
1992
|
|
|
1993
|
-
// bazel-out/
|
|
1993
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1994
1994
|
import ts19 from "typescript";
|
|
1995
1995
|
|
|
1996
|
-
// bazel-out/
|
|
1996
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
1997
1997
|
import {
|
|
1998
1998
|
BinaryOperator,
|
|
1999
1999
|
ConditionalExpr,
|
|
@@ -2024,13 +2024,13 @@ var BINARY_OPERATORS2 = new Map([
|
|
|
2024
2024
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
2025
2025
|
]);
|
|
2026
2026
|
|
|
2027
|
-
// bazel-out/
|
|
2027
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2028
2028
|
import {
|
|
2029
2029
|
BuiltinTypeName
|
|
2030
2030
|
} from "@angular/compiler";
|
|
2031
2031
|
import ts20 from "typescript";
|
|
2032
2032
|
|
|
2033
|
-
// bazel-out/
|
|
2033
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2034
2034
|
import ts21 from "typescript";
|
|
2035
2035
|
var PureAnnotation;
|
|
2036
2036
|
(function(PureAnnotation2) {
|
|
@@ -2067,23 +2067,23 @@ var VAR_TYPES = {
|
|
|
2067
2067
|
"var": ts21.NodeFlags.None
|
|
2068
2068
|
};
|
|
2069
2069
|
|
|
2070
|
-
// bazel-out/
|
|
2070
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
2071
2071
|
import ts22 from "typescript";
|
|
2072
2072
|
|
|
2073
|
-
// bazel-out/
|
|
2073
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2074
2074
|
import { ConstantPool } from "@angular/compiler";
|
|
2075
2075
|
import ts25 from "typescript";
|
|
2076
2076
|
|
|
2077
|
-
// bazel-out/
|
|
2077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2078
2078
|
import ts24 from "typescript";
|
|
2079
2079
|
|
|
2080
|
-
// bazel-out/
|
|
2080
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2081
2081
|
var NO_DECORATORS = new Set();
|
|
2082
2082
|
|
|
2083
|
-
// bazel-out/
|
|
2083
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
2084
2084
|
import ts27 from "typescript";
|
|
2085
2085
|
|
|
2086
|
-
// bazel-out/
|
|
2086
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
2087
2087
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2088
2088
|
import ts26 from "typescript";
|
|
2089
2089
|
function isAngularCoreReference(reference, symbolName) {
|
|
@@ -2121,18 +2121,18 @@ function forwardRefResolver(ref, args) {
|
|
|
2121
2121
|
return expandForwardRef(args[0]);
|
|
2122
2122
|
}
|
|
2123
2123
|
|
|
2124
|
-
// bazel-out/
|
|
2124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
2125
2125
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
2126
2126
|
import ts29 from "typescript";
|
|
2127
2127
|
|
|
2128
|
-
// bazel-out/
|
|
2128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
2129
2129
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2130
2130
|
|
|
2131
|
-
// bazel-out/
|
|
2131
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
2132
2132
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2133
2133
|
import ts28 from "typescript";
|
|
2134
2134
|
|
|
2135
|
-
// bazel-out/
|
|
2135
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
2136
2136
|
var LIFECYCLE_HOOKS = new Set([
|
|
2137
2137
|
"ngOnChanges",
|
|
2138
2138
|
"ngOnInit",
|
|
@@ -2150,18 +2150,18 @@ var QUERY_TYPES = new Set([
|
|
|
2150
2150
|
"ViewChildren"
|
|
2151
2151
|
]);
|
|
2152
2152
|
|
|
2153
|
-
// bazel-out/
|
|
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,
|
|
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";
|
|
2155
2155
|
import ts30 from "typescript";
|
|
2156
2156
|
|
|
2157
|
-
// bazel-out/
|
|
2157
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
2158
2158
|
var EMPTY_MAP = new Map();
|
|
2159
2159
|
|
|
2160
|
-
// bazel-out/
|
|
2161
|
-
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";
|
|
2162
2162
|
import ts32 from "typescript";
|
|
2163
2163
|
|
|
2164
|
-
// bazel-out/
|
|
2164
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
2165
2165
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
2166
2166
|
import ts33 from "typescript";
|
|
2167
2167
|
export {
|