@ionic/angular 8.7.19-nightly.20260304 → 8.8.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/common/index.d.ts +1 -0
- package/common/overlays/modal.d.ts +13 -1
- package/common/providers/angular-delegate.d.ts +4 -3
- package/common/types/overlay-options.d.ts +16 -0
- package/directives/proxies.d.ts +14 -2
- package/esm2022/common/index.mjs +1 -1
- package/esm2022/common/overlays/modal.mjs +4 -1
- package/esm2022/common/providers/angular-delegate.mjs +9 -7
- package/esm2022/common/types/overlay-options.mjs +2 -0
- package/esm2022/directives/proxies.mjs +8 -8
- package/esm2022/index.mjs +1 -1
- package/esm2022/providers/modal-controller.mjs +4 -3
- package/esm2022/providers/popover-controller.mjs +4 -3
- package/esm2022/standalone/directives/proxies.mjs +8 -8
- package/esm2022/standalone/index.mjs +1 -1
- package/esm2022/standalone/providers/modal-controller.mjs +4 -3
- package/esm2022/standalone/providers/popover-controller.mjs +4 -3
- package/fesm2022/ionic-angular-common.mjs +11 -6
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +13 -11
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +13 -11
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +2 -2
- package/providers/modal-controller.d.ts +1 -1
- package/providers/popover-controller.d.ts +1 -1
- package/standalone/directives/proxies.d.ts +14 -2
- package/standalone/index.d.ts +2 -1
- package/standalone/providers/modal-controller.d.ts +1 -1
- package/standalone/providers/popover-controller.d.ts +1 -1
|
@@ -1795,7 +1795,7 @@ let IonRefresher = class IonRefresher {
|
|
|
1795
1795
|
this.z = z;
|
|
1796
1796
|
c.detach();
|
|
1797
1797
|
this.el = r.nativeElement;
|
|
1798
|
-
proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart']);
|
|
1798
|
+
proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart', 'ionPullStart', 'ionPullEnd']);
|
|
1799
1799
|
}
|
|
1800
1800
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonRefresher, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1801
1801
|
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonRefresher, selector: "ion-refresher", inputs: { closeDuration: "closeDuration", disabled: "disabled", mode: "mode", pullFactor: "pullFactor", pullMax: "pullMax", pullMin: "pullMin", snapbackDuration: "snapbackDuration" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -2060,11 +2060,11 @@ let IonSegmentView = class IonSegmentView {
|
|
|
2060
2060
|
proxyOutputs(this, this.el, ['ionSegmentViewScroll']);
|
|
2061
2061
|
}
|
|
2062
2062
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSegmentView, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2063
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSegmentView, selector: "ion-segment-view", inputs: { disabled: "disabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2063
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSegmentView, selector: "ion-segment-view", inputs: { disabled: "disabled", swipeGesture: "swipeGesture" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2064
2064
|
};
|
|
2065
2065
|
IonSegmentView = __decorate([
|
|
2066
2066
|
ProxyCmp({
|
|
2067
|
-
inputs: ['disabled']
|
|
2067
|
+
inputs: ['disabled', 'swipeGesture']
|
|
2068
2068
|
})
|
|
2069
2069
|
], IonSegmentView);
|
|
2070
2070
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSegmentView, decorators: [{
|
|
@@ -2074,7 +2074,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2074
2074
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2075
2075
|
template: '<ng-content></ng-content>',
|
|
2076
2076
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2077
|
-
inputs: ['disabled'],
|
|
2077
|
+
inputs: ['disabled', 'swipeGesture'],
|
|
2078
2078
|
}]
|
|
2079
2079
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2080
2080
|
let IonSelect = class IonSelect {
|
|
@@ -2114,11 +2114,11 @@ let IonSelectModal = class IonSelectModal {
|
|
|
2114
2114
|
this.el = r.nativeElement;
|
|
2115
2115
|
}
|
|
2116
2116
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSelectModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2117
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSelectModal, selector: "ion-select-modal", inputs: { header: "header", multiple: "multiple", options: "options" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2117
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSelectModal, selector: "ion-select-modal", inputs: { cancelText: "cancelText", header: "header", multiple: "multiple", options: "options" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2118
2118
|
};
|
|
2119
2119
|
IonSelectModal = __decorate([
|
|
2120
2120
|
ProxyCmp({
|
|
2121
|
-
inputs: ['header', 'multiple', 'options']
|
|
2121
|
+
inputs: ['cancelText', 'header', 'multiple', 'options']
|
|
2122
2122
|
})
|
|
2123
2123
|
], IonSelectModal);
|
|
2124
2124
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSelectModal, decorators: [{
|
|
@@ -2128,7 +2128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2128
2128
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2129
2129
|
template: '<ng-content></ng-content>',
|
|
2130
2130
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2131
|
-
inputs: ['header', 'multiple', 'options'],
|
|
2131
|
+
inputs: ['cancelText', 'header', 'multiple', 'options'],
|
|
2132
2132
|
}]
|
|
2133
2133
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2134
2134
|
let IonSelectOption = class IonSelectOption {
|
|
@@ -2862,9 +2862,10 @@ class ModalController extends OverlayBaseController {
|
|
|
2862
2862
|
super(modalController);
|
|
2863
2863
|
}
|
|
2864
2864
|
create(opts) {
|
|
2865
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
2865
2866
|
return super.create({
|
|
2866
|
-
...
|
|
2867
|
-
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal'),
|
|
2867
|
+
...restOpts,
|
|
2868
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal', customInjector),
|
|
2868
2869
|
});
|
|
2869
2870
|
}
|
|
2870
2871
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -2899,9 +2900,10 @@ class PopoverController extends OverlayBaseController {
|
|
|
2899
2900
|
super(popoverController);
|
|
2900
2901
|
}
|
|
2901
2902
|
create(opts) {
|
|
2903
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
2902
2904
|
return super.create({
|
|
2903
|
-
...
|
|
2904
|
-
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover'),
|
|
2905
|
+
...restOpts,
|
|
2906
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover', customInjector),
|
|
2905
2907
|
});
|
|
2906
2908
|
}
|
|
2907
2909
|
}
|