@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
|
@@ -30,16 +30,16 @@ 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/ngcc/src/command_line_options.mjs
|
|
34
34
|
import yargs from "yargs";
|
|
35
35
|
|
|
36
|
-
// bazel-out/
|
|
36
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
37
37
|
import {
|
|
38
38
|
EOL
|
|
39
39
|
} from "os";
|
|
40
40
|
import ts from "typescript";
|
|
41
41
|
|
|
42
|
-
// bazel-out/
|
|
42
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
43
43
|
var InvalidFileSystem = class {
|
|
44
44
|
exists(path7) {
|
|
45
45
|
throw makeError();
|
|
@@ -127,13 +127,13 @@ function makeError() {
|
|
|
127
127
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
// bazel-out/
|
|
130
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
131
131
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
132
132
|
function stripExtension(path7) {
|
|
133
133
|
return path7.replace(TS_DTS_JS_EXTENSION, "");
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
137
137
|
var fs = new InvalidFileSystem();
|
|
138
138
|
function getFileSystem() {
|
|
139
139
|
return fs;
|
|
@@ -174,7 +174,7 @@ function toRelativeImport(relativePath) {
|
|
|
174
174
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
// bazel-out/
|
|
177
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
178
178
|
var NgtscCompilerHost = class {
|
|
179
179
|
constructor(fs5, options = {}) {
|
|
180
180
|
this.fs = fs5;
|
|
@@ -227,7 +227,7 @@ var NgtscCompilerHost = class {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
231
231
|
var LogicalProjectPath = {
|
|
232
232
|
relativePathBetween: function(from, to) {
|
|
233
233
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -273,7 +273,7 @@ function isWithinBasePath(base, path7) {
|
|
|
273
273
|
return isLocalRelativePath(relative(base, path7));
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
// bazel-out/
|
|
276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
277
277
|
import {
|
|
278
278
|
copyFileSync,
|
|
279
279
|
existsSync,
|
|
@@ -418,7 +418,7 @@ function toggleCase(str) {
|
|
|
418
418
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
// bazel-out/
|
|
421
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
422
422
|
var LogLevel;
|
|
423
423
|
(function(LogLevel2) {
|
|
424
424
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -427,7 +427,7 @@ var LogLevel;
|
|
|
427
427
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
428
428
|
})(LogLevel || (LogLevel = {}));
|
|
429
429
|
|
|
430
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
431
431
|
var RESET = "[0m";
|
|
432
432
|
var RED = "[31m";
|
|
433
433
|
var YELLOW = "[33m";
|
|
@@ -457,7 +457,7 @@ var ConsoleLogger = class {
|
|
|
457
457
|
}
|
|
458
458
|
};
|
|
459
459
|
|
|
460
|
-
// bazel-out/
|
|
460
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
461
461
|
function parseCommandLineOptions(args) {
|
|
462
462
|
var _a;
|
|
463
463
|
const options = yargs(args).option("s", {
|
|
@@ -547,16 +547,16 @@ function parseCommandLineOptions(args) {
|
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
// bazel-out/
|
|
550
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
551
551
|
import {
|
|
552
552
|
cpus
|
|
553
553
|
} from "os";
|
|
554
554
|
|
|
555
|
-
// bazel-out/
|
|
555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
556
556
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
557
557
|
import ts86 from "typescript";
|
|
558
558
|
|
|
559
|
-
// bazel-out/
|
|
559
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
560
560
|
var ErrorCode;
|
|
561
561
|
(function(ErrorCode2) {
|
|
562
562
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -607,7 +607,7 @@ var ErrorCode;
|
|
|
607
607
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
608
608
|
})(ErrorCode || (ErrorCode = {}));
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
611
611
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
612
612
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
613
613
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -618,10 +618,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
618
618
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
619
619
|
]);
|
|
620
620
|
|
|
621
|
-
// bazel-out/
|
|
621
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
622
622
|
import ts2 from "typescript";
|
|
623
623
|
|
|
624
|
-
// bazel-out/
|
|
624
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
625
625
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
626
626
|
function replaceTsWithNgInErrors(errors) {
|
|
627
627
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -630,7 +630,7 @@ function ngErrorCode(code) {
|
|
|
630
630
|
return parseInt("-99" + code);
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
// bazel-out/
|
|
633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
634
634
|
var FatalDiagnosticError = class {
|
|
635
635
|
constructor(code, node, message, relatedInformation) {
|
|
636
636
|
this.code = code;
|
|
@@ -670,7 +670,7 @@ function isFatalDiagnosticError(err) {
|
|
|
670
670
|
return err._isFatalDiagnosticError === true;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
// bazel-out/
|
|
673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
674
674
|
var UNKNOWN_ERROR_CODE = 500;
|
|
675
675
|
var EmitFlags;
|
|
676
676
|
(function(EmitFlags2) {
|
|
@@ -683,7 +683,7 @@ var EmitFlags;
|
|
|
683
683
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
684
684
|
})(EmitFlags || (EmitFlags = {}));
|
|
685
685
|
|
|
686
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
687
687
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
688
688
|
import fs3 from "fs";
|
|
689
689
|
import {
|
|
@@ -696,18 +696,18 @@ import {
|
|
|
696
696
|
} from "path";
|
|
697
697
|
import ts9 from "typescript";
|
|
698
698
|
|
|
699
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
700
700
|
import ts5 from "typescript";
|
|
701
701
|
|
|
702
|
-
// bazel-out/
|
|
702
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
703
703
|
import ts3 from "typescript";
|
|
704
704
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
705
705
|
var empty = ts3.createNodeArray();
|
|
706
706
|
|
|
707
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
708
708
|
import ts4 from "typescript";
|
|
709
709
|
|
|
710
|
-
// bazel-out/
|
|
710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
711
711
|
import {
|
|
712
712
|
basename as basename4,
|
|
713
713
|
dirname as dirname4,
|
|
@@ -716,7 +716,7 @@ import {
|
|
|
716
716
|
} from "path";
|
|
717
717
|
import ts7 from "typescript";
|
|
718
718
|
|
|
719
|
-
// bazel-out/
|
|
719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
720
720
|
import {
|
|
721
721
|
basename as basename3,
|
|
722
722
|
dirname as dirname3,
|
|
@@ -726,14 +726,14 @@ import {
|
|
|
726
726
|
} from "path";
|
|
727
727
|
import ts6 from "typescript";
|
|
728
728
|
|
|
729
|
-
// bazel-out/
|
|
729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
730
730
|
import { syntaxError } from "@angular/compiler";
|
|
731
731
|
import {
|
|
732
732
|
relative as relative3
|
|
733
733
|
} from "path";
|
|
734
734
|
import ts8 from "typescript";
|
|
735
735
|
|
|
736
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
737
737
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
738
738
|
import {
|
|
739
739
|
readFileSync as readFileSync2
|
|
@@ -741,24 +741,24 @@ import {
|
|
|
741
741
|
import * as path6 from "path";
|
|
742
742
|
import ts85 from "typescript";
|
|
743
743
|
|
|
744
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
745
745
|
import ts10 from "typescript";
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
748
748
|
import ts73 from "typescript";
|
|
749
749
|
|
|
750
|
-
// bazel-out/
|
|
750
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
751
751
|
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";
|
|
752
752
|
import ts39 from "typescript";
|
|
753
753
|
|
|
754
|
-
// bazel-out/
|
|
754
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
755
755
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
756
756
|
|
|
757
|
-
// bazel-out/
|
|
757
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
758
758
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
759
759
|
import ts13 from "typescript";
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
762
762
|
import ts11 from "typescript";
|
|
763
763
|
var D_TS = /\.d\.ts$/i;
|
|
764
764
|
function isSymbolWithValueDeclaration(symbol) {
|
|
@@ -826,7 +826,7 @@ function isAssignment(node) {
|
|
|
826
826
|
return ts11.isBinaryExpression(node) && node.operatorToken.kind === ts11.SyntaxKind.EqualsToken;
|
|
827
827
|
}
|
|
828
828
|
|
|
829
|
-
// bazel-out/
|
|
829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
830
830
|
import ts12 from "typescript";
|
|
831
831
|
function findExportedNameOfNode(target, file, reflector) {
|
|
832
832
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -850,7 +850,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
850
850
|
return foundExportName;
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
// bazel-out/
|
|
853
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
854
854
|
var ImportFlags;
|
|
855
855
|
(function(ImportFlags2) {
|
|
856
856
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -980,7 +980,7 @@ var LogicalProjectStrategy = class {
|
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
984
984
|
var PrivateExportAliasingHost = class {
|
|
985
985
|
constructor(host) {
|
|
986
986
|
this.host = host;
|
|
@@ -1010,13 +1010,13 @@ var PrivateExportAliasingHost = class {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
|
-
// bazel-out/
|
|
1013
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1014
1014
|
function relativePathBetween(from, to) {
|
|
1015
1015
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1016
1016
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1020
1020
|
var NoopImportRewriter = class {
|
|
1021
1021
|
shouldImportSymbol(symbol, specifier) {
|
|
1022
1022
|
return true;
|
|
@@ -1074,14 +1074,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1074
1074
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
|
-
// bazel-out/
|
|
1077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1078
1078
|
import ts14 from "typescript";
|
|
1079
1079
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1080
1080
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1081
1081
|
expr[DefaultImportDeclaration] = importDecl;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1085
1085
|
var Reference = class {
|
|
1086
1086
|
constructor(node, bestGuessOwningModule = null) {
|
|
1087
1087
|
this.node = node;
|
|
@@ -1144,7 +1144,7 @@ var Reference = class {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
|
-
// bazel-out/
|
|
1147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1148
1148
|
var ModuleResolver = class {
|
|
1149
1149
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1150
1150
|
this.program = program;
|
|
@@ -1161,7 +1161,7 @@ var ModuleResolver = class {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
1163
|
|
|
1164
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
1165
1165
|
import ts15 from "typescript";
|
|
1166
1166
|
var SemanticSymbol = class {
|
|
1167
1167
|
constructor(decl) {
|
|
@@ -1177,13 +1177,13 @@ function getSymbolIdentifier(decl) {
|
|
|
1177
1177
|
return decl.name.text;
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
1181
1181
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
1182
1182
|
|
|
1183
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1184
1184
|
import ts16 from "typescript";
|
|
1185
1185
|
|
|
1186
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
1187
1187
|
function isSymbolEqual(a, b) {
|
|
1188
1188
|
if (a.decl === b.decl) {
|
|
1189
1189
|
return true;
|
|
@@ -1233,7 +1233,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
1233
1233
|
return true;
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
// bazel-out/
|
|
1236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1237
1237
|
function extractSemanticTypeParameters(node) {
|
|
1238
1238
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
1239
1239
|
return null;
|
|
@@ -1253,17 +1253,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
1253
1253
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
|
-
// bazel-out/
|
|
1256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1257
1257
|
var MetaType;
|
|
1258
1258
|
(function(MetaType2) {
|
|
1259
1259
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
1260
1260
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
1261
1261
|
})(MetaType || (MetaType = {}));
|
|
1262
1262
|
|
|
1263
|
-
// bazel-out/
|
|
1263
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1264
1264
|
import ts22 from "typescript";
|
|
1265
1265
|
|
|
1266
|
-
// bazel-out/
|
|
1266
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
1267
1267
|
import ts17 from "typescript";
|
|
1268
1268
|
var Decorator = {
|
|
1269
1269
|
nodeForError: (decorator) => {
|
|
@@ -1298,7 +1298,7 @@ function isConcreteDeclaration(decl) {
|
|
|
1298
1298
|
return decl.kind === 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
// bazel-out/
|
|
1301
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
1302
1302
|
import ts18 from "typescript";
|
|
1303
1303
|
function typeToValue(typeNode, checker) {
|
|
1304
1304
|
if (typeNode === null) {
|
|
@@ -1459,10 +1459,10 @@ function extractModuleName(node) {
|
|
|
1459
1459
|
return node.moduleSpecifier.text;
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1463
1463
|
import ts20 from "typescript";
|
|
1464
1464
|
|
|
1465
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
1466
1466
|
import ts19 from "typescript";
|
|
1467
1467
|
function isNamedClassDeclaration(node) {
|
|
1468
1468
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -1477,7 +1477,7 @@ function isIdentifier(node) {
|
|
|
1477
1477
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
|
-
// bazel-out/
|
|
1480
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1481
1481
|
var TypeScriptReflectionHost = class {
|
|
1482
1482
|
constructor(checker) {
|
|
1483
1483
|
this.checker = checker;
|
|
@@ -1913,7 +1913,7 @@ function getExportedName(decl, originalId) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1915
1915
|
|
|
1916
|
-
// bazel-out/
|
|
1916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1917
1917
|
var ClassPropertyMapping = class {
|
|
1918
1918
|
constructor(forwardMap) {
|
|
1919
1919
|
this.forwardMap = forwardMap;
|
|
@@ -1989,7 +1989,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1989
1989
|
return reverseMap;
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
// bazel-out/
|
|
1992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1993
1993
|
import ts21 from "typescript";
|
|
1994
1994
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1995
1995
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -2156,7 +2156,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2156
2156
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2157
2157
|
}
|
|
2158
2158
|
|
|
2159
|
-
// bazel-out/
|
|
2159
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2160
2160
|
var DtsMetadataReader = class {
|
|
2161
2161
|
constructor(checker, reflector) {
|
|
2162
2162
|
this.checker = checker;
|
|
@@ -2256,7 +2256,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
2256
2256
|
return null;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
// bazel-out/
|
|
2259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2260
2260
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2261
2261
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2262
2262
|
if (topMeta === null) {
|
|
@@ -2313,7 +2313,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2313
2313
|
});
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
|
-
// bazel-out/
|
|
2316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2317
2317
|
var LocalMetadataRegistry = class {
|
|
2318
2318
|
constructor() {
|
|
2319
2319
|
this.directives = new Map();
|
|
@@ -2372,7 +2372,7 @@ var InjectableClassRegistry = class {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
};
|
|
2374
2374
|
|
|
2375
|
-
// bazel-out/
|
|
2375
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2376
2376
|
var ResourceRegistry = class {
|
|
2377
2377
|
constructor() {
|
|
2378
2378
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -2437,10 +2437,10 @@ var ResourceRegistry = class {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
};
|
|
2439
2439
|
|
|
2440
|
-
// bazel-out/
|
|
2440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2441
2441
|
import ts23 from "typescript";
|
|
2442
2442
|
|
|
2443
|
-
// bazel-out/
|
|
2443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
2444
2444
|
var DynamicValue = class {
|
|
2445
2445
|
constructor(node, reason, code) {
|
|
2446
2446
|
this.node = node;
|
|
@@ -2525,7 +2525,7 @@ var DynamicValue = class {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
};
|
|
2527
2527
|
|
|
2528
|
-
// bazel-out/
|
|
2528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
2529
2529
|
var ResolvedModule = class {
|
|
2530
2530
|
constructor(exports, evaluate) {
|
|
2531
2531
|
this.exports = exports;
|
|
@@ -2555,7 +2555,7 @@ var EnumValue = class {
|
|
|
2555
2555
|
var KnownFn = class {
|
|
2556
2556
|
};
|
|
2557
2557
|
|
|
2558
|
-
// bazel-out/
|
|
2558
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2559
2559
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2560
2560
|
var _a, _b;
|
|
2561
2561
|
if (value === null) {
|
|
@@ -2681,10 +2681,10 @@ function getContainerNode(node) {
|
|
|
2681
2681
|
return node.getSourceFile();
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
// bazel-out/
|
|
2684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2685
2685
|
import ts24 from "typescript";
|
|
2686
2686
|
|
|
2687
|
-
// bazel-out/
|
|
2687
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
2688
2688
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2689
2689
|
constructor(lhs) {
|
|
2690
2690
|
super();
|
|
@@ -2737,7 +2737,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
2737
2737
|
}
|
|
2738
2738
|
};
|
|
2739
2739
|
|
|
2740
|
-
// bazel-out/
|
|
2740
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
2741
2741
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
2742
2742
|
};
|
|
2743
2743
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -2790,7 +2790,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
2792
|
|
|
2793
|
-
// bazel-out/
|
|
2793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
2794
2794
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
2795
2795
|
var assignTsHelperFn = new AssignHelperFn();
|
|
2796
2796
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -2814,7 +2814,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
|
-
// bazel-out/
|
|
2817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2818
2818
|
function literalBinaryOp(op) {
|
|
2819
2819
|
return { op, literal: true };
|
|
2820
2820
|
}
|
|
@@ -3399,7 +3399,7 @@ function owningModule(context, override = null) {
|
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
|
|
3402
|
-
// bazel-out/
|
|
3402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
3403
3403
|
var PartialEvaluator = class {
|
|
3404
3404
|
constructor(host, checker, dependencyTracker) {
|
|
3405
3405
|
this.host = host;
|
|
@@ -3419,7 +3419,7 @@ var PartialEvaluator = class {
|
|
|
3419
3419
|
}
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
|
-
// bazel-out/
|
|
3422
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
3423
3423
|
var PerfPhase;
|
|
3424
3424
|
(function(PerfPhase2) {
|
|
3425
3425
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -3484,7 +3484,7 @@ var PerfCheckpoint;
|
|
|
3484
3484
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
3485
3485
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
3486
3486
|
|
|
3487
|
-
// bazel-out/
|
|
3487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
3488
3488
|
var NoopPerfRecorder = class {
|
|
3489
3489
|
eventCount() {
|
|
3490
3490
|
}
|
|
@@ -3501,7 +3501,7 @@ var NoopPerfRecorder = class {
|
|
|
3501
3501
|
};
|
|
3502
3502
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
3503
3503
|
|
|
3504
|
-
// bazel-out/
|
|
3504
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3505
3505
|
var CompilationMode;
|
|
3506
3506
|
(function(CompilationMode2) {
|
|
3507
3507
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3519,13 +3519,13 @@ var HandlerFlags;
|
|
|
3519
3519
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3520
3520
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3521
3521
|
|
|
3522
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3523
3523
|
import ts25 from "typescript";
|
|
3524
3524
|
|
|
3525
|
-
// bazel-out/
|
|
3525
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3526
3526
|
import ts26 from "typescript";
|
|
3527
3527
|
|
|
3528
|
-
// bazel-out/
|
|
3528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3529
3529
|
var TraitState;
|
|
3530
3530
|
(function(TraitState2) {
|
|
3531
3531
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3580,7 +3580,7 @@ var TraitImpl = class {
|
|
|
3580
3580
|
}
|
|
3581
3581
|
};
|
|
3582
3582
|
|
|
3583
|
-
// bazel-out/
|
|
3583
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3584
3584
|
var TraitCompiler = class {
|
|
3585
3585
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
3586
3586
|
this.handlers = handlers;
|
|
@@ -4017,10 +4017,10 @@ var TraitCompiler = class {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
};
|
|
4019
4019
|
|
|
4020
|
-
// bazel-out/
|
|
4020
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4021
4021
|
import ts31 from "typescript";
|
|
4022
4022
|
|
|
4023
|
-
// bazel-out/
|
|
4023
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
4024
4024
|
var Context = class {
|
|
4025
4025
|
constructor(isStatement) {
|
|
4026
4026
|
this.isStatement = isStatement;
|
|
@@ -4033,7 +4033,7 @@ var Context = class {
|
|
|
4033
4033
|
}
|
|
4034
4034
|
};
|
|
4035
4035
|
|
|
4036
|
-
// bazel-out/
|
|
4036
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
4037
4037
|
import ts27 from "typescript";
|
|
4038
4038
|
var ImportManager = class {
|
|
4039
4039
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -4069,7 +4069,7 @@ var ImportManager = class {
|
|
|
4069
4069
|
}
|
|
4070
4070
|
};
|
|
4071
4071
|
|
|
4072
|
-
// bazel-out/
|
|
4072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
4073
4073
|
import {
|
|
4074
4074
|
BinaryOperator,
|
|
4075
4075
|
ConditionalExpr,
|
|
@@ -4313,7 +4313,7 @@ function createRange(span) {
|
|
|
4313
4313
|
};
|
|
4314
4314
|
}
|
|
4315
4315
|
|
|
4316
|
-
// bazel-out/
|
|
4316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
4317
4317
|
import {
|
|
4318
4318
|
BuiltinTypeName
|
|
4319
4319
|
} from "@angular/compiler";
|
|
@@ -4492,7 +4492,7 @@ var TypeTranslatorVisitor = class {
|
|
|
4492
4492
|
}
|
|
4493
4493
|
};
|
|
4494
4494
|
|
|
4495
|
-
// bazel-out/
|
|
4495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
4496
4496
|
import ts29 from "typescript";
|
|
4497
4497
|
var PureAnnotation;
|
|
4498
4498
|
(function(PureAnnotation2) {
|
|
@@ -4664,15 +4664,15 @@ function attachComments(statement, leadingComments) {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
}
|
|
4666
4666
|
|
|
4667
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
4668
4668
|
function translateStatement(statement, imports, options = {}) {
|
|
4669
4669
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
4670
4670
|
}
|
|
4671
4671
|
|
|
4672
|
-
// bazel-out/
|
|
4672
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
4673
4673
|
import ts30 from "typescript";
|
|
4674
4674
|
|
|
4675
|
-
// bazel-out/
|
|
4675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4676
4676
|
var DtsTransformRegistry = class {
|
|
4677
4677
|
constructor() {
|
|
4678
4678
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -4723,20 +4723,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
4723
4723
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
4724
4724
|
}
|
|
4725
4725
|
|
|
4726
|
-
// bazel-out/
|
|
4726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4727
4727
|
import { ConstantPool } from "@angular/compiler";
|
|
4728
4728
|
import ts33 from "typescript";
|
|
4729
4729
|
|
|
4730
|
-
// bazel-out/
|
|
4730
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
4731
4731
|
import ts32 from "typescript";
|
|
4732
4732
|
|
|
4733
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4734
4734
|
var NO_DECORATORS = new Set();
|
|
4735
4735
|
|
|
4736
|
-
// bazel-out/
|
|
4736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
4737
4737
|
import ts35 from "typescript";
|
|
4738
4738
|
|
|
4739
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
4740
4740
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
4741
4741
|
import ts34 from "typescript";
|
|
4742
4742
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -5096,7 +5096,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
5096
5096
|
};
|
|
5097
5097
|
}
|
|
5098
5098
|
|
|
5099
|
-
// bazel-out/
|
|
5099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
5100
5100
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
5101
5101
|
var _a;
|
|
5102
5102
|
let chainedMessage;
|
|
@@ -5192,11 +5192,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
5192
5192
|
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}.`);
|
|
5193
5193
|
}
|
|
5194
5194
|
|
|
5195
|
-
// bazel-out/
|
|
5195
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5196
5196
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
5197
5197
|
import ts37 from "typescript";
|
|
5198
5198
|
|
|
5199
|
-
// bazel-out/
|
|
5199
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
5200
5200
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
5201
5201
|
function compileNgFactoryDefField(metadata) {
|
|
5202
5202
|
const res = compileFactoryFunction(metadata);
|
|
@@ -5207,7 +5207,7 @@ function compileDeclareFactory(metadata) {
|
|
|
5207
5207
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
5208
5208
|
}
|
|
5209
5209
|
|
|
5210
|
-
// bazel-out/
|
|
5210
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
5211
5211
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
5212
5212
|
import ts36 from "typescript";
|
|
5213
5213
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -5295,7 +5295,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
5295
5295
|
return result.transformed[0];
|
|
5296
5296
|
}
|
|
5297
5297
|
|
|
5298
|
-
// bazel-out/
|
|
5298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5299
5299
|
var EMPTY_OBJECT = {};
|
|
5300
5300
|
var FIELD_DECORATORS = [
|
|
5301
5301
|
"Input",
|
|
@@ -5857,8 +5857,8 @@ var QUERY_TYPES = new Set([
|
|
|
5857
5857
|
"ViewChildren"
|
|
5858
5858
|
]);
|
|
5859
5859
|
|
|
5860
|
-
// bazel-out/
|
|
5861
|
-
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2,
|
|
5860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
5861
|
+
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";
|
|
5862
5862
|
import ts38 from "typescript";
|
|
5863
5863
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5864
5864
|
constructor() {
|
|
@@ -5905,7 +5905,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
5905
5905
|
}
|
|
5906
5906
|
};
|
|
5907
5907
|
var NgModuleDecoratorHandler = class {
|
|
5908
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf
|
|
5908
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, isCore, refEmitter, factoryTracker, annotateForClosureCompiler, injectableRegistry, perf) {
|
|
5909
5909
|
this.reflector = reflector;
|
|
5910
5910
|
this.evaluator = evaluator;
|
|
5911
5911
|
this.metaReader = metaReader;
|
|
@@ -5918,7 +5918,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
5918
5918
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
5919
5919
|
this.injectableRegistry = injectableRegistry;
|
|
5920
5920
|
this.perf = perf;
|
|
5921
|
-
this.localeId = localeId;
|
|
5922
5921
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
5923
5922
|
this.name = NgModuleDecoratorHandler.name;
|
|
5924
5923
|
}
|
|
@@ -6204,14 +6203,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
6204
6203
|
type: injectorDef.type
|
|
6205
6204
|
}
|
|
6206
6205
|
];
|
|
6207
|
-
if (this.localeId) {
|
|
6208
|
-
res.push({
|
|
6209
|
-
name: "\u0275loc",
|
|
6210
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
6211
|
-
statements: [],
|
|
6212
|
-
type: STRING_TYPE
|
|
6213
|
-
});
|
|
6214
|
-
}
|
|
6215
6206
|
return res;
|
|
6216
6207
|
}
|
|
6217
6208
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -6300,7 +6291,7 @@ function isNgModule(node, compilation) {
|
|
|
6300
6291
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
6301
6292
|
}
|
|
6302
6293
|
|
|
6303
|
-
// bazel-out/
|
|
6294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
6304
6295
|
var EMPTY_MAP = new Map();
|
|
6305
6296
|
var EMPTY_ARRAY = [];
|
|
6306
6297
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -7184,8 +7175,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
7184
7175
|
return null;
|
|
7185
7176
|
}
|
|
7186
7177
|
|
|
7187
|
-
// bazel-out/
|
|
7188
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as
|
|
7178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
7179
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
7189
7180
|
import ts40 from "typescript";
|
|
7190
7181
|
var InjectableDecoratorHandler = class {
|
|
7191
7182
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -7273,7 +7264,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7273
7264
|
type,
|
|
7274
7265
|
typeArgumentCount,
|
|
7275
7266
|
internalType,
|
|
7276
|
-
providedIn: createR3ProviderExpression(new
|
|
7267
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
7277
7268
|
};
|
|
7278
7269
|
} else if (decorator.args.length === 1) {
|
|
7279
7270
|
const metaNode = decorator.args[0];
|
|
@@ -7281,7 +7272,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7281
7272
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
7282
7273
|
}
|
|
7283
7274
|
const meta = reflectObjectLiteral(metaNode);
|
|
7284
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new
|
|
7275
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
|
|
7285
7276
|
let deps = void 0;
|
|
7286
7277
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
7287
7278
|
const depsExpr = meta.get("deps");
|
|
@@ -7384,7 +7375,7 @@ function getDep(dep, reflector) {
|
|
|
7384
7375
|
return meta;
|
|
7385
7376
|
}
|
|
7386
7377
|
|
|
7387
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7388
7379
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
7389
7380
|
import ts41 from "typescript";
|
|
7390
7381
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7509,7 +7500,7 @@ var PipeDecoratorHandler = class {
|
|
|
7509
7500
|
}
|
|
7510
7501
|
};
|
|
7511
7502
|
|
|
7512
|
-
// bazel-out/
|
|
7503
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
7513
7504
|
var CycleAnalyzer = class {
|
|
7514
7505
|
constructor(importGraph) {
|
|
7515
7506
|
this.importGraph = importGraph;
|
|
@@ -7580,7 +7571,7 @@ var Cycle = class {
|
|
|
7580
7571
|
}
|
|
7581
7572
|
};
|
|
7582
7573
|
|
|
7583
|
-
// bazel-out/
|
|
7574
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
7584
7575
|
import ts42 from "typescript";
|
|
7585
7576
|
var ImportGraph = class {
|
|
7586
7577
|
constructor(checker, perf) {
|
|
@@ -7663,13 +7654,13 @@ var Found = class {
|
|
|
7663
7654
|
}
|
|
7664
7655
|
};
|
|
7665
7656
|
|
|
7666
|
-
// bazel-out/
|
|
7657
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
7667
7658
|
import ts43 from "typescript";
|
|
7668
7659
|
|
|
7669
|
-
// bazel-out/
|
|
7660
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
7670
7661
|
import ts44 from "typescript";
|
|
7671
7662
|
|
|
7672
|
-
// bazel-out/
|
|
7663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7673
7664
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7674
7665
|
var UpdateMode;
|
|
7675
7666
|
(function(UpdateMode2) {
|
|
@@ -7677,22 +7668,22 @@ var UpdateMode;
|
|
|
7677
7668
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7678
7669
|
})(UpdateMode || (UpdateMode = {}));
|
|
7679
7670
|
|
|
7680
|
-
// bazel-out/
|
|
7671
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7681
7672
|
import ts48 from "typescript";
|
|
7682
7673
|
|
|
7683
|
-
// bazel-out/
|
|
7674
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7684
7675
|
import ts45 from "typescript";
|
|
7685
7676
|
|
|
7686
|
-
// bazel-out/
|
|
7677
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7687
7678
|
var NgExtension = Symbol("NgExtension");
|
|
7688
7679
|
|
|
7689
|
-
// bazel-out/
|
|
7680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
7690
7681
|
import ts46 from "typescript";
|
|
7691
7682
|
|
|
7692
|
-
// bazel-out/
|
|
7683
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
7693
7684
|
import ts47 from "typescript";
|
|
7694
7685
|
|
|
7695
|
-
// bazel-out/
|
|
7686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
7696
7687
|
var IncrementalStateKind;
|
|
7697
7688
|
(function(IncrementalStateKind2) {
|
|
7698
7689
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7700,17 +7691,17 @@ var IncrementalStateKind;
|
|
|
7700
7691
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
7701
7692
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
7702
7693
|
|
|
7703
|
-
// bazel-out/
|
|
7694
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
7704
7695
|
var PhaseKind;
|
|
7705
7696
|
(function(PhaseKind2) {
|
|
7706
7697
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
7707
7698
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
7708
7699
|
})(PhaseKind || (PhaseKind = {}));
|
|
7709
7700
|
|
|
7710
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
7711
7702
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
7712
7703
|
|
|
7713
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
7714
7705
|
var IdentifierKind;
|
|
7715
7706
|
(function(IdentifierKind2) {
|
|
7716
7707
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -7722,18 +7713,18 @@ var IdentifierKind;
|
|
|
7722
7713
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
7723
7714
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
7724
7715
|
|
|
7725
|
-
// bazel-out/
|
|
7716
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
7726
7717
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
7727
7718
|
|
|
7728
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
7729
7720
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
7730
7721
|
|
|
7731
|
-
// bazel-out/
|
|
7722
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
7732
7723
|
import ts49 from "typescript";
|
|
7733
7724
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
7734
7725
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
7735
7726
|
|
|
7736
|
-
// bazel-out/
|
|
7727
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
7737
7728
|
var MetadataDtsModuleScopeResolver = class {
|
|
7738
7729
|
constructor(dtsMetaReader, aliasingHost) {
|
|
7739
7730
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -7819,7 +7810,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
7819
7810
|
}
|
|
7820
7811
|
};
|
|
7821
7812
|
|
|
7822
|
-
// bazel-out/
|
|
7813
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
7823
7814
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
7824
7815
|
import ts50 from "typescript";
|
|
7825
7816
|
var LocalModuleScopeRegistry = class {
|
|
@@ -8127,7 +8118,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
8127
8118
|
]);
|
|
8128
8119
|
}
|
|
8129
8120
|
|
|
8130
|
-
// bazel-out/
|
|
8121
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
8131
8122
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
8132
8123
|
import ts51 from "typescript";
|
|
8133
8124
|
var TypeCheckScopeRegistry = class {
|
|
@@ -8188,27 +8179,27 @@ var TypeCheckScopeRegistry = class {
|
|
|
8188
8179
|
}
|
|
8189
8180
|
};
|
|
8190
8181
|
|
|
8191
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
8192
8183
|
import ts52 from "typescript";
|
|
8193
8184
|
|
|
8194
|
-
// bazel-out/
|
|
8185
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8195
8186
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
8196
8187
|
|
|
8197
|
-
// bazel-out/
|
|
8188
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
8198
8189
|
var OptimizeFor;
|
|
8199
8190
|
(function(OptimizeFor2) {
|
|
8200
8191
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
8201
8192
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
8202
8193
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
8203
8194
|
|
|
8204
|
-
// bazel-out/
|
|
8195
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
8205
8196
|
var CompletionKind;
|
|
8206
8197
|
(function(CompletionKind2) {
|
|
8207
8198
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
8208
8199
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
8209
8200
|
})(CompletionKind || (CompletionKind = {}));
|
|
8210
8201
|
|
|
8211
|
-
// bazel-out/
|
|
8202
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
8212
8203
|
var SymbolKind;
|
|
8213
8204
|
(function(SymbolKind2) {
|
|
8214
8205
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -8224,18 +8215,18 @@ var SymbolKind;
|
|
|
8224
8215
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
8225
8216
|
})(SymbolKind || (SymbolKind = {}));
|
|
8226
8217
|
|
|
8227
|
-
// bazel-out/
|
|
8218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
8228
8219
|
import ts53 from "typescript";
|
|
8229
8220
|
|
|
8230
|
-
// bazel-out/
|
|
8221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
8231
8222
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
8232
8223
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
8233
8224
|
|
|
8234
|
-
// bazel-out/
|
|
8225
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
8235
8226
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
8236
8227
|
import ts55 from "typescript";
|
|
8237
8228
|
|
|
8238
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
8239
8230
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
8240
8231
|
import ts54 from "typescript";
|
|
8241
8232
|
var CommentTriviaType;
|
|
@@ -8251,19 +8242,19 @@ var ExpressionIdentifier;
|
|
|
8251
8242
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
8252
8243
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
8253
8244
|
|
|
8254
|
-
// bazel-out/
|
|
8245
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8255
8246
|
import ts69 from "typescript";
|
|
8256
8247
|
|
|
8257
|
-
// bazel-out/
|
|
8248
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8258
8249
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
8259
8250
|
import ts56 from "typescript";
|
|
8260
8251
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
8261
8252
|
|
|
8262
|
-
// bazel-out/
|
|
8253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8263
8254
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
8264
8255
|
import ts62 from "typescript";
|
|
8265
8256
|
|
|
8266
|
-
// bazel-out/
|
|
8257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8267
8258
|
import ts57 from "typescript";
|
|
8268
8259
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
8269
8260
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -8282,19 +8273,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
8282
8273
|
ts57.SyntaxKind.UndefinedKeyword
|
|
8283
8274
|
]);
|
|
8284
8275
|
|
|
8285
|
-
// bazel-out/
|
|
8276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
8286
8277
|
import ts61 from "typescript";
|
|
8287
8278
|
|
|
8288
|
-
// bazel-out/
|
|
8279
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8289
8280
|
import ts60 from "typescript";
|
|
8290
8281
|
|
|
8291
|
-
// bazel-out/
|
|
8282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
8292
8283
|
import ts59 from "typescript";
|
|
8293
8284
|
|
|
8294
|
-
// bazel-out/
|
|
8285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
8295
8286
|
import ts58 from "typescript";
|
|
8296
8287
|
|
|
8297
|
-
// bazel-out/
|
|
8288
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8298
8289
|
var TcbInliningRequirement;
|
|
8299
8290
|
(function(TcbInliningRequirement2) {
|
|
8300
8291
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -8302,22 +8293,22 @@ var TcbInliningRequirement;
|
|
|
8302
8293
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
8303
8294
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
8304
8295
|
|
|
8305
|
-
// bazel-out/
|
|
8296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
8306
8297
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
8307
8298
|
import ts63 from "typescript";
|
|
8308
8299
|
|
|
8309
|
-
// bazel-out/
|
|
8300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
8310
8301
|
import ts64 from "typescript";
|
|
8311
8302
|
|
|
8312
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8313
8304
|
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";
|
|
8314
8305
|
import ts67 from "typescript";
|
|
8315
8306
|
|
|
8316
|
-
// bazel-out/
|
|
8307
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
8317
8308
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
8318
8309
|
import ts65 from "typescript";
|
|
8319
8310
|
|
|
8320
|
-
// bazel-out/
|
|
8311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
8321
8312
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
8322
8313
|
import ts66 from "typescript";
|
|
8323
8314
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -8417,10 +8408,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
8417
8408
|
};
|
|
8418
8409
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
8419
8410
|
|
|
8420
|
-
// bazel-out/
|
|
8411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
8421
8412
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
8422
8413
|
|
|
8423
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8424
8415
|
var TcbGenericContextBehavior;
|
|
8425
8416
|
(function(TcbGenericContextBehavior2) {
|
|
8426
8417
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -8429,38 +8420,38 @@ var TcbGenericContextBehavior;
|
|
|
8429
8420
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
8430
8421
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts67.createNonNullExpression(ts67.createNull());
|
|
8431
8422
|
|
|
8432
|
-
// bazel-out/
|
|
8423
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
8433
8424
|
import ts68 from "typescript";
|
|
8434
8425
|
|
|
8435
|
-
// bazel-out/
|
|
8426
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8436
8427
|
var InliningMode;
|
|
8437
8428
|
(function(InliningMode2) {
|
|
8438
8429
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
8439
8430
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
8440
8431
|
})(InliningMode || (InliningMode = {}));
|
|
8441
8432
|
|
|
8442
|
-
// bazel-out/
|
|
8433
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
8443
8434
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
8444
8435
|
|
|
8445
|
-
// bazel-out/
|
|
8436
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
8446
8437
|
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";
|
|
8447
8438
|
import ts70 from "typescript";
|
|
8448
8439
|
|
|
8449
|
-
// bazel-out/
|
|
8440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8450
8441
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
8451
8442
|
|
|
8452
|
-
// bazel-out/
|
|
8443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8453
8444
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8454
8445
|
import ts71 from "typescript";
|
|
8455
8446
|
|
|
8456
|
-
// bazel-out/
|
|
8447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8457
8448
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
8458
8449
|
|
|
8459
|
-
// bazel-out/
|
|
8450
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8460
8451
|
import { Binary } from "@angular/compiler";
|
|
8461
8452
|
import ts72 from "typescript";
|
|
8462
8453
|
|
|
8463
|
-
// bazel-out/
|
|
8454
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
8464
8455
|
var CompilationTicketKind;
|
|
8465
8456
|
(function(CompilationTicketKind2) {
|
|
8466
8457
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8468,11 +8459,11 @@ var CompilationTicketKind;
|
|
|
8468
8459
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
8469
8460
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
8470
8461
|
|
|
8471
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8472
8463
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
8473
8464
|
import ts76 from "typescript";
|
|
8474
8465
|
|
|
8475
|
-
// bazel-out/
|
|
8466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
8476
8467
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
8477
8468
|
import {
|
|
8478
8469
|
relative as relative5,
|
|
@@ -8480,42 +8471,42 @@ import {
|
|
|
8480
8471
|
sep as sep2
|
|
8481
8472
|
} from "path";
|
|
8482
8473
|
|
|
8483
|
-
// bazel-out/
|
|
8474
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
8484
8475
|
import ts74 from "typescript";
|
|
8485
8476
|
var tsVersion = ts74.version;
|
|
8486
8477
|
|
|
8487
|
-
// bazel-out/
|
|
8478
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8488
8479
|
import ts75 from "typescript";
|
|
8489
8480
|
|
|
8490
|
-
// bazel-out/
|
|
8481
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
8491
8482
|
import ts78 from "typescript";
|
|
8492
8483
|
|
|
8493
|
-
// bazel-out/
|
|
8484
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
8494
8485
|
import ts77 from "typescript";
|
|
8495
8486
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
8496
8487
|
|
|
8497
|
-
// bazel-out/
|
|
8488
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
8498
8489
|
import ts79 from "typescript";
|
|
8499
8490
|
|
|
8500
|
-
// bazel-out/
|
|
8491
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
8501
8492
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
8502
8493
|
import ts80 from "typescript";
|
|
8503
8494
|
|
|
8504
|
-
// bazel-out/
|
|
8495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
8505
8496
|
import ts81 from "typescript";
|
|
8506
8497
|
|
|
8507
|
-
// bazel-out/
|
|
8498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
8508
8499
|
import ts83 from "typescript";
|
|
8509
8500
|
|
|
8510
|
-
// bazel-out/
|
|
8501
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
8511
8502
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
8512
8503
|
import ts82 from "typescript";
|
|
8513
8504
|
|
|
8514
|
-
// bazel-out/
|
|
8505
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
8515
8506
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
8516
8507
|
import ts84 from "typescript";
|
|
8517
8508
|
|
|
8518
|
-
// bazel-out/
|
|
8509
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8519
8510
|
var VE_DISABLED_MESSAGE = `
|
|
8520
8511
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
8521
8512
|
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
@@ -8529,7 +8520,7 @@ var emptyModules = {
|
|
|
8529
8520
|
files: []
|
|
8530
8521
|
};
|
|
8531
8522
|
|
|
8532
|
-
// bazel-out/
|
|
8523
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8533
8524
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
8534
8525
|
const absProject = host.resolve(project);
|
|
8535
8526
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -8628,13 +8619,13 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
8628
8619
|
return null;
|
|
8629
8620
|
}
|
|
8630
8621
|
|
|
8631
|
-
// bazel-out/
|
|
8622
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
8632
8623
|
import ts94 from "typescript";
|
|
8633
8624
|
|
|
8634
|
-
// bazel-out/
|
|
8625
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
8635
8626
|
import ts93 from "typescript";
|
|
8636
8627
|
|
|
8637
|
-
// bazel-out/
|
|
8628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
8638
8629
|
import ts87 from "typescript";
|
|
8639
8630
|
function isDefined(value) {
|
|
8640
8631
|
return value !== void 0 && value !== null;
|
|
@@ -8717,7 +8708,7 @@ function stripExtension2(fileName) {
|
|
|
8717
8708
|
return fileName.replace(/\..+$/, "");
|
|
8718
8709
|
}
|
|
8719
8710
|
|
|
8720
|
-
// bazel-out/
|
|
8711
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
8721
8712
|
import ts88 from "typescript";
|
|
8722
8713
|
function findNamespaceOfIdentifier(id) {
|
|
8723
8714
|
return id.parent && ts88.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts88.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -8803,10 +8794,10 @@ function skipAliases(node) {
|
|
|
8803
8794
|
return node;
|
|
8804
8795
|
}
|
|
8805
8796
|
|
|
8806
|
-
// bazel-out/
|
|
8797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8807
8798
|
import ts91 from "typescript";
|
|
8808
8799
|
|
|
8809
|
-
// bazel-out/
|
|
8800
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
8810
8801
|
function isWithinPackage(packagePath, filePath) {
|
|
8811
8802
|
const relativePath = relative(packagePath, filePath);
|
|
8812
8803
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -8821,7 +8812,7 @@ var NoopDependencyTracker = class {
|
|
|
8821
8812
|
};
|
|
8822
8813
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
8823
8814
|
|
|
8824
|
-
// bazel-out/
|
|
8815
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
8825
8816
|
import ts89 from "typescript";
|
|
8826
8817
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
8827
8818
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -8829,13 +8820,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
8829
8820
|
return ts89.isVariableDeclaration(node) && !!node.initializer && ts89.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
8830
8821
|
}
|
|
8831
8822
|
|
|
8832
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
8833
8824
|
import ts90 from "typescript";
|
|
8834
8825
|
function stripParentheses(node) {
|
|
8835
8826
|
return ts90.isParenthesizedExpression(node) ? node.expression : node;
|
|
8836
8827
|
}
|
|
8837
8828
|
|
|
8838
|
-
// bazel-out/
|
|
8829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8839
8830
|
var DECORATORS = "decorators";
|
|
8840
8831
|
var PROP_DECORATORS = "propDecorators";
|
|
8841
8832
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -10066,7 +10057,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
10066
10057
|
return outerNode;
|
|
10067
10058
|
}
|
|
10068
10059
|
|
|
10069
|
-
// bazel-out/
|
|
10060
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
10070
10061
|
import ts92 from "typescript";
|
|
10071
10062
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
10072
10063
|
getBaseClassExpression(clazz) {
|
|
@@ -10400,7 +10391,7 @@ function getIifeFn(classSymbol) {
|
|
|
10400
10391
|
return iifeWrapper && ts92.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
10401
10392
|
}
|
|
10402
10393
|
|
|
10403
|
-
// bazel-out/
|
|
10394
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
10404
10395
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
10405
10396
|
constructor(logger, isCore, src, dts = null) {
|
|
10406
10397
|
super(logger, isCore, src, dts);
|
|
@@ -10791,7 +10782,7 @@ function isExportsIdentifier(node) {
|
|
|
10791
10782
|
return ts93.isIdentifier(node) && node.text === "exports";
|
|
10792
10783
|
}
|
|
10793
10784
|
|
|
10794
|
-
// bazel-out/
|
|
10785
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
10795
10786
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
10796
10787
|
function getEntryPointFormat(fs5, entryPoint, property2) {
|
|
10797
10788
|
switch (property2) {
|
|
@@ -10845,7 +10836,7 @@ function sniffModuleFormat(fs5, sourceFilePath) {
|
|
|
10845
10836
|
}
|
|
10846
10837
|
}
|
|
10847
10838
|
|
|
10848
|
-
// bazel-out/
|
|
10839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
10849
10840
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
10850
10841
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
10851
10842
|
return {
|
|
@@ -10855,7 +10846,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
10855
10846
|
}
|
|
10856
10847
|
}
|
|
10857
10848
|
|
|
10858
|
-
// bazel-out/
|
|
10849
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
10859
10850
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
10860
10851
|
var InPlaceFileWriter = class {
|
|
10861
10852
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -10904,7 +10895,7 @@ This error may be caused by one of the following:
|
|
|
10904
10895
|
}
|
|
10905
10896
|
};
|
|
10906
10897
|
|
|
10907
|
-
// bazel-out/
|
|
10898
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
10908
10899
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
10909
10900
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
10910
10901
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -11012,7 +11003,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
11012
11003
|
}
|
|
11013
11004
|
};
|
|
11014
11005
|
|
|
11015
|
-
// bazel-out/
|
|
11006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
11016
11007
|
function getSharedSetup(options) {
|
|
11017
11008
|
const fileSystem = getFileSystem();
|
|
11018
11009
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -11071,10 +11062,10 @@ If you did intend to use this file, then you can hide this warning by providing
|
|
|
11071
11062
|
}
|
|
11072
11063
|
}
|
|
11073
11064
|
|
|
11074
|
-
// bazel-out/
|
|
11065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
11075
11066
|
import ts109 from "typescript";
|
|
11076
11067
|
|
|
11077
|
-
// bazel-out/
|
|
11068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
11078
11069
|
var DtsProcessing;
|
|
11079
11070
|
(function(DtsProcessing2) {
|
|
11080
11071
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -11082,10 +11073,10 @@ var DtsProcessing;
|
|
|
11082
11073
|
DtsProcessing2[DtsProcessing2["Only"] = 2] = "Only";
|
|
11083
11074
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
11084
11075
|
|
|
11085
|
-
// bazel-out/
|
|
11076
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11086
11077
|
import ts96 from "typescript";
|
|
11087
11078
|
|
|
11088
|
-
// bazel-out/
|
|
11079
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
11089
11080
|
import ts95 from "typescript";
|
|
11090
11081
|
function patchTsGetExpandoInitializer() {
|
|
11091
11082
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -11190,7 +11181,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
11190
11181
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
11191
11182
|
}
|
|
11192
11183
|
|
|
11193
|
-
// bazel-out/
|
|
11184
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11194
11185
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options, host, additionalFiles = []) {
|
|
11195
11186
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
11196
11187
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -11220,7 +11211,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
11220
11211
|
return null;
|
|
11221
11212
|
}
|
|
11222
11213
|
|
|
11223
|
-
// bazel-out/
|
|
11214
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
11224
11215
|
import ts97 from "typescript";
|
|
11225
11216
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
11226
11217
|
constructor(fs5, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -11265,7 +11256,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
11265
11256
|
}
|
|
11266
11257
|
};
|
|
11267
11258
|
|
|
11268
|
-
// bazel-out/
|
|
11259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
11269
11260
|
import ts98 from "typescript";
|
|
11270
11261
|
var SharedFileCache = class {
|
|
11271
11262
|
constructor(fs5) {
|
|
@@ -11366,7 +11357,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
11366
11357
|
});
|
|
11367
11358
|
}
|
|
11368
11359
|
|
|
11369
|
-
// bazel-out/
|
|
11360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
11370
11361
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
11371
11362
|
const rootDir = entryPoint.packagePath;
|
|
11372
11363
|
const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -11407,13 +11398,13 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
11407
11398
|
return additionalFiles;
|
|
11408
11399
|
}
|
|
11409
11400
|
|
|
11410
|
-
// bazel-out/
|
|
11401
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
11411
11402
|
import ts108 from "typescript";
|
|
11412
11403
|
|
|
11413
|
-
// bazel-out/
|
|
11404
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11414
11405
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
11415
11406
|
|
|
11416
|
-
// bazel-out/
|
|
11407
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
11417
11408
|
import ts99 from "typescript";
|
|
11418
11409
|
function isClassDeclaration(clazz) {
|
|
11419
11410
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -11496,7 +11487,7 @@ function reifySourceFile(expr) {
|
|
|
11496
11487
|
return stmt.declarationList.declarations[0].initializer;
|
|
11497
11488
|
}
|
|
11498
11489
|
|
|
11499
|
-
// bazel-out/
|
|
11490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
11500
11491
|
var MissingInjectableMigration = class {
|
|
11501
11492
|
apply(clazz, host) {
|
|
11502
11493
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -11601,7 +11592,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
11601
11592
|
return decorator.import.name;
|
|
11602
11593
|
}
|
|
11603
11594
|
|
|
11604
|
-
// bazel-out/
|
|
11595
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
11605
11596
|
var UndecoratedChildMigration = class {
|
|
11606
11597
|
apply(clazz, host) {
|
|
11607
11598
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -11636,7 +11627,7 @@ var UndecoratedChildMigration = class {
|
|
|
11636
11627
|
}
|
|
11637
11628
|
};
|
|
11638
11629
|
|
|
11639
|
-
// bazel-out/
|
|
11630
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
11640
11631
|
var UndecoratedParentMigration = class {
|
|
11641
11632
|
apply(clazz, host) {
|
|
11642
11633
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -11669,7 +11660,7 @@ function determineBaseClass(clazz, host) {
|
|
|
11669
11660
|
return baseClass;
|
|
11670
11661
|
}
|
|
11671
11662
|
|
|
11672
|
-
// bazel-out/
|
|
11663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
11673
11664
|
import ts100 from "typescript";
|
|
11674
11665
|
var DefaultMigrationHost = class {
|
|
11675
11666
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -11729,7 +11720,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
11729
11720
|
return clone;
|
|
11730
11721
|
}
|
|
11731
11722
|
|
|
11732
|
-
// bazel-out/
|
|
11723
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
11733
11724
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
11734
11725
|
constructor(handlers, ngccReflector) {
|
|
11735
11726
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -11774,10 +11765,10 @@ var NoIncrementalBuild = class {
|
|
|
11774
11765
|
}
|
|
11775
11766
|
};
|
|
11776
11767
|
|
|
11777
|
-
// bazel-out/
|
|
11768
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
11778
11769
|
var DecorationAnalyses = Map;
|
|
11779
11770
|
|
|
11780
|
-
// bazel-out/
|
|
11771
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11781
11772
|
var NgccResourceLoader = class {
|
|
11782
11773
|
constructor(fs5) {
|
|
11783
11774
|
this.fs = fs5;
|
|
@@ -11933,7 +11924,7 @@ var DecorationAnalyzer = class {
|
|
|
11933
11924
|
}
|
|
11934
11925
|
};
|
|
11935
11926
|
|
|
11936
|
-
// bazel-out/
|
|
11927
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
11937
11928
|
import ts101 from "typescript";
|
|
11938
11929
|
var ModuleWithProvidersAnalyses = Map;
|
|
11939
11930
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12072,7 +12063,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12072
12063
|
return typeParam.kind === ts101.SyntaxKind.AnyKeyword;
|
|
12073
12064
|
}
|
|
12074
12065
|
|
|
12075
|
-
// bazel-out/
|
|
12066
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12076
12067
|
var NgccReferencesRegistry = class {
|
|
12077
12068
|
constructor(host) {
|
|
12078
12069
|
this.host = host;
|
|
@@ -12093,7 +12084,7 @@ var NgccReferencesRegistry = class {
|
|
|
12093
12084
|
}
|
|
12094
12085
|
};
|
|
12095
12086
|
|
|
12096
|
-
// bazel-out/
|
|
12087
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
12097
12088
|
var PrivateDeclarationsAnalyzer = class {
|
|
12098
12089
|
constructor(host, referencesRegistry) {
|
|
12099
12090
|
this.host = host;
|
|
@@ -12134,7 +12125,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
12134
12125
|
}
|
|
12135
12126
|
};
|
|
12136
12127
|
|
|
12137
|
-
// bazel-out/
|
|
12128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
12138
12129
|
var SwitchMarkerAnalyses = Map;
|
|
12139
12130
|
var SwitchMarkerAnalyzer = class {
|
|
12140
12131
|
constructor(host, packagePath) {
|
|
@@ -12153,7 +12144,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
12153
12144
|
}
|
|
12154
12145
|
};
|
|
12155
12146
|
|
|
12156
|
-
// bazel-out/
|
|
12147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
12157
12148
|
import ts102 from "typescript";
|
|
12158
12149
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
12159
12150
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -12317,7 +12308,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
12317
12308
|
}
|
|
12318
12309
|
};
|
|
12319
12310
|
|
|
12320
|
-
// bazel-out/
|
|
12311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
12321
12312
|
var DelegatingReflectionHost = class {
|
|
12322
12313
|
constructor(tsHost, ngccHost) {
|
|
12323
12314
|
this.tsHost = tsHost;
|
|
@@ -12441,16 +12432,16 @@ var DelegatingReflectionHost = class {
|
|
|
12441
12432
|
}
|
|
12442
12433
|
};
|
|
12443
12434
|
|
|
12444
|
-
// bazel-out/
|
|
12435
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12445
12436
|
import ts105 from "typescript";
|
|
12446
12437
|
|
|
12447
|
-
// bazel-out/
|
|
12438
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12448
12439
|
import ts104 from "typescript";
|
|
12449
12440
|
|
|
12450
|
-
// bazel-out/
|
|
12441
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12451
12442
|
import ts103 from "typescript";
|
|
12452
12443
|
|
|
12453
|
-
// bazel-out/
|
|
12444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
12454
12445
|
var NgccFlatImportRewriter = class {
|
|
12455
12446
|
shouldImportSymbol(symbol, specifier) {
|
|
12456
12447
|
if (specifier === "@angular/core") {
|
|
@@ -12471,7 +12462,7 @@ var NgccFlatImportRewriter = class {
|
|
|
12471
12462
|
}
|
|
12472
12463
|
};
|
|
12473
12464
|
|
|
12474
|
-
// bazel-out/
|
|
12465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
12475
12466
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
12476
12467
|
if (isCore && isFlat) {
|
|
12477
12468
|
return new NgccFlatImportRewriter();
|
|
@@ -12485,7 +12476,7 @@ function stripExtension3(filePath) {
|
|
|
12485
12476
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
12486
12477
|
}
|
|
12487
12478
|
|
|
12488
|
-
// bazel-out/
|
|
12479
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12489
12480
|
var EsmRenderingFormatter = class {
|
|
12490
12481
|
constructor(fs5, host, isCore) {
|
|
12491
12482
|
this.fs = fs5;
|
|
@@ -12653,7 +12644,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
12653
12644
|
return lastToken && lastToken.kind === ts103.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
12654
12645
|
}
|
|
12655
12646
|
|
|
12656
|
-
// bazel-out/
|
|
12647
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12657
12648
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
12658
12649
|
addDefinitions(output, compiledClass, definitions) {
|
|
12659
12650
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -12681,7 +12672,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
12681
12672
|
}
|
|
12682
12673
|
};
|
|
12683
12674
|
|
|
12684
|
-
// bazel-out/
|
|
12675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12685
12676
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
12686
12677
|
constructor(fs5, commonJsHost, isCore) {
|
|
12687
12678
|
super(fs5, commonJsHost, isCore);
|
|
@@ -12730,17 +12721,17 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
12730
12721
|
}
|
|
12731
12722
|
};
|
|
12732
12723
|
|
|
12733
|
-
// bazel-out/
|
|
12724
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
12734
12725
|
import MagicString from "magic-string";
|
|
12735
12726
|
import ts106 from "typescript";
|
|
12736
12727
|
|
|
12737
|
-
// bazel-out/
|
|
12728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
12738
12729
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
12739
12730
|
|
|
12740
|
-
// bazel-out/
|
|
12731
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
12741
12732
|
import mapHelpers3 from "convert-source-map";
|
|
12742
12733
|
|
|
12743
|
-
// bazel-out/
|
|
12734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
12744
12735
|
var ContentOrigin;
|
|
12745
12736
|
(function(ContentOrigin2) {
|
|
12746
12737
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -12748,11 +12739,11 @@ var ContentOrigin;
|
|
|
12748
12739
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
12749
12740
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
12750
12741
|
|
|
12751
|
-
// bazel-out/
|
|
12742
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12752
12743
|
import mapHelpers from "convert-source-map";
|
|
12753
12744
|
import { decode, encode } from "sourcemap-codec";
|
|
12754
12745
|
|
|
12755
|
-
// bazel-out/
|
|
12746
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
12756
12747
|
function compareSegments(a, b) {
|
|
12757
12748
|
return a.position - b.position;
|
|
12758
12749
|
}
|
|
@@ -12772,7 +12763,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
12772
12763
|
return { line, column, position, next: void 0 };
|
|
12773
12764
|
}
|
|
12774
12765
|
|
|
12775
|
-
// bazel-out/
|
|
12766
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12776
12767
|
function removeSourceMapComments(contents) {
|
|
12777
12768
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
12778
12769
|
}
|
|
@@ -13023,7 +13014,7 @@ var Cache = class {
|
|
|
13023
13014
|
}
|
|
13024
13015
|
};
|
|
13025
13016
|
|
|
13026
|
-
// bazel-out/
|
|
13017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13027
13018
|
import mapHelpers2 from "convert-source-map";
|
|
13028
13019
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13029
13020
|
var SourceFileLoader = class {
|
|
@@ -13140,7 +13131,7 @@ var SourceFileLoader = class {
|
|
|
13140
13131
|
}
|
|
13141
13132
|
};
|
|
13142
13133
|
|
|
13143
|
-
// bazel-out/
|
|
13134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13144
13135
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
13145
13136
|
var _a;
|
|
13146
13137
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -13174,7 +13165,7 @@ ${sourceMapComment}` },
|
|
|
13174
13165
|
}
|
|
13175
13166
|
}
|
|
13176
13167
|
|
|
13177
|
-
// bazel-out/
|
|
13168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13178
13169
|
var DtsRenderInfo = class {
|
|
13179
13170
|
constructor() {
|
|
13180
13171
|
this.classInfo = [];
|
|
@@ -13275,14 +13266,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
13275
13266
|
ts106.forEachChild(node, markForEmitAsSingleLine2);
|
|
13276
13267
|
}
|
|
13277
13268
|
|
|
13278
|
-
// bazel-out/
|
|
13269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13279
13270
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
13280
13271
|
import MagicString2 from "magic-string";
|
|
13281
13272
|
|
|
13282
|
-
// bazel-out/
|
|
13273
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
13283
13274
|
var RedundantDecoratorMap = Map;
|
|
13284
13275
|
|
|
13285
|
-
// bazel-out/
|
|
13276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13286
13277
|
var Renderer = class {
|
|
13287
13278
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
13288
13279
|
this.host = host;
|
|
@@ -13389,7 +13380,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
13389
13380
|
return statement;
|
|
13390
13381
|
}
|
|
13391
13382
|
|
|
13392
|
-
// bazel-out/
|
|
13383
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
13393
13384
|
import ts107 from "typescript";
|
|
13394
13385
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13395
13386
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -13560,7 +13551,7 @@ function isTypeOf(node, ...types) {
|
|
|
13560
13551
|
return ts107.isBinaryExpression(node) && ts107.isTypeOfExpression(node.left) && ts107.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
13561
13552
|
}
|
|
13562
13553
|
|
|
13563
|
-
// bazel-out/
|
|
13554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
13564
13555
|
var Transformer = class {
|
|
13565
13556
|
constructor(fs5, logger, tsConfig = null) {
|
|
13566
13557
|
this.fs = fs5;
|
|
@@ -13644,7 +13635,7 @@ function hasErrors(diagnostics) {
|
|
|
13644
13635
|
return diagnostics.some((d) => d.category === ts108.DiagnosticCategory.Error);
|
|
13645
13636
|
}
|
|
13646
13637
|
|
|
13647
|
-
// bazel-out/
|
|
13638
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
13648
13639
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
13649
13640
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
13650
13641
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -13683,10 +13674,10 @@ ${errors}`);
|
|
|
13683
13674
|
};
|
|
13684
13675
|
}
|
|
13685
13676
|
|
|
13686
|
-
// bazel-out/
|
|
13677
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13687
13678
|
import cluster2 from "cluster";
|
|
13688
13679
|
|
|
13689
|
-
// bazel-out/
|
|
13680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
13690
13681
|
var PackageJsonUpdate = class {
|
|
13691
13682
|
constructor(writeChangesImpl) {
|
|
13692
13683
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -13752,7 +13743,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
13752
13743
|
}
|
|
13753
13744
|
}
|
|
13754
13745
|
|
|
13755
|
-
// bazel-out/
|
|
13746
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
13756
13747
|
import cluster from "cluster";
|
|
13757
13748
|
var sendMessageToMaster = (msg) => {
|
|
13758
13749
|
if (cluster.isMaster) {
|
|
@@ -13766,7 +13757,7 @@ var sendMessageToMaster = (msg) => {
|
|
|
13766
13757
|
});
|
|
13767
13758
|
};
|
|
13768
13759
|
|
|
13769
|
-
// bazel-out/
|
|
13760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13770
13761
|
var ClusterWorkerPackageJsonUpdater = class {
|
|
13771
13762
|
constructor() {
|
|
13772
13763
|
if (cluster2.isMaster) {
|
|
@@ -13793,13 +13784,13 @@ var ClusterWorkerPackageJsonUpdater = class {
|
|
|
13793
13784
|
}
|
|
13794
13785
|
};
|
|
13795
13786
|
|
|
13796
|
-
// bazel-out/
|
|
13787
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13797
13788
|
import cluster3 from "cluster";
|
|
13798
13789
|
|
|
13799
|
-
// bazel-out/
|
|
13790
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
13800
13791
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
13801
13792
|
|
|
13802
|
-
// bazel-out/
|
|
13793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13803
13794
|
async function startWorker(logger, createCompileFn) {
|
|
13804
13795
|
if (cluster3.isMaster) {
|
|
13805
13796
|
throw new Error("Tried to run cluster worker on the master process.");
|
|
@@ -13834,7 +13825,7 @@ async function startWorker(logger, createCompileFn) {
|
|
|
13834
13825
|
return new Promise(() => void 0);
|
|
13835
13826
|
}
|
|
13836
13827
|
|
|
13837
|
-
// bazel-out/
|
|
13828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/ngcc_cluster_worker.mjs
|
|
13838
13829
|
(async () => {
|
|
13839
13830
|
process.title = "ngcc (worker)";
|
|
13840
13831
|
try {
|