UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

77 lines (76 loc) 2.77 kB
import { IgrGridToolbarExportEventArgsDetail } from "./igr-grid-toolbar-export-event-args-detail"; import { GridToolbarExportEventArgs as GridToolbarExportEventArgs_internal } from "./GridToolbarExportEventArgs"; /** * Represents the arguments for the grid toolbar export event. * It provides information about the grid instance, exporter service, export options, * and allows the event to be canceled. */ var IgrGridToolbarExportEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrGridToolbarExportEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrGridToolbarExportEventArgs.prototype.createImplementation = function () { return new GridToolbarExportEventArgs_internal(); }; Object.defineProperty(IgrGridToolbarExportEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridToolbarExportEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrGridToolbarExportEventArgs.prototype.onImplementationCreated = function () { }; IgrGridToolbarExportEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrGridToolbarExportEventArgs.prototype, "detail", { get: function () { var r = this.i.b; if (r == null) { return null; } if (!r.externalObject) { var e = new IgrGridToolbarExportEventArgsDetail(); if (r.$type) { e._implementation = r; } else { if (e.i.setNativeElement) { e.i.setNativeElement(r); } } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.b = null : this.i.b = v.i; }, enumerable: false, configurable: true }); return IgrGridToolbarExportEventArgs; }()); export { IgrGridToolbarExportEventArgs };