@@ -580,7 +580,7 @@ export function removeDecorators(fileName: string, source: string): string {
580
580
it ( 'should return non-aot adjusted paths when not in AoT' , ( ) => {
581
581
const pageNgModuleContent = `
582
582
import { NgModule } from '@angular/core';
583
- import { DeepLinkModule } from 'ionic-angular';
583
+ import { IonicPageModule } from 'ionic-angular';
584
584
585
585
import { HomePage } from './home';
586
586
@@ -589,7 +589,7 @@ import { HomePage } from './home';
589
589
HomePage,
590
590
],
591
591
imports: [
592
- DeepLinkModule .forChild(HomePage),
592
+ IonicPageModule .forChild(HomePage),
593
593
]
594
594
})
595
595
export class HomePageModule {}
@@ -613,7 +613,7 @@ export class HomePageModule {}
613
613
it ( 'should return adjusted paths to account for AoT' , ( ) => {
614
614
const pageNgModuleContent = `
615
615
import { NgModule } from '@angular/core';
616
- import { DeepLinkModule } from 'ionic-angular';
616
+ import { IonicPageModule } from 'ionic-angular';
617
617
618
618
import { HomePage } from './home';
619
619
@@ -622,7 +622,7 @@ import { HomePage } from './home';
622
622
HomePage,
623
623
],
624
624
imports: [
625
- DeepLinkModule .forChild(HomePage),
625
+ IonicPageModule .forChild(HomePage),
626
626
]
627
627
})
628
628
export class HomePageModule {}
@@ -676,14 +676,14 @@ export class PageOne {
676
676
const pageOneNgModuleContent = `
677
677
import { NgModule } from '@angular/core';
678
678
import { PageOne } from './page-one';
679
- import { DeepLinkModule } from 'ionic-angular';
679
+ import { IonicPageModule } from 'ionic-angular';
680
680
681
681
@NgModule({
682
682
declarations: [
683
683
PageOne,
684
684
],
685
685
imports: [
686
- DeepLinkModule .forChild(PageOne)
686
+ IonicPageModule .forChild(PageOne)
687
687
],
688
688
entryComponents: [
689
689
PageOne
@@ -739,14 +739,14 @@ export class PageTwo {
739
739
const pageTwoNgModuleContent = `
740
740
import { NgModule } from '@angular/core';
741
741
import { PageTwo } from './page-two';
742
- import { DeepLinkModule } from 'ionic-angular';
742
+ import { IonicPageModule } from 'ionic-angular';
743
743
744
744
@NgModule({
745
745
declarations: [
746
746
PageTwo,
747
747
],
748
748
imports: [
749
- DeepLinkModule .forChild(PageTwo)
749
+ IonicPageModule .forChild(PageTwo)
750
750
]
751
751
})
752
752
export class PageTwoModule {
@@ -786,14 +786,14 @@ export class PageThree {
786
786
const pageSettingsNgModuleContent = `
787
787
import { NgModule } from '@angular/core';
788
788
import { PageThree } from './page-three';
789
- import { DeepLinkModule } from 'ionic-angular';
789
+ import { IonicPageModule } from 'ionic-angular';
790
790
791
791
@NgModule({
792
792
declarations: [
793
793
PageThree,
794
794
],
795
795
imports: [
796
- DeepLinkModule .forChild(PageThree)
796
+ IonicPageModule .forChild(PageThree)
797
797
]
798
798
})
799
799
export class PageThreeModule {
@@ -863,14 +863,14 @@ export class PageOne {
863
863
const pageOneNgModuleContent = `
864
864
import { NgModule } from '@angular/core';
865
865
import { PageOne } from './page-one';
866
- import { DeepLinkModule } from 'ionic-angular';
866
+ import { IonicPageModule } from 'ionic-angular';
867
867
868
868
@NgModule({
869
869
declarations: [
870
870
PageOne,
871
871
],
872
872
imports: [
873
- DeepLinkModule .forChild(PageOne)
873
+ IonicPageModule .forChild(PageOne)
874
874
],
875
875
entryComponents: [
876
876
PageOne
@@ -926,14 +926,14 @@ export class PageTwo {
926
926
const pageTwoNgModuleContent = `
927
927
import { NgModule } from '@angular/core';
928
928
import { PageTwo } from './page-two';
929
- import { DeepLinkModule } from 'ionic-angular';
929
+ import { IonicPageModule } from 'ionic-angular';
930
930
931
931
@NgModule({
932
932
declarations: [
933
933
PageTwo,
934
934
],
935
935
imports: [
936
- DeepLinkModule .forChild(PageTwo)
936
+ IonicPageModule .forChild(PageTwo)
937
937
]
938
938
})
939
939
export class PageTwoModule {
@@ -972,14 +972,14 @@ export class PageThree {
972
972
const pageSettingsNgModuleContent = `
973
973
import { NgModule } from '@angular/core';
974
974
import { PageThree } from './page-three';
975
- import { DeepLinkModule } from 'ionic-angular';
975
+ import { IonicPageModule } from 'ionic-angular';
976
976
977
977
@NgModule({
978
978
declarations: [
979
979
PageThree,
980
980
],
981
981
imports: [
982
- DeepLinkModule .forChild(PageThree)
982
+ IonicPageModule .forChild(PageThree)
983
983
]
984
984
})
985
985
export class PageThreeModule {
@@ -1054,14 +1054,14 @@ export class PageOne {
1054
1054
const pageOneNgModuleContent = `
1055
1055
import { NgModule } from '@angular/core';
1056
1056
import { PageOne } from './page-one';
1057
- import { DeepLinkModule } from 'ionic-angular';
1057
+ import { IonicPageModule } from 'ionic-angular';
1058
1058
1059
1059
@NgModule({
1060
1060
declarations: [
1061
1061
PageOne,
1062
1062
],
1063
1063
imports: [
1064
- DeepLinkModule .forChild(PageOne)
1064
+ IonicPageModule .forChild(PageOne)
1065
1065
],
1066
1066
entryComponents: [
1067
1067
PageOne
@@ -1119,14 +1119,14 @@ export class PageTwo {
1119
1119
const pageTwoNgModuleContent = `
1120
1120
import { NgModule } from '@angular/core';
1121
1121
import { PageTwo } from './page-two';
1122
- import { DeepLinkModule } from 'ionic-angular';
1122
+ import { IonicPageModule } from 'ionic-angular';
1123
1123
1124
1124
@NgModule({
1125
1125
declarations: [
1126
1126
PageTwo,
1127
1127
],
1128
1128
imports: [
1129
- DeepLinkModule .forChild(PageTwo)
1129
+ IonicPageModule .forChild(PageTwo)
1130
1130
]
1131
1131
})
1132
1132
export class PageTwoModule {
@@ -1165,14 +1165,14 @@ export class PageThree {
1165
1165
const pageSettingsNgModuleContent = `
1166
1166
import { NgModule } from '@angular/core';
1167
1167
import { PageThree } from './page-three';
1168
- import { DeepLinkModule } from 'ionic-angular';
1168
+ import { IonicPageModule } from 'ionic-angular';
1169
1169
1170
1170
@NgModule({
1171
1171
declarations: [
1172
1172
PageThree,
1173
1173
],
1174
1174
imports: [
1175
- DeepLinkModule .forChild(PageThree)
1175
+ IonicPageModule .forChild(PageThree)
1176
1176
]
1177
1177
})
1178
1178
export class PageThreeModule {
@@ -1272,14 +1272,14 @@ export class PageOne {
1272
1272
const pageOneNgModuleContent = `
1273
1273
import { NgModule } from '@angular/core';
1274
1274
import { PageOne } from './page-one';
1275
- import { DeepLinkModule } from 'ionic-angular';
1275
+ import { IonicPageModule } from 'ionic-angular';
1276
1276
1277
1277
@NgModule({
1278
1278
declarations: [
1279
1279
PageOne,
1280
1280
],
1281
1281
imports: [
1282
- DeepLinkModule .forChild(PageOne)
1282
+ IonicPageModule .forChild(PageOne)
1283
1283
],
1284
1284
entryComponents: [
1285
1285
PageOne
@@ -1337,14 +1337,14 @@ export class PageTwo {
1337
1337
const pageTwoNgModuleContent = `
1338
1338
import { NgModule } from '@angular/core';
1339
1339
import { PageTwo } from './page-two';
1340
- import { DeepLinkModule } from 'ionic-angular';
1340
+ import { IonicPageModule } from 'ionic-angular';
1341
1341
1342
1342
@NgModule({
1343
1343
declarations: [
1344
1344
PageTwo,
1345
1345
],
1346
1346
imports: [
1347
- DeepLinkModule .forChild(PageTwo)
1347
+ IonicPageModule .forChild(PageTwo)
1348
1348
]
1349
1349
})
1350
1350
export class PageTwoModule {
@@ -1383,14 +1383,14 @@ export class PageThree {
1383
1383
const pageSettingsNgModuleContent = `
1384
1384
import { NgModule } from '@angular/core';
1385
1385
import { PageThree } from './page-three';
1386
- import { DeepLinkModule } from 'ionic-angular';
1386
+ import { IonicPageModule } from 'ionic-angular';
1387
1387
1388
1388
@NgModule({
1389
1389
declarations: [
1390
1390
PageThree,
1391
1391
],
1392
1392
imports: [
1393
- DeepLinkModule .forChild(PageThree)
1393
+ IonicPageModule .forChild(PageThree)
1394
1394
]
1395
1395
})
1396
1396
export class PageThreeModule {
@@ -1960,7 +1960,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
1960
1960
_FormsModule_4:import4.FormsModule;
1961
1961
_ReactiveFormsModule_5:import4.ReactiveFormsModule;
1962
1962
_IonicModule_6:import5.IonicModule;
1963
- _DeepLinkModule_7 :import5.DeepLinkModule ;
1963
+ _IonicPageModule_7 :import5.IonicPageModule ;
1964
1964
_HomePageModule_8:import6.HomePageModule;
1965
1965
_AppModule_9:import1.AppModule;
1966
1966
__LOCALE_ID_10:any;
@@ -2203,7 +2203,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
2203
2203
this._FormsModule_4 = new import4.FormsModule();
2204
2204
this._ReactiveFormsModule_5 = new import4.ReactiveFormsModule();
2205
2205
this._IonicModule_6 = new import5.IonicModule();
2206
- this._DeepLinkModule_7 = new import5.DeepLinkModule ();
2206
+ this._IonicPageModule_7 = new import5.IonicPageModule ();
2207
2207
this._HomePageModule_8 = new import6.HomePageModule();
2208
2208
this._AppModule_9 = new import1.AppModule();
2209
2209
this._ErrorHandler_12 = import3.ɵa();
@@ -2241,7 +2241,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
2241
2241
if ((token === import4.FormsModule)) { return this._FormsModule_4; }
2242
2242
if ((token === import4.ReactiveFormsModule)) { return this._ReactiveFormsModule_5; }
2243
2243
if ((token === import5.IonicModule)) { return this._IonicModule_6; }
2244
- if ((token === import5.DeepLinkModule )) { return this._DeepLinkModule_7 ; }
2244
+ if ((token === import5.IonicPageModule )) { return this._IonicPageModule_7 ; }
2245
2245
if ((token === import6.HomePageModule)) { return this._HomePageModule_8; }
2246
2246
if ((token === import1.AppModule)) { return this._AppModule_9; }
2247
2247
if ((token === import0.LOCALE_ID)) { return this._LOCALE_ID_10; }
@@ -2331,16 +2331,15 @@ export const AppModuleNgFactory:import0.NgModuleFactory<import1.AppModule> = new
2331
2331
it ( 'should generate a default NgModule for a DeepLinked component' , ( ) => {
2332
2332
const knownFileContent = `
2333
2333
import { NgModule } from '@angular/core';
2334
- import { DeepLinkModule } from 'ionic-angular';
2334
+ import { IonicPageModule } from 'ionic-angular';
2335
2335
import { PageOne } from './page-one';
2336
2336
2337
-
2338
2337
@NgModule({
2339
2338
declarations: [
2340
2339
PageOne,
2341
2340
],
2342
2341
imports: [
2343
- DeepLinkModule .forChild(PageOne)
2342
+ IonicPageModule .forChild(PageOne)
2344
2343
]
2345
2344
})
2346
2345
export class PageOneModule {}
@@ -2604,7 +2603,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
2604
2603
_FormsModule_4:import4.FormsModule;
2605
2604
_ReactiveFormsModule_5:import4.ReactiveFormsModule;
2606
2605
_IonicModule_6:import5.IonicModule;
2607
- _DeepLinkModule_7 :import5.DeepLinkModule ;
2606
+ _IonicPageModule_7 :import5.IonicPageModule ;
2608
2607
_HomePageModule_8:import6.HomePageModule;
2609
2608
_AppModule_9:import1.AppModule;
2610
2609
__LOCALE_ID_10:any;
@@ -2847,7 +2846,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
2847
2846
this._FormsModule_4 = new import4.FormsModule();
2848
2847
this._ReactiveFormsModule_5 = new import4.ReactiveFormsModule();
2849
2848
this._IonicModule_6 = new import5.IonicModule();
2850
- this._DeepLinkModule_7 = new import5.DeepLinkModule ();
2849
+ this._IonicPageModule_7 = new import5.IonicPageModule ();
2851
2850
this._HomePageModule_8 = new import6.HomePageModule();
2852
2851
this._AppModule_9 = new import1.AppModule();
2853
2852
this._ErrorHandler_12 = import3.ɵa();
@@ -2885,7 +2884,7 @@ class AppModuleInjector extends import0.ɵNgModuleInjector<import1.AppModule> {
2885
2884
if ((token === import4.FormsModule)) { return this._FormsModule_4; }
2886
2885
if ((token === import4.ReactiveFormsModule)) { return this._ReactiveFormsModule_5; }
2887
2886
if ((token === import5.IonicModule)) { return this._IonicModule_6; }
2888
- if ((token === import5.DeepLinkModule )) { return this._DeepLinkModule_7 ; }
2887
+ if ((token === import5.IonicPageModule )) { return this._IonicPageModule_7 ; }
2889
2888
if ((token === import6.HomePageModule)) { return this._HomePageModule_8; }
2890
2889
if ((token === import1.AppModule)) { return this._AppModule_9; }
2891
2890
if ((token === import0.LOCALE_ID)) { return this._LOCALE_ID_10; }
0 commit comments