@ionic/angular 7.5.2 → 7.5.3-dev.11698328998.1a79f815
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 +6 -1
- package/esm2020/directives/navigation/ion-router-outlet.mjs +22 -4
- package/esm2020/standalone/navigation/router-outlet.mjs +22 -4
- package/fesm2015/ionic-angular-standalone.mjs +27 -8
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +27 -8
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +25 -8
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +25 -8
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/navigation/router-outlet.d.ts +6 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive, Component, ChangeDetectionStrategy,
|
|
4
|
-
import * as i2 from '@ionic/angular/common';
|
|
3
|
+
import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, APP_INITIALIZER, Injectable, HostListener } from '@angular/core';
|
|
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, ConfigToken, provideComponentInputBinding, AngularDelegate, ModalController, PopoverController, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
|
|
6
6
|
export { ActionSheetController, AlertController, AnimationController, Config, DomController, GestureController, IonicRouteStrategy, LoadingController, ModalController, NavController, NavParams, PickerController, Platform, PopoverController, ToastController } 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';
|
|
10
10
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
11
|
+
import * as i2 from '@angular/router';
|
|
11
12
|
import { defineCustomElement as defineCustomElement$3 } from '@ionic/core/components/ion-modal.js';
|
|
12
13
|
import { defineCustomElement as defineCustomElement$4 } from '@ionic/core/components/ion-popover.js';
|
|
13
14
|
import { fromEvent } from 'rxjs';
|
|
@@ -94,8 +95,12 @@ import { defineCustomElement as defineCustomElement$1h } from '@ionic/core/compo
|
|
|
94
95
|
import { defineCustomElement as defineCustomElement$1i } from '@ionic/core/components/ion-toggle.js';
|
|
95
96
|
|
|
96
97
|
let IonRouterOutlet = class IonRouterOutlet extends IonRouterOutlet$1 {
|
|
98
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
99
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
100
|
+
this.parentOutlet = parentOutlet;
|
|
101
|
+
}
|
|
97
102
|
};
|
|
98
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
103
|
+
/** @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.Directive });
|
|
99
104
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
|
|
100
105
|
IonRouterOutlet = __decorate([
|
|
101
106
|
ProxyCmp$1({
|
|
@@ -108,14 +113,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
108
113
|
selector: 'ion-router-outlet',
|
|
109
114
|
standalone: true,
|
|
110
115
|
}]
|
|
111
|
-
}]
|
|
116
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
117
|
+
type: Attribute,
|
|
118
|
+
args: ['name']
|
|
119
|
+
}] }, { type: undefined, decorators: [{
|
|
120
|
+
type: Optional
|
|
121
|
+
}, {
|
|
122
|
+
type: Attribute,
|
|
123
|
+
args: ['tabs']
|
|
124
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
125
|
+
type: SkipSelf
|
|
126
|
+
}, {
|
|
127
|
+
type: Optional
|
|
128
|
+
}] }]; } });
|
|
112
129
|
|
|
113
130
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
114
131
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
115
132
|
super(routerOutlet, navCtrl, config, r, z, c);
|
|
116
133
|
}
|
|
117
134
|
};
|
|
118
|
-
/** @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 });
|
|
135
|
+
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2$1.NavController }, { token: i2$1.Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
119
136
|
/** @nocollapse */ IonBackButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonBackButton, isStandalone: true, selector: "ion-back-button", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
137
|
IonBackButton = __decorate([
|
|
121
138
|
ProxyCmp$1({
|
|
@@ -132,7 +149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
132
149
|
}]
|
|
133
150
|
}], ctorParameters: function () { return [{ type: IonRouterOutlet, decorators: [{
|
|
134
151
|
type: Optional
|
|
135
|
-
}] }, { type: i2.NavController }, { type: i2.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
152
|
+
}] }, { type: i2$1.NavController }, { type: i2$1.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
136
153
|
|
|
137
154
|
let IonModal = class IonModal extends IonModal$1 {
|
|
138
155
|
};
|
|
@@ -2068,7 +2085,7 @@ let IonNav = class IonNav extends IonNav$1 {
|
|
|
2068
2085
|
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2069
2086
|
}
|
|
2070
2087
|
};
|
|
2071
|
-
/** @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 });
|
|
2088
|
+
/** @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 });
|
|
2072
2089
|
/** @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 });
|
|
2073
2090
|
IonNav = __decorate([
|
|
2074
2091
|
ProxyCmp$1({
|
|
@@ -2082,7 +2099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2082
2099
|
template: '<ng-content></ng-content>',
|
|
2083
2100
|
standalone: true,
|
|
2084
2101
|
}]
|
|
2085
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2102
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2086
2103
|
|
|
2087
2104
|
const CHECKBOX_INPUTS = [
|
|
2088
2105
|
'checked',
|