@angular/compiler-cli 13.0.0 → 13.0.1
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 +235 -230
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +67 -67
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +59 -59
- package/bundles/linker/index.js.map +1 -1
- package/bundles/ngcc/index.js +376 -363
- package/bundles/ngcc/index.js.map +2 -2
- package/bundles/ngcc/main-ngcc.js +377 -364
- package/bundles/ngcc/main-ngcc.js.map +2 -2
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +248 -248
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +8 -8
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +14 -14
- package/bundles/private/migrations.js +64 -64
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +9 -9
- package/bundles/src/bin/ng_xi18n.js +234 -229
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +232 -227
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
461
461
|
function parseCommandLineOptions(args) {
|
|
462
462
|
var _a;
|
|
463
463
|
const options = yargs(args).option("s", {
|
|
@@ -547,16 +547,16 @@ function parseCommandLineOptions(args) {
|
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
// bazel-out/
|
|
550
|
+
// bazel-out/k8-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/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
556
556
|
import { isSyntaxError as isSyntaxError2 } from "@angular/compiler";
|
|
557
557
|
import ts86 from "typescript";
|
|
558
558
|
|
|
559
|
-
// bazel-out/
|
|
559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
560
560
|
var ErrorCode;
|
|
561
561
|
(function(ErrorCode2) {
|
|
562
562
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -607,7 +607,7 @@ var ErrorCode;
|
|
|
607
607
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
608
608
|
})(ErrorCode || (ErrorCode = {}));
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
611
611
|
var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
612
612
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
613
613
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -618,10 +618,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
|
|
|
618
618
|
ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
|
|
619
619
|
]);
|
|
620
620
|
|
|
621
|
-
// bazel-out/
|
|
621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
622
622
|
import ts2 from "typescript";
|
|
623
623
|
|
|
624
|
-
// bazel-out/
|
|
624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
625
625
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
626
626
|
function replaceTsWithNgInErrors(errors) {
|
|
627
627
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -630,7 +630,7 @@ function ngErrorCode(code) {
|
|
|
630
630
|
return parseInt("-99" + code);
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
// bazel-out/
|
|
633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
634
634
|
var FatalDiagnosticError = class {
|
|
635
635
|
constructor(code, node, message, relatedInformation) {
|
|
636
636
|
this.code = code;
|
|
@@ -670,7 +670,7 @@ function isFatalDiagnosticError(err) {
|
|
|
670
670
|
return err._isFatalDiagnosticError === true;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
// bazel-out/
|
|
673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
674
674
|
var UNKNOWN_ERROR_CODE = 500;
|
|
675
675
|
var EmitFlags;
|
|
676
676
|
(function(EmitFlags2) {
|
|
@@ -683,7 +683,7 @@ var EmitFlags;
|
|
|
683
683
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
684
684
|
})(EmitFlags || (EmitFlags = {}));
|
|
685
685
|
|
|
686
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
687
687
|
import { collectExternalReferences, syntaxError as syntaxError2, TypeScriptEmitter } from "@angular/compiler";
|
|
688
688
|
import fs3 from "fs";
|
|
689
689
|
import {
|
|
@@ -696,18 +696,18 @@ import {
|
|
|
696
696
|
} from "path";
|
|
697
697
|
import ts9 from "typescript";
|
|
698
698
|
|
|
699
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/collector.mjs
|
|
700
700
|
import ts5 from "typescript";
|
|
701
701
|
|
|
702
|
-
// bazel-out/
|
|
702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/evaluator.mjs
|
|
703
703
|
import ts3 from "typescript";
|
|
704
704
|
var spreadElementSyntaxKind = ts3.SyntaxKind.SpreadElement || ts3.SyntaxKind.SpreadElementExpression;
|
|
705
705
|
var empty = ts3.createNodeArray();
|
|
706
706
|
|
|
707
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/symbols.mjs
|
|
708
708
|
import ts4 from "typescript";
|
|
709
709
|
|
|
710
|
-
// bazel-out/
|
|
710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundle_index_host.mjs
|
|
711
711
|
import {
|
|
712
712
|
basename as basename4,
|
|
713
713
|
dirname as dirname4,
|
|
@@ -716,7 +716,7 @@ import {
|
|
|
716
716
|
} from "path";
|
|
717
717
|
import ts7 from "typescript";
|
|
718
718
|
|
|
719
|
-
// bazel-out/
|
|
719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/metadata/bundler.mjs
|
|
720
720
|
import {
|
|
721
721
|
basename as basename3,
|
|
722
722
|
dirname as dirname3,
|
|
@@ -726,14 +726,14 @@ import {
|
|
|
726
726
|
} from "path";
|
|
727
727
|
import ts6 from "typescript";
|
|
728
728
|
|
|
729
|
-
// bazel-out/
|
|
729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
730
730
|
import { syntaxError } from "@angular/compiler";
|
|
731
731
|
import {
|
|
732
732
|
relative as relative3
|
|
733
733
|
} from "path";
|
|
734
734
|
import ts8 from "typescript";
|
|
735
735
|
|
|
736
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
737
737
|
import { core, createAotCompiler, getMissingNgModuleMetadataErrorData, getParseErrors, isFormattedError, isSyntaxError } from "@angular/compiler";
|
|
738
738
|
import {
|
|
739
739
|
readFileSync as readFileSync2
|
|
@@ -741,24 +741,24 @@ import {
|
|
|
741
741
|
import * as path6 from "path";
|
|
742
742
|
import ts85 from "typescript";
|
|
743
743
|
|
|
744
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/diagnostics/translate_diagnostics.mjs
|
|
745
745
|
import ts10 from "typescript";
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
748
748
|
import ts73 from "typescript";
|
|
749
749
|
|
|
750
|
-
// bazel-out/
|
|
750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
751
751
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr7, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
752
752
|
import ts39 from "typescript";
|
|
753
753
|
|
|
754
|
-
// bazel-out/
|
|
754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
755
755
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
756
756
|
|
|
757
|
-
// bazel-out/
|
|
757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
758
758
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
759
759
|
import ts13 from "typescript";
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
762
762
|
import ts11 from "typescript";
|
|
763
763
|
var D_TS = /\.d\.ts$/i;
|
|
764
764
|
function isSymbolWithValueDeclaration(symbol) {
|
|
@@ -826,7 +826,7 @@ function isAssignment(node) {
|
|
|
826
826
|
return ts11.isBinaryExpression(node) && node.operatorToken.kind === ts11.SyntaxKind.EqualsToken;
|
|
827
827
|
}
|
|
828
828
|
|
|
829
|
-
// bazel-out/
|
|
829
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
830
830
|
import ts12 from "typescript";
|
|
831
831
|
function findExportedNameOfNode(target, file, reflector) {
|
|
832
832
|
const exports = reflector.getExportsOfModule(file);
|
|
@@ -850,7 +850,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
850
850
|
return foundExportName;
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
// bazel-out/
|
|
853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
854
854
|
var ImportFlags;
|
|
855
855
|
(function(ImportFlags2) {
|
|
856
856
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -980,7 +980,7 @@ var LogicalProjectStrategy = class {
|
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
984
984
|
var PrivateExportAliasingHost = class {
|
|
985
985
|
constructor(host) {
|
|
986
986
|
this.host = host;
|
|
@@ -1010,13 +1010,13 @@ var PrivateExportAliasingHost = class {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
|
-
// bazel-out/
|
|
1013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1014
1014
|
function relativePathBetween(from, to) {
|
|
1015
1015
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1016
1016
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1020
1020
|
var NoopImportRewriter = class {
|
|
1021
1021
|
shouldImportSymbol(symbol, specifier) {
|
|
1022
1022
|
return true;
|
|
@@ -1074,14 +1074,14 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1074
1074
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
|
-
// bazel-out/
|
|
1077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1078
1078
|
import ts14 from "typescript";
|
|
1079
1079
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1080
1080
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1081
1081
|
expr[DefaultImportDeclaration] = importDecl;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1085
1085
|
var Reference = class {
|
|
1086
1086
|
constructor(node, bestGuessOwningModule = null) {
|
|
1087
1087
|
this.node = node;
|
|
@@ -1144,7 +1144,7 @@ var Reference = class {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
|
-
// bazel-out/
|
|
1147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1148
1148
|
var ModuleResolver = class {
|
|
1149
1149
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1150
1150
|
this.program = program;
|
|
@@ -1161,7 +1161,7 @@ var ModuleResolver = class {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
1163
|
|
|
1164
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
1165
1165
|
import ts15 from "typescript";
|
|
1166
1166
|
var SemanticSymbol = class {
|
|
1167
1167
|
constructor(decl) {
|
|
@@ -1177,13 +1177,13 @@ function getSymbolIdentifier(decl) {
|
|
|
1177
1177
|
return decl.name.text;
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
1181
1181
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
1182
1182
|
|
|
1183
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1184
1184
|
import ts16 from "typescript";
|
|
1185
1185
|
|
|
1186
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
1187
1187
|
function isSymbolEqual(a, b) {
|
|
1188
1188
|
if (a.decl === b.decl) {
|
|
1189
1189
|
return true;
|
|
@@ -1233,7 +1233,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
1233
1233
|
return true;
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
// bazel-out/
|
|
1236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1237
1237
|
function extractSemanticTypeParameters(node) {
|
|
1238
1238
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
1239
1239
|
return null;
|
|
@@ -1253,17 +1253,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
1253
1253
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
|
-
// bazel-out/
|
|
1256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1257
1257
|
var MetaType;
|
|
1258
1258
|
(function(MetaType2) {
|
|
1259
1259
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
1260
1260
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
1261
1261
|
})(MetaType || (MetaType = {}));
|
|
1262
1262
|
|
|
1263
|
-
// bazel-out/
|
|
1263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1264
1264
|
import ts22 from "typescript";
|
|
1265
1265
|
|
|
1266
|
-
// bazel-out/
|
|
1266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
1267
1267
|
import ts17 from "typescript";
|
|
1268
1268
|
var Decorator = {
|
|
1269
1269
|
nodeForError: (decorator) => {
|
|
@@ -1298,7 +1298,7 @@ function isConcreteDeclaration(decl) {
|
|
|
1298
1298
|
return decl.kind === 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
|
-
// bazel-out/
|
|
1301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
1302
1302
|
import ts18 from "typescript";
|
|
1303
1303
|
function typeToValue(typeNode, checker) {
|
|
1304
1304
|
if (typeNode === null) {
|
|
@@ -1459,10 +1459,10 @@ function extractModuleName(node) {
|
|
|
1459
1459
|
return node.moduleSpecifier.text;
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1463
1463
|
import ts20 from "typescript";
|
|
1464
1464
|
|
|
1465
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
1466
1466
|
import ts19 from "typescript";
|
|
1467
1467
|
function isNamedClassDeclaration(node) {
|
|
1468
1468
|
return ts19.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -1477,7 +1477,7 @@ function isIdentifier(node) {
|
|
|
1477
1477
|
return node !== void 0 && ts19.isIdentifier(node);
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
|
-
// bazel-out/
|
|
1480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
1481
1481
|
var TypeScriptReflectionHost = class {
|
|
1482
1482
|
constructor(checker) {
|
|
1483
1483
|
this.checker = checker;
|
|
@@ -1913,7 +1913,7 @@ function getExportedName(decl, originalId) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
1915
1915
|
|
|
1916
|
-
// bazel-out/
|
|
1916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1917
1917
|
var ClassPropertyMapping = class {
|
|
1918
1918
|
constructor(forwardMap) {
|
|
1919
1919
|
this.forwardMap = forwardMap;
|
|
@@ -1989,7 +1989,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1989
1989
|
return reverseMap;
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
// bazel-out/
|
|
1992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1993
1993
|
import ts21 from "typescript";
|
|
1994
1994
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1995
1995
|
if (!ts21.isTupleTypeNode(def)) {
|
|
@@ -2156,7 +2156,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2156
2156
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2157
2157
|
}
|
|
2158
2158
|
|
|
2159
|
-
// bazel-out/
|
|
2159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2160
2160
|
var DtsMetadataReader = class {
|
|
2161
2161
|
constructor(checker, reflector) {
|
|
2162
2162
|
this.checker = checker;
|
|
@@ -2256,7 +2256,7 @@ function readBaseClass(clazz, checker, reflector) {
|
|
|
2256
2256
|
return null;
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
|
-
// bazel-out/
|
|
2259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2260
2260
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2261
2261
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2262
2262
|
if (topMeta === null) {
|
|
@@ -2313,7 +2313,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2313
2313
|
});
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
|
-
// bazel-out/
|
|
2316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2317
2317
|
var LocalMetadataRegistry = class {
|
|
2318
2318
|
constructor() {
|
|
2319
2319
|
this.directives = new Map();
|
|
@@ -2372,7 +2372,7 @@ var InjectableClassRegistry = class {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
};
|
|
2374
2374
|
|
|
2375
|
-
// bazel-out/
|
|
2375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2376
2376
|
var ResourceRegistry = class {
|
|
2377
2377
|
constructor() {
|
|
2378
2378
|
this.externalTemplateToComponentsMap = new Map();
|
|
@@ -2437,10 +2437,10 @@ var ResourceRegistry = class {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
};
|
|
2439
2439
|
|
|
2440
|
-
// bazel-out/
|
|
2440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2441
2441
|
import ts23 from "typescript";
|
|
2442
2442
|
|
|
2443
|
-
// bazel-out/
|
|
2443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
2444
2444
|
var DynamicValue = class {
|
|
2445
2445
|
constructor(node, reason, code) {
|
|
2446
2446
|
this.node = node;
|
|
@@ -2525,7 +2525,7 @@ var DynamicValue = class {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
};
|
|
2527
2527
|
|
|
2528
|
-
// bazel-out/
|
|
2528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
2529
2529
|
var ResolvedModule = class {
|
|
2530
2530
|
constructor(exports, evaluate) {
|
|
2531
2531
|
this.exports = exports;
|
|
@@ -2555,7 +2555,7 @@ var EnumValue = class {
|
|
|
2555
2555
|
var KnownFn = class {
|
|
2556
2556
|
};
|
|
2557
2557
|
|
|
2558
|
-
// bazel-out/
|
|
2558
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
2559
2559
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2560
2560
|
var _a, _b;
|
|
2561
2561
|
if (value === null) {
|
|
@@ -2681,10 +2681,10 @@ function getContainerNode(node) {
|
|
|
2681
2681
|
return node.getSourceFile();
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
// bazel-out/
|
|
2684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2685
2685
|
import ts24 from "typescript";
|
|
2686
2686
|
|
|
2687
|
-
// bazel-out/
|
|
2687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
2688
2688
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2689
2689
|
constructor(lhs) {
|
|
2690
2690
|
super();
|
|
@@ -2737,7 +2737,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
2737
2737
|
}
|
|
2738
2738
|
};
|
|
2739
2739
|
|
|
2740
|
-
// bazel-out/
|
|
2740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
2741
2741
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
2742
2742
|
};
|
|
2743
2743
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -2790,7 +2790,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
2792
|
|
|
2793
|
-
// bazel-out/
|
|
2793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
2794
2794
|
var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
2795
2795
|
var assignTsHelperFn = new AssignHelperFn();
|
|
2796
2796
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -2814,7 +2814,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
|
-
// bazel-out/
|
|
2817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
2818
2818
|
function literalBinaryOp(op) {
|
|
2819
2819
|
return { op, literal: true };
|
|
2820
2820
|
}
|
|
@@ -3399,7 +3399,7 @@ function owningModule(context, override = null) {
|
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
|
|
3402
|
-
// bazel-out/
|
|
3402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
3403
3403
|
var PartialEvaluator = class {
|
|
3404
3404
|
constructor(host, checker, dependencyTracker) {
|
|
3405
3405
|
this.host = host;
|
|
@@ -3419,7 +3419,7 @@ var PartialEvaluator = class {
|
|
|
3419
3419
|
}
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
|
-
// bazel-out/
|
|
3422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
3423
3423
|
var PerfPhase;
|
|
3424
3424
|
(function(PerfPhase2) {
|
|
3425
3425
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -3484,7 +3484,7 @@ var PerfCheckpoint;
|
|
|
3484
3484
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
3485
3485
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
3486
3486
|
|
|
3487
|
-
// bazel-out/
|
|
3487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
3488
3488
|
var NoopPerfRecorder = class {
|
|
3489
3489
|
eventCount() {
|
|
3490
3490
|
}
|
|
@@ -3501,7 +3501,7 @@ var NoopPerfRecorder = class {
|
|
|
3501
3501
|
};
|
|
3502
3502
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
3503
3503
|
|
|
3504
|
-
// bazel-out/
|
|
3504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3505
3505
|
var CompilationMode;
|
|
3506
3506
|
(function(CompilationMode2) {
|
|
3507
3507
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3519,13 +3519,13 @@ var HandlerFlags;
|
|
|
3519
3519
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3520
3520
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3521
3521
|
|
|
3522
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3523
3523
|
import ts25 from "typescript";
|
|
3524
3524
|
|
|
3525
|
-
// bazel-out/
|
|
3525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3526
3526
|
import ts26 from "typescript";
|
|
3527
3527
|
|
|
3528
|
-
// bazel-out/
|
|
3528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3529
3529
|
var TraitState;
|
|
3530
3530
|
(function(TraitState2) {
|
|
3531
3531
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3580,7 +3580,7 @@ var TraitImpl = class {
|
|
|
3580
3580
|
}
|
|
3581
3581
|
};
|
|
3582
3582
|
|
|
3583
|
-
// bazel-out/
|
|
3583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3584
3584
|
var TraitCompiler = class {
|
|
3585
3585
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
3586
3586
|
this.handlers = handlers;
|
|
@@ -4017,10 +4017,10 @@ var TraitCompiler = class {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
};
|
|
4019
4019
|
|
|
4020
|
-
// bazel-out/
|
|
4020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4021
4021
|
import ts31 from "typescript";
|
|
4022
4022
|
|
|
4023
|
-
// bazel-out/
|
|
4023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
4024
4024
|
var Context = class {
|
|
4025
4025
|
constructor(isStatement) {
|
|
4026
4026
|
this.isStatement = isStatement;
|
|
@@ -4033,7 +4033,7 @@ var Context = class {
|
|
|
4033
4033
|
}
|
|
4034
4034
|
};
|
|
4035
4035
|
|
|
4036
|
-
// bazel-out/
|
|
4036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
4037
4037
|
import ts27 from "typescript";
|
|
4038
4038
|
var ImportManager = class {
|
|
4039
4039
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -4069,7 +4069,7 @@ var ImportManager = class {
|
|
|
4069
4069
|
}
|
|
4070
4070
|
};
|
|
4071
4071
|
|
|
4072
|
-
// bazel-out/
|
|
4072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
4073
4073
|
import {
|
|
4074
4074
|
BinaryOperator,
|
|
4075
4075
|
ConditionalExpr,
|
|
@@ -4313,7 +4313,7 @@ function createRange(span) {
|
|
|
4313
4313
|
};
|
|
4314
4314
|
}
|
|
4315
4315
|
|
|
4316
|
-
// bazel-out/
|
|
4316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
4317
4317
|
import {
|
|
4318
4318
|
BuiltinTypeName
|
|
4319
4319
|
} from "@angular/compiler";
|
|
@@ -4492,7 +4492,7 @@ var TypeTranslatorVisitor = class {
|
|
|
4492
4492
|
}
|
|
4493
4493
|
};
|
|
4494
4494
|
|
|
4495
|
-
// bazel-out/
|
|
4495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
4496
4496
|
import ts29 from "typescript";
|
|
4497
4497
|
var PureAnnotation;
|
|
4498
4498
|
(function(PureAnnotation2) {
|
|
@@ -4664,15 +4664,15 @@ function attachComments(statement, leadingComments) {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
}
|
|
4666
4666
|
|
|
4667
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
4668
4668
|
function translateStatement(statement, imports, options = {}) {
|
|
4669
4669
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
4670
4670
|
}
|
|
4671
4671
|
|
|
4672
|
-
// bazel-out/
|
|
4672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
4673
4673
|
import ts30 from "typescript";
|
|
4674
4674
|
|
|
4675
|
-
// bazel-out/
|
|
4675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
4676
4676
|
var DtsTransformRegistry = class {
|
|
4677
4677
|
constructor() {
|
|
4678
4678
|
this.ivyDeclarationTransforms = new Map();
|
|
@@ -4723,20 +4723,20 @@ function markForEmitAsSingleLine(node) {
|
|
|
4723
4723
|
ts31.forEachChild(node, markForEmitAsSingleLine);
|
|
4724
4724
|
}
|
|
4725
4725
|
|
|
4726
|
-
// bazel-out/
|
|
4726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4727
4727
|
import { ConstantPool } from "@angular/compiler";
|
|
4728
4728
|
import ts33 from "typescript";
|
|
4729
4729
|
|
|
4730
|
-
// bazel-out/
|
|
4730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
4731
4731
|
import ts32 from "typescript";
|
|
4732
4732
|
|
|
4733
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4734
4734
|
var NO_DECORATORS = new Set();
|
|
4735
4735
|
|
|
4736
|
-
// bazel-out/
|
|
4736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
4737
4737
|
import ts35 from "typescript";
|
|
4738
4738
|
|
|
4739
|
-
// bazel-out/
|
|
4739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
4740
4740
|
import { ExternalExpr as ExternalExpr4, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
4741
4741
|
import ts34 from "typescript";
|
|
4742
4742
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -5096,7 +5096,7 @@ function toFactoryMetadata(meta, target) {
|
|
|
5096
5096
|
};
|
|
5097
5097
|
}
|
|
5098
5098
|
|
|
5099
|
-
// bazel-out/
|
|
5099
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
5100
5100
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
5101
5101
|
var _a;
|
|
5102
5102
|
let chainedMessage;
|
|
@@ -5192,11 +5192,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
5192
5192
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
5193
5193
|
}
|
|
5194
5194
|
|
|
5195
|
-
// bazel-out/
|
|
5196
|
-
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
5195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5196
|
+
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr5, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
5197
5197
|
import ts37 from "typescript";
|
|
5198
5198
|
|
|
5199
|
-
// bazel-out/
|
|
5199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
5200
5200
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
5201
5201
|
function compileNgFactoryDefField(metadata) {
|
|
5202
5202
|
const res = compileFactoryFunction(metadata);
|
|
@@ -5207,7 +5207,7 @@ function compileDeclareFactory(metadata) {
|
|
|
5207
5207
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
5208
5208
|
}
|
|
5209
5209
|
|
|
5210
|
-
// bazel-out/
|
|
5210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
5211
5211
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
5212
5212
|
import ts36 from "typescript";
|
|
5213
5213
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -5295,7 +5295,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
5295
5295
|
return result.transformed[0];
|
|
5296
5296
|
}
|
|
5297
5297
|
|
|
5298
|
-
// bazel-out/
|
|
5298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
5299
5299
|
var EMPTY_OBJECT = {};
|
|
5300
5300
|
var FIELD_DECORATORS = [
|
|
5301
5301
|
"Input",
|
|
@@ -5603,17 +5603,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
|
|
|
5603
5603
|
};
|
|
5604
5604
|
}
|
|
5605
5605
|
function extractQueryMetadata(exprNode, name, args, propertyName, reflector, evaluator) {
|
|
5606
|
-
var _a;
|
|
5607
5606
|
if (args.length === 0) {
|
|
5608
5607
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
|
|
5609
5608
|
}
|
|
5610
5609
|
const first = name === "ViewChild" || name === "ContentChild";
|
|
5611
|
-
const
|
|
5610
|
+
const forwardReferenceTarget = tryUnwrapForwardRef(args[0], reflector);
|
|
5611
|
+
const node = forwardReferenceTarget != null ? forwardReferenceTarget : args[0];
|
|
5612
5612
|
const arg = evaluator.evaluate(node);
|
|
5613
5613
|
let isStatic = false;
|
|
5614
5614
|
let predicate = null;
|
|
5615
5615
|
if (arg instanceof Reference || arg instanceof DynamicValue) {
|
|
5616
|
-
predicate = new WrappedNodeExpr4(node);
|
|
5616
|
+
predicate = createMayBeForwardRefExpression(new WrappedNodeExpr4(node), forwardReferenceTarget !== null ? 2 : 0);
|
|
5617
5617
|
} else if (typeof arg === "string") {
|
|
5618
5618
|
predicate = [arg];
|
|
5619
5619
|
} else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
|
|
@@ -5857,7 +5857,7 @@ var QUERY_TYPES = new Set([
|
|
|
5857
5857
|
"ViewChildren"
|
|
5858
5858
|
]);
|
|
5859
5859
|
|
|
5860
|
-
// bazel-out/
|
|
5860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
5861
5861
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
5862
5862
|
import ts38 from "typescript";
|
|
5863
5863
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -6291,7 +6291,7 @@ function isNgModule(node, compilation) {
|
|
|
6291
6291
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
6292
6292
|
}
|
|
6293
6293
|
|
|
6294
|
-
// bazel-out/
|
|
6294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
6295
6295
|
var EMPTY_MAP = new Map();
|
|
6296
6296
|
var EMPTY_ARRAY = [];
|
|
6297
6297
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -7175,8 +7175,8 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
7175
7175
|
return null;
|
|
7176
7176
|
}
|
|
7177
7177
|
|
|
7178
|
-
// bazel-out/
|
|
7179
|
-
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable,
|
|
7178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
7179
|
+
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
7180
7180
|
import ts40 from "typescript";
|
|
7181
7181
|
var InjectableDecoratorHandler = class {
|
|
7182
7182
|
constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -7264,7 +7264,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7264
7264
|
type,
|
|
7265
7265
|
typeArgumentCount,
|
|
7266
7266
|
internalType,
|
|
7267
|
-
providedIn:
|
|
7267
|
+
providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
|
|
7268
7268
|
};
|
|
7269
7269
|
} else if (decorator.args.length === 1) {
|
|
7270
7270
|
const metaNode = decorator.args[0];
|
|
@@ -7272,7 +7272,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7272
7272
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
|
|
7273
7273
|
}
|
|
7274
7274
|
const meta = reflectObjectLiteral(metaNode);
|
|
7275
|
-
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) :
|
|
7275
|
+
const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
|
|
7276
7276
|
let deps = void 0;
|
|
7277
7277
|
if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
|
|
7278
7278
|
const depsExpr = meta.get("deps");
|
|
@@ -7300,7 +7300,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
|
|
|
7300
7300
|
}
|
|
7301
7301
|
function getProviderExpression(expression, reflector) {
|
|
7302
7302
|
const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
|
|
7303
|
-
return
|
|
7303
|
+
return createMayBeForwardRefExpression2(new WrappedNodeExpr7(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
|
|
7304
7304
|
}
|
|
7305
7305
|
function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
|
|
7306
7306
|
if (decorator.args === null) {
|
|
@@ -7375,7 +7375,7 @@ function getDep(dep, reflector) {
|
|
|
7375
7375
|
return meta;
|
|
7376
7376
|
}
|
|
7377
7377
|
|
|
7378
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7379
7379
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
7380
7380
|
import ts41 from "typescript";
|
|
7381
7381
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7500,7 +7500,7 @@ var PipeDecoratorHandler = class {
|
|
|
7500
7500
|
}
|
|
7501
7501
|
};
|
|
7502
7502
|
|
|
7503
|
-
// bazel-out/
|
|
7503
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
7504
7504
|
var CycleAnalyzer = class {
|
|
7505
7505
|
constructor(importGraph) {
|
|
7506
7506
|
this.importGraph = importGraph;
|
|
@@ -7571,7 +7571,7 @@ var Cycle = class {
|
|
|
7571
7571
|
}
|
|
7572
7572
|
};
|
|
7573
7573
|
|
|
7574
|
-
// bazel-out/
|
|
7574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
7575
7575
|
import ts42 from "typescript";
|
|
7576
7576
|
var ImportGraph = class {
|
|
7577
7577
|
constructor(checker, perf) {
|
|
@@ -7654,13 +7654,13 @@ var Found = class {
|
|
|
7654
7654
|
}
|
|
7655
7655
|
};
|
|
7656
7656
|
|
|
7657
|
-
// bazel-out/
|
|
7657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
7658
7658
|
import ts43 from "typescript";
|
|
7659
7659
|
|
|
7660
|
-
// bazel-out/
|
|
7660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
7661
7661
|
import ts44 from "typescript";
|
|
7662
7662
|
|
|
7663
|
-
// bazel-out/
|
|
7663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7664
7664
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7665
7665
|
var UpdateMode;
|
|
7666
7666
|
(function(UpdateMode2) {
|
|
@@ -7668,22 +7668,22 @@ var UpdateMode;
|
|
|
7668
7668
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7669
7669
|
})(UpdateMode || (UpdateMode = {}));
|
|
7670
7670
|
|
|
7671
|
-
// bazel-out/
|
|
7671
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7672
7672
|
import ts48 from "typescript";
|
|
7673
7673
|
|
|
7674
|
-
// bazel-out/
|
|
7674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7675
7675
|
import ts45 from "typescript";
|
|
7676
7676
|
|
|
7677
|
-
// bazel-out/
|
|
7677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7678
7678
|
var NgExtension = Symbol("NgExtension");
|
|
7679
7679
|
|
|
7680
|
-
// bazel-out/
|
|
7680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
7681
7681
|
import ts46 from "typescript";
|
|
7682
7682
|
|
|
7683
|
-
// bazel-out/
|
|
7683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
7684
7684
|
import ts47 from "typescript";
|
|
7685
7685
|
|
|
7686
|
-
// bazel-out/
|
|
7686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
7687
7687
|
var IncrementalStateKind;
|
|
7688
7688
|
(function(IncrementalStateKind2) {
|
|
7689
7689
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -7691,17 +7691,17 @@ var IncrementalStateKind;
|
|
|
7691
7691
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
7692
7692
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
7693
7693
|
|
|
7694
|
-
// bazel-out/
|
|
7694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
7695
7695
|
var PhaseKind;
|
|
7696
7696
|
(function(PhaseKind2) {
|
|
7697
7697
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
7698
7698
|
PhaseKind2[PhaseKind2["TypeCheckAndEmit"] = 1] = "TypeCheckAndEmit";
|
|
7699
7699
|
})(PhaseKind || (PhaseKind = {}));
|
|
7700
7700
|
|
|
7701
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
7702
7702
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
7703
7703
|
|
|
7704
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
7705
7705
|
var IdentifierKind;
|
|
7706
7706
|
(function(IdentifierKind2) {
|
|
7707
7707
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -7713,18 +7713,18 @@ var IdentifierKind;
|
|
|
7713
7713
|
IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
|
|
7714
7714
|
})(IdentifierKind || (IdentifierKind = {}));
|
|
7715
7715
|
|
|
7716
|
-
// bazel-out/
|
|
7716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
7717
7717
|
import { ParseSourceFile as ParseSourceFile3 } from "@angular/compiler";
|
|
7718
7718
|
|
|
7719
|
-
// bazel-out/
|
|
7719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
7720
7720
|
import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
7721
7721
|
|
|
7722
|
-
// bazel-out/
|
|
7722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
7723
7723
|
import ts49 from "typescript";
|
|
7724
7724
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
7725
7725
|
var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
|
|
7726
7726
|
|
|
7727
|
-
// bazel-out/
|
|
7727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
7728
7728
|
var MetadataDtsModuleScopeResolver = class {
|
|
7729
7729
|
constructor(dtsMetaReader, aliasingHost) {
|
|
7730
7730
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -7810,7 +7810,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
7810
7810
|
}
|
|
7811
7811
|
};
|
|
7812
7812
|
|
|
7813
|
-
// bazel-out/
|
|
7813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
7814
7814
|
import { ExternalExpr as ExternalExpr8 } from "@angular/compiler";
|
|
7815
7815
|
import ts50 from "typescript";
|
|
7816
7816
|
var LocalModuleScopeRegistry = class {
|
|
@@ -8118,7 +8118,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
8118
8118
|
]);
|
|
8119
8119
|
}
|
|
8120
8120
|
|
|
8121
|
-
// bazel-out/
|
|
8121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
8122
8122
|
import { CssSelector as CssSelector2, SelectorMatcher as SelectorMatcher2 } from "@angular/compiler";
|
|
8123
8123
|
import ts51 from "typescript";
|
|
8124
8124
|
var TypeCheckScopeRegistry = class {
|
|
@@ -8179,27 +8179,27 @@ var TypeCheckScopeRegistry = class {
|
|
|
8179
8179
|
}
|
|
8180
8180
|
};
|
|
8181
8181
|
|
|
8182
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/switch/src/switch.mjs
|
|
8183
8183
|
import ts52 from "typescript";
|
|
8184
8184
|
|
|
8185
|
-
// bazel-out/
|
|
8185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8186
8186
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry3 } from "@angular/compiler";
|
|
8187
8187
|
|
|
8188
|
-
// bazel-out/
|
|
8188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
8189
8189
|
var OptimizeFor;
|
|
8190
8190
|
(function(OptimizeFor2) {
|
|
8191
8191
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
8192
8192
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
8193
8193
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
8194
8194
|
|
|
8195
|
-
// bazel-out/
|
|
8195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
8196
8196
|
var CompletionKind;
|
|
8197
8197
|
(function(CompletionKind2) {
|
|
8198
8198
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
8199
8199
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
8200
8200
|
})(CompletionKind || (CompletionKind = {}));
|
|
8201
8201
|
|
|
8202
|
-
// bazel-out/
|
|
8202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
8203
8203
|
var SymbolKind;
|
|
8204
8204
|
(function(SymbolKind2) {
|
|
8205
8205
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -8215,18 +8215,18 @@ var SymbolKind;
|
|
|
8215
8215
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
8216
8216
|
})(SymbolKind || (SymbolKind = {}));
|
|
8217
8217
|
|
|
8218
|
-
// bazel-out/
|
|
8218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
8219
8219
|
import ts53 from "typescript";
|
|
8220
8220
|
|
|
8221
|
-
// bazel-out/
|
|
8221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
8222
8222
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
8223
8223
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
8224
8224
|
|
|
8225
|
-
// bazel-out/
|
|
8225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
8226
8226
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
8227
8227
|
import ts55 from "typescript";
|
|
8228
8228
|
|
|
8229
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
8230
8230
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
8231
8231
|
import ts54 from "typescript";
|
|
8232
8232
|
var CommentTriviaType;
|
|
@@ -8242,19 +8242,19 @@ var ExpressionIdentifier;
|
|
|
8242
8242
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
8243
8243
|
var IGNORE_FOR_DIAGNOSTICS_MARKER = `${CommentTriviaType.DIAGNOSTIC}:ignore`;
|
|
8244
8244
|
|
|
8245
|
-
// bazel-out/
|
|
8245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8246
8246
|
import ts69 from "typescript";
|
|
8247
8247
|
|
|
8248
|
-
// bazel-out/
|
|
8248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8249
8249
|
import { DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
8250
8250
|
import ts56 from "typescript";
|
|
8251
8251
|
var REGISTRY = new DomElementSchemaRegistry2();
|
|
8252
8252
|
|
|
8253
|
-
// bazel-out/
|
|
8253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8254
8254
|
import { ExpressionType, ExternalExpr as ExternalExpr9 } from "@angular/compiler";
|
|
8255
8255
|
import ts62 from "typescript";
|
|
8256
8256
|
|
|
8257
|
-
// bazel-out/
|
|
8257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8258
8258
|
import ts57 from "typescript";
|
|
8259
8259
|
var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
8260
8260
|
ts57.SyntaxKind.ParenthesizedExpression,
|
|
@@ -8273,19 +8273,19 @@ var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
|
|
|
8273
8273
|
ts57.SyntaxKind.UndefinedKeyword
|
|
8274
8274
|
]);
|
|
8275
8275
|
|
|
8276
|
-
// bazel-out/
|
|
8276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
8277
8277
|
import ts61 from "typescript";
|
|
8278
8278
|
|
|
8279
|
-
// bazel-out/
|
|
8279
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8280
8280
|
import ts60 from "typescript";
|
|
8281
8281
|
|
|
8282
|
-
// bazel-out/
|
|
8282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
8283
8283
|
import ts59 from "typescript";
|
|
8284
8284
|
|
|
8285
|
-
// bazel-out/
|
|
8285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
8286
8286
|
import ts58 from "typescript";
|
|
8287
8287
|
|
|
8288
|
-
// bazel-out/
|
|
8288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8289
8289
|
var TcbInliningRequirement;
|
|
8290
8290
|
(function(TcbInliningRequirement2) {
|
|
8291
8291
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -8293,22 +8293,22 @@ var TcbInliningRequirement;
|
|
|
8293
8293
|
TcbInliningRequirement2[TcbInliningRequirement2["None"] = 2] = "None";
|
|
8294
8294
|
})(TcbInliningRequirement || (TcbInliningRequirement = {}));
|
|
8295
8295
|
|
|
8296
|
-
// bazel-out/
|
|
8296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
8297
8297
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
8298
8298
|
import ts63 from "typescript";
|
|
8299
8299
|
|
|
8300
|
-
// bazel-out/
|
|
8300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
8301
8301
|
import ts64 from "typescript";
|
|
8302
8302
|
|
|
8303
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8304
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";
|
|
8305
8305
|
import ts67 from "typescript";
|
|
8306
8306
|
|
|
8307
|
-
// bazel-out/
|
|
8307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
8308
8308
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
8309
8309
|
import ts65 from "typescript";
|
|
8310
8310
|
|
|
8311
|
-
// bazel-out/
|
|
8311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
8312
8312
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
8313
8313
|
import ts66 from "typescript";
|
|
8314
8314
|
var NULL_AS_ANY = ts66.createAsExpression(ts66.createNull(), ts66.createKeywordTypeNode(ts66.SyntaxKind.AnyKeyword));
|
|
@@ -8408,10 +8408,10 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
8408
8408
|
};
|
|
8409
8409
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
8410
8410
|
|
|
8411
|
-
// bazel-out/
|
|
8411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
8412
8412
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
8413
8413
|
|
|
8414
|
-
// bazel-out/
|
|
8414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
8415
8415
|
var TcbGenericContextBehavior;
|
|
8416
8416
|
(function(TcbGenericContextBehavior2) {
|
|
8417
8417
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -8420,38 +8420,38 @@ var TcbGenericContextBehavior;
|
|
|
8420
8420
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
8421
8421
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts67.createNonNullExpression(ts67.createNull());
|
|
8422
8422
|
|
|
8423
|
-
// bazel-out/
|
|
8423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
8424
8424
|
import ts68 from "typescript";
|
|
8425
8425
|
|
|
8426
|
-
// bazel-out/
|
|
8426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8427
8427
|
var InliningMode;
|
|
8428
8428
|
(function(InliningMode2) {
|
|
8429
8429
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
8430
8430
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
8431
8431
|
})(InliningMode || (InliningMode = {}));
|
|
8432
8432
|
|
|
8433
|
-
// bazel-out/
|
|
8433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
8434
8434
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
8435
8435
|
|
|
8436
|
-
// bazel-out/
|
|
8436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
8437
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";
|
|
8438
8438
|
import ts70 from "typescript";
|
|
8439
8439
|
|
|
8440
|
-
// bazel-out/
|
|
8440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
8441
8441
|
var REGISTRY2 = new DomElementSchemaRegistry3();
|
|
8442
8442
|
|
|
8443
|
-
// bazel-out/
|
|
8443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8444
8444
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8445
8445
|
import ts71 from "typescript";
|
|
8446
8446
|
|
|
8447
|
-
// bazel-out/
|
|
8447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8448
8448
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
8449
8449
|
|
|
8450
|
-
// bazel-out/
|
|
8450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8451
8451
|
import { Binary } from "@angular/compiler";
|
|
8452
8452
|
import ts72 from "typescript";
|
|
8453
8453
|
|
|
8454
|
-
// bazel-out/
|
|
8454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
8455
8455
|
var CompilationTicketKind;
|
|
8456
8456
|
(function(CompilationTicketKind2) {
|
|
8457
8457
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8459,11 +8459,11 @@ var CompilationTicketKind;
|
|
|
8459
8459
|
CompilationTicketKind2[CompilationTicketKind2["IncrementalResource"] = 2] = "IncrementalResource";
|
|
8460
8460
|
})(CompilationTicketKind || (CompilationTicketKind = {}));
|
|
8461
8461
|
|
|
8462
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8463
8463
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
8464
8464
|
import ts76 from "typescript";
|
|
8465
8465
|
|
|
8466
|
-
// bazel-out/
|
|
8466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
8467
8467
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
8468
8468
|
import {
|
|
8469
8469
|
relative as relative5,
|
|
@@ -8471,42 +8471,42 @@ import {
|
|
|
8471
8471
|
sep as sep2
|
|
8472
8472
|
} from "path";
|
|
8473
8473
|
|
|
8474
|
-
// bazel-out/
|
|
8474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
8475
8475
|
import ts74 from "typescript";
|
|
8476
8476
|
var tsVersion = ts74.version;
|
|
8477
8477
|
|
|
8478
|
-
// bazel-out/
|
|
8478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8479
8479
|
import ts75 from "typescript";
|
|
8480
8480
|
|
|
8481
|
-
// bazel-out/
|
|
8481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
8482
8482
|
import ts78 from "typescript";
|
|
8483
8483
|
|
|
8484
|
-
// bazel-out/
|
|
8484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
8485
8485
|
import ts77 from "typescript";
|
|
8486
8486
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
8487
8487
|
|
|
8488
|
-
// bazel-out/
|
|
8488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/inline_resources.mjs
|
|
8489
8489
|
import ts79 from "typescript";
|
|
8490
8490
|
|
|
8491
|
-
// bazel-out/
|
|
8491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/lower_expressions.mjs
|
|
8492
8492
|
import { createLoweredSymbol, isLoweredSymbol } from "@angular/compiler";
|
|
8493
8493
|
import ts80 from "typescript";
|
|
8494
8494
|
|
|
8495
|
-
// bazel-out/
|
|
8495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/metadata_cache.mjs
|
|
8496
8496
|
import ts81 from "typescript";
|
|
8497
8497
|
|
|
8498
|
-
// bazel-out/
|
|
8498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter_transform.mjs
|
|
8499
8499
|
import ts83 from "typescript";
|
|
8500
8500
|
|
|
8501
|
-
// bazel-out/
|
|
8501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/node_emitter.mjs
|
|
8502
8502
|
import { BinaryOperator as BinaryOperator2, BuiltinMethod, BuiltinVar, ClassStmt, ExternalExpr as ExternalExpr10, Statement, StmtModifier as StmtModifier2, UnaryOperator as UnaryOperator2 } from "@angular/compiler";
|
|
8503
8503
|
import ts82 from "typescript";
|
|
8504
8504
|
|
|
8505
|
-
// bazel-out/
|
|
8505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/r3_metadata_transform.mjs
|
|
8506
8506
|
import { ClassStmt as ClassStmt2, StmtModifier as StmtModifier3 } from "@angular/compiler";
|
|
8507
8507
|
import ts84 from "typescript";
|
|
8508
8508
|
|
|
8509
|
-
// bazel-out/
|
|
8509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8510
8510
|
var VE_DISABLED_MESSAGE = `
|
|
8511
8511
|
This compilation is using the View Engine compiler which is no longer supported by the Angular team
|
|
8512
8512
|
and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
|
|
@@ -8520,7 +8520,7 @@ var emptyModules = {
|
|
|
8520
8520
|
files: []
|
|
8521
8521
|
};
|
|
8522
8522
|
|
|
8523
|
-
// bazel-out/
|
|
8523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8524
8524
|
function calcProjectFileAndBasePath(project, host = getFileSystem()) {
|
|
8525
8525
|
const absProject = host.resolve(project);
|
|
8526
8526
|
const projectIsDir = host.lstat(absProject).isDirectory();
|
|
@@ -8619,13 +8619,13 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs5) {
|
|
|
8619
8619
|
return null;
|
|
8620
8620
|
}
|
|
8621
8621
|
|
|
8622
|
-
// bazel-out/
|
|
8622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
8623
8623
|
import ts94 from "typescript";
|
|
8624
8624
|
|
|
8625
|
-
// bazel-out/
|
|
8625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
8626
8626
|
import ts93 from "typescript";
|
|
8627
8627
|
|
|
8628
|
-
// bazel-out/
|
|
8628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
8629
8629
|
import ts87 from "typescript";
|
|
8630
8630
|
function isDefined(value) {
|
|
8631
8631
|
return value !== void 0 && value !== null;
|
|
@@ -8708,7 +8708,7 @@ function stripExtension2(fileName) {
|
|
|
8708
8708
|
return fileName.replace(/\..+$/, "");
|
|
8709
8709
|
}
|
|
8710
8710
|
|
|
8711
|
-
// bazel-out/
|
|
8711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
8712
8712
|
import ts88 from "typescript";
|
|
8713
8713
|
function findNamespaceOfIdentifier(id) {
|
|
8714
8714
|
return id.parent && ts88.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts88.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -8794,10 +8794,10 @@ function skipAliases(node) {
|
|
|
8794
8794
|
return node;
|
|
8795
8795
|
}
|
|
8796
8796
|
|
|
8797
|
-
// bazel-out/
|
|
8797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8798
8798
|
import ts91 from "typescript";
|
|
8799
8799
|
|
|
8800
|
-
// bazel-out/
|
|
8800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
8801
8801
|
function isWithinPackage(packagePath, filePath) {
|
|
8802
8802
|
const relativePath = relative(packagePath, filePath);
|
|
8803
8803
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -8812,7 +8812,7 @@ var NoopDependencyTracker = class {
|
|
|
8812
8812
|
};
|
|
8813
8813
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
8814
8814
|
|
|
8815
|
-
// bazel-out/
|
|
8815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
8816
8816
|
import ts89 from "typescript";
|
|
8817
8817
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
8818
8818
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -8820,13 +8820,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
8820
8820
|
return ts89.isVariableDeclaration(node) && !!node.initializer && ts89.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
8821
8821
|
}
|
|
8822
8822
|
|
|
8823
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
8824
8824
|
import ts90 from "typescript";
|
|
8825
8825
|
function stripParentheses(node) {
|
|
8826
8826
|
return ts90.isParenthesizedExpression(node) ? node.expression : node;
|
|
8827
8827
|
}
|
|
8828
8828
|
|
|
8829
|
-
// bazel-out/
|
|
8829
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
8830
8830
|
var DECORATORS = "decorators";
|
|
8831
8831
|
var PROP_DECORATORS = "propDecorators";
|
|
8832
8832
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -10057,7 +10057,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
10057
10057
|
return outerNode;
|
|
10058
10058
|
}
|
|
10059
10059
|
|
|
10060
|
-
// bazel-out/
|
|
10060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
10061
10061
|
import ts92 from "typescript";
|
|
10062
10062
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
10063
10063
|
getBaseClassExpression(clazz) {
|
|
@@ -10391,7 +10391,7 @@ function getIifeFn(classSymbol) {
|
|
|
10391
10391
|
return iifeWrapper && ts92.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
10392
10392
|
}
|
|
10393
10393
|
|
|
10394
|
-
// bazel-out/
|
|
10394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
10395
10395
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
10396
10396
|
constructor(logger, isCore, src, dts = null) {
|
|
10397
10397
|
super(logger, isCore, src, dts);
|
|
@@ -10782,7 +10782,7 @@ function isExportsIdentifier(node) {
|
|
|
10782
10782
|
return ts93.isIdentifier(node) && node.text === "exports";
|
|
10783
10783
|
}
|
|
10784
10784
|
|
|
10785
|
-
// bazel-out/
|
|
10785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
10786
10786
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
10787
10787
|
function getEntryPointFormat(fs5, entryPoint, property2) {
|
|
10788
10788
|
switch (property2) {
|
|
@@ -10836,7 +10836,7 @@ function sniffModuleFormat(fs5, sourceFilePath) {
|
|
|
10836
10836
|
}
|
|
10837
10837
|
}
|
|
10838
10838
|
|
|
10839
|
-
// bazel-out/
|
|
10839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
10840
10840
|
function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
10841
10841
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
10842
10842
|
return {
|
|
@@ -10846,7 +10846,7 @@ function getPathMappingsFromTsConfig(fs5, tsConfig, projectPath) {
|
|
|
10846
10846
|
}
|
|
10847
10847
|
}
|
|
10848
10848
|
|
|
10849
|
-
// bazel-out/
|
|
10849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
10850
10850
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
10851
10851
|
var InPlaceFileWriter = class {
|
|
10852
10852
|
constructor(fs5, logger, errorOnFailedEntryPoint) {
|
|
@@ -10895,7 +10895,7 @@ This error may be caused by one of the following:
|
|
|
10895
10895
|
}
|
|
10896
10896
|
};
|
|
10897
10897
|
|
|
10898
|
-
// bazel-out/
|
|
10898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
10899
10899
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
10900
10900
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
10901
10901
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -11003,7 +11003,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
11003
11003
|
}
|
|
11004
11004
|
};
|
|
11005
11005
|
|
|
11006
|
-
// bazel-out/
|
|
11006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
11007
11007
|
function getSharedSetup(options) {
|
|
11008
11008
|
const fileSystem = getFileSystem();
|
|
11009
11009
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -11062,10 +11062,10 @@ If you did intend to use this file, then you can hide this warning by providing
|
|
|
11062
11062
|
}
|
|
11063
11063
|
}
|
|
11064
11064
|
|
|
11065
|
-
// bazel-out/
|
|
11065
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
11066
11066
|
import ts109 from "typescript";
|
|
11067
11067
|
|
|
11068
|
-
// bazel-out/
|
|
11068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
11069
11069
|
var DtsProcessing;
|
|
11070
11070
|
(function(DtsProcessing2) {
|
|
11071
11071
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -11073,10 +11073,10 @@ var DtsProcessing;
|
|
|
11073
11073
|
DtsProcessing2[DtsProcessing2["Only"] = 2] = "Only";
|
|
11074
11074
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
11075
11075
|
|
|
11076
|
-
// bazel-out/
|
|
11076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11077
11077
|
import ts96 from "typescript";
|
|
11078
11078
|
|
|
11079
|
-
// bazel-out/
|
|
11079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
11080
11080
|
import ts95 from "typescript";
|
|
11081
11081
|
function patchTsGetExpandoInitializer() {
|
|
11082
11082
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -11181,7 +11181,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
11181
11181
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
11182
11182
|
}
|
|
11183
11183
|
|
|
11184
|
-
// bazel-out/
|
|
11184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
11185
11185
|
function makeBundleProgram(fs5, isCore, pkg, path7, r3FileName, options, host, additionalFiles = []) {
|
|
11186
11186
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs5, fs5.dirname(path7), r3FileName) : null;
|
|
11187
11187
|
let rootPaths = r3SymbolsPath ? [path7, r3SymbolsPath, ...additionalFiles] : [path7, ...additionalFiles];
|
|
@@ -11211,7 +11211,7 @@ function findR3SymbolsPath(fs5, directory, filename) {
|
|
|
11211
11211
|
return null;
|
|
11212
11212
|
}
|
|
11213
11213
|
|
|
11214
|
-
// bazel-out/
|
|
11214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
11215
11215
|
import ts97 from "typescript";
|
|
11216
11216
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
11217
11217
|
constructor(fs5, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -11256,7 +11256,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
11256
11256
|
}
|
|
11257
11257
|
};
|
|
11258
11258
|
|
|
11259
|
-
// bazel-out/
|
|
11259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
11260
11260
|
import ts98 from "typescript";
|
|
11261
11261
|
var SharedFileCache = class {
|
|
11262
11262
|
constructor(fs5) {
|
|
@@ -11357,7 +11357,7 @@ function createModuleResolutionCache(fs5) {
|
|
|
11357
11357
|
});
|
|
11358
11358
|
}
|
|
11359
11359
|
|
|
11360
|
-
// bazel-out/
|
|
11360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
11361
11361
|
function makeEntryPointBundle(fs5, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
11362
11362
|
const rootDir = entryPoint.packagePath;
|
|
11363
11363
|
const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -11398,13 +11398,13 @@ function computePotentialDtsFilesFromJsFiles(fs5, srcProgram, formatPath, typing
|
|
|
11398
11398
|
return additionalFiles;
|
|
11399
11399
|
}
|
|
11400
11400
|
|
|
11401
|
-
// bazel-out/
|
|
11401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
11402
11402
|
import ts108 from "typescript";
|
|
11403
11403
|
|
|
11404
|
-
// bazel-out/
|
|
11404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11405
11405
|
import { ConstantPool as ConstantPool2 } from "@angular/compiler";
|
|
11406
11406
|
|
|
11407
|
-
// bazel-out/
|
|
11407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
11408
11408
|
import ts99 from "typescript";
|
|
11409
11409
|
function isClassDeclaration(clazz) {
|
|
11410
11410
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -11487,7 +11487,7 @@ function reifySourceFile(expr) {
|
|
|
11487
11487
|
return stmt.declarationList.declarations[0].initializer;
|
|
11488
11488
|
}
|
|
11489
11489
|
|
|
11490
|
-
// bazel-out/
|
|
11490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
11491
11491
|
var MissingInjectableMigration = class {
|
|
11492
11492
|
apply(clazz, host) {
|
|
11493
11493
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -11592,7 +11592,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
11592
11592
|
return decorator.import.name;
|
|
11593
11593
|
}
|
|
11594
11594
|
|
|
11595
|
-
// bazel-out/
|
|
11595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
11596
11596
|
var UndecoratedChildMigration = class {
|
|
11597
11597
|
apply(clazz, host) {
|
|
11598
11598
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -11627,7 +11627,7 @@ var UndecoratedChildMigration = class {
|
|
|
11627
11627
|
}
|
|
11628
11628
|
};
|
|
11629
11629
|
|
|
11630
|
-
// bazel-out/
|
|
11630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
11631
11631
|
var UndecoratedParentMigration = class {
|
|
11632
11632
|
apply(clazz, host) {
|
|
11633
11633
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -11660,7 +11660,7 @@ function determineBaseClass(clazz, host) {
|
|
|
11660
11660
|
return baseClass;
|
|
11661
11661
|
}
|
|
11662
11662
|
|
|
11663
|
-
// bazel-out/
|
|
11663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
11664
11664
|
import ts100 from "typescript";
|
|
11665
11665
|
var DefaultMigrationHost = class {
|
|
11666
11666
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -11720,7 +11720,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
11720
11720
|
return clone;
|
|
11721
11721
|
}
|
|
11722
11722
|
|
|
11723
|
-
// bazel-out/
|
|
11723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
11724
11724
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
11725
11725
|
constructor(handlers, ngccReflector) {
|
|
11726
11726
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -11765,10 +11765,10 @@ var NoIncrementalBuild = class {
|
|
|
11765
11765
|
}
|
|
11766
11766
|
};
|
|
11767
11767
|
|
|
11768
|
-
// bazel-out/
|
|
11768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
11769
11769
|
var DecorationAnalyses = Map;
|
|
11770
11770
|
|
|
11771
|
-
// bazel-out/
|
|
11771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
11772
11772
|
var NgccResourceLoader = class {
|
|
11773
11773
|
constructor(fs5) {
|
|
11774
11774
|
this.fs = fs5;
|
|
@@ -11924,7 +11924,7 @@ var DecorationAnalyzer = class {
|
|
|
11924
11924
|
}
|
|
11925
11925
|
};
|
|
11926
11926
|
|
|
11927
|
-
// bazel-out/
|
|
11927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
11928
11928
|
import ts101 from "typescript";
|
|
11929
11929
|
var ModuleWithProvidersAnalyses = Map;
|
|
11930
11930
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -12063,7 +12063,7 @@ function isAnyKeyword(typeParam) {
|
|
|
12063
12063
|
return typeParam.kind === ts101.SyntaxKind.AnyKeyword;
|
|
12064
12064
|
}
|
|
12065
12065
|
|
|
12066
|
-
// bazel-out/
|
|
12066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
12067
12067
|
var NgccReferencesRegistry = class {
|
|
12068
12068
|
constructor(host) {
|
|
12069
12069
|
this.host = host;
|
|
@@ -12084,7 +12084,7 @@ var NgccReferencesRegistry = class {
|
|
|
12084
12084
|
}
|
|
12085
12085
|
};
|
|
12086
12086
|
|
|
12087
|
-
// bazel-out/
|
|
12087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
12088
12088
|
var PrivateDeclarationsAnalyzer = class {
|
|
12089
12089
|
constructor(host, referencesRegistry) {
|
|
12090
12090
|
this.host = host;
|
|
@@ -12125,7 +12125,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
12125
12125
|
}
|
|
12126
12126
|
};
|
|
12127
12127
|
|
|
12128
|
-
// bazel-out/
|
|
12128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
12129
12129
|
var SwitchMarkerAnalyses = Map;
|
|
12130
12130
|
var SwitchMarkerAnalyzer = class {
|
|
12131
12131
|
constructor(host, packagePath) {
|
|
@@ -12144,7 +12144,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
12144
12144
|
}
|
|
12145
12145
|
};
|
|
12146
12146
|
|
|
12147
|
-
// bazel-out/
|
|
12147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
12148
12148
|
import ts102 from "typescript";
|
|
12149
12149
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
12150
12150
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -12308,7 +12308,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
12308
12308
|
}
|
|
12309
12309
|
};
|
|
12310
12310
|
|
|
12311
|
-
// bazel-out/
|
|
12311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
12312
12312
|
var DelegatingReflectionHost = class {
|
|
12313
12313
|
constructor(tsHost, ngccHost) {
|
|
12314
12314
|
this.tsHost = tsHost;
|
|
@@ -12432,16 +12432,16 @@ var DelegatingReflectionHost = class {
|
|
|
12432
12432
|
}
|
|
12433
12433
|
};
|
|
12434
12434
|
|
|
12435
|
-
// bazel-out/
|
|
12435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12436
12436
|
import ts105 from "typescript";
|
|
12437
12437
|
|
|
12438
|
-
// bazel-out/
|
|
12438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12439
12439
|
import ts104 from "typescript";
|
|
12440
12440
|
|
|
12441
|
-
// bazel-out/
|
|
12441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12442
12442
|
import ts103 from "typescript";
|
|
12443
12443
|
|
|
12444
|
-
// bazel-out/
|
|
12444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
12445
12445
|
var NgccFlatImportRewriter = class {
|
|
12446
12446
|
shouldImportSymbol(symbol, specifier) {
|
|
12447
12447
|
if (specifier === "@angular/core") {
|
|
@@ -12462,7 +12462,7 @@ var NgccFlatImportRewriter = class {
|
|
|
12462
12462
|
}
|
|
12463
12463
|
};
|
|
12464
12464
|
|
|
12465
|
-
// bazel-out/
|
|
12465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
12466
12466
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
12467
12467
|
if (isCore && isFlat) {
|
|
12468
12468
|
return new NgccFlatImportRewriter();
|
|
@@ -12476,7 +12476,7 @@ function stripExtension3(filePath) {
|
|
|
12476
12476
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
12477
12477
|
}
|
|
12478
12478
|
|
|
12479
|
-
// bazel-out/
|
|
12479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
12480
12480
|
var EsmRenderingFormatter = class {
|
|
12481
12481
|
constructor(fs5, host, isCore) {
|
|
12482
12482
|
this.fs = fs5;
|
|
@@ -12644,7 +12644,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
12644
12644
|
return lastToken && lastToken.kind === ts103.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
12645
12645
|
}
|
|
12646
12646
|
|
|
12647
|
-
// bazel-out/
|
|
12647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
12648
12648
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
12649
12649
|
addDefinitions(output, compiledClass, definitions) {
|
|
12650
12650
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -12672,7 +12672,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
12672
12672
|
}
|
|
12673
12673
|
};
|
|
12674
12674
|
|
|
12675
|
-
// bazel-out/
|
|
12675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
12676
12676
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
12677
12677
|
constructor(fs5, commonJsHost, isCore) {
|
|
12678
12678
|
super(fs5, commonJsHost, isCore);
|
|
@@ -12721,17 +12721,17 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
12721
12721
|
}
|
|
12722
12722
|
};
|
|
12723
12723
|
|
|
12724
|
-
// bazel-out/
|
|
12724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
12725
12725
|
import MagicString from "magic-string";
|
|
12726
12726
|
import ts106 from "typescript";
|
|
12727
12727
|
|
|
12728
|
-
// bazel-out/
|
|
12728
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
12729
12729
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
12730
12730
|
|
|
12731
|
-
// bazel-out/
|
|
12731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
12732
12732
|
import mapHelpers3 from "convert-source-map";
|
|
12733
12733
|
|
|
12734
|
-
// bazel-out/
|
|
12734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
12735
12735
|
var ContentOrigin;
|
|
12736
12736
|
(function(ContentOrigin2) {
|
|
12737
12737
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -12739,11 +12739,11 @@ var ContentOrigin;
|
|
|
12739
12739
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
12740
12740
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
12741
12741
|
|
|
12742
|
-
// bazel-out/
|
|
12742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12743
12743
|
import mapHelpers from "convert-source-map";
|
|
12744
12744
|
import { decode, encode } from "sourcemap-codec";
|
|
12745
12745
|
|
|
12746
|
-
// bazel-out/
|
|
12746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
12747
12747
|
function compareSegments(a, b) {
|
|
12748
12748
|
return a.position - b.position;
|
|
12749
12749
|
}
|
|
@@ -12763,7 +12763,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
12763
12763
|
return { line, column, position, next: void 0 };
|
|
12764
12764
|
}
|
|
12765
12765
|
|
|
12766
|
-
// bazel-out/
|
|
12766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
12767
12767
|
function removeSourceMapComments(contents) {
|
|
12768
12768
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
12769
12769
|
}
|
|
@@ -13014,7 +13014,7 @@ var Cache = class {
|
|
|
13014
13014
|
}
|
|
13015
13015
|
};
|
|
13016
13016
|
|
|
13017
|
-
// bazel-out/
|
|
13017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
13018
13018
|
import mapHelpers2 from "convert-source-map";
|
|
13019
13019
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
13020
13020
|
var SourceFileLoader = class {
|
|
@@ -13131,7 +13131,7 @@ var SourceFileLoader = class {
|
|
|
13131
13131
|
}
|
|
13132
13132
|
};
|
|
13133
13133
|
|
|
13134
|
-
// bazel-out/
|
|
13134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
13135
13135
|
function renderSourceAndMap(logger, fs5, sourceFile, generatedMagicString) {
|
|
13136
13136
|
var _a;
|
|
13137
13137
|
const sourceFilePath = absoluteFromSourceFile(sourceFile);
|
|
@@ -13165,7 +13165,7 @@ ${sourceMapComment}` },
|
|
|
13165
13165
|
}
|
|
13166
13166
|
}
|
|
13167
13167
|
|
|
13168
|
-
// bazel-out/
|
|
13168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
13169
13169
|
var DtsRenderInfo = class {
|
|
13170
13170
|
constructor() {
|
|
13171
13171
|
this.classInfo = [];
|
|
@@ -13266,14 +13266,14 @@ function markForEmitAsSingleLine2(node) {
|
|
|
13266
13266
|
ts106.forEachChild(node, markForEmitAsSingleLine2);
|
|
13267
13267
|
}
|
|
13268
13268
|
|
|
13269
|
-
// bazel-out/
|
|
13269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13270
13270
|
import { jsDocComment, WrappedNodeExpr as WrappedNodeExpr9, WritePropExpr } from "@angular/compiler";
|
|
13271
13271
|
import MagicString2 from "magic-string";
|
|
13272
13272
|
|
|
13273
|
-
// bazel-out/
|
|
13273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
13274
13274
|
var RedundantDecoratorMap = Map;
|
|
13275
13275
|
|
|
13276
|
-
// bazel-out/
|
|
13276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
13277
13277
|
var Renderer = class {
|
|
13278
13278
|
constructor(host, srcFormatter, fs5, logger, bundle, tsConfig = null) {
|
|
13279
13279
|
this.host = host;
|
|
@@ -13380,7 +13380,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
13380
13380
|
return statement;
|
|
13381
13381
|
}
|
|
13382
13382
|
|
|
13383
|
-
// bazel-out/
|
|
13383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
13384
13384
|
import ts107 from "typescript";
|
|
13385
13385
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
13386
13386
|
constructor(fs5, umdHost, isCore) {
|
|
@@ -13551,7 +13551,7 @@ function isTypeOf(node, ...types) {
|
|
|
13551
13551
|
return ts107.isBinaryExpression(node) && ts107.isTypeOfExpression(node.left) && ts107.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
13552
13552
|
}
|
|
13553
13553
|
|
|
13554
|
-
// bazel-out/
|
|
13554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
13555
13555
|
var Transformer = class {
|
|
13556
13556
|
constructor(fs5, logger, tsConfig = null) {
|
|
13557
13557
|
this.fs = fs5;
|
|
@@ -13635,7 +13635,7 @@ function hasErrors(diagnostics) {
|
|
|
13635
13635
|
return diagnostics.some((d) => d.category === ts108.DiagnosticCategory.Error);
|
|
13636
13636
|
}
|
|
13637
13637
|
|
|
13638
|
-
// bazel-out/
|
|
13638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
13639
13639
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
13640
13640
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
13641
13641
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -13651,7 +13651,7 @@ function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMess
|
|
|
13651
13651
|
onTaskCompleted(task, 1, `property \`${formatProperty}\` pointing to a missing or empty file: ${formatPath}`);
|
|
13652
13652
|
return;
|
|
13653
13653
|
}
|
|
13654
|
-
logger.info(
|
|
13654
|
+
logger.info(`- ${entryPoint.name} [${formatProperty}/${format}] (${entryPoint.repositoryUrl})`);
|
|
13655
13655
|
const bundle = makeEntryPointBundle(fileSystem, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, processDts, pathMappings, true, enableI18nLegacyMessageIdFormat);
|
|
13656
13656
|
const result = transformer.transform(bundle);
|
|
13657
13657
|
if (result.success) {
|
|
@@ -13674,10 +13674,10 @@ ${errors}`);
|
|
|
13674
13674
|
};
|
|
13675
13675
|
}
|
|
13676
13676
|
|
|
13677
|
-
// bazel-out/
|
|
13677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13678
13678
|
import cluster2 from "cluster";
|
|
13679
13679
|
|
|
13680
|
-
// bazel-out/
|
|
13680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
13681
13681
|
var PackageJsonUpdate = class {
|
|
13682
13682
|
constructor(writeChangesImpl) {
|
|
13683
13683
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -13743,7 +13743,7 @@ function positionProperty(ctx, prop, positioning) {
|
|
|
13743
13743
|
}
|
|
13744
13744
|
}
|
|
13745
13745
|
|
|
13746
|
-
// bazel-out/
|
|
13746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
13747
13747
|
import cluster from "cluster";
|
|
13748
13748
|
var sendMessageToMaster = (msg) => {
|
|
13749
13749
|
if (cluster.isMaster) {
|
|
@@ -13757,7 +13757,7 @@ var sendMessageToMaster = (msg) => {
|
|
|
13757
13757
|
});
|
|
13758
13758
|
};
|
|
13759
13759
|
|
|
13760
|
-
// bazel-out/
|
|
13760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/package_json_updater.mjs
|
|
13761
13761
|
var ClusterWorkerPackageJsonUpdater = class {
|
|
13762
13762
|
constructor() {
|
|
13763
13763
|
if (cluster2.isMaster) {
|
|
@@ -13784,13 +13784,13 @@ var ClusterWorkerPackageJsonUpdater = class {
|
|
|
13784
13784
|
}
|
|
13785
13785
|
};
|
|
13786
13786
|
|
|
13787
|
-
// bazel-out/
|
|
13787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13788
13788
|
import cluster3 from "cluster";
|
|
13789
13789
|
|
|
13790
|
-
// bazel-out/
|
|
13790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
13791
13791
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
13792
13792
|
|
|
13793
|
-
// bazel-out/
|
|
13793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/worker.mjs
|
|
13794
13794
|
async function startWorker(logger, createCompileFn) {
|
|
13795
13795
|
if (cluster3.isMaster) {
|
|
13796
13796
|
throw new Error("Tried to run cluster worker on the master process.");
|
|
@@ -13825,7 +13825,7 @@ async function startWorker(logger, createCompileFn) {
|
|
|
13825
13825
|
return new Promise(() => void 0);
|
|
13826
13826
|
}
|
|
13827
13827
|
|
|
13828
|
-
// bazel-out/
|
|
13828
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/ngcc_cluster_worker.mjs
|
|
13829
13829
|
(async () => {
|
|
13830
13830
|
process.title = "ngcc (worker)";
|
|
13831
13831
|
try {
|