"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilterApiImpl = void 0;
const ApiBase_1 = require("./ApiBase");
const FilterInternalApi_1 = require("../Internal/FilterInternalApi");
const ColumnFilterApiImpl_1 = require("./ColumnFilterApiImpl");
const GridFilterApiImpl_1 = require("./GridFilterApiImpl");
class FilterApiImpl extends ApiBase_1.ApiBase {
    constructor(_adaptable) {
        super(_adaptable);
        this.internalApi = new FilterInternalApi_1.FilterInternalApi(_adaptable);
        this.columnFilterApi = new ColumnFilterApiImpl_1.ColumnFilterApiImpl(_adaptable);
        this.gridFilterApi = new GridFilterApiImpl_1.GridFilterApiImpl(_adaptable);
    }
    clearAllFilters() {
        this.columnFilterApi.clearColumnFilters();
        this.gridFilterApi.clearGridFilter();
    }
}
exports.FilterApiImpl = FilterApiImpl;
