UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

282 lines (281 loc) 11.1 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { __extends } from "tslib"; import { DataAnnotationRangeLayer } from "./DataAnnotationRangeLayer"; import { DependencyProperty } from "igniteui-react-core"; import { enumGetBox, typeCast, markType, markDep } from "igniteui-react-core"; import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode"; import { IFastItemsSource_$type } from "igniteui-react-core"; import { PropertyMetadata } from "igniteui-react-core"; /** * @hidden */ var DataAnnotationPointLayer = /** @class */ /*@__PURE__*/ (function (_super) { __extends(DataAnnotationPointLayer, _super); function DataAnnotationPointLayer() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.ago = null; _this.agp = null; _this.agm = null; _this.agn = null; _this.agk = null; _this.agl = null; _this.agi = null; _this.agj = null; _this.agg = null; _this.agh = null; return _this; } Object.defineProperty(DataAnnotationPointLayer.prototype, "agy", { get: function () { return this.ago; }, set: function (a) { if (this.ago != a) { var b = this.ago; this.ago = a; this.raisePropertyChanged("StartValueXColumn", b, this.ago); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agz", { get: function () { return this.agp; }, set: function (a) { if (this.agp != a) { var b = this.agp; this.agp = a; this.raisePropertyChanged("StartValueYColumn", b, this.agp); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agw", { get: function () { return this.agm; }, set: function (a) { if (this.agm != a) { var b = this.agm; this.agm = a; this.raisePropertyChanged("StartLabelXColumn", b, this.agm); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agx", { get: function () { return this.agn; }, set: function (a) { if (this.agn != a) { var b = this.agn; this.agn = a; this.raisePropertyChanged("StartLabelYColumn", b, this.agn); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agu", { get: function () { return this.agk; }, set: function (a) { if (this.agk != a) { var b = this.agk; this.agk = a; this.raisePropertyChanged("EndValueXColumn", b, this.agk); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agv", { get: function () { return this.agl; }, set: function (a) { if (this.agl != a) { var b = this.agl; this.agl = a; this.raisePropertyChanged("EndValueYColumn", b, this.agl); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "ags", { get: function () { return this.agi; }, set: function (a) { if (this.agi != a) { var b = this.agi; this.agi = a; this.raisePropertyChanged("EndLabelXColumn", b, this.agi); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agt", { get: function () { return this.agj; }, set: function (a) { if (this.agj != a) { var b = this.agj; this.agj = a; this.raisePropertyChanged("EndLabelYColumn", b, this.agj); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agq", { get: function () { return this.agg; }, set: function (a) { if (this.agg != a) { var b = this.agg; this.agg = a; this.raisePropertyChanged("CenterLabelXColumn", b, this.agg); } }, enumerable: false, configurable: true }); Object.defineProperty(DataAnnotationPointLayer.prototype, "agr", { get: function () { return this.agh; }, set: function (a) { if (this.agh != a) { var b = this.agh; this.agh = a; this.raisePropertyChanged("CenterLabelYColumn", b, this.agh); } }, enumerable: false, configurable: true }); DataAnnotationPointLayer.prototype.rc = function (a, b, c, d) { _super.prototype.rc.call(this, a, b, c, d); switch (b) { case DataAnnotationPointLayer.$$p[14]: this.aed(this.agy); this.agy = this.dl(b); break; case DataAnnotationPointLayer.$$p[15]: this.aed(this.agz); this.agz = this.dl(b); break; case DataAnnotationPointLayer.$$p[11]: this.aed(this.agw); this.agw = this.dn(b); break; case DataAnnotationPointLayer.$$p[13]: this.aed(this.agx); this.agx = this.dn(b); break; case DataAnnotationPointLayer.$$p[8]: this.aed(this.agu); this.agu = this.dl(b); break; case DataAnnotationPointLayer.$$p[9]: this.aed(this.agv); this.agv = this.dl(b); break; case DataAnnotationPointLayer.$$p[5]: this.aed(this.ags); this.ags = this.dn(b); break; case DataAnnotationPointLayer.$$p[7]: this.aed(this.agt); this.agt = this.dn(b); break; case DataAnnotationPointLayer.$$p[1]: this.aed(this.agq); this.agq = this.dn(b); break; case DataAnnotationPointLayer.$$p[3]: this.aed(this.agr); this.agr = this.dn(b); break; case "StartValueXColumn": case "StartValueYColumn": case "EndValueXColumn": case "EndValueYColumn": this.abe(); break; case "CenterLabelXColumn": case "CenterLabelYColumn": case "StartLabelXColumn": case "StartLabelYColumn": case "EndLabelXColumn": case "EndLabelYColumn": this.abe(); break; case DataAnnotationPointLayer.$$p[0]: case DataAnnotationPointLayer.$$p[2]: case DataAnnotationPointLayer.$$p[10]: case DataAnnotationPointLayer.$$p[12]: case DataAnnotationPointLayer.$$p[4]: case DataAnnotationPointLayer.$$p[6]: this.abe(); break; } }; DataAnnotationPointLayer.prototype.aeh = function (a, b) { _super.prototype.aeh.call(this, a, b); if (typeCast(IFastItemsSource_$type, a) != null) { a.deregisterColumn(this.agy); a.deregisterColumn(this.agz); a.deregisterColumn(this.agu); a.deregisterColumn(this.agv); a.deregisterColumn(this.agw); a.deregisterColumn(this.agx); a.deregisterColumn(this.ags); a.deregisterColumn(this.agt); a.deregisterColumn(this.agq); a.deregisterColumn(this.agr); this.agy = null; this.agz = null; this.agu = null; this.agv = null; this.agw = null; this.agx = null; this.ags = null; this.agt = null; this.agq = null; this.agr = null; } if (typeCast(IFastItemsSource_$type, b) != null) { this.agy = this.dl(this.ahv); this.agz = this.dl(this.ahy); this.agu = this.dl(this.ahh); this.agv = this.dl(this.ahk); this.agw = this.dn(this.aho); this.agx = this.dn(this.ahs); this.ags = this.dn(this.aha); this.agt = this.dn(this.ahe); this.agq = this.dn(this.ag2); this.agr = this.dn(this.ag6); } }; DataAnnotationPointLayer.$t = markType(DataAnnotationPointLayer, 'DataAnnotationPointLayer', DataAnnotationRangeLayer.$); DataAnnotationPointLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationPointLayer, 'raisePropertyChanged', ['CenterLabelXDisplayMode:aga:ah0', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'CenterLabelXMemberPath:ag2:ah1', [2, null], 'CenterLabelYDisplayMode:agb:ah2', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'CenterLabelYMemberPath:ag6:ah3', [2, null], 'EndLabelXDisplayMode:agc:ah4', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'EndLabelXMemberPath:aha:ah5', [2, null], 'EndLabelYDisplayMode:agd:ah6', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'EndLabelYMemberPath:ahe:ah7', [2, null], 'EndValueXMemberPath:ahh:ah8', [2, null], 'EndValueYMemberPath:ahk:ah9', [2, null], 'StartLabelXDisplayMode:age:aia', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'StartLabelXMemberPath:aho:aib', [2, null], 'StartLabelYDisplayMode:agf:aic', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'StartLabelYMemberPath:ahs:aid', [2, null], 'StartValueXMemberPath:ahv:aie', [2, null], 'StartValueYMemberPath:ahy:aif', [2, null]]); return DataAnnotationPointLayer; }(DataAnnotationRangeLayer)); export { DataAnnotationPointLayer };