@ionic/angular 7.5.8-nightly.20231206 → 7.6.0
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/select-value-accessor.d.ts +2 -2
- package/directives/control-value-accessors/text-value-accessor.d.ts +2 -2
- package/directives/proxies.d.ts +2 -2
- package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +3 -3
- package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +4 -3
- package/esm2020/directives/proxies.mjs +7 -7
- package/esm2020/standalone/directives/proxies.mjs +4 -4
- package/esm2020/standalone/directives/range.mjs +5 -5
- package/fesm2015/ionic-angular-standalone.mjs +7 -7
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +11 -10
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +7 -7
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +11 -10
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/directives/proxies.d.ts +1 -1
- package/standalone/directives/range.d.ts +1 -1
|
@@ -135,7 +135,7 @@ class SelectValueAccessorDirective extends ValueAccessor {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
/** @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-
|
|
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: [
|
|
139
139
|
{
|
|
140
140
|
provide: NG_VALUE_ACCESSOR,
|
|
141
141
|
useExisting: SelectValueAccessorDirective,
|
|
@@ -146,7 +146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
146
146
|
type: Directive,
|
|
147
147
|
args: [{
|
|
148
148
|
/* tslint:disable-next-line:directive-selector */
|
|
149
|
-
selector: 'ion-
|
|
149
|
+
selector: 'ion-select, ion-radio-group, ion-segment, ion-datetime',
|
|
150
150
|
providers: [
|
|
151
151
|
{
|
|
152
152
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -160,6 +160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
160
160
|
args: ['ionChange', ['$event.target']]
|
|
161
161
|
}] } });
|
|
162
162
|
|
|
163
|
+
// TODO(FW-5495): rename class since range isn't a text component
|
|
163
164
|
class TextValueAccessorDirective extends ValueAccessor {
|
|
164
165
|
constructor(injector, el) {
|
|
165
166
|
super(injector, el);
|
|
@@ -169,7 +170,7 @@ class TextValueAccessorDirective extends ValueAccessor {
|
|
|
169
170
|
}
|
|
170
171
|
}
|
|
171
172
|
/** @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 });
|
|
172
|
-
/** @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: [
|
|
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: [
|
|
173
174
|
{
|
|
174
175
|
provide: NG_VALUE_ACCESSOR,
|
|
175
176
|
useExisting: TextValueAccessorDirective,
|
|
@@ -179,7 +180,7 @@ class TextValueAccessorDirective extends ValueAccessor {
|
|
|
179
180
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessorDirective, decorators: [{
|
|
180
181
|
type: Directive,
|
|
181
182
|
args: [{
|
|
182
|
-
selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar',
|
|
183
|
+
selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar,ion-range',
|
|
183
184
|
providers: [
|
|
184
185
|
{
|
|
185
186
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -1533,10 +1534,10 @@ let IonRadioGroup = class IonRadioGroup {
|
|
|
1533
1534
|
}
|
|
1534
1535
|
};
|
|
1535
1536
|
/** @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 });
|
|
1536
|
-
/** @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 });
|
|
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 });
|
|
1537
1538
|
IonRadioGroup = __decorate([
|
|
1538
1539
|
ProxyCmp({
|
|
1539
|
-
inputs: ['allowEmptySelection', 'name', 'value']
|
|
1540
|
+
inputs: ['allowEmptySelection', 'compareWith', 'name', 'value']
|
|
1540
1541
|
})
|
|
1541
1542
|
], IonRadioGroup);
|
|
1542
1543
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, decorators: [{
|
|
@@ -1546,7 +1547,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1546
1547
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1547
1548
|
template: '<ng-content></ng-content>',
|
|
1548
1549
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1549
|
-
inputs: ['allowEmptySelection', 'name', 'value'],
|
|
1550
|
+
inputs: ['allowEmptySelection', 'compareWith', 'name', 'value'],
|
|
1550
1551
|
}]
|
|
1551
1552
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1552
1553
|
let IonRange = class IonRange {
|
|
@@ -2070,10 +2071,10 @@ let IonToast = class IonToast {
|
|
|
2070
2071
|
}
|
|
2071
2072
|
};
|
|
2072
2073
|
/** @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 });
|
|
2073
|
-
/** @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 });
|
|
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 });
|
|
2074
2075
|
IonToast = __decorate([
|
|
2075
2076
|
ProxyCmp({
|
|
2076
|
-
inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'translucent', 'trigger'],
|
|
2077
|
+
inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'swipeGesture', 'translucent', 'trigger'],
|
|
2077
2078
|
methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss']
|
|
2078
2079
|
})
|
|
2079
2080
|
], IonToast);
|
|
@@ -2084,7 +2085,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2084
2085
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2085
2086
|
template: '<ng-content></ng-content>',
|
|
2086
2087
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2087
|
-
inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'translucent', 'trigger'],
|
|
2088
|
+
inputs: ['animated', 'buttons', 'color', 'cssClass', 'duration', 'enterAnimation', 'header', 'htmlAttributes', 'icon', 'isOpen', 'keyboardClose', 'layout', 'leaveAnimation', 'message', 'mode', 'position', 'positionAnchor', 'swipeGesture', 'translucent', 'trigger'],
|
|
2088
2089
|
}]
|
|
2089
2090
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2090
2091
|
let IonToggle = class IonToggle {
|