UNPKG

@ionic/angular

Version:

Angular specific wrappers for @ionic/core

50 lines 2.76 kB
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 defineIonReorderGroup } from '@ionic/core/components/ion-reorder-group.js'; import * as i0 from "@angular/core"; let IonReorderGroup = class IonReorderGroup { z; el; ionItemReorder = new EventEmitter(); ionReorderStart = new EventEmitter(); ionReorderMove = new EventEmitter(); ionReorderEnd = 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: IonReorderGroup, 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: IonReorderGroup, isStandalone: true, selector: "ion-reorder-group", inputs: { disabled: "disabled" }, outputs: { ionItemReorder: "ionItemReorder", ionReorderStart: "ionReorderStart", ionReorderMove: "ionReorderMove", ionReorderEnd: "ionReorderEnd" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }; IonReorderGroup = __decorate([ ProxyCmp({ defineCustomElementFn: defineIonReorderGroup, inputs: ['disabled'], methods: ['complete'] }) ], IonReorderGroup); export { IonReorderGroup }; i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonReorderGroup, decorators: [{ type: Component, args: [{ selector: 'ion-reorder-group', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property inputs: ['disabled'], outputs: ['ionItemReorder', 'ionReorderStart', 'ionReorderMove', 'ionReorderEnd'], }] }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { ionItemReorder: [{ type: Output }], ionReorderStart: [{ type: Output }], ionReorderMove: [{ type: Output }], ionReorderEnd: [{ type: Output }] } }); //# sourceMappingURL=ion-reorder-group.js.map