@ionic/angular 7.5.8-dev.11701876182.1e71e7a0 → 7.5.8-dev.11701894917.1c1465bd

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.
Files changed (38) hide show
  1. package/directives/control-value-accessors/index.d.ts +0 -1
  2. package/directives/control-value-accessors/select-value-accessor.d.ts +2 -2
  3. package/directives/control-value-accessors/text-value-accessor.d.ts +2 -2
  4. package/directives/proxies.d.ts +2 -2
  5. package/esm2020/common/providers/nav-controller.mjs +3 -3
  6. package/esm2020/directives/control-value-accessors/index.mjs +1 -2
  7. package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +3 -3
  8. package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +3 -4
  9. package/esm2020/directives/proxies.mjs +7 -7
  10. package/esm2020/index.mjs +1 -2
  11. package/esm2020/ionic-module.mjs +2 -5
  12. package/esm2020/standalone/directives/index.mjs +1 -2
  13. package/esm2020/standalone/directives/proxies.mjs +33 -4
  14. package/esm2020/standalone/directives/range.mjs +5 -5
  15. package/esm2020/standalone/index.mjs +2 -2
  16. package/fesm2015/ionic-angular-common.mjs +2 -2
  17. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  18. package/fesm2015/ionic-angular-standalone.mjs +96 -123
  19. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  20. package/fesm2015/ionic-angular.mjs +11 -53
  21. package/fesm2015/ionic-angular.mjs.map +1 -1
  22. package/fesm2020/ionic-angular-common.mjs +2 -2
  23. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  24. package/fesm2020/ionic-angular-standalone.mjs +96 -123
  25. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  26. package/fesm2020/ionic-angular.mjs +11 -53
  27. package/fesm2020/ionic-angular.mjs.map +1 -1
  28. package/index.d.ts +0 -1
  29. package/ionic-module.d.ts +11 -12
  30. package/package.json +2 -2
  31. package/standalone/directives/index.d.ts +0 -1
  32. package/standalone/directives/proxies.d.ts +18 -1
  33. package/standalone/directives/range.d.ts +1 -1
  34. package/standalone/index.d.ts +1 -1
  35. package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
  36. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
  37. package/esm2020/standalone/directives/radio.mjs +0 -62
  38. package/standalone/directives/radio.d.ts +0 -22
@@ -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);
@@ -135,7 +97,7 @@ class SelectValueAccessorDirective extends ValueAccessor {
135
97
  }
136
98
  }
137
99
  /** @nocollapse */ SelectValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
