@ionic/angular 7.5.3-dev.11698328998.1a79f815 → 7.5.3-dev.11698411574.1c60b825
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/directives/navigation/ion-router-outlet.d.ts +1 -6
- package/esm2020/common/providers/platform.mjs +19 -11
- package/esm2020/directives/navigation/ion-router-outlet.mjs +4 -22
- package/esm2020/standalone/navigation/router-outlet.mjs +4 -22
- package/fesm2015/ionic-angular-common.mjs +18 -10
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +8 -27
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +8 -27
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +18 -10
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +8 -25
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +8 -25
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/navigation/router-outlet.d.ts +1 -6
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, HostListener, Component, ChangeDetectionStrategy,
|
|
2
|
+
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, Optional, forwardRef, Injectable, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, MaxValidator, MinValidator } from '@angular/forms';
|
|
4
|
-
import * as i2
|
|
4
|
+
import * as i2 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, MenuController as MenuController$1, raf, ConfigToken, provideComponentInputBinding, AngularDelegate, ModalController, PopoverController } from '@ionic/angular/common';
|
|
6
6
|
export { ActionSheetController, AlertController, AngularDelegate, AnimationController, Config, DomController, GestureController, IonicRouteStrategy, LoadingController, ModalController, NavController, NavParams, PickerController, Platform, PopoverController, ToastController } from '@ionic/angular/common';
|
|
7
7
|
import { __decorate } from 'tslib';
|
|
8
8
|
import { fromEvent } from 'rxjs';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
10
10
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
11
|
-
import * as i2 from '@angular/router';
|
|
12
11
|
import { menuController, setupConfig } from '@ionic/core';
|
|
13
12
|
export { IonicSafeString, IonicSlides, createAnimation, createGesture, getIonPageElement, getPlatforms, getTimeGivenProgression, iosTransitionAnimation, isPlatform, mdTransitionAnimation, openURL } from '@ionic/core';
|
|
14
13
|
import { applyPolyfills, defineCustomElements } from '@ionic/core/loader';
|
|
@@ -2131,33 +2130,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2131
2130
|
|
|
2132
2131
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2133
2132
|
class IonRouterOutlet extends IonRouterOutlet$1 {
|
|
2134
|
-
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
2135
|
-
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
2136
|
-
this.parentOutlet = parentOutlet;
|
|
2137
|
-
}
|
|
2138
2133
|
}
|
|
2139
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
2134
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2140
2135
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
|
|
2141
2136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
2142
2137
|
type: Directive,
|
|
2143
2138
|
args: [{
|
|
2144
2139
|
selector: 'ion-router-outlet',
|
|
2145
2140
|
}]
|
|
2146
|
-
}]
|
|
2147
|
-
return [{ type: undefined, decorators: [{
|
|
2148
|
-
type: Attribute,
|
|
2149
|
-
args: ['name']
|
|
2150
|
-
}] }, { type: undefined, decorators: [{
|
|
2151
|
-
type: Optional
|
|
2152
|
-
}, {
|
|
2153
|
-
type: Attribute,
|
|
2154
|
-
args: ['tabs']
|
|
2155
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
2156
|
-
type: SkipSelf
|
|
2157
|
-
}, {
|
|
2158
|
-
type: Optional
|
|
2159
|
-
}] }];
|
|
2160
|
-
} });
|
|
2141
|
+
}] });
|
|
2161
2142
|
|
|
2162
2143
|
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
2163
2144
|
class IonTabs extends IonTabs$1 {
|
|
@@ -2206,7 +2187,7 @@ class IonBackButton extends IonBackButton$1 {
|
|
|
2206
2187
|
super(routerOutlet, navCtrl, config, r, z, c);
|
|
2207
2188
|
}
|
|
2208
2189
|
}
|
|
2209
|
-
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2
|
|
2190
|
+
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2.NavController }, { token: i2.Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2210
2191
|
/** @nocollapse */ IonBackButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonBackButton, selector: "ion-back-button", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2211
2192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, decorators: [{
|
|
2212
2193
|
type: Component,
|
|
@@ -2218,7 +2199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2218
2199
|
}], ctorParameters: function () {
|
|
2219
2200
|
return [{ type: IonRouterOutlet, decorators: [{
|
|
2220
2201
|
type: Optional
|
|
2221
|
-
}] }, { type: i2
|
|
2202
|
+
}] }, { type: i2.NavController }, { type: i2.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }];
|
|
2222
2203
|
} });
|
|
2223
2204
|
|
|
2224
2205
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
@@ -2227,7 +2208,7 @@ class IonNav extends IonNav$1 {
|
|
|
2227
2208
|
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2228
2209
|
}
|
|
2229
2210
|
}
|
|
2230
|
-
/** @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
|
|
2211
|
+
/** @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.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2231
2212
|
/** @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 });
|
|
2232
2213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, decorators: [{
|
|
2233
2214
|
type: Component,
|
|
@@ -2236,7 +2217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2236
2217
|
template: '<ng-content></ng-content>',
|
|
2237
2218
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2238
2219
|
}]
|
|
2239
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2
|
|
2220
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2240
2221
|
|
|
2241
2222
|
/**
|
|
2242
2223
|
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|