@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 () {
|
|
123
124
|
return [{ type: undefined, decorators: [{
|
|
@@ -128,12 +129,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
128
129
|
}, {
|
|
129
130
|
type: Attribute,
|
|
130
131
|
args: ['tabs']
|
|
131
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
132
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: IonRouterOutlet, decorators: [{
|
|
132
133
|
type: SkipSelf
|
|
133
134
|
}, {
|
|
134
135
|
type: Optional
|
|
135
136
|
}] }];
|
|
136
|
-
}
|
|
137
|
+
}, propDecorators: { outletContent: [{
|
|
138
|
+
type: ViewChild,
|
|
139
|
+
args: ['outletContent', { read: ViewContainerRef }]
|
|
140
|
+
}] } });
|
|
137
141
|
|
|
138
142
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
139
143
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
@@ -2048,7 +2052,7 @@ class IonTabs extends IonTabs$1 {
|
|
|
2048
2052
|
></ion-router-outlet>
|
|
2049
2053
|
</div>
|
|
2050
2054
|
<ng-content></ng-content>
|
|
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: "
|
|
2055
|
+
`, 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" }] });
|
|
2052
2056
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, decorators: [{
|
|
2053
2057
|
type: Component,
|
|
2054
2058
|
args: [{ selector: 'ion-tabs', template: `
|