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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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