@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject,
|
|
2
|
+
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, EnvironmentInjector, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, MaxValidator, MinValidator } from '@angular/forms';
|
|
4
4
|
import * as i2$1 from '@ionic/angular/common';
|
|
5
5
|
import { ValueAccessor, setIonicClasses, IonRouterOutlet as IonRouterOutlet$1, IonTabs as IonTabs$1, IonBackButton as IonBackButton$1, IonNav as IonNav$1, RouterLinkDelegateDirective as RouterLinkDelegateDirective$1, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegateDirective$1, IonModal as IonModal$1, IonPopover as IonPopover$1, OverlayBaseController, MenuController as MenuController$1, AngularDelegate, raf, ConfigToken, provideComponentInputBinding } from '@ionic/angular/common';
|
|
6
|
-
export { AngularDelegate, Config, DomController, IonicRouteStrategy, NavController,
|
|
6
|
+
export { AngularDelegate, Config, DomController, IonicRouteStrategy, NavController, Platform } from '@ionic/angular/common';
|
|
7
7
|
import { __decorate } from 'tslib';
|
|
8
8
|
import { fromEvent } from 'rxjs';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
@@ -2274,11 +2274,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2274
2274
|
|
|
2275
2275
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2276
2276
|
class IonNav extends IonNav$1 {
|
|
2277
|
-
constructor(ref, environmentInjector,
|
|
2278
|
-
super(ref, environmentInjector,
|
|
2277
|
+
constructor(ref, environmentInjector, angularDelegate, z, c) {
|
|
2278
|
+
super(ref, environmentInjector, angularDelegate, z, c);
|
|
2279
2279
|
}
|
|
2280
2280
|
}
|
|
2281
|
-
/** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token:
|
|
2281
|
+
/** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i2$1.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2282
2282
|
/** @nocollapse */ IonNav.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonNav, selector: "ion-nav", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2283
2283
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, decorators: [{
|
|
2284
2284
|
type: Component,
|
|
@@ -2287,7 +2287,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2287
2287
|
template: '<ng-content></ng-content>',
|
|
2288
2288
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2289
2289
|
}]
|
|
2290
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type:
|
|
2290
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2291
2291
|
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|
|
@@ -2516,13 +2516,12 @@ class ModalController extends OverlayBaseController {
|
|
|
2516
2516
|
constructor() {
|
|
2517
2517
|
super(modalController);
|
|
2518
2518
|
this.angularDelegate = inject(AngularDelegate);
|
|
2519
|
-
this.injector = inject(Injector);
|
|
2520
2519
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2521
2520
|
}
|
|
2522
2521
|
create(opts) {
|
|
2523
2522
|
return super.create({
|
|
2524
2523
|
...opts,
|
|
2525
|
-
delegate: this.angularDelegate.create(this.environmentInjector,
|
|
2524
|
+
delegate: this.angularDelegate.create(this.environmentInjector, 'modal'),
|
|
2526
2525
|
});
|
|
2527
2526
|
}
|
|
2528
2527
|
}
|
|
@@ -2553,13 +2552,12 @@ class PopoverController extends OverlayBaseController {
|
|
|
2553
2552
|
constructor() {
|
|
2554
2553
|
super(popoverController);
|
|
2555
2554
|
this.angularDelegate = inject(AngularDelegate);
|
|
2556
|
-
this.injector = inject(Injector);
|
|
2557
2555
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2558
2556
|
}
|
|
2559
2557
|
create(opts) {
|
|
2560
2558
|
return super.create({
|
|
2561
2559
|
...opts,
|
|
2562
|
-
delegate: this.angularDelegate.create(this.environmentInjector,
|
|
2560
|
+
delegate: this.angularDelegate.create(this.environmentInjector, 'popover'),
|
|
2563
2561
|
});
|
|
2564
2562
|
}
|
|
2565
2563
|
}
|