@ionic/angular 7.6.2-dev.11705694334.11b34c62 → 7.6.2-dev.11706205501.196a5433
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/router-outlet.d.ts +4 -3
- package/common/index.d.ts +0 -1
- package/css/core.css +101 -34
- package/css/core.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/themes/dark.always.css +122 -0
- package/css/themes/dark.always.css.map +1 -0
- package/css/themes/dark.class.css +122 -0
- package/css/themes/dark.class.css.map +1 -0
- package/css/themes/dark.css +3 -0
- package/css/themes/dark.css.map +1 -0
- package/css/themes/dark.system.css +124 -0
- package/css/themes/dark.system.css.map +1 -0
- package/css/typography.css +1 -1
- package/directives/navigation/ion-router-outlet.d.ts +12 -4
- package/directives/proxies.d.ts +1 -1
- package/esm2020/common/directives/navigation/router-outlet.mjs +15 -6
- package/esm2020/common/directives/navigation/stack-controller.mjs +1 -4
- package/esm2020/common/index.mjs +1 -2
- package/esm2020/common/providers/angular-delegate.mjs +34 -38
- package/esm2020/directives/navigation/ion-router-outlet.mjs +13 -9
- package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
- package/esm2020/directives/proxies.mjs +4 -4
- package/esm2020/index.mjs +2 -2
- package/esm2020/standalone/directives/proxies.mjs +4 -4
- package/esm2020/standalone/index.mjs +2 -2
- package/esm2020/standalone/navigation/router-outlet.mjs +13 -9
- package/esm2020/standalone/navigation/tabs.mjs +1 -1
- package/fesm2015/ionic-angular-common.mjs +49 -91
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +17 -13
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +17 -13
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +48 -90
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +17 -13
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +17 -13
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/standalone/directives/proxies.d.ts +1 -1
- package/standalone/index.d.ts +1 -1
- package/standalone/navigation/router-outlet.d.ts +12 -4
- 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.11706205501.196a5433",
|
|
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.11706205501.196a5433",
|
|
60
60
|
"ionicons": "^7.0.0",
|
|
61
61
|
"jsonc-parser": "^3.0.0",
|
|
62
62
|
"tslib": "^2.3.0"
|
|
@@ -482,7 +482,7 @@ export declare class IonItemSliding {
|
|
|
482
482
|
protected el: HTMLElement;
|
|
483
483
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
484
484
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonItemSliding, never>;
|
|
485
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonItemSliding, "ion-item-sliding", never, { "
|
|
485
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonItemSliding, "ion-item-sliding", never, { "disabled": "disabled"; }, {}, never, ["*"], true>;
|
|
486
486
|
}
|
|
487
487
|
export declare interface IonItemSliding extends Components.IonItemSliding {
|
|
488
488
|
/**
|
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,17 +1,25 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { ViewContainerRef, ElementRef, NgZone } from '@angular/core';
|
|
3
3
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { IonRouterOutlet as IonRouterOutletBase } from '@ionic/angular/common';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class IonRouterOutlet extends IonRouterOutletBase {
|
|
7
7
|
readonly parentOutlet?: IonRouterOutlet | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* `static: true` must be set so the query results are resolved
|
|
10
|
+
* before change detection runs. Otherwise, the view container
|
|
11
|
+
* ref will be ion-router-outlet instead of ng-container, and
|
|
12
|
+
* the first view will be added as a sibling of ion-router-outlet
|
|
13
|
+
* instead of a child.
|
|
14
|
+
*/
|
|
15
|
+
outletContent: ViewContainerRef;
|
|
8
16
|
/**
|
|
9
17
|
* We need to pass in the correct instance of IonRouterOutlet
|
|
10
18
|
* otherwise parentOutlet will be null in a nested outlet context.
|
|
11
19
|
* This results in APIs such as NavController.pop not working
|
|
12
20
|
* in nested outlets because the parent outlet cannot be found.
|
|
13
21
|
*/
|
|
14
|
-
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
16
|
-
static
|
|
22
|
+
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, outletContent: ViewContainerRef, parentOutlet?: IonRouterOutlet | undefined);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonRouterOutlet, "ion-router-outlet", never, {}, {}, never, ["*"], true>;
|
|
17
25
|
}
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LXBhcmFtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NvbW1vbi9zcmMvZGlyZWN0aXZlcy9uYXZpZ2F0aW9uL25hdi1wYXJhbXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtQkc7QUFDSCxNQUFNLE9BQU8sU0FBUztJQUNwQixZQUFtQixPQUErQixFQUFFO1FBQWpDLFNBQUksR0FBSixJQUFJLENBQTZCO0lBQUcsQ0FBQztJQUV4RDs7Ozs7Ozs7Ozs7Ozs7O09BZUc7SUFDSCxHQUFHLENBQVUsS0FBYTtRQUN4QixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFD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