import { EnumOption } from "../RendererOptions/index.js";
import { allLowerWordStyle, allUpperWordStyle, firstUpperWordStyle, originalWord, } from "./Strings.js";
export var AcronymStyleOptions;
(function (AcronymStyleOptions) {
    AcronymStyleOptions["Camel"] = "camel";
    AcronymStyleOptions["Lower"] = "lowerCase";
    AcronymStyleOptions["Original"] = "original";
    AcronymStyleOptions["Pascal"] = "pascal";
})(AcronymStyleOptions || (AcronymStyleOptions = {}));
export const acronymOption = (defaultOption) => new EnumOption("acronym-style", "Acronym naming style", {
    [AcronymStyleOptions.Original]: AcronymStyleOptions.Original,
    [AcronymStyleOptions.Pascal]: AcronymStyleOptions.Pascal,
    [AcronymStyleOptions.Camel]: AcronymStyleOptions.Camel,
    [AcronymStyleOptions.Lower]: AcronymStyleOptions.Lower,
}, defaultOption, "secondary");
const options = {
    [AcronymStyleOptions.Pascal]: allUpperWordStyle,
    [AcronymStyleOptions.Camel]: firstUpperWordStyle,
    [AcronymStyleOptions.Original]: originalWord,
    [AcronymStyleOptions.Lower]: allLowerWordStyle,
};
export function acronymStyle(style) {
    return options[style];
}
