{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsInlineStyle = token => {\n  const {\n    componentCls,\n    inlineDotSize,\n    inlineTitleColor,\n    inlineTailColor\n  } = token;\n  const containerPaddingTop = token.calc(token.paddingXS).add(token.lineWidth).equal();\n  const titleStyle = {\n    [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n      color: inlineTitleColor\n    }\n  };\n  return {\n    [`&${componentCls}-inline`]: {\n      width: 'auto',\n      display: 'inline-flex',\n      [`${componentCls}-item`]: {\n        flex: 'none',\n        '&-container': {\n          padding: `${unit(containerPaddingTop)} ${unit(token.paddingXXS)} 0`,\n          margin: `0 ${unit(token.calc(token.marginXXS).div(2).equal())}`,\n          borderRadius: token.borderRadiusSM,\n          cursor: 'pointer',\n          transition: `background-color ${token.motionDurationMid}`,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          [`&[role='button']:hover`]: {\n            opacity: 1\n          }\n        },\n        '&-icon': {\n          width: inlineDotSize,\n          height: inlineDotSize,\n          marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n          [`> ${componentCls}-icon`]: {\n            top: 0\n          },\n          [`${componentCls}-icon-dot`]: {\n            borderRadius: token.calc(token.fontSizeSM).div(4).equal(),\n            '&::after': {\n              display: 'none'\n            }\n          }\n        },\n        '&-content': {\n          width: 'auto',\n          marginTop: token.calc(token.marginXS).sub(token.lineWidth).equal()\n        },\n        '&-title': {\n          color: inlineTitleColor,\n          fontSize: token.fontSizeSM,\n          lineHeight: token.lineHeightSM,\n          fontWeight: 'normal',\n          marginBottom: token.calc(token.marginXXS).div(2).equal()\n        },\n        '&-description': {\n          display: 'none'\n        },\n        '&-tail': {\n          marginInlineStart: 0,\n          top: token.calc(inlineDotSize).div(2).add(containerPaddingTop).equal(),\n          transform: `translateY(-50%)`,\n          '&:after': {\n            width: '100%',\n            height: token.lineWidth,\n            borderRadius: 0,\n            marginInlineStart: 0,\n            background: inlineTailColor\n          }\n        },\n        [`&:first-child ${componentCls}-item-tail`]: {\n          width: '50%',\n          marginInlineStart: '50%'\n        },\n        [`&:last-child ${componentCls}-item-tail`]: {\n          display: 'block',\n          width: '50%'\n        },\n        '&-wait': Object.assign({\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: token.colorBorderBg,\n            border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-finish': Object.assign({\n          [`${componentCls}-item-tail::after`]: {\n            backgroundColor: inlineTailColor\n          },\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: inlineTailColor,\n            border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-error': titleStyle,\n        '&-active, &-process': Object.assign({\n          [`${componentCls}-item-icon`]: {\n            width: inlineDotSize,\n            height: inlineDotSize,\n            marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n            top: 0\n          }\n        }, titleStyle),\n        [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n          [`${componentCls}-item-title`]: {\n            color: inlineTitleColor\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStepsInlineStyle;","map":{"version":3,"names":["unit","genStepsInlineStyle","token","componentCls","inlineDotSize","inlineTitleColor","inlineTailColor","containerPaddingTop","calc","paddingXS","add","lineWidth","equal","titleStyle","color","width","display","flex","padding","paddingXXS","margin","marginXXS","div","borderRadius","borderRadiusSM","cursor","transition","motionDurationMid","background","controlItemBgHover","opacity","height","marginInlineStart","top","fontSizeSM","marginTop","marginXS","sub","fontSize","lineHeight","lineHeightSM","fontWeight","marginBottom","transform","Object","assign","backgroundColor","colorBorderBg","border","lineType"],"sources":["D:/Project/UC_Trains_Voice/react-demo/node_modules/antd/es/steps/style/inline.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsInlineStyle = token => {\n  const {\n    componentCls,\n    inlineDotSize,\n    inlineTitleColor,\n    inlineTailColor\n  } = token;\n  const containerPaddingTop = token.calc(token.paddingXS).add(token.lineWidth).equal();\n  const titleStyle = {\n    [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n      color: inlineTitleColor\n    }\n  };\n  return {\n    [`&${componentCls}-inline`]: {\n      width: 'auto',\n      display: 'inline-flex',\n      [`${componentCls}-item`]: {\n        flex: 'none',\n        '&-container': {\n          padding: `${unit(containerPaddingTop)} ${unit(token.paddingXXS)} 0`,\n          margin: `0 ${unit(token.calc(token.marginXXS).div(2).equal())}`,\n          borderRadius: token.borderRadiusSM,\n          cursor: 'pointer',\n          transition: `background-color ${token.motionDurationMid}`,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          [`&[role='button']:hover`]: {\n            opacity: 1\n          }\n        },\n        '&-icon': {\n          width: inlineDotSize,\n          height: inlineDotSize,\n          marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n          [`> ${componentCls}-icon`]: {\n            top: 0\n          },\n          [`${componentCls}-icon-dot`]: {\n            borderRadius: token.calc(token.fontSizeSM).div(4).equal(),\n            '&::after': {\n              display: 'none'\n            }\n          }\n        },\n        '&-content': {\n          width: 'auto',\n          marginTop: token.calc(token.marginXS).sub(token.lineWidth).equal()\n        },\n        '&-title': {\n          color: inlineTitleColor,\n          fontSize: token.fontSizeSM,\n          lineHeight: token.lineHeightSM,\n          fontWeight: 'normal',\n          marginBottom: token.calc(token.marginXXS).div(2).equal()\n        },\n        '&-description': {\n          display: 'none'\n        },\n        '&-tail': {\n          marginInlineStart: 0,\n          top: token.calc(inlineDotSize).div(2).add(containerPaddingTop).equal(),\n          transform: `translateY(-50%)`,\n          '&:after': {\n            width: '100%',\n            height: token.lineWidth,\n            borderRadius: 0,\n            marginInlineStart: 0,\n            background: inlineTailColor\n          }\n        },\n        [`&:first-child ${componentCls}-item-tail`]: {\n          width: '50%',\n          marginInlineStart: '50%'\n        },\n        [`&:last-child ${componentCls}-item-tail`]: {\n          display: 'block',\n          width: '50%'\n        },\n        '&-wait': Object.assign({\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: token.colorBorderBg,\n            border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-finish': Object.assign({\n          [`${componentCls}-item-tail::after`]: {\n            backgroundColor: inlineTailColor\n          },\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: inlineTailColor,\n            border: `${unit(token.lineWidth)} ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-error': titleStyle,\n        '&-active, &-process': Object.assign({\n          [`${componentCls}-item-icon`]: {\n            width: inlineDotSize,\n            height: inlineDotSize,\n            marginInlineStart: `calc(50% - ${unit(token.calc(inlineDotSize).div(2).equal())})`,\n            top: 0\n          }\n        }, titleStyle),\n        [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n          [`${componentCls}-item-title`]: {\n            color: inlineTitleColor\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStepsInlineStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,mBAAmB,GAAGC,KAAK,IAAI;EACnC,MAAM;IACJC,YAAY;IACZC,aAAa;IACbC,gBAAgB;IAChBC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,mBAAmB,GAAGL,KAAK,CAACM,IAAI,CAACN,KAAK,CAACO,SAAS,CAAC,CAACC,GAAG,CAACR,KAAK,CAACS,SAAS,CAAC,CAACC,KAAK,CAAC,CAAC;EACpF,MAAMC,UAAU,GAAG;IACjB,CAAE,GAAEV,YAAa,mBAAkBA,YAAa,iBAAgBA,YAAa,aAAY,GAAG;MAC1FW,KAAK,EAAET;IACT;EACF,CAAC;EACD,OAAO;IACL,CAAE,IAAGF,YA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