1 line
1.7 KiB
JSON
1 line
1.7 KiB
JSON
|
{"ast":null,"code":"export const groupKeysMap = keys => {\n const map = new Map();\n keys.forEach((key, index) => {\n map.set(key, index);\n });\n return map;\n};\nexport const groupDisabledKeysMap = dataSource => {\n const map = new Map();\n dataSource.forEach((_ref, index) => {\n let {\n disabled,\n key\n } = _ref;\n if (disabled) {\n map.set(key, index);\n }\n });\n return map;\n};","map":{"version":3,"names":["groupKeysMap","keys","map","Map","forEach","key","index","set","groupDisabledKeysMap","dataSource","_ref","disabled"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/_util/transKeys.js"],"sourcesContent":["export const groupKeysMap = keys => {\n const map = new Map();\n keys.forEach((key, index) => {\n map.set(key, index);\n });\n return map;\n};\nexport const groupDisabledKeysMap = dataSource => {\n const map = new Map();\n dataSource.forEach((_ref, index) => {\n let {\n disabled,\n key\n } = _ref;\n if (disabled) {\n map.set(key, index);\n }\n });\n return map;\n};"],"mappings":"AAAA,OAAO,MAAMA,YAAY,GAAGC,IAAI,IAAI;EAClC,MAAMC,GAAG,GAAG,IAAIC,GAAG,CAAC,CAAC;EACrBF,IAAI,CAACG,OAAO,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAK;IAC3BJ,GAAG,CAACK,GAAG,CAACF,GAAG,EAAEC,KAAK,CAAC;EACrB,CAAC,CAAC;EACF,OAAOJ,GAAG;AACZ,CAAC;AACD,OAAO,MAAMM,oBAAoB,GAAGC,UAAU,IAAI;EAChD,MAAMP,GAAG,GAAG,IAAIC,GAAG,CAAC,CAAC;EACrBM,UAAU,CAACL,OAAO,CAAC,CAACM,IAAI,EAAEJ,KAAK,KAAK;IAClC,IAAI;MACFK,QAAQ;MACRN;IACF,CAAC,GAAGK,IAAI;IACR,IAAIC,QAAQ,EAAE;MACZT,GAAG,CAACK,GAAG,CAACF,GAAG,EAAEC,KAAK,CAAC;IACrB;EACF,CAAC,CAAC;EACF,OAAOJ,GAAG;AACZ,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|