@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
|
|
@@ -2454,9 +2492,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2454
2492
|
type: Injectable
|
|
2455
2493
|
}], ctorParameters: function () { return []; } });
|
|
2456
2494
|
|
|
2457
|
-
/**
|
|
2458
|
-
* @deprecated Use the inline ion-picker component instead.
|
|
2459
|
-
*/
|
|
2460
2495
|
class PickerController extends OverlayBaseController {
|
|
2461
2496
|
constructor() {
|
|
2462
2497
|
super(pickerController);
|
|
@@ -2572,7 +2607,7 @@ const DIRECTIVES = [
|
|
|
2572
2607
|
IonMenuToggle,
|
|
2573
2608
|
IonNavLink,
|
|
2574
2609
|
IonNote,
|
|
2575
|
-
|
|
2610
|
+
IonPicker,
|
|
2576
2611
|
IonProgressBar,
|
|
2577
2612
|
IonRadio,
|
|
2578
2613
|
IonRadioGroup,
|
|
@@ -2611,6 +2646,7 @@ const DECLARATIONS = [
|
|
|
2611
2646
|
// ngModel accessors
|
|
2612
2647
|
BooleanValueAccessorDirective,
|
|
2613
2648
|
NumericValueAccessorDirective,
|
|
2649
|
+
RadioValueAccessorDirective,
|
|
2614
2650
|
SelectValueAccessorDirective,
|
|
2615
2651
|
TextValueAccessorDirective,
|
|
2616
2652
|
// navigation
|
|
@@ -2645,13 +2681,14 @@ class IonicModule {
|
|
|
2645
2681
|
}
|
|
2646
2682
|
}
|
|
2647
2683
|
/** @nocollapse */ IonicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2648
|
-
/** @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,
|
|
2684
|
+
/** @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,
|
|
2649
2685
|
// manual proxies
|
|
2650
2686
|
IonModal,
|
|
2651
2687
|
IonPopover,
|
|
2652
2688
|
// ngModel accessors
|
|
2653
2689
|
BooleanValueAccessorDirective,
|
|
2654
2690
|
NumericValueAccessorDirective,
|
|
2691
|
+
RadioValueAccessorDirective,
|
|
2655
2692
|
SelectValueAccessorDirective,
|
|
2656
2693
|
TextValueAccessorDirective,
|
|
2657
2694
|
// navigation
|
|
@@ -2663,13 +2700,14 @@ class IonicModule {
|
|
|
2663
2700
|
RouterLinkWithHrefDelegateDirective,
|
|
2664
2701
|
// validators
|
|
2665
2702
|
IonMinValidator,
|
|
2666
|
-
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,
|
|
2703
|
+
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,
|
|
2667
2704
|
// manual proxies
|
|
2668
2705
|
IonModal,
|
|
2669
2706
|
IonPopover,
|
|
2670
2707
|
// ngModel accessors
|
|
2671
2708
|
BooleanValueAccessorDirective,
|
|
2672
2709
|
NumericValueAccessorDirective,
|
|
2710
|
+
RadioValueAccessorDirective,
|
|
2673
2711
|
SelectValueAccessorDirective,
|
|
2674
2712
|
TextValueAccessorDirective,
|
|
2675
2713
|
// navigation
|
|
@@ -2699,5 +2737,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2699
2737
|
* Generated bundle index. Do not edit.
|
|
2700
2738
|
*/
|
|
2701
2739
|
|
|
2702
|
-
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,
|
|
2740
|
+
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 };
|
|
2703
2741
|
//# sourceMappingURL=ionic-angular.mjs.map
|