@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,26 +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
|
-
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
|
-
}] }]; } });
|
|
111
|
+
}] });
|
|
129
112
|
|
|
130
113
|
let IonBackButton = class IonBackButton extends IonBackButton$1 {
|
|
131
114
|
constructor(routerOutlet, navCtrl, config, r, z, c) {
|
|
132
115
|
super(routerOutlet, navCtrl, config, r, z, c);
|
|
133
116
|
}
|
|
134
117
|
};
|
|
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
|
|
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 });
|
|
136
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 });
|
|
137
120
|
IonBackButton = __decorate([
|
|
138
121
|
ProxyCmp$1({
|
|
@@ -149,7 +132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
149
132
|
}]
|
|
150
133
|
}], ctorParameters: function () { return [{ type: IonRouterOutlet, decorators: [{
|
|
151
134
|
type: Optional
|
|
152
|
-
}] }, { type: i2
|
|
135
|
+
}] }, { type: i2.NavController }, { type: i2.Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
153
136
|
|
|
154
137
|
let IonModal = class IonModal extends IonModal$1 {
|
|
155
138
|
};
|
|
@@ -231,6 +214,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
231
214
|
set(val) {
|
|
232
215
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
233
216
|
},
|
|
217
|
+
/**
|
|
218
|
+
* In the event that proxyInputs is called
|
|
219
|
+
* multiple times re-defining these inputs
|
|
220
|
+
* will cause an error to be thrown. As a result
|
|
221
|
+
* we set configurable: true to indicate these
|
|
222
|
+
* properties can be changed.
|
|
223
|
+
*/
|
|
224
|
+
configurable: true
|
|
234
225
|
});
|
|
235
226
|
});
|
|
236
227
|
};
|
|
@@ -2085,7 +2076,7 @@ let IonNav = class IonNav extends IonNav$1 {
|
|
|
2085
2076
|
super(ref, environmentInjector, injector, angularDelegate, z, c);
|
|
2086
2077
|
}
|
|
2087
2078
|
};
|
|
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
|
|
2079
|
+
/** @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 });
|
|
2089
2080
|
/** @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 });
|
|
2090
2081
|
IonNav = __decorate([
|
|
2091
2082
|
ProxyCmp$1({
|
|
@@ -2099,7 +2090,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2099
2090
|
template: '<ng-content></ng-content>',
|
|
2100
2091
|
standalone: true,
|
|
2101
2092
|
}]
|
|
2102
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2
|
|
2093
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
2103
2094
|
|
|
2104
2095
|
const CHECKBOX_INPUTS = [
|
|
2105
2096
|
'checked',
|