@angular/compiler-cli 18.0.6 → 18.0.7
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-PWU4NHFU.js → chunk-3FYEXOWS.js} +13 -13
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-BLUBTRCD.js → chunk-FNQUZMW7.js} +43 -43
- package/bundles/{chunk-4B53GUJY.js → chunk-I4RVQ5MC.js} +132 -124
- package/bundles/chunk-I4RVQ5MC.js.map +6 -0
- package/bundles/{chunk-DSDKAUAS.js → chunk-IS2LPBWO.js} +5 -5
- package/bundles/{chunk-XSV3ZGZJ.js → chunk-QCOFEAR4.js} +31 -31
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-6X2NNIEJ.js → chunk-SFKDQKE5.js} +5 -5
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/{chunk-6URKYGDE.js → chunk-Y7DKRD2S.js} +78 -78
- 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/bundles/chunk-4B53GUJY.js.map +0 -6
- /package/bundles/{chunk-PWU4NHFU.js.map → chunk-3FYEXOWS.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-BLUBTRCD.js.map → chunk-FNQUZMW7.js.map} +0 -0
- /package/bundles/{chunk-DSDKAUAS.js.map → chunk-IS2LPBWO.js.map} +0 -0
- /package/bundles/{chunk-XSV3ZGZJ.js.map → chunk-QCOFEAR4.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-6X2NNIEJ.js.map → chunk-SFKDQKE5.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
- /package/bundles/{chunk-6URKYGDE.js.map → chunk-Y7DKRD2S.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Y7DKRD2S.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-FNQUZMW7.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-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";
|
|
@@ -325,10 +325,10 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
325
325
|
return ts.setOriginalNode(clone, node);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
// bazel-out/
|
|
328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
329
329
|
import ts4 from "typescript";
|
|
330
330
|
|
|
331
|
-
// bazel-out/
|
|
331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
332
332
|
import ts2 from "typescript";
|
|
333
333
|
function createSyntheticAngularCoreDecoratorAccess(factory, importManager, ngClassDecorator, sourceFile, decoratorName) {
|
|
334
334
|
const classDecoratorIdentifier = ts2.isIdentifier(ngClassDecorator.identifier) ? ngClassDecorator.identifier : ngClassDecorator.identifier.expression;
|
|
@@ -345,7 +345,7 @@ function castAsAny(factory, expr) {
|
|
|
345
345
|
return factory.createAsExpression(expr, factory.createKeywordTypeNode(ts2.SyntaxKind.AnyKeyword));
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/input_function.mjs
|
|
349
349
|
var signalInputsTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
350
350
|
var _a, _b;
|
|
351
351
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Input", isCore))) {
|
|
@@ -368,7 +368,7 @@ var signalInputsTransform = (member, host, factory, importTracker, importManager
|
|
|
368
368
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
369
369
|
};
|
|
370
370
|
|
|
371
|
-
// bazel-out/
|
|
371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
372
372
|
import ts3 from "typescript";
|
|
373
373
|
var signalModelTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
374
374
|
var _a, _b;
|
|
@@ -403,7 +403,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
|
|
|
403
403
|
return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/output_function.mjs
|
|
407
407
|
var initializerApiOutputTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
408
408
|
var _a, _b;
|
|
409
409
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Output", isCore))) {
|
|
@@ -418,7 +418,7 @@ var initializerApiOutputTransform = (member, host, factory, importTracker, impor
|
|
|
418
418
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
419
419
|
};
|
|
420
420
|
|
|
421
|
-
// bazel-out/
|
|
421
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/query_functions.mjs
|
|
422
422
|
var queryFunctionToDecorator = {
|
|
423
423
|
viewChild: "ViewChild",
|
|
424
424
|
viewChildren: "ViewChildren",
|
|
@@ -452,7 +452,7 @@ var queryFunctionsTransforms = (member, host, factory, importTracker, importMana
|
|
|
452
452
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
453
453
|
};
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
456
456
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
457
457
|
var propertyTransforms = [
|
|
458
458
|
signalInputsTransform,
|
|
@@ -504,7 +504,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore)
|
|
|
504
504
|
return visitor;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
// bazel-out/
|
|
507
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/index.mjs
|
|
508
508
|
function angularJitApplicationTransform(program, isCore = false) {
|
|
509
509
|
const typeChecker = program.getTypeChecker();
|
|
510
510
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -526,7 +526,7 @@ function angularJitApplicationTransform(program, isCore = false) {
|
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
// bazel-out/
|
|
529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
530
530
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
531
531
|
ngDevMode: false,
|
|
532
532
|
ngI18nClosureMode: false
|
|
@@ -554,4 +554,4 @@ export {
|
|
|
554
554
|
* Use of this source code is governed by an MIT-style license that can be
|
|
555
555
|
* found in the LICENSE file at https://angular.io/license
|
|
556
556
|
*/
|
|
557
|
-
//# sourceMappingURL=chunk-
|
|
557
|
+
//# sourceMappingURL=chunk-3FYEXOWS.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -71,7 +71,7 @@ var PerfCheckpoint;
|
|
|
71
71
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
72
72
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
75
75
|
var NoopPerfRecorder = class {
|
|
76
76
|
eventCount() {
|
|
77
77
|
}
|
|
@@ -88,7 +88,7 @@ var NoopPerfRecorder = class {
|
|
|
88
88
|
};
|
|
89
89
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
90
90
|
|
|
91
|
-
// bazel-out/
|
|
91
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
92
92
|
function mark() {
|
|
93
93
|
return process.hrtime();
|
|
94
94
|
}
|
|
@@ -97,7 +97,7 @@ function timeSinceInMicros(mark2) {
|
|
|
97
97
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
// bazel-out/
|
|
100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
101
101
|
var ActivePerfRecorder = class {
|
|
102
102
|
static zeroedToNow() {
|
|
103
103
|
return new ActivePerfRecorder(mark());
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
* Use of this source code is governed by an MIT-style license that can be
|
|
206
206
|
* found in the LICENSE file at https://angular.io/license
|
|
207
207
|
*/
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-AQFTVE7F.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XNL3EK5H.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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";
|
|
@@ -110,7 +110,7 @@ var ErrorCode;
|
|
|
110
110
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
111
111
|
})(ErrorCode || (ErrorCode = {}));
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
114
114
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
115
115
|
function replaceTsWithNgInErrors(errors) {
|
|
116
116
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -119,7 +119,7 @@ function ngErrorCode(code) {
|
|
|
119
119
|
return parseInt("-99" + code);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
123
123
|
var FatalDiagnosticError = class extends Error {
|
|
124
124
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
125
125
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -183,7 +183,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
183
183
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
187
187
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
188
188
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
189
189
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -195,10 +195,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
195
195
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
196
196
|
]);
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
199
199
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
202
202
|
var ExtendedTemplateDiagnosticName;
|
|
203
203
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
204
204
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -213,10 +213,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
213
213
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
214
214
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
217
217
|
import ts5 from "typescript";
|
|
218
218
|
|
|
219
|
-
// bazel-out/
|
|
219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
220
220
|
import ts2 from "typescript";
|
|
221
221
|
function isDecoratorIdentifier(exp) {
|
|
222
222
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -239,7 +239,7 @@ var ClassMemberAccessLevel;
|
|
|
239
239
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
240
240
|
var AmbientImport = {};
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
243
243
|
import ts3 from "typescript";
|
|
244
244
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
245
245
|
var _a, _b;
|
|
@@ -412,7 +412,7 @@ function extractModuleName(node) {
|
|
|
412
412
|
return node.moduleSpecifier.text;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
// bazel-out/
|
|
415
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
416
416
|
import ts4 from "typescript";
|
|
417
417
|
function isNamedClassDeclaration(node) {
|
|
418
418
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -436,7 +436,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
// bazel-out/
|
|
439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
440
440
|
var TypeScriptReflectionHost = class {
|
|
441
441
|
constructor(checker, isLocalCompilation = false) {
|
|
442
442
|
this.checker = checker;
|
|
@@ -924,7 +924,7 @@ function getExportedName(decl, originalId) {
|
|
|
924
924
|
}
|
|
925
925
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
926
926
|
|
|
927
|
-
// bazel-out/
|
|
927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
928
928
|
import ts6 from "typescript";
|
|
929
929
|
var TS = /\.tsx?$/i;
|
|
930
930
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1025,7 +1025,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1025
1025
|
return redirectInfo.unredirected;
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
-
// bazel-out/
|
|
1028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1029
1029
|
var Reference = class {
|
|
1030
1030
|
constructor(node, bestGuessOwningModule = null) {
|
|
1031
1031
|
this.node = node;
|
|
@@ -1094,14 +1094,14 @@ var Reference = class {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// bazel-out/
|
|
1097
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1098
1098
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1099
1099
|
|
|
1100
|
-
// bazel-out/
|
|
1100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1101
1101
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1102
1102
|
import ts7 from "typescript";
|
|
1103
1103
|
|
|
1104
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1105
1105
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1106
1106
|
const exports = reflector.getExportsOfModule(file);
|
|
1107
1107
|
if (exports === null) {
|
|
@@ -1121,7 +1121,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1121
1121
|
return foundExportName;
|
|
1122
1122
|
}
|
|
1123
1123
|
|
|
1124
|
-
// bazel-out/
|
|
1124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1125
1125
|
var ImportFlags;
|
|
1126
1126
|
(function(ImportFlags2) {
|
|
1127
1127
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1352,7 +1352,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
};
|
|
1354
1354
|
|
|
1355
|
-
// bazel-out/
|
|
1355
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1356
1356
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1357
1357
|
var UnifiedModulesAliasingHost = class {
|
|
1358
1358
|
constructor(unifiedModulesHost) {
|
|
@@ -1419,7 +1419,7 @@ var AliasStrategy = class {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
};
|
|
1421
1421
|
|
|
1422
|
-
// bazel-out/
|
|
1422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1423
1423
|
function relativePathBetween(from, to) {
|
|
1424
1424
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1425
1425
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1428,7 +1428,7 @@ function normalizeSeparators(path) {
|
|
|
1428
1428
|
return path.replace(/\\/g, "/");
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
|
-
// bazel-out/
|
|
1431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1432
1432
|
var NoopImportRewriter = class {
|
|
1433
1433
|
rewriteSymbol(symbol, specifier) {
|
|
1434
1434
|
return symbol;
|
|
@@ -1481,7 +1481,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1481
1481
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
|
-
// bazel-out/
|
|
1484
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1485
1485
|
import ts8 from "typescript";
|
|
1486
1486
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1487
1487
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1516,7 +1516,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1516
1516
|
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.");
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1520
1520
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1521
1521
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1522
1522
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1557,7 +1557,7 @@ var DefaultImportTracker = class {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
};
|
|
1559
1559
|
|
|
1560
|
-
// bazel-out/
|
|
1560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1561
1561
|
import ts9 from "typescript";
|
|
1562
1562
|
var AssumeEager = "AssumeEager";
|
|
1563
1563
|
var DeferredSymbolTracker = class {
|
|
@@ -1678,7 +1678,7 @@ var DeferredSymbolTracker = class {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
};
|
|
1680
1680
|
|
|
1681
|
-
// bazel-out/
|
|
1681
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1682
1682
|
import ts10 from "typescript";
|
|
1683
1683
|
var ImportedSymbolsTracker = class {
|
|
1684
1684
|
constructor() {
|
|
@@ -1748,7 +1748,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
1750
|
|
|
1751
|
-
// bazel-out/
|
|
1751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1752
1752
|
import ts11 from "typescript";
|
|
1753
1753
|
var LocalCompilationExtraImportsTracker = class {
|
|
1754
1754
|
constructor(typeChecker) {
|
|
@@ -1792,7 +1792,7 @@ function removeQuotations(s) {
|
|
|
1792
1792
|
return s.substring(1, s.length - 1).trim();
|
|
1793
1793
|
}
|
|
1794
1794
|
|
|
1795
|
-
// bazel-out/
|
|
1795
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1796
1796
|
var ModuleResolver = class {
|
|
1797
1797
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1798
1798
|
this.program = program;
|
|
@@ -1809,10 +1809,10 @@ var ModuleResolver = class {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
};
|
|
1811
1811
|
|
|
1812
|
-
// bazel-out/
|
|
1812
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1813
1813
|
import ts16 from "typescript";
|
|
1814
1814
|
|
|
1815
|
-
// bazel-out/
|
|
1815
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1816
1816
|
import ts12 from "typescript";
|
|
1817
1817
|
function createGenerateUniqueIdentifierHelper() {
|
|
1818
1818
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1838,7 +1838,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1838
1838
|
};
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
|
-
// bazel-out/
|
|
1841
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1842
1842
|
import ts13 from "typescript";
|
|
1843
1843
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1844
1844
|
return (ctx) => {
|
|
@@ -1899,7 +1899,7 @@ function isImportStatement(stmt) {
|
|
|
1899
1899
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
-
// bazel-out/
|
|
1902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1903
1903
|
import ts14 from "typescript";
|
|
1904
1904
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1905
1905
|
const requestHash = hashImportRequest(request);
|
|
@@ -1926,7 +1926,7 @@ function hashImportRequest(req) {
|
|
|
1926
1926
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
// bazel-out/
|
|
1929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1930
1930
|
import ts15 from "typescript";
|
|
1931
1931
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1932
1932
|
let candidateImportToBeUpdated = null;
|
|
@@ -1979,7 +1979,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1979
1979
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
// bazel-out/
|
|
1982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1983
1983
|
var presetImportManagerForceNamespaceImports = {
|
|
1984
1984
|
disableOriginalSourceFileReuse: true,
|
|
1985
1985
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2129,7 +2129,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
2131
|
|
|
2132
|
-
// bazel-out/
|
|
2132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2133
2133
|
var Context = class {
|
|
2134
2134
|
constructor(isStatement) {
|
|
2135
2135
|
this.isStatement = isStatement;
|
|
@@ -2142,7 +2142,7 @@ var Context = class {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
};
|
|
2144
2144
|
|
|
2145
|
-
// bazel-out/
|
|
2145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2146
2146
|
import * as o from "@angular/compiler";
|
|
2147
2147
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2148
2148
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2388,7 +2388,7 @@ function createRange(span) {
|
|
|
2388
2388
|
};
|
|
2389
2389
|
}
|
|
2390
2390
|
|
|
2391
|
-
// bazel-out/
|
|
2391
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2392
2392
|
import ts17 from "typescript";
|
|
2393
2393
|
var INELIGIBLE = {};
|
|
2394
2394
|
function canEmitType(type, canEmit) {
|
|
@@ -2463,11 +2463,11 @@ var TypeEmitter = class {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
2465
|
|
|
2466
|
-
// bazel-out/
|
|
2466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2467
2467
|
import * as o2 from "@angular/compiler";
|
|
2468
2468
|
import ts19 from "typescript";
|
|
2469
2469
|
|
|
2470
|
-
// bazel-out/
|
|
2470
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2471
2471
|
import ts18 from "typescript";
|
|
2472
2472
|
function tsNumericExpression(value) {
|
|
2473
2473
|
if (value < 0) {
|
|
@@ -2477,7 +2477,7 @@ function tsNumericExpression(value) {
|
|
|
2477
2477
|
return ts18.factory.createNumericLiteral(value);
|
|
2478
2478
|
}
|
|
2479
2479
|
|
|
2480
|
-
// bazel-out/
|
|
2480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2481
2481
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2482
2482
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2483
2483
|
}
|
|
@@ -2694,7 +2694,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
};
|
|
2696
2696
|
|
|
2697
|
-
// bazel-out/
|
|
2697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2698
2698
|
import ts20 from "typescript";
|
|
2699
2699
|
var PureAnnotation;
|
|
2700
2700
|
(function(PureAnnotation2) {
|
|
@@ -2897,7 +2897,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
}
|
|
2899
2899
|
|
|
2900
|
-
// bazel-out/
|
|
2900
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2901
2901
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2902
2902
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2903
2903
|
}
|
|
@@ -2994,4 +2994,4 @@ export {
|
|
|
2994
2994
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2995
2995
|
* found in the LICENSE file at https://angular.io/license
|
|
2996
2996
|
*/
|
|
2997
|
-
//# sourceMappingURL=chunk-
|
|
2997
|
+
//# sourceMappingURL=chunk-FNQUZMW7.js.map
|