@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,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
|
|
3
|
+
import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
|
|
4
4
|
import * as i2$1 from '@ionic/angular/common';
|
|
5
5
|
import { IonRouterOutlet as IonRouterOutlet$1, ProxyCmp as ProxyCmp$1, IonBackButton as IonBackButton$1, IonModal as IonModal$1, IonPopover as IonPopover$1, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, IonTabs as IonTabs$1, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
|
|
6
6
|
export { Config, DomController, IonicRouteStrategy, NavController, Platform } from '@ionic/angular/common';
|
|
@@ -2165,11 +2165,12 @@ class ModalController extends OverlayBaseController {
|
|
|
2165
2165
|
constructor() {
|
|
2166
2166
|
super(modalController);
|
|
2167
2167
|
this.angularDelegate = inject(AngularDelegate);
|
|
2168
|
+
this.injector = inject(Injector);
|
|
2168
2169
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2169
2170
|
defineCustomElement$3();
|
|
2170
2171
|
}
|
|
2171
2172
|
create(opts) {
|
|
2172
|
-
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, 'modal') }));
|
|
2173
|
+
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal') }));
|
|
2173
2174
|
}
|
|
2174
2175
|
}
|
|
2175
2176
|
/** @nocollapse */ ModalController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -2182,11 +2183,12 @@ class PopoverController extends OverlayBaseController {
|
|
|
2182
2183
|
constructor() {
|
|
2183
2184
|
super(popoverController);
|
|
2184
2185
|
this.angularDelegate = inject(AngularDelegate);
|
|
2186
|
+
this.injector = inject(Injector);
|
|
2185
2187
|
this.environmentInjector = inject(EnvironmentInjector);
|
|
2186
2188
|
defineCustomElement$4();
|
|
2187
2189
|
}
|
|
2188
2190
|
create(opts) {
|
|
2189
|
-
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, 'popover') }));
|
|
2191
|
+
return super.create(Object.assign(Object.assign({}, opts), { delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover') }));
|
|
2190
2192
|
}
|
|
2191
2193
|
}
|
|
2192
2194
|
|
|
@@ -2382,11 +2384,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2382
2384
|
}], ctorParameters: function () { return []; } });
|
|
2383
2385
|
|
|
2384
2386
|
let IonNav = class IonNav extends IonNav$1 {
|
|
2385
|
-
constructor(ref, environmentInjector, angularDelegate, z, c) {
|
|
2386
|
-
super(ref, environmentInjector, angularDelegate, z, c);
|
|
2387
|
+
constructor(ref, environmentInjector, injector, angularDelegate, z, c) {
|
|
2388
|
+
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2387
2389
|
}
|
|
2388
2390
|
};
|
|
2389
|
-
/** @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 });
|
|
2391
|
+
/** @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 });
|
|
2390
2392
|
/** @nocollapse */ IonNav.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonNav, isStandalone: true, selector: "ion-nav", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
2391
2393
|
IonNav = __decorate([
|
|
2392
2394
|
ProxyCmp$1({
|
|
@@ -2400,7 +2402,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2400
2402
|
template: '<ng-content></ng-content>',
|
|
2401
2403
|
standalone: true,
|
|
2402
2404
|
}]
|
|
2403
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2405
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2404
2406
|
|
|
2405
2407
|
const CHECKBOX_INPUTS = [
|
|
2406
2408
|
'checked',
|