igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
240 lines (239 loc) • 9.86 kB
JavaScript
/*
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 { 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
*/
export let DataAnnotationPointLayer = /*@__PURE__*/ (() => {
class DataAnnotationPointLayer extends DataAnnotationRangeLayer {
constructor() {
super(...arguments);
this.agu = null;
this.agv = null;
this.ags = null;
this.agt = null;
this.agq = null;
this.agr = null;
this.ago = null;
this.agp = null;
this.agm = null;
this.agn = null;
}
get ag4() {
return this.agu;
}
set ag4(a) {
if (this.agu != a) {
let b = this.agu;
this.agu = a;
this.raisePropertyChanged("StartValueXColumn", b, this.agu);
}
}
get ag5() {
return this.agv;
}
set ag5(a) {
if (this.agv != a) {
let b = this.agv;
this.agv = a;
this.raisePropertyChanged("StartValueYColumn", b, this.agv);
}
}
get ag2() {
return this.ags;
}
set ag2(a) {
if (this.ags != a) {
let b = this.ags;
this.ags = a;
this.raisePropertyChanged("StartLabelXColumn", b, this.ags);
}
}
get ag3() {
return this.agt;
}
set ag3(a) {
if (this.agt != a) {
let b = this.agt;
this.agt = a;
this.raisePropertyChanged("StartLabelYColumn", b, this.agt);
}
}
get ag0() {
return this.agq;
}
set ag0(a) {
if (this.agq != a) {
let b = this.agq;
this.agq = a;
this.raisePropertyChanged("EndValueXColumn", b, this.agq);
}
}
get ag1() {
return this.agr;
}
set ag1(a) {
if (this.agr != a) {
let b = this.agr;
this.agr = a;
this.raisePropertyChanged("EndValueYColumn", b, this.agr);
}
}
get agy() {
return this.ago;
}
set agy(a) {
if (this.ago != a) {
let b = this.ago;
this.ago = a;
this.raisePropertyChanged("EndLabelXColumn", b, this.ago);
}
}
get agz() {
return this.agp;
}
set agz(a) {
if (this.agp != a) {
let b = this.agp;
this.agp = a;
this.raisePropertyChanged("EndLabelYColumn", b, this.agp);
}
}
get agw() {
return this.agm;
}
set agw(a) {
if (this.agm != a) {
let b = this.agm;
this.agm = a;
this.raisePropertyChanged("CenterLabelXColumn", b, this.agm);
}
}
get agx() {
return this.agn;
}
set agx(a) {
if (this.agn != a) {
let b = this.agn;
this.agn = a;
this.raisePropertyChanged("CenterLabelYColumn", b, this.agn);
}
}
rh(a, b, c, d) {
super.rh(a, b, c, d);
switch (b) {
case DataAnnotationPointLayer.$$p[14]:
this.aej(this.ag4);
this.ag4 = this.dl(b);
break;
case DataAnnotationPointLayer.$$p[15]:
this.aej(this.ag5);
this.ag5 = this.dl(b);
break;
case DataAnnotationPointLayer.$$p[11]:
this.aej(this.ag2);
this.ag2 = this.dn(b);
break;
case DataAnnotationPointLayer.$$p[13]:
this.aej(this.ag3);
this.ag3 = this.dn(b);
break;
case DataAnnotationPointLayer.$$p[8]:
this.aej(this.ag0);
this.ag0 = this.dl(b);
break;
case DataAnnotationPointLayer.$$p[9]:
this.aej(this.ag1);
this.ag1 = this.dl(b);
break;
case DataAnnotationPointLayer.$$p[5]:
this.aej(this.agy);
this.agy = this.dn(b);
break;
case DataAnnotationPointLayer.$$p[7]:
this.aej(this.agz);
this.agz = this.dn(b);
break;
case DataAnnotationPointLayer.$$p[1]:
this.aej(this.agw);
this.agw = this.dn(b);
break;
case DataAnnotationPointLayer.$$p[3]:
this.aej(this.agx);
this.agx = this.dn(b);
break;
case "StartValueXColumn":
case "StartValueYColumn":
case "EndValueXColumn":
case "EndValueYColumn":
this.abk();
break;
case "CenterLabelXColumn":
case "CenterLabelYColumn":
case "StartLabelXColumn":
case "StartLabelYColumn":
case "EndLabelXColumn":
case "EndLabelYColumn":
this.abk();
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.abk();
break;
}
}
aen(a, b) {
super.aen(a, b);
if (typeCast(IFastItemsSource_$type, a) != null) {
a.deregisterColumn(this.ag4);
a.deregisterColumn(this.ag5);
a.deregisterColumn(this.ag0);
a.deregisterColumn(this.ag1);
a.deregisterColumn(this.ag2);
a.deregisterColumn(this.ag3);
a.deregisterColumn(this.agy);
a.deregisterColumn(this.agz);
a.deregisterColumn(this.agw);
a.deregisterColumn(this.agx);
this.ag4 = null;
this.ag5 = null;
this.ag0 = null;
this.ag1 = null;
this.ag2 = null;
this.ag3 = null;
this.agy = null;
this.agz = null;
this.agw = null;
this.agx = null;
}
if (typeCast(IFastItemsSource_$type, b) != null) {
this.ag4 = this.dl(this.ah1);
this.ag5 = this.dl(this.ah4);
this.ag0 = this.dl(this.ahn);
this.ag1 = this.dl(this.ahq);
this.ag2 = this.dn(this.ahu);
this.ag3 = this.dn(this.ahy);
this.agy = this.dn(this.ahg);
this.agz = this.dn(this.ahk);
this.agw = this.dn(this.ag8);
this.agx = this.dn(this.ahc);
}
}
}
DataAnnotationPointLayer.$t = /*@__PURE__*/ markType(DataAnnotationPointLayer, 'DataAnnotationPointLayer', DataAnnotationRangeLayer.$);
DataAnnotationPointLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationPointLayer, 'raisePropertyChanged', ['CenterLabelXDisplayMode:agg:ah6', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'CenterLabelXMemberPath:ag8:ah7', [2, null], 'CenterLabelYDisplayMode:agh:ah8', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'CenterLabelYMemberPath:ahc:ah9', [2, null], 'EndLabelXDisplayMode:agi:aia', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'EndLabelXMemberPath:ahg:aib', [2, null], 'EndLabelYDisplayMode:agj:aic', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'EndLabelYMemberPath:ahk:aid', [2, null], 'EndValueXMemberPath:ahn:aie', [2, null], 'EndValueYMemberPath:ahq:aif', [2, null], 'StartLabelXDisplayMode:agk:aig', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'StartLabelXMemberPath:ahu:aih', [2, null], 'StartLabelYDisplayMode:agl:aii', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'StartLabelYMemberPath:ahy:aij', [2, null], 'StartValueXMemberPath:ah1:aik', [2, null], 'StartValueYMemberPath:ah4:ail', [2, null]]);
return DataAnnotationPointLayer;
})();