import styled from "@emotion/styled";
import { css } from "@emotion/react";
import { component, mergeConfig } from "../../../engines";
import { textFieldConfig, textFieldTokens } from "../../TextField";
import { classes, tokens } from "../DatePicker.tokens";
const mergedTextFieldConfig = mergeConfig(textFieldConfig);
const TextField = component(mergedTextFieldConfig);
// NOTE: переопределение токенов TextField
export const StyledInput = /*#__PURE__*/ styled(TextField, {
    target: "e7yuccs0",
    label: "StyledInput"
})("width:100%;", textFieldTokens.color, ":var(", tokens.textFieldColor, ");", textFieldTokens.placeholderColor, ":var(", tokens.textFieldPlaceholderColor, ");", textFieldTokens.placeholderColorFocus, ":var(", tokens.textFieldPlaceholderColorFocus, ");", textFieldTokens.clearPlaceholderColorFocus, ":var(", tokens.textFieldClearPlaceholderColorFocus, ");", textFieldTokens.caretColor, ":var(", tokens.textFieldCaretColor, ");", textFieldTokens.focusColor, ":var(", tokens.textFieldFocusColor, ");", textFieldTokens.backgroundColor, ":var(", tokens.textFieldBackgroundColor, ");", textFieldTokens.backgroundColorHover, ":var(", tokens.textFieldBackgroundColorHover, ");", textFieldTokens.backgroundColorFocus, ":var(", tokens.textFieldBackgroundColorFocus, ");", textFieldTokens.boxShadowSecondary, ":var(", tokens.textFieldBoxShadowSecondary, ");", textFieldTokens.borderColor, ":var(", tokens.borderColor, ");", textFieldTokens.borderColorHover, ":var(", tokens.borderColorHover, ");", textFieldTokens.borderColorFocus, ":var(", tokens.borderColorFocus, ");", textFieldTokens.colorReadOnly, ":var(", tokens.textFieldColorReadOnly, ");", textFieldTokens.backgroundColorReadOnly, ":var(", tokens.textFieldBackgroundColorReadOnly, ");", textFieldTokens.readOnlyOpacity, ":var(", tokens.textFieldReadOnlyOpacity, ");", textFieldTokens.borderColorReadOnly, ":var(", tokens.textFieldBorderColorReadOnly, ");", textFieldTokens.placeholderColorReadOnly, ":var(", tokens.textFieldPlaceholderColorReadOnly, ");", textFieldTokens.dividerColor, ":var(", tokens.clearDividerColor, ");", textFieldTokens.dividerColorFocus, ":var(", tokens.textFieldDividerColorFocus, ");", textFieldTokens.dividerColorHover, ":var(", tokens.textFieldDividerColorHover, ");", textFieldTokens.labelColor, ":var(", tokens.labelColor, ");", textFieldTokens.labelColorReadOnly, ":var(", tokens.labelColorReadOnly, ");", textFieldTokens.height, ":var(", tokens.textFieldHeight, ");", textFieldTokens.borderWidth, ":var(", tokens.textFieldBorderWidth, ");", textFieldTokens.borderRadius, ":var(", tokens.textFieldBorderRadius, ");", textFieldTokens.padding, ":var(", tokens.textFieldPadding, ");", textFieldTokens.labelInnerPadding, ":var(", tokens.labelInnerPadding, ");", textFieldTokens.contentLabelInnerPadding, ":var(", tokens.contentLabelInnerPadding, ");", textFieldTokens.labelOffset, ":var(", tokens.labelOffset, ");", textFieldTokens.labelFontFamily, ":var(", tokens.labelFontFamily, ");", textFieldTokens.labelFontStyle, ":var(", tokens.labelFontStyle, ");", textFieldTokens.labelFontSize, ":var(", tokens.labelFontSize, ");", textFieldTokens.labelFontWeight, ":var(", tokens.labelFontWeight, ");", textFieldTokens.labelLetterSpacing, ":var(", tokens.labelLetterSpacing, ");", textFieldTokens.labelLineHeight, ":var(", tokens.labelLineHeight, ");", textFieldTokens.labelInnerFontFamily, ":var(", tokens.labelInnerFontFamily, ");", textFieldTokens.labelInnerFontSize, ":var(", tokens.labelInnerFontSize, ");", textFieldTokens.labelInnerFontStyle, ":var(", tokens.labelInnerFontStyle, ");", textFieldTokens.labelInnerFontWeight, ":var(", tokens.labelInnerFontWeight, ");", textFieldTokens.labelInnerLetterSpacing, ":var(", tokens.labelInnerLetterSpacing, ");", textFieldTokens.labelInnerLineHeight, ":var(", tokens.labelInnerLineHeight, ");", textFieldTokens.titleCaptionInnerLabelOffset, ":var(", tokens.titleCaptionOffset, ");", textFieldTokens.titleCaptionColor, ":var(", tokens.titleCaptionColor, ");", textFieldTokens.titleCaptionFontFamily, ":var(", tokens.titleCaptionFontFamily, ");", textFieldTokens.titleCaptionFontStyle, ":var(", tokens.titleCaptionFontStyle, ");", textFieldTokens.titleCaptionFontSize, ":var(", tokens.titleCaptionFontSize, ");", textFieldTokens.titleCaptionFontWeight, ":var(", tokens.titleCaptionFontWeight, ");", textFieldTokens.titleCaptionLetterSpacing, ":var(", tokens.titleCaptionLetterSpacing, ");", textFieldTokens.titleCaptionLineHeight, ":var(", tokens.titleCaptionLineHeight, ");", textFieldTokens.indicatorColor, ":var(", tokens.indicatorColor, ");", textFieldTokens.indicatorSizeInner, ":var(", tokens.indicatorSizeInner, ");", textFieldTokens.indicatorSizeOuter, ":var(", tokens.indicatorSizeOuter, ");", textFieldTokens.indicatorLabelPlacementInner, ":var(", tokens.indicatorPlacement, ");", textFieldTokens.indicatorLabelPlacementOuter, ":var(", tokens.indicatorOuterPlacement, ");", textFieldTokens.indicatorLabelPlacementInnerRight, ":var(", tokens.indicatorPlacementRight, ");", textFieldTokens.indicatorLabelPlacementOuterRight, ":var(", tokens.indicatorOuterPlacementRight, ");", textFieldTokens.clearIndicatorHintInnerRight, ":var(", tokens.clearIndicatorHintInnerRight, ");", textFieldTokens.hintMargin, ":var(", tokens.hintMargin, ");", textFieldTokens.hintTargetSize, ":var(", tokens.hintTargetSize, ");", textFieldTokens.hintCustomIconTargetSize, ":var(", tokens.hintCustomIconTargetSize, ");", textFieldTokens.hintIconColor, ":var(", tokens.hintIconColor, ");", textFieldTokens.hintInnerLabelPlacementOffset, ":var(", tokens.hintInnerLabelPlacementOffset, ");", textFieldTokens.clearHintInnerLabelPlacementOffset, ":var(", tokens.clearHintInnerLabelPlacementOffset, ");", textFieldTokens.leftContentMargin, ":var(", tokens.textFieldLeftContentMargin, ");", textFieldTokens.rightContentMargin, ":var(", tokens.textFieldRightContentMargin, ");", textFieldTokens.fontFamily, ":var(", tokens.textFieldFontFamily, ");", textFieldTokens.fontSize, ":var(", tokens.textFieldFontSize, ");", textFieldTokens.fontStyle, ":var(", tokens.textFieldFontStyle, ");", textFieldTokens.fontWeight, ":var(", tokens.textFieldFontWeight, ");", textFieldTokens.letterSpacing, ":var(", tokens.textFieldLetterSpacing, ");", textFieldTokens.lineHeight, ":var(", tokens.textFieldLineHeight, ");", textFieldTokens.disabledOpacity, ":var(", tokens.disabledOpacity, ");", textFieldTokens.textBeforeColor, ":var(", tokens.textFieldTextBeforeColor, ");", textFieldTokens.textAfterColor, ":var(", tokens.textFieldTextAfterColor, ");", textFieldTokens.textBeforeMargin, ":var(", tokens.textFieldTextBeforeMargin, ");", textFieldTokens.textAfterMargin, ":var(", tokens.textFieldTextAfterMargin, ");", textFieldTokens.contentSlotColor, ":var(", tokens.textFieldContentSlotColor, ",var(", tokens.textFieldColor, "));", textFieldTokens.contentSlotColorHover, ":var(", tokens.textFieldContentSlotColorHover, ",var(", tokens.textFieldColor, "));", textFieldTokens.contentSlotColorActive, ":var(", tokens.textFieldContentSlotColorActive, ",var(", tokens.textFieldColor, "));", textFieldTokens.contentSlotRightColor, ":var(", tokens.textFieldContentRightSlotColor, ",var(", textFieldTokens.contentSlotColor, "));", textFieldTokens.contentSlotRightColorHover, ":var(", tokens.textFieldContentRightSlotColorHover, ",var(", textFieldTokens.contentSlotRightColor, "));", textFieldTokens.contentSlotRightColorActive, ":var(", tokens.textFieldContentRightSlotColorActive, ",var(", textFieldTokens.contentSlotRightColor, "));", textFieldTokens.contentSlotRightOpacityReadOnly, ":var(", tokens.textFieldContentSlotRightOpacityReadOnly, ");", textFieldTokens.tooltipPaddingTop, " var(", tokens.hintTooltipPaddingTop, ");", textFieldTokens.tooltipPaddingRight, " var(", tokens.hintTooltipPaddingRight, ");", textFieldTokens.tooltipPaddingBottom, " var(", tokens.hintTooltipPaddingBottom, ");", textFieldTokens.tooltipPaddingLeft, " var(", tokens.hintTooltipPaddingLeft, ");", textFieldTokens.tooltipMinHeight, " var(", tokens.hintTooltipMinHeight, ");", textFieldTokens.tooltipBackgroundColor, " var(", tokens.hintTooltipBackgroundColor, ");", textFieldTokens.tooltipBoxShadow, " var(", tokens.hintTooltipBoxShadow, ");", textFieldTokens.tooltipBorderRadius, " var(", tokens.hintTooltipBorderRadius, ");", textFieldTokens.tooltipColor, " var(", tokens.hintTooltipColor, ");", textFieldTokens.tooltipTextFontFamily, " var(", tokens.hintTooltipTextFontFamily, ");", textFieldTokens.tooltipTextFontSize, " var(", tokens.hintTooltipTextFontSize, ");", textFieldTokens.tooltipTextFontStyle, " var(", tokens.hintTooltipTextFontStyle, ");", textFieldTokens.tooltipTextFontWeight, " var(", tokens.hintTooltipTextFontWeight, ");", textFieldTokens.tooltipTextFontLetterSpacing, " var(", tokens.hintTooltipTextFontLetterSpacing, ");", textFieldTokens.tooltipTextFontLineHeight, " var(", tokens.hintTooltipTextFontLineHeight, ");", textFieldTokens.tooltipContentLeftMargin, " var(", tokens.hintTooltipContentLeftMargin, ");", textFieldTokens.tooltipArrowMaskWidth, " var(", tokens.hintTooltipArrowMaskWidth, ");", textFieldTokens.tooltipArrowMaskHeight, " var(", tokens.hintTooltipArrowMaskHeight, ");", textFieldTokens.tooltipArrowMaskImage, " var(", tokens.hintTooltipArrowMaskImage, ");", textFieldTokens.tooltipArrowBackground, " var(", tokens.hintTooltipArrowBackground, ");", textFieldTokens.tooltipArrowHeight, " var(", tokens.hintTooltipArrowHeight, ");", textFieldTokens.tooltipArrowEdgeMargin, " var(", tokens.hintTooltipArrowEdgeMargin, ");&.", classes.datePickerSuccess, "{", textFieldTokens.color, ":var(", tokens.textFieldColorSuccess, ",var(", tokens.textFieldColor, "));", textFieldTokens.backgroundColor, ":var(", tokens.textFieldBackgroundSuccessColor, ");", textFieldTokens.backgroundColorHover, ":var(", tokens.textFieldBackgroundSuccessColorHover, ");", textFieldTokens.backgroundColorFocus, ":var(", tokens.textFieldBackgroundSuccessColorFocus, ");", textFieldTokens.borderColor, ":var(", tokens.textFieldBorderColorSuccess, ");", textFieldTokens.borderColorHover, ":var(", tokens.textFieldBorderColorSuccessHover, ");", textFieldTokens.borderColorFocus, ":var(", tokens.textFieldBorderColorSuccessFocus, ");", textFieldTokens.dividerColor, ":var(", tokens.textFieldDividerColorSuccess, ");", textFieldTokens.contentSlotColor, ":var(", tokens.textFieldContentSlotColorSuccess, ",var(", tokens.textFieldContentSlotColor, "));", textFieldTokens.contentSlotColorHover, ":var(", tokens.textFieldContentSlotColorSuccessHover, ",var(", tokens.textFieldContentSlotColorHover, "));", textFieldTokens.contentSlotColorActive, ":var(", tokens.textFieldContentSlotColorSuccessActive, ",var(", tokens.textFieldContentSlotColorActive, "));}&.", classes.datePickerError, "{", textFieldTokens.color, ":var(", tokens.textFieldColorError, ",var(", tokens.textFieldColor, "));", textFieldTokens.backgroundColor, ":var(", tokens.textFieldBackgroundErrorColor, ");", textFieldTokens.backgroundColorHover, ":var(", tokens.textFieldBackgroundErrorColorHover, ");", textFieldTokens.backgroundColorFocus, ":var(", tokens.textFieldBackgroundErrorColorFocus, ");", textFieldTokens.borderColor, ":var(", tokens.textFieldBorderColorError, ");", textFieldTokens.borderColorHover, ":var(", tokens.textFieldBorderColorErrorHover, ");", textFieldTokens.borderColorFocus, ":var(", tokens.textFieldBorderColorErrorFocus, ");", textFieldTokens.dividerColor, ":var(", tokens.textFieldDividerColorError, ");", textFieldTokens.contentSlotColor, ":var(", tokens.textFieldContentSlotColorError, ",var(", tokens.textFieldContentSlotColor, "));", textFieldTokens.contentSlotColorHover, ":var(", tokens.textFieldContentSlotColorErrorHover, ",var(", tokens.textFieldContentSlotColorHover, "));", textFieldTokens.contentSlotColorActive, ":var(", tokens.textFieldContentSlotColorErrorActive, ",var(", tokens.textFieldContentSlotColorActive, "));}&.", classes.datePickerEdited, "{", textFieldTokens.color, ":var(", tokens.textFieldColorEdited, ",var(", tokens.textFieldColor, "));", textFieldTokens.backgroundColor, ":var(", tokens.textFieldBackgroundEditedColor, ");", textFieldTokens.backgroundColorHover, ":var(", tokens.textFieldBackgroundEditedColorHover, ");", textFieldTokens.backgroundColorFocus, ":var(", tokens.textFieldBackgroundEditedColorFocus, ");", textFieldTokens.borderColor, ":var(", tokens.textFieldBorderColorEdited, ");", textFieldTokens.borderColorHover, ":var(", tokens.textFieldBorderColorEditedHover, ");", textFieldTokens.borderColorFocus, ":var(", tokens.textFieldBorderColorEditedFocus, ");", textFieldTokens.dividerColor, ":var(", tokens.textFieldDividerColorEdited, ");}");
export const base = /*#__PURE__*/ css("display:inline-block;&.", classes.datePickerstretched, "{width:100%;& > div{width:100%;}}", "base");
export const LeftHelper = /*#__PURE__*/ styled("div", {
    target: "e7yuccs1",
    label: "LeftHelper"
})("color:var(", tokens.leftHelperColor, ");&.", classes.datePickerSuccess, "{color:var(", tokens.leftHelperColorSuccess, ");}&.", classes.datePickerError, "{color:var(", tokens.leftHelperColorError, ");}&.", classes.datePickerEdited, "{color:var(", tokens.leftHelperColorEdited, ");}");
