igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
176 lines (175 loc) • 5.58 kB
JavaScript
import { TreemapNodePointerEventArgs as TreemapNodePointerEventArgs_internal } from "./TreemapNodePointerEventArgs";
import { fromPoint, toPoint, ensureBool } from "igniteui-react-core";
var IgrTreemapNodePointerEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrTreemapNodePointerEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrTreemapNodePointerEventArgs.prototype.createImplementation = function () {
return new TreemapNodePointerEventArgs_internal();
};
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrTreemapNodePointerEventArgs.prototype.onImplementationCreated = function () {
};
IgrTreemapNodePointerEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "value", {
get: function () {
return this.i.value;
},
set: function (v) {
this.i.value = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "sum", {
get: function () {
return this.i.sum;
},
set: function (v) {
this.i.sum = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "customValue", {
get: function () {
return this.i.customValue;
},
set: function (v) {
this.i.customValue = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "item", {
get: function () {
return this.i.item;
},
set: function (v) {
this.i.item = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "parentItem", {
get: function () {
return this.i.parentItem;
},
set: function (v) {
this.i.parentItem = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "position", {
get: function () {
return fromPoint(this.i.position);
},
set: function (v) {
this.i.position = toPoint(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "isRightButton", {
get: function () {
return this.i.isRightButton;
},
set: function (v) {
this.i.isRightButton = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "isHandled", {
get: function () {
return this.i.isHandled;
},
set: function (v) {
this.i.isHandled = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "isOverHeader", {
get: function () {
return this.i.isOverHeader;
},
set: function (v) {
this.i.isOverHeader = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "label", {
get: function () {
return this.i.label;
},
set: function (v) {
this.i.label = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "parentValue", {
get: function () {
return this.i.parentValue;
},
set: function (v) {
this.i.parentValue = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "parentLabel", {
get: function () {
return this.i.parentLabel;
},
set: function (v) {
this.i.parentLabel = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTreemapNodePointerEventArgs.prototype, "parentSum", {
get: function () {
return this.i.parentSum;
},
set: function (v) {
this.i.parentSum = +v;
},
enumerable: false,
configurable: true
});
return IgrTreemapNodePointerEventArgs;
}());
export { IgrTreemapNodePointerEventArgs };