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.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;
}
get agy() {
return this.ago;
}
set agy(a) {
if (this.ago != a) {
let b = this.ago;
this.ago = a;
this.raisePropertyChanged("StartValueXColumn", b, this.ago);
}
}
get agz() {
return this.agp;
}
set agz(a) {
if (this.agp != a) {
let b = this.agp;
this.agp = a;
this.raisePropertyChanged("StartValueYColumn", b, this.agp);
}
}
get agw() {
return this.agm;
}
set agw(a) {
if (this.agm != a) {
let b = this.agm;
this.agm = a;
this.raisePropertyChanged("StartLabelXColumn", b, this.agm);
}
}
get agx() {
return this.agn;
}
set agx(a) {
if (this.agn != a) {
let b = this.agn;
this.agn = a;
this.raisePropertyChanged("StartLabelYColumn", b, this.agn);
}
}
get agu() {
return this.agk;
}
set agu(a) {
if (this.agk != a) {
let b = this.agk;
this.agk = a;
this.raisePropertyChanged("EndValueXColumn", b, this.agk);
}
}
get agv() {
return this.agl;
}
set agv(a) {
if (this.agl != a) {
let b = this.agl;
this.agl = a;
this.raisePropertyChanged("EndValueYColumn", b, this.agl);
}
}
get ags() {
return this.agi;
}
set ags(a) {
if (this.agi != a) {
let b = this.agi;
this.agi = a;
this.raisePropertyChanged("EndLabelXColumn", b, this.agi);
}
}
get agt() {
return this.agj;
}
set agt(a) {
if (this.agj != a) {
let b = this.agj;
this.agj = a;
this.raisePropertyChanged("EndLabelYColumn", b, this.agj);
}
}
get agq() {
return this.agg;
}
set agq(a) {
if (this.agg != a) {
let b = this.agg;
this.agg = a;
this.raisePropertyChanged("CenterLabelXColumn", b, this.agg);
}
}
get agr() {
return this.agh;
}
set agr(a) {
if (this.agh != a) {
let b = this.agh;
this.agh = a;
this.raisePropertyChanged("CenterLabelYColumn", b, this.agh);
}
}
rc(a, b, c, d) {
super.rc(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;
}
}
aeh(a, b) {
super.aeh(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 = /*@__PURE__*/ markType(DataAnnotationPointLayer, 'DataAnnotationPointLayer', DataAnnotationRangeLayer.$);
DataAnnotationPointLayer.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, DataAnnotationPointLayer, 'raisePropertyChanged', ['CenterLabelXDisplayMode:aga:ah0', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'CenterLabelXMemberPath:ag2:ah1', [2, null], 'CenterLabelYDisplayMode:agb:ah2', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'CenterLabelYMemberPath:ag6:ah3', [2, null], 'EndLabelXDisplayMode:agc:ah4', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'EndLabelXMemberPath:aha:ah5', [2, null], 'EndLabelYDisplayMode:agd:ah6', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'EndLabelYMemberPath:ahe:ah7', [2, null], 'EndValueXMemberPath:ahh:ah8', [2, null], 'EndValueYMemberPath:ahk:ah9', [2, null], 'StartLabelXDisplayMode:age:aia', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'StartLabelXMemberPath:aho:aib', [2, null], 'StartLabelYDisplayMode:agf:aic', [DataAnnotationDisplayMode_$type, /*@__PURE__*/ enumGetBox(DataAnnotationDisplayMode_$type, 6)], 'StartLabelYMemberPath:ahs:aid', [2, null], 'StartValueXMemberPath:ahv:aie', [2, null], 'StartValueYMemberPath:ahy:aif', [2, null]]);
return DataAnnotationPointLayer;
})();