@angular/compiler-cli 18.2.12 → 18.2.14
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-APDLWLLW.js → chunk-65SOG7CU.js} +121 -121
- package/bundles/{chunk-Y3H6JOVH.js → chunk-AFLM6Y4J.js} +79 -79
- package/bundles/{chunk-26NKUA5V.js → chunk-ALDGUG43.js} +12 -12
- package/bundles/{chunk-RT2QTF73.js → chunk-EH5E5HQO.js} +3 -3
- package/bundles/{chunk-3Z25BX6N.js → chunk-FMA7PJT3.js} +7 -7
- package/bundles/{chunk-PGXXZYOH.js → chunk-HQICP6JA.js} +43 -43
- package/bundles/{chunk-YE5ORA4V.js → chunk-JBFBFCL7.js} +7 -7
- package/bundles/{chunk-Z5GU2OTU.js → chunk-JNXZMRXO.js} +31 -31
- package/bundles/{chunk-AQX32KGU.js → chunk-MKFRGZJ6.js} +3 -3
- package/bundles/{chunk-O6SOT3Y4.js → chunk-O7GWKY33.js} +5 -5
- package/bundles/{chunk-XSNUHRLJ.js → chunk-UQPYSPIX.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/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-APDLWLLW.js.map → chunk-65SOG7CU.js.map} +0 -0
- /package/bundles/{chunk-Y3H6JOVH.js.map → chunk-AFLM6Y4J.js.map} +0 -0
- /package/bundles/{chunk-26NKUA5V.js.map → chunk-ALDGUG43.js.map} +0 -0
- /package/bundles/{chunk-RT2QTF73.js.map → chunk-EH5E5HQO.js.map} +0 -0
- /package/bundles/{chunk-3Z25BX6N.js.map → chunk-FMA7PJT3.js.map} +0 -0
- /package/bundles/{chunk-PGXXZYOH.js.map → chunk-HQICP6JA.js.map} +0 -0
- /package/bundles/{chunk-YE5ORA4V.js.map → chunk-JBFBFCL7.js.map} +0 -0
- /package/bundles/{chunk-Z5GU2OTU.js.map → chunk-JNXZMRXO.js.map} +0 -0
- /package/bundles/{chunk-AQX32KGU.js.map → chunk-MKFRGZJ6.js.map} +0 -0
- /package/bundles/{chunk-O6SOT3Y4.js.map → chunk-O7GWKY33.js.map} +0 -0
- /package/bundles/{chunk-XSNUHRLJ.js.map → chunk-UQPYSPIX.js.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-65SOG7CU.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-HQICP6JA.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/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/ngtsc/transform/jit/src/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/ngtsc/transform/jit/src/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/ngtsc/transform/jit/src/initializer_api_transforms/input_function.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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-ALDGUG43.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/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.dev/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-EH5E5HQO.js.map
|
|
@@ -3,11 +3,11 @@
|
|
|
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/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -419,4 +419,4 @@ export {
|
|
|
419
419
|
* Use of this source code is governed by an MIT-style license that can be
|
|
420
420
|
* found in the LICENSE file at https://angular.dev/license
|
|
421
421
|
*/
|
|
422
|
-
//# sourceMappingURL=chunk-
|
|
422
|
+
//# sourceMappingURL=chunk-FMA7PJT3.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JBFBFCL7.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";
|
|
@@ -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.mjs
|
|
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.mjs
|
|
125
125
|
var FatalDiagnosticError = class extends Error {
|
|
126
126
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
127
127
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -185,7 +185,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
185
185
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
189
189
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
190
190
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
191
191
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -197,10 +197,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
197
197
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
198
198
|
]);
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
201
201
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
202
202
|
|
|
203
|
-
// bazel-out/
|
|
203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
204
204
|
var ExtendedTemplateDiagnosticName;
|
|
205
205
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
206
206
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -217,10 +217,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
217
217
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
218
218
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
221
221
|
import ts5 from "typescript";
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
224
224
|
import ts2 from "typescript";
|
|
225
225
|
function isDecoratorIdentifier(exp) {
|
|
226
226
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -243,7 +243,7 @@ var ClassMemberAccessLevel;
|
|
|
243
243
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
244
244
|
var AmbientImport = {};
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
247
247
|
import ts3 from "typescript";
|
|
248
248
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
249
249
|
var _a, _b;
|
|
@@ -427,7 +427,7 @@ function extractModuleName(node) {
|
|
|
427
427
|
return node.moduleSpecifier.text;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
431
431
|
import ts4 from "typescript";
|
|
432
432
|
function isNamedClassDeclaration(node) {
|
|
433
433
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -451,7 +451,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
455
455
|
var TypeScriptReflectionHost = class {
|
|
456
456
|
constructor(checker, isLocalCompilation = false) {
|
|
457
457
|
this.checker = checker;
|
|
@@ -939,7 +939,7 @@ function getExportedName(decl, originalId) {
|
|
|
939
939
|
}
|
|
940
940
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
941
941
|
|
|
942
|
-
// bazel-out/
|
|
942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
943
943
|
import ts6 from "typescript";
|
|
944
944
|
var TS = /\.tsx?$/i;
|
|
945
945
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1040,7 +1040,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1040
1040
|
return redirectInfo.unredirected;
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
-
// bazel-out/
|
|
1043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1044
1044
|
var Reference = class {
|
|
1045
1045
|
constructor(node, bestGuessOwningModule = null) {
|
|
1046
1046
|
this.node = node;
|
|
@@ -1109,14 +1109,14 @@ var Reference = class {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
};
|
|
1111
1111
|
|
|
1112
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1113
1113
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1114
1114
|
|
|
1115
|
-
// bazel-out/
|
|
1115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1116
1116
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1117
1117
|
import ts7 from "typescript";
|
|
1118
1118
|
|
|
1119
|
-
// bazel-out/
|
|
1119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1120
1120
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1121
1121
|
const exports = reflector.getExportsOfModule(file);
|
|
1122
1122
|
if (exports === null) {
|
|
@@ -1136,7 +1136,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1136
1136
|
return foundExportName;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
// bazel-out/
|
|
1139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1140
1140
|
var ImportFlags;
|
|
1141
1141
|
(function(ImportFlags2) {
|
|
1142
1142
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1367,7 +1367,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
};
|
|
1369
1369
|
|
|
1370
|
-
// bazel-out/
|
|
1370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1371
1371
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1372
1372
|
var UnifiedModulesAliasingHost = class {
|
|
1373
1373
|
constructor(unifiedModulesHost) {
|
|
@@ -1434,7 +1434,7 @@ var AliasStrategy = class {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
1436
|
|
|
1437
|
-
// bazel-out/
|
|
1437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1438
1438
|
function relativePathBetween(from, to) {
|
|
1439
1439
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1440
1440
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1443,7 +1443,7 @@ function normalizeSeparators(path) {
|
|
|
1443
1443
|
return path.replace(/\\/g, "/");
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
1446
|
-
// bazel-out/
|
|
1446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1447
1447
|
var NoopImportRewriter = class {
|
|
1448
1448
|
rewriteSymbol(symbol, specifier) {
|
|
1449
1449
|
return symbol;
|
|
@@ -1496,7 +1496,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1496
1496
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1497
1497
|
}
|
|
1498
1498
|
|
|
1499
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1500
1500
|
import ts8 from "typescript";
|
|
1501
1501
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1502
1502
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1531,7 +1531,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1531
1531
|
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.");
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
|
-
// bazel-out/
|
|
1534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1535
1535
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1536
1536
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1537
1537
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1572,7 +1572,7 @@ var DefaultImportTracker = class {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
1574
|
|
|
1575
|
-
// bazel-out/
|
|
1575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1576
1576
|
import ts9 from "typescript";
|
|
1577
1577
|
var AssumeEager = "AssumeEager";
|
|
1578
1578
|
var DeferredSymbolTracker = class {
|
|
@@ -1693,7 +1693,7 @@ var DeferredSymbolTracker = class {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
1695
|
|
|
1696
|
-
// bazel-out/
|
|
1696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1697
1697
|
import ts10 from "typescript";
|
|
1698
1698
|
var ImportedSymbolsTracker = class {
|
|
1699
1699
|
constructor() {
|
|
@@ -1763,7 +1763,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1763
1763
|
}
|
|
1764
1764
|
};
|
|
1765
1765
|
|
|
1766
|
-
// bazel-out/
|
|
1766
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1767
1767
|
import ts11 from "typescript";
|
|
1768
1768
|
var LocalCompilationExtraImportsTracker = class {
|
|
1769
1769
|
constructor(typeChecker) {
|
|
@@ -1814,7 +1814,7 @@ function removeQuotations(s) {
|
|
|
1814
1814
|
return s.substring(1, s.length - 1).trim();
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
// bazel-out/
|
|
1817
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1818
1818
|
var ModuleResolver = class {
|
|
1819
1819
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1820
1820
|
this.program = program;
|
|
@@ -1831,10 +1831,10 @@ var ModuleResolver = class {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
|
-
// bazel-out/
|
|
1834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1835
1835
|
import ts16 from "typescript";
|
|
1836
1836
|
|
|
1837
|
-
// bazel-out/
|
|
1837
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1838
1838
|
import ts12 from "typescript";
|
|
1839
1839
|
function createGenerateUniqueIdentifierHelper() {
|
|
1840
1840
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1860,7 +1860,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1860
1860
|
};
|
|
1861
1861
|
}
|
|
1862
1862
|
|
|
1863
|
-
// bazel-out/
|
|
1863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1864
1864
|
import ts13 from "typescript";
|
|
1865
1865
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1866
1866
|
return (ctx) => {
|
|
@@ -1927,7 +1927,7 @@ function isImportStatement(stmt) {
|
|
|
1927
1927
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
// bazel-out/
|
|
1930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1931
1931
|
import ts14 from "typescript";
|
|
1932
1932
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1933
1933
|
const requestHash = hashImportRequest(request);
|
|
@@ -1954,7 +1954,7 @@ function hashImportRequest(req) {
|
|
|
1954
1954
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1958
1958
|
import ts15 from "typescript";
|
|
1959
1959
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1960
1960
|
let candidateImportToBeUpdated = null;
|
|
@@ -2014,7 +2014,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2014
2014
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
// bazel-out/
|
|
2017
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2018
2018
|
var presetImportManagerForceNamespaceImports = {
|
|
2019
2019
|
disableOriginalSourceFileReuse: true,
|
|
2020
2020
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2232,7 +2232,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
2234
|
|
|
2235
|
-
// bazel-out/
|
|
2235
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2236
2236
|
var Context = class {
|
|
2237
2237
|
constructor(isStatement) {
|
|
2238
2238
|
this.isStatement = isStatement;
|
|
@@ -2245,7 +2245,7 @@ var Context = class {
|
|
|
2245
2245
|
}
|
|
2246
2246
|
};
|
|
2247
2247
|
|
|
2248
|
-
// bazel-out/
|
|
2248
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2249
2249
|
import * as o from "@angular/compiler";
|
|
2250
2250
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2251
2251
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2491,7 +2491,7 @@ function createRange(span) {
|
|
|
2491
2491
|
};
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
|
-
// bazel-out/
|
|
2494
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2495
2495
|
import ts17 from "typescript";
|
|
2496
2496
|
var INELIGIBLE = {};
|
|
2497
2497
|
function canEmitType(type, canEmit) {
|
|
@@ -2566,11 +2566,11 @@ var TypeEmitter = class {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
};
|
|
2568
2568
|
|
|
2569
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2570
2570
|
import * as o2 from "@angular/compiler";
|
|
2571
2571
|
import ts19 from "typescript";
|
|
2572
2572
|
|
|
2573
|
-
// bazel-out/
|
|
2573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2574
2574
|
import ts18 from "typescript";
|
|
2575
2575
|
function tsNumericExpression(value) {
|
|
2576
2576
|
if (value < 0) {
|
|
@@ -2580,7 +2580,7 @@ function tsNumericExpression(value) {
|
|
|
2580
2580
|
return ts18.factory.createNumericLiteral(value);
|
|
2581
2581
|
}
|
|
2582
2582
|
|
|
2583
|
-
// bazel-out/
|
|
2583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2584
2584
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2585
2585
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2586
2586
|
}
|
|
@@ -2797,7 +2797,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2797
2797
|
}
|
|
2798
2798
|
};
|
|
2799
2799
|
|
|
2800
|
-
// bazel-out/
|
|
2800
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2801
2801
|
import ts20 from "typescript";
|
|
2802
2802
|
var PureAnnotation;
|
|
2803
2803
|
(function(PureAnnotation2) {
|
|
@@ -3000,7 +3000,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
3002
3002
|
|
|
3003
|
-
// bazel-out/
|
|
3003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3004
3004
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3005
3005
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3006
3006
|
}
|
|
@@ -3097,4 +3097,4 @@ export {
|
|
|
3097
3097
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3098
3098
|
* found in the LICENSE file at https://angular.dev/license
|
|
3099
3099
|
*/
|
|
3100
|
-
//# sourceMappingURL=chunk-
|
|
3100
|
+
//# sourceMappingURL=chunk-HQICP6JA.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-XI2RTGAL.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
10
10
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
11
11
|
function normalizeSeparators(path) {
|
|
12
12
|
return path.replace(/\\/g, "/");
|
|
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
22
22
|
return sf;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
26
26
|
var InvalidFileSystem = class {
|
|
27
27
|
exists(path) {
|
|
28
28
|
throw makeError();
|
|
@@ -110,7 +110,7 @@ function makeError() {
|
|
|
110
110
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
114
114
|
var fs = new InvalidFileSystem();
|
|
115
115
|
function getFileSystem() {
|
|
116
116
|
return fs;
|
|
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
|
|
|
167
167
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
// bazel-out/
|
|
170
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
171
171
|
import * as os from "os";
|
|
172
172
|
import ts from "typescript";
|
|
173
173
|
var NgtscCompilerHost = class {
|
|
@@ -225,7 +225,7 @@ var NgtscCompilerHost = class {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
229
229
|
var LogicalProjectPath = {
|
|
230
230
|
relativePathBetween: function(from, to) {
|
|
231
231
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -271,7 +271,7 @@ function isWithinBasePath(base, path) {
|
|
|
271
271
|
return isLocalRelativePath(relative(base, path));
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
275
275
|
import fs2 from "fs";
|
|
276
276
|
import { createRequire } from "module";
|
|
277
277
|
import * as p from "path";
|
|
@@ -407,4 +407,4 @@ export {
|
|
|
407
407
|
* Use of this source code is governed by an MIT-style license that can be
|
|
408
408
|
* found in the LICENSE file at https://angular.dev/license
|
|
409
409
|
*/
|
|
410
|
-
//# sourceMappingURL=chunk-
|
|
410
|
+
//# sourceMappingURL=chunk-JBFBFCL7.js.map
|