@ionic/angular 7.6.2-dev.11705355381.14b22962 → 7.6.2-dev.11706202387.1dfcd9b8
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/common/directives/navigation/nav.d.ts +2 -2
- package/common/index.d.ts +0 -1
- package/common/providers/angular-delegate.d.ts +4 -5
- package/directives/navigation/ion-nav.d.ts +2 -2
- package/esm2020/common/directives/navigation/nav.mjs +5 -5
- package/esm2020/common/index.mjs +1 -2
- package/esm2020/common/providers/angular-delegate.mjs +28 -44
- package/esm2020/directives/navigation/ion-nav.mjs +5 -5
- package/esm2020/index.mjs +2 -2
- package/esm2020/providers/modal-controller.mjs +3 -4
- package/esm2020/providers/popover-controller.mjs +3 -4
- package/esm2020/standalone/index.mjs +2 -2
- package/esm2020/standalone/navigation/nav.mjs +5 -5
- package/esm2020/standalone/providers/modal-controller.mjs +3 -4
- package/esm2020/standalone/providers/popover-controller.mjs +3 -4
- package/fesm2015/ionic-angular-common.mjs +33 -93
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +8 -10
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +8 -10
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +32 -92
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +8 -10
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +8 -10
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/providers/modal-controller.d.ts +0 -1
- package/providers/popover-controller.d.ts +0 -1
- package/standalone/index.d.ts +1 -1
- package/standalone/navigation/nav.d.ts +2 -2
- package/standalone/providers/modal-controller.d.ts +0 -1
- package/standalone/providers/popover-controller.d.ts +0 -1
- package/common/directives/navigation/nav-params.d.ts +0 -45
- package/esm2020/common/directives/navigation/nav-params.mjs +0 -45
package/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { IonModal } from './directives/overlays/modal';
|
|
|
11
11
|
export { IonPopover } from './directives/overlays/popover';
|
|
12
12
|
export * from './directives/proxies';
|
|
13
13
|
export * from './directives/validators';
|
|
14
|
-
export { DomController, NavController, Config, Platform, AngularDelegate,
|
|
14
|
+
export { DomController, NavController, Config, Platform, AngularDelegate, IonicRouteStrategy, ViewWillEnter, ViewWillLeave, ViewDidEnter, ViewDidLeave, } from '@ionic/angular/common';
|
|
15
15
|
export { AlertController } from './providers/alert-controller';
|
|
16
16
|
export { AnimationController } from './providers/animation-controller';
|
|
17
17
|
export { ActionSheetController } from './providers/action-sheet-controller';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/angular",
|
|
3
|
-
"version": "7.6.2-dev.
|
|
3
|
+
"version": "7.6.2-dev.11706202387.1dfcd9b8",
|
|
4
4
|
"description": "Angular specific wrappers for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@ionic/core": "7.6.2-dev.
|
|
59
|
+
"@ionic/core": "7.6.2-dev.11706202387.1dfcd9b8",
|
|
60
60
|
"ionicons": "^7.0.0",
|
|
61
61
|
"jsonc-parser": "^3.0.0",
|
|
62
62
|
"tslib": "^2.3.0"
|
|
@@ -3,7 +3,6 @@ import type { ModalOptions } from '@ionic/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ModalController extends OverlayBaseController<ModalOptions, HTMLIonModalElement> {
|
|
5
5
|
private angularDelegate;
|
|
6
|
-
private injector;
|
|
7
6
|
private environmentInjector;
|
|
8
7
|
constructor();
|
|
9
8
|
create(opts: ModalOptions): Promise<HTMLIonModalElement>;
|
|
@@ -2,7 +2,6 @@ import { OverlayBaseController } from '@ionic/angular/common';
|
|
|
2
2
|
import type { PopoverOptions } from '@ionic/core';
|
|
3
3
|
export declare class PopoverController extends OverlayBaseController<PopoverOptions, HTMLIonPopoverElement> {
|
|
4
4
|
private angularDelegate;
|
|
5
|
-
private injector;
|
|
6
5
|
private environmentInjector;
|
|
7
6
|
constructor();
|
|
8
7
|
create(opts: PopoverOptions): Promise<HTMLIonPopoverElement>;
|
package/standalone/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { ModalController } from './providers/modal-controller';
|
|
|
15
15
|
export { PickerController } from './providers/picker-controller';
|
|
16
16
|
export { PopoverController } from './providers/popover-controller';
|
|
17
17
|
export { ToastController } from './providers/toast-controller';
|
|
18
|
-
export { DomController, NavController, Config, Platform,
|
|
18
|
+
export { DomController, NavController, Config, Platform, IonicRouteStrategy, ViewWillEnter, ViewDidEnter, ViewWillLeave, ViewDidLeave, } from '@ionic/angular/common';
|
|
19
19
|
export { IonNav } from './navigation/nav';
|
|
20
20
|
export { IonCheckbox, IonDatetime, IonInput, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
|
|
21
21
|
export * from './directives/proxies';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, EnvironmentInjector, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { IonNav as IonNavBase, AngularDelegate } from '@ionic/angular/common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IonNav extends IonNavBase {
|
|
5
|
-
constructor(ref: ElementRef, environmentInjector: EnvironmentInjector,
|
|
5
|
+
constructor(ref: ElementRef, environmentInjector: EnvironmentInjector, angularDelegate: AngularDelegate, z: NgZone, c: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonNav, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<IonNav, "ion-nav", never, {}, {}, never, ["*"], true>;
|
|
8
8
|
}
|
|
@@ -3,7 +3,6 @@ import type { ModalOptions } from '@ionic/core/components';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ModalController extends OverlayBaseController<ModalOptions, HTMLIonModalElement> {
|
|
5
5
|
private angularDelegate;
|
|
6
|
-
private injector;
|
|
7
6
|
private environmentInjector;
|
|
8
7
|
constructor();
|
|
9
8
|
create(opts: ModalOptions): Promise<HTMLIonModalElement>;
|
|
@@ -2,7 +2,6 @@ import { OverlayBaseController } from '@ionic/angular/common';
|
|
|
2
2
|
import type { PopoverOptions } from '@ionic/core/components';
|
|
3
3
|
export declare class PopoverController extends OverlayBaseController<PopoverOptions, HTMLIonPopoverElement> {
|
|
4
4
|
private angularDelegate;
|
|
5
|
-
private injector;
|
|
6
5
|
private environmentInjector;
|
|
7
6
|
constructor();
|
|
8
7
|
create(opts: PopoverOptions): Promise<HTMLIonPopoverElement>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description
|
|
3
|
-
* NavParams are an object that exists on a page and can contain data for that particular view.
|
|
4
|
-
* Similar to how data was pass to a view in V1 with `$stateParams`, NavParams offer a much more flexible
|
|
5
|
-
* option with a simple `get` method.
|
|
6
|
-
*
|
|
7
|
-
* @usage
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { NavParams } from '@ionic/angular';
|
|
10
|
-
*
|
|
11
|
-
* export class MyClass{
|
|
12
|
-
*
|
|
13
|
-
* constructor(navParams: NavParams){
|
|
14
|
-
* // userParams is an object we have in our nav-parameters
|
|
15
|
-
* navParams.get('userParams');
|
|
16
|
-
* }
|
|
17
|
-
*
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class NavParams {
|
|
22
|
-
data: {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
};
|
|
25
|
-
constructor(data?: {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* Get the value of a nav-parameter for the current view
|
|
30
|
-
*
|
|
31
|
-
* ```ts
|
|
32
|
-
* import { NavParams } from 'ionic-angular';
|
|
33
|
-
*
|
|
34
|
-
* export class MyClass{
|
|
35
|
-
* constructor(public navParams: NavParams){
|
|
36
|
-
* // userParams is an object we have in our nav-parameters
|
|
37
|
-
* this.navParams.get('userParams');
|
|
38
|
-
* }
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @param param Which param you want to look up
|
|
43
|
-
*/
|
|
44
|
-
get<T = any>(param: string): T;
|
|
45
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description
|
|
3
|
-
* NavParams are an object that exists on a page and can contain data for that particular view.
|
|
4
|
-
* Similar to how data was pass to a view in V1 with `$stateParams`, NavParams offer a much more flexible
|
|
5
|
-
* option with a simple `get` method.
|
|
6
|
-
*
|
|
7
|
-
* @usage
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { NavParams } from '@ionic/angular';
|
|
10
|
-
*
|
|
11
|
-
* export class MyClass{
|
|
12
|
-
*
|
|
13
|
-
* constructor(navParams: NavParams){
|
|
14
|
-
* // userParams is an object we have in our nav-parameters
|
|
15
|
-
* navParams.get('userParams');
|
|
16
|
-
* }
|
|
17
|
-
*
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export class NavParams {
|
|
22
|
-
constructor(data = {}) {
|
|
23
|
-
this.data = data;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Get the value of a nav-parameter for the current view
|
|
27
|
-
*
|
|
28
|
-
* ```ts
|
|
29
|
-
* import { NavParams } from 'ionic-angular';
|
|
30
|
-
*
|
|
31
|
-
* export class MyClass{
|
|
32
|
-
* constructor(public navParams: NavParams){
|
|
33
|
-
* // userParams is an object we have in our nav-parameters
|
|
34
|
-
* this.navParams.get('userParams');
|
|
35
|
-
* }
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @param param Which param you want to look up
|
|
40
|
-
*/
|
|
41
|
-
get(param) {
|
|
42
|
-
return this.data[param];
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LXBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NvbW1vbi9zcmMvZGlyZWN0aXZlcy9uYXZpZ2F0aW9uL25hdi1wYXJhbXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtQkc7QUFDSCxNQUFNLE9BQU8sU0FBUztJQUNwQixZQUFtQixPQUErQixFQUFFO1FBQWpDLFNBQUksR0FBSixJQUFJLENBQTZCO0lBQUcsQ0FBQztJQUV4RDs7Ozs7Ozs7Ozs7Ozs7O09BZUc7SUFDSCxHQUFHLENBQVUsS0FBYTtRQUN4QixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDMUIsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAZGVzY3JpcHRpb25cbiAqIE5hdlBhcmFtcyBhcmUgYW4gb2JqZWN0IHRoYXQgZXhpc3RzIG9uIGEgcGFnZSBhbmQgY2FuIGNvbnRhaW4gZGF0YSBmb3IgdGhhdCBwYXJ0aWN1bGFyIHZpZXcuXG4gKiBTaW1pbGFyIHRvIGhvdyBkYXRhIHdhcyBwYXNzIHRvIGEgdmlldyBpbiBWMSB3aXRoIGAkc3RhdGVQYXJhbXNgLCBOYXZQYXJhbXMgb2ZmZXIgYSBtdWNoIG1vcmUgZmxleGlibGVcbiAqIG9wdGlvbiB3aXRoIGE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