@ionic/angular 7.5.7-dev.11701188221.15180cb4 → 7.5.7-dev.11701203423.1b6a8829
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/directives/proxies-list.d.ts +1 -1
- package/directives/proxies.d.ts +9 -9
- 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/directives/proxies-list.mjs +2 -2
- package/esm2020/directives/proxies.mjs +9 -9
- package/esm2020/index.mjs +2 -1
- package/esm2020/ionic-module.mjs +7 -4
- package/esm2020/providers/picker-controller.mjs +1 -4
- package/esm2020/standalone/directives/index.mjs +2 -1
- package/esm2020/standalone/directives/proxies.mjs +11 -40
- package/esm2020/standalone/directives/radio.mjs +62 -0
- package/esm2020/standalone/index.mjs +2 -2
- package/esm2020/standalone/providers/picker-controller.mjs +2 -5
- package/fesm2015/ionic-angular-common.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +125 -101
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +52 -14
- 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 +125 -101
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +52 -14
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/ionic-module.d.ts +12 -11
- package/package.json +3 -3
- package/providers/picker-controller.d.ts +1 -4
- package/standalone/directives/index.d.ts +1 -0
- package/standalone/directives/proxies.d.ts +9 -26
- package/standalone/directives/radio.d.ts +22 -0
- package/standalone/index.d.ts +1 -1
- package/standalone/providers/picker-controller.d.ts +1 -4
|
@@ -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);
|
|
@@ -1411,7 +1449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1411
1449
|
inputs: ['color', 'mode'],
|
|
1412
1450
|
}]
|
|
1413
1451
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1414
|
-
let
|
|
1452
|
+
let IonPicker = class IonPicker {
|
|
1415
1453
|
constructor(c, r, z) {
|
|
1416
1454
|
this.z = z;
|
|
1417
1455
|
c.detach();
|
|
@@ -1419,18 +1457,18 @@ let IonPickerLegacy = class IonPickerLegacy {
|
|
|
1419
1457
|
proxyOutputs(this, this.el, ['ionPickerDidPresent', 'ionPickerWillPresent', 'ionPickerWillDismiss', 'ionPickerDidDismiss', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss']);
|
|
1420
1458
|
}
|
|
1421
1459
|
};
|
|
1422
|
-
/** @nocollapse */
|
|
1423
|
-
/** @nocollapse */
|
|
1424
|
-
|
|
1460
|
+
/** @nocollapse */ IonPicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonPicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1461
|
+
/** @nocollapse */ IonPicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonPicker, selector: "ion-picker", inputs: { animated: "animated", backdropDismiss: "backdropDismiss", buttons: "buttons", columns: "columns", cssClass: "cssClass", duration: "duration", enterAnimation: "enterAnimation", htmlAttributes: "htmlAttributes", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", showBackdrop: "showBackdrop", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1462
|
+
IonPicker = __decorate([
|
|
1425
1463
|
ProxyCmp({
|
|
1426
1464
|
inputs: ['animated', 'backdropDismiss', 'buttons', 'columns', 'cssClass', 'duration', 'enterAnimation', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'trigger'],
|
|
1427
1465
|
methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss', 'getColumn']
|
|
1428
1466
|
})
|
|
1429
|
-
],
|
|
1430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type:
|
|
1467
|
+
], IonPicker);
|
|
1468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonPicker, decorators: [{
|
|
1431
1469
|
type: Component,
|
|
1432
1470
|
args: [{
|
|
1433
|
-
selector: 'ion-picker
|
|
1471
|
+
selector: 'ion-picker',
|
|
1434
1472
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1435
1473
|
template: '<ng-content></ng-content>',
|
|
1436
1474
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -2453,9 +2491,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2453
2491
|
type: Injectable
|
|
2454
2492
|
}], ctorParameters: function () { return []; } });
|
|
2455
2493
|
|
|
2456
|
-
/**
|
|
2457
|
-
* @deprecated Use the inline ion-picker component instead.
|
|
2458
|
-
*/
|
|
2459
2494
|
class PickerController extends OverlayBaseController {
|
|
2460
2495
|
constructor() {
|
|
2461
2496
|
super(pickerController);
|
|
@@ -2577,7 +2612,7 @@ const DIRECTIVES = [
|
|
|
2577
2612
|
IonMenuToggle,
|
|
2578
2613
|
IonNavLink,
|
|
2579
2614
|
IonNote,
|
|
2580
|
-
|
|
2615
|
+
IonPicker,
|
|
2581
2616
|
IonProgressBar,
|
|
2582
2617
|
IonRadio,
|
|
2583
2618
|
IonRadioGroup,
|
|
@@ -2616,6 +2651,7 @@ const DECLARATIONS = [
|
|
|
2616
2651
|
// ngModel accessors
|
|
2617
2652
|
BooleanValueAccessorDirective,
|
|
2618
2653
|
NumericValueAccessorDirective,
|
|
2654
|
+
RadioValueAccessorDirective,
|
|
2619
2655
|
SelectValueAccessorDirective,
|
|
2620
2656
|
TextValueAccessorDirective,
|
|
2621
2657
|
// navigation
|
|
@@ -2650,13 +2686,14 @@ class IonicModule {
|
|
|
2650
2686
|
}
|
|
2651
2687
|
}
|
|
2652
2688
|
/** @nocollapse */ IonicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2653
|
-
/** @nocollapse */ IonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: IonicModule, declarations: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, 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, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote,
|
|
2689
|
+
/** @nocollapse */ IonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: IonicModule, declarations: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, 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, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
2654
2690
|
// manual proxies
|
|
2655
2691
|
IonModal,
|
|
2656
2692
|
IonPopover,
|
|
2657
2693
|
// ngModel accessors
|
|
2658
2694
|
BooleanValueAccessorDirective,
|
|
2659
2695
|
NumericValueAccessorDirective,
|
|
2696
|
+
RadioValueAccessorDirective,
|
|
2660
2697
|
SelectValueAccessorDirective,
|
|
2661
2698
|
TextValueAccessorDirective,
|
|
2662
2699
|
// navigation
|
|
@@ -2668,13 +2705,14 @@ class IonicModule {
|
|
|
2668
2705
|
RouterLinkWithHrefDelegateDirective,
|
|
2669
2706
|
// validators
|
|
2670
2707
|
IonMinValidator,
|
|
2671
|
-
IonMaxValidator], imports: [CommonModule], exports: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, 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, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote,
|
|
2708
|
+
IonMaxValidator], imports: [CommonModule], exports: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, 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, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
2672
2709
|
// manual proxies
|
|
2673
2710
|
IonModal,
|
|
2674
2711
|
IonPopover,
|
|
2675
2712
|
// ngModel accessors
|
|
2676
2713
|
BooleanValueAccessorDirective,
|
|
2677
2714
|
NumericValueAccessorDirective,
|
|
2715
|
+
RadioValueAccessorDirective,
|
|
2678
2716
|
SelectValueAccessorDirective,
|
|
2679
2717
|
TextValueAccessorDirective,
|
|
2680
2718
|
// navigation
|
|
@@ -2704,5 +2742,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2704
2742
|
* Generated bundle index. Do not edit.
|
|
2705
2743
|
*/
|
|
2706
2744
|
|
|
2707
|
-
export { ActionSheetController, AlertController, 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,
|
|
2745
|
+
export { ActionSheetController, AlertController, 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, LoadingController, MenuController, ModalController, NumericValueAccessorDirective as NumericValueAccessor, PickerController, PopoverController, RadioValueAccessorDirective as RadioValueAccessor, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
2708
2746
|
//# sourceMappingURL=ionic-angular.mjs.map
|