feat(slides): remove ion-slide, ion-slides, and IonicSwiper module (#25868)

This commit is contained in:
Amanda Johnston
2022-09-01 14:36:17 -05:00
committed by GitHub
parent f5a6b5a4c4
commit d478e03914
53 changed files with 23 additions and 3072 deletions

View File

@ -1681,114 +1681,6 @@ export class IonSkeletonText {
}
export declare interface IonSlide extends Components.IonSlide {}
@ProxyCmp({
defineCustomElementFn: undefined
})
@Component({
selector: 'ion-slide',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>'
})
export class IonSlide {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
}
}
export declare interface IonSlides extends Components.IonSlides {
/**
* Emitted after Swiper initialization
*/
ionSlidesDidLoad: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the user taps/clicks on the slide's container.
*/
ionSlideTap: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the user double taps on the slide's container.
*/
ionSlideDoubleTap: EventEmitter<CustomEvent<void>>;
/**
* Emitted before the active slide has changed.
*/
ionSlideWillChange: EventEmitter<CustomEvent<void>>;
/**
* Emitted after the active slide has changed.
*/
ionSlideDidChange: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the next slide has started.
*/
ionSlideNextStart: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the previous slide has started.
*/
ionSlidePrevStart: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the next slide has ended.
*/
ionSlideNextEnd: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the previous slide has ended.
*/
ionSlidePrevEnd: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the slide transition has started.
*/
ionSlideTransitionStart: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the slide transition has ended.
*/
ionSlideTransitionEnd: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the slider is actively being moved.
*/
ionSlideDrag: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the slider is at its initial position.
*/
ionSlideReachStart: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the slider is at the last slide.
*/
ionSlideReachEnd: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the user first touches the slider.
*/
ionSlideTouchStart: EventEmitter<CustomEvent<void>>;
/**
* Emitted when the user releases the touch.
*/
ionSlideTouchEnd: EventEmitter<CustomEvent<void>>;
}
@ProxyCmp({
defineCustomElementFn: undefined,
inputs: ['mode', 'options', 'pager', 'scrollbar'],
methods: ['update', 'updateAutoHeight', 'slideTo', 'slideNext', 'slidePrev', 'getActiveIndex', 'getPreviousIndex', 'length', 'isEnd', 'isBeginning', 'startAutoplay', 'stopAutoplay', 'lockSwipeToNext', 'lockSwipeToPrev', 'lockSwipes', 'getSwiper']
})
@Component({
selector: 'ion-slides',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
inputs: ['mode', 'options', 'pager', 'scrollbar']
})
export class IonSlides {
protected el: HTMLElement;
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
c.detach();
this.el = r.nativeElement;
proxyOutputs(this, this.el, ['ionSlidesDidLoad', 'ionSlideTap', 'ionSlideDoubleTap', 'ionSlideWillChange', 'ionSlideDidChange', 'ionSlideNextStart', 'ionSlidePrevStart', 'ionSlideNextEnd', 'ionSlidePrevEnd', 'ionSlideTransitionStart', 'ionSlideTransitionEnd', 'ionSlideDrag', 'ionSlideReachStart', 'ionSlideReachEnd', 'ionSlideTouchStart', 'ionSlideTouchEnd']);
}
}
export declare interface IonSpinner extends Components.IonSpinner {}
@ProxyCmp({