@ionic/angular 7.5.6-dev.11700068172.15ce9b35 → 7.5.6-dev.11700071366.1395b143
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/control-value-accessors/index.d.ts +1 -0
- package/directives/control-value-accessors/radio-value-accessor.d.ts +9 -0
- package/esm2020/common/providers/nav-controller.mjs +3 -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/index.mjs +2 -1
- package/esm2020/ionic-module.mjs +5 -2
- 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 +2 -2
- package/fesm2015/ionic-angular-common.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +115 -88
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +42 -1
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +2 -2
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +115 -88
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +42 -1
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/ionic-module.d.ts +12 -11
- package/package.json +2 -2
- 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 +1 -1
|
@@ -88,6 +88,44 @@ 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
|
+
|
|
91
129
|
class SelectValueAccessorDirective extends ValueAccessor {
|
|
92
130
|
constructor(injector, el) {
|
|
93
131
|
super(injector, el);
|
|
@@ -2566,6 +2604,7 @@ const DECLARATIONS = [
|
|
|
2566
2604
|
// ngModel accessors
|
|
2567
2605
|
BooleanValueAccessorDirective,
|
|
2568
2606
|
NumericValueAccessorDirective,
|
|
2607
|
+
RadioValueAccessorDirective,
|
|
2569
2608
|
SelectValueAccessorDirective,
|
|
2570
2609
|
TextValueAccessorDirective,
|
|
2571
2610
|
// navigation
|
|
@@ -2607,6 +2646,7 @@ class IonicModule {
|
|
|
2607
2646
|
// ngModel accessors
|
|
2608
2647
|
BooleanValueAccessorDirective,
|
|
2609
2648
|
NumericValueAccessorDirective,
|
|
2649
|
+
RadioValueAccessorDirective,
|
|
2610
2650
|
SelectValueAccessorDirective,
|
|
2611
2651
|
TextValueAccessorDirective,
|
|
2612
2652
|
// navigation
|
|
@@ -2625,6 +2665,7 @@ class IonicModule {
|
|
|
2625
2665
|
// ngModel accessors
|
|
2626
2666
|
BooleanValueAccessorDirective,
|
|
2627
2667
|
NumericValueAccessorDirective,
|
|
2668
|
+
RadioValueAccessorDirective,
|
|
2628
2669
|
SelectValueAccessorDirective,
|
|
2629
2670
|
TextValueAccessorDirective,
|
|
2630
2671
|
// navigation
|
|
@@ -2654,5 +2695,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2654
2695
|
* Generated bundle index. Do not edit.
|
|
2655
2696
|
*/
|
|
2656
2697
|
|
|
2657
|
-
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 };
|
|
2698
|
+
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, RadioValueAccessorDirective as RadioValueAccessor, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
2658
2699
|
//# sourceMappingURL=ionic-angular.mjs.map
|