@angular/compiler-cli 13.0.0-rc.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/index.js +229 -228
- package/bundles/index.js.map +2 -2
- package/bundles/linker/babel/index.js +57 -57
- package/bundles/linker/index.js +49 -49
- package/bundles/ngcc/index.js +315 -320
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +316 -321
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +280 -285
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +67 -65
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +229 -227
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +227 -225
- package/bundles/src/bin/ngc.js.map +2 -2
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/main.d.ts +4 -1
- package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
- package/src/ngtsc/diagnostics/index.d.ts +4 -2
- package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
- package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
- package/src/perform_compile.d.ts +0 -1
|
@@ -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,19 +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/
|
|
560
|
-
import ts2 from "typescript";
|
|
561
|
-
|
|
562
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
559
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
563
560
|
var ErrorCode;
|
|
564
561
|
(function(ErrorCode2) {
|
|
565
562
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -609,6 +606,8 @@ var ErrorCode;
|
|
|
609
606
|
ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
|
|
610
607
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
611
608
|
})(ErrorCode || (ErrorCode = {}));
|
|
609
|
+
|
|
610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
612
611
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
613
612
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
614
613
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -618,11 +617,20 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
618
617
|
ErrorCode.MISSING_REFERENCE_TARGET,
|
|
619
618
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
620
619
|
]);
|
|
620
|
+
|
|
621
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
622
|
+
import ts2 from "typescript";
|
|
623
|
+
|
|
624
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
625
|
+
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
626
|
+
function replaceTsWithNgInErrors(errors) {
|
|
627
|
+
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
628
|
+
}
|
|
621
629
|
function ngErrorCode(code) {
|
|
622
630
|
return parseInt("-99" + code);
|
|
623
631
|
}
|
|
624
632
|
|
|
625
|
-
// bazel-out/
|
|
633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
626
634
|
var FatalDiagnosticError = class {
|
|
627
635
|
constructor(code, node, message, relatedInformation) {
|
|
628
636
|
this.code = code;
|
|
@@ -662,13 +670,7 @@ function isFatalDiagnosticError(err) {
|
|
|
662
670
|
return err._isFatalDiagnosticError === true;
|
|
663
671
|
}
|
|
664
672
|
|
|
665
|
-
// bazel-out/
|
|
666
|
-
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
667
|
-
function replaceTsWithNgInErrors(errors) {
|
|
668
|
-
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
672
674
|
var UNKNOWN_ERROR_CODE = 500;
|
|
673
675
|
var EmitFlags;
|
|
674
676
|
(function(EmitFlags2) {
|
|
@@ -681,7 +683,7 @@ var EmitFlags;
|
|
|
681
683
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
682
684
|
})(EmitFlags || (EmitFlags = {}));
|
|
683
685
|
|
|
684
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
685
687
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
686
688
|
import fs3 from "fs";
|
|
687
689
|
import {
|
|
@@ -694,18 +696,18 @@ import {
|
|
|
694
696
|
} from "path";
|
|
695
697
|
import ts9 from "typescript";
|
|
696
698
|
|
|
697
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
698
700
|
import ts5 from "typescript";
|
|
699
701
|
|
|
700
|
-
// bazel-out/
|
|
702
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
701
703
|
import ts3 from "typescript";
|
|
702
704
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
703
705
|
var empty = ts3.createNodeArray();
|
|
704
706
|
|
|
705
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
706
708
|
import ts4 from "typescript";
|
|
707
709
|
|
|
708
|
-
// bazel-out/
|
|
710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
709
711
|
import {
|
|
710
712
|
basename as basename4,
|
|
711
713
|
dirname as dirname4,
|
|
@@ -714,7 +716,7 @@ import {
|
|
|
714
716
|
} from "path";
|
|
715
717
|
import ts7 from "typescript";
|
|
716
718
|
|
|
717
|
-
// bazel-out/
|
|
719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
718
720
|
import {
|
|
719
721
|
basename as basename3,
|
|
720
722
|
dirname as dirname3,
|
|
@@ -724,14 +726,14 @@ import {
|
|
|
724
726
|
} from "path";
|
|
725
727
|
import ts6 from "typescript";
|
|
726
728
|
|
|
727
|
-
// bazel-out/
|
|
729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
728
730
|
import { syntaxError } from "@angular/compiler";
|
|
729
731
|
import {
|
|
730
732
|
relative as relative3
|
|
731
733
|
} from "path";
|
|
732
734
|
import ts8 from "typescript";
|
|
733
735
|
|
|
734
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
735
737
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
736
738
|
import {
|
|
737
739
|
readFileSync as readFileSync2
|
|
@@ -739,24 +741,24 @@ import {
|
|
|
739
741
|
import * as path6 from "path";
|
|
740
742
|
import ts85 from "typescript";
|
|
741
743
|
|
|
742
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
743
745
|
import ts10 from "typescript";
|
|
744
746
|
|
|
745
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
746
748
|
import ts73 from "typescript";
|
|
747
749
|
|
|
748
|
-
// bazel-out/
|
|
750
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
749
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";
|
|
750
752
|
import ts39 from "typescript";
|
|
751
753
|
|
|
752
|
-
// bazel-out/
|
|
754
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
753
755
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
754
756
|
|
|
755
|
-
// bazel-out/
|
|
757
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
756
758
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
757
759
|
import ts13 from "typescript";
|
|
758
760
|
|
|
759
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
760
762
|
import ts11 from "typescript";
|
|
761
763
|
var D_TS = /\.d\.ts$/i;
|
|
762
764
|
function isSymbolWithValueDeclaration(symbol) {
|
|
@@ -824,7 +826,7 @@ function isAssignment(node) {
|
|
|
824
826
|
return ts11.isBinaryExpression(node) && node.operatorToken.kind === ts11.SyntaxKind.EqualsToken;
|
|
825
827
|
}
|
|
826
828
|
|
|
827
|
-
// bazel-out/
|
|
829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
828
830
|
import ts12 from "typescript";
|
|
829
831
|
function findExportedNameOfNode(target, file, reflector) {
|
|
830
832
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -848,7 +850,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
848
850
|
return foundExportName;
|
|
849
851
|
}
|
|
850
852
|
|
|
851
|
-
// bazel-out/
|
|
853
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
852
854
|
var ImportFlags;
|
|
853
855
|
(function(ImportFlags2) {
|
|
854
856
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -978,7 +980,7 @@ var LogicalProjectStrategy = class {
|
|
|
978
980
|
}
|
|
979
981
|
};
|
|
980
982
|
|
|
981
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
982
984
|
var PrivateExportAliasingHost = class {
|
|
983
985
|
constructor(host) {
|
|
984
986
|
this.host = host;
|
|
@@ -1008,13 +1010,13 @@ var PrivateExportAliasingHost = class {
|
|
|
1008
1010
|
}
|
|
1009
1011
|
};
|
|
1010
1012
|
|
|
1011
|
-
// bazel-out/
|
|
1013
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1012
1014
|
function relativePathBetween(from, to) {
|
|
1013
1015
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1014
1016
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
1015
1017
|
}
|
|
1016
1018
|
|
|
1017
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1018
1020
|
var NoopImportRewriter = class {
|
|
1019
1021
|
shouldImportSymbol(symbol, specifier) {
|
|
1020
1022
|
return true;
|
|
@@ -1072,14 +1074,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1072
1074
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1073
1075
|
}
|
|
1074
1076
|
|
|
1075
|
-
// bazel-out/
|
|
1077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1076
1078
|
import ts14 from "typescript";
|
|
1077
1079
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1078
1080
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1079
1081
|
expr[DefaultImportDeclaration] = importDecl;
|
|
1080
1082
|
}
|
|
1081
1083
|
|
|
1082
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1083
1085
|
var Reference = class {
|
|
1084
1086
|
constructor(node, bestGuessOwningModule = null) {
|
|
1085
1087
|
this.node = node;
|
|
@@ -1142,7 +1144,7 @@ var Reference = class {
|
|
|
1142
1144
|
}
|
|
1143
1145
|
};
|
|
1144
1146
|
|
|
1145
|
-
// bazel-out/
|
|
1147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1146
1148
|
var ModuleResolver = class {
|
|
1147
1149
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1148
1150
|
this.program = program;
|
|
@@ -1159,7 +1161,7 @@ var ModuleResolver = class {
|
|
|
1159
1161
|
}
|
|
1160
1162
|
};
|
|
1161
1163
|
|
|
1162
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
1163
1165
|
import ts15 from "typescript";
|
|
1164
1166
|
var SemanticSymbol = class {
|
|
1165
1167
|
constructor(decl) {
|
|
@@ -1175,13 +1177,13 @@ function getSymbolIdentifier(decl) {
|
|
|
1175
1177
|
return decl.name.text;
|
|
1176
1178
|
}
|
|
1177
1179
|
|
|
1178
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
1179
1181
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
1180
1182
|
|
|
1181
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1182
1184
|
import ts16 from "typescript";
|
|
1183
1185
|
|
|
1184
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
1185
1187
|
function isSymbolEqual(a, b) {
|
|
1186
1188
|
if (a.decl === b.decl) {
|
|
1187
1189
|
return true;
|
|
@@ -1231,7 +1233,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
1231
1233
|
return true;
|
|
1232
1234
|
}
|
|
1233
1235
|
|
|
1234
|
-
// bazel-out/
|
|
1236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1235
1237
|
function extractSemanticTypeParameters(node) {
|
|
1236
1238
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
1237
1239
|
return null;
|
|
@@ -1251,17 +1253,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
1251
1253
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
1252
1254
|
}
|
|
1253
1255
|
|
|
1254
|
-
// bazel-out/
|
|
1256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1255
1257
|
var MetaType;
|
|
1256
1258
|
(function(MetaType2) {
|
|
1257
1259
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
1258
1260
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
1259
1261
|
})(MetaType || (MetaType = {}));
|
|
1260
1262
|
|
|
1261
|
-
// bazel-out/
|
|
1263
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1262
1264
|
import ts22 from "typescript";
|
|
1263
1265
|
|
|
1264
|
-
// bazel-out/
|
|
1266
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
1265
1267
|
import ts17 from "typescript";
|
|
1266
1268
|
var Decorator = {
|
|
1267
1269
|
nodeForError: (decorator) => {
|
|
@@ -1296,7 +1298,7 @@ function isConcreteDeclaration(decl) {
|
|
|
1296
1298
|
return decl.kind === 0;
|
|
1297
1299
|
}
|
|
1298
1300
|
|
|
1299
|
-
// bazel-out/
|
|
1301
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
1300
1302
|
import ts18 from "typescript";
|
|
1301
1303
|
function typeToValue(typeNode, checker) {
|
|
1302
1304
|
if (typeNode === null) {
|
|
@@ -1457,10 +1459,10 @@ function extractModuleName(node) {
|
|
|
1457
1459
|
return node.moduleSpecifier.text;
|
|
1458
1460
|
}
|
|
1459
1461
|
|
|
1460
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1461
1463
|
import ts20 from "typescript";
|
|
1462
1464
|
|
|
1463
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
1464
1466
|
import ts19 from "typescript";
|
|
1465
1467
|
function isNamedClassDeclaration(node) {
|
|
1466
1468
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -1475,7 +1477,7 @@ function isIdentifier(node) {
|
|
|
1475
1477
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
1476
1478
|
}
|
|
1477
1479
|
|
|
1478
|
-
// bazel-out/
|
|
1480
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1479
1481
|
var TypeScriptReflectionHost = class {
|
|
1480
1482
|
constructor(checker) {
|
|
1481
1483
|
this.checker = checker;
|
|
@@ -1911,7 +1913,7 @@ function getExportedName(decl, originalId) {
|
|
|
1911
1913
|
}
|
|
1912
1914
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1913
1915
|
|
|
1914
|
-
// bazel-out/
|
|
1916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1915
1917
|
var ClassPropertyMapping = class {
|
|
1916
1918
|
constructor(forwardMap) {
|
|
1917
1919
|
this.forwardMap = forwardMap;
|
|
@@ -1987,7 +1989,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1987
1989
|
return reverseMap;
|
|
1988
1990
|
}
|
|
1989
1991
|
|
|
1990
|
-
// bazel-out/
|
|
1992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1991
1993
|
import ts21 from "typescript";
|
|
1992
1994
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1993
1995
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -2154,7 +2156,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2154
2156
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2155
2157
|
}
|
|
2156
2158
|
|
|
2157
|
-
// bazel-out/
|
|
2159
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2158
2160
|
var DtsMetadataReader = class {
|
|
2159
2161
|
constructor(checker, reflector) {
|
|
2160
2162
|
this.checker = checker;
|
|
@@ -2254,7 +2256,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
2254
2256
|
return null;
|
|
2255
2257
|
}
|
|
2256
2258
|
|
|
2257
|
-
// bazel-out/
|
|
2259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2258
2260
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2259
2261
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2260
2262
|
if (topMeta === null) {
|
|
@@ -2311,7 +2313,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2311
2313
|
});
|
|
2312
2314
|
}
|
|
2313
2315
|
|
|
2314
|
-
// bazel-out/
|
|
2316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2315
2317
|
var LocalMetadataRegistry = class {
|
|
2316
2318
|
constructor() {
|
|
2317
2319
|
this.directives = new Map();
|
|
@@ -2370,7 +2372,7 @@ var InjectableClassRegistry = class {
|
|
|
2370
2372
|
}
|
|
2371
2373
|
};
|
|
2372
2374
|
|
|
2373
|
-
// bazel-out/
|
|
2375
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2374
2376
|
var ResourceRegistry = class {
|
|
2375
2377
|
constructor() {
|
|
2376
2378
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -2435,10 +2437,10 @@ var ResourceRegistry = class {
|
|
|
2435
2437
|
}
|
|
2436
2438
|
};
|
|
2437
2439
|
|
|
2438
|
-
// bazel-out/
|
|
2440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2439
2441
|
import ts23 from "typescript";
|
|
2440
2442
|
|
|
2441
|
-
// bazel-out/
|
|
2443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
2442
2444
|
var DynamicValue = class {
|
|
2443
2445
|
constructor(node, reason, code) {
|
|
2444
2446
|
this.node = node;
|
|
@@ -2523,7 +2525,7 @@ var DynamicValue = class {
|
|
|
2523
2525
|
}
|
|
2524
2526
|
};
|
|
2525
2527
|
|
|
2526
|
-
// bazel-out/
|
|
2528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
2527
2529
|
var ResolvedModule = class {
|
|
2528
2530
|
constructor(exports, evaluate) {
|
|
2529
2531
|
this.exports = exports;
|
|
@@ -2553,7 +2555,7 @@ var EnumValue = class {
|
|
|
2553
2555
|
var KnownFn = class {
|
|
2554
2556
|
};
|
|
2555
2557
|
|
|
2556
|
-
// bazel-out/
|
|
2558
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2557
2559
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2558
2560
|
var _a, _b;
|
|
2559
2561
|
if (value === null) {
|
|
@@ -2679,10 +2681,10 @@ function getContainerNode(node) {
|
|
|
2679
2681
|
return node.getSourceFile();
|
|
2680
2682
|
}
|
|
2681
2683
|
|
|
2682
|
-
// bazel-out/
|
|
2684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2683
2685
|
import ts24 from "typescript";
|
|
2684
2686
|
|
|
2685
|
-
// bazel-out/
|
|
2687
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
2686
2688
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2687
2689
|
constructor(lhs) {
|
|
2688
2690
|
super();
|
|
@@ -2735,7 +2737,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
2735
2737
|
}
|
|
2736
2738
|
};
|
|
2737
2739
|
|
|
2738
|
-
// bazel-out/
|
|
2740
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
2739
2741
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
2740
2742
|
};
|
|
2741
2743
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -2788,7 +2790,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
2788
2790
|
}
|
|
2789
2791
|
};
|
|
2790
2792
|
|
|
2791
|
-
// bazel-out/
|
|
2793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
2792
2794
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
2793
2795
|
var assignTsHelperFn = new AssignHelperFn();
|
|
2794
2796
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -2812,7 +2814,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
2812
2814
|
}
|
|
2813
2815
|
}
|
|
2814
2816
|
|
|
2815
|
-
// bazel-out/
|
|
2817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2816
2818
|
function literalBinaryOp(op) {
|
|
2817
2819
|
return { op, literal: true };
|
|
2818
2820
|
}
|
|
@@ -3397,7 +3399,7 @@ function owningModule(context, override = null) {
|
|
|
3397
3399
|
}
|
|
3398
3400
|
}
|
|
3399
3401
|
|
|
3400
|
-
// bazel-out/
|
|
3402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
3401
3403
|
var PartialEvaluator = class {
|
|
3402
3404
|
constructor(host, checker, dependencyTracker) {
|
|
3403
3405
|
this.host = host;
|
|
@@ -3417,7 +3419,7 @@ var PartialEvaluator = class {
|
|
|
3417
3419
|
}
|
|
3418
3420
|
};
|
|
3419
3421
|
|
|
3420
|
-
// bazel-out/
|
|
3422
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
3421
3423
|
var PerfPhase;
|
|
3422
3424
|
(function(PerfPhase2) {
|
|
3423
3425
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -3482,7 +3484,7 @@ var PerfCheckpoint;
|
|
|
3482
3484
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
3483
3485
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
3484
3486
|
|
|
3485
|
-
// bazel-out/
|
|
3487
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
3486
3488
|
var NoopPerfRecorder = class {
|
|
3487
3489
|
eventCount() {
|
|
3488
3490
|
}
|
|
@@ -3499,7 +3501,7 @@ var NoopPerfRecorder = class {
|
|
|
3499
3501
|
};
|
|
3500
3502
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
3501
3503
|
|
|
3502
|
-
// bazel-out/
|
|
3504
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3503
3505
|
var CompilationMode;
|
|
3504
3506
|
(function(CompilationMode2) {
|
|
3505
3507
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3517,13 +3519,13 @@ var HandlerFlags;
|
|
|
3517
3519
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3518
3520
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3519
3521
|
|
|
3520
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3521
3523
|
import ts25 from "typescript";
|
|
3522
3524
|
|
|
3523
|
-
// bazel-out/
|
|
3525
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3524
3526
|
import ts26 from "typescript";
|
|
3525
3527
|
|
|
3526
|
-
// bazel-out/
|
|
3528
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3527
3529
|
var TraitState;
|
|
3528
3530
|
(function(TraitState2) {
|
|
3529
3531
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3578,7 +3580,7 @@ var TraitImpl = class {
|
|
|
3578
3580
|
}
|
|
3579
3581
|
};
|
|
3580
3582
|
|
|
3581
|
-
// bazel-out/
|
|
3583
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3582
3584
|
var TraitCompiler = class {
|
|
3583
3585
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
3584
3586
|
this.handlers = handlers;
|
|
@@ -4015,10 +4017,10 @@ var TraitCompiler = class {
|
|
|
4015
4017
|
}
|
|
4016
4018
|
};
|
|
4017
4019
|
|
|
4018
|
-
// bazel-out/
|
|
4020
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4019
4021
|
import ts31 from "typescript";
|
|
4020
4022
|
|
|
4021
|
-
// bazel-out/
|
|
4023
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
4022
4024
|
var Context = class {
|
|
4023
4025
|
constructor(isStatement) {
|
|
4024
4026
|
this.isStatement = isStatement;
|
|
@@ -4031,7 +4033,7 @@ var Context = class {
|
|
|
4031
4033
|
}
|
|
4032
4034
|
};
|
|
4033
4035
|
|
|
4034
|
-
// bazel-out/
|
|
4036
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
4035
4037
|
import ts27 from "typescript";
|
|
4036
4038
|
var ImportManager = class {
|
|
4037
4039
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -4067,7 +4069,7 @@ var ImportManager = class {
|
|
|
4067
4069
|
}
|
|
4068
4070
|
};
|
|
4069
4071
|
|
|
4070
|
-
// bazel-out/
|
|
4072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
4071
4073
|
import {
|
|
4072
4074
|
BinaryOperator,
|
|
4073
4075
|
ConditionalExpr,
|
|
@@ -4311,7 +4313,7 @@ function createRange(span) {
|
|
|
4311
4313
|
};
|
|
4312
4314
|
}
|
|
4313
4315
|
|
|
4314
|
-
// bazel-out/
|
|
4316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
4315
4317
|
import {
|
|
4316
4318
|
BuiltinTypeName
|
|
4317
4319
|
} from "@angular/compiler";
|
|
@@ -4490,7 +4492,7 @@ var TypeTranslatorVisitor = class {
|
|
|
4490
4492
|
}
|
|
4491
4493
|
};
|
|
4492
4494
|
|
|
4493
|
-
// bazel-out/
|
|
4495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
4494
4496
|
import ts29 from "typescript";
|
|
4495
4497
|
var PureAnnotation;
|
|
4496
4498
|
(function(PureAnnotation2) {
|
|
@@ -4662,15 +4664,15 @@ function attachComments(statement, leadingComments) {
|
|
|
4662
4664
|
}
|
|
4663
4665
|
}
|
|
4664
4666
|
|
|
4665
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
4666
4668
|
function translateStatement(statement, imports, options = {}) {
|
|
4667
4669
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
4668
4670
|
}
|
|
4669
4671
|
|
|
4670
|
-
// bazel-out/
|
|
4672
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
4671
4673
|
import ts30 from "typescript";
|
|
4672
4674
|
|
|
4673
|
-
// bazel-out/
|
|
4675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4674
4676
|
var DtsTransformRegistry = class {
|
|
4675
4677
|
constructor() {
|
|
4676
4678
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -4721,20 +4723,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
4721
4723
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
4722
4724
|
}
|
|
4723
4725
|
|
|
4724
|
-
// bazel-out/
|
|
4726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4725
4727
|
import { ConstantPool } from "@angular/compiler";
|
|
4726
4728
|
import ts33 from "typescript";
|
|
4727
4729
|
|
|
4728
|
-
// bazel-out/
|
|
4730
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
4729
4731
|
import ts32 from "typescript";
|
|
4730
4732
|
|
|
4731
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4732
4734
|
var NO_DECORATORS = new Set();
|
|
4733
4735
|
|
|
4734
|
-
// bazel-out/
|
|
4736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
4735
4737
|
import ts35 from "typescript";
|
|
4736
4738
|
|
|
4737
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
4738
4740
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
4739
4741
|
import ts34 from "typescript";
|
|
4740
4742
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -5094,7 +5096,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
5094
5096
|
};
|
|
5095
5097
|
}
|
|
5096
5098
|
|
|
5097
|
-
// bazel-out/
|
|
5099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
5098
5100
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
5099
5101
|
var _a;
|
|
5100
5102
|
let chainedMessage;
|
|
@@ -5190,11 +5192,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
5190
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}.`);
|
|
5191
5193
|
}
|
|
5192
5194
|
|
|
5193
|
-
// bazel-out/
|
|
5195
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5194
5196
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
5195
5197
|
import ts37 from "typescript";
|
|
5196
5198
|
|
|
5197
|
-
// bazel-out/
|
|
5199
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
5198
5200
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
5199
5201
|
function compileNgFactoryDefField(metadata) {
|
|
5200
5202
|
const res = compileFactoryFunction(metadata);
|
|
@@ -5205,7 +5207,7 @@ function compileDeclareFactory(metadata) {
|
|
|
5205
5207
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
5206
5208
|
}
|
|
5207
5209
|
|
|
5208
|
-
// bazel-out/
|
|
5210
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
5209
5211
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
5210
5212
|
import ts36 from "typescript";
|
|
5211
5213
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -5293,7 +5295,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
5293
5295
|
return result.transformed[0];
|
|
5294
5296
|
}
|
|
5295
5297
|
|
|
5296
|
-
// bazel-out/
|
|
5298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5297
5299
|
var EMPTY_OBJECT = {};
|
|
5298
5300
|
var FIELD_DECORATORS = [
|
|
5299
5301
|
"Input",
|
|
@@ -5855,8 +5857,8 @@ var QUERY_TYPES = new Set([
|
|
|
5855
5857
|
"ViewChildren"
|
|
5856
5858
|
]);
|
|
5857
5859
|
|
|
5858
|
-
// bazel-out/
|
|
5859
|
-
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";
|
|
5860
5862
|
import ts38 from "typescript";
|
|
5861
5863
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5862
5864
|
constructor() {
|
|
@@ -5903,7 +5905,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
5903
5905
|
}
|
|
5904
5906
|
};
|
|
5905
5907
|
var NgModuleDecoratorHandler = class {
|
|
5906
|
-
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) {
|
|
5907
5909
|
this.reflector = reflector;
|
|
5908
5910
|
this.evaluator = evaluator;
|
|
5909
5911
|
this.metaReader = metaReader;
|
|
@@ -5916,7 +5918,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
5916
5918
|
this.annotateForClosureCompiler = annotateForClosureCompiler;
|
|
5917
5919
|
this.injectableRegistry = injectableRegistry;
|
|
5918
5920
|
this.perf = perf;
|
|
5919
|
-
this.localeId = localeId;
|
|
5920
5921
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
5921
5922
|
this.name = NgModuleDecoratorHandler.name;
|
|
5922
5923
|
}
|
|
@@ -6202,14 +6203,6 @@ var NgModuleDecoratorHandler = class {
|
|
|
6202
6203
|
type: injectorDef.type
|
|
6203
6204
|
}
|
|
6204
6205
|
];
|
|
6205
|
-
if (this.localeId) {
|
|
6206
|
-
res.push({
|
|
6207
|
-
name: "\u0275loc",
|
|
6208
|
-
initializer: new LiteralExpr3(this.localeId),
|
|
6209
|
-
statements: [],
|
|
6210
|
-
type: STRING_TYPE
|
|
6211
|
-
});
|
|
6212
|
-
}
|
|
6213
6206
|
return res;
|
|
6214
6207
|
}
|
|
6215
6208
|
_toR3Reference(valueRef, valueContext, typeContext) {
|
|
@@ -6298,7 +6291,7 @@ function isNgModule(node, compilation) {
|
|
|
6298
6291
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
6299
6292
|
}
|
|
6300
6293
|
|
|
6301
|
-
// bazel-out/
|
|
6294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
6302
6295
|
var EMPTY_MAP = new Map();
|
|
6303
6296
|
var EMPTY_ARRAY = [];
|
|
6304
6297
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -7182,8 +7175,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
7182
7175
|
return null;
|
|
7183
7176
|
}
|
|
7184
7177
|
|
|
7185
|
-
// bazel-out/
|
|
7186
|
-
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";
|
|
7187
7180
|
import ts40 from "typescript";
|
|
7188
7181
|
var InjectableDecoratorHandler = class {
|
|
7189
7182
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -7271,7 +7264,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7271
7264
|
type,
|
|
7272
7265
|
typeArgumentCount,
|
|
7273
7266
|
internalType,
|
|
7274
|
-
providedIn: createR3ProviderExpression(new
|
|
7267
|
+
providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
|
|
7275
7268
|
};
|
|
7276
7269
|
} else if (decorator.args.length === 1) {
|
|
7277
7270
|
const metaNode = decorator.args[0];
|
|
@@ -7279,7 +7272,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7279
7272
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
7280
7273
|
}
|
|
7281
7274
|
const meta = reflectObjectLiteral(metaNode);
|
|
7282
|
-
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);
|
|
7283
7276
|
let deps = void 0;
|
|
7284
7277
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
7285
7278
|
const depsExpr = meta.get("deps");
|
|
@@ -7382,7 +7375,7 @@ function getDep(dep, reflector) {
|
|
|
7382
7375
|
return meta;
|
|
7383
7376
|
}
|
|
7384
7377
|
|
|
7385
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7386
7379
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
7387
7380
|
import ts41 from "typescript";
|
|
7388
7381
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7507,7 +7500,7 @@ var PipeDecoratorHandler = class {
|
|
|
7507
7500
|
}
|
|
7508
7501
|
};
|
|
7509
7502
|
|
|
7510
|
-
// bazel-out/
|
|
7503
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
7511
7504
|
var CycleAnalyzer = class {
|
|
7512
7505
|
constructor(importGraph) {
|
|
7513
7506
|
this.importGraph = importGraph;
|
|
@@ -7578,7 +7571,7 @@ var Cycle = class {
|
|
|
7578
7571
|
}
|
|
7579
7572
|
};
|
|
7580
7573
|
|
|
7581
|
-
// bazel-out/
|
|
7574
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
7582
7575
|
import ts42 from "typescript";
|
|
7583
7576
|
var ImportGraph = class {
|
|
7584
7577
|
constructor(checker, perf) {
|
|
@@ -7661,13 +7654,13 @@ var Found = class {
|
|
|
7661
7654
|
}
|
|
7662
7655
|
};
|
|
7663
7656
|
|
|
7664
|
-
// bazel-out/
|
|
7657
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
7665
7658
|
import ts43 from "typescript";
|
|
7666
7659
|
|
|
7667
|
-
// bazel-out/
|
|
7660
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
7668
7661
|
import ts44 from "typescript";
|
|
7669
7662
|
|
|
7670
|
-
// bazel-out/
|
|
7663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7671
7664
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7672
7665
|
var UpdateMode;
|
|
7673
7666
|
(function(UpdateMode2) {
|
|
@@ -7675,22 +7668,22 @@ var UpdateMode;
|
|
|
7675
7668
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7676
7669
|
})(UpdateMode || (UpdateMode = {}));
|
|
7677
7670
|
|
|
7678
|
-
// bazel-out/
|
|
7671
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7679
7672
|
import ts48 from "typescript";
|
|
7680
7673
|
|
|
7681
|
-
// bazel-out/
|
|
7674
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7682
7675
|
import ts45 from "typescript";
|
|
7683
7676
|
|
|
7684
|
-
// bazel-out/
|
|
7677
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7685
7678
|
var NgExtension = Symbol("NgExtension");
|
|
7686
7679
|
|
|
7687
|
-
// bazel-out/
|
|
7680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
7688
7681
|
import ts46 from "typescript";
|
|
7689
7682
|
|
|
7690
|
-
// bazel-out/
|
|
7683
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
7691
7684
|
import ts47 from "typescript";
|
|
7692
7685
|
|
|
7693
|
-
// bazel-out/
|
|
7686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
7694
7687
|
var IncrementalStateKind;
|
|
7695
7688
|
(function(IncrementalStateKind2) {
|
|
7696
7689
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7698,17 +7691,17 @@ var IncrementalStateKind;
|
|
|
7698
7691
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
7699
7692
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
7700
7693
|
|
|
7701
|
-
// bazel-out/
|
|
7694
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
7702
7695
|
var PhaseKind;
|
|
7703
7696
|
(function(PhaseKind2) {
|
|
7704
7697
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
7705
7698
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
7706
7699
|
})(PhaseKind || (PhaseKind = {}));
|
|
7707
7700
|
|
|
7708
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
7709
7702
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
7710
7703
|
|
|
7711
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
7712
7705
|
var IdentifierKind;
|
|
7713
7706
|
(function(IdentifierKind2) {
|
|
7714
7707
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -7720,18 +7713,18 @@ var IdentifierKind;
|
|
|
7720
7713
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
7721
7714
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
7722
7715
|
|
|
7723
|
-
// bazel-out/
|
|
7716
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
7724
7717
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
7725
7718
|
|
|
7726
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
7727
7720
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
7728
7721
|
|
|
7729
|
-
// bazel-out/
|
|
7722
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
7730
7723
|
import ts49 from "typescript";
|
|
7731
7724
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
7732
7725
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
7733
7726
|
|
|
7734
|
-
// bazel-out/
|
|
7727
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
7735
7728
|
var MetadataDtsModuleScopeResolver = class {
|
|
7736
7729
|
constructor(dtsMetaReader, aliasingHost) {
|
|
7737
7730
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -7817,7 +7810,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
7817
7810
|
}
|
|
7818
7811
|
};
|
|
7819
7812
|
|
|
7820
|
-
// bazel-out/
|
|
7813
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
7821
7814
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
7822
7815
|
import ts50 from "typescript";
|
|
7823
7816
|
var LocalModuleScopeRegistry = class {
|
|
@@ -8125,7 +8118,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
8125
8118
|
]);
|
|
8126
8119
|
}
|
|
8127
8120
|
|
|
8128
|
-
// bazel-out/
|
|
8121
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
8129
8122
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
8130
8123
|
import ts51 from "typescript";
|
|
8131
8124
|
var TypeCheckScopeRegistry = class {
|
|
@@ -8186,27 +8179,27 @@ var TypeCheckScopeRegistry = class {
|
|
|
8186
8179
|
}
|
|
8187
8180
|
};
|
|
8188
8181
|
|
|
8189
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
8190
8183
|
import ts52 from "typescript";
|
|
8191
8184
|
|
|
8192
|
-
// bazel-out/
|
|
8185
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8193
8186
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
8194
8187
|
|
|
8195
|
-
// bazel-out/
|
|
8188
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
8196
8189
|
var OptimizeFor;
|
|
8197
8190
|
(function(OptimizeFor2) {
|
|
8198
8191
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
8199
8192
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
8200
8193
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
8201
8194
|
|
|
8202
|
-
// bazel-out/
|
|
8195
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
8203
8196
|
var CompletionKind;
|
|
8204
8197
|
(function(CompletionKind2) {
|
|
8205
8198
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
8206
8199
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
8207
8200
|
})(CompletionKind || (CompletionKind = {}));
|
|
8208
8201
|
|
|
8209
|
-
// bazel-out/
|
|
8202
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
8210
8203
|
var SymbolKind;
|
|
8211
8204
|
(function(SymbolKind2) {
|
|
8212
8205
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -8222,18 +8215,18 @@ var SymbolKind;
|
|
|
8222
8215
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
8223
8216
|
})(SymbolKind || (SymbolKind = {}));
|
|
8224
8217
|
|
|
8225
|
-
// bazel-out/
|
|
8218
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
8226
8219
|
import ts53 from "typescript";
|
|
8227
8220
|
|
|
8228
|
-
// bazel-out/
|
|
8221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
8229
8222
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
8230
8223
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
8231
8224
|
|
|
8232
|
-
// bazel-out/
|
|
8225
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
8233
8226
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
8234
8227
|
import ts55 from "typescript";
|
|
8235
8228
|
|
|
8236
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
8237
8230
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
8238
8231
|
import ts54 from "typescript";
|
|
8239
8232
|
var CommentTriviaType;
|
|
@@ -8249,19 +8242,19 @@ var ExpressionIdentifier;
|
|
|
8249
8242
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
8250
8243
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
8251
8244
|
|
|
8252
|
-
// bazel-out/
|
|
8245
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8253
8246
|
import ts69 from "typescript";
|
|
8254
8247
|
|
|
8255
|
-
// bazel-out/
|
|
8248
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8256
8249
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
8257
8250
|
import ts56 from "typescript";
|
|
8258
8251
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
8259
8252
|
|
|
8260
|
-
// bazel-out/
|
|
8253
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8261
8254
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
8262
8255
|
import ts62 from "typescript";
|
|
8263
8256
|
|
|
8264
|
-
// bazel-out/
|
|
8257
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8265
8258
|
import ts57 from "typescript";
|
|
8266
8259
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
8267
8260
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -8280,19 +8273,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
8280
8273
|
ts57.SyntaxKind.UndefinedKeyword
|
|
8281
8274
|
]);
|
|
8282
8275
|
|
|
8283
|
-
// bazel-out/
|
|
8276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
8284
8277
|
import ts61 from "typescript";
|
|
8285
8278
|
|
|
8286
|
-
// bazel-out/
|
|
8279
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8287
8280
|
import ts60 from "typescript";
|
|
8288
8281
|
|
|
8289
|
-
// bazel-out/
|
|
8282
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
8290
8283
|
import ts59 from "typescript";
|
|
8291
8284
|
|
|
8292
|
-
// bazel-out/
|
|
8285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
8293
8286
|
import ts58 from "typescript";
|
|
8294
8287
|
|
|
8295
|
-
// bazel-out/
|
|
8288
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8296
8289
|
var TcbInliningRequirement;
|
|
8297
8290
|
(function(TcbInliningRequirement2) {
|
|
8298
8291
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -8300,22 +8293,22 @@ var TcbInliningRequirement;
|
|
|
8300
8293
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
8301
8294
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
8302
8295
|
|
|
8303
|
-
// bazel-out/
|
|
8296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
8304
8297
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
8305
8298
|
import ts63 from "typescript";
|
|
8306
8299
|
|
|
8307
|
-
// bazel-out/
|
|
8300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
8308
8301
|
import ts64 from "typescript";
|
|
8309
8302
|
|
|
8310
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8311
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";
|
|
8312
8305
|
import ts67 from "typescript";
|
|
8313
8306
|
|
|
8314
|
-
// bazel-out/
|
|
8307
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
8315
8308
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
8316
8309
|
import ts65 from "typescript";
|
|
8317
8310
|
|
|
8318
|
-
// bazel-out/
|
|
8311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
8319
8312
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
8320
8313
|
import ts66 from "typescript";
|
|
8321
8314
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -8415,10 +8408,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
8415
8408
|
};
|
|
8416
8409
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
8417
8410
|
|
|
8418
|
-
// bazel-out/
|
|
8411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
8419
8412
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
8420
8413
|
|
|
8421
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8422
8415
|
var TcbGenericContextBehavior;
|
|
8423
8416
|
(function(TcbGenericContextBehavior2) {
|
|
8424
8417
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -8427,38 +8420,38 @@ var TcbGenericContextBehavior;
|
|
|
8427
8420
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
8428
8421
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts67.createNonNullExpression(ts67.createNull());
|
|
8429
8422
|
|
|
8430
|
-
// bazel-out/
|
|
8423
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
8431
8424
|
import ts68 from "typescript";
|
|
8432
8425
|
|
|
8433
|
-
// bazel-out/
|
|
8426
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8434
8427
|
var InliningMode;
|
|
8435
8428
|
(function(InliningMode2) {
|
|
8436
8429
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
8437
8430
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
8438
8431
|
})(InliningMode || (InliningMode = {}));
|
|
8439
8432
|
|
|
8440
|
-
// bazel-out/
|
|
8433
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
8441
8434
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
8442
8435
|
|
|
8443
|
-
// bazel-out/
|
|
8436
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
8444
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";
|
|
8445
8438
|
import ts70 from "typescript";
|
|
8446
8439
|
|
|
8447
|
-
// bazel-out/
|
|
8440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8448
8441
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
8449
8442
|
|
|
8450
|
-
// bazel-out/
|
|
8443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8451
8444
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8452
8445
|
import ts71 from "typescript";
|
|
8453
8446
|
|
|
8454
|
-
// bazel-out/
|
|
8447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8455
8448
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
8456
8449
|
|
|
8457
|
-
// bazel-out/
|
|
8450
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8458
8451
|
import { Binary } from "@angular/compiler";
|
|
8459
8452
|
import ts72 from "typescript";
|
|
8460
8453
|
|
|
8461
|
-
// bazel-out/
|
|
8454
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
8462
8455
|
var CompilationTicketKind;
|
|
8463
8456
|
(function(CompilationTicketKind2) {
|
|
8464
8457
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8466,11 +8459,11 @@ var CompilationTicketKind;
|
|
|
8466
8459
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
8467
8460
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
8468
8461
|
|
|
8469
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8470
8463
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
8471
8464
|
import ts76 from "typescript";
|
|
8472
8465
|
|
|
8473
|
-
// bazel-out/
|
|
8466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
8474
8467
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
8475
8468
|
import {
|
|
8476
8469
|
relative as relative5,
|
|
@@ -8478,42 +8471,47 @@ import {
|
|
|
8478
8471
|
sep as sep2
|
|
8479
8472
|
} from "path";
|
|
8480
8473
|
|
|
8481
|
-
// bazel-out/
|
|
8474
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
8482
8475
|
import ts74 from "typescript";
|
|
8483
8476
|
var tsVersion = ts74.version;
|
|
8484
8477
|
|
|
8485
|
-
// bazel-out/
|
|
8478
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8486
8479
|
import ts75 from "typescript";
|
|
8487
8480
|
|
|
8488
|
-
// bazel-out/
|
|
8481
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
8489
8482
|
import ts78 from "typescript";
|
|
8490
8483
|
|
|
8491
|
-
// bazel-out/
|
|
8484
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
8492
8485
|
import ts77 from "typescript";
|
|
8493
8486
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
8494
8487
|
|
|
8495
|
-
// bazel-out/
|
|
8488
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
8496
8489
|
import ts79 from "typescript";
|
|
8497
8490
|
|
|
8498
|
-
// bazel-out/
|
|
8491
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
8499
8492
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
8500
8493
|
import ts80 from "typescript";
|
|
8501
8494
|
|
|
8502
|
-
// bazel-out/
|
|
8495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
8503
8496
|
import ts81 from "typescript";
|
|
8504
8497
|
|
|
8505
|
-
// bazel-out/
|
|
8498
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
8506
8499
|
import ts83 from "typescript";
|
|
8507
8500
|
|
|
8508
|
-
// bazel-out/
|
|
8501
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
8509
8502
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
8510
8503
|
import ts82 from "typescript";
|
|
8511
8504
|
|
|
8512
|
-
// bazel-out/
|
|
8505
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
8513
8506
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
8514
8507
|
import ts84 from "typescript";
|
|
8515
8508
|
|
|
8516
|
-
// bazel-out/
|
|
8509
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8510
|
+
var VE_DISABLED_MESSAGE = `
|
|
8511
|
+
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
8512
|
+
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
8513
|
+
https://angular.io/guide/ivy for more information.
|
|
8514
|
+
`.trim().split("\n").join(" ");
|
|
8517
8515
|
var LOWER_FIELDS = ["useValue", "useFactory", "data", "id", "loadChildren"];
|
|
8518
8516
|
var R3_LOWER_FIELDS = [...LOWER_FIELDS, "providers", "imports", "exports"];
|
|
8519
8517
|
var emptyModules = {
|
|
@@ -8522,7 +8520,7 @@ var emptyModules = {
|
|
|
8522
8520
|
files: []
|
|
8523
8521
|
};
|
|
8524
8522
|
|
|
8525
|
-
// bazel-out/
|
|
8523
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8526
8524
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
8527
8525
|
const absProject = host.resolve(project);
|
|
8528
8526
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -8621,13 +8619,13 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
8621
8619
|
return null;
|
|
8622
8620
|
}
|
|
8623
8621
|
|
|
8624
|
-
// bazel-out/
|
|
8622
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
8625
8623
|
import ts94 from "typescript";
|
|
8626
8624
|
|
|
8627
|
-
// bazel-out/
|
|
8625
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
8628
8626
|
import ts93 from "typescript";
|
|
8629
8627
|
|
|
8630
|
-
// bazel-out/
|
|
8628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
8631
8629
|
import ts87 from "typescript";
|
|
8632
8630
|
function isDefined(value) {
|
|
8633
8631
|
return value !== void 0 && value !== null;
|
|
@@ -8710,7 +8708,7 @@ function stripExtension2(fileName) {
|
|
|
8710
8708
|
return fileName.replace(/\..+$/, "");
|
|
8711
8709
|
}
|
|
8712
8710
|
|
|
8713
|
-
// bazel-out/
|
|
8711
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
8714
8712
|
import ts88 from "typescript";
|
|
8715
8713
|
function findNamespaceOfIdentifier(id) {
|
|
8716
8714
|
return id.parent && ts88.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts88.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -8796,10 +8794,10 @@ function skipAliases(node) {
|
|
|
8796
8794
|
return node;
|
|
8797
8795
|
}
|
|
8798
8796
|
|
|
8799
|
-
// bazel-out/
|
|
8797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8800
8798
|
import ts91 from "typescript";
|
|
8801
8799
|
|
|
8802
|
-
// bazel-out/
|
|
8800
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
8803
8801
|
function isWithinPackage(packagePath, filePath) {
|
|
8804
8802
|
const relativePath = relative(packagePath, filePath);
|
|
8805
8803
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -8814,7 +8812,7 @@ var NoopDependencyTracker = class {
|
|
|
8814
8812
|
};
|
|
8815
8813
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
8816
8814
|
|
|
8817
|
-
// bazel-out/
|
|
8815
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
8818
8816
|
import ts89 from "typescript";
|
|
8819
8817
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
8820
8818
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -8822,13 +8820,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
8822
8820
|
return ts89.isVariableDeclaration(node) && !!node.initializer && ts89.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
8823
8821
|
}
|
|
8824
8822
|
|
|
8825
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
8826
8824
|
import ts90 from "typescript";
|
|
8827
8825
|
function stripParentheses(node) {
|
|
8828
8826
|
return ts90.isParenthesizedExpression(node) ? node.expression : node;
|
|
8829
8827
|
}
|
|
8830
8828
|
|
|
8831
|
-
// bazel-out/
|
|
8829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8832
8830
|
var DECORATORS = "decorators";
|
|
8833
8831
|
var PROP_DECORATORS = "propDecorators";
|
|
8834
8832
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -10059,7 +10057,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
10059
10057
|
return outerNode;
|
|
10060
10058
|
}
|
|
10061
10059
|
|
|
10062
|
-
// bazel-out/
|
|
10060
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
10063
10061
|
import ts92 from "typescript";
|
|
10064
10062
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
10065
10063
|
getBaseClassExpression(clazz) {
|
|
@@ -10393,7 +10391,7 @@ function getIifeFn(classSymbol) {
|
|
|
10393
10391
|
return iifeWrapper && ts92.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
10394
10392
|
}
|
|
10395
10393
|
|
|
10396
|
-
// bazel-out/
|
|
10394
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
10397
10395
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
10398
10396
|
constructor(logger, isCore, src, dts = null) {
|
|
10399
10397
|
super(logger, isCore, src, dts);
|
|
@@ -10725,25 +10723,31 @@ var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
|
10725
10723
|
}
|
|
10726
10724
|
};
|
|
10727
10725
|
function parseStatementForUmdModule(statement) {
|
|
10728
|
-
const
|
|
10729
|
-
if (
|
|
10730
|
-
return null;
|
|
10731
|
-
const wrapperFn = wrapperCall.expression;
|
|
10732
|
-
if (!ts93.isFunctionExpression(wrapperFn))
|
|
10726
|
+
const wrapper = getUmdWrapper(statement);
|
|
10727
|
+
if (wrapper === null)
|
|
10733
10728
|
return null;
|
|
10734
|
-
const factoryFnParamIndex =
|
|
10729
|
+
const factoryFnParamIndex = wrapper.fn.parameters.findIndex((parameter) => ts93.isIdentifier(parameter.name) && parameter.name.text === "factory");
|
|
10735
10730
|
if (factoryFnParamIndex === -1)
|
|
10736
10731
|
return null;
|
|
10737
|
-
const factoryFn = stripParentheses(
|
|
10732
|
+
const factoryFn = stripParentheses(wrapper.call.arguments[factoryFnParamIndex]);
|
|
10738
10733
|
if (!factoryFn || !ts93.isFunctionExpression(factoryFn))
|
|
10739
10734
|
return null;
|
|
10740
|
-
return { wrapperFn, factoryFn };
|
|
10735
|
+
return { wrapperFn: wrapper.fn, factoryFn };
|
|
10741
10736
|
}
|
|
10742
|
-
function
|
|
10743
|
-
if (!ts93.isExpressionStatement(statement)
|
|
10737
|
+
function getUmdWrapper(statement) {
|
|
10738
|
+
if (!ts93.isExpressionStatement(statement))
|
|
10744
10739
|
return null;
|
|
10740
|
+
if (ts93.isParenthesizedExpression(statement.expression) && ts93.isCallExpression(statement.expression.expression) && ts93.isFunctionExpression(statement.expression.expression.expression)) {
|
|
10741
|
+
const call = statement.expression.expression;
|
|
10742
|
+
const fn = statement.expression.expression.expression;
|
|
10743
|
+
return { call, fn };
|
|
10745
10744
|
}
|
|
10746
|
-
|
|
10745
|
+
if (ts93.isCallExpression(statement.expression) && ts93.isParenthesizedExpression(statement.expression.expression) && ts93.isFunctionExpression(statement.expression.expression.expression)) {
|
|
10746
|
+
const call = statement.expression;
|
|
10747
|
+
const fn = statement.expression.expression.expression;
|
|
10748
|
+
return { call, fn };
|
|
10749
|
+
}
|
|
10750
|
+
return null;
|
|
10747
10751
|
}
|
|
10748
10752
|
function getImportsOfUmdModule(umdModule) {
|
|
10749
10753
|
const imports = [];
|
|
@@ -10778,7 +10782,7 @@ function isExportsIdentifier(node) {
|
|
|
10778
10782
|
return ts93.isIdentifier(node) && node.text === "exports";
|
|
10779
10783
|
}
|
|
10780
10784
|
|
|
10781
|
-
// bazel-out/
|
|
10785
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
10782
10786
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
10783
10787
|
function getEntryPointFormat(fs5, entryPoint, property2) {
|
|
10784
10788
|
switch (property2) {
|
|
@@ -10832,7 +10836,7 @@ function sniffModuleFormat(fs5, sourceFilePath) {
|
|
|
10832
10836
|
}
|
|
10833
10837
|
}
|
|
10834
10838
|
|
|
10835
|
-
// bazel-out/
|
|
10839
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
10836
10840
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
10837
10841
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
10838
10842
|
return {
|
|
@@ -10842,7 +10846,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
10842
10846
|
}
|
|
10843
10847
|
}
|
|
10844
10848
|
|
|
10845
|
-
// bazel-out/
|
|
10849
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
10846
10850
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
10847
10851
|
var InPlaceFileWriter = class {
|
|
10848
10852
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -10891,7 +10895,7 @@ This error may be caused by one of the following:
|
|
|
10891
10895
|
}
|
|
10892
10896
|
};
|
|
10893
10897
|
|
|
10894
|
-
// bazel-out/
|
|
10898
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
10895
10899
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
10896
10900
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
10897
10901
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -10999,7 +11003,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
10999
11003
|
}
|
|
11000
11004
|
};
|
|
11001
11005
|
|
|
11002
|
-
// bazel-out/
|
|
11006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
11003
11007
|
function getSharedSetup(options) {
|
|
11004
11008
|
const fileSystem = getFileSystem();
|
|
11005
11009
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -11058,10 +11062,10 @@ If you did intend to use this file, then you can hide this warning by providing
|
|
|
11058
11062
|
}
|
|
11059
11063
|
}
|
|
11060
11064
|
|
|
11061
|
-
// bazel-out/
|
|
11065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
11062
11066
|
import ts109 from "typescript";
|
|
11063
11067
|
|
|
11064
|
-
// bazel-out/
|
|
11068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
11065
11069
|
var DtsProcessing;
|
|
11066
11070
|
(function(DtsProcessing2) {
|
|
11067
11071
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -11069,10 +11073,10 @@ var DtsProcessing;
|
|
|
11069
11073
|
DtsProcessing2[DtsProcessing2["Only"] = 2] = "Only";
|
|
11070
11074
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
11071
11075
|
|
|
11072
|
-
// bazel-out/
|
|
11076
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11073
11077
|
import ts96 from "typescript";
|
|
11074
11078
|
|
|
11075
|
-
// bazel-out/
|
|
11079
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
11076
11080
|
import ts95 from "typescript";
|
|
11077
11081
|
function patchTsGetExpandoInitializer() {
|
|
11078
11082
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -11177,7 +11181,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
11177
11181
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
11178
11182
|
}
|
|
11179
11183
|
|
|
11180
|
-
// bazel-out/
|
|
11184
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11181
11185
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options, host, additionalFiles = []) {
|
|
11182
11186
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
11183
11187
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -11207,7 +11211,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
11207
11211
|
return null;
|
|
11208
11212
|
}
|
|
11209
11213
|
|
|
11210
|
-
// bazel-out/
|
|
11214
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
11211
11215
|
import ts97 from "typescript";
|
|
11212
11216
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
11213
11217
|
constructor(fs5, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -11252,7 +11256,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
11252
11256
|
}
|
|
11253
11257
|
};
|
|
11254
11258
|
|
|
11255
|
-
// bazel-out/
|
|
11259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
11256
11260
|
import ts98 from "typescript";
|
|
11257
11261
|
var SharedFileCache = class {
|
|
11258
11262
|
constructor(fs5) {
|
|
@@ -11353,7 +11357,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
11353
11357
|
});
|
|
11354
11358
|
}
|
|
11355
11359
|
|
|
11356
|
-
// bazel-out/
|
|
11360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
11357
11361
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
11358
11362
|
const rootDir = entryPoint.packagePath;
|
|
11359
11363
|
const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -11394,13 +11398,13 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
11394
11398
|
return additionalFiles;
|
|
11395
11399
|
}
|
|
11396
11400
|
|
|
11397
|
-
// bazel-out/
|
|
11401
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
11398
11402
|
import ts108 from "typescript";
|
|
11399
11403
|
|
|
11400
|
-
// bazel-out/
|
|
11404
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11401
11405
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
11402
11406
|
|
|
11403
|
-
// bazel-out/
|
|
11407
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
11404
11408
|
import ts99 from "typescript";
|
|
11405
11409
|
function isClassDeclaration(clazz) {
|
|
11406
11410
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -11483,7 +11487,7 @@ function reifySourceFile(expr) {
|
|
|
11483
11487
|
return stmt.declarationList.declarations[0].initializer;
|
|
11484
11488
|
}
|
|
11485
11489
|
|
|
11486
|
-
// bazel-out/
|
|
11490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
11487
11491
|
var MissingInjectableMigration = class {
|
|
11488
11492
|
apply(clazz, host) {
|
|
11489
11493
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -11588,7 +11592,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
11588
11592
|
return decorator.import.name;
|
|
11589
11593
|
}
|
|
11590
11594
|
|
|
11591
|
-
// bazel-out/
|
|
11595
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
11592
11596
|
var UndecoratedChildMigration = class {
|
|
11593
11597
|
apply(clazz, host) {
|
|
11594
11598
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -11623,7 +11627,7 @@ var UndecoratedChildMigration = class {
|
|
|
11623
11627
|
}
|
|
11624
11628
|
};
|
|
11625
11629
|
|
|
11626
|
-
// bazel-out/
|
|
11630
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
11627
11631
|
var UndecoratedParentMigration = class {
|
|
11628
11632
|
apply(clazz, host) {
|
|
11629
11633
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -11656,7 +11660,7 @@ function determineBaseClass(clazz, host) {
|
|
|
11656
11660
|
return baseClass;
|
|
11657
11661
|
}
|
|
11658
11662
|
|
|
11659
|
-
// bazel-out/
|
|
11663
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
11660
11664
|
import ts100 from "typescript";
|
|
11661
11665
|
var DefaultMigrationHost = class {
|
|
11662
11666
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -11716,7 +11720,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
11716
11720
|
return clone;
|
|
11717
11721
|
}
|
|
11718
11722
|
|
|
11719
|
-
// bazel-out/
|
|
11723
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
11720
11724
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
11721
11725
|
constructor(handlers, ngccReflector) {
|
|
11722
11726
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -11761,10 +11765,10 @@ var NoIncrementalBuild = class {
|
|
|
11761
11765
|
}
|
|
11762
11766
|
};
|
|
11763
11767
|
|
|
11764
|
-
// bazel-out/
|
|
11768
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
11765
11769
|
var DecorationAnalyses = Map;
|
|
11766
11770
|
|
|
11767
|
-
// bazel-out/
|
|
11771
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11768
11772
|
var NgccResourceLoader = class {
|
|
11769
11773
|
constructor(fs5) {
|
|
11770
11774
|
this.fs = fs5;
|
|
@@ -11920,7 +11924,7 @@ var DecorationAnalyzer = class {
|
|
|
11920
11924
|
}
|
|
11921
11925
|
};
|
|
11922
11926
|
|
|
11923
|
-
// bazel-out/
|
|
11927
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
11924
11928
|
import ts101 from "typescript";
|
|
11925
11929
|
var ModuleWithProvidersAnalyses = Map;
|
|
11926
11930
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12059,7 +12063,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12059
12063
|
return typeParam.kind === ts101.SyntaxKind.AnyKeyword;
|
|
12060
12064
|
}
|
|
12061
12065
|
|
|
12062
|
-
// bazel-out/
|
|
12066
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12063
12067
|
var NgccReferencesRegistry = class {
|
|
12064
12068
|
constructor(host) {
|
|
12065
12069
|
this.host = host;
|
|
@@ -12080,7 +12084,7 @@ var NgccReferencesRegistry = class {
|
|
|
12080
12084
|
}
|
|
12081
12085
|
};
|
|
12082
12086
|
|
|
12083
|
-
// bazel-out/
|
|
12087
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
12084
12088
|
var PrivateDeclarationsAnalyzer = class {
|
|
12085
12089
|
constructor(host, referencesRegistry) {
|
|
12086
12090
|
this.host = host;
|
|
@@ -12121,7 +12125,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
12121
12125
|
}
|
|
12122
12126
|
};
|
|
12123
12127
|
|
|
12124
|
-
// bazel-out/
|
|
12128
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
12125
12129
|
var SwitchMarkerAnalyses = Map;
|
|
12126
12130
|
var SwitchMarkerAnalyzer = class {
|
|
12127
12131
|
constructor(host, packagePath) {
|
|
@@ -12140,7 +12144,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
12140
12144
|
}
|
|
12141
12145
|
};
|
|
12142
12146
|
|
|
12143
|
-
// bazel-out/
|
|
12147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
12144
12148
|
import ts102 from "typescript";
|
|
12145
12149
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
12146
12150
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -12304,7 +12308,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
12304
12308
|
}
|
|
12305
12309
|
};
|
|
12306
12310
|
|
|
12307
|
-
// bazel-out/
|
|
12311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
12308
12312
|
var DelegatingReflectionHost = class {
|
|
12309
12313
|
constructor(tsHost, ngccHost) {
|
|
12310
12314
|
this.tsHost = tsHost;
|
|
@@ -12428,16 +12432,16 @@ var DelegatingReflectionHost = class {
|
|
|
12428
12432
|
}
|
|
12429
12433
|
};
|
|
12430
12434
|
|
|
12431
|
-
// bazel-out/
|
|
12435
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12432
12436
|
import ts105 from "typescript";
|
|
12433
12437
|
|
|
12434
|
-
// bazel-out/
|
|
12438
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12435
12439
|
import ts104 from "typescript";
|
|
12436
12440
|
|
|
12437
|
-
// bazel-out/
|
|
12441
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12438
12442
|
import ts103 from "typescript";
|
|
12439
12443
|
|
|
12440
|
-
// bazel-out/
|
|
12444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
12441
12445
|
var NgccFlatImportRewriter = class {
|
|
12442
12446
|
shouldImportSymbol(symbol, specifier) {
|
|
12443
12447
|
if (specifier === "@angular/core") {
|
|
@@ -12458,7 +12462,7 @@ var NgccFlatImportRewriter = class {
|
|
|
12458
12462
|
}
|
|
12459
12463
|
};
|
|
12460
12464
|
|
|
12461
|
-
// bazel-out/
|
|
12465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
12462
12466
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
12463
12467
|
if (isCore && isFlat) {
|
|
12464
12468
|
return new NgccFlatImportRewriter();
|
|
@@ -12472,7 +12476,7 @@ function stripExtension3(filePath) {
|
|
|
12472
12476
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
12473
12477
|
}
|
|
12474
12478
|
|
|
12475
|
-
// bazel-out/
|
|
12479
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12476
12480
|
var EsmRenderingFormatter = class {
|
|
12477
12481
|
constructor(fs5, host, isCore) {
|
|
12478
12482
|
this.fs = fs5;
|
|
@@ -12640,7 +12644,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
12640
12644
|
return lastToken && lastToken.kind === ts103.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
12641
12645
|
}
|
|
12642
12646
|
|
|
12643
|
-
// bazel-out/
|
|
12647
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12644
12648
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
12645
12649
|
addDefinitions(output, compiledClass, definitions) {
|
|
12646
12650
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -12668,7 +12672,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
12668
12672
|
}
|
|
12669
12673
|
};
|
|
12670
12674
|
|
|
12671
|
-
// bazel-out/
|
|
12675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12672
12676
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
12673
12677
|
constructor(fs5, commonJsHost, isCore) {
|
|
12674
12678
|
super(fs5, commonJsHost, isCore);
|
|
@@ -12717,17 +12721,17 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
12717
12721
|
}
|
|
12718
12722
|
};
|
|
12719
12723
|
|
|
12720
|
-
// bazel-out/
|
|
12724
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
12721
12725
|
import MagicString from "magic-string";
|
|
12722
12726
|
import ts106 from "typescript";
|
|
12723
12727
|
|
|
12724
|
-
// bazel-out/
|
|
12728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
12725
12729
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
12726
12730
|
|
|
12727
|
-
// bazel-out/
|
|
12731
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
12728
12732
|
import mapHelpers3 from "convert-source-map";
|
|
12729
12733
|
|
|
12730
|
-
// bazel-out/
|
|
12734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
12731
12735
|
var ContentOrigin;
|
|
12732
12736
|
(function(ContentOrigin2) {
|
|
12733
12737
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -12735,11 +12739,11 @@ var ContentOrigin;
|
|
|
12735
12739
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
12736
12740
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
12737
12741
|
|
|
12738
|
-
// bazel-out/
|
|
12742
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12739
12743
|
import mapHelpers from "convert-source-map";
|
|
12740
12744
|
import { decode, encode } from "sourcemap-codec";
|
|
12741
12745
|
|
|
12742
|
-
// bazel-out/
|
|
12746
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
12743
12747
|
function compareSegments(a, b) {
|
|
12744
12748
|
return a.position - b.position;
|
|
12745
12749
|
}
|
|
@@ -12759,7 +12763,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
12759
12763
|
return { line, column, position, next: void 0 };
|
|
12760
12764
|
}
|
|
12761
12765
|
|
|
12762
|
-
// bazel-out/
|
|
12766
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12763
12767
|
function removeSourceMapComments(contents) {
|
|
12764
12768
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
12765
12769
|
}
|
|
@@ -13010,7 +13014,7 @@ var Cache = class {
|
|
|
13010
13014
|
}
|
|
13011
13015
|
};
|
|
13012
13016
|
|
|
13013
|
-
// bazel-out/
|
|
13017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13014
13018
|
import mapHelpers2 from "convert-source-map";
|
|
13015
13019
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13016
13020
|
var SourceFileLoader = class {
|
|
@@ -13127,7 +13131,7 @@ var SourceFileLoader = class {
|
|
|
13127
13131
|
}
|
|
13128
13132
|
};
|
|
13129
13133
|
|
|
13130
|
-
// bazel-out/
|
|
13134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13131
13135
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
13132
13136
|
var _a;
|
|
13133
13137
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -13161,7 +13165,7 @@ ${sourceMapComment}` },
|
|
|
13161
13165
|
}
|
|
13162
13166
|
}
|
|
13163
13167
|
|
|
13164
|
-
// bazel-out/
|
|
13168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13165
13169
|
var DtsRenderInfo = class {
|
|
13166
13170
|
constructor() {
|
|
13167
13171
|
this.classInfo = [];
|
|
@@ -13262,14 +13266,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
13262
13266
|
ts106.forEachChild(node, markForEmitAsSingleLine2);
|
|
13263
13267
|
}
|
|
13264
13268
|
|
|
13265
|
-
// bazel-out/
|
|
13269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13266
13270
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
13267
13271
|
import MagicString2 from "magic-string";
|
|
13268
13272
|
|
|
13269
|
-
// bazel-out/
|
|
13273
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
13270
13274
|
var RedundantDecoratorMap = Map;
|
|
13271
13275
|
|
|
13272
|
-
// bazel-out/
|
|
13276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13273
13277
|
var Renderer = class {
|
|
13274
13278
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
13275
13279
|
this.host = host;
|
|
@@ -13376,7 +13380,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
13376
13380
|
return statement;
|
|
13377
13381
|
}
|
|
13378
13382
|
|
|
13379
|
-
// bazel-out/
|
|
13383
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
13380
13384
|
import ts107 from "typescript";
|
|
13381
13385
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13382
13386
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -13391,11 +13395,11 @@ var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
|
13391
13395
|
if (!umdModule) {
|
|
13392
13396
|
return;
|
|
13393
13397
|
}
|
|
13394
|
-
const
|
|
13395
|
-
renderCommonJsDependencies(output,
|
|
13396
|
-
renderAmdDependencies(output,
|
|
13397
|
-
renderGlobalDependencies(output,
|
|
13398
|
-
renderFactoryParameters(output,
|
|
13398
|
+
const { wrapperFn, factoryFn } = umdModule;
|
|
13399
|
+
renderCommonJsDependencies(output, wrapperFn, imports);
|
|
13400
|
+
renderAmdDependencies(output, wrapperFn, imports);
|
|
13401
|
+
renderGlobalDependencies(output, wrapperFn, imports);
|
|
13402
|
+
renderFactoryParameters(output, factoryFn, imports);
|
|
13399
13403
|
}
|
|
13400
13404
|
addExports(output, entryPointBasePath, exports, importManager, file) {
|
|
13401
13405
|
const umdModule = this.umdHost.getUmdModule(file);
|
|
@@ -13481,16 +13485,7 @@ function renderGlobalDependencies(output, wrapperFunction, imports) {
|
|
|
13481
13485
|
const importString = imports.map((i) => `global.${getGlobalIdentifier(i)}`).join(",");
|
|
13482
13486
|
output.appendLeft(injectionPoint, importString + (globalFactoryCall.arguments.length > 0 ? "," : ""));
|
|
13483
13487
|
}
|
|
13484
|
-
function renderFactoryParameters(output,
|
|
13485
|
-
const wrapperCall = wrapperFunction.parent;
|
|
13486
|
-
const secondArgument = wrapperCall.arguments[1];
|
|
13487
|
-
if (!secondArgument) {
|
|
13488
|
-
return;
|
|
13489
|
-
}
|
|
13490
|
-
const factoryFunction = ts107.isParenthesizedExpression(secondArgument) ? secondArgument.expression : secondArgument;
|
|
13491
|
-
if (!ts107.isFunctionExpression(factoryFunction)) {
|
|
13492
|
-
return;
|
|
13493
|
-
}
|
|
13488
|
+
function renderFactoryParameters(output, factoryFunction, imports) {
|
|
13494
13489
|
const parameters = factoryFunction.parameters;
|
|
13495
13490
|
const parameterString = imports.map((i) => i.qualifier.text).join(",");
|
|
13496
13491
|
if (parameters.length > 0) {
|
|
@@ -13556,7 +13551,7 @@ function isTypeOf(node, ...types) {
|
|
|
13556
13551
|
return ts107.isBinaryExpression(node) && ts107.isTypeOfExpression(node.left) && ts107.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
13557
13552
|
}
|
|
13558
13553
|
|
|
13559
|
-
// bazel-out/
|
|
13554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
13560
13555
|
var Transformer = class {
|
|
13561
13556
|
constructor(fs5, logger, tsConfig = null) {
|
|
13562
13557
|
this.fs = fs5;
|
|
@@ -13640,7 +13635,7 @@ function hasErrors(diagnostics) {
|
|
|
13640
13635
|
return diagnostics.some((d) => d.category === ts108.DiagnosticCategory.Error);
|
|
13641
13636
|
}
|
|
13642
13637
|
|
|
13643
|
-
// bazel-out/
|
|
13638
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
13644
13639
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
13645
13640
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
13646
13641
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -13679,10 +13674,10 @@ ${errors}`);
|
|
|
13679
13674
|
};
|
|
13680
13675
|
}
|
|
13681
13676
|
|
|
13682
|
-
// bazel-out/
|
|
13677
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13683
13678
|
import cluster2 from "cluster";
|
|
13684
13679
|
|
|
13685
|
-
// bazel-out/
|
|
13680
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
13686
13681
|
var PackageJsonUpdate = class {
|
|
13687
13682
|
constructor(writeChangesImpl) {
|
|
13688
13683
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -13748,7 +13743,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
13748
13743
|
}
|
|
13749
13744
|
}
|
|
13750
13745
|
|
|
13751
|
-
// bazel-out/
|
|
13746
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
13752
13747
|
import cluster from "cluster";
|
|
13753
13748
|
var sendMessageToMaster = (msg) => {
|
|
13754
13749
|
if (cluster.isMaster) {
|
|
@@ -13762,7 +13757,7 @@ var sendMessageToMaster = (msg) => {
|
|
|
13762
13757
|
});
|
|
13763
13758
|
};
|
|
13764
13759
|
|
|
13765
|
-
// bazel-out/
|
|
13760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13766
13761
|
var ClusterWorkerPackageJsonUpdater = class {
|
|
13767
13762
|
constructor() {
|
|
13768
13763
|
if (cluster2.isMaster) {
|
|
@@ -13789,13 +13784,13 @@ var ClusterWorkerPackageJsonUpdater = class {
|
|
|
13789
13784
|
}
|
|
13790
13785
|
};
|
|
13791
13786
|
|
|
13792
|
-
// bazel-out/
|
|
13787
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13793
13788
|
import cluster3 from "cluster";
|
|
13794
13789
|
|
|
13795
|
-
// bazel-out/
|
|
13790
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
13796
13791
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
13797
13792
|
|
|
13798
|
-
// bazel-out/
|
|
13793
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13799
13794
|
async function startWorker(logger, createCompileFn) {
|
|
13800
13795
|
if (cluster3.isMaster) {
|
|
13801
13796
|
throw new Error("Tried to run cluster worker on the master process.");
|
|
@@ -13830,7 +13825,7 @@ async function startWorker(logger, createCompileFn) {
|
|
|
13830
13825
|
return new Promise(() => void 0);
|
|
13831
13826
|
}
|
|
13832
13827
|
|
|
13833
|
-
// bazel-out/
|
|
13828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/ngcc_cluster_worker.mjs
|
|
13834
13829
|
(async () => {
|
|
13835
13830
|
process.title = "ngcc (worker)";
|
|
13836
13831
|
try {
|