"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.tableTokens.borderColor}: #ddd;
            `,
            clear: (0, _styledcomponents.css)`
                ${_styledcomponents.tableTokens.borderColor}: transparent;
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.tableTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.tableTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.tableTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.tableTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.tableTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.tableTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_styledcomponents.tableTokens.headerRowHeight}: 3.125rem;
                ${_styledcomponents.tableTokens.rowHeight}: 3.125rem;
                ${_styledcomponents.tableTokens.cellPadding}: 0.375rem 1rem;
                ${_styledcomponents.tableTokens.checkboxCellPadding}: 0.375rem 1rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.checkboxTriggerSize}: 1.25rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.tableTokens.checkboxFillColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.tableTokens.checkboxTriggerIconColor}: ${_sdds_serv.onDarkTextPrimary};

                ${_styledcomponents.tableTokens.editableCellIconGap}: 0.5rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonWidth}: 3rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_styledcomponents.tableTokens.editableCellPadding}: 0.25rem;
                ${_styledcomponents.tableTokens.editableCellInputBorderRadius}: 0.875rem;
                ${_styledcomponents.tableTokens.editableCellInputPadding}: 0 0.75rem;

                ${_styledcomponents.tableTokens.editableCellInputBackground}: ${_sdds_serv.surfaceTransparentTertiary};

                ${_styledcomponents.tableTokens.filterCheckboxPadding}: 0.75rem 0;
                ${_styledcomponents.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;

                ${_styledcomponents.tableTokens.buttonHeight}: 2.5rem;
                ${_styledcomponents.tableTokens.buttonFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.tableTokens.buttonFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.tableTokens.buttonFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.tableTokens.buttonFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_styledcomponents.tableTokens.buttonLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.tableTokens.buttonLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.tableTokens.selectPadding}: 0.125rem;
                ${_styledcomponents.tableTokens.selectBorderRadius}: 0.875rem;
                ${_styledcomponents.tableTokens.selectItemHeight}: 1.5rem;
                ${_styledcomponents.tableTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.875rem;
                ${_styledcomponents.tableTokens.selectItemBorderRadius}: 0.75rem;
                ${_styledcomponents.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
                ${_styledcomponents.tableTokens.selectItemIconSize}: 1.5rem;
                ${_styledcomponents.tableTokens.selectCellPadding}: 0;
                ${_styledcomponents.tableTokens.selectCellTitleFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.tableTokens.selectCellTitleFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.tableTokens.selectCellTitleFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.tableTokens.selectCellTitleFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.tableTokens.selectCellTitleLineHeight}: ${_sdds_serv.bodyM.lineHeight};
                ${_styledcomponents.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.selectControlPanelPadding}: 0.5rem 0.875rem;
                ${_styledcomponents.tableTokens.selectControlPanelGap}: 0.5rem;

                ${_styledcomponents.tableTokens.linkButtonFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.tableTokens.linkButtonFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.tableTokens.linkButtonFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.tableTokens.linkButtonFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_styledcomponents.tableTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.tableTokens.linkButtonLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.tableTokens.fontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.tableTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.tableTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.tableTokens.fontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.tableTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.tableTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.tableTokens.headerRowHeight}: 2.75rem;
                ${_styledcomponents.tableTokens.rowHeight}: 2.75rem;
                ${_styledcomponents.tableTokens.cellPadding}: 0.25rem 0.875rem;
                ${_styledcomponents.tableTokens.checkboxCellPadding}: 0.25rem 0.75rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.checkboxTriggerSize}: 1.25rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderRadius}: 0.375rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.tableTokens.checkboxFillColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.tableTokens.checkboxTriggerIconColor}: ${_sdds_serv.onDarkTextPrimary};

                ${_styledcomponents.tableTokens.editableCellIconGap}: 0.375rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonWidth}: 2.5rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_styledcomponents.tableTokens.editableCellPadding}: 0.25rem;
                ${_styledcomponents.tableTokens.editableCellInputBorderRadius}: 0.625rem;
                ${_styledcomponents.tableTokens.editableCellInputPadding}: 0 0.625rem;

                ${_styledcomponents.tableTokens.editableCellInputBackground}: ${_sdds_serv.surfaceTransparentTertiary};

                ${_styledcomponents.tableTokens.filterCheckboxPadding}: 0.5rem 0;
                ${_styledcomponents.tableTokens.filterDividerMargin}: 0.375rem 0.75rem;

                ${_styledcomponents.tableTokens.buttonHeight}: 2rem;
                ${_styledcomponents.tableTokens.buttonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.tableTokens.buttonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.tableTokens.buttonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.tableTokens.buttonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.tableTokens.buttonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.tableTokens.buttonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.tableTokens.selectPadding}: 0.125rem;
                ${_styledcomponents.tableTokens.selectBorderRadius}: 0.75rem;
                ${_styledcomponents.tableTokens.selectItemHeight}: 1.5rem;
                ${_styledcomponents.tableTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.625rem;
                ${_styledcomponents.tableTokens.selectItemBorderRadius}: 0.625rem;
                ${_styledcomponents.tableTokens.selectItemIconMargin}: 0 0.375rem 0 0;
                ${_styledcomponents.tableTokens.selectItemIconSize}: 1.5rem;
                ${_styledcomponents.tableTokens.selectCellPadding}: 0;
                ${_styledcomponents.tableTokens.selectCellTitleFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.tableTokens.selectCellTitleFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.tableTokens.selectCellTitleFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.tableTokens.selectCellTitleFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.tableTokens.selectCellTitleLineHeight}: ${_sdds_serv.bodyS.lineHeight};
                ${_styledcomponents.tableTokens.selectCheckboxTriggerSize}: 1.25rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderRadius}: 0.375rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.selectControlPanelPadding}: 0.25rem 0.75rem;
                ${_styledcomponents.tableTokens.selectControlPanelGap}: 0.625rem;

                ${_styledcomponents.tableTokens.linkButtonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.tableTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.tableTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.tableTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.tableTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.tableTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.tableTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.tableTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.tableTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.tableTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.tableTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.tableTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.tableTokens.headerRowHeight}: 2.125rem;
                ${_styledcomponents.tableTokens.rowHeight}: 2.125rem;
                ${_styledcomponents.tableTokens.cellPadding}: 0.125rem 0.5rem;
                ${_styledcomponents.tableTokens.checkboxCellPadding}: 0.125rem 0.625rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.checkboxTriggerSize}: 0.875rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderRadius}: 0.25rem;
                ${_styledcomponents.tableTokens.checkboxTriggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.tableTokens.checkboxFillColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.tableTokens.checkboxTriggerIconColor}: ${_sdds_serv.onDarkTextPrimary};

                ${_styledcomponents.tableTokens.editableCellIconGap}: 0.25rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonWidth}: 2rem;
                ${_styledcomponents.tableTokens.editableCellIconButtonHeight}: 100%;
                ${_styledcomponents.tableTokens.editableCellPadding}: 0.125rem;
                ${_styledcomponents.tableTokens.editableCellInputBorderRadius}: 0.5rem;
                ${_styledcomponents.tableTokens.editableCellInputPadding}: 0 0.375rem;

                ${_styledcomponents.tableTokens.editableCellInputBackground}: ${_sdds_serv.surfaceTransparentTertiary};

                ${_styledcomponents.tableTokens.filterCheckboxPadding}: 0.5rem 0;
                ${_styledcomponents.tableTokens.filterDividerMargin}: 0.25rem 0.5rem;

                ${_styledcomponents.tableTokens.buttonHeight}: 1.5rem;
                ${_styledcomponents.tableTokens.buttonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.tableTokens.buttonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.tableTokens.buttonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.tableTokens.buttonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.tableTokens.buttonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.tableTokens.buttonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.tableTokens.selectPadding}: 0.125rem;
                ${_styledcomponents.tableTokens.selectBorderRadius}: 0.625rem;
                ${_styledcomponents.tableTokens.selectItemHeight}: 1rem;
                ${_styledcomponents.tableTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.375rem;
                ${_styledcomponents.tableTokens.selectItemBorderRadius}: 0.5rem;
                ${_styledcomponents.tableTokens.selectItemIconMargin}: 0 0.25rem 0 0;
                ${_styledcomponents.tableTokens.selectItemIconSize}: 1rem;
                ${_styledcomponents.tableTokens.selectCellPadding}: 0;
                ${_styledcomponents.tableTokens.selectCellTitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.tableTokens.selectCellTitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.tableTokens.selectCellTitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.tableTokens.selectCellTitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.tableTokens.selectCellTitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.tableTokens.selectCellTitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
                ${_styledcomponents.tableTokens.selectCheckboxTriggerSize}: 0.875rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderRadius}: 0.25rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderWidth}: 0.125rem;
                ${_styledcomponents.tableTokens.selectCheckboxTriggerBorderCheckedColor}: transparent;
                ${_styledcomponents.tableTokens.selectControlPanelPadding}: 0.25rem 0.5rem;
                ${_styledcomponents.tableTokens.selectControlPanelGap}: 0.25rem;

                ${_styledcomponents.tableTokens.linkButtonFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.tableTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.tableTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.tableTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.tableTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.tableTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `
        }
    }
};
