UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

72 lines (71 loc) 2.49 kB
import { IgrPivotDimensionDetail } from "./igr-pivot-dimension-detail"; import { PivotDimensionEventArgs as PivotDimensionEventArgs_internal } from "./PivotDimensionEventArgs"; var IgrPivotDimensionEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrPivotDimensionEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrPivotDimensionEventArgs.prototype.createImplementation = function () { return new PivotDimensionEventArgs_internal(); }; Object.defineProperty(IgrPivotDimensionEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrPivotDimensionEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrPivotDimensionEventArgs.prototype.onImplementationCreated = function () { }; IgrPivotDimensionEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrPivotDimensionEventArgs.prototype, "detail", { get: function () { var r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { var e = new IgrPivotDimensionDetail(); 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.a = null : this.i.a = v.i; }, enumerable: false, configurable: true }); return IgrPivotDimensionEventArgs; }()); export { IgrPivotDimensionEventArgs };