@angular/core 17.2.2 → 17.3.0-next.0

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.
@@ -26915,7 +26915,7 @@ function publishFacade(global) {
26915
26915
  }
26916
26916
 
26917
26917
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
26918
- var VERSION2 = new Version("17.2.2");
26918
+ var VERSION2 = new Version("17.3.0-next.0");
26919
26919
 
26920
26920
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26921
26921
  var _I18N_ATTR = "i18n";
@@ -27981,7 +27981,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
27981
27981
  function compileDeclareClassMetadata(metadata) {
27982
27982
  const definitionMap = new DefinitionMap();
27983
27983
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
27984
- definitionMap.set("version", literal("17.2.2"));
27984
+ definitionMap.set("version", literal("17.3.0-next.0"));
27985
27985
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27986
27986
  definitionMap.set("type", metadata.type);
27987
27987
  definitionMap.set("decorators", metadata.decorators);
@@ -28050,7 +28050,7 @@ function createDirectiveDefinitionMap(meta) {
28050
28050
  const definitionMap = new DefinitionMap();
28051
28051
  const minVersion = getMinimumVersionForPartialOutput(meta);
28052
28052
  definitionMap.set("minVersion", literal(minVersion));
28053
- definitionMap.set("version", literal("17.2.2"));
28053
+ definitionMap.set("version", literal("17.3.0-next.0"));
28054
28054
  definitionMap.set("type", meta.type.value);
28055
28055
  if (meta.isStandalone) {
28056
28056
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -28349,7 +28349,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
28349
28349
  function compileDeclareFactoryFunction(meta) {
28350
28350
  const definitionMap = new DefinitionMap();
28351
28351
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
28352
- definitionMap.set("version", literal("17.2.2"));
28352
+ definitionMap.set("version", literal("17.3.0-next.0"));
28353
28353
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28354
28354
  definitionMap.set("type", meta.type.value);
28355
28355
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -28372,7 +28372,7 @@ function compileDeclareInjectableFromMetadata(meta) {
28372
28372
  function createInjectableDefinitionMap(meta) {
28373
28373
  const definitionMap = new DefinitionMap();
28374
28374
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
28375
- definitionMap.set("version", literal("17.2.2"));
28375
+ definitionMap.set("version", literal("17.3.0-next.0"));
28376
28376
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28377
28377
  definitionMap.set("type", meta.type.value);
28378
28378
  if (meta.providedIn !== void 0) {
@@ -28410,7 +28410,7 @@ function compileDeclareInjectorFromMetadata(meta) {
28410
28410
  function createInjectorDefinitionMap(meta) {
28411
28411
  const definitionMap = new DefinitionMap();
28412
28412
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
28413
- definitionMap.set("version", literal("17.2.2"));
28413
+ definitionMap.set("version", literal("17.3.0-next.0"));
28414
28414
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28415
28415
  definitionMap.set("type", meta.type.value);
28416
28416
  definitionMap.set("providers", meta.providers);
@@ -28434,7 +28434,7 @@ function createNgModuleDefinitionMap(meta) {
28434
28434
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
28435
28435
  }
28436
28436
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
28437
- definitionMap.set("version", literal("17.2.2"));
28437
+ definitionMap.set("version", literal("17.3.0-next.0"));
28438
28438
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28439
28439
  definitionMap.set("type", meta.type.value);
28440
28440
  if (meta.bootstrap.length > 0) {
@@ -28469,7 +28469,7 @@ function compileDeclarePipeFromMetadata(meta) {
28469
28469
  function createPipeDefinitionMap(meta) {
28470
28470
  const definitionMap = new DefinitionMap();
28471
28471
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
28472
- definitionMap.set("version", literal("17.2.2"));
28472
+ definitionMap.set("version", literal("17.3.0-next.0"));
28473
28473
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28474
28474
  definitionMap.set("type", meta.type.value);
28475
28475
  if (meta.isStandalone) {
@@ -28486,7 +28486,7 @@ function createPipeDefinitionMap(meta) {
28486
28486
  publishFacade(_global);
28487
28487
 
28488
28488
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
28489
- var VERSION3 = new Version("17.2.2");
28489
+ var VERSION3 = new Version("17.3.0-next.0");
28490
28490
 
28491
28491
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
28492
28492
  var import_typescript20 = __toESM(require("typescript"), 1);
@@ -28576,7 +28576,7 @@ var ErrorCode;
28576
28576
  ErrorCode2[ErrorCode2["SUGGEST_STRICT_TEMPLATES"] = 10001] = "SUGGEST_STRICT_TEMPLATES";
28577
28577
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
28578
28578
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNRESOLVED_CONST"] = 11001] = "LOCAL_COMPILATION_UNRESOLVED_CONST";
28579
- ErrorCode2[ErrorCode2["LOCAL_COMPILATION_EXPRESSION_FOR_HOST_DIRECTIVE"] = 11003] = "LOCAL_COMPILATION_EXPRESSION_FOR_HOST_DIRECTIVE";
28579
+ ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
28580
28580
  })(ErrorCode || (ErrorCode = {}));
28581
28581
 
28582
28582
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
@@ -36457,7 +36457,7 @@ function extractHostDirectives(rawHostDirectives, evaluator, compilationMode) {
36457
36457
  let nameForErrors = (fieldName) => "@Directive.hostDirectives";
36458
36458
  if (compilationMode === CompilationMode.LOCAL && hostReference instanceof DynamicValue) {
36459
36459
  if (!import_typescript54.default.isIdentifier(hostReference.node) && !import_typescript54.default.isPropertyAccessExpression(hostReference.node)) {
36460
- throw new FatalDiagnosticError(ErrorCode.LOCAL_COMPILATION_EXPRESSION_FOR_HOST_DIRECTIVE, hostReference.node, `In local compilation mode, host directive cannot be an expression. Use an identifier instead`);
36460
+ throw new FatalDiagnosticError(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION, hostReference.node, `In local compilation mode, host directive cannot be an expression. Use an identifier instead`);
36461
36461
  }
36462
36462
  directive = new WrappedNodeExpr(hostReference.node);
36463
36463
  } else if (hostReference instanceof Reference2) {