@ionic/angular 7.5.6-dev.11700071366.1395b143 → 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/control-value-accessors/index.d.ts +0 -1
- package/directives/navigation/ion-router-outlet.d.ts +5 -4
- package/esm2020/common/directives/navigation/router-outlet.mjs +14 -6
- package/esm2020/directives/control-value-accessors/index.mjs +1 -2
- package/esm2020/directives/navigation/ion-router-outlet.mjs +13 -9
- package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
- package/esm2020/index.mjs +1 -2
- package/esm2020/ionic-module.mjs +2 -5
- package/esm2020/standalone/directives/index.mjs +1 -2
- package/esm2020/standalone/directives/proxies.mjs +30 -1
- package/esm2020/standalone/index.mjs +2 -2
- 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 +101 -124
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +14 -51
- 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 +101 -124
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +14 -51
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/ionic-module.d.ts +11 -12
- package/package.json +2 -2
- package/standalone/directives/index.d.ts +0 -1
- package/standalone/directives/proxies.d.ts +17 -0
- package/standalone/index.d.ts +1 -1
- package/standalone/navigation/router-outlet.d.ts +5 -4
- package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
- package/esm2020/standalone/directives/radio.mjs +0 -62
- package/standalone/directives/radio.d.ts +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, HostListener, Component, ChangeDetectionStrategy, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, Injector, EnvironmentInjector, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, Injector, EnvironmentInjector, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, MaxValidator, MinValidator } from '@angular/forms';
|
|
4
4
|
import * as i2$1 from '@ionic/angular/common';
|
|
5
5
|
import { ValueAccessor, setIonicClasses, IonRouterOutlet as IonRouterOutlet$1, IonTabs as IonTabs$1, IonBackButton as IonBackButton$1, IonNav as IonNav$1, RouterLinkDelegateDirective as RouterLinkDelegateDirective$1, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegateDirective$1, IonModal as IonModal$1, IonPopover as IonPopover$1, OverlayBaseController, MenuController as MenuController$1, AngularDelegate, raf, ConfigToken, provideComponentInputBinding } from '@ionic/angular/common';
|
|
@@ -88,44 +88,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
88
88
|
args: ['ionInput', ['$event.target']]
|
|
89
89
|
}] } });
|
|
90
90
|
|
|
91
|
-
class RadioValueAccessorDirective extends ValueAccessor {
|
|
92
|
-
constructor(injector, el) {
|
|
93
|
-
super(injector, el);
|
|
94
|
-
}
|
|
95
|
-
_handleIonSelect(el) {
|
|
96
|
-
/**
|
|
97
|
-
* The `el` type is any to access the `checked` state property
|
|
98
|
-
* that is not exposed on the type interface.
|
|
99
|
-
*/
|
|
100
|
-
this.handleValueChange(el, el.checked);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/** @nocollapse */ RadioValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
104
|
-
/** @nocollapse */ RadioValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: RadioValueAccessorDirective, selector: "ion-radio", host: { listeners: { "ionSelect": "_handleIonSelect($event.target)" } }, providers: [
|
|
105
|
-
{
|
|
106
|
-
provide: NG_VALUE_ACCESSOR,
|
|
107
|
-
useExisting: RadioValueAccessorDirective,
|
|
108
|
-
multi: true,
|
|
109
|
-
},
|
|
110
|
-
], usesInheritance: true, ngImport: i0 });
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessorDirective, decorators: [{
|
|
112
|
-
type: Directive,
|
|
113
|
-
args: [{
|
|
114
|
-
/* tslint:disable-next-line:directive-selector */
|
|
115
|
-
selector: 'ion-radio',
|
|
116
|
-
providers: [
|
|
117
|
-
{
|
|
118
|
-
provide: NG_VALUE_ACCESSOR,
|
|
119
|
-
useExisting: RadioValueAccessorDirective,
|
|
120
|
-
multi: true,
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
}]
|
|
124
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleIonSelect: [{
|
|
125
|
-
type: HostListener,
|
|
126
|
-
args: ['ionSelect', ['$event.target']]
|
|
127
|
-
}] } });
|
|
128
|
-
|
|
129
91
|
class SelectValueAccessorDirective extends ValueAccessor {
|
|
130
92
|
constructor(injector, el) {
|
|
131
93
|
super(injector, el);
|
|
@@ -2145,17 +2107,18 @@ class IonRouterOutlet extends IonRouterOutlet$1 {
|
|
|
2145
2107
|
* This results in APIs such as NavController.pop not working
|
|
2146
2108
|
* in nested outlets because the parent outlet cannot be found.
|
|
2147
2109
|
*/
|
|
2148
|
-
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
2149
|
-
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
|
|
2110
|
+
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet) {
|
|
2111
|
+
super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet);
|
|
2150
2112
|
this.parentOutlet = parentOutlet;
|
|
2151
2113
|
}
|
|
2152
2114
|
}
|
|
2153
|
-
/** @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.
|
|
2154
|
-
/** @nocollapse */ IonRouterOutlet.ɵ
|
|
2115
|
+
/** @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 });
|
|
2116
|
+
/** @nocollapse */ IonRouterOutlet.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, 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 });
|
|
2155
2117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
2156
|
-
type:
|
|
2118
|
+
type: Component,
|
|
2157
2119
|
args: [{
|
|
2158
2120
|
selector: 'ion-router-outlet',
|
|
2121
|
+
template: '<ng-container #outletContent><ng-content></ng-content></ng-container>'
|
|
2159
2122
|
}]
|
|
2160
2123
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2161
2124
|
type: Attribute,
|
|
@@ -2165,11 +2128,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2165
2128
|
}, {
|
|
2166
2129
|
type: Attribute,
|
|
2167
2130
|
args: ['tabs']
|
|
2168
|
-
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
|
|
2131
|
+
}] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: IonRouterOutlet, decorators: [{
|
|
2169
2132
|
type: SkipSelf
|
|
2170
2133
|
}, {
|
|
2171
2134
|
type: Optional
|
|
2172
|
-
}] }]; }
|
|
2135
|
+
}] }]; }, propDecorators: { outletContent: [{
|
|
2136
|
+
type: ViewChild,
|
|
2137
|
+
args: ['outletContent', { read: ViewContainerRef }]
|
|
2138
|
+
}] } });
|
|
2173
2139
|
|
|
2174
2140
|
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
2175
2141
|
class IonTabs extends IonTabs$1 {
|
|
@@ -2186,7 +2152,7 @@ class IonTabs extends IonTabs$1 {
|
|
|
2186
2152
|
></ion-router-outlet>
|
|
2187
2153
|
</div>
|
|
2188
2154
|
<ng-content></ng-content>
|
|
2189
|
-
`, 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: "
|
|
2155
|
+
`, 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" }] });
|
|
2190
2156
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, decorators: [{
|
|
2191
2157
|
type: Component,
|
|
2192
2158
|
args: [{ selector: 'ion-tabs', template: `
|
|
@@ -2609,7 +2575,6 @@ const DECLARATIONS = [
|
|
|
2609
2575
|
// ngModel accessors
|
|
2610
2576
|
BooleanValueAccessorDirective,
|
|
2611
2577
|
NumericValueAccessorDirective,
|
|
2612
|
-
RadioValueAccessorDirective,
|
|
2613
2578
|
SelectValueAccessorDirective,
|
|
2614
2579
|
TextValueAccessorDirective,
|
|
2615
2580
|
// navigation
|
|
@@ -2651,7 +2616,6 @@ class IonicModule {
|
|
|
2651
2616
|
// ngModel accessors
|
|
2652
2617
|
BooleanValueAccessorDirective,
|
|
2653
2618
|
NumericValueAccessorDirective,
|
|
2654
|
-
RadioValueAccessorDirective,
|
|
2655
2619
|
SelectValueAccessorDirective,
|
|
2656
2620
|
TextValueAccessorDirective,
|
|
2657
2621
|
// navigation
|
|
@@ -2670,7 +2634,6 @@ class IonicModule {
|
|
|
2670
2634
|
// ngModel accessors
|
|
2671
2635
|
BooleanValueAccessorDirective,
|
|
2672
2636
|
NumericValueAccessorDirective,
|
|
2673
|
-
RadioValueAccessorDirective,
|
|
2674
2637
|
SelectValueAccessorDirective,
|
|
2675
2638
|
TextValueAccessorDirective,
|
|
2676
2639
|
// navigation
|
|
@@ -2700,5 +2663,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2700
2663
|
* Generated bundle index. Do not edit.
|
|
2701
2664
|
*/
|
|
2702
2665
|
|
|
2703
|
-
export { ActionSheetController, AnimationController, BooleanValueAccessorDirective as BooleanValueAccessor, GestureController, ION_MAX_VALIDATOR, ION_MIN_VALIDATOR, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMaxValidator, IonMenu, IonMenuButton, IonMenuToggle, IonMinValidator, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicModule, MenuController, ModalController, NumericValueAccessorDirective as NumericValueAccessor, PopoverController,
|
|
2666
|
+
export { ActionSheetController, AnimationController, BooleanValueAccessorDirective as BooleanValueAccessor, GestureController, ION_MAX_VALIDATOR, ION_MIN_VALIDATOR, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMaxValidator, IonMenu, IonMenuButton, IonMenuToggle, IonMinValidator, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicModule, MenuController, ModalController, NumericValueAccessorDirective as NumericValueAccessor, PopoverController, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
2704
2667
|
//# sourceMappingURL=ionic-angular.mjs.map
|