"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EnumExtensions = void 0;
exports.getNames = getNames;
exports.getCssFontSizeFromFontSizeEnum = getCssFontSizeFromFontSizeEnum;
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');
}
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.EnumExtensions = {
    getNames,
    getCssFontSizeFromFontSizeEnum,
};
exports.default = exports.EnumExtensions;
