UNPKG

igniteui-react-core

Version:
54 lines (53 loc) 2.17 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, markType } from "./type"; /** * @hidden */ export let ComponentSizeHelpers = /*@__PURE__*/ (() => { class ComponentSizeHelpers extends Base { static f(a) { ComponentSizeHelpers.a = a; } static e(a) { return ComponentSizeHelpers.a * a; } static d(a, b) { switch (a) { case 0: case 1: return ComponentSizeHelpers.e(2); case 2: return ComponentSizeHelpers.e(1.168421); case 3: return ComponentSizeHelpers.e(1.45455); case 4: return ComponentSizeHelpers.e(1.38844); } return ComponentSizeHelpers.e(2); } static b(a, b) { switch (a) { case 0: case 1: return ComponentSizeHelpers.e(1); case 2: return ComponentSizeHelpers.e(1); case 3: return ComponentSizeHelpers.e(0.95455); case 4: return ComponentSizeHelpers.e(0.91116); } return ComponentSizeHelpers.e(2); } static c(a, b) { switch (a) { case 0: case 1: return ComponentSizeHelpers.e(1.125); case 2: return ComponentSizeHelpers.e(0.94737); case 3: return ComponentSizeHelpers.e(0.81818); case 4: return ComponentSizeHelpers.e(0.68899); } return ComponentSizeHelpers.e(1.125); } } ComponentSizeHelpers.$t = /*@__PURE__*/ markType(ComponentSizeHelpers, 'ComponentSizeHelpers'); ComponentSizeHelpers.a = 16; return ComponentSizeHelpers; })();