@ionic/angular 7.5.6-dev.11700086473.1eebae2a → 7.5.6-nightly.20231116
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/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-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-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);
|
|
@@ -2571,6 +2609,7 @@ const DECLARATIONS = [
|
|
|
2571
2609
|
// ngModel accessors
|
|
2572
2610
|
BooleanValueAccessorDirective,
|
|
2573
2611
|
NumericValueAccessorDirective,
|
|
2612
|
+
RadioValueAccessorDirective,
|
|
2574
2613
|
SelectValueAccessorDirective,
|
|
2575
2614
|
TextValueAccessorDirective,
|
|
2576
2615
|
// navigation
|
|
@@ -2612,6 +2651,7 @@ class IonicModule {
|
|
|
2612
2651
|
// ngModel accessors
|
|
2613
2652
|
BooleanValueAccessorDirective,
|
|
2614
2653
|
NumericValueAccessorDirective,
|
|
2654
|
+
RadioValueAccessorDirective,
|
|
2615
2655
|
SelectValueAccessorDirective,
|
|
2616
2656
|
TextValueAccessorDirective,
|
|
2617
2657
|
// navigation
|
|
@@ -2630,6 +2670,7 @@ class IonicModule {
|
|
|
2630
2670
|
// ngModel accessors
|
|
2631
2671
|
BooleanValueAccessorDirective,
|
|
2632
2672
|
NumericValueAccessorDirective,
|
|
2673
|
+
RadioValueAccessorDirective,
|
|
2633
2674
|
SelectValueAccessorDirective,
|
|
2634
2675
|
TextValueAccessorDirective,
|
|
2635
2676
|
// navigation
|
|
@@ -2659,5 +2700,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2659
2700
|
* Generated bundle index. Do not edit.
|
|
2660
2701
|
*/
|
|
2661
2702
|
|
|
2662
|
-
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 };
|
|
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, RadioValueAccessorDirective as RadioValueAccessor, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
2663
2704
|
//# sourceMappingURL=ionic-angular.mjs.map
|