"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnumExtensions = exports.getCssFontSizeFromFontSizeEnum = exports.getNames = void 0;
const Enums_1 = require("../../AdaptableState/Common/Enums");
function getNames(e) {
    const vals = Object.keys(e).map((k) => e[k]);
    return vals.filter((v) => typeof v === 'string');
}
exports.getNames = getNames;
function getCssFontSizeFromFontSizeEnum(fontSize) {
    switch (fontSize) {
        case Enums_1.FontSize.XLarge:
            return 'x-large';
        case Enums_1.FontSize.Large:
            return 'large';
        case Enums_1.FontSize.Medium:
            return 'medium';
        case Enums_1.FontSize.Small:
            return 'small';
        case Enums_1.FontSize.XSmall:
            return 'x-small';
    }
}
exports.getCssFontSizeFromFontSizeEnum = getCssFontSizeFromFontSizeEnum;
exports.EnumExtensions = {
    getNames,
    getCssFontSizeFromFontSizeEnum,
};
exports.default = exports.EnumExtensions;
