@ionic/angular
Advanced tools
Comparing version 0.0.2-15 to 0.0.2-16
@@ -8,2 +8,3 @@ export { IonicAngularModule } from './module'; | ||
export { LoadingController, LoadingProxy } from './providers/loading-controller'; | ||
export { MenuController } from './providers/menu-controller'; | ||
export { ModalController, ModalProxy } from './providers/modal-controller'; | ||
@@ -10,0 +11,0 @@ export { NavController } from './providers/nav-controller'; |
@@ -8,2 +8,3 @@ export { IonicAngularModule } from './module'; | ||
export { LoadingController } from './providers/loading-controller'; | ||
export { MenuController } from './providers/menu-controller'; | ||
export { ModalController } from './providers/modal-controller'; | ||
@@ -10,0 +11,0 @@ export { NavController } from './providers/nav-controller'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./module","export":["IonicAngularModule"]},{"from":"./components/ion-nav","export":["IonNavDelegate"]},{"from":"./providers/action-sheet-controller","export":["ActionSheetController","ActionSheetProxy"]},{"from":"./providers/alert-controller","export":["AlertController","AlertProxy"]},{"from":"./providers/app","export":["App"]},{"from":"./providers/events","export":["Events"]},{"from":"./providers/loading-controller","export":["LoadingController","LoadingProxy"]},{"from":"./providers/modal-controller","export":["ModalController","ModalProxy"]},{"from":"./providers/nav-controller","export":["NavController"]},{"from":"./providers/nav-params","export":["NavParams"]},{"from":"./providers/popover-controller","export":["PopoverController","PopoverProxy"]},{"from":"./providers/toast-controller","export":["ToastController","ToastProxy"]}]}] | ||
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./module","export":["IonicAngularModule"]},{"from":"./components/ion-nav","export":["IonNavDelegate"]},{"from":"./providers/action-sheet-controller","export":["ActionSheetController","ActionSheetProxy"]},{"from":"./providers/alert-controller","export":["AlertController","AlertProxy"]},{"from":"./providers/app","export":["App"]},{"from":"./providers/events","export":["Events"]},{"from":"./providers/loading-controller","export":["LoadingController","LoadingProxy"]},{"from":"./providers/menu-controller","export":["MenuController"]},{"from":"./providers/modal-controller","export":["ModalController","ModalProxy"]},{"from":"./providers/nav-controller","export":["NavController"]},{"from":"./providers/nav-params","export":["NavParams"]},{"from":"./providers/popover-controller","export":["PopoverController","PopoverProxy"]},{"from":"./providers/toast-controller","export":["ToastController","ToastProxy"]}]}] |
@@ -15,2 +15,3 @@ import { CommonModule } from '@angular/common'; | ||
import { LoadingController } from './providers/loading-controller'; | ||
import { MenuController } from './providers/menu-controller'; | ||
import { ModalController } from './providers/modal-controller'; | ||
@@ -30,2 +31,3 @@ import { PopoverController } from './providers/popover-controller'; | ||
LoadingController, | ||
MenuController, | ||
ModalController, | ||
@@ -32,0 +34,0 @@ PopoverController, |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"IonicAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":28,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./control-value-accessors/boolean-value-accessor","name":"BooleanValueAccessor","line":30,"character":4},{"__symbolic":"reference","module":"./components/ion-nav","name":"IonNavDelegate","line":31,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/numeric-value-accesssor","name":"NumericValueAccessor","line":32,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/radio-value-accessor","name":"RadioValueAccessor","line":33,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/select-value-accessor","name":"SelectValueAccessor","line":34,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/text-value-accessor","name":"TextValueAccessor","line":35,"character":4}],"exports":[{"__symbolic":"reference","module":"./control-value-accessors/boolean-value-accessor","name":"BooleanValueAccessor","line":38,"character":4},{"__symbolic":"reference","module":"./components/ion-nav","name":"IonNavDelegate","line":39,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/numeric-value-accesssor","name":"NumericValueAccessor","line":40,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/radio-value-accessor","name":"RadioValueAccessor","line":41,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/select-value-accessor","name":"SelectValueAccessor","line":42,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/text-value-accessor","name":"TextValueAccessor","line":43,"character":4}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":46,"character":4}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":49,"character":4}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"IonicAngularModule"},"providers":[{"__symbolic":"reference","module":"./providers/alert-controller","name":"AlertController","line":57,"character":8},{"__symbolic":"reference","module":"./providers/action-sheet-controller","name":"ActionSheetController","line":58,"character":8},{"__symbolic":"reference","module":"./providers/angular-component-mounter","name":"AngularComponentMounter","line":59,"character":8},{"__symbolic":"reference","module":"./providers/app","name":"App","line":60,"character":8},{"__symbolic":"reference","module":"./providers/events","name":"Events","line":61,"character":8},{"__symbolic":"reference","module":"./providers/loading-controller","name":"LoadingController","line":62,"character":8},{"__symbolic":"reference","module":"./providers/modal-controller","name":"ModalController","line":63,"character":8},{"__symbolic":"reference","module":"./providers/popover-controller","name":"PopoverController","line":64,"character":8},{"__symbolic":"reference","module":"./providers/toast-controller","name":"ToastController","line":65,"character":8}]}}}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"IonicAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":29,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./control-value-accessors/boolean-value-accessor","name":"BooleanValueAccessor","line":31,"character":4},{"__symbolic":"reference","module":"./components/ion-nav","name":"IonNavDelegate","line":32,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/numeric-value-accesssor","name":"NumericValueAccessor","line":33,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/radio-value-accessor","name":"RadioValueAccessor","line":34,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/select-value-accessor","name":"SelectValueAccessor","line":35,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/text-value-accessor","name":"TextValueAccessor","line":36,"character":4}],"exports":[{"__symbolic":"reference","module":"./control-value-accessors/boolean-value-accessor","name":"BooleanValueAccessor","line":39,"character":4},{"__symbolic":"reference","module":"./components/ion-nav","name":"IonNavDelegate","line":40,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/numeric-value-accesssor","name":"NumericValueAccessor","line":41,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/radio-value-accessor","name":"RadioValueAccessor","line":42,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/select-value-accessor","name":"SelectValueAccessor","line":43,"character":4},{"__symbolic":"reference","module":"./control-value-accessors/text-value-accessor","name":"TextValueAccessor","line":44,"character":4}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":47,"character":4}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":50,"character":4}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"IonicAngularModule"},"providers":[{"__symbolic":"reference","module":"./providers/alert-controller","name":"AlertController","line":58,"character":8},{"__symbolic":"reference","module":"./providers/action-sheet-controller","name":"ActionSheetController","line":59,"character":8},{"__symbolic":"reference","module":"./providers/angular-component-mounter","name":"AngularComponentMounter","line":60,"character":8},{"__symbolic":"reference","module":"./providers/app","name":"App","line":61,"character":8},{"__symbolic":"reference","module":"./providers/events","name":"Events","line":62,"character":8},{"__symbolic":"reference","module":"./providers/loading-controller","name":"LoadingController","line":63,"character":8},{"__symbolic":"reference","module":"./providers/menu-controller","name":"MenuController","line":64,"character":8},{"__symbolic":"reference","module":"./providers/modal-controller","name":"ModalController","line":65,"character":8},{"__symbolic":"reference","module":"./providers/popover-controller","name":"PopoverController","line":66,"character":8},{"__symbolic":"reference","module":"./providers/toast-controller","name":"ToastController","line":67,"character":8}]}}}}}}] |
@@ -11,3 +11,3 @@ import { ComponentFactoryResolver, Injector, Type } from '@angular/core'; | ||
create(opts?: ModalOptions): ModalProxy; | ||
dismiss(id?: number, data?: any, role?: string): any; | ||
dismiss(data?: any, role?: string, id?: number): any; | ||
attachViewToDom(elementOrContainerToMountTo: HTMLElement, elementOrComponentToMount: Type<any>, _propsOrDataObj?: any, classesToAdd?: string[]): Promise<AngularMountingData>; | ||
@@ -14,0 +14,0 @@ removeViewFromDom(parentElement: HTMLElement, childElement: HTMLElement): Promise<any>; |
@@ -15,6 +15,6 @@ import { ComponentFactoryResolver, Injectable, Injector, } from '@angular/core'; | ||
} | ||
dismiss(id, data, role) { | ||
dismiss(data, role, id) { | ||
const modalController = document.querySelector('ion-modal-controller'); | ||
return modalController.componentOnReady().then(() => { | ||
modalController.dismiss(data, role, id); | ||
return modalController.dismiss(data, role, id); | ||
}); | ||
@@ -21,0 +21,0 @@ } |
@@ -20,2 +20,3 @@ import { NavOptions, PublicNav, PublicViewController } from '@ionic/core'; | ||
getFirstView(): PublicViewController; | ||
getChildNavs(): PublicNav[]; | ||
} |
@@ -86,3 +86,9 @@ import { hydrateElement } from '../util/util'; | ||
} | ||
getChildNavs() { | ||
if (this.element.getChildNavs) { | ||
return this.element.getChildNavs(); | ||
} | ||
return []; | ||
} | ||
} | ||
//# sourceMappingURL=nav-controller.js.map |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"NavController":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":4,"character":30,"context":{"typeName":"HTMLIonNavElement"}}]}],"push":[{"__symbolic":"method"}],"pop":[{"__symbolic":"method"}],"setRoot":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"insertPages":[{"__symbolic":"method"}],"popToRoot":[{"__symbolic":"method"}],"popTo":[{"__symbolic":"method"}],"removeIndex":[{"__symbolic":"method"}],"removeView":[{"__symbolic":"method"}],"setPages":[{"__symbolic":"method"}],"getActive":[{"__symbolic":"method"}],"getPrevious":[{"__symbolic":"method"}],"canGoBack":[{"__symbolic":"method"}],"canSwipeBack":[{"__symbolic":"method"}],"getFirstView":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"NavController":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":4,"character":30,"context":{"typeName":"HTMLIonNavElement"}}]}],"push":[{"__symbolic":"method"}],"pop":[{"__symbolic":"method"}],"setRoot":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"insertPages":[{"__symbolic":"method"}],"popToRoot":[{"__symbolic":"method"}],"popTo":[{"__symbolic":"method"}],"removeIndex":[{"__symbolic":"method"}],"removeView":[{"__symbolic":"method"}],"setPages":[{"__symbolic":"method"}],"getActive":[{"__symbolic":"method"}],"getPrevious":[{"__symbolic":"method"}],"canGoBack":[{"__symbolic":"method"}],"canSwipeBack":[{"__symbolic":"method"}],"getFirstView":[{"__symbolic":"method"}],"getChildNavs":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "@ionic/angular", | ||
"version": "0.0.2-15", | ||
"version": "0.0.2-16", | ||
"description": "Angular specific wrappers for @ionic/core", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130357
94
1699