UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

190 lines (189 loc) 4.47 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 { Base, typeGetValue, typeCast, EnumUtil, markType } from "igniteui-angular-core"; import { CornerRadius } from "igniteui-angular-core"; import { Thickness } from "igniteui-angular-core"; import { ElevationMode_$type } from "igniteui-angular-core"; import { Theme } from "./Theme"; /** * @hidden */ export class ThemeResolver extends Base { static { this.$t = markType(ThemeResolver, 'ThemeResolver'); } static aj(a, b, c) { if (a == 1) { return c; } return b; } static r(a, b, c) { if (a == 1) { return c; } return b; } static m(a, b, c) { if (a == 1) { return c; } return b; } static ae(a, b, c) { if (a == 1) { return c; } return b; } static ao(a, b, c) { if (a == 1) { return c; } return b; } static g(a, b, c) { if (a == 1) { return c; } return b; } static a(a) { return new Theme(0, a); } static ai(a, b, c) { return b.ag(a, c); } static ah(a, b, c, d) { return b.af(a, c, d); } static q(a, b, c) { return b.o(a, c); } static p(a, b, c, d) { return b.n(a, c, d); } static l(a, b, c) { return b.j(a, c); } static k(a, b, c, d) { return b.i(a, c, d); } static x(a, b, c) { return b.v(a, c); } static w(a, b, c, d) { return b.u(a, c, d); } static f(a, b, c) { return b.d(a, c); } static e(a, b, c, d) { return b.c(a, c, d); } static ac(a, b, c) { return b.aa(a, c); } static ab(a, b, c, d) { return b.z(a, c, d); } static ad(a, b, c, d, e) { return c.y(a, b, d, e); } static an(a, b, c) { return b.al(a, c); } static am(a, b, c, d) { return b.ak(a, c, d); } constructor(a, ..._rest) { super(); this.b = 0; this.h = null; a = (a == void 0) ? 0 : a; switch (a) { case 0: break; case 1: { let c = _rest[0]; let d = _rest[1]; this.h = c; this.b = d; } break; } } t(a, b) { if (this.h.containsKey(a)) { return this.h.item(a).item(b); } else { return this.h.item(this.b).item(b); } } s(a, b, c) { if (this.h.containsKey(a)) { let d = this.h.item(a).c; return d.item(b).item(c); } else { let e = this.h.item(this.b).c; return e.item(b).item(c); } } ag(a, b) { return this.t(a, b); } af(a, b, c) { return this.s(a, b, c); } o(a, b) { return typeGetValue(this.t(a, b)); } n(a, b, c) { return typeGetValue(this.s(a, b, c)); } j(a, b) { return this.t(a, b); } i(a, b, c) { let d = this.s(a, b, c); if (typeCast(CornerRadius.$, d) !== null) { return d.d; } if (typeCast(Thickness.$, d) !== null) { return d.left; } return this.s(a, b, c); } v(a, b) { return this.t(a, b); } u(a, b, c) { return this.s(a, b, c); } d(a, b) { return EnumUtil.getEnumValue(ElevationMode_$type, this.t(a, b)); } c(a, b, c) { return EnumUtil.getEnumValue(ElevationMode_$type, this.s(a, b, c)); } aa(a, b) { return this.t(a, b); } z(a, b, c) { return this.s(a, b, c); } y(a, b, c, d) { let e = this.s(a, c, d); return e.item(b); } al(a, b) { return this.t(a, b); } ak(a, b, c) { return this.s(a, b, c); } }