{"ast":null,"code":"import { getStyle as getCheckboxStyle } from '../../checkbox/style';\nimport { textEllipsis } from '../../style';\nconst getColumnsStyle = token => {\n  const {\n    prefixCls,\n    componentCls\n  } = token;\n  const cascaderMenuItemCls = `${componentCls}-menu-item`;\n  const iconCls = `\n  &${cascaderMenuItemCls}-expand ${cascaderMenuItemCls}-expand-icon,\n  ${cascaderMenuItemCls}-loading-icon\n`;\n  return [\n  // ==================== Checkbox ====================\n  getCheckboxStyle(`${prefixCls}-checkbox`, token), {\n    [componentCls]: {\n      // ================== Checkbox ==================\n      '&-checkbox': {\n        top: 0,\n        marginInlineEnd: token.paddingXS\n      },\n      // ==================== Menu ====================\n      // >>> Menus\n      '&-menus': {\n        display: 'flex',\n        flexWrap: 'nowrap',\n        alignItems: 'flex-start',\n        [`&${componentCls}-menu-empty`]: {\n          [`${componentCls}-menu`]: {\n            width: '100%',\n            height: 'auto',\n            [cascaderMenuItemCls]: {\n              color: token.colorTextDisabled\n            }\n          }\n        }\n      },\n      // >>> Menu\n      '&-menu': {\n        flexGrow: 1,\n        flexShrink: 0,\n        minWidth: token.controlItemWidth,\n        height: token.dropdownHeight,\n        margin: 0,\n        padding: token.menuPadding,\n        overflow: 'auto',\n        verticalAlign: 'top',\n        listStyle: 'none',\n        '-ms-overflow-style': '-ms-autohiding-scrollbar',\n        '&:not(:last-child)': {\n          borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${token.colorSplit}`\n        },\n        '&-item': Object.assign(Object.assign({}, textEllipsis), {\n          display: 'flex',\n          flexWrap: 'nowrap',\n          alignItems: 'center',\n          padding: token.optionPadding,\n          lineHeight: token.lineHeight,\n          cursor: 'pointer',\n          transition: `all ${token.motionDurationMid}`,\n          borderRadius: token.borderRadiusSM,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          '&-disabled': {\n            color: token.colorTextDisabled,\n            cursor: 'not-allowed',\n            '&:hover': {\n              background: 'transparent'\n            },\n            [iconCls]: {\n              color: token.colorTextDisabled\n            }\n          },\n          [`&-active:not(${cascaderMenuItemCls}-disabled)`]: {\n            [`&, &:hover`]: {\n              fontWeight: token.optionSelectedFontWeight,\n              backgroundColor: token.optionSelectedBg\n            }\n          },\n          '&-content': {\n            flex: 'auto'\n          },\n          [iconCls]: {\n            marginInlineStart: token.paddingXXS,\n            color: token.colorTextDescription,\n            fontSize: token.fontSizeIcon\n          },\n          '&-keyword': {\n            color: token.colorHighlight\n          }\n        })\n      }\n    }\n  }];\n};\nexport default getColumnsStyle;","map":{"version":3,"names":["getStyle","getCheckboxStyle","textEllipsis","getColumnsStyle","token","prefixCls","componentCls","cascaderMenuItemCls","iconCls","top","marginInlineEnd","paddingXS","display","flexWrap","alignItems","width","height","color","colorTextDisabled","flexGrow","flexShrink","minWidth","controlItemWidth","dropdownHeight","margin","padding","menuPadding","overflow","verticalAlign","listStyle","borderInlineEnd","lineWidth","lineType","colorSplit","Object","assign","optionPadding","lineHeight","cursor","transition","motionDurationMid","borderRadius","borderRadiusSM","background","controlItemBgHover","fontWeight","optionSelectedFontWeight","backgroundColor","optionSelectedBg","flex","marginInlineStart","paddingXXS","colorTextDescription","fontSize","fontSizeIcon","colorHighlight"],"sources":["/var/www/gavt/node_modules/antd/es/cascader/style/columns.js"],"sourcesContent":["import { getStyle as getCheckboxStyle } from '../../checkbox/style';\nimport { textEllipsis } from '../../style';\nconst getColumnsStyle = token => {\n  const {\n    prefixCls,\n    componentCls\n  } = token;\n  const cascaderMenuItemCls = `${componentCls}-menu-item`;\n  const iconCls = `\n  &${cascaderMenuItemCls}-expand ${cascaderMenuItemCls}-expand-icon,\n  ${cascaderMenuItemCls}-loading-icon\n`;\n  return [\n  // ==================== Checkbox ====================\n  getCheckboxStyle(`${prefixCls}-checkbox`, token), {\n    [componentCls]: {\n      // ================== Checkbox ==================\n      '&-checkbox': {\n        top: 0,\n        marginInlineEnd: token.paddingXS\n      },\n      // ==================== Menu ====================\n      // >>> Menus\n      '&-menus': {\n        display: 'flex',\n        flexWrap: 'nowrap',\n        alignItems: 'flex-start',\n        [`&${componentCls}-menu-empty`]: {\n          [`${componentCls}-menu`]: {\n            width: '100%',\n            height: 'auto',\n            [cascaderMenuItemCls]: {\n              color: token.colorTextDisabled\n            }\n          }\n        }\n      },\n      // >>> Menu\n      '&-menu': {\n        flexGrow: 1,\n        flexShrink: 0,\n        minWidth: token.controlItemWidth,\n        height: token.dropdownHeight,\n        margin: 0,\n        padding: token.menuPadding,\n        overflow: 'auto',\n        verticalAlign: 'top',\n        listStyle: 'none',\n        '-ms-overflow-style': '-ms-autohiding-scrollbar',\n        '&:not(:last-child)': {\n          borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${token.colorSplit}`\n        },\n        '&-item': Object.assign(Object.assign({}, textEllipsis), {\n          display: 'flex',\n          flexWrap: 'nowrap',\n          alignItems: 'center',\n          padding: token.optionPadding,\n          lineHeight: token.lineHeight,\n          cursor: 'pointer',\n          transition: `all ${token.motionDurationMid}`,\n          borderRadius: token.borderRadiusSM,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          '&-disabled': {\n            color: token.colorTextDisabled,\n            cursor: 'not-allowed',\n            '&:hover': {\n              background: 'transparent'\n            },\n            [iconCls]: {\n              color: token.colorTextDisabled\n            }\n          },\n          [`&-active:not(${cascaderMenuItemCls}-disabled)`]: {\n            [`&, &:hover`]: {\n              fontWeight: token.optionSelectedFontWeight,\n              backgroundColor: token.optionSelectedBg\n            }\n          },\n          '&-content': {\n            flex: 'auto'\n          },\n          [iconCls]: {\n            marginInlineStart: token.paddingXXS,\n            color: token.colorTextDescription,\n            fontSize: token.fontSizeIcon\n          },\n          '&-keyword': {\n            color: token.colorHighlight\n          }\n        })\n      }\n    }\n  }];\n};\nexport default getColumnsStyle;"],"mappings":"AAAA,SAASA,QAAQ,IAAIC,gBAAgB,QAAQ,sBAAsB;AACnE,SAASC,YAAY,QAAQ,aAAa;AAC1C,MAAMC,eAAe,GAAGC,KAAK,IAAI;EAC/B,MAAM;IACJC,SAAS;IACTC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