import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
export class QueryEventCompletionComponent {
    eventCompletionParams;
    onEventCanBeCompleted(value) {
        // Submit the query response
    }
    static ɵfac = function QueryEventCompletionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryEventCompletionComponent)(); };
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryEventCompletionComponent, selectors: [["ccd-query-event-completion"]], inputs: { eventCompletionParams: "eventCompletionParams" }, decls: 1, vars: 1, consts: [[3, "eventCanBeCompleted", "eventCompletionParams"]], template: function QueryEventCompletionComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "ccd-case-event-completion", 0);
            i0.ɵɵlistener("eventCanBeCompleted", function QueryEventCompletionComponent_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { return ctx.onEventCanBeCompleted($event); });
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
        } }, encapsulation: 2 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryEventCompletionComponent, [{
        type: Component,
        args: [{ selector: 'ccd-query-event-completion', template: "<ccd-case-event-completion [eventCompletionParams]=\"eventCompletionParams\"\n  (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>" }]
    }], null, { eventCompletionParams: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryEventCompletionComponent, { className: "QueryEventCompletionComponent", filePath: "lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktZXZlbnQtY29tcGxldGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uL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