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