igniteui-react-grids
Version:
Ignite UI React grid components.
49 lines (48 loc) • 2.12 kB
JavaScript
/*
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 { __extends } from "tslib";
import { ObservableCollection$1 } from "igniteui-react-core";
import { Base, PropertyChangedEventArgs, delegateCombine, markType } from "igniteui-react-core";
import { NotifyCollectionChangedEventArgs } from "igniteui-react-core";
/**
* @hidden
*/
var GridSelectedItemsCollection = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(GridSelectedItemsCollection, _super);
function GridSelectedItemsCollection() {
var _this = _super.call(this, Base.$, 0) || this;
_this.af = false;
return _this;
}
Object.defineProperty(GridSelectedItemsCollection.prototype, "ae", {
get: function () {
return this;
},
enumerable: false,
configurable: true
});
GridSelectedItemsCollection.prototype.ag = function (a) {
this.collectionChanged = delegateCombine(this.collectionChanged, a);
};
GridSelectedItemsCollection.prototype.u = function (a) {
var b = this._inner[a];
if (a == 0) {
this._inner.shift();
}
else {
this._inner.splice(a, 1);
}
this.ad(new PropertyChangedEventArgs("Count"));
this.ad(new PropertyChangedEventArgs("Item[]"));
if (!this.af) {
this.ac(new NotifyCollectionChangedEventArgs(1, 1, b, a));
}
};
GridSelectedItemsCollection.$t = markType(GridSelectedItemsCollection, 'GridSelectedItemsCollection', ObservableCollection$1.$.specialize(Base.$));
return GridSelectedItemsCollection;
}(ObservableCollection$1));
export { GridSelectedItemsCollection };