PromoCursed/node_modules/.cache/babel-loader/9d919d52f82622229713b00355132a5ce6fc9a15e9ee7e52007af96c8f3795a3.json

1 line
4.0 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle } from '../../input/style/variants';\nconst genVariantsStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [componentCls]: [Object.assign(Object.assign(Object.assign({}, genOutlinedStyle(token)), genFilledStyle(token)), genBorderlessStyle(token)),\n // ========================= Multiple =========================\n {\n '&-outlined': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.multipleItemBg,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.multipleItemBorderColor}`\n }\n },\n '&-filled': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.colorBgContainer,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`\n }\n },\n '&-borderless': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.multipleItemBg,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.multipleItemBorderColor}`\n }\n }\n }]\n };\n};\nexport default genVariantsStyle;","map":{"version":3,"names":["unit","genBorderlessStyle","genFilledStyle","genOutlinedStyle","genVariantsStyle","token","componentCls","Object","assign","background","multipleItemBg","border","lineWidth","lineType","multipleItemBorderColor","colorBgContainer","colorSplit"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/date-picker/style/variants.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBorderlessStyle, genFilledStyle, genOutlinedStyle } from '../../input/style/variants';\nconst genVariantsStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [componentCls]: [Object.assign(Object.assign(Object.assign({}, genOutlinedStyle(token)), genFilledStyle(token)), genBorderlessStyle(token)),\n // ========================= Multiple =========================\n {\n '&-outlined': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.multipleItemBg,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.multipleItemBorderColor}`\n }\n },\n '&-filled': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.colorBgContainer,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`\n }\n },\n '&-borderless': {\n [`&${componentCls}-multiple ${componentCls}-selection-item`]: {\n background: token.multipleItemBg,\n border: `${unit(token.lineWidth)} ${token.lineType} ${token.multipleItemBorderColor}`\n }\n }\n }]\n };\n};\nexport default genVariantsStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,kBAAkB,EAAEC,cAAc,EAAEC,gBAAgB,QAAQ,4BAA4B;AACjG,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAM;IACJC;EACF,CAAC,GAAGD,KAAK;EACT,OAAO;IACL,CAACC,YAAY,GAAG,CAACC,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEL,gBAAgB,CAACE,KAAK,CAAC,CAAC,EAAEH,cAAc,CAACG,KAAK,CAAC,CAAC,EAAEJ,kBAAkB,CAACI,KAAK,CAAC,CAAC;IAC3I;IACA;MACE,YAAY,EAAE;QACZ,CAAC,IAAIC,YAAY,aAAaA,YAAY,iBAAiB,GAAG;UAC5DG,UAAU,EAAEJ,KAAK,CAACK,cAAc;UAChCC,MAAM,EAAE,GAAGX,IAAI,CAACK,KAAK,CAACO,SAAS,CAAC,IAAIP,KAAK,CAACQ,QAAQ,IAAIR,KAAK,CAACS,uBAAuB;QACrF;MACF,CAAC;MACD,UAAU,EAAE;QACV,CAAC,IAAIR,YAAY,aAAaA,YAAY,iBAAiB,GAAG;UAC5DG,UAAU,EAAEJ,KAAK,CAACU,gBAAgB;UAClCJ,MAAM,EAAE,GAAGX,IAAI,CAACK,KAAK,CAACO,SAAS,CAAC,IAAIP,KAAK,CAACQ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