@ionic/angular 7.6.2-dev.11706202387.1dfcd9b8 → 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/nav.d.ts +2 -2
- package/common/providers/angular-delegate.d.ts +5 -4
- package/directives/navigation/ion-nav.d.ts +2 -2
- package/esm2020/common/directives/navigation/nav.mjs +5 -5
- package/esm2020/common/providers/angular-delegate.mjs +35 -23
- package/esm2020/directives/navigation/ion-nav.mjs +5 -5
- package/esm2020/providers/modal-controller.mjs +4 -3
- package/esm2020/providers/popover-controller.mjs +4 -3
- package/esm2020/standalone/navigation/nav.mjs +5 -5
- package/esm2020/standalone/providers/modal-controller.mjs +4 -3
- package/esm2020/standalone/providers/popover-controller.mjs +4 -3
- package/fesm2015/ionic-angular-common.mjs +38 -26
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +9 -7
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +9 -7
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +38 -26
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +9 -7
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +9 -7
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/providers/modal-controller.d.ts +1 -0
- package/providers/popover-controller.d.ts +1 -0
- package/standalone/navigation/nav.d.ts +2 -2
- package/standalone/providers/modal-controller.d.ts +1 -0
- package/standalone/providers/popover-controller.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, EnvironmentInjector, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, Injector, 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';
|
|
@@ -2278,11 +2278,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2278
2278
|
|
|
2279
2279
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2280
2280
|
class IonNav extends IonNav$1 {
|
|
2281
|
-
constructor(ref, environmentInjector, angularDelegate, z, c) {
|
|
2282
|
-
super(ref, environmentInjector, angularDelegate, z, c);
|
|
2281
|
+
constructor(ref, environmentInjector, injector, angularDelegate, z, c) {
|
|
2282
|
+
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
|
-
/** @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 });
|
|
2285
|
+
/** @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: i0.Injector }, { token: i2$1.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2286
2286
|
/** @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 });
|
|
2287
2287
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, decorators: [{
|
|
2288
2288
|
type: Component,
|
|
@@ -2291,7 +2291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2291
2291
|
template: '<ng-content></ng-content>',
|
|
2292
2292
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2293
2293
|
}]
|
|
2294
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2294
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2295
2295
|
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|
|
@@ -2520,10 +2520,11 @@ class ModalController extends OverlayBaseController {
|
|
|
2520
2520
|
constructor() {
|
|
2521
2521
|
super(modalController);
|
|
2522
2522
|
this.angularDelegate = inject(AngularDelegate);
|
|
2523
|
+
this.injector = inject(Injector);
|
|
2523
2524
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2524
2525
|
}
|
|
2525
2526
|
create(opts) {
|
|
2526
|
-
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, 'modal') }));
|
|
2527
|
+
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal') }));
|
|
2527
2528
|
}
|
|
2528
2529
|
}
|
|
2529
2530
|
/** @nocollapse */ ModalController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -2553,10 +2554,11 @@ class PopoverController extends OverlayBaseController {
|
|
|
2553
2554
|
constructor() {
|
|
2554
2555
|
super(popoverController);
|
|
2555
2556
|
this.angularDelegate = inject(AngularDelegate);
|
|
2557
|
+
this.injector = inject(Injector);
|
|
2556
2558
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2557
2559
|
}
|
|
2558
2560
|
create(opts) {
|
|
2559
|
-
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, 'popover') }));
|
|
2561
|
+
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover') }));
|
|
2560
2562
|
}
|
|
2561
2563
|
}
|
|
2562
2564
|
|