igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
244 lines (243 loc) • 9.43 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 { Frame } from "./Frame";
import { List$1 } from "igniteui-angular-core";
import { Brush } from "igniteui-angular-core";
import { UserBaseAnnotation } from "./UserBaseAnnotation";
import { Axis } from "./Axis";
import { FrameExtended } from "./FrameExtended";
import { Number_$type, String_$type, Boolean_$type, markType } from "igniteui-angular-core";
/**
* @hidden
*/
export let AxisAnnotationFrame = /*@__PURE__*/ (() => {
class AxisAnnotationFrame extends Frame {
constructor() {
super();
this.z = null;
this.t = null;
this.k = null;
this.j = null;
this.y = null;
this.v = null;
this.x = null;
this.w = null;
this.u = null;
this.l = null;
this.q = null;
this.r = null;
this.m = null;
this.p = null;
this.s = null;
this.o = null;
this.n = null;
this.aa = null;
this.au = null;
this.ao = null;
this.af = null;
this.ae = null;
this.at = null;
this.aq = null;
this.as = null;
this.ar = null;
this.ap = null;
this.ag = null;
this.al = null;
this.am = null;
this.ah = null;
this.ak = null;
this.an = null;
this.aj = null;
this.ai = null;
this.av = null;
this.ac = null;
this.ax = null;
this.ab = null;
this.aw = null;
this.i = null;
this.ad = null;
this.z = new List$1(Brush.$, 0);
this.k = new List$1(Brush.$, 0);
this.j = new List$1(Number_$type, 0);
this.t = new List$1(Brush.$, 0);
this.v = new List$1(Number_$type, 0);
this.w = new List$1(Number_$type, 0);
this.x = new List$1(Number_$type, 0);
this.u = new List$1(Number_$type, 0);
this.y = new List$1(Number_$type, 0);
this.l = new List$1(Brush.$, 0);
this.q = new List$1(Brush.$, 0);
this.r = new List$1(Number_$type, 0);
this.m = new List$1(Number_$type, 0);
this.p = new List$1(Number_$type, 0);
this.s = new List$1(Number_$type, 0);
this.o = new List$1(String_$type, 0);
this.n = new List$1(Boolean_$type, 0);
this.aa = new List$1(UserBaseAnnotation.$, 0);
this.au = new List$1(Brush.$, 0);
this.af = new List$1(Brush.$, 0);
this.ae = new List$1(Number_$type, 0);
this.ao = new List$1(Brush.$, 0);
this.aq = new List$1(Number_$type, 0);
this.ar = new List$1(Number_$type, 0);
this.as = new List$1(Number_$type, 0);
this.ap = new List$1(Number_$type, 0);
this.at = new List$1(Number_$type, 0);
this.ag = new List$1(Brush.$, 0);
this.al = new List$1(Brush.$, 0);
this.am = new List$1(Number_$type, 0);
this.ah = new List$1(Number_$type, 0);
this.ak = new List$1(Number_$type, 0);
this.an = new List$1(Number_$type, 0);
this.aj = new List$1(String_$type, 0);
this.ai = new List$1(Boolean_$type, 0);
this.av = new List$1(UserBaseAnnotation.$, 0);
this.i = new List$1(Axis.$, 0);
this.ad = new List$1(Axis.$, 0);
this.ac = new List$1(Number_$type, 0);
this.ab = new List$1(Number_$type, 0);
this.ax = new List$1(Number_$type, 0);
this.aw = new List$1(Number_$type, 0);
}
static ay(a, b, c, d) {
let e = c.count;
let f = d.count;
let g = Math.max(e, f);
let h = 1 - b;
if (a.count < g) {
let i = new Array(g - a.count);
for (let j = 0; j < g - a.count; j++) {
i[j] = null;
}
a.s(a.count, i);
}
if (a.count > g) {
a.v(g, a.count - g);
}
for (let k = 0; k < Math.min(e, f); ++k) {
if (b == 0) {
a._inner[k] = c._inner[k];
}
else {
a._inner[k] = d._inner[k];
}
}
if (e < f) {
let l = e > 0 ? c._inner[e - 1] : null;
for (let m = e; m < f; ++m) {
if (b == 0) {
a._inner[m] = l;
}
else {
a._inner[m] = d._inner[m];
}
}
}
if (e > f) {
let n = f > 0 ? d._inner[f - 1] : null;
for (let o = f; o < e; ++o) {
if (b == 0) {
a._inner[o] = c._inner[o];
}
else {
a._inner[o] = n;
}
}
}
}
static az(a, b, c, d) {
let e = c.count;
let f = d.count;
let g = Math.max(e, f);
let h = 1 - b;
if (a.count < g) {
let i = new Array(g - a.count);
for (let j = 0; j < g - a.count; j++) {
i[j] = null;
}
a.s(a.count, i);
}
if (a.count > g) {
a.v(g, a.count - g);
}
for (let k = 0; k < Math.min(e, f); ++k) {
if (b == 0) {
a._inner[k] = c._inner[k];
}
else {
a._inner[k] = d._inner[k];
}
}
if (e < f) {
let l = e > 0 ? c._inner[e - 1] : null;
for (let m = e; m < f; ++m) {
if (b == 0) {
a._inner[m] = l;
}
else {
a._inner[m] = d._inner[m];
}
}
}
if (e > f) {
let n = f > 0 ? d._inner[f - 1] : null;
for (let o = f; o < e; ++o) {
if (b == 0) {
a._inner[o] = c._inner[o];
}
else {
a._inner[o] = n;
}
}
}
}
d(a, b, c) {
let d = b;
let e = c;
FrameExtended.a(this.z, a, d.z, e.z, 0);
FrameExtended.a(this.k, a, d.k, e.k, 0);
Frame.c(this.j, a, d.j, e.j);
FrameExtended.a(this.t, a, d.t, e.t, 0);
Frame.c(this.v, a, d.v, e.v);
Frame.c(this.w, a, d.w, e.w);
Frame.c(this.x, a, d.x, e.x);
Frame.c(this.u, a, d.u, e.u);
Frame.c(this.y, a, d.y, e.y);
FrameExtended.a(this.l, a, d.l, e.l, 0);
FrameExtended.a(this.q, a, d.q, e.q, 0);
Frame.c(this.r, a, d.r, e.r);
Frame.c(this.m, a, d.m, e.m);
Frame.c(this.p, a, d.p, e.p);
Frame.c(this.s, a, d.s, e.s);
Frame.f(this.o, a, d.o, e.o);
Frame.e(this.n, a, d.n, e.n);
FrameExtended.a(this.au, a, d.au, e.au, 0);
FrameExtended.a(this.af, a, d.af, e.af, 0);
Frame.c(this.ae, a, d.ae, e.ae);
FrameExtended.a(this.ao, a, d.ao, e.ao, 0);
Frame.c(this.aq, a, d.aq, e.aq);
Frame.c(this.ar, a, d.ar, e.ar);
Frame.c(this.as, a, d.as, e.as);
Frame.c(this.ap, a, d.ap, e.ap);
Frame.c(this.at, a, d.at, e.at);
FrameExtended.a(this.ag, a, d.ag, e.ag, 0);
FrameExtended.a(this.al, a, d.al, e.al, 0);
Frame.c(this.am, a, d.am, e.am);
Frame.c(this.ah, a, d.ah, e.ah);
Frame.c(this.ak, a, d.ak, e.ak);
Frame.c(this.an, a, d.an, e.an);
Frame.f(this.aj, a, d.aj, e.aj);
Frame.e(this.ai, a, d.ai, e.ai);
AxisAnnotationFrame.ay(this.i, a, d.i, e.i);
AxisAnnotationFrame.ay(this.ad, a, d.ad, e.ad);
AxisAnnotationFrame.az(this.aa, a, d.aa, e.aa);
AxisAnnotationFrame.az(this.av, a, d.av, e.av);
}
}
AxisAnnotationFrame.$t = markType(AxisAnnotationFrame, 'AxisAnnotationFrame', Frame.$);
return AxisAnnotationFrame;
})();