@ionic/angular 7.5.3-dev.11698859252.15ac163e → 7.5.3-dev.11699994454.1cbf1283
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 +0 -1
- package/esm2020/common/providers/nav-controller.mjs +3 -3
- package/esm2020/directives/angular-component-lib/utils.mjs +1 -9
- package/esm2020/directives/control-value-accessors/index.mjs +1 -2
- package/esm2020/index.mjs +1 -2
- package/esm2020/ionic-module.mjs +2 -5
- package/esm2020/standalone/directives/angular-component-lib/utils.mjs +1 -9
- package/esm2020/standalone/directives/checkbox.mjs +40 -28
- package/esm2020/standalone/directives/datetime.mjs +42 -30
- package/esm2020/standalone/directives/input.mjs +42 -29
- package/esm2020/standalone/directives/radio-group.mjs +40 -28
- package/esm2020/standalone/directives/radio.mjs +27 -41
- package/esm2020/standalone/directives/range.mjs +40 -28
- package/esm2020/standalone/directives/searchbar.mjs +42 -29
- package/esm2020/standalone/directives/segment.mjs +40 -28
- package/esm2020/standalone/directives/select.mjs +42 -29
- package/esm2020/standalone/directives/textarea.mjs +42 -29
- package/esm2020/standalone/directives/toggle.mjs +40 -28
- package/fesm2015/ionic-angular-common.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +273 -279
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +1 -50
- 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 +273 -279
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +1 -50
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/ionic-module.d.ts +11 -12
- package/package.json +2 -2
- package/standalone/directives/checkbox.d.ts +3 -1
- package/standalone/directives/datetime.d.ts +3 -1
- package/standalone/directives/input.d.ts +3 -1
- package/standalone/directives/radio-group.d.ts +3 -1
- package/standalone/directives/radio.d.ts +5 -5
- package/standalone/directives/range.d.ts +3 -1
- package/standalone/directives/searchbar.d.ts +3 -1
- package/standalone/directives/segment.d.ts +3 -1
- package/standalone/directives/select.d.ts +3 -1
- package/standalone/directives/textarea.d.ts +3 -1
- package/standalone/directives/toggle.d.ts +3 -1
- package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
|
@@ -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);
|
|
@@ -204,14 +166,6 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
204
166
|
set(val) {
|
|
205
167
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
206
168
|
},
|
|
207
|
-
/**
|
|
208
|
-
* In the event that proxyInputs is called
|
|
209
|
-
* multiple times re-defining these inputs
|
|
210
|
-
* will cause an error to be thrown. As a result
|
|
211
|
-
* we set configurable: true to indicate these
|
|
212
|
-
* properties can be changed.
|
|
213
|
-
*/
|
|
214
|
-
configurable: true,
|
|
215
169
|
});
|
|
216
170
|
});
|
|
217
171
|
};
|
|
@@ -2485,7 +2439,6 @@ const DECLARATIONS = [
|
|
|
2485
2439
|
// ngModel accessors
|
|
2486
2440
|
BooleanValueAccessorDirective,
|
|
2487
2441
|
NumericValueAccessorDirective,
|
|
2488
|
-
RadioValueAccessorDirective,
|
|
2489
2442
|
SelectValueAccessorDirective,
|
|
2490
2443
|
TextValueAccessorDirective,
|
|
2491
2444
|
// navigation
|
|
@@ -2527,7 +2480,6 @@ class IonicModule {
|
|
|
2527
2480
|
// ngModel accessors
|
|
2528
2481
|
BooleanValueAccessorDirective,
|
|
2529
2482
|
NumericValueAccessorDirective,
|
|
2530
|
-
RadioValueAccessorDirective,
|
|
2531
2483
|
SelectValueAccessorDirective,
|
|
2532
2484
|
TextValueAccessorDirective,
|
|
2533
2485
|
// navigation
|
|
@@ -2546,7 +2498,6 @@ class IonicModule {
|
|
|
2546
2498
|
// ngModel accessors
|
|
2547
2499
|
BooleanValueAccessorDirective,
|
|
2548
2500
|
NumericValueAccessorDirective,
|
|
2549
|
-
RadioValueAccessorDirective,
|
|
2550
2501
|
SelectValueAccessorDirective,
|
|
2551
2502
|
TextValueAccessorDirective,
|
|
2552
2503
|
// navigation
|
|
@@ -2576,5 +2527,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2576
2527
|
* Generated bundle index. Do not edit.
|
|
2577
2528
|
*/
|
|
2578
2529
|
|
|
2579
|
-
export { BooleanValueAccessorDirective as BooleanValueAccessor, 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, NumericValueAccessorDirective as NumericValueAccessor,
|
|
2530
|
+
export { BooleanValueAccessorDirective as BooleanValueAccessor, 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, NumericValueAccessorDirective as NumericValueAccessor, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor };
|
|
2580
2531
|
//# sourceMappingURL=ionic-angular.mjs.map
|