igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
423 lines (422 loc) • 17 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-angular-core";
import { enumGetBox, typeCast, markType, markDep } from "igniteui-angular-core";
import { DataAnnotationDisplayMode_$type } from "./DataAnnotationDisplayMode";
import { IFastItemsSource_$type } from "igniteui-angular-core";
import { PropertyMetadata } from "igniteui-angular-core";
/**
* @hidden
*/
export let DataAnnotationPointLayer = /*@__PURE__*/ (() => {
class DataAnnotationPointLayer extends DataAnnotationRangeLayer {
constructor() {
super(...arguments);
this.ah9 = null;
this.aia = null;
this.ah7 = null;
this.ah8 = null;
this.ah5 = null;
this.ah6 = null;
this.ah3 = null;
this.ah4 = null;
this.ah1 = null;
this.ah2 = null;
this.ahv = null;
this.ahw = null;
this.aht = null;
this.ahu = null;
this.ahz = null;
this.ah0 = null;
this.ahx = null;
this.ahy = null;
}
get air() {
return this.ah9;
}
set air(a) {
if (this.ah9 != a) {
let b = this.ah9;
this.ah9 = a;
this.raisePropertyChanged("StartValueXColumn", b, this.ah9);
}
}
get ais() {
return this.aia;
}
set ais(a) {
if (this.aia != a) {
let b = this.aia;
this.aia = a;
this.raisePropertyChanged("StartValueYColumn", b, this.aia);
}
}
get aip() {
return this.ah7;
}
set aip(a) {
if (this.ah7 != a) {
let b = this.ah7;
this.ah7 = a;
this.raisePropertyChanged("StartLabelXColumn", b, this.ah7);
}
}
get aiq() {
return this.ah8;
}
set aiq(a) {
if (this.ah8 != a) {
let b = this.ah8;
this.ah8 = a;
this.raisePropertyChanged("StartLabelYColumn", b, this.ah8);
}
}
get ain() {
return this.ah5;
}
set ain(a) {
if (this.ah5 != a) {
let b = this.ah5;
this.ah5 = a;
this.raisePropertyChanged("EndValueXColumn", b, this.ah5);
}
}
get aio() {
return this.ah6;
}
set aio(a) {
if (this.ah6 != a) {
let b = this.ah6;
this.ah6 = a;
this.raisePropertyChanged("EndValueYColumn", b, this.ah6);
}
}
get ail() {
return this.ah3;
}
set ail(a) {
if (this.ah3 != a) {
let b = this.ah3;
this.ah3 = a;
this.raisePropertyChanged("EndLabelXColumn", b, this.ah3);
}
}
get aim() {
return this.ah4;
}
set aim(a) {
if (this.ah4 != a) {
let b = this.ah4;
this.ah4 = a;
this.raisePropertyChanged("EndLabelYColumn", b, this.ah4);
}
}
get aij() {
return this.ah1;
}
set aij(a) {
if (this.ah1 != a) {
let b = this.ah1;
this.ah1 = a;
this.raisePropertyChanged("CenterLabelXColumn", b, this.ah1);
}
}
get aik() {
return this.ah2;
}
set aik(a) {
if (this.ah2 != a) {
let b = this.ah2;
this.ah2 = a;
this.raisePropertyChanged("CenterLabelYColumn", b, this.ah2);
}
}
get aid() {
return this.ahv;
}
set aid(a) {
if (this.ahv != a) {
let b = this.ahv;
this.ahv = a;
this.raisePropertyChanged("AnnotationBadgeEnabledXColumn", b, this.ahv);
}
}
get aie() {
return this.ahw;
}
set aie(a) {
if (this.ahw != a) {
let b = this.ahw;
this.ahw = a;
this.raisePropertyChanged("AnnotationBadgeEnabledYColumn", b, this.ahw);
}
}
get aib() {
return this.aht;
}
set aib(a) {
if (this.aht != a) {
let b = this.aht;
this.aht = a;
this.raisePropertyChanged("AnnotationBadgeBackgroundXColumn", b, this.aht);
}
}
get aic() {
return this.ahu;
}
set aic(a) {
if (this.ahu != a) {
let b = this.ahu;
this.ahu = a;
this.raisePropertyChanged("AnnotationBadgeBackgroundYColumn", b, this.ahu);
}
}
get aih() {
return this.ahz;
}
set aih(a) {
if (this.ahz != a) {
let b = this.ahz;
this.ahz = a;
this.raisePropertyChanged("AnnotationBadgeOutlineXColumn", b, this.ahz);
}
}
get aii() {
return this.ah0;
}
set aii(a) {
if (this.ah0 != a) {
let b = this.ah0;
this.ah0 = a;
this.raisePropertyChanged("AnnotationBadgeOutlineYColumn", b, this.ah0);
}
}
get aif() {
return this.ahx;
}
set aif(a) {
if (this.ahx != a) {
let b = this.ahx;
this.ahx = a;
this.raisePropertyChanged("AnnotationBadgeImageXColumn", b, this.ahx);
}
}
get aig() {
return this.ahy;
}
set aig(a) {
if (this.ahy != a) {
let b = this.ahy;
this.ahy = a;
this.raisePropertyChanged("AnnotationBadgeImageYColumn", b, this.ahy);
}
}
rp(a, b, c, d) {
super.rp(a, b, c, d);
switch (b) {
case DataAnnotationPointLayer.$$p[22]:
this.afn(this.air);
this.air = this.dl(this.akc);
break;
case DataAnnotationPointLayer.$$p[23]:
this.afn(this.ais);
this.ais = this.dl(this.akf);
break;
case DataAnnotationPointLayer.$$p[19]:
this.afn(this.aip);
this.aip = this.dn(this.aj5);
break;
case DataAnnotationPointLayer.$$p[21]:
this.afn(this.aiq);
this.aiq = this.dn(this.aj9);
break;
case DataAnnotationPointLayer.$$p[16]:
this.afn(this.ain);
this.ain = this.dl(this.ajy);
break;
case DataAnnotationPointLayer.$$p[17]:
this.afn(this.aio);
this.aio = this.dl(this.aj1);
break;
case DataAnnotationPointLayer.$$p[13]:
this.afn(this.ail);
this.ail = this.dn(this.ajr);
break;
case DataAnnotationPointLayer.$$p[15]:
this.afn(this.aim);
this.aim = this.dn(this.ajv);
break;
case DataAnnotationPointLayer.$$p[9]:
this.afn(this.aij);
this.aij = this.dn(this.ajj);
break;
case DataAnnotationPointLayer.$$p[11]:
this.afn(this.aik);
this.aik = this.dn(this.ajn);
break;
case DataAnnotationPointLayer.$$p[0]:
this.afn(this.aib);
this.aib = this.dn(this.aiu);
break;
case DataAnnotationPointLayer.$$p[1]:
this.afn(this.aic);
this.aic = this.dn(this.aix);
break;
case DataAnnotationPointLayer.$$p[6]:
this.afn(this.aih);
this.aih = this.dn(this.ajc);
break;
case DataAnnotationPointLayer.$$p[7]:
this.afn(this.aii);
this.aii = this.dn(this.ajf);
break;
case DataAnnotationPointLayer.$$p[2]:
this.afn(this.aid);
this.aid = this.dn(this.ai0);
break;
case DataAnnotationPointLayer.$$p[3]:
this.afn(this.aie);
this.aie = this.dn(this.ai3);
break;
case DataAnnotationPointLayer.$$p[4]:
this.afn(this.aif);
this.aif = this.dn(this.ai6);
break;
case DataAnnotationPointLayer.$$p[5]:
this.afn(this.aig);
this.aig = this.dn(this.ai9);
break;
case "StartValueXColumn":
case "StartValueYColumn":
case "EndValueXColumn":
case "EndValueYColumn":
this.aca();
break;
case "CenterLabelXColumn":
case "CenterLabelYColumn":
case "StartLabelXColumn":
case "StartLabelYColumn":
case "EndLabelXColumn":
case "EndLabelYColumn":
this.aca();
break;
case DataAnnotationPointLayer.$$p[8]:
case DataAnnotationPointLayer.$$p[10]:
case DataAnnotationPointLayer.$$p[18]:
case DataAnnotationPointLayer.$$p[20]:
case DataAnnotationPointLayer.$$p[12]:
case DataAnnotationPointLayer.$$p[14]:
this.aca();
break;
case "AnnotationBadgeBackgroundXColumn":
case "AnnotationBadgeBackgroundYColumn":
case "AnnotationBadgeOutlineXColumn":
case "AnnotationBadgeOutlineYColumn":
case "AnnotationBadgeEnabledXColumn":
case "AnnotationBadgeEnabledYColumn":
case "AnnotationBadgeImageXColumn":
case "AnnotationBadgeImageYColumn":
this.aca();
break;
}
}
afr(a, b) {
super.afr(a, b);
if (typeCast(IFastItemsSource_$type, a) != null) {
a.deregisterColumn(this.air);
a.deregisterColumn(this.ais);
a.deregisterColumn(this.ain);
a.deregisterColumn(this.aio);
a.deregisterColumn(this.aip);
a.deregisterColumn(this.aiq);
a.deregisterColumn(this.ail);
a.deregisterColumn(this.aim);
a.deregisterColumn(this.aij);
a.deregisterColumn(this.aik);
a.deregisterColumn(this.aib);
a.deregisterColumn(this.aic);
a.deregisterColumn(this.aih);
a.deregisterColumn(this.aii);
a.deregisterColumn(this.aid);
a.deregisterColumn(this.aie);
a.deregisterColumn(this.aif);
a.deregisterColumn(this.aig);
this.air = null;
this.ais = null;
this.ain = null;
this.aio = null;
this.aip = null;
this.aiq = null;
this.ail = null;
this.aim = null;
this.aij = null;
this.aik = null;
this.aib = null;
this.aic = null;
this.aih = null;
this.aii = null;
this.aid = null;
this.aie = null;
this.aif = null;
this.aig = null;
}
if (typeCast(IFastItemsSource_$type, b) != null) {
this.air = this.dl(this.akc);
this.ais = this.dl(this.akf);
this.ain = this.dl(this.ajy);
this.aio = this.dl(this.aj1);
this.aip = this.dn(this.aj5);
this.aiq = this.dn(this.aj9);
this.ail = this.dn(this.ajr);
this.aim = this.dn(this.ajv);
this.aij = this.dn(this.ajj);
this.aik = this.dn(this.ajn);
this.aib = this.dn(this.aiu);
this.aic = this.dn(this.aix);
this.aih = this.dn(this.ajc);
this.aii = this.dn(this.ajf);
this.aid = this.dn(this.ai0);
this.aie = this.dn(this.ai3);
this.aif = this.dn(this.ai6);
this.aig = this.dn(this.ai9);
}
}
agl(a, b, c, d) {
if (b) {
let e = c ? this.agm(a, this.aii) : this.agm(a, this.aih);
if (e == null) {
e = this.agn(this.ac6, d);
}
return e;
}
else {
let f = c ? this.agm(a, this.aic) : this.agm(a, this.aib);
if (f == null) {
f = this.agn(this.ac5, d);
}
return f;
}
}
adt(a, b) {
let c = b ? this.aie : this.aid;
if (c == null || c.count <= a) {
return this.aa0;
}
let d = c.item(a);
return d != null ? d : this.aa0;
}
aes(a, b) {
let c = b ? this.aig : this.aif;
let d = this.aet(a, c);
return d != null ? d : this.abn;
}
}
DataAnnotationPointLayer.$t = markType(DataAnnotationPointLayer, 'DataAnnotationPointLayer', DataAnnotationRangeLayer.$);
DataAnnotationPointLayer.$$p = markDep(DependencyProperty, PropertyMetadata, DataAnnotationPointLayer, 'raisePropertyChanged', ['AnnotationBadgeBackgroundXMemberPath:aiu:akh', [2, null], 'AnnotationBadgeBackgroundYMemberPath:aix:aki', [2, null], 'AnnotationBadgeEnabledXMemberPath:ai0:akj', [2, null], 'AnnotationBadgeEnabledYMemberPath:ai3:akk', [2, null], 'AnnotationBadgeImageXMemberPath:ai6:akl', [2, null], 'AnnotationBadgeImageYMemberPath:ai9:akm', [2, null], 'AnnotationBadgeOutlineXMemberPath:ajc:akn', [2, null], 'AnnotationBadgeOutlineYMemberPath:ajf:ako', [2, null], 'CenterLabelXDisplayMode:ahn:akp', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 2)], 'CenterLabelXMemberPath:ajj:akq', [2, null], 'CenterLabelYDisplayMode:aho:akr', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 2)], 'CenterLabelYMemberPath:ajn:aks', [2, null], 'EndLabelXDisplayMode:ahp:akt', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'EndLabelXMemberPath:ajr:aku', [2, null], 'EndLabelYDisplayMode:ahq:akv', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'EndLabelYMemberPath:ajv:akw', [2, null], 'EndValueXMemberPath:ajy:akx', [2, null], 'EndValueYMemberPath:aj1:aky', [2, null], 'StartLabelXDisplayMode:ahr:akz', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'StartLabelXMemberPath:aj5:ak0', [2, null], 'StartLabelYDisplayMode:ahs:ak1', [DataAnnotationDisplayMode_$type, enumGetBox(DataAnnotationDisplayMode_$type, 0)], 'StartLabelYMemberPath:aj9:ak2', [2, null], 'StartValueXMemberPath:akc:ak3', [2, null], 'StartValueYMemberPath:akf:ak4', [2, null]]);
return DataAnnotationPointLayer;
})();