igniteui-react-grids
Version:
Ignite UI React grid components.
82 lines (81 loc) • 2.82 kB
JavaScript
import { HeadSelectorTemplateDetails as HeadSelectorTemplateDetails_internal } from "./HeadSelectorTemplateDetails";
var IgrHeadSelectorTemplateDetails = /** @class */ /*@__PURE__*/ (function () {
function IgrHeadSelectorTemplateDetails() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrHeadSelectorTemplateDetails.prototype.createImplementation = function () {
return new HeadSelectorTemplateDetails_internal();
};
Object.defineProperty(IgrHeadSelectorTemplateDetails.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrHeadSelectorTemplateDetails.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrHeadSelectorTemplateDetails.prototype.onImplementationCreated = function () {
};
IgrHeadSelectorTemplateDetails.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrHeadSelectorTemplateDetails.prototype, "selectedCount", {
get: function () {
return this.i.c;
},
set: function (v) {
this.i.c = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrHeadSelectorTemplateDetails.prototype, "totalCount", {
get: function () {
return this.i.d;
},
set: function (v) {
this.i.d = +v;
},
enumerable: false,
configurable: true
});
IgrHeadSelectorTemplateDetails.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
IgrHeadSelectorTemplateDetails.prototype.setNativeElement = function (element) {
this.i.setNativeElement(element);
};
IgrHeadSelectorTemplateDetails.prototype.selectAll = function () {
this.i.h();
};
IgrHeadSelectorTemplateDetails.prototype.deselectAll = function () {
this.i.g();
};
return IgrHeadSelectorTemplateDetails;
}());
export { IgrHeadSelectorTemplateDetails };