PromoCursed/node_modules/.cache/babel-loader/c4f327a815a7f1a3f2e18edab8bd303feab141f097afe324fecbef0fdf76ea7d.json

1 line
3.6 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"const getBuiltInPlacements = popupOverflow => {\n const htmlRegion = popupOverflow === 'scroll' ? 'scroll' : 'visible';\n const sharedConfig = {\n overflow: {\n adjustX: true,\n adjustY: true,\n shiftY: true\n },\n htmlRegion,\n dynamicInset: true\n };\n return {\n bottomLeft: Object.assign(Object.assign({}, sharedConfig), {\n points: ['tl', 'bl'],\n offset: [0, 4]\n }),\n bottomRight: Object.assign(Object.assign({}, sharedConfig), {\n points: ['tr', 'br'],\n offset: [0, 4]\n }),\n topLeft: Object.assign(Object.assign({}, sharedConfig), {\n points: ['bl', 'tl'],\n offset: [0, -4]\n }),\n topRight: Object.assign(Object.assign({}, sharedConfig), {\n points: ['br', 'tr'],\n offset: [0, -4]\n })\n };\n};\nfunction mergedBuiltinPlacements(buildInPlacements, popupOverflow) {\n return buildInPlacements || getBuiltInPlacements(popupOverflow);\n}\nexport default mergedBuiltinPlacements;","map":{"version":3,"names":["getBuiltInPlacements","popupOverflow","htmlRegion","sharedConfig","overflow","adjustX","adjustY","shiftY","dynamicInset","bottomLeft","Object","assign","points","offset","bottomRight","topLeft","topRight","mergedBuiltinPlacements","buildInPlacements"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/select/mergedBuiltinPlacements.js"],"sourcesContent":["const getBuiltInPlacements = popupOverflow => {\n const htmlRegion = popupOverflow === 'scroll' ? 'scroll' : 'visible';\n const sharedConfig = {\n overflow: {\n adjustX: true,\n adjustY: true,\n shiftY: true\n },\n htmlRegion,\n dynamicInset: true\n };\n return {\n bottomLeft: Object.assign(Object.assign({}, sharedConfig), {\n points: ['tl', 'bl'],\n offset: [0, 4]\n }),\n bottomRight: Object.assign(Object.assign({}, sharedConfig), {\n points: ['tr', 'br'],\n offset: [0, 4]\n }),\n topLeft: Object.assign(Object.assign({}, sharedConfig), {\n points: ['bl', 'tl'],\n offset: [0, -4]\n }),\n topRight: Object.assign(Object.assign({}, sharedConfig), {\n points: ['br', 'tr'],\n offset: [0, -4]\n })\n };\n};\nfunction mergedBuiltinPlacements(buildInPlacements, popupOverflow) {\n return buildInPlacements || getBuiltInPlacements(popupOverflow);\n}\nexport default mergedBuiltinPlacements;"],"mappings":"AAAA,MAAMA,oBAAoB,GAAGC,aAAa,IAAI;EAC5C,MAAMC,UAAU,GAAGD,aAAa,KAAK,QAAQ,GAAG,QAAQ,GAAG,SAAS;EACpE,MAAME,YAAY,GAAG;IACnBC,QAAQ,EAAE;MACRC,OAAO,EAAE,IAAI;MACbC,OAAO,EAAE,IAAI;MACbC,MAAM,EAAE;IACV,CAAC;IACDL,UAAU;IACVM,YAAY,EAAE;EAChB,CAAC;EACD,OAAO;IACLC,UAAU,EAAEC,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,YAAY,CAAC,EAAE;MACzDS,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;MACpBC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC;IACf,CAAC,CAAC;IACFC,WAAW,EAAEJ,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,YAAY,CAAC,EAAE;MAC1DS,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;MACpBC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC;IACf,CAAC,CAAC;IACFE,OAAO,EAAEL,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,YAAY,CAAC,EAAE;MACtDS,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;MACpBC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,CAAC;IACFG,QAAQ,EAAEN,MAAM,CAACC,MAAM,CAACD,MAAM,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