mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
refactor(deep-linking): change to
change to
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'modal-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ActionSheetController, AlertController, DeepLink, ModalController, Platform } from '../../../../../..';
|
||||
import { ActionSheetController, AlertController, IonicPage, ModalController, Platform } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'modal-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, ModalController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, ModalController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'modal-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
import { SomeData } from './provider-one';
|
||||
import { OtherData } from './provider-two';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'page-one'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'page-three'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ModalController } from '../../../../../..';
|
||||
import { IonicPage, ModalController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'page-two'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tabs-page-one'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tabs-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { DeepLink, MenuController, Nav } from '../../../../../..';
|
||||
import { IonicPage, MenuController, Nav } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'page-one'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, NavController, Refresher } from '../../../../../..';
|
||||
import { AlertController, IonicPage, NavController, Refresher } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'page-two'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, NavParams } from '../../../../../..';
|
||||
import { IonicPage, NavController, NavParams } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'session-detail.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'session-list.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, LoadingController, NavController } from '../../../../../..';
|
||||
import { IonicPage, LoadingController, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html',
|
||||
styles: [
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-three.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, LoadingController, NavController } from '../../../../../..';
|
||||
import { IonicPage, LoadingController, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
import { PageOne} from '../page-one/page-one';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tabs-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-four.html'
|
||||
})
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { DeepLink, MenuController, Nav } from '../../../../../..';
|
||||
import { IonicPage, MenuController, Nav } from '../../../../../..';
|
||||
|
||||
import { PageTwo } from '../page-two/page-two';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-three.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, ModalController, NavController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, ModalController, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'contact-us.html'
|
||||
})
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, NavParams, ToastController, ViewController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, NavParams, ToastController, ViewController } from '../../../../../..';
|
||||
|
||||
import { SomeAppProvider } from '../../services/some-app-provider';
|
||||
import { SomeComponentProvider } from './provider';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-pass-data.html',
|
||||
providers: [
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-with-inputs.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Config, DeepLink, NavController, ModalController, ToastController, Platform } from '../../../../../..';
|
||||
import { Config, IonicPage, NavController, ModalController, ToastController, Platform } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, NavParams } from '../../../../../..';
|
||||
import { IonicPage, NavController, NavParams } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-three.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, ActionSheetController, AlertController, DeepLink, ModalController, NavController, ToastController } from '../../../../../..';
|
||||
import { App, ActionSheetController, AlertController, IonicPage, ModalController, NavController, ToastController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, ViewController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'toolbar.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, ViewController } from '../../../../../..';
|
||||
import { IonicPage, NavController, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'another-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { AlertController, Content, DeepLink, NavController, ViewController } from '../../../../../..';
|
||||
import { AlertController, Content, IonicPage, NavController, ViewController } from '../../../../../..';
|
||||
|
||||
import { MyCmpTest } from './my-component';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'first-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, AlertController, DeepLink, NavController, NavParams, ViewController } from '../../../../../..';
|
||||
import { App, AlertController, IonicPage, NavController, NavParams, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'full-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, DeepLink, NavController, ViewController } from '../../../../../..';
|
||||
import { AlertController, IonicPage, NavController, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'primary-header-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'redirect-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, Tabs} from '../../../../../..';
|
||||
import { App, IonicPage, Tabs} from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab-item-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, NavController, Tabs } from '../../../../../..';
|
||||
import { App, IonicPage, NavController, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab-one'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { AlertController, App, DeepLink, ModalController, Tabs } from '../../../../../..';
|
||||
import { AlertController, App, IonicPage, ModalController, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab-three'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, Tabs } from '../../../../../..';
|
||||
import { App, IonicPage, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab-two'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, Tab } from '../../../../../..';
|
||||
import { IonicPage, Tab } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tabs'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: `
|
||||
<ion-header>
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: `
|
||||
<ion-content>
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: `
|
||||
<ion-header>
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: `
|
||||
<ion-header>
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: `
|
||||
<ion-header>
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
import { DeepLink, NavController, PickerController } from '../../../../../..';
|
||||
import { IonicPage, NavController, PickerController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Component, ViewChild, ElementRef } from '@angular/core';
|
||||
|
||||
import { DeepLink, PopoverController } from '../../../../../..';
|
||||
import { IonicPage, PopoverController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html',
|
||||
selector: 'e2e-popover-basic'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'popover-list-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'popover-long-list-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavParams } from '../../../../../..';
|
||||
import { IonicPage, NavParams } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'popover-radio-page.html',
|
||||
selector: 'e2e-popover-basic'
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
|
||||
import { DeepLink, RadioButton, RadioGroup } from '../../../../../..';
|
||||
import { IonicPage, RadioButton, RadioGroup } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, ChangeDetectorRef } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'root-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavParams } from '../../../../../..';
|
||||
import { IonicPage, NavParams } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'detail-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'main-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, ModalController } from '../../../../../..';
|
||||
import { IonicPage, NavController, ModalController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'search-page.html'
|
||||
})
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
import { SearchPage } from '../search-page/search-page';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tabs-page.html'
|
||||
})
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormBuilder, Validators } from '@angular/forms';
|
||||
import { DeepLink, SegmentButton } from '../../../../../..';
|
||||
import { IonicPage, SegmentButton } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'home-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController } from '../../../../../..';
|
||||
import { IonicPage, NavController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'first-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'second-page.html'
|
||||
})
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
export interface Currency {
|
||||
symbol: string;
|
||||
@ -8,7 +8,7 @@ export interface Currency {
|
||||
name: string;
|
||||
}
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, ViewController } from '../../../../../..';
|
||||
import { IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'modal-chat-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'sign-in'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, NavController, NavParams, Tabs } from '../../../../../..';
|
||||
import { App, IonicPage, NavController, NavParams, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab1-page1'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, Tabs } from '../../../../../..';
|
||||
import { IonicPage, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab1-page2'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab1-page3'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab2-page1'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab2-page2'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController} from '../../../../../..';
|
||||
import { IonicPage, NavController} from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab2-page3'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tab3-page1'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { AlertController, DeepLink, NavController, NavParams, ModalController, Tabs, Tab } from '../../../../../..';
|
||||
import { AlertController, IonicPage, NavController, NavParams, ModalController, Tabs, Tab } from '../../../../../..';
|
||||
|
||||
@DeepLink({
|
||||
@IonicPage({
|
||||
name: 'tabs-page'
|
||||
})
|
||||
@Component({
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: 'hi'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, ViewController } from '../../../../../..';
|
||||
import { App, IonicPage, ViewController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'modal-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, Tabs } from '../../../../../..';
|
||||
import { App, IonicPage, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tab-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, AlertController, DeepLink, ModalController, Tabs } from '../../../../../..';
|
||||
import { App, AlertController, IonicPage, ModalController, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tab-three.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { App, DeepLink, Tabs } from '../../../../../..';
|
||||
import { App, IonicPage, Tabs } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tab-two.html'
|
||||
})
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Config, DeepLink, Tab } from '../../../../../..';
|
||||
import { Config, IonicPage, Tab } from '../../../../../..';
|
||||
|
||||
import { TabOne } from '../tab-one/tab-one';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'tabs-page.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
template: 'hi'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink, NavController, Toast, ToastController } from '../../../../../..';
|
||||
import { IonicPage, NavController, Toast, ToastController } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-one.html'
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { DeepLink } from '../../../../../..';
|
||||
import { IonicPage } from '../../../../../..';
|
||||
|
||||
@DeepLink()
|
||||
@IonicPage()
|
||||
@Component({
|
||||
templateUrl: 'page-two.html'
|
||||
})
|
||||
|
@ -278,7 +278,7 @@ export { DeepLinker } from './navigation/deep-linker';
|
||||
export { NavController } from './navigation/nav-controller';
|
||||
export { NavControllerBase } from './navigation/nav-controller-base';
|
||||
export { NavParams } from './navigation/nav-params';
|
||||
export { NavLink, NavOptions, DeepLink, DeepLinkConfig, DeepLinkMetadata, DeepLinkMetadataFactory, DeepLinkMetadataType } from './navigation/nav-util';
|
||||
export { NavLink, NavOptions, IonicPage, DeepLinkConfig, DeepLinkMetadata, DeepLinkMetadataFactory, DeepLinkMetadataType } from './navigation/nav-util';
|
||||
export { UrlSerializer, DeepLinkConfigToken } from './navigation/url-serializer';
|
||||
export { ViewController } from './navigation/view-controller';
|
||||
export { ActionSheetCmp } from './components/action-sheet/action-sheet-component';
|
||||
|
@ -101,7 +101,7 @@ export function isNav(nav: any): boolean {
|
||||
return !!nav && !!nav.push;
|
||||
}
|
||||
|
||||
export function DeepLink(config?: DeepLinkMetadataType): ClassDecorator {
|
||||
export function IonicPage(config?: DeepLinkMetadataType): ClassDecorator {
|
||||
return function(clazz: any) {
|
||||
return clazz;
|
||||
};
|
||||
|
Reference in New Issue
Block a user