import { Component } from '@angular/core';
import { overlayEditor } from '@pqina/pintura';
import { PinturaEditorAbstractComponent } from './pintura-editor-abstract.component';
export class PinturaEditorOverlayComponent extends PinturaEditorAbstractComponent {
    initEditor(element, props) {
        return overlayEditor(element, props);
    }
}
PinturaEditorOverlayComponent.decorators = [
    { type: Component, args: [{
                selector: 'pintura-editor-overlay',
                template: ` <ng-content></ng-content> `
            },] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGludHVyYS1lZGl0b3Itb3ZlcmxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vc3JjL2FuZ3VsYXItcGludHVyYS9wcm9qZWN0cy9hbmd1bGFyLXBpbnR1cmEvc3JjLyIsInNvdXJjZXMiOlsibGliL3BpbnR1cmEtZWRpdG9yLW92ZXJsYXkuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLGFBQWEsRUFBdUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNwRixPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQU9yRixNQUFNLE9BQU8sNkJBQ1QsU0FBUSw4QkFBaUM7SUFHekMsVUFBVSxDQUFDLE9BQW9CLEVBQUUsS0FBMkI7UUFDeEQsT0FBTyxhQUFhLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxDQUFDO0lBQ3pDLENBQUM7OztZQVhKLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsd0JBQXdCO2dCQUNsQyxRQUFRLEVBQUUsNkJBQTZCO2FBRTFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IG92ZXJs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