138
- /** @nocollapse */ SelectValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SelectValueAccessorDirective, selector: "ion-select, ion-radio-group, ion-segment, ion-datetime", host: { listeners: { "ionChange": "_handleChangeEvent($event.target)" } }, providers: [
100
+ /** @nocollapse */ SelectValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SelectValueAccessorDirective, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime", host: { listeners: { "ionChange": "_handleChangeEvent($event.target)" } }, providers: [
139
101
  {
140
102
  provide: NG_VALUE_ACCESSOR,
141
103
  useExisting: SelectValueAccessorDirective,
@@ -146,7 +108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
146
108
  type: Directive,
147
109
  args: [{
148
110
  /* tslint:disable-next-line:directive-selector */
149
- selector: 'ion-select, ion-radio-group, ion-segment, ion-datetime',
111
+ selector: 'ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime',
150
112
  providers: [
151
113
  {
152
114
  provide: NG_VALUE_ACCESSOR,
@@ -160,7 +122,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
160
122
  args: ['ionChange', ['$event.target']]
161
123
  }] } });
162
124
 
163
- // TODO(FW-5495): rename class since range isn't a text component
164
125
  class TextValueAccessorDirective extends ValueAccessor {
165
126
  constructor(injector, el) {
166
127
  super(injector, el);
@@ -170,7 +131,7 @@ class TextValueAccessorDirective extends ValueAccessor {
170
131
  }
171
132
  }
172
133
  /** @nocollapse */ TextValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
173
- /** @nocollapse */ TextValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TextValueAccessorDirective, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar,ion-range", host: { listeners: { "ionInput": "_handleInputEvent($event.target)" } }, providers: [
134
+ /** @nocollapse */ TextValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TextValueAccessorDirective, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar", host: { listeners: { "ionInput": "_handleInputEvent($event.target)" } }, providers: [
174
135
  {
175
136
  provide: NG_VALUE_ACCESSOR,
176
137
  useExisting: TextValueAccessorDirective,
@@ -180,7 +141,7 @@ class TextValueAccessorDirective extends ValueAccessor {
180
141
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessorDirective, decorators: [{
181
142
  type: Directive,
182
143
  args: [{
183
- selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar,ion-range',
144
+ selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar',
184
145
  providers: [
185
146
  {
186
147
  provide: NG_VALUE_ACCESSOR,
@@ -1534,10 +1495,10 @@ let IonRadioGroup = class IonRadioGroup {
1534
1495
  }
1535
1496
  };
1536
1497
  /** @nocollapse */ IonRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1537
- /** @nocollapse */ IonRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRadioGroup, selector: "ion-radio-group", inputs: { allowEmptySelection: "allowEmptySelection", compareWith: "compareWith", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1498
+ /** @nocollapse */ IonRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRadioGroup, selector: "ion-radio-group", inputs: { allowEmptySelection: "allowEmptySelection", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1538
1499
  IonRadioGroup = __decorate([
1539
1500
  ProxyCmp({
1540
- inputs: ['allowEmptySelection', 'compareWith', 'name', 'value']
1501
+ inputs: ['allowEmptySelection', 'name', 'value']
1541
1502
  })
1542
1503
  ], IonRadioGroup);
1543
1504
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, decorators: [{
@@ -1547,7 +1508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1547
1508
  changeDetection: ChangeDetectionStrategy.OnPush,
1548
1509
  template: '<ng-content></ng-content>',
1549
1510
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1550
- inputs: ['allowEmptySelection', 'compareWith', 'name', 'value'],
1511
+ inputs: ['allowEmptySelection', 'name', 'value'],
1551
1512
  }]
1552
1513
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1553
1514
  let IonRange = class IonRange {
@@ -2071,10 +2032,10 @@ let IonToast = class IonToast {
2071
2032
  }
2072
2033
  };
2073
2034
  /** @nocollapse */ IonToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2074
- /** @nocollapse */ IonToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonToast, selector: "ion-toast", inputs: { animated: "animated", buttons: "buttons", color: "color", cssClass: "cssClass", duration: "duration", enterAnimation: "enterAnimation", header: "header", htmlAttributes: "htmlAttributes", icon: "icon", isOpen: "isOpen", keyboardClose: "keyboardClose", layout: "layout", leaveAnimation: "leaveAnimation", message: "message", mode: "mode", position: "position", positionAnchor: "positionAnchor", swipeGesture: "swipeGesture", translucent: "translucent", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2035
+ /** @nocollapse */ IonToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonToast, selector: "ion-toast", inputs: { animated: "animated", buttons: "buttons", color: "color", cssClass: "cssClass", duration: "duration", enterAnimation: "enterAnimation", header: "header", htmlAttributes: "htmlAttributes", icon: "icon", isOpen: "isOpen", keyboardClose: "keyboardClose", layout: "layout", leaveAnimation: "leaveAnimation", message: "message", mode: "mode", position: "position", positionAnchor: "positionAnchor", translucent: "translucent", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2075
2036
  IonToast = __decorate([
2076
2037
  ProxyCmp({
2077
- inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'swipeGesture', 'translucent', 'trigger'],
2038
+ inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'translucent', 'trigger'],
2078
2039
  methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss']
2079
2040
  })
2080
2041
  ], IonToast);
@@ -2085,7 +2046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2085
2046
  changeDetection: ChangeDetectionStrategy.OnPush,
2086
2047
  template: '<ng-content></ng-content>',
2087
2048
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2088
- inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'swipeGesture', 'translucent', 'trigger'],
2049
+ inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'translucent', 'trigger'],
2089
2050
  }]
2090
2051
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2091
2052
  let IonToggle = class IonToggle {
@@ -2652,7 +2613,6 @@ const DECLARATIONS = [
2652
2613
  // ngModel accessors
2653
2614
  BooleanValueAccessorDirective,
2654
2615
  NumericValueAccessorDirective,
2655
- RadioValueAccessorDirective,
2656
2616
  SelectValueAccessorDirective,
2657
2617
  TextValueAccessorDirective,
2658
2618
  // navigation
@@ -2694,7 +2654,6 @@ class IonicModule {
2694
2654
  // ngModel accessors
2695
2655
  BooleanValueAccessorDirective,
2696
2656
  NumericValueAccessorDirective,
2697
- RadioValueAccessorDirective,
2698
2657
  SelectValueAccessorDirective,
2699
2658
  TextValueAccessorDirective,
2700
2659
  // navigation
@@ -2713,7 +2672,6 @@ class IonicModule {
2713
2672
  // ngModel accessors
2714
2673
  BooleanValueAccessorDirective,
2715
2674
  NumericValueAccessorDirective,
2716
- RadioValueAccessorDirective,
2717
2675
  SelectValueAccessorDirective,
2718
2676
  TextValueAccessorDirective,
2719
2677
  // navigation
@@ -2743,5 +2701,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2743
2701
  * Generated bundle index. Do not edit.
2744
2702
  */
2745
2703
 
2746
- 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 };
2704
+ 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, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
2747
2705
  //# sourceMappingURL=ionic-angular.mjs.map