@ionic/angular 7.5.6-dev.11700086473.1eebae2a → 7.5.6-dev.11700149859.12fc59a6
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/router-outlet.d.ts +4 -3
- package/directives/navigation/ion-router-outlet.d.ts +5 -4
- package/esm2020/common/directives/navigation/router-outlet.mjs +14 -6
- package/esm2020/directives/navigation/ion-router-outlet.mjs +13 -9
- package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
- package/esm2020/standalone/navigation/router-outlet.mjs +13 -9
- package/esm2020/standalone/navigation/tabs.mjs +1 -1
- package/fesm2015/ionic-angular-common.mjs +13 -5
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +13 -9
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +13 -9
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +13 -5
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +13 -9
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +13 -9
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/navigation/router-outlet.d.ts +5 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
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 { AlertController, Config, DomController, IonicRouteStrategy, LoadingController, NavController, NavParams, PickerController, Platform } from '@ionic/angular/common';
|
|
@@ -101,23 +101,24 @@ let IonRouterOutlet = class IonRouterOutlet extends IonRouterOutlet$1 {
|
|
|
101
101
|
* This results in APIs such as NavController.pop not working
|
|
102
102
|
* in nested outlets because the parent outlet cannot be found.
|
|
103
103
|
*/
|
|
104
|
-
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
105
|
-
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
104
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet) {
|
|
105
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet);
|
|
106
106
|
this.parentOutlet = parentOutlet;
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.
|
|
110
|
-
/** @nocollapse */ IonRouterOutlet.ɵ
|
|
109
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
/** @nocollapse */ IonRouterOutlet.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", viewQueries: [{ propertyName: "outletContent", first: true, predicate: ["outletContent"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: '<ng-container #outletContent><ng-content></ng-content></ng-container>', isInline: true });
|
|
111
111
|
IonRouterOutlet = __decorate([
|
|
112
112
|
ProxyCmp$1({
|
|
113
113
|
defineCustomElementFn: defineCustomElement$1,
|
|
114
114
|
})
|
|
115
115
|
], IonRouterOutlet);
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
117
|
-
type:
|
|
117
|
+
type: Component,
|
|
118
118
|
args: [{
|
|
119
119
|
selector: 'ion-router-outlet',
|
|
120
120
|
standalone: true,
|
|
121
|
+
template: '<ng-container #outletContent><ng-content></ng-content></ng-container>'
|
|
121
122
|
}]
|
|
122
123
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
123
124
|
type: Attribute,
|
|
@@ -127,11 +128,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
127
128
|
}, {
|
|
128
129
|
type: Attribute,
|
|
129
130
|
args: ['tabs']
|
|
130
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
131
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: IonRouterOutlet, decorators: [{
|
|
131
132
|
type: SkipSelf
|
|
132
133
|
}, {
|
|
133
134
|
type: Optional
|
|
134
|
-
}] }]; }
|
|
135
|
+
}] }]; }, propDecorators: { outletContent: [{
|
|
136
|
+
type: ViewChild,
|
|
137
|
+
args: ['outletContent', { read: ViewContainerRef }]
|
|
138
|
+
}] } });
|
|
135
139
|
|
|
136
140
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
137
141
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
@@ -2044,7 +2048,7 @@ class IonTabs extends IonTabs$1 {
|
|
|
2044
2048
|
></ion-router-outlet>
|
|
2045
2049
|
</div>
|
|
2046
2050
|
<ng-content></ng-content>
|
|
2047
|
-
`, isInline: true, styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"], dependencies: [{ kind: "
|
|
2051
|
+
`, isInline: true, styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"], dependencies: [{ kind: "component", type: IonRouterOutlet, selector: "ion-router-outlet" }] });
|
|
2048
2052
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, decorators: [{
|
|
2049
2053
|
type: Component,
|
|
2050
2054
|
args: [{ selector: 'ion-tabs', template: `
|