@ionic/angular 7.5.3-dev.11698328998.1a79f815 → 7.5.3-dev.11698340692.18daff2f
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/angular-component-lib/utils.mjs +9 -1
- package/esm2020/directives/navigation/ion-router-outlet.mjs +4 -22
- package/esm2020/standalone/directives/angular-component-lib/utils.mjs +9 -1
- 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 +16 -27
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +16 -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 +16 -25
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +16 -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 { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive,
|
|
4
|
-
import * as i2
|
|
3
|
+
import { Directive, Component, ChangeDetectionStrategy, Optional, ViewChild, ContentChild, ContentChildren, APP_INITIALIZER, Injectable, HostListener } from '@angular/core';
|
|
4
|
+
import * as i2 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';
|
|
12
11
|
import { defineCustomElement as defineCustomElement$3 } from '@ionic/core/components/ion-modal.js';
|
|
13
12
|
import { defineCustomElement as defineCustomElement$4 } from '@ionic/core/components/ion-popover.js';
|
|
14
13
|
import { fromEvent } from 'rxjs';
|
|
@@ -95,12 +94,8 @@ import { defineCustomElement as defineCustomElement$1h } from '@ionic/core/compo
|
|
|
95
94
|
import { defineCustomElement as defineCustomElement$1i } from '@ionic/core/components/ion-toggle.js';
|
|
96
95
|
|
|
97
96
|
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
|
-
}
|
|
102
97
|
};
|
|
103
|
-
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps:
|
|
98
|
+
/** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
104
99
|
/** @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 });
|
|
105
100
|
IonRouterOutlet = __decorate([
|
|
106
101
|
ProxyCmp$1({
|
|
@@ -113,28 +108,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
113
108
|
selector: 'ion-router-outlet',
|
|
114
109
|
standalone: true,
|
|
115
110
|
}]
|
|
116
|
-
}]
|
|
117
|
-
return [{ type: undefined, decorators: [{
|
|
118
|
-
type: Attribute,
|
|
119
|
-
args: ['name']
|
|
120
|
-
}] }, { type: undefined, decorators: [{
|
|
121
|
-
type: Optional
|
|
122
|
-
}, {
|
|
123
|
-
type: Attribute,
|
|
124
|
-
args: ['tabs']
|
|
125
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
126
|
-
type: SkipSelf
|
|
127
|
-
}, {
|
|
128
|
-
type: Optional
|
|
129
|
-
}] }];
|
|
130
|
-
} });
|
|
111
|
+
}] });
|
|
131
112
|
|
|
132
113
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
133
114
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
134
115
|
super(routerOutlet, navCtrl, config, r, z, c);
|
|
135
116
|
}
|
|
136
117
|
};
|
|
137
|
-
/** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: i2
|
|
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 });
|
|
138
119
|
/** @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 });
|
|
139
120
|
IonBackButton = __decorate([
|
|
140
121
|
ProxyCmp$1({
|
|
@@ -152,7 +133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
152
133
|
}], ctorParameters: function () {
|
|
153
134
|
return [{ type: IonRouterOutlet, decorators: [{
|
|
154
135
|
type: Optional
|
|
155
|
-
}] }, { type: i2
|
|
136
|
+
}] }, { type: i2.NavController }, { type: i2.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }];
|
|
156
137
|
} });
|
|
157
138
|
|
|
158
139
|
let IonModal = class IonModal extends IonModal$1 {
|
|
@@ -235,6 +216,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
235
216
|
set(val) {
|
|
236
217
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
237
218
|
},
|
|
219
|
+
/**
|
|
220
|
+
* In the event that proxyInputs is called
|
|
221
|
+
* multiple times re-defining these inputs
|
|
222
|
+
* will cause an error to be thrown. As a result
|
|
223
|
+
* we set configurable: true to indicate these
|
|
224
|
+
* properties can be changed.
|
|
225
|
+
*/
|
|
226
|
+
configurable: true
|
|
238
227
|
});
|
|
239
228
|
});
|
|
240
229
|
};
|
|
@@ -2089,7 +2078,7 @@ let IonNav = class IonNav extends IonNav$1 {
|
|
|
2089
2078
|
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2090
2079
|
}
|
|
2091
2080
|
};
|
|
2092
|
-
/** @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
|
|
2081
|
+
/** @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 });
|
|
2093
2082
|
/** @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 });
|
|
2094
2083
|
IonNav = __decorate([
|
|
2095
2084
|
ProxyCmp$1({
|
|
@@ -2103,7 +2092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2103
2092
|
template: '<ng-content></ng-content>',
|
|
2104
2093
|
standalone: true,
|
|
2105
2094
|
}]
|
|
2106
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2
|
|
2095
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2107
2096
|
|
|
2108
2097
|
const CHECKBOX_INPUTS = [
|
|
2109
2098
|
'checked',
|