PromoCursed/node_modules/.cache/babel-loader/6b097c5b7c2424d2454288892357a6be4b7130e0ded28a74e2b2414dc688893f.json
2024-08-20 23:25:37 +04:00

1 line
14 KiB
JSON

{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsProgressDotStyle = token => {\n const {\n componentCls,\n descriptionMaxWidth,\n lineHeight,\n dotCurrentSize,\n dotSize,\n motionDurationSlow\n } = token;\n return {\n [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n [`${componentCls}-item`]: {\n '&-title': {\n lineHeight\n },\n '&-tail': {\n // Math.floor((token.size - token.lineWidth * 3) / 2)\n top: token.calc(token.dotSize).sub(token.calc(token.lineWidth).mul(3).equal()).div(2).equal(),\n width: '100%',\n marginTop: 0,\n marginBottom: 0,\n marginInline: `${unit(token.calc(descriptionMaxWidth).div(2).equal())} 0`,\n padding: 0,\n '&::after': {\n width: `calc(100% - ${unit(token.calc(token.marginSM).mul(2).equal())})`,\n height: token.calc(token.lineWidth).mul(3).equal(),\n marginInlineStart: token.marginSM\n }\n },\n '&-icon': {\n width: dotSize,\n height: dotSize,\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotSize).div(2).equal(),\n paddingInlineEnd: 0,\n lineHeight: unit(dotSize),\n background: 'transparent',\n border: 0,\n [`${componentCls}-icon-dot`]: {\n position: 'relative',\n float: 'left',\n width: '100%',\n height: '100%',\n borderRadius: 100,\n // very large number\n transition: `all ${motionDurationSlow}`,\n /* expand hover area */\n '&::after': {\n position: 'absolute',\n top: token.calc(token.marginSM).mul(-1).equal(),\n insetInlineStart: token.calc(dotSize).sub(token.calc(token.controlHeightLG).mul(1.5).equal()).div(2).equal(),\n width: token.calc(token.controlHeightLG).mul(1.5).equal(),\n height: token.controlHeight,\n background: 'transparent',\n content: '\"\"'\n }\n }\n },\n '&-content': {\n width: descriptionMaxWidth\n },\n [`&-process ${componentCls}-item-icon`]: {\n position: 'relative',\n top: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n width: dotCurrentSize,\n height: dotCurrentSize,\n lineHeight: unit(dotCurrentSize),\n background: 'none',\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotCurrentSize).div(2).equal()\n },\n [`&-process ${componentCls}-icon`]: {\n [`&:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n }\n }\n }\n },\n [`&${componentCls}-vertical${componentCls}-dot`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n marginInlineStart: 0,\n background: 'none'\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotCurrentSize).div(2).equal(),\n top: 0,\n insetInlineStart: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n marginInlineStart: 0\n },\n // https://github.com/ant-design/ant-design/issues/18354\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n insetInlineStart: 0,\n margin: 0,\n padding: `${unit(token.calc(dotSize).add(token.paddingXS).equal())} 0 ${unit(token.paddingXS)}`,\n '&::after': {\n marginInlineStart: token.calc(dotSize).sub(token.lineWidth).div(2).equal()\n }\n },\n [`&${componentCls}-small`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotCurrentSize).div(2).equal()\n },\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n }\n },\n [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n },\n [`${componentCls}-item-content`]: {\n width: 'inherit'\n }\n }\n };\n};\nexport default genStepsProgressDotStyle;","map":{"version":3,"names":["unit","genStepsProgressDotStyle","token","componentCls","descriptionMaxWidth","lineHeight","dotCurrentSize","dotSize","motionDurationSlow","top","calc","sub","lineWidth","mul","equal","div","width","marginTop","marginBottom","marginInline","padding","marginSM","height","marginInlineStart","paddingInlineEnd","background","border","position","float","borderRadius","transition","insetInlineStart","controlHeightLG","controlHeight","content","margin","add","paddingXS","controlHeightSM"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/steps/style/progress-dot.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsProgressDotStyle = token => {\n const {\n componentCls,\n descriptionMaxWidth,\n lineHeight,\n dotCurrentSize,\n dotSize,\n motionDurationSlow\n } = token;\n return {\n [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n [`${componentCls}-item`]: {\n '&-title': {\n lineHeight\n },\n '&-tail': {\n // Math.floor((token.size - token.lineWidth * 3) / 2)\n top: token.calc(token.dotSize).sub(token.calc(token.lineWidth).mul(3).equal()).div(2).equal(),\n width: '100%',\n marginTop: 0,\n marginBottom: 0,\n marginInline: `${unit(token.calc(descriptionMaxWidth).div(2).equal())} 0`,\n padding: 0,\n '&::after': {\n width: `calc(100% - ${unit(token.calc(token.marginSM).mul(2).equal())})`,\n height: token.calc(token.lineWidth).mul(3).equal(),\n marginInlineStart: token.marginSM\n }\n },\n '&-icon': {\n width: dotSize,\n height: dotSize,\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotSize).div(2).equal(),\n paddingInlineEnd: 0,\n lineHeight: unit(dotSize),\n background: 'transparent',\n border: 0,\n [`${componentCls}-icon-dot`]: {\n position: 'relative',\n float: 'left',\n width: '100%',\n height: '100%',\n borderRadius: 100,\n // very large number\n transition: `all ${motionDurationSlow}`,\n /* expand hover area */\n '&::after': {\n position: 'absolute',\n top: token.calc(token.marginSM).mul(-1).equal(),\n insetInlineStart: token.calc(dotSize).sub(token.calc(token.controlHeightLG).mul(1.5).equal()).div(2).equal(),\n width: token.calc(token.controlHeightLG).mul(1.5).equal(),\n height: token.controlHeight,\n background: 'transparent',\n content: '\"\"'\n }\n }\n },\n '&-content': {\n width: descriptionMaxWidth\n },\n [`&-process ${componentCls}-item-icon`]: {\n position: 'relative',\n top: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n width: dotCurrentSize,\n height: dotCurrentSize,\n lineHeight: unit(dotCurrentSize),\n background: 'none',\n marginInlineStart: token.calc(token.descriptionMaxWidth).sub(dotCurrentSize).div(2).equal()\n },\n [`&-process ${componentCls}-icon`]: {\n [`&:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n }\n }\n }\n },\n [`&${componentCls}-vertical${componentCls}-dot`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n marginInlineStart: 0,\n background: 'none'\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeight).sub(dotCurrentSize).div(2).equal(),\n top: 0,\n insetInlineStart: token.calc(dotSize).sub(dotCurrentSize).div(2).equal(),\n marginInlineStart: 0\n },\n // https://github.com/ant-design/ant-design/issues/18354\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeight).sub(dotSize).div(2).equal(),\n insetInlineStart: 0,\n margin: 0,\n padding: `${unit(token.calc(dotSize).add(token.paddingXS).equal())} 0 ${unit(token.paddingXS)}`,\n '&::after': {\n marginInlineStart: token.calc(dotSize).sub(token.lineWidth).div(2).equal()\n }\n },\n [`&${componentCls}-small`]: {\n [`${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n },\n [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n marginTop: token.calc(token.controlHeightSM).sub(dotCurrentSize).div(2).equal()\n },\n [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n top: token.calc(token.controlHeightSM).sub(dotSize).div(2).equal()\n }\n },\n [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n insetInlineStart: 0\n },\n [`${componentCls}-item-content`]: {\n width: 'inherit'\n }\n }\n };\n};\nexport default genStepsProgressDotStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,wBAAwB,GAAGC,KAAK,IAAI;EACxC,MAAM;IACJC,YAAY;IACZC,mBAAmB;IACnBC,UAAU;IACVC,cAAc;IACdC,OAAO;IACPC;EACF,CAAC,GAAGN,KAAK;EACT,OAAO;IACL,CAAC,IAAIC,YAAY,UAAUA,YAAY,OAAOA,YAAY,QAAQ,GAAG;MACnE,CAAC,GAAGA,YAAY,OAAO,GAAG;QACxB,SAAS,EAAE;UACTE;QACF,CAAC;QACD,QAAQ,EAAE;UACR;UACAI,GAAG,EAAEP,KAAK,CAACQ,IAAI,CAACR,KAAK,CAACK,OAAO,CAAC,CAACI,GAAG,CAACT,KAAK,CAACQ,IAAI,CAACR,KAAK,CAACU,SAAS,CAAC,CAACC,GAAG,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,CAAC,CAACC,GAAG,CAAC,CAAC,CAAC,CAACD,KAAK,CAAC,CAAC;UAC7FE,KAAK,EAAE,MAAM;UACbC,SAAS,EAAE,CAAC;UACZC,YAAY,EAAE,CAAC;UACfC,YAAY,EAAE,GAAGnB,IAAI,CAACE,KAAK,CAACQ,IAAI,CAACN,mBAAmB,CAAC,CAACW,GAAG,CAAC,CAAC,CAAC,CAACD,KAAK,CAAC,CAAC,CAAC,IAAI;UACzEM,OAAO,EAAE,CAAC;UACV,UAAU,EAAE;YACVJ,KAAK,EAAE,eAAehB,IAAI,CAACE,KAAK,CAACQ,IAAI,CAACR,KAAK,CAACmB,QAAQ,CAAC,CAACR,GAAG,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,CAAC,GAAG;YACxEQ,MAAM,EAAEpB,KAAK,CAACQ,IAAI,CAACR,KAAK,CAACU,SAAS,CAAC,CAACC,GAAG,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC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