
import { register } from './codiconsUtil.js';
import { codiconsLibrary } from './codiconsLibrary.js';

function getAllCodicons() {
    return ( Object.values(Codicon));
}
const codiconsDerived = {
    dialogError: register("dialog-error", "error"),
    dialogWarning: register("dialog-warning", "warning"),
    dialogInfo: register("dialog-info", "info"),
    dialogClose: register("dialog-close", "close"),
    treeItemExpanded: register("tree-item-expanded", "chevron-down"),
    treeFilterOnTypeOn: register("tree-filter-on-type-on", "list-filter"),
    treeFilterOnTypeOff: register("tree-filter-on-type-off", "list-selection"),
    treeFilterClear: register("tree-filter-clear", "close"),
    treeItemLoading: register("tree-item-loading", "loading"),
    menuSelection: register("menu-selection", "check"),
    menuSubmenu: register("menu-submenu", "chevron-right"),
    menuBarMore: register("menubar-more", "more"),
    scrollbarButtonLeft: register("scrollbar-button-left", "triangle-left"),
    scrollbarButtonRight: register("scrollbar-button-right", "triangle-right"),
    scrollbarButtonUp: register("scrollbar-button-up", "triangle-up"),
    scrollbarButtonDown: register("scrollbar-button-down", "triangle-down"),
    toolBarMore: register("toolbar-more", "more"),
    quickInputBack: register("quick-input-back", "arrow-left"),
    dropDownButton: register("drop-down-button", 0xeab4),
    symbolCustomColor: register("symbol-customcolor", 0xeb5c),
    exportIcon: register("export", 0xebac),
    workspaceUnspecified: register("workspace-unspecified", 0xebc3),
    newLine: register("newline", 0xebea),
    thumbsDownFilled: register("thumbsdown-filled", 0xec13),
    thumbsUpFilled: register("thumbsup-filled", 0xec14),
    gitFetch: register("git-fetch", 0xec1d),
    lightbulbSparkleAutofix: register("lightbulb-sparkle-autofix", 0xec1f),
    debugBreakpointPending: register("debug-breakpoint-pending", 0xebd9)
};
const Codicon = {
    ...codiconsLibrary,
    ...codiconsDerived
};

export { Codicon, codiconsDerived, getAllCodicons };
