"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get ShortcutItem () {
        return ShortcutItem;
    },
    get ShortcutList () {
        return ShortcutList;
    },
    get ShortcutTitle () {
        return ShortcutTitle;
    },
    get ShortcutTitleWrapper () {
        return ShortcutTitleWrapper;
    },
    get ShortcutsWrapper () {
        return ShortcutsWrapper;
    },
    get StyledCell () {
        return StyledCell;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _mixins = require("../../../../mixins");
const _Cell = require("../../../Cell");
const _engines = require("../../../../engines");
const _DateTimePickertokens = require("../../DateTimePicker.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedCellConfig = (0, _engines.mergeConfig)(_Cell.cellConfig);
const Cell = (0, _engines.component)(mergedCellConfig);
const ShortcutsWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "emvkuzk0",
    label: "ShortcutsWrapper"
})("order:", ({ dateShortcutsPlacement })=>dateShortcutsPlacement === 'left' ? 'unset' : '999', ";display:flex;flex-direction:", ({ dateShortcutsPlacement })=>dateShortcutsPlacement === 'left' ? 'row-reverse' : 'row', ";gap:var(", _DateTimePickertokens.tokens.popoverGap, ");flex-shrink:", ({ innerWidth })=>innerWidth && innerWidth !== '0' ? '2' : '0', ";overflow-y:hidden;height:", ({ innerHeight })=>innerHeight && innerHeight !== '0' ? `calc(${innerHeight} - var(${_DateTimePickertokens.tokens.popoverVerticalPadding}))` : `var(${_DateTimePickertokens.tokens.calendarHeight})`, ";");
const ShortcutList = (0, /*#__PURE__*/ _styled.default)("ul", {
    target: "emvkuzk1",
    label: "ShortcutList"
})("width:", ({ width })=>width || 'fit-content', ";list-style:none;margin:0;padding:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;::-webkit-scrollbar{display:none;}");
const ShortcutItem = (0, /*#__PURE__*/ _styled.default)("li", {
    target: "emvkuzk2",
    label: "ShortcutItem"
})("padding:var(", _DateTimePickertokens.tokens.shortcutPadding, ");border-radius:var(", _DateTimePickertokens.tokens.shortcutBorderRadius, ");&:hover:not(.", _DateTimePickertokens.classes.shortcutItemDisabled, "){cursor:pointer;background:var(", _DateTimePickertokens.tokens.shortcutBackgroundHover, ");}&.", _DateTimePickertokens.classes.shortcutItemDisabled, "{opacity:", _DateTimePickertokens.tokens.disabledOpacity, ";cursor:not-allowed;}:focus{outline:none;}", (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '-0.063rem',
    outlineColor: `var(${_DateTimePickertokens.tokens.outlineFocusColor})`,
    outlineRadius: `var(${_DateTimePickertokens.tokens.shortcutBorderRadius})`,
    hasTransition: false
}), ";");
const StyledCell = /*#__PURE__*/ (0, _styled.default)(Cell, {
    target: "emvkuzk3",
    label: "StyledCell"
})(_Cell.cellTokens.cellTitleColor, ":var(", _DateTimePickertokens.tokens.shortcutColor, ");", _Cell.cellTokens.cellPadding, ":var(", _DateTimePickertokens.tokens.shortcutPadding, ");", _Cell.cellTokens.cellPaddingContent, ":var(", _DateTimePickertokens.tokens.shortcutPaddingContent, ");", _Cell.cellTokens.cellPaddingLeftContent, ":var(", _DateTimePickertokens.tokens.shortcutPaddingLeftContent, ");", _Cell.cellTokens.cellPaddingRightContent, ":var(", _DateTimePickertokens.tokens.shortcutPaddingRightContent, ");", _Cell.cellTokens.cellGap, ":var(", _DateTimePickertokens.tokens.shortcutGap, ");");
const ShortcutTitleWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "emvkuzk4",
    label: "ShortcutTitleWrapper"
})("display:grid;");
const ShortcutTitle = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "emvkuzk5",
    label: "ShortcutTitle"
})("font-family:var(", _DateTimePickertokens.tokens.shortcutFontFamily, ");font-size:var(", _DateTimePickertokens.tokens.shortcutFontSize, ");font-style:var(", _DateTimePickertokens.tokens.shortcutFontStyle, ");font-weight:var(", _DateTimePickertokens.tokens.shortcutFontWeight, ");letter-spacing:var(", _DateTimePickertokens.tokens.shortcutLetterSpacing, ");line-height:var(", _DateTimePickertokens.tokens.shortcutLineHeight, ");", (0, _mixins.applyEllipsis)());
