igniteui-react-core
Version:
Ignite UI React Core.
88 lines (87 loc) • 3.38 kB
JavaScript
import { IgrDataSourceGroupDescription } from "./igr-data-source-group-description";
import { DataSourceGroupDescriptionCollection as DataSourceGroupDescriptionCollection_internal } from "./DataSourceGroupDescriptionCollection";
var IgrDataSourceGroupDescriptionCollection = /** @class */ /*@__PURE__*/ (function () {
function IgrDataSourceGroupDescriptionCollection() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrDataSourceGroupDescriptionCollection.prototype.createImplementation = function () {
return new DataSourceGroupDescriptionCollection_internal();
};
Object.defineProperty(IgrDataSourceGroupDescriptionCollection.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDataSourceGroupDescriptionCollection.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrDataSourceGroupDescriptionCollection.prototype.onImplementationCreated = function () {
};
IgrDataSourceGroupDescriptionCollection.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
IgrDataSourceGroupDescriptionCollection.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
IgrDataSourceGroupDescriptionCollection.prototype.add = function (item) {
var iv = this.i.g((item == null ? null : item.i));
return (iv);
};
IgrDataSourceGroupDescriptionCollection.prototype.insert = function (index, item) {
this.i.n(index, (item == null ? null : item.i));
};
IgrDataSourceGroupDescriptionCollection.prototype.clear = function () {
this.i.m();
};
IgrDataSourceGroupDescriptionCollection.prototype.indexOf = function (item) {
var iv = this.i.j((item == null ? null : item.i));
return (iv);
};
IgrDataSourceGroupDescriptionCollection.prototype.remove = function (item) {
var iv = this.i.h((item == null ? null : item.i));
return (iv);
};
IgrDataSourceGroupDescriptionCollection.prototype.removeAt = function (index) {
var iv = this.i.b(index);
var ret = null;
if (iv && iv.externalObject) {
ret = iv.externalObject;
}
else {
if (iv) {
var e = new IgrDataSourceGroupDescription();
e._implementation = iv;
iv.externalObject = e;
ret = e;
}
}
return ret;
};
return IgrDataSourceGroupDescriptionCollection;
}());
export { IgrDataSourceGroupDescriptionCollection };