89247b5570eb69c07e552cee63510e54.json 4.23 KB
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nimport * as React from 'react';\nimport RcImage from 'rc-image';\nimport { ConfigContext } from '../config-provider';\n\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n  var customizePrefixCls = _a.previewPrefixCls,\n      props = __rest(_a, [\"previewPrefixCls\"]);\n\n  var _React$useContext = React.useContext(ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls;\n\n  var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n  return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n    previewPrefixCls: prefixCls\n  }, props));\n};\n\nexport default InternalPreviewGroup;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/antd/es/image/PreviewGroup.js"],"names":["_extends","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","RcImage","ConfigContext","InternalPreviewGroup","_a","customizePrefixCls","previewPrefixCls","props","_React$useContext","useContext","getPrefixCls","prefixCls","createElement","PreviewGroup"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,gCAArB;;AAEA,IAAIC,MAAM,GAAG,QAAQ,KAAKA,MAAb,IAAuB,UAAUC,CAAV,EAAaC,CAAb,EAAgB;AAClD,MAAIC,CAAC,GAAG,EAAR;;AAEA,OAAK,IAAIC,CAAT,IAAcH,CAAd,EAAiB;AACf,QAAII,MAAM,CAAC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BL,kBAAlB,CAA5B;AACA,SAAO,aAAaL,KAAK,CAACY,aAAN,CAAoBX,OAAO,CAACY,YAA5B,EAA0C5B,QAAQ,CAAC;AACrEqB,IAAAA,gBAAgB,EAAEK;AADmD,GAAD,EAEnEJ,KAFmE,CAAlD,CAApB;AAGD,CAXD;;AAaA,eAAeJ,oBAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nimport * as React from 'react';\nimport RcImage from 'rc-image';\nimport { ConfigContext } from '../config-provider';\n\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n  var customizePrefixCls = _a.previewPrefixCls,\n      props = __rest(_a, [\"previewPrefixCls\"]);\n\n  var _React$useContext = React.useContext(ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls;\n\n  var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n  return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n    previewPrefixCls: prefixCls\n  }, props));\n};\n\nexport default InternalPreviewGroup;"]},"metadata":{},"sourceType":"module"}