@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
|
@@ -1794,7 +1794,7 @@ let IonRefresher = class IonRefresher {
|
|
|
1794
1794
|
this.z = z;
|
|
1795
1795
|
c.detach();
|
|
1796
1796
|
this.el = r.nativeElement;
|
|
1797
|
-
proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart']);
|
|
1797
|
+
proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart', 'ionPullStart', 'ionPullEnd']);
|
|
1798
1798
|
}
|
|
1799
1799
|
/** @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 });
|
|
1800
1800
|
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonRefresher, isStandalone: true, 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 });
|
|
@@ -2023,12 +2023,12 @@ let IonSegmentView = class IonSegmentView {
|
|
|
2023
2023
|
proxyOutputs(this, this.el, ['ionSegmentViewScroll']);
|
|
2024
2024
|
}
|
|
2025
2025
|
/** @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 });
|
|
2026
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSegmentView, isStandalone: true, selector: "ion-segment-view", inputs: { disabled: "disabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2026
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSegmentView, isStandalone: true, selector: "ion-segment-view", inputs: { disabled: "disabled", swipeGesture: "swipeGesture" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2027
2027
|
};
|
|
2028
2028
|
IonSegmentView = __decorate([
|
|
2029
2029
|
ProxyCmp({
|
|
2030
2030
|
defineCustomElementFn: defineCustomElement$11,
|
|
2031
|
-
inputs: ['disabled']
|
|
2031
|
+
inputs: ['disabled', 'swipeGesture']
|
|
2032
2032
|
})
|
|
2033
2033
|
], IonSegmentView);
|
|
2034
2034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSegmentView, decorators: [{
|
|
@@ -2038,7 +2038,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2038
2038
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2039
2039
|
template: '<ng-content></ng-content>',
|
|
2040
2040
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2041
|
-
inputs: ['disabled'],
|
|
2041
|
+
inputs: ['disabled', 'swipeGesture'],
|
|
2042
2042
|
standalone: true
|
|
2043
2043
|
}]
|
|
2044
2044
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
@@ -2051,12 +2051,12 @@ let IonSelectModal = class IonSelectModal {
|
|
|
2051
2051
|
this.el = r.nativeElement;
|
|
2052
2052
|
}
|
|
2053
2053
|
/** @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 });
|
|
2054
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSelectModal, isStandalone: true, selector: "ion-select-modal", inputs: { header: "header", multiple: "multiple", options: "options" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2054
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonSelectModal, isStandalone: true, 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 });
|
|
2055
2055
|
};
|
|
2056
2056
|
IonSelectModal = __decorate([
|
|
2057
2057
|
ProxyCmp({
|
|
2058
2058
|
defineCustomElementFn: defineCustomElement$12,
|
|
2059
|
-
inputs: ['header', 'multiple', 'options']
|
|
2059
|
+
inputs: ['cancelText', 'header', 'multiple', 'options']
|
|
2060
2060
|
})
|
|
2061
2061
|
], IonSelectModal);
|
|
2062
2062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonSelectModal, decorators: [{
|
|
@@ -2066,7 +2066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2066
2066
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2067
2067
|
template: '<ng-content></ng-content>',
|
|
2068
2068
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2069
|
-
inputs: ['header', 'multiple', 'options'],
|
|
2069
|
+
inputs: ['cancelText', 'header', 'multiple', 'options'],
|
|
2070
2070
|
standalone: true
|
|
2071
2071
|
}]
|
|
2072
2072
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
@@ -2470,9 +2470,10 @@ class ModalController extends OverlayBaseController {
|
|
|
2470
2470
|
defineCustomElement$3();
|
|
2471
2471
|
}
|
|
2472
2472
|
create(opts) {
|
|
2473
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
2473
2474
|
return super.create({
|
|
2474
|
-
...
|
|
2475
|
-
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal'),
|
|
2475
|
+
...restOpts,
|
|
2476
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal', customInjector),
|
|
2476
2477
|
});
|
|
2477
2478
|
}
|
|
2478
2479
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -2491,9 +2492,10 @@ class PopoverController extends OverlayBaseController {
|
|
|
2491
2492
|
defineCustomElement$4();
|
|
2492
2493
|
}
|
|
2493
2494
|
create(opts) {
|
|
2495
|
+
const { injector: customInjector, ...restOpts } = opts;
|
|
2494
2496
|
return super.create({
|
|
2495
|
-
...
|
|
2496
|
-
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover'),
|
|
2497
|
+
...restOpts,
|
|
2498
|
+
delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover', customInjector),
|
|
2497
2499
|
});
|
|
2498
2500
|
}
|
|
2499
2501
|
}
|