@ionic/angular 7.5.6-dev.11700149859.12fc59a6 → 7.5.6-dev.11700169088.140f3e6a
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 +3 -4
- package/common/index.d.ts +0 -2
- package/css/core.css +66 -0
- package/css/core.css.map +1 -1
- package/css/display.css +44 -0
- package/css/display.css.map +1 -1
- package/css/float-elements.css +44 -0
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +88 -0
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +22 -0
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +44 -0
- package/css/padding.css.map +1 -1
- package/css/structure.css +44 -0
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +44 -0
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +44 -0
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +44 -0
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +220 -0
- package/css/utils.bundle.css.map +1 -1
- package/directives/control-value-accessors/index.d.ts +1 -0
- package/directives/control-value-accessors/radio-value-accessor.d.ts +9 -0
- package/directives/navigation/ion-router-outlet.d.ts +4 -5
- package/esm2020/common/directives/navigation/router-outlet.mjs +6 -14
- package/esm2020/common/index.mjs +1 -3
- package/esm2020/directives/control-value-accessors/index.mjs +2 -1
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +42 -0
- package/esm2020/directives/navigation/ion-router-outlet.mjs +9 -13
- package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
- package/esm2020/index.mjs +5 -2
- package/esm2020/ionic-module.mjs +5 -2
- package/esm2020/providers/alert-controller.mjs +18 -0
- package/esm2020/providers/picker-controller.mjs +18 -0
- package/esm2020/standalone/directives/index.mjs +2 -1
- package/esm2020/standalone/directives/proxies.mjs +1 -30
- package/esm2020/standalone/directives/radio.mjs +62 -0
- package/esm2020/standalone/index.mjs +5 -3
- package/esm2020/standalone/navigation/router-outlet.mjs +9 -13
- package/esm2020/standalone/navigation/tabs.mjs +1 -1
- package/esm2020/standalone/providers/alert-controller.mjs +18 -0
- package/esm2020/standalone/providers/picker-controller.mjs +21 -0
- package/fesm2015/ionic-angular-common.mjs +7 -43
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +157 -104
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +81 -16
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +7 -43
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +157 -104
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +81 -16
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +4 -1
- package/ionic-module.d.ts +12 -11
- package/package.json +2 -2
- package/providers/alert-controller.d.ts +8 -0
- package/providers/picker-controller.d.ts +8 -0
- package/standalone/directives/index.d.ts +1 -0
- package/standalone/directives/proxies.d.ts +0 -17
- package/standalone/directives/radio.d.ts +22 -0
- package/standalone/index.d.ts +4 -2
- package/standalone/navigation/router-outlet.d.ts +4 -5
- package/{common → standalone}/providers/alert-controller.d.ts +1 -1
- package/{common → standalone}/providers/picker-controller.d.ts +1 -1
- package/esm2020/common/providers/alert-controller.mjs +0 -18
- package/esm2020/common/providers/picker-controller.mjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef, Directive, ContentChild, EventEmitter, ViewContainerRef, EnvironmentInjector, Attribute, SkipSelf, Input, Output, reflectComponentType, HostListener, ElementRef, ViewChild } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { loadingController, isPlatform, getPlatforms, LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, componentOnReady } from '@ionic/core/components';
|
|
4
4
|
import * as i3 from '@angular/router';
|
|
5
5
|
import { NavigationStart, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
@@ -35,20 +35,6 @@ class OverlayBaseController {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
class AlertController extends OverlayBaseController {
|
|
39
|
-
constructor() {
|
|
40
|
-
super(alertController);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/** @nocollapse */ AlertController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
-
/** @nocollapse */ AlertController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, providedIn: 'root' });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, decorators: [{
|
|
46
|
-
type: Injectable,
|
|
47
|
-
args: [{
|
|
48
|
-
providedIn: 'root',
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return []; } });
|
|
51
|
-
|
|
52
38
|
class LoadingController extends OverlayBaseController {
|
|
53
39
|
constructor() {
|
|
54
40
|
super(loadingController);
|
|
@@ -155,20 +141,6 @@ class MenuController {
|
|
|
155
141
|
}
|
|
156
142
|
}
|
|
157
143
|
|
|
158
|
-
class PickerController extends OverlayBaseController {
|
|
159
|
-
constructor() {
|
|
160
|
-
super(pickerController);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
/** @nocollapse */ PickerController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
164
|
-
/** @nocollapse */ PickerController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, providedIn: 'root' });
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, decorators: [{
|
|
166
|
-
type: Injectable,
|
|
167
|
-
args: [{
|
|
168
|
-
providedIn: 'root',
|
|
169
|
-
}]
|
|
170
|
-
}], ctorParameters: function () { return []; } });
|
|
171
|
-
|
|
172
144
|
class DomController {
|
|
173
145
|
/**
|
|
174
146
|
* Schedules a task to run during the READ phase of the next frame.
|
|
@@ -1459,8 +1431,7 @@ const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
|
|
|
1459
1431
|
// TODO(FW-2827): types
|
|
1460
1432
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
1461
1433
|
class IonRouterOutlet {
|
|
1462
|
-
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute,
|
|
1463
|
-
this.outletContent = outletContent;
|
|
1434
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
1464
1435
|
this.parentOutlet = parentOutlet;
|
|
1465
1436
|
this.activatedView = null;
|
|
1466
1437
|
// Maintain map of activated route proxies for each component instance
|
|
@@ -1647,15 +1618,8 @@ class IonRouterOutlet {
|
|
|
1647
1618
|
const injector = new OutletInjector(activatedRouteProxy, childContexts, this.location.injector);
|
|
1648
1619
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1649
1620
|
const component = snapshot.routeConfig.component ?? snapshot.component;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
* However, createComponent mounts components as siblings of the
|
|
1653
|
-
* ViewContainerRef. As a result, outletContent must reference
|
|
1654
|
-
* an ng-container inside of ion-router-outlet and not
|
|
1655
|
-
* ion-router-outlet itself.
|
|
1656
|
-
*/
|
|
1657
|
-
cmpRef = this.activated = this.outletContent.createComponent(component, {
|
|
1658
|
-
index: this.outletContent.length,
|
|
1621
|
+
cmpRef = this.activated = this.location.createComponent(component, {
|
|
1622
|
+
index: this.location.length,
|
|
1659
1623
|
injector,
|
|
1660
1624
|
environmentInjector: environmentInjector ?? this.environmentInjector,
|
|
1661
1625
|
});
|
|
@@ -1774,7 +1738,7 @@ class IonRouterOutlet {
|
|
|
1774
1738
|
this.currentActivatedRoute$.next({ component, activatedRoute });
|
|
1775
1739
|
}
|
|
1776
1740
|
}
|
|
1777
|
-
/** @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: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token:
|
|
1741
|
+
/** @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: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1778
1742
|
/** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", inputs: { animated: "animated", animation: "animation", mode: "mode", swipeGesture: "swipeGesture", name: "name" }, outputs: { stackWillChange: "stackWillChange", stackDidChange: "stackDidChange", activateEvents: "activate", deactivateEvents: "deactivate" }, exportAs: ["outlet"], ngImport: i0 });
|
|
1779
1743
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
1780
1744
|
type: Directive,
|
|
@@ -1792,7 +1756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1792
1756
|
}, {
|
|
1793
1757
|
type: Attribute,
|
|
1794
1758
|
args: ['tabs']
|
|
1795
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i3.Router }, { type: i0.NgZone }, { type: i3.ActivatedRoute }, { type:
|
|
1759
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i3.Router }, { type: i0.NgZone }, { type: i3.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
1796
1760
|
type: SkipSelf
|
|
1797
1761
|
}, {
|
|
1798
1762
|
type: Optional
|
|
@@ -2486,5 +2450,5 @@ class IonicRouteStrategy {
|
|
|
2486
2450
|
* Generated bundle index. Do not edit.
|
|
2487
2451
|
*/
|
|
2488
2452
|
|
|
2489
|
-
export {
|
|
2453
|
+
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, LoadingController, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, bindLifecycleEvents, provideComponentInputBinding, raf, setIonicClasses };
|
|
2490
2454
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|