@angular/compiler-cli 18.0.0-next.5 → 18.0.0-next.6
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/{chunk-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-IEQXFDXI.js → chunk-5YGSPVK5.js} +31 -31
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-QT2OXMUI.js → chunk-A2LVDCHW.js} +78 -78
- package/bundles/{chunk-DZJYWOMD.js → chunk-CU5WWBVV.js} +13 -13
- package/bundles/{chunk-GWZTRBUN.js → chunk-HE4PX3Z3.js} +43 -43
- package/bundles/{chunk-AO7Q5KNS.js → chunk-JJY5IERQ.js} +128 -121
- package/bundles/chunk-JJY5IERQ.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-QFI3O2MX.js → chunk-QWOTSGRF.js} +5 -5
- package/bundles/{chunk-75YFKYUJ.js → chunk-UM6JO3VZ.js} +7 -7
- package/bundles/{chunk-YUMIYLNL.js → chunk-XIYC7KSQ.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/bundles/chunk-AO7Q5KNS.js.map +0 -6
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-IEQXFDXI.js.map → chunk-5YGSPVK5.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-QT2OXMUI.js.map → chunk-A2LVDCHW.js.map} +0 -0
- /package/bundles/{chunk-DZJYWOMD.js.map → chunk-CU5WWBVV.js.map} +0 -0
- /package/bundles/{chunk-GWZTRBUN.js.map → chunk-HE4PX3Z3.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-QFI3O2MX.js.map → chunk-QWOTSGRF.js.map} +0 -0
- /package/bundles/{chunk-75YFKYUJ.js.map → chunk-UM6JO3VZ.js.map} +0 -0
- /package/bundles/{chunk-YUMIYLNL.js.map → chunk-XIYC7KSQ.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A2LVDCHW.js";
|
|
14
14
|
import {
|
|
15
15
|
ImportManager,
|
|
16
16
|
ImportedSymbolsTracker,
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
isAliasImportDeclaration,
|
|
19
19
|
loadIsReferencedAliasDeclarationPatch,
|
|
20
20
|
reflectClassMember
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HE4PX3Z3.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
24
24
|
import ts from "typescript";
|
|
25
25
|
function isAngularDecorator2(decorator, isCore) {
|
|
26
26
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -323,10 +323,10 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
323
323
|
return ts.setOriginalNode(clone, node);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
// bazel-out/
|
|
326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
327
327
|
import ts4 from "typescript";
|
|
328
328
|
|
|
329
|
-
// bazel-out/
|
|
329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
330
330
|
import ts2 from "typescript";
|
|
331
331
|
function createSyntheticAngularCoreDecoratorAccess(factory, importManager, ngClassDecorator, sourceFile, decoratorName) {
|
|
332
332
|
const classDecoratorIdentifier = ts2.isIdentifier(ngClassDecorator.identifier) ? ngClassDecorator.identifier : ngClassDecorator.identifier.expression;
|
|
@@ -343,7 +343,7 @@ function castAsAny(factory, expr) {
|
|
|
343
343
|
return factory.createAsExpression(expr, factory.createKeywordTypeNode(ts2.SyntaxKind.AnyKeyword));
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
// bazel-out/
|
|
346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/input_function.mjs
|
|
347
347
|
var signalInputsTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
348
348
|
var _a, _b;
|
|
349
349
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Input", isCore))) {
|
|
@@ -366,7 +366,7 @@ var signalInputsTransform = (member, host, factory, importTracker, importManager
|
|
|
366
366
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
// bazel-out/
|
|
369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
370
370
|
import ts3 from "typescript";
|
|
371
371
|
var signalModelTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
372
372
|
var _a, _b;
|
|
@@ -401,7 +401,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
|
|
|
401
401
|
return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
// bazel-out/
|
|
404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/output_function.mjs
|
|
405
405
|
var initializerApiOutputTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
406
406
|
var _a, _b;
|
|
407
407
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Output", isCore))) {
|
|
@@ -416,7 +416,7 @@ var initializerApiOutputTransform = (member, host, factory, importTracker, impor
|
|
|
416
416
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
417
417
|
};
|
|
418
418
|
|
|
419
|
-
// bazel-out/
|
|
419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/query_functions.mjs
|
|
420
420
|
var queryFunctionToDecorator = {
|
|
421
421
|
viewChild: "ViewChild",
|
|
422
422
|
viewChildren: "ViewChildren",
|
|
@@ -450,7 +450,7 @@ var queryFunctionsTransforms = (member, host, factory, importTracker, importMana
|
|
|
450
450
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
451
451
|
};
|
|
452
452
|
|
|
453
|
-
// bazel-out/
|
|
453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
454
454
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
455
455
|
var propertyTransforms = [
|
|
456
456
|
signalInputsTransform,
|
|
@@ -501,7 +501,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore)
|
|
|
501
501
|
return visitor;
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
// bazel-out/
|
|
504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/index.mjs
|
|
505
505
|
function angularJitApplicationTransform(program, isCore = false) {
|
|
506
506
|
const typeChecker = program.getTypeChecker();
|
|
507
507
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -523,7 +523,7 @@ function angularJitApplicationTransform(program, isCore = false) {
|
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
// bazel-out/
|
|
526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
527
527
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
528
528
|
ngDevMode: false,
|
|
529
529
|
ngI18nClosureMode: false
|
|
@@ -551,4 +551,4 @@ export {
|
|
|
551
551
|
* Use of this source code is governed by an MIT-style license that can be
|
|
552
552
|
* found in the LICENSE file at https://angular.io/license
|
|
553
553
|
*/
|
|
554
|
-
//# sourceMappingURL=chunk-
|
|
554
|
+
//# sourceMappingURL=chunk-CU5WWBVV.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
21
21
|
var ErrorCode;
|
|
22
22
|
(function(ErrorCode2) {
|
|
23
23
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -107,7 +107,7 @@ var ErrorCode;
|
|
|
107
107
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
108
108
|
})(ErrorCode || (ErrorCode = {}));
|
|
109
109
|
|
|
110
|
-
// bazel-out/
|
|
110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
111
111
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
112
112
|
function replaceTsWithNgInErrors(errors) {
|
|
113
113
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -116,7 +116,7 @@ function ngErrorCode(code) {
|
|
|
116
116
|
return parseInt("-99" + code);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
// bazel-out/
|
|
119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
120
120
|
var FatalDiagnosticError = class extends Error {
|
|
121
121
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
122
122
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -180,7 +180,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
180
180
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
184
184
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
185
185
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
186
186
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -192,10 +192,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
192
192
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
193
193
|
]);
|
|
194
194
|
|
|
195
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
196
196
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
199
199
|
var ExtendedTemplateDiagnosticName;
|
|
200
200
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
201
201
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -210,10 +210,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
210
210
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
211
211
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
214
214
|
import ts5 from "typescript";
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
217
217
|
import ts2 from "typescript";
|
|
218
218
|
function isDecoratorIdentifier(exp) {
|
|
219
219
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -236,7 +236,7 @@ var ClassMemberAccessLevel;
|
|
|
236
236
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
237
237
|
var AmbientImport = {};
|
|
238
238
|
|
|
239
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
240
240
|
import ts3 from "typescript";
|
|
241
241
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
242
242
|
var _a, _b;
|
|
@@ -409,7 +409,7 @@ function extractModuleName(node) {
|
|
|
409
409
|
return node.moduleSpecifier.text;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
413
413
|
import ts4 from "typescript";
|
|
414
414
|
function isNamedClassDeclaration(node) {
|
|
415
415
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -433,7 +433,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
// bazel-out/
|
|
436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
437
437
|
var TypeScriptReflectionHost = class {
|
|
438
438
|
constructor(checker, isLocalCompilation = false) {
|
|
439
439
|
this.checker = checker;
|
|
@@ -921,7 +921,7 @@ function getExportedName(decl, originalId) {
|
|
|
921
921
|
}
|
|
922
922
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
925
925
|
import ts6 from "typescript";
|
|
926
926
|
var TS = /\.tsx?$/i;
|
|
927
927
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1022,7 +1022,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1022
1022
|
return redirectInfo.unredirected;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// bazel-out/
|
|
1025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1026
1026
|
var Reference = class {
|
|
1027
1027
|
constructor(node, bestGuessOwningModule = null) {
|
|
1028
1028
|
this.node = node;
|
|
@@ -1091,14 +1091,14 @@ var Reference = class {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1095
1095
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1096
1096
|
|
|
1097
|
-
// bazel-out/
|
|
1097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1098
1098
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1099
1099
|
import ts7 from "typescript";
|
|
1100
1100
|
|
|
1101
|
-
// bazel-out/
|
|
1101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1102
1102
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1103
1103
|
const exports = reflector.getExportsOfModule(file);
|
|
1104
1104
|
if (exports === null) {
|
|
@@ -1118,7 +1118,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1118
1118
|
return foundExportName;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
|
-
// bazel-out/
|
|
1121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1122
1122
|
var ImportFlags;
|
|
1123
1123
|
(function(ImportFlags2) {
|
|
1124
1124
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1347,7 +1347,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
|
-
// bazel-out/
|
|
1350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1351
1351
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1352
1352
|
var UnifiedModulesAliasingHost = class {
|
|
1353
1353
|
constructor(unifiedModulesHost) {
|
|
@@ -1414,7 +1414,7 @@ var AliasStrategy = class {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
// bazel-out/
|
|
1417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1418
1418
|
function relativePathBetween(from, to) {
|
|
1419
1419
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1420
1420
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1423,7 +1423,7 @@ function normalizeSeparators(path) {
|
|
|
1423
1423
|
return path.replace(/\\/g, "/");
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
// bazel-out/
|
|
1426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1427
1427
|
var NoopImportRewriter = class {
|
|
1428
1428
|
rewriteSymbol(symbol, specifier) {
|
|
1429
1429
|
return symbol;
|
|
@@ -1476,7 +1476,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1476
1476
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
|
-
// bazel-out/
|
|
1479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1480
1480
|
import ts8 from "typescript";
|
|
1481
1481
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1482
1482
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1511,7 +1511,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1511
1511
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
|
-
// bazel-out/
|
|
1514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1515
1515
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1516
1516
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1517
1517
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1552,7 +1552,7 @@ var DefaultImportTracker = class {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
|
|
1555
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1556
1556
|
import ts9 from "typescript";
|
|
1557
1557
|
var AssumeEager = "AssumeEager";
|
|
1558
1558
|
var DeferredSymbolTracker = class {
|
|
@@ -1673,7 +1673,7 @@ var DeferredSymbolTracker = class {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
|
-
// bazel-out/
|
|
1676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1677
1677
|
import ts10 from "typescript";
|
|
1678
1678
|
var ImportedSymbolsTracker = class {
|
|
1679
1679
|
constructor() {
|
|
@@ -1743,7 +1743,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
1745
|
|
|
1746
|
-
// bazel-out/
|
|
1746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1747
1747
|
import ts11 from "typescript";
|
|
1748
1748
|
var LocalCompilationExtraImportsTracker = class {
|
|
1749
1749
|
constructor(typeChecker) {
|
|
@@ -1790,7 +1790,7 @@ function removeQuotations(s) {
|
|
|
1790
1790
|
return s.substring(1, s.length - 1).trim();
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
|
-
// bazel-out/
|
|
1793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1794
1794
|
var ModuleResolver = class {
|
|
1795
1795
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1796
1796
|
this.program = program;
|
|
@@ -1807,10 +1807,10 @@ var ModuleResolver = class {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
};
|
|
1809
1809
|
|
|
1810
|
-
// bazel-out/
|
|
1810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1811
1811
|
import ts16 from "typescript";
|
|
1812
1812
|
|
|
1813
|
-
// bazel-out/
|
|
1813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1814
1814
|
import ts12 from "typescript";
|
|
1815
1815
|
function createGenerateUniqueIdentifierHelper() {
|
|
1816
1816
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1834,7 +1834,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
1836
|
|
|
1837
|
-
// bazel-out/
|
|
1837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1838
1838
|
import ts13 from "typescript";
|
|
1839
1839
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1840
1840
|
return (ctx) => {
|
|
@@ -1892,7 +1892,7 @@ function isImportStatement(stmt) {
|
|
|
1892
1892
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1893
1893
|
}
|
|
1894
1894
|
|
|
1895
|
-
// bazel-out/
|
|
1895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1896
1896
|
import ts14 from "typescript";
|
|
1897
1897
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1898
1898
|
const requestHash = hashImportRequest(request);
|
|
@@ -1919,7 +1919,7 @@ function hashImportRequest(req) {
|
|
|
1919
1919
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
1922
|
-
// bazel-out/
|
|
1922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1923
1923
|
import ts15 from "typescript";
|
|
1924
1924
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1925
1925
|
let candidateImportToBeUpdated = null;
|
|
@@ -1972,7 +1972,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1972
1972
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1973
1973
|
}
|
|
1974
1974
|
|
|
1975
|
-
// bazel-out/
|
|
1975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1976
1976
|
var presetImportManagerForceNamespaceImports = {
|
|
1977
1977
|
disableOriginalSourceFileReuse: true,
|
|
1978
1978
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2122,7 +2122,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
2124
2124
|
|
|
2125
|
-
// bazel-out/
|
|
2125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2126
2126
|
var Context = class {
|
|
2127
2127
|
constructor(isStatement) {
|
|
2128
2128
|
this.isStatement = isStatement;
|
|
@@ -2135,7 +2135,7 @@ var Context = class {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
};
|
|
2137
2137
|
|
|
2138
|
-
// bazel-out/
|
|
2138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2139
2139
|
import * as o from "@angular/compiler";
|
|
2140
2140
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2141
2141
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2381,7 +2381,7 @@ function createRange(span) {
|
|
|
2381
2381
|
};
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// bazel-out/
|
|
2384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2385
2385
|
import ts17 from "typescript";
|
|
2386
2386
|
var INELIGIBLE = {};
|
|
2387
2387
|
function canEmitType(type, canEmit) {
|
|
@@ -2456,11 +2456,11 @@ var TypeEmitter = class {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
};
|
|
2458
2458
|
|
|
2459
|
-
// bazel-out/
|
|
2459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2460
2460
|
import * as o2 from "@angular/compiler";
|
|
2461
2461
|
import ts19 from "typescript";
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2464
2464
|
import ts18 from "typescript";
|
|
2465
2465
|
function tsNumericExpression(value) {
|
|
2466
2466
|
if (value < 0) {
|
|
@@ -2470,7 +2470,7 @@ function tsNumericExpression(value) {
|
|
|
2470
2470
|
return ts18.factory.createNumericLiteral(value);
|
|
2471
2471
|
}
|
|
2472
2472
|
|
|
2473
|
-
// bazel-out/
|
|
2473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2474
2474
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2475
2475
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2476
2476
|
}
|
|
@@ -2687,7 +2687,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
};
|
|
2689
2689
|
|
|
2690
|
-
// bazel-out/
|
|
2690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2691
2691
|
import ts20 from "typescript";
|
|
2692
2692
|
var PureAnnotation;
|
|
2693
2693
|
(function(PureAnnotation2) {
|
|
@@ -2884,7 +2884,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2884
2884
|
}
|
|
2885
2885
|
}
|
|
2886
2886
|
|
|
2887
|
-
// bazel-out/
|
|
2887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2888
2888
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2889
2889
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2890
2890
|
}
|
|
@@ -2981,4 +2981,4 @@ export {
|
|
|
2981
2981
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2982
2982
|
* found in the LICENSE file at https://angular.io/license
|
|
2983
2983
|
*/
|
|
2984
|
-
//# sourceMappingURL=chunk-
|
|
2984
|
+
//# sourceMappingURL=chunk-HE4PX3Z3.js.map
|