@angular/compiler-cli 16.0.0-next.1 → 16.0.0-next.3
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-N6MSUQVH.js → chunk-54RHUHYB.js} +5 -5
- package/bundles/{chunk-JKV3J53A.js → chunk-BVXD7IJL.js} +9 -38
- package/bundles/chunk-BVXD7IJL.js.map +6 -0
- package/bundles/{chunk-TBUSSXUA.js → chunk-EC5K6QPP.js} +7 -7
- package/bundles/{chunk-QQGJEWBQ.js → chunk-EDWIBG7R.js} +6 -6
- package/bundles/{chunk-Q2TY6LB3.js → chunk-F6KVOAVN.js} +5 -5
- package/bundles/{chunk-EKTJ7622.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-TK3GHMT6.js → chunk-K2A5WD7L.js} +21 -21
- package/bundles/{chunk-JEQIMWEA.js → chunk-LJFSK6KK.js} +35 -35
- package/bundles/chunk-LJFSK6KK.js.map +6 -0
- package/bundles/{chunk-6PDKXFWN.js → chunk-LLHKY5PL.js} +8 -8
- package/bundles/{chunk-XS6XKZQP.js → chunk-MENJKFAO.js} +196 -130
- package/bundles/chunk-MENJKFAO.js.map +6 -0
- package/bundles/{chunk-IE2WWKOE.js → chunk-OJ24Q4I3.js} +104 -103
- package/bundles/chunk-OJ24Q4I3.js.map +6 -0
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/src/ast/ast_value.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
- package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +3 -3
- package/src/ngtsc/annotations/directive/src/symbol.d.ts +3 -3
- package/src/ngtsc/metadata/src/api.d.ts +6 -2
- package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +1 -0
- package/src/ngtsc/metadata/src/property_mapping.d.ts +10 -10
- package/src/ngtsc/metadata/src/util.d.ts +2 -2
- package/src/ngtsc/typecheck/api/api.d.ts +2 -2
- package/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.d.ts +6 -8
- package/bundles/chunk-IE2WWKOE.js.map +0 -6
- package/bundles/chunk-JEQIMWEA.js.map +0 -6
- package/bundles/chunk-JKV3J53A.js.map +0 -6
- package/bundles/chunk-XS6XKZQP.js.map +0 -6
- /package/bundles/{chunk-N6MSUQVH.js.map → chunk-54RHUHYB.js.map} +0 -0
- /package/bundles/{chunk-TBUSSXUA.js.map → chunk-EC5K6QPP.js.map} +0 -0
- /package/bundles/{chunk-QQGJEWBQ.js.map → chunk-EDWIBG7R.js.map} +0 -0
- /package/bundles/{chunk-Q2TY6LB3.js.map → chunk-F6KVOAVN.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-TK3GHMT6.js.map → chunk-K2A5WD7L.js.map} +0 -0
- /package/bundles/{chunk-6PDKXFWN.js.map → chunk-LLHKY5PL.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
|
@@ -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";
|
|
@@ -70,7 +70,7 @@ var PerfCheckpoint;
|
|
|
70
70
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
71
71
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
72
72
|
|
|
73
|
-
// bazel-out/
|
|
73
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
74
74
|
var NoopPerfRecorder = class {
|
|
75
75
|
eventCount() {
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ var NoopPerfRecorder = class {
|
|
|
87
87
|
};
|
|
88
88
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
91
91
|
function mark() {
|
|
92
92
|
return process.hrtime();
|
|
93
93
|
}
|
|
@@ -96,7 +96,7 @@ function timeSinceInMicros(mark2) {
|
|
|
96
96
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
// bazel-out/
|
|
99
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
100
100
|
var ActivePerfRecorder = class {
|
|
101
101
|
static zeroedToNow() {
|
|
102
102
|
return new ActivePerfRecorder(mark());
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
* Use of this source code is governed by an MIT-style license that can be
|
|
205
205
|
* found in the LICENSE file at https://angular.io/license
|
|
206
206
|
*/
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-54RHUHYB.js.map
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
TypeScriptReflectionHost
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EDWIBG7R.js";
|
|
8
8
|
import {
|
|
9
9
|
isAliasImportDeclaration,
|
|
10
10
|
loadIsReferencedAliasDeclarationPatch
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K2A5WD7L.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
14
14
|
import ts from "typescript";
|
|
15
15
|
function isAngularDecorator(decorator, isCore) {
|
|
16
16
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -130,7 +130,7 @@ function symbolIsRuntimeValue(typeChecker, symbol) {
|
|
|
130
130
|
}
|
|
131
131
|
return (symbol.flags & ts.SymbolFlags.Value & ts.SymbolFlags.ConstEnumExcludes) !== 0;
|
|
132
132
|
}
|
|
133
|
-
function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore, isClosureCompilerEnabled
|
|
133
|
+
function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore, isClosureCompilerEnabled) {
|
|
134
134
|
function addJSDocTypeAnnotation(node, jsdocType) {
|
|
135
135
|
if (!isClosureCompilerEnabled) {
|
|
136
136
|
return;
|
|
@@ -145,13 +145,6 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
145
145
|
}
|
|
146
146
|
]);
|
|
147
147
|
}
|
|
148
|
-
function createDecoratorClassProperty(decoratorList) {
|
|
149
|
-
const modifier = ts.factory.createToken(ts.SyntaxKind.StaticKeyword);
|
|
150
|
-
const initializer = ts.factory.createArrayLiteralExpression(decoratorList, true);
|
|
151
|
-
const prop = ts.factory.createPropertyDeclaration([modifier], "decorators", void 0, void 0, initializer);
|
|
152
|
-
addJSDocTypeAnnotation(prop, DECORATOR_INVOCATION_JSDOC_TYPE);
|
|
153
|
-
return prop;
|
|
154
|
-
}
|
|
155
148
|
function createPropDecoratorsClassProperty(diagnostics2, properties) {
|
|
156
149
|
const entries = [];
|
|
157
150
|
for (const [name, decorators] of properties.entries()) {
|
|
@@ -280,24 +273,8 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
280
273
|
}
|
|
281
274
|
newMembers.push(ts.visitEachChild(member, decoratorDownlevelVisitor, context));
|
|
282
275
|
}
|
|
283
|
-
const decoratorsToKeep = new Set(ts.getDecorators(classDecl));
|
|
284
276
|
const possibleAngularDecorators = host.getDecoratorsOfDeclaration(classDecl) || [];
|
|
285
|
-
|
|
286
|
-
const decoratorsToLower = [];
|
|
287
|
-
for (const decorator of possibleAngularDecorators) {
|
|
288
|
-
const decoratorNode = decorator.node;
|
|
289
|
-
const isNgDecorator = isAngularDecorator(decorator, isCore);
|
|
290
|
-
if (isNgDecorator) {
|
|
291
|
-
hasAngularDecorator = true;
|
|
292
|
-
}
|
|
293
|
-
if (isNgDecorator && !skipClassDecorators) {
|
|
294
|
-
decoratorsToLower.push(extractMetadataFromSingleDecorator(decoratorNode, diagnostics));
|
|
295
|
-
decoratorsToKeep.delete(decoratorNode);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
if (decoratorsToLower.length) {
|
|
299
|
-
newMembers.push(createDecoratorClassProperty(decoratorsToLower));
|
|
300
|
-
}
|
|
277
|
+
const hasAngularDecorator = possibleAngularDecorators.some((d) => isAngularDecorator(d, isCore));
|
|
301
278
|
if (classParameters) {
|
|
302
279
|
if (hasAngularDecorator || classParameters.some((p) => !!p.decorators.length)) {
|
|
303
280
|
newMembers.push(createCtorParametersClassProperty(diagnostics, entityNameToExpression, classParameters, isClosureCompilerEnabled));
|
|
@@ -307,12 +284,7 @@ function getDownlevelDecoratorsTransform(typeChecker, host, diagnostics, isCore,
|
|
|
307
284
|
newMembers.push(createPropDecoratorsClassProperty(diagnostics, decoratedProperties));
|
|
308
285
|
}
|
|
309
286
|
const members = ts.setTextRange(ts.factory.createNodeArray(newMembers, classDecl.members.hasTrailingComma), classDecl.members);
|
|
310
|
-
|
|
311
|
-
let modifiers;
|
|
312
|
-
if (decoratorsToKeep.size || (classModifiers == null ? void 0 : classModifiers.length)) {
|
|
313
|
-
modifiers = [...decoratorsToKeep, ...classModifiers || []];
|
|
314
|
-
}
|
|
315
|
-
return ts.factory.updateClassDeclaration(classDecl, modifiers, classDecl.name, classDecl.typeParameters, classDecl.heritageClauses, members);
|
|
287
|
+
return ts.factory.updateClassDeclaration(classDecl, classDecl.modifiers, classDecl.name, classDecl.typeParameters, classDecl.heritageClauses, members);
|
|
316
288
|
}
|
|
317
289
|
function decoratorDownlevelVisitor(node) {
|
|
318
290
|
if (ts.isClassDeclaration(node)) {
|
|
@@ -341,7 +313,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
341
313
|
return ts.setOriginalNode(clone, node);
|
|
342
314
|
}
|
|
343
315
|
|
|
344
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
345
317
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
346
318
|
ngDevMode: false,
|
|
347
319
|
ngI18nClosureMode: false
|
|
@@ -358,8 +330,7 @@ function constructorParametersDownlevelTransform(program) {
|
|
|
358
330
|
reflectionHost,
|
|
359
331
|
[],
|
|
360
332
|
false,
|
|
361
|
-
false
|
|
362
|
-
true
|
|
333
|
+
false
|
|
363
334
|
);
|
|
364
335
|
}
|
|
365
336
|
|
|
@@ -375,4 +346,4 @@ export {
|
|
|
375
346
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
347
|
* found in the LICENSE file at https://angular.io/license
|
|
377
348
|
*/
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
349
|
+
//# sourceMappingURL=chunk-BVXD7IJL.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../packages/compiler-cli/src/transformers/downlevel_decor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;AACjC,YAAQ,GAAG,QAAQ,6BACf,WAAW,KAAK,MAAM,KAAK,YAAY,KAAK,MAAM,KAAK,IAAI;aACtD,GAAG,cAAc,IAAI,GAAG;AACjC,YACI,GAAG,QAAQ,6BAA6B,WAAW,KAAK,MAAM,KAAK,YAAY,KAAK,IAAI;SACvF;AACL,UAAM,IAAI,MAAM,0CAA0C,GAAG,WAAW,KAAK,OAAO;;AAGtF,SAAO,GAAG,gBAAgB,OAAO,IAAI;AACvC;;;ACviBO,IAAM,yBAAyB;EACpC,WAAW;EACX,mBAAmB;;AAGd,IAAM,kCAAkC;EAC7C,GAAG;EACH,WAAW;;AAUP,SAAU,wCAAwC,SAAmB;AAEzE,QAAM,cAAc,QAAQ,eAAc;AAC1C,QAAM,iBAAiB,IAAI,yBAAyB,WAAW;AAC/D,SAAO;IACH;IAAa;IAAgB,CAAA;IAAiB;IAClB;EAAK;AACvC;",
|
|
5
|
+
"names": ["diagnostics"]
|
|
6
|
+
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-SRFZMXHZ.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 module 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.io/license
|
|
409
409
|
*/
|
|
410
|
-
//# sourceMappingURL=chunk-
|
|
410
|
+
//# sourceMappingURL=chunk-EC5K6QPP.js.map
|
|
@@ -3,10 +3,10 @@
|
|
|
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/reflection/src/typescript.mjs
|
|
7
7
|
import ts4 from "typescript";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
10
10
|
import ts from "typescript";
|
|
11
11
|
var Decorator = {
|
|
12
12
|
nodeForError: (decorator) => {
|
|
@@ -41,7 +41,7 @@ function isConcreteDeclaration(decl) {
|
|
|
41
41
|
return decl.kind === 0;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
45
45
|
import ts2 from "typescript";
|
|
46
46
|
function typeToValue(typeNode, checker) {
|
|
47
47
|
if (typeNode === null) {
|
|
@@ -207,7 +207,7 @@ function extractModuleName(node) {
|
|
|
207
207
|
return node.moduleSpecifier.text;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
211
211
|
import ts3 from "typescript";
|
|
212
212
|
function isNamedClassDeclaration(node) {
|
|
213
213
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -216,7 +216,7 @@ function isIdentifier(node) {
|
|
|
216
216
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
// bazel-out/
|
|
219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
220
220
|
var TypeScriptReflectionHost = class {
|
|
221
221
|
constructor(checker) {
|
|
222
222
|
this.checker = checker;
|
|
@@ -671,4 +671,4 @@ export {
|
|
|
671
671
|
* Use of this source code is governed by an MIT-style license that can be
|
|
672
672
|
* found in the LICENSE file at https://angular.io/license
|
|
673
673
|
*/
|
|
674
|
-
//# sourceMappingURL=chunk-
|
|
674
|
+
//# sourceMappingURL=chunk-EDWIBG7R.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OJ24Q4I3.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
19
19
|
import yargs from "yargs";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
238
238
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
376
|
* found in the LICENSE file at https://angular.io/license
|
|
377
377
|
*/
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-F6KVOAVN.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) {
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
* Use of this source code is governed by an MIT-style license that can be
|
|
417
417
|
* found in the LICENSE file at https://angular.io/license
|
|
418
418
|
*/
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-GYHDNUIK.js.map
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EC5K6QPP.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
var TS = /\.tsx?$/i;
|
|
20
20
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -115,7 +115,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
115
115
|
return redirectInfo.unredirected;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
119
119
|
var Reference = class {
|
|
120
120
|
constructor(node, bestGuessOwningModule = null) {
|
|
121
121
|
this.node = node;
|
|
@@ -178,14 +178,14 @@ var Reference = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
182
182
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
185
185
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
186
186
|
import ts3 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
189
189
|
var ErrorCode;
|
|
190
190
|
(function(ErrorCode2) {
|
|
191
191
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -255,7 +255,7 @@ var ErrorCode;
|
|
|
255
255
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
256
256
|
})(ErrorCode || (ErrorCode = {}));
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
259
259
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
260
260
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
261
261
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -267,10 +267,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
267
267
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
268
268
|
]);
|
|
269
269
|
|
|
270
|
-
// bazel-out/
|
|
270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
271
271
|
import ts2 from "typescript";
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
274
274
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
275
275
|
function replaceTsWithNgInErrors(errors) {
|
|
276
276
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -279,7 +279,7 @@ function ngErrorCode(code) {
|
|
|
279
279
|
return parseInt("-99" + code);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
// bazel-out/
|
|
282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
283
283
|
var FatalDiagnosticError = class {
|
|
284
284
|
constructor(code, node, message, relatedInformation) {
|
|
285
285
|
this.code = code;
|
|
@@ -335,10 +335,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
335
335
|
return messageText;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
// bazel-out/
|
|
338
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
339
339
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
340
340
|
|
|
341
|
-
// bazel-out/
|
|
341
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
342
342
|
var ExtendedTemplateDiagnosticName;
|
|
343
343
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
344
344
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -350,7 +350,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
350
350
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
351
351
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
352
352
|
|
|
353
|
-
// bazel-out/
|
|
353
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
354
354
|
function findExportedNameOfNode(target, file, reflector) {
|
|
355
355
|
const exports = reflector.getExportsOfModule(file);
|
|
356
356
|
if (exports === null) {
|
|
@@ -370,7 +370,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
370
370
|
return foundExportName;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
// bazel-out/
|
|
373
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
374
374
|
var ImportFlags;
|
|
375
375
|
(function(ImportFlags2) {
|
|
376
376
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -586,7 +586,7 @@ var UnifiedModulesStrategy = class {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
|
|
589
|
-
// bazel-out/
|
|
589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
590
590
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
591
591
|
var UnifiedModulesAliasingHost = class {
|
|
592
592
|
constructor(unifiedModulesHost) {
|
|
@@ -653,7 +653,7 @@ var AliasStrategy = class {
|
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
655
|
|
|
656
|
-
// bazel-out/
|
|
656
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
657
657
|
function relativePathBetween(from, to) {
|
|
658
658
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
659
659
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -662,7 +662,7 @@ function normalizeSeparators(path) {
|
|
|
662
662
|
return path.replace(/\\/g, "/");
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
// bazel-out/
|
|
665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
666
666
|
var NoopImportRewriter = class {
|
|
667
667
|
shouldImportSymbol(symbol, specifier) {
|
|
668
668
|
return true;
|
|
@@ -720,7 +720,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
720
720
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
724
724
|
import ts4 from "typescript";
|
|
725
725
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
726
726
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -755,7 +755,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
755
755
|
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.");
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
-
// bazel-out/
|
|
758
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
759
759
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
760
760
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
761
761
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -796,7 +796,7 @@ var DefaultImportTracker = class {
|
|
|
796
796
|
}
|
|
797
797
|
};
|
|
798
798
|
|
|
799
|
-
// bazel-out/
|
|
799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
800
800
|
var ModuleResolver = class {
|
|
801
801
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
802
802
|
this.program = program;
|
|
@@ -869,4 +869,4 @@ export {
|
|
|
869
869
|
* Use of this source code is governed by an MIT-style license that can be
|
|
870
870
|
* found in the LICENSE file at https://angular.io/license
|
|
871
871
|
*/
|
|
872
|
-
//# sourceMappingURL=chunk-
|
|
872
|
+
//# sourceMappingURL=chunk-K2A5WD7L.js.map
|