import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ironsource/fusion-ui/components/button/v2";
export class DropdownDualMultiSelectFooterComponent {
    constructor() {
        this.applySelect = new EventEmitter();
        this.closeSelect = new EventEmitter();
    }
    applySelectItems(close) {
        this.applySelect.emit(close);
    }
    closeSelectItems() {
        this.closeSelect.emit();
    }
    static { this.ɵfac = function DropdownDualMultiSelectFooterComponent_Factory(t) { return new (t || DropdownDualMultiSelectFooterComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DropdownDualMultiSelectFooterComponent, selectors: [["fusion-dropdown-dual-multi-select-footer"]], inputs: { testId: "testId" }, outputs: { applySelect: "applySelect", closeSelect: "closeSelect" }, decls: 7, vars: 0, consts: [[1, "is-dropdown-dual-multi-select-footer"], ["fusion-button", "", 1, "transparent", "secondary", 3, "click"], ["fusion-button", "", 1, "transparent", "primary", 3, "click"]], template: function DropdownDualMultiSelectFooterComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
            i0.ɵɵlistener("click", function DropdownDualMultiSelectFooterComponent_Template_button_click_1_listener() { return ctx.closeSelectItems(); });
            i0.ɵɵelementStart(2, "span");
            i0.ɵɵtext(3, "Cancel");
            i0.ɵɵelementEnd()();
            i0.ɵɵelementStart(4, "button", 2);
            i0.ɵɵlistener("click", function DropdownDualMultiSelectFooterComponent_Template_button_click_4_listener() { return ctx.applySelectItems(true); });
            i0.ɵɵelementStart(5, "span");
            i0.ɵɵtext(6, "Apply");
            i0.ɵɵelementEnd()()();
        } }, dependencies: [i1.ButtonComponent], styles: ["[_nghost-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}[_nghost-%COMP%]   .is-dropdown-dual-multi-select-footer[_ngcontent-%COMP%]{border-top:1px solid #e5e7e9;width:528px;height:47px;padding:0 8px;display:flex;justify-content:flex-end;align-items:center}[_nghost-%COMP%]   .is-dropdown-dual-multi-select-footer[_ngcontent-%COMP%]   .primary[_ngcontent-%COMP%]{margin-right:8px;font-weight:900}[_nghost-%COMP%]   .is-dropdown-dual-multi-select-footer[_ngcontent-%COMP%]   .secondary[_ngcontent-%COMP%]{margin-right:8px;font-weight:900}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownDualMultiSelectFooterComponent, [{
        type: Component,
        args: [{ selector: 'fusion-dropdown-dual-multi-select-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"is-dropdown-dual-multi-select-footer\">\n    <button fusion-button class=\"transparent secondary\" (click)=\"closeSelectItems()\">\n        <span>Cancel</span>\n    </button>\n    <button fusion-button class=\"transparent primary\" (click)=\"applySelectItems(true)\">\n        <span>Apply</span>\n    </button>\n</div>\n", styles: [":host *{box-sizing:border-box}:host .is-dropdown-dual-multi-select-footer{border-top:1px solid #e5e7e9;width:528px;height:47px;padding:0 8px;display:flex;justify-content:flex-end;align-items:center}:host .is-dropdown-dual-multi-select-footer .primary{margin-right:8px;font-weight:900}:host .is-dropdown-dual-multi-select-footer .secondary{margin-right:8px;font-weight:900}\n"] }]
    }], () => [], { testId: [{
            type: Input
        }], applySelect: [{
            type: Output
        }], closeSelect: [{
            type: Output
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownDualMultiSelectFooterComponent, { className: "DropdownDualMultiSelectFooterComponent", filePath: "components/dropdown-dual-multi-select-footer/dropdown-dual-multi-select-footer.component.ts", lineNumber: 9 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tZHVhbC1tdWx0aS1zZWxlY3QtZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2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