@angular/upgrade 17.0.0-next.0 → 17.0.0-next.2
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/esm2022/src/common/src/version.mjs +1 -1
- package/esm2022/src/dynamic/src/upgrade_adapter.mjs +3 -3
- package/esm2022/src/dynamic/src/upgrade_ng1_adapter.mjs +3 -3
- package/esm2022/static/common.mjs +22 -0
- package/esm2022/static/public_api.mjs +2 -1
- package/esm2022/static/src/downgrade_module.mjs +16 -18
- package/esm2022/static/src/upgrade_component.mjs +12 -14
- package/esm2022/static/src/upgrade_module.mjs +25 -26
- package/esm2022/static/testing/src/create_angular_testing_module.mjs +9 -10
- package/esm2022/static/testing/src/create_angularjs_testing_module.mjs +6 -7
- package/fesm2022/static/testing.mjs +16 -107
- package/fesm2022/static/testing.mjs.map +1 -1
- package/fesm2022/static.mjs +311 -239
- package/fesm2022/static.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +7 -7
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/package.json +5 -5
- package/static/index.d.ts +553 -1
- package/static/testing/index.d.ts +1 -1
package/fesm2022/upgrade.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.0.0-next.
|
|
2
|
+
* @license Angular v17.0.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
17
17
|
/**
|
|
18
18
|
* @publicApi
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = new Version('17.0.0-next.
|
|
20
|
+
const VERSION = new Version('17.0.0-next.2');
|
|
21
21
|
|
|
22
22
|
function noNg() {
|
|
23
23
|
throw new Error('AngularJS v1.x is not loaded!');
|
|
@@ -1288,10 +1288,10 @@ class UpgradeNg1ComponentAdapter {
|
|
|
1288
1288
|
setComponentProperty(name, value) {
|
|
1289
1289
|
this.destinationObj[this.propertyMap[name]] = value;
|
|
1290
1290
|
}
|
|
1291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1292
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1292
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.2", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 }); }
|
|
1293
1293
|
}
|
|
1294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
|
|
1295
1295
|
type: Directive
|
|
1296
1296
|
}], ctorParameters: function () { return [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; } });
|
|
1297
1297
|
|
|
@@ -1301,9 +1301,9 @@ let upgradeCount = 0;
|
|
|
1301
1301
|
*
|
|
1302
1302
|
* The `UpgradeAdapter` allows:
|
|
1303
1303
|
* 1. creation of Angular component from AngularJS component directive
|
|
1304
|
-
* (See
|
|
1304
|
+
* (See {@link UpgradeAdapter#upgradeNg1Component})
|
|
1305
1305
|
* 2. creation of AngularJS directive from Angular component.
|
|
1306
|
-
* (See
|
|
1306
|
+
* (See {@link UpgradeAdapter#downgradeNg2Component})
|
|
1307
1307
|
* 3. Bootstrapping of a hybrid Angular application which contains both of the frameworks
|
|
1308
1308
|
* coexisting in a single application.
|
|
1309
1309
|
*
|