UNPKG

igniteui-angular-inputs

Version:

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

75 lines (74 loc) 2.33 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 { XButtonBridge } from "./XButtonBridge"; import { enumGetBox, EnumUtil, markType } from "igniteui-angular-core"; import { XIconBridge } from "./XIconBridge"; import { BaseControlTheme_$type } from "igniteui-angular-core"; /** * @hidden */ export class XIconButtonBridge extends XButtonBridge { static { this.$t = markType(XIconButtonBridge, 'XIconButtonBridge', XButtonBridge.$); } constructor(a, b) { super(a); this.al = null; this.al = new XIconBridge(b); } getTargetForBuildInProperty(a, b) { switch (b) { case 15: case 16: case 45: case 46: case 47: case 48: case 49: case 50: return this.al.t; } return super.getTargetForBuildInProperty(a, b); } getTargetForProperty(a, b) { switch (a) { case 16: case 15: case 17: return this.al.t.view.v; } return super.getTargetForProperty(a, b); } getValue(a, b) { switch (b) { case 16: case 15: case 45: case 46: case 47: case 48: case 49: case 50: return this.al.getValue(a, b); case 18: return enumGetBox(BaseControlTheme_$type, a.o); } return super.getValue(a, b); } setValue(a, b, c) { super.setValue(a, b, c); switch (b) { case 16: case 15: case 45: case 46: case 47: case 48: case 49: case 50: this.al.setValue(a, b, c); break; case 18: a.o = EnumUtil.getEnumValue(BaseControlTheme_$type, c); break; } } }