/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { ISupportsDataChangeNotifications_$type } from "./ISupportsDataChangeNotifications";
import { IDataSourceSupportsCount_$type } from "./IDataSourceSupportsCount";
import { Type, Base, markType } from "./type";
import { SyncableObservableCollection$1 } from "./SyncableObservableCollection$1";
export var IDataSourceDataProvider_$type = new Type(null, 'IDataSourceDataProvider', null, [ISupportsDataChangeNotifications_$type, IDataSourceSupportsCount_$type]);
export var IFilterExpression_$type = new Type(null, 'IFilterExpression');
var FilterExpressionCollection = /** @class */ (function (_super) {
    tslib_1.__extends(FilterExpressionCollection, _super);
    function FilterExpressionCollection() {
        var _this = _super.call(this) || this;
        _this.a = null;
        _this.f = null;
        _this.f = new SyncableObservableCollection$1(IFilterExpression_$type);
        return _this;
    }
    Object.defineProperty(FilterExpressionCollection.prototype, "b", {
        get: function () {
            return this.a;
        },
        set: function (a) {
            if (a == null) {
                this.f.syncTarget = null;
                this.a = null;
                return;
            }
            this.a = a;
            this.f.syncTarget = this.a.f;
        },
        enumerable: true,
        configurable: true
    });
    FilterExpressionCollection.prototype.g = function (a) {
        return this.f.add(a);
    };
    FilterExpressionCollection.prototype.n = function (a, b) {
        this.f.add1(a, b);
    };
    FilterExpressionCollection.prototype.m = function () {
        this.f.clear();
    };
    FilterExpressionCollection.prototype.c = function (a) {
        return this.f.get(a);
    };
    FilterExpressionCollection.prototype.j = function (a) {
        return this.f.indexOf(a);
    };
    FilterExpressionCollection.prototype.h = function (a) {
        return this.f.remove1(a);
    };
    FilterExpressionCollection.prototype.d = function (a) {
        return this.f.remove(a);
    };
    FilterExpressionCollection.prototype.e = function (a, b) {
        return this.f.set(a, b);
    };
    FilterExpressionCollection.prototype.k = function () {
        return this.f.size();
    };
    FilterExpressionCollection.prototype.l = function (a) {
        this.f.addListener(a);
    };
    FilterExpressionCollection.prototype.o = function (a) {
        this.f.removeListener(a);
    };
    Object.defineProperty(FilterExpressionCollection.prototype, "i", {
        get: function () {
            return this.f.all;
        },
        enumerable: true,
        configurable: true
    });
    FilterExpressionCollection.$t = markType(FilterExpressionCollection, 'FilterExpressionCollection');
    return FilterExpressionCollection;
}(Base));
export { FilterExpressionCollection };
//# sourceMappingURL=IDataSourceDataProvider_combined.js.map