@angular/compiler-cli 20.0.0-next.7 → 20.0.0-next.9

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.
Files changed (51) hide show
  1. package/bundles/{chunk-K6NOY73Y.js → chunk-2F5IGGXH.js} +12 -12
  2. package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
  3. package/bundles/{chunk-BNQ3VNZP.js → chunk-5HL3AR4R.js} +180 -120
  4. package/bundles/chunk-5HL3AR4R.js.map +6 -0
  5. package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
  6. package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
  7. package/bundles/{chunk-BOV3QCZL.js → chunk-KIC4TVVW.js} +47 -41
  8. package/bundles/chunk-KIC4TVVW.js.map +6 -0
  9. package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
  10. package/bundles/{chunk-OBDNP2CK.js → chunk-Q6YAKOMH.js} +5 -5
  11. package/bundles/{chunk-BFF3JTCC.js → chunk-SBWQVXJA.js} +51 -44
  12. package/bundles/chunk-SBWQVXJA.js.map +6 -0
  13. package/bundles/{chunk-5AFVNN25.js → chunk-UTYYMB4Z.js} +3 -3
  14. package/bundles/{chunk-QDS4K6PQ.js → chunk-WNWOEBZS.js} +647 -416
  15. package/bundles/chunk-WNWOEBZS.js.map +6 -0
  16. package/bundles/index.js +12 -12
  17. package/bundles/linker/babel/index.js +12 -12
  18. package/bundles/linker/index.js +4 -4
  19. package/bundles/private/bazel.js +1 -1
  20. package/bundles/private/localize.js +3 -3
  21. package/bundles/private/migrations.js +4 -4
  22. package/bundles/private/tooling.js +6 -6
  23. package/bundles/src/bin/ng_xi18n.js +10 -10
  24. package/bundles/src/bin/ngc.js +8 -8
  25. package/bundles_metadata.json +1 -1
  26. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  27. package/package.json +2 -2
  28. package/src/ngtsc/annotations/component/src/handler.d.ts +16 -1
  29. package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
  30. package/src/ngtsc/core/src/compiler.d.ts +1 -0
  31. package/src/ngtsc/diagnostics/src/error_code.d.ts +18 -0
  32. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +1 -0
  33. package/src/ngtsc/docs/src/entities.d.ts +2 -0
  34. package/src/ngtsc/metadata/src/api.d.ts +1 -0
  35. package/src/ngtsc/translator/src/api/ast_factory.d.ts +1 -1
  36. package/src/ngtsc/typecheck/extended/checks/missing_structural_directive/index.d.ts +16 -0
  37. package/src/ngtsc/typecheck/src/dom.d.ts +11 -11
  38. package/src/ngtsc/typecheck/src/oob.d.ts +27 -3
  39. package/src/ngtsc/typecheck/src/tcb_util.d.ts +2 -0
  40. package/src/ngtsc/typecheck/src/type_check_block.d.ts +14 -5
  41. package/bundles/chunk-BFF3JTCC.js.map +0 -6
  42. package/bundles/chunk-BNQ3VNZP.js.map +0 -6
  43. package/bundles/chunk-BOV3QCZL.js.map +0 -6
  44. package/bundles/chunk-QDS4K6PQ.js.map +0 -6
  45. /package/bundles/{chunk-K6NOY73Y.js.map → chunk-2F5IGGXH.js.map} +0 -0
  46. /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
  47. /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
  48. /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
  49. /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
  50. /package/bundles/{chunk-OBDNP2CK.js.map → chunk-Q6YAKOMH.js.map} +0 -0
  51. /package/bundles/{chunk-5AFVNN25.js.map → chunk-UTYYMB4Z.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  tryParseSignalInputMapping,
11
11
  tryParseSignalModelMapping,
12
12
  tryParseSignalQueryFromInitializer
13
- } from "./chunk-QDS4K6PQ.js";
13
+ } from "./chunk-WNWOEBZS.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-BFF3JTCC.js";
21
+ } from "./chunk-SBWQVXJA.js";
22
22
 
23
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.mjs
23
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
328
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.mjs
331
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.mjs
348
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.mjs
370
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.mjs
404
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.mjs
418
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
451
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.mjs
504
+ // bazel-out/k8-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-K6NOY73Y.js.map
539
+ //# sourceMappingURL=chunk-2F5IGGXH.js.map
@@ -6,7 +6,7 @@ import {
6
6
  __require
7
7
  } from "./chunk-KPQ72R34.js";
8
8
 
9
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
9
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
25
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
113
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
170
+ // bazel-out/k8-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 {
@@ -227,7 +227,7 @@ var NgtscCompilerHost = class {
227
227
  }
228
228
  };
229
229
 
230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
230
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
231
231
  var LogicalProjectPath = {
232
232
  relativePathBetween: function(from, to) {
233
233
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -276,7 +276,7 @@ function isWithinBasePath(base, path) {
276
276
  return isLocalRelativePath(relative(base, path));
277
277
  }
278
278
 
279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
279
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
280
280
  import fs2 from "fs";
281
281
  import { createRequire } from "module";
282
282
  import * as p from "path";
@@ -380,7 +380,7 @@ function toggleCase(str) {
380
380
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
381
381
  }
382
382
 
383
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
383
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
384
384
  import ts2 from "typescript";
385
385
  function createFileSystemTsReadDirectoryFn(fs3) {
386
386
  if (ts2.matchFiles === void 0) {
@@ -443,4 +443,4 @@ export {
443
443
  * Use of this source code is governed by an MIT-style license that can be
444
444
  * found in the LICENSE file at https://angular.dev/license
445
445
  */
446
- //# sourceMappingURL=chunk-STORTTKY.js.map
446
+ //# sourceMappingURL=chunk-37JMVF7H.js.map