import { CommonFilterService } from './../common-filter/common-filter.service';
import { Component, ViewEncapsulation } from '@angular/core';
import { AxExpTimeValue } from '../../enlighten-lib/ax-expression/ax-exp-time';
import { AxExpTimeRangeValue } from '../../enlighten-lib/ax-expression/ax-exp-time-range-value';
import { AxOperator, DateOperatorIndex } from '../../enlighten-lib/filters/ax-operator';
import { CommonFilterComponent } from '../common-filter/common-filter.component';
import * as i0 from "@angular/core";
import * as i1 from "./../common-filter/common-filter.service";
import * as i2 from "@angular/material/form-field";
import * as i3 from "@angular/material/select";
import * as i4 from "@angular/material/tooltip";
import * as i5 from "@angular/material/menu";
import * as i6 from "@angular/material/radio";
import * as i7 from "@angular/common";
import * as i8 from "../filter-footer/filter-footer.component";
import * as i9 from "@angular/material/icon";
import * as i10 from "@angular/material/input";
import * as i11 from "@angular/forms";
function TimeFilterComponent_div_12_Template(rf, ctx) { if (rf & 1) {
    const _r6 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div");
    i0.ɵɵelementStart(1, "mat-form-field", 16);
    i0.ɵɵelementStart(2, "input", 17);
    i0.ɵɵlistener("ngModelChange", function TimeFilterComponent_div_12_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.expression.value.value = $event; })("change", function TimeFilterComponent_div_12_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.filterValueChanged(); });
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r2 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngModel", ctx_r2.expression.value.value);
} }
function TimeFilterComponent_div_17_Template(rf, ctx) { if (rf & 1) {
    const _r9 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div");
    i0.ɵɵelementStart(1, "mat-form-field", 16);
    i0.ɵɵelementStart(2, "input", 18);
    i0.ɵɵlistener("ngModelChange", function TimeFilterComponent_div_17_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.expression.value.value = $event; })("change", function TimeFilterComponent_div_17_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r9); const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.filterValueChanged(); });
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r3 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngModel", ctx_r3.expression.value.value);
} }
function TimeFilterComponent_div_22_mat_form_field_1_Template(rf, ctx) { if (rf & 1) {
    const _r14 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "mat-form-field", 16);
    i0.ɵɵelementStart(1, "input", 21);
    i0.ɵɵlistener("ngModelChange", function TimeFilterComponent_div_22_mat_form_field_1_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return ctx_r13.expression.value.value.from = $event; })("click", function TimeFilterComponent_div_22_mat_form_field_1_Template_input_click_1_listener($event) { return $event.stopPropagation(); })("change", function TimeFilterComponent_div_22_mat_form_field_1_Template_input_change_1_listener() { i0.ɵɵrestoreView(_r14); const ctx_r16 = i0.ɵɵnextContext(2); return ctx_r16.filterValueChanged(); });
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r11 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngModel", ctx_r11.expression.value.value.from);
} }
function TimeFilterComponent_div_22_mat_form_field_2_Template(rf, ctx) { if (rf & 1) {
    const _r18 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "mat-form-field", 16);
    i0.ɵɵelementStart(1, "input", 22);
    i0.ɵɵlistener("ngModelChange", function TimeFilterComponent_div_22_mat_form_field_2_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.expression.value.value.to = $event; })("click", function TimeFilterComponent_div_22_mat_form_field_2_Template_input_click_1_listener($event) { return $event.stopPropagation(); })("change", function TimeFilterComponent_div_22_mat_form_field_2_Template_input_change_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r20 = i0.ɵɵnextContext(2); return ctx_r20.filterValueChanged(); });
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r12 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngModel", ctx_r12.expression.value.value.to);
} }
function TimeFilterComponent_div_22_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 19);
    i0.ɵɵtemplate(1, TimeFilterComponent_div_22_mat_form_field_1_Template, 2, 1, "mat-form-field", 20);
    i0.ɵɵtemplate(2, TimeFilterComponent_div_22_mat_form_field_2_Template, 2, 1, "mat-form-field", 20);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r4.expression == null ? null : ctx_r4.expression.value == null ? null : ctx_r4.expression.value.value);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r4.expression == null ? null : ctx_r4.expression.value == null ? null : ctx_r4.expression.value.value);
} }
const _c0 = function (a0) { return { "between_time_active": a0 }; };
export class TimeFilterComponent extends CommonFilterComponent {
    constructor(_commonFilterService) {
        super(_commonFilterService);
        //<----------< Inputs >---------------------------->
        //<-----------<Outputs >--------------------------->
        //<-------------(Enums )--------------------------->
        this.timeOperatorIndex = DateOperatorIndex;
        this.selectedOperator = 0;
    }
    // eslint-disable-next-line @angular-eslint/use-lifecycle-interface
    ngOnChanges(changes) {
        super.ngOnChanges(changes);
        // if (changes['clearValueEvent'] && changes['clearValueEvent']?.previousValue !== changes['clearValueEvent']?.currentValue) {
        //   const val=this.expression.value as any;
        //   if(!val.value || !val.isSearchable){
        //     this.selectedOperator = 0;
        //     const timeRange = new AxExpTimeValue(this.expression.value as AxExpTimeValue);
        //     timeRange.isSearchable = false;
        //     timeRange.value = '12:00';
        //     this.expression.value = timeRange;
        //   }
        // }
    }
    ngOnInit() {
        super.ngOnInit();
        this.timeOperators = AxOperator.getDateOperator();
        this.setDisplayValue();
        // if (!this.expression.value) {
        //   this.expression.value = new AxExpTimeValue();
        // } else {
        //   this.selectedOperator = this.expression.value.isInputVisible;
        //   this.setTimeRangeExpValue();
        // }
    }
    /**
     * Set time operator object on  specific operator index
     *
     * @param operatorIndex
     */
    setTimeOperator(operatorIndex) {
        this.expression.comparisonOperator = this.timeOperators[operatorIndex - 1];
        if (operatorIndex === DateOperatorIndex.between) {
            this.expression.value = new AxExpTimeRangeValue();
        }
        else {
            this.expression.value = new AxExpTimeValue();
        }
        this.expression.value.isInputVisible = this.selectedOperator;
    }
    /**
     * set display value
     * This value show as label
     */
    setDisplayValue() {
        this.displayValue = this.expression.field.label;
        if (this.expression.value instanceof AxExpTimeRangeValue) {
            const expressionValue = new AxExpTimeRangeValue(this.expression.value);
            if (expressionValue.value.from !== null) {
                this.displayValue = this.expression.field.label + ' Between ' + expressionValue.value.from + ' To ' + expressionValue.value.to;
            }
        }
        else {
            const expressionValue = new AxExpTimeValue(this.expression.value);
            if (expressionValue.value !== null) {
                this.displayValue = this.expression.field.label + ' ' + this.expression.comparisonOperator.text + ' ' + expressionValue.value;
            }
        }
        this.addEllipsesToDisplayValue(this.displayValue);
    }
    /**
     * Clear all selected value into expression value
     */
    clearAllValue() {
        this.setTimeOperator(this.selectedOperator);
        this.selectedOperator = null;
        this.displayValue = this.expression.field.label;
        this.filterValueChanged();
        this.applyFilterEvent.emit();
    }
    /**
     * set the time input visible value
     *
     * @param dateOperatorType
     */
    onTimeFilterOptionChange(dateOperatorType) {
        this.selectedOperator = dateOperatorType;
        this.expression.value.isInputVisible = dateOperatorType;
    }
    /**
     * Filter value Change Event
     *
     * @Overridden
     */
    filterValueChanged() {
        this.setDisplayValue();
        this.filterValueChange.emit(this.filter);
        this._commonFilterService.filterValueChange.emit(this.filter);
    }
    /**
     * THis will reset Filter value.
     *
     * @overridden
     */
    resetFilter() {
        if (this.defaultValue && this.defaultValue.isInputVisible === DateOperatorIndex.between) {
            this.expression.value = new AxExpTimeRangeValue(this.defaultValue);
        }
        else {
            this.expression.value = new AxExpTimeValue(this.defaultValue);
        }
        this.expression.comparisonOperator = this.defaultComparisonOperator;
        this.expression.value.isInputVisible = this.defaultOperatorIndex;
        this.selectedOperator = this.defaultOperatorIndex;
        this.setDisplayValue();
    }
    /**
     * Set Default Value
     *
     * @overridden
     */
    setDefaultValue() {
        if (this.expression.value.isInputVisible === DateOperatorIndex.between) {
            this.defaultValue = new AxExpTimeRangeValue(this.expression.value);
        }
        else {
            this.defaultValue = new AxExpTimeValue(this.expression.value);
        }
        this.defaultComparisonOperator = this.expression.comparisonOperator;
        this.defaultOperatorIndex = this.expression.value.isInputVisible;
        this.selectedOperator = this.expression.value.isInputVisible;
    }
    /**
     * This function clear the filter value.
     *
     * @overridden
     */
    clearValue() {
        this.expression.value = new AxExpTimeValue();
    }
}
TimeFilterComponent.ɵfac = function TimeFilterComponent_Factory(t) { return new (t || TimeFilterComponent)(i0.ɵɵdirectiveInject(i1.CommonFilterService)); };
TimeFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeFilterComponent, selectors: [["lib-time-filter"]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 25, vars: 18, consts: [[1, "fields"], [1, "time-field"], ["appearance", "none"], [1, "filter-dropdown", 3, "placeholder", "matTooltip", "matTooltipClass", "matMenuTriggerFor", "selectionChange"], ["timeSelectList", ""], ["yPosition", "below", "backdropClass", "time-filter-backdrop-class", 1, "time-filter-panel"], ["belowMenu", "matMenu"], [1, "radio-group", 3, "ngClass", "click"], [1, "more-than"], ["name", "selectedOperator", "type", "radio", 3, "value", "checked", "change", "click"], [4, "ngIf"], [1, "less-than"], [1, "between"], ["class", "between-time timer", 4, "ngIf"], [3, "isFilterValue", "clearAllValue", "applyFilter", "closeFilter"], [1, "down-arrow", "filter-down-arrow", 3, "svgIcon", "click"], ["appearance", "standard"], ["matInput", "", "type", "time", "placeholder", "More Than", 3, "ngModel", "ngModelChange", "change"], ["matInput", "", "type", "time", "placeholder", "Less Than", 3, "ngModel", "ngModelChange", "change"], [1, "between-time", "timer"], ["appearance", "standard", 4, "ngIf"], ["matInput", "", "name", "startTime", "type", "time", "placeholder", "Start time", 3, "ngModel", "ngModelChange", "click", "change"], ["matInput", "", "name", "endTime", "type", "time", "placeholder", "End time", 3, "ngModel", "ngModelChange", "click", "change"]], template: function TimeFilterComponent_Template(rf, ctx) { if (rf & 1) {
        const _r21 = i0.ɵɵgetCurrentView();
        i0.ɵɵelementStart(0, "div", 0);
        i0.ɵɵelementStart(1, "div", 1);
        i0.ɵɵelementStart(2, "mat-form-field", 2);
        i0.ɵɵelementStart(3, "mat-select", 3, 4);
        i0.ɵɵlistener("selectionChange", function TimeFilterComponent_Template_mat_select_selectionChange_3_listener() { return ctx.filterValueChanged(); });
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(5, "mat-menu", 5, 6);
        i0.ɵɵelementStart(7, "mat-radio-group", 7);
        i0.ɵɵlistener("click", function TimeFilterComponent_Template_mat_radio_group_click_7_listener($event) { return $event.stopPropagation(); });
        i0.ɵɵelementStart(8, "div", 8);
        i0.ɵɵelementStart(9, "label");
        i0.ɵɵelementStart(10, "input", 9);
        i0.ɵɵlistener("change", function TimeFilterComponent_Template_input_change_10_listener() { return ctx.onTimeFilterOptionChange(ctx.timeOperatorIndex.greaterThanOrEqualTo); })("click", function TimeFilterComponent_Template_input_click_10_listener() { return ctx.setTimeOperator(ctx.timeOperatorIndex.greaterThanOrEqualTo); });
        i0.ɵɵelementEnd();
        i0.ɵɵtext(11, " More Than Or Equal To ");
        i0.ɵɵtemplate(12, TimeFilterComponent_div_12_Template, 3, 1, "div", 10);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(13, "div", 11);
        i0.ɵɵelementStart(14, "label");
        i0.ɵɵelementStart(15, "input", 9);
        i0.ɵɵlistener("change", function TimeFilterComponent_Template_input_change_15_listener() { return ctx.onTimeFilterOptionChange(ctx.timeOperatorIndex.lessThanOrEqualTo); })("click", function TimeFilterComponent_Template_input_click_15_listener() { return ctx.setTimeOperator(ctx.timeOperatorIndex.lessThanOrEqualTo); });
        i0.ɵɵelementEnd();
        i0.ɵɵtext(16, " Less Than Or Equal To ");
        i0.ɵɵtemplate(17, TimeFilterComponent_div_17_Template, 3, 1, "div", 10);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(18, "div", 12);
        i0.ɵɵelementStart(19, "label");
        i0.ɵɵelementStart(20, "input", 9);
        i0.ɵɵlistener("change", function TimeFilterComponent_Template_input_change_20_listener() { return ctx.onTimeFilterOptionChange(ctx.timeOperatorIndex.between); })("click", function TimeFilterComponent_Template_input_click_20_listener($event) { ctx.setTimeOperator(ctx.timeOperatorIndex.between); return $event.stopPropagation(); });
        i0.ɵɵelementEnd();
        i0.ɵɵtext(21, " Between ");
        i0.ɵɵtemplate(22, TimeFilterComponent_div_22_Template, 3, 2, "div", 13);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(23, "lib-filter-footer", 14);
        i0.ɵɵlistener("clearAllValue", function TimeFilterComponent_Template_lib_filter_footer_clearAllValue_23_listener() { return ctx.clearAllValue(); })("applyFilter", function TimeFilterComponent_Template_lib_filter_footer_applyFilter_23_listener() { return ctx.applyFilter(); })("closeFilter", function TimeFilterComponent_Template_lib_filter_footer_closeFilter_23_listener() { i0.ɵɵrestoreView(_r21); const _r1 = i0.ɵɵreference(6); return _r1.close(); });
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(24, "mat-icon", 15);
        i0.ɵɵlistener("click", function TimeFilterComponent_Template_mat_icon_click_24_listener() { i0.ɵɵrestoreView(_r21); const _r0 = i0.ɵɵreference(4); return _r0.open(); });
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        const _r1 = i0.ɵɵreference(6);
        i0.ɵɵadvance(3);
        i0.ɵɵproperty("placeholder", ctx.displayValue)("matTooltip", ctx.toolTipValue)("matTooltipClass", "capitalize")("matMenuTriggerFor", _r1);
        i0.ɵɵadvance(4);
        i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0, ctx.selectedOperator === ctx.timeOperatorIndex.between));
        i0.ɵɵadvance(3);
        i0.ɵɵproperty("value", ctx.timeOperatorIndex.greaterThanOrEqualTo)("checked", ctx.selectedOperator === ctx.timeOperatorIndex.greaterThanOrEqualTo);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.selectedOperator === ctx.timeOperatorIndex.greaterThanOrEqualTo);
        i0.ɵɵadvance(3);
        i0.ɵɵproperty("value", ctx.timeOperatorIndex.lessThanOrEqualTo)("checked", ctx.selectedOperator === ctx.timeOperatorIndex.lessThanOrEqualTo);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.selectedOperator === ctx.timeOperatorIndex.lessThanOrEqualTo);
        i0.ɵɵadvance(3);
        i0.ɵɵproperty("value", ctx.timeOperatorIndex.between)("checked", ctx.selectedOperator === ctx.timeOperatorIndex.between);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.selectedOperator === ctx.timeOperatorIndex.between);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("isFilterValue", true);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("svgIcon", "axo_arrow");
    } }, directives: [i2.MatFormField, i3.MatSelect, i4.MatTooltip, i5.MatMenuTrigger, i5.MatMenu, i6.MatRadioGroup, i7.NgClass, i7.NgIf, i8.FilterFooterComponent, i9.MatIcon, i10.MatInput, i11.DefaultValueAccessor, i11.NgControlStatus, i11.NgModel], styles: [""], encapsulation: 2 });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFilterComponent, [{
        type: Component,
        args: [{ selector: 'lib-time-filter', encapsulation: ViewEncapsulation.None, template: "<div class=\"fields\" >\n    <div class=\"time-field\">\n        <mat-form-field appearance=\"none\">\n            <mat-select\n                [placeholder]=\"displayValue\"\n                [matTooltip]=\"toolTipValue\"\n                [matTooltipClass]=\"'capitalize'\"\n                class=\"filter-dropdown\"\n                [matMenuTriggerFor]=\"belowMenu\"\n                (selectionChange)=\"filterValueChanged()\"\n                #timeSelectList\n            >\n            </mat-select>\n        </mat-form-field>\n    </div>\n    <mat-menu #belowMenu=\"matMenu\"  yPosition=\"below\" class=\"time-filter-panel\" backdropClass=\"time-filter-backdrop-class\">\n        <mat-radio-group class=\"radio-group\" (click)=\"$event.stopPropagation()\" [ngClass]=\"{'between_time_active': selectedOperator === timeOperatorIndex.between}\">\n            <div class=\"more-than\">\n                <label>\n                    <input\n                        [value]=\"timeOperatorIndex.greaterThanOrEqualTo\"\n                        (change)=\"onTimeFilterOptionChange(timeOperatorIndex.greaterThanOrEqualTo)\"\n                        name=\"selectedOperator\"\n                        type=\"radio\"\n                        (click)=\"setTimeOperator(timeOperatorIndex.greaterThanOrEqualTo)\"\n                        [checked]=\"selectedOperator === timeOperatorIndex.greaterThanOrEqualTo\" />\n                    More Than Or Equal To\n                    <div *ngIf=\"selectedOperator === timeOperatorIndex.greaterThanOrEqualTo\">\n                        <mat-form-field appearance=\"standard\">\n                            <input\n                                matInput\n                                type=\"time\"\n                                placeholder=\"More Than\"\n                                [(ngModel)]=\"expression.value.value\"\n                                (change)=\"filterValueChanged()\"\n                            />\n                        </mat-form-field></div>\n                    </label>\n            </div>\n            <div class=\"less-than\">\n                <label>\n                    <input\n                        [value]=\"timeOperatorIndex.lessThanOrEqualTo\"\n                        (change)=\"onTimeFilterOptionChange(timeOperatorIndex.lessThanOrEqualTo)\"\n                        name=\"selectedOperator\"\n                        type=\"radio\"\n                        (click)=\"setTimeOperator(timeOperatorIndex.lessThanOrEqualTo)\"\n                        [checked]=\"selectedOperator === timeOperatorIndex.lessThanOrEqualTo\"\n                    />\n                    Less Than Or Equal To\n                    <div *ngIf=\"selectedOperator === timeOperatorIndex.lessThanOrEqualTo\">\n                        <mat-form-field appearance=\"standard\">\n                            <input\n                                matInput\n                                type=\"time\"\n                                placeholder=\"Less Than\"\n                                [(ngModel)]=\"expression.value.value\"\n                                (change)=\"filterValueChanged()\"\n                            />\n                        </mat-form-field>\n                    </div>\n                </label>\n            </div>\n            <div class=\"between\">\n                <label>\n                    <input\n                        [value]=\"timeOperatorIndex.between\"\n                        (change)=\"onTimeFilterOptionChange(timeOperatorIndex.between)\"\n                        name=\"selectedOperator\"\n                        type=\"radio\"\n                        (click)=\"setTimeOperator(timeOperatorIndex.between);$event.stopPropagation()\"\n                        [checked]=\"selectedOperator === timeOperatorIndex.between\"\n                    />\n                    Between\n                    <div class=\"between-time timer\" *ngIf=\"selectedOperator === timeOperatorIndex.between\" >\n                        <mat-form-field appearance=\"standard\" *ngIf=\"expression?.value?.value\">\n                            <input\n                                matInput\n                                name=\"startTime\"\n                                type=\"time\"\n                                placeholder=\"Start time\"\n                                [(ngModel)]=\"expression.value.value.from\"\n                                (click)=\"$event.stopPropagation()\"\n                                (change)=\"filterValueChanged()\"\n                            />\n                            </mat-form-field>\n                        <mat-form-field appearance=\"standard\" *ngIf=\"expression?.value?.value\">\n                            <input\n                                matInput\n                                name=\"endTime\"\n                                type=\"time\"\n                                placeholder=\"End time\"\n                                [(ngModel)]=\"expression.value.value.to\"\n                                (click)=\"$event.stopPropagation()\"\n                                (change)=\"filterValueChanged()\"\n                            />\n                        </mat-form-field>\n                    </div>\n                </label>\n            </div>\n        </mat-radio-group>\n        <lib-filter-footer\n            [isFilterValue]=\"true\"\n            (clearAllValue)=\"clearAllValue()\"\n            (applyFilter)=\"applyFilter()\"\n            (closeFilter)=\"belowMenu.close()\"\n            ></lib-filter-footer>\n    </mat-menu>\n    <mat-icon class=\"down-arrow filter-down-arrow\" [svgIcon]=\"'axo_arrow'\" (click)=\"timeSelectList.open()\"></mat-icon>\n</div>\n", styles: [""] }]
    }], function () { return [{ type: i1.CommonFilterService }]; }, null); })();
//# sourceMappingURL=data:application/json;base64, 