UNPKG

igniteui-react-core

Version:
58 lines (57 loc) 2.35 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 { __extends } from "tslib"; import { Base, markType } from "./type"; /** * @hidden */ var ComponentSizeHelpers = /** @class */ /*@__PURE__*/ (function (_super) { __extends(ComponentSizeHelpers, _super); function ComponentSizeHelpers() { return _super !== null && _super.apply(this, arguments) || this; } ComponentSizeHelpers.f = function (a) { ComponentSizeHelpers.a = a; }; ComponentSizeHelpers.e = function (a) { return ComponentSizeHelpers.a * a; }; ComponentSizeHelpers.d = function (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); }; ComponentSizeHelpers.b = function (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); }; ComponentSizeHelpers.c = function (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 = markType(ComponentSizeHelpers, 'ComponentSizeHelpers'); ComponentSizeHelpers.a = 16; return ComponentSizeHelpers; }(Base)); export { ComponentSizeHelpers };