/* *
 *
 *  (c) 2009-2025 Highsoft AS
 *
 *  License: www.highcharts.com/license
 *
 *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
 *
 *  Authors:
 *  - Dawid Dragula
 *  - Sebastian Bochan
 *
 * */
'use strict';
/* *
 *
 *  Class
 *
 * */
/**
 * Globals Grid namespace.
 */
var Globals;
(function (Globals) {
    /* *
     *
     *  Declarations
     *
     * */
    /* *
     *
     *  Constants
     *
     * */
    Globals.classNamePrefix = 'hcg-';
    Globals.rawClassNames = {
        container: 'container',
        tableElement: 'table',
        captionElement: 'caption',
        descriptionElement: 'description',
        theadElement: 'thead',
        tbodyElement: 'tbody',
        rowElement: 'row',
        rowEven: 'row-even',
        rowOdd: 'row-odd',
        hoveredRow: 'hovered-row',
        columnElement: 'column',
        hoveredCell: 'hovered-cell',
        hoveredColumn: 'hovered-column',
        syncedRow: 'synced-row',
        syncedCell: 'synced-cell',
        syncedColumn: 'synced-column',
        editedCell: 'edited-cell',
        mockedRow: 'mocked-row',
        rowsContentNowrap: 'rows-content-nowrap',
        virtualization: 'virtualization',
        scrollableContent: 'scrollable-content',
        headerCell: 'header-cell',
        headerCellContainer: 'header-cell-container',
        headerCellContent: 'header-cell-content',
        headerCellFilterIcon: 'header-cell-filter-icon',
        headerCellIcons: 'header-cell-icons',
        headerCellSortIcon: 'header-cell-sort-icon',
        headerCellMenuIcon: 'header-cell-menu-icon',
        headerRow: 'head-row-content',
        noData: 'no-data',
        noPadding: 'no-padding',
        columnFirst: 'column-first',
        columnSortable: 'column-sortable',
        columnSortableIcon: 'column-sortable-icon',
        columnSortedAsc: 'column-sorted-asc',
        columnSortedDesc: 'column-sorted-desc',
        resizableContent: 'resizable-content',
        resizerHandles: 'column-resizer',
        resizedColumn: 'column-resized',
        creditsContainer: 'credits-container',
        creditsText: 'credits',
        creditsPro: 'credits-pro',
        visuallyHidden: 'visually-hidden',
        lastHeaderCellInRow: 'last-header-cell-in-row',
        loadingWrapper: 'loading-wrapper',
        loadingSpinner: 'spinner',
        loadingMessage: 'loading-message',
        popup: 'popup',
        button: 'button',
        icon: 'icon',
        iconSearch: 'icon-search',
        popupContent: 'popup-content',
        columnFilterWrapper: 'column-filter-wrapper',
        toolbarButtonActiveIndicator: 'active-indicator',
        menuContainer: 'menu-container',
        menuItem: 'menu-item',
        menuHeader: 'menu-header',
        menuHeaderCategory: 'menu-header-category',
        menuHeaderName: 'menu-header-name',
        menuItemIcon: 'menu-item-icon',
        menuItemLabel: 'menu-item-label',
        menuDivider: 'menu-divider',
        clearFilterButton: 'clear-filter-button',
        paginationWrapper: 'pagination-wrapper',
        paginationContainer: 'pagination-container',
        paginationPageInfo: 'pagination-info',
        paginationControls: 'pagination-controls',
        paginationButton: 'pagination-btn',
        paginationButtonDisabled: 'pagination-btn-disabled',
        paginationFirstButton: 'pagination-first',
        paginationPrevButton: 'pagination-prev',
        paginationNextButton: 'pagination-next',
        paginationLastButton: 'pagination-last',
        paginationPageButton: 'pagination-page',
        paginationPageButtonActive: 'pagination-page-active',
        paginationEllipsis: 'pagination-ellipsis',
        paginationMobileSelector: 'pagination-mobile-selector',
        paginationMobilePageSizeSelector: 'pagination-mobile-page-size-selector',
        paginationPageSizeContainer: 'pagination-page-size-container',
        paginationPageSizeSelect: 'pagination-page-size-select',
        noWidth: 'no-width',
        rightAlign: 'right',
        centerAlign: 'center',
        leftAlign: 'left'
    };
    Globals.win = window;
    Globals.composed = [];
    Globals.userAgent = (Globals.win.navigator && Globals.win.navigator.userAgent) || '';
    Globals.isChrome = Globals.userAgent.indexOf('Chrome') !== -1;
    Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1;
    Globals.getClassName = (classNameKey) => Globals.classNamePrefix + Globals.rawClassNames[classNameKey];
})(Globals || (Globals = {}));
/* *
 *
 *  Default Export
 *
 * */
export default Globals;
