import { Component, ViewChild } from '@angular/core';
import { ZUIDialogComponent } from '../../../dialog';
export class ZuiTableFilterDialogComponent {
    constructor() {
        this.open = () => {
            this.dialog.open();
            this.dialog.afterClosed(result => {
                console.log('afterClosed', result);
            });
        };
        this.clearFilter = () => {
            console.log('clearFilter');
        };
        this.save = () => {
            console.log('save');
            this.dialog.close();
        };
    }
}
ZuiTableFilterDialogComponent.decorators = [
    { type: Component, args: [{
                selector: 'zui-table-filter-dialog',
                template: "<zui-dialog title=\"Filter\" #dialog>\n  <zui-dialog-body>\n    <div class=\"d-flex align-items-center\">\n      <zui-checkbox type=\"slide\"></zui-checkbox>\n      <zui-input label=\"label\" class=\"ml-10 d-flex-1\" disabledError></zui-input>\n    </div>\n    <div class=\"d-flex align-items-center\">\n      <zui-checkbox type=\"slide\"></zui-checkbox>\n      <zui-input label=\"label\" class=\"ml-10 d-flex-1\" disabledError></zui-input>\n    </div>\n  </zui-dialog-body>\n  <zui-dialog-footer>\n    <div class=\"w-100 d-flex justify-content-between\">\n      <zui-button (action)=\"clearFilter()\" label=\"Clear filter\" prefixIcon=\"clear\" type=\"stroked\"></zui-button>\n      <zui-button (action)=\"save()\" label=\"Save\" prefixIcon=\"save\" color=\"primary\" type=\"stroked\"></zui-button>\n    </div>\n  </zui-dialog-footer>\n</zui-dialog>\n"
            },] }
];
ZuiTableFilterDialogComponent.propDecorators = {
    dialog: [{ type: ViewChild, args: ['dialog',] }]
};
//# sourceMappingURL=index.component.js.map