@angular/upgrade 18.2.0-next.0 → 18.2.0-next.1

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.
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Angular v18.2.0-next.0
2
+ * @license Angular v18.2.0-next.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { Version, ɵNG_MOD_DEF, Injector, ChangeDetectorRef, Testability, TestabilityRegistry, ApplicationRef, SimpleChange, NgZone, ComponentFactoryResolver, Directive, Inject, ElementRef, EventEmitter, Compiler, NgModule, resolveForwardRef } from '@angular/core';
9
- import { __decorate, __param, __metadata } from 'tslib';
8
+ import { Version, ɵNG_MOD_DEF, Injector, ChangeDetectorRef, Testability, TestabilityRegistry, ApplicationRef, SimpleChange, NgZone, ComponentFactoryResolver, Inject, ElementRef, Directive, EventEmitter, Compiler, NgModule, resolveForwardRef } from '@angular/core';
9
+ import { __decorate, __metadata } from 'tslib';
10
10
  import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
11
11
 
12
12
  /**
@@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
17
17
  /**
18
18
  * @publicApi
19
19
  */
20
- const VERSION = new Version('18.2.0-next.0');
20
+ const VERSION = new Version('18.2.0-next.1');
21
21
 
22
22
  function noNg() {
23
23
  throw new Error('AngularJS v1.x is not loaded!');
@@ -1126,6 +1126,11 @@ class UpgradeNg1ComponentAdapterBuilder {
1126
1126
  constructor(scope, injector, elementRef) {
1127
1127
  super(new UpgradeHelper(injector, name, elementRef, self.directive || undefined), scope, self.template, self.inputs, self.outputs, self.propertyOutputs, self.checkProperties, self.propertyMap);
1128
1128
  }
1129
+ static { this.ctorParameters = () => [
1130
+ { type: undefined, decorators: [{ type: Inject, args: [$SCOPE,] }] },
1131
+ { type: Injector },
1132
+ { type: ElementRef }
1133
+ ]; }
1129
1134
  };
1130
1135
  MyClass = __decorate([
1131
1136
  Directive({
@@ -1134,7 +1139,6 @@ class UpgradeNg1ComponentAdapterBuilder {
1134
1139
  inputs: this.inputsRename,
1135
1140
  outputs: this.outputsRename,
1136
1141
  }),
1137
- __param(0, Inject($SCOPE)),
1138
1142
  __metadata("design:paramtypes", [Object, Injector, ElementRef])
1139
1143
  ], MyClass);
1140
1144
  this.type = MyClass;
@@ -1302,10 +1306,10 @@ class UpgradeNg1ComponentAdapter {
1302
1306
  setComponentProperty(name, value) {
1303
1307
  this.destinationObj[this.propertyMap[name]] = value;
1304
1308
  }
1305
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1306
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.0", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 }); }
1309
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.1", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1310
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.1", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 }); }
1307
1311
  }
1308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.0", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.1", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1309
1313
  type: Directive
1310
1314
  }], ctorParameters: () => [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }] });
1311
1315