@angular/compiler-cli 19.2.16 → 19.2.18
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-TBVHQD5I.js → chunk-2PYABK44.js} +12 -12
- package/bundles/{chunk-2BEPK62B.js → chunk-6JLQ22O6.js} +42 -42
- package/bundles/{chunk-D7R5IUYZ.js → chunk-BSAOKZSO.js} +125 -125
- package/bundles/{chunk-VLERTDN5.js → chunk-ERYCP7NI.js} +8 -8
- package/bundles/{chunk-SEKYV57I.js → chunk-H5Y7P5GQ.js} +3 -3
- package/bundles/{chunk-ODOQAUXK.js → chunk-LHXVN5NW.js} +31 -31
- package/bundles/{chunk-PML5JK7B.js → chunk-NVYT6OPE.js} +7 -7
- package/bundles/{chunk-DM3NCMH5.js → chunk-U2T5FMHX.js} +81 -81
- package/bundles/{chunk-26NO4MZH.js → chunk-WUCT7QTW.js} +5 -5
- package/bundles/{chunk-75G4WXBH.js → chunk-Y7CS6SFM.js} +3 -3
- package/bundles/{chunk-7MFRAVPH.js → chunk-ZVOTQFMG.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 +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-TBVHQD5I.js.map → chunk-2PYABK44.js.map} +0 -0
- /package/bundles/{chunk-2BEPK62B.js.map → chunk-6JLQ22O6.js.map} +0 -0
- /package/bundles/{chunk-D7R5IUYZ.js.map → chunk-BSAOKZSO.js.map} +0 -0
- /package/bundles/{chunk-VLERTDN5.js.map → chunk-ERYCP7NI.js.map} +0 -0
- /package/bundles/{chunk-SEKYV57I.js.map → chunk-H5Y7P5GQ.js.map} +0 -0
- /package/bundles/{chunk-ODOQAUXK.js.map → chunk-LHXVN5NW.js.map} +0 -0
- /package/bundles/{chunk-PML5JK7B.js.map → chunk-NVYT6OPE.js.map} +0 -0
- /package/bundles/{chunk-DM3NCMH5.js.map → chunk-U2T5FMHX.js.map} +0 -0
- /package/bundles/{chunk-26NO4MZH.js.map → chunk-WUCT7QTW.js.map} +0 -0
- /package/bundles/{chunk-75G4WXBH.js.map → chunk-Y7CS6SFM.js.map} +0 -0
- /package/bundles/{chunk-7MFRAVPH.js.map → chunk-ZVOTQFMG.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BSAOKZSO.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-6JLQ22O6.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.js
|
|
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/ngtsc/transform/jit/src/initializer_api_transforms/transform.js
|
|
329
329
|
import ts4 from "typescript";
|
|
330
330
|
|
|
331
|
-
// bazel-out/
|
|
331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.js
|
|
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/ngtsc/transform/jit/src/initializer_api_transforms/input_function.js
|
|
349
349
|
var signalInputsTransform = (member, sourceFile, 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))) {
|
|
@@ -367,7 +367,7 @@ var signalInputsTransform = (member, sourceFile, host, factory, importTracker, i
|
|
|
367
367
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
368
368
|
};
|
|
369
369
|
|
|
370
|
-
// bazel-out/
|
|
370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.js
|
|
371
371
|
import ts3 from "typescript";
|
|
372
372
|
var signalModelTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
373
373
|
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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.js
|
|
405
405
|
var initializerApiOutputTransform = (member, sourceFile, 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))) {
|
|
@@ -415,7 +415,7 @@ var initializerApiOutputTransform = (member, sourceFile, host, factory, importTr
|
|
|
415
415
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
// bazel-out/
|
|
418
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.js
|
|
419
419
|
var queryFunctionToDecorator = {
|
|
420
420
|
viewChild: "ViewChild",
|
|
421
421
|
viewChildren: "ViewChildren",
|
|
@@ -448,7 +448,7 @@ var queryFunctionsTransforms = (member, sourceFile, host, factory, importTracker
|
|
|
448
448
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.js
|
|
452
452
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
453
453
|
var propertyTransforms = [
|
|
454
454
|
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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.js
|
|
505
505
|
function angularJitApplicationTransform(program, isCore = false, shouldTransformClass) {
|
|
506
506
|
const typeChecker = program.getTypeChecker();
|
|
507
507
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -536,4 +536,4 @@ export {
|
|
|
536
536
|
* Use of this source code is governed by an MIT-style license that can be
|
|
537
537
|
* found in the LICENSE file at https://angular.dev/license
|
|
538
538
|
*/
|
|
539
|
-
//# sourceMappingURL=chunk-
|
|
539
|
+
//# sourceMappingURL=chunk-2PYABK44.js.map
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ERYCP7NI.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.js
|
|
18
18
|
var ErrorCode;
|
|
19
19
|
(function(ErrorCode2) {
|
|
20
20
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -112,7 +112,7 @@ var ErrorCode;
|
|
|
112
112
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
113
113
|
})(ErrorCode || (ErrorCode = {}));
|
|
114
114
|
|
|
115
|
-
// bazel-out/
|
|
115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.js
|
|
116
116
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
117
117
|
function replaceTsWithNgInErrors(errors) {
|
|
118
118
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -121,7 +121,7 @@ function ngErrorCode(code) {
|
|
|
121
121
|
return parseInt("-99" + code);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.js
|
|
125
125
|
import ts from "typescript";
|
|
126
126
|
var FatalDiagnosticError = class extends Error {
|
|
127
127
|
code;
|
|
@@ -190,7 +190,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
190
190
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
// bazel-out/
|
|
193
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.js
|
|
194
194
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
195
195
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
196
196
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -202,10 +202,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
202
202
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
203
203
|
]);
|
|
204
204
|
|
|
205
|
-
// bazel-out/
|
|
205
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.js
|
|
206
206
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.js
|
|
209
209
|
var ExtendedTemplateDiagnosticName;
|
|
210
210
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
211
211
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -223,10 +223,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
223
223
|
ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
|
|
224
224
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
227
227
|
import ts5 from "typescript";
|
|
228
228
|
|
|
229
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.js
|
|
230
230
|
import ts2 from "typescript";
|
|
231
231
|
function isDecoratorIdentifier(exp) {
|
|
232
232
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -249,7 +249,7 @@ var ClassMemberAccessLevel;
|
|
|
249
249
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
250
250
|
var AmbientImport = {};
|
|
251
251
|
|
|
252
|
-
// bazel-out/
|
|
252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.js
|
|
253
253
|
import ts3 from "typescript";
|
|
254
254
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
255
255
|
var _a, _b;
|
|
@@ -433,7 +433,7 @@ function extractModuleName(node) {
|
|
|
433
433
|
return node.moduleSpecifier.text;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
// bazel-out/
|
|
436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.js
|
|
437
437
|
import ts4 from "typescript";
|
|
438
438
|
function isNamedClassDeclaration(node) {
|
|
439
439
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -457,7 +457,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
-
// bazel-out/
|
|
460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
461
461
|
var TypeScriptReflectionHost = class {
|
|
462
462
|
checker;
|
|
463
463
|
isLocalCompilation;
|
|
@@ -963,7 +963,7 @@ function getExportedName(decl, originalId) {
|
|
|
963
963
|
}
|
|
964
964
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
965
965
|
|
|
966
|
-
// bazel-out/
|
|
966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.js
|
|
967
967
|
import ts6 from "typescript";
|
|
968
968
|
var TS = /\.tsx?$/i;
|
|
969
969
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1064,7 +1064,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1064
1064
|
return redirectInfo.unredirected;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
// bazel-out/
|
|
1067
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.js
|
|
1068
1068
|
var Reference = class {
|
|
1069
1069
|
node;
|
|
1070
1070
|
bestGuessOwningModule;
|
|
@@ -1136,14 +1136,14 @@ var Reference = class {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
};
|
|
1138
1138
|
|
|
1139
|
-
// bazel-out/
|
|
1139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1140
1140
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1141
1141
|
|
|
1142
|
-
// bazel-out/
|
|
1142
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1143
1143
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1144
1144
|
import ts7 from "typescript";
|
|
1145
1145
|
|
|
1146
|
-
// bazel-out/
|
|
1146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.js
|
|
1147
1147
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1148
1148
|
const exports = reflector.getExportsOfModule(file);
|
|
1149
1149
|
if (exports === null) {
|
|
@@ -1163,7 +1163,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1163
1163
|
return foundExportName;
|
|
1164
1164
|
}
|
|
1165
1165
|
|
|
1166
|
-
// bazel-out/
|
|
1166
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1167
1167
|
var ImportFlags;
|
|
1168
1168
|
(function(ImportFlags2) {
|
|
1169
1169
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1410,7 +1410,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
};
|
|
1412
1412
|
|
|
1413
|
-
// bazel-out/
|
|
1413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1414
1414
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1415
1415
|
var UnifiedModulesAliasingHost = class {
|
|
1416
1416
|
unifiedModulesHost;
|
|
@@ -1479,7 +1479,7 @@ var AliasStrategy = class {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
};
|
|
1481
1481
|
|
|
1482
|
-
// bazel-out/
|
|
1482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.js
|
|
1483
1483
|
function relativePathBetween(from, to) {
|
|
1484
1484
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1485
1485
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1498,7 +1498,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1498
1498
|
return null;
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
|
-
// bazel-out/
|
|
1501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.js
|
|
1502
1502
|
var NoopImportRewriter = class {
|
|
1503
1503
|
rewriteSymbol(symbol, specifier) {
|
|
1504
1504
|
return symbol;
|
|
@@ -1558,7 +1558,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1558
1558
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
-
// bazel-out/
|
|
1561
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.js
|
|
1562
1562
|
import ts8 from "typescript";
|
|
1563
1563
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1564
1564
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1596,7 +1596,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1596
1596
|
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.");
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
-
// bazel-out/
|
|
1599
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.js
|
|
1600
1600
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1601
1601
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1602
1602
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1635,7 +1635,7 @@ var DefaultImportTracker = class {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
};
|
|
1637
1637
|
|
|
1638
|
-
// bazel-out/
|
|
1638
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.js
|
|
1639
1639
|
import ts9 from "typescript";
|
|
1640
1640
|
var AssumeEager = "AssumeEager";
|
|
1641
1641
|
var DeferredSymbolTracker = class {
|
|
@@ -1758,7 +1758,7 @@ var DeferredSymbolTracker = class {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
};
|
|
1760
1760
|
|
|
1761
|
-
// bazel-out/
|
|
1761
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.js
|
|
1762
1762
|
import ts10 from "typescript";
|
|
1763
1763
|
var ImportedSymbolsTracker = class {
|
|
1764
1764
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1826,7 +1826,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
};
|
|
1828
1828
|
|
|
1829
|
-
// bazel-out/
|
|
1829
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.js
|
|
1830
1830
|
import ts11 from "typescript";
|
|
1831
1831
|
var LocalCompilationExtraImportsTracker = class {
|
|
1832
1832
|
typeChecker;
|
|
@@ -1878,7 +1878,7 @@ function removeQuotations(s) {
|
|
|
1878
1878
|
return s.substring(1, s.length - 1).trim();
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
|
-
// bazel-out/
|
|
1881
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.js
|
|
1882
1882
|
var ModuleResolver = class {
|
|
1883
1883
|
program;
|
|
1884
1884
|
compilerOptions;
|
|
@@ -1899,10 +1899,10 @@ var ModuleResolver = class {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
};
|
|
1901
1901
|
|
|
1902
|
-
// bazel-out/
|
|
1902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
1903
1903
|
import ts16 from "typescript";
|
|
1904
1904
|
|
|
1905
|
-
// bazel-out/
|
|
1905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.js
|
|
1906
1906
|
import ts12 from "typescript";
|
|
1907
1907
|
function createGenerateUniqueIdentifierHelper() {
|
|
1908
1908
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1928,7 +1928,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1928
1928
|
};
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
|
-
// bazel-out/
|
|
1931
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.js
|
|
1932
1932
|
import ts13 from "typescript";
|
|
1933
1933
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1934
1934
|
return (ctx) => {
|
|
@@ -1997,7 +1997,7 @@ function isImportStatement(stmt) {
|
|
|
1997
1997
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1998
1998
|
}
|
|
1999
1999
|
|
|
2000
|
-
// bazel-out/
|
|
2000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.js
|
|
2001
2001
|
import ts14 from "typescript";
|
|
2002
2002
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
2003
2003
|
const requestHash = hashImportRequest(request);
|
|
@@ -2024,7 +2024,7 @@ function hashImportRequest(req) {
|
|
|
2024
2024
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
2025
2025
|
}
|
|
2026
2026
|
|
|
2027
|
-
// bazel-out/
|
|
2027
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.js
|
|
2028
2028
|
import ts15 from "typescript";
|
|
2029
2029
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
2030
2030
|
let candidateImportToBeUpdated = null;
|
|
@@ -2084,7 +2084,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2084
2084
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
|
-
// bazel-out/
|
|
2087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
2088
2088
|
var presetImportManagerForceNamespaceImports = {
|
|
2089
2089
|
disableOriginalSourceFileReuse: true,
|
|
2090
2090
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2307,7 +2307,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
2309
|
|
|
2310
|
-
// bazel-out/
|
|
2310
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.js
|
|
2311
2311
|
var Context = class {
|
|
2312
2312
|
isStatement;
|
|
2313
2313
|
constructor(isStatement) {
|
|
@@ -2321,7 +2321,7 @@ var Context = class {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
};
|
|
2323
2323
|
|
|
2324
|
-
// bazel-out/
|
|
2324
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.js
|
|
2325
2325
|
import * as o from "@angular/compiler";
|
|
2326
2326
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2327
2327
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2586,7 +2586,7 @@ function createRange(span) {
|
|
|
2586
2586
|
};
|
|
2587
2587
|
}
|
|
2588
2588
|
|
|
2589
|
-
// bazel-out/
|
|
2589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.js
|
|
2590
2590
|
import ts17 from "typescript";
|
|
2591
2591
|
var INELIGIBLE = {};
|
|
2592
2592
|
function canEmitType(type, canEmit) {
|
|
@@ -2662,11 +2662,11 @@ var TypeEmitter = class {
|
|
|
2662
2662
|
}
|
|
2663
2663
|
};
|
|
2664
2664
|
|
|
2665
|
-
// bazel-out/
|
|
2665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
2666
2666
|
import * as o2 from "@angular/compiler";
|
|
2667
2667
|
import ts19 from "typescript";
|
|
2668
2668
|
|
|
2669
|
-
// bazel-out/
|
|
2669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.js
|
|
2670
2670
|
import ts18 from "typescript";
|
|
2671
2671
|
function tsNumericExpression(value) {
|
|
2672
2672
|
if (value < 0) {
|
|
@@ -2676,7 +2676,7 @@ function tsNumericExpression(value) {
|
|
|
2676
2676
|
return ts18.factory.createNumericLiteral(value);
|
|
2677
2677
|
}
|
|
2678
2678
|
|
|
2679
|
-
// bazel-out/
|
|
2679
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
2680
2680
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2681
2681
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2682
2682
|
}
|
|
@@ -2903,7 +2903,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2903
2903
|
}
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
|
-
// bazel-out/
|
|
2906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.js
|
|
2907
2907
|
import ts20 from "typescript";
|
|
2908
2908
|
var PureAnnotation;
|
|
2909
2909
|
(function(PureAnnotation2) {
|
|
@@ -3110,7 +3110,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
3113
|
-
// bazel-out/
|
|
3113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.js
|
|
3114
3114
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3115
3115
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3116
3116
|
}
|
|
@@ -3210,4 +3210,4 @@ export {
|
|
|
3210
3210
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3211
3211
|
* found in the LICENSE file at https://angular.dev/license
|
|
3212
3212
|
*/
|
|
3213
|
-
//# sourceMappingURL=chunk-
|
|
3213
|
+
//# sourceMappingURL=chunk-6JLQ22O6.js.map
|