@ionic/angular
Version:
Angular specific wrappers for @ionic/core
62 lines • 4.25 kB
JavaScript
import { __decorate } from "tslib";
/* tslint:disable */
/* auto-generated angular directive proxies */
import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';
import { ProxyCmp } from './angular-component-lib/utils';
import { defineCustomElement as defineIonActionSheet } from '@ionic/core/components/ion-action-sheet.js';
import * as i0 from "@angular/core";
let IonActionSheet = class IonActionSheet {
z;
el;
ionActionSheetDidPresent = new EventEmitter();
ionActionSheetWillPresent = new EventEmitter();
ionActionSheetWillDismiss = new EventEmitter();
ionActionSheetDidDismiss = new EventEmitter();
didPresent = new EventEmitter();
willPresent = new EventEmitter();
willDismiss = new EventEmitter();
didDismiss = new EventEmitter();
constructor(c, r, z) {
this.z = z;
c.detach();
this.el = r.nativeElement;
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonActionSheet, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonActionSheet, isStandalone: true, selector: "ion-action-sheet", inputs: { animated: "animated", backdropDismiss: "backdropDismiss", buttons: "buttons", cssClass: "cssClass", enterAnimation: "enterAnimation", header: "header", htmlAttributes: "htmlAttributes", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", subHeader: "subHeader", translucent: "translucent", trigger: "trigger" }, outputs: { ionActionSheetDidPresent: "ionActionSheetDidPresent", ionActionSheetWillPresent: "ionActionSheetWillPresent", ionActionSheetWillDismiss: "ionActionSheetWillDismiss", ionActionSheetDidDismiss: "ionActionSheetDidDismiss", didPresent: "didPresent", willPresent: "willPresent", willDismiss: "willDismiss", didDismiss: "didDismiss" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
};
IonActionSheet = __decorate([
ProxyCmp({
defineCustomElementFn: defineIonActionSheet,
inputs: ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'subHeader', 'translucent', 'trigger'],
methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss']
})
], IonActionSheet);
export { IonActionSheet };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonActionSheet, decorators: [{
type: Component,
args: [{
selector: 'ion-action-sheet',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['animated', 'backdropDismiss', 'buttons', 'cssClass', 'enterAnimation', 'header', 'htmlAttributes', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'subHeader', 'translucent', 'trigger'],
outputs: ['ionActionSheetDidPresent', 'ionActionSheetWillPresent', 'ionActionSheetWillDismiss', 'ionActionSheetDidDismiss', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss'],
}]
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { ionActionSheetDidPresent: [{
type: Output
}], ionActionSheetWillPresent: [{
type: Output
}], ionActionSheetWillDismiss: [{
type: Output
}], ionActionSheetDidDismiss: [{
type: Output
}], didPresent: [{
type: Output
}], willPresent: [{
type: Output
}], willDismiss: [{
type: Output
}], didDismiss: [{
type: Output
}] } });
//# sourceMappingURL=ion-action-sheet.js.